:root {
  --cream: #f5efe4;
  --cream-soft: #fbf7ef;
  --paper: #fffaf2;
  --terracotta: #c86243;
  --terracotta-dark: #9f432d;
  --teal: #123f3b;
  --teal-soft: #1f5650;
  --ink: #18302d;
  --muted: #6d746d;
  --line: rgba(18, 63, 59, 0.2);
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", "Noto Sans Mono CJK SC", "Microsoft YaHei", monospace;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --max-width: 1180px;
  --side: clamp(22px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(18, 63, 59, 0.13) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  color: var(--paper);
  background: var(--terracotta);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--teal);
  border-radius: 4px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(245, 239, 228, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, calc(var(--max-width) + 2 * var(--side)));
  min-height: 78px;
  margin: 0 auto;
  padding: 0 var(--side);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--terracotta);
  border: 1px solid var(--teal);
  place-items: center;
}

.brand-mark svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.brand-name {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
}

.site-nav a {
  position: relative;
  padding: 27px 0 25px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--teal);
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle-label {
  font-family: var(--mono);
  font-size: 13px;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 25px;
  height: 17px;
}

.nav-toggle-icon i {
  position: absolute;
  right: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 200ms ease, top 200ms ease;
}

.nav-toggle-icon i:first-child { top: 4px; }
.nav-toggle-icon i:last-child { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon i:first-child { top: 8px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon i:last-child { top: 8px; transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.33;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: clamp(60px, 8vw, 110px) clamp(60px, 8vw, 110px);
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  width: min(100%, calc(var(--max-width) + 2 * var(--side)));
  min-height: calc(100svh - 148px);
  margin: 0 auto;
  padding: clamp(70px, 10vh, 128px) var(--side) 84px;
}

.eyebrow,
.section-index {
  margin: 0 0 24px;
  color: var(--terracotta-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero-title {
  max-width: 830px;
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(54px, 8.4vw, 118px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.085em;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(0.55em);
  animation: title-rise 760ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.title-line-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--terracotta);
  animation-delay: 140ms;
}

@keyframes title-rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-intro {
  max-width: 590px;
  margin: clamp(30px, 4vw, 52px) 0 0;
  color: #40504d;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 22px;
  padding: 0 22px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  color: var(--paper);
  background: var(--teal);
  box-shadow: 6px 6px 0 var(--terracotta);
}

.button-primary:hover {
  background: var(--teal-soft);
  transform: translate(-2px, -2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 7px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.text-link span {
  color: var(--terracotta);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.hero-orbit {
  position: relative;
  width: min(28vw, 370px);
  aspect-ratio: 1;
  justify-self: end;
}

.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one { inset: 0; }
.orbit-two { inset: 14%; border-style: dashed; }

.orbit-core {
  position: absolute;
  inset: 29%;
  display: grid;
  color: var(--paper);
  background: var(--terracotta);
  border-radius: 50%;
  box-shadow: 14px 14px 0 rgba(18, 63, 59, 0.12);
  place-items: center;
}

.orbit-core svg {
  width: 68%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 3;
}

.orbit-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  background: var(--teal);
  border: 3px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--teal);
}

.orbit-dot-one { top: 13%; right: 17%; }
.orbit-dot-two { bottom: 8%; left: 26%; background: var(--terracotta); box-shadow: 0 0 0 1px var(--terracotta); }

.hero-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 42px);
  min-height: 70px;
  padding: 14px var(--side);
  color: var(--muted);
  background: rgba(255, 250, 242, 0.62);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.hero-foot i {
  width: 4px;
  height: 4px;
  background: var(--terracotta);
  border-radius: 50%;
}

.section {
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(100%, calc(var(--max-width) + 2 * var(--side)));
  margin: 0 auto;
  padding: clamp(90px, 12vw, 160px) var(--side);
}

.section-inner.narrow {
  width: min(100%, calc(1040px + 2 * var(--side)));
}

.section-heading h2,
.closing-inner h2 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(36px, 5.4vw, 70px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.065em;
}

.intro-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 10vw, 140px);
  margin-top: clamp(58px, 8vw, 96px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.lead {
  margin: 0;
  color: var(--terracotta-dark);
  font-family: var(--mono);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.body-copy {
  color: #465451;
  font-size: 17px;
}

.body-copy p {
  margin: 0 0 1.4em;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.services-section {
  background: rgba(255, 250, 242, 0.74);
}

.heading-row {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  align-items: end;
  gap: 60px;
}

.heading-note {
  max-width: 360px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
}

.service-list {
  margin-top: clamp(56px, 8vw, 92px);
  border-top: 1px solid var(--teal);
}

.service-item {
  display: grid;
  grid-template-columns: 58px minmax(280px, 0.8fr) minmax(300px, 1.2fr);
  align-items: center;
  gap: clamp(22px, 4vw, 60px);
  min-height: 142px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, background 220ms ease;
}

.service-item:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(200, 98, 67, 0.065);
}

.service-number,
.process-number {
  color: var(--terracotta-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.process-number {
  color: #eeaa90;
}

.service-title-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.service-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.service-item h3,
.principle-card h3,
.process-step h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
}

.service-item p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.process-section {
  color: var(--paper);
  background-color: var(--teal);
  background-image:
    linear-gradient(rgba(255, 250, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 242, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
}

.process-header {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: end;
  gap: 60px;
}

.section-index.light {
  color: #e59a7f;
}

.process-header > p {
  max-width: 390px;
  margin: 0 0 9px;
  color: rgba(255, 250, 242, 0.68);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: clamp(64px, 9vw, 110px) 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 250, 242, 0.25);
  list-style: none;
}

.process-step {
  position: relative;
  min-height: 245px;
  padding: 28px clamp(20px, 2.4vw, 34px) 25px 0;
  border-right: 1px solid rgba(255, 250, 242, 0.18);
}

.process-step:not(:first-child) {
  padding-left: clamp(20px, 2.4vw, 34px);
}

.process-step:last-child {
  border-right: 0;
}

.process-step::before {
  position: absolute;
  top: -6px;
  left: -1px;
  width: 11px;
  height: 11px;
  content: "";
  background: var(--terracotta);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--teal);
}

.process-step:not(:first-child)::before {
  left: clamp(20px, 2.4vw, 34px);
}

.process-step h3 {
  margin-top: 64px;
  color: var(--paper);
}

.process-step p {
  margin: 14px 0 0;
  color: rgba(255, 250, 242, 0.65);
  font-size: 14px;
  line-height: 1.75;
}

.principles-section {
  background: var(--cream-soft);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(56px, 8vw, 88px);
}

.principle-card {
  position: relative;
  min-height: 300px;
  padding: 34px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
}

.principle-card:nth-child(2) {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
}

.principle-card:nth-child(2) h3,
.principle-card:nth-child(2) p {
  color: var(--paper);
}

.principle-card:nth-child(2) .card-mark {
  color: rgba(255, 250, 242, 0.2);
}

.card-mark {
  position: absolute;
  top: -20px;
  right: 17px;
  color: rgba(18, 63, 59, 0.08);
  font-family: var(--mono);
  font-size: 118px;
  font-weight: 800;
  line-height: 1;
}

.principle-card h3 {
  position: relative;
  margin-top: 112px;
}

.principle-card p {
  position: relative;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.closing-section {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.closing-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(110px, 15vw, 190px);
  padding-bottom: clamp(120px, 17vw, 220px);
}

.closing-inner h2 {
  max-width: 900px;
  font-size: clamp(42px, 7.5vw, 92px);
}

.closing-inner .button {
  margin-top: 52px;
}

.closing-deco {
  position: absolute;
  right: -100px;
  bottom: -220px;
  width: min(54vw, 700px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.closing-deco span {
  position: absolute;
  inset: 15%;
  border: 1px dashed var(--line);
  border-radius: 50%;
}

.closing-deco span:nth-child(2) { inset: 31%; border-style: solid; }
.closing-deco span:nth-child(3) { inset: 46%; background: var(--terracotta); border: 0; }

.reveal {
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .js-ready .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    flex-basis: 100%;
    gap: 0;
    padding-top: 12px;
  }

  .site-nav a {
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }

  .site-nav a:nth-child(odd) {
    margin-right: 16px;
  }

  .site-nav a::after {
    bottom: 10px;
  }

  .js-ready .site-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    max-height: 0;
    padding: 0 var(--side);
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    transform: translateY(-10px);
    transition: max-height 280ms ease, padding 280ms ease, opacity 180ms ease, transform 280ms ease, visibility 280ms;
  }

  .js-ready .site-nav.is-open {
    max-height: 220px;
    padding-top: 12px;
    padding-bottom: 18px;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: clamp(70px, 11vw, 100px);
    padding-bottom: 90px;
  }

  .hero-orbit {
    position: absolute;
    top: 54px;
    right: -80px;
    width: 280px;
    opacity: 0.34;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
  }

  .heading-row,
  .process-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .service-item {
    grid-template-columns: 46px minmax(240px, 0.8fr) minmax(260px, 1.2fr);
    gap: 20px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(n+3) {
    border-top: 1px solid rgba(255, 250, 242, 0.18);
  }

  .process-step:nth-child(3) {
    padding-left: 0;
  }

  .process-step:nth-child(3)::before {
    left: -1px;
  }
}

@media (max-width: 680px) {
  :root {
    --side: 21px;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-mark svg {
    width: 27px;
  }

  .brand-name {
    font-size: 10px;
  }

  .js-ready .site-nav {
    top: 70px;
    grid-template-columns: 1fr;
  }

  .site-nav a:nth-child(odd) {
    margin-right: 0;
  }

  .js-ready .site-nav.is-open {
    max-height: 300px;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    min-height: calc(100svh - 130px);
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero-title {
    font-size: clamp(48px, 15.5vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.09em;
  }

  .title-line-outline {
    -webkit-text-stroke-width: 1.5px;
  }

  .hero-intro {
    max-width: 92%;
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-orbit {
    top: 42px;
    right: -106px;
    width: 230px;
  }

  .hero-foot {
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
  }

  .section-heading h2,
  .closing-inner h2 {
    letter-spacing: -0.06em;
  }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 48px;
  }

  .body-copy {
    font-size: 16px;
  }

  .service-list {
    margin-top: 48px;
  }

  .service-item {
    grid-template-columns: 34px 1fr;
    gap: 18px 12px;
    padding: 27px 0;
  }

  .service-item:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .service-title-wrap {
    gap: 14px;
  }

  .service-icon {
    width: 40px;
    height: 40px;
  }

  .service-icon svg {
    width: 23px;
  }

  .service-item p {
    grid-column: 2;
    font-size: 14px;
  }

  .process-list {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .process-step,
  .process-step:not(:first-child),
  .process-step:nth-child(3) {
    display: grid;
    grid-template-columns: 48px 1fr;
    min-height: 0;
    padding: 27px 0;
    border-top: 1px solid rgba(255, 250, 242, 0.2);
    border-right: 0;
  }

  .process-step::before,
  .process-step:not(:first-child)::before,
  .process-step:nth-child(3)::before {
    top: -5px;
    left: 0;
    width: 9px;
    height: 9px;
  }

  .process-step h3 {
    margin-top: 0;
  }

  .process-step p {
    margin-top: 8px;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 220px;
    padding: 28px;
  }

  .principle-card h3 {
    margin-top: 80px;
  }

  .card-mark {
    font-size: 94px;
  }

  .closing-deco {
    right: -160px;
    width: 470px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .title-line,
  .js-ready .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
