:root {
  --sand: #efe4cf;
  --sand-light: #f7f0e4;
  --paper: #fffaf0;
  --espresso: #2b1b15;
  --brown: #5a3b2d;
  --cobalt: #1747d1;
  --cobalt-dark: #0d2d8b;
  --line: 2px solid var(--espresso);
  --serif: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  --page: min(1320px, calc(100vw - 72px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--sand);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
svg { display: block; width: 100%; }

:focus-visible {
  outline: 3px solid #fff;
  box-shadow: 0 0 0 6px var(--cobalt);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border: var(--line);
  background: var(--paper);
  font-weight: 700;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 max(36px, calc((100vw - 1320px) / 2));
  border-bottom: 1.5px solid transparent;
  transition: background .35s ease, border-color .35s ease, height .35s ease;
}

.site-header.is-scrolled {
  height: 72px;
  border-color: rgba(43, 27, 21, .35);
  background: rgba(239, 228, 207, .92);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: var(--line);
  background: var(--cobalt);
  color: #fff;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--espresso);
}

.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: .04em; }

.site-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); font-size: 14px; font-weight: 700; }
.site-nav a:not(.nav-contact) { position: relative; }
.site-nav a:not(.nav-contact)::after {
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--cobalt);
  content: "";
  transition: transform .25s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding: 10px 18px; border: var(--line); background: var(--paper); box-shadow: 4px 4px 0 var(--espresso); transition: transform .2s ease, box-shadow .2s ease; }
.nav-contact:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--espresso); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 860px;
  height: 100svh;
  max-height: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  grid-template-rows: auto 1fr;
  gap: 0 4vw;
  align-items: center;
  width: var(--page);
  margin: 0 auto;
  padding: 126px 0 84px;
}

.hero-kicker { grid-column: 1 / -1; align-self: start; display: flex; justify-content: space-between; border-bottom: var(--line); padding: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.hero-copy { position: relative; z-index: 2; align-self: center; padding-left: 5vw; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(74px, 8.1vw, 132px); font-weight: 500; line-height: .88; letter-spacing: -.065em; }
.hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
.hero h1 em { margin-left: 1.1em; color: var(--cobalt); font-weight: 500; }
.hero h1 span:last-child { margin-left: .35em; }
.hero-intro { max-width: 490px; margin: 38px 0 0 31%; padding-left: 22px; border-left: 4px solid var(--cobalt); font-family: var(--serif); font-size: 19px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin: 30px 0 0 31%; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; padding: 15px 18px; border: var(--line); font-size: 14px; font-weight: 800; }
.button-primary { min-width: 190px; background: var(--cobalt); color: #fff; box-shadow: 6px 6px 0 var(--espresso); transition: transform .2s ease, box-shadow .2s ease; }
.button-primary:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--espresso); }
.button-primary span:last-child { font-size: 22px; }
.text-link { border-bottom: 1.5px solid currentColor; font-size: 14px; font-weight: 700; }
.text-link span { display: inline-block; margin-left: 12px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.hero-art { position: relative; align-self: center; color: var(--espresso); will-change: transform; }
.hero-art svg { overflow: visible; }
.art-fill { fill: var(--paper); stroke: var(--espresso); stroke-width: 3; }
.art-back { fill: var(--cobalt); stroke: var(--espresso); stroke-width: 3; }
.art-line, .art-axis { fill: none; stroke: var(--espresso); stroke-width: 3; }
.art-sun { fill: var(--sand); stroke: var(--espresso); stroke-width: 3; }
.art-wave { fill: none; stroke: var(--cobalt); stroke-width: 10; }
.art-dots { fill: url(#dot-grid); opacity: .9; }
.art-note { position: absolute; right: 0; bottom: 3%; padding: 14px 18px; border: var(--line); background: var(--sand); font-family: var(--serif); font-size: 18px; line-height: 1.4; box-shadow: 6px 6px 0 var(--espresso); }
.hero-orbit { position: absolute; z-index: -1; border: 1.5px solid rgba(43, 27, 21, .34); border-radius: 50%; pointer-events: none; will-change: transform; }
.orbit-one { width: 260px; height: 260px; top: 12%; right: -8%; }
.orbit-two { width: 130px; height: 130px; left: -5%; bottom: 7%; background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(23,71,209,.14) 10px 12px); }
.scroll-cue { position: absolute; bottom: 28px; left: 0; display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 800; letter-spacing: .16em; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 50px; background: var(--espresso); }

.eyebrow { margin: 0 0 24px; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.eyebrow::before { display: inline-block; width: 26px; height: 3px; margin-right: 11px; vertical-align: middle; background: var(--cobalt); content: ""; }

.statement {
  display: grid;
  grid-template-columns: 1fr 2.2fr .8fr;
  gap: 5vw;
  align-items: start;
  padding: 130px max(36px, calc((100vw - 1320px) / 2));
  background: var(--espresso);
  color: var(--sand-light);
}
.statement .eyebrow { padding-top: 14px; }
.statement-copy { margin: 0; font-family: var(--serif); font-size: clamp(39px, 4.4vw, 68px); line-height: 1.28; letter-spacing: -.04em; }
.statement-copy em { color: #6787ff; font-weight: 400; }
.statement-note { position: relative; margin-top: 160px; padding: 26px 22px 18px; border: 1.5px solid var(--sand); }
.statement-note::before { position: absolute; top: 8px; right: -9px; bottom: -9px; left: 8px; z-index: 0; border-right: 1.5px solid var(--sand); border-bottom: 1.5px solid var(--sand); content: ""; pointer-events: none; }
.note-index { position: absolute; top: -25px; right: 18px; padding: 2px 12px; background: var(--cobalt); font-family: var(--serif); font-size: 25px; }
.statement-note p { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.8; }

.section-shell { width: var(--page); margin: 0 auto; padding: 132px 0; }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 5vw; align-items: end; margin-bottom: 64px; }
.section-heading h2, .approach h2, .values h2, .contact h2 { margin: 0; font-family: var(--serif); font-size: clamp(50px, 5.2vw, 78px); font-weight: 500; line-height: 1.1; letter-spacing: -.05em; }
.section-heading > p { max-width: 420px; margin: 0 0 10px; font-family: var(--serif); font-size: 18px; line-height: 1.8; }

.service-grid { display: grid; grid-template-columns: 1.05fr .95fr .95fr; gap: 22px; }
.service-card { position: relative; min-height: 370px; display: flex; flex-direction: column; padding: 28px; border: var(--line); background: var(--sand-light); box-shadow: 7px 7px 0 var(--espresso); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.service-card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--espresso); }
.service-card-featured { grid-row: span 2; min-height: 762px; background: var(--espresso); color: var(--sand-light); }
.service-card-blue { grid-column: 2 / 4; min-height: 370px; background: var(--cobalt); color: #fff; }
.card-topline { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1.5px solid currentColor; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { margin: 28px 0 14px; font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.2; }
.service-card p { max-width: 400px; margin: 0; opacity: .82; }
.service-card > a { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 18px; border-top: 1.5px solid currentColor; font-size: 13px; font-weight: 800; }
.service-card > a span { font-size: 23px; transition: transform .2s ease; }
.service-card > a:hover span { transform: translate(4px, -4px); }
.service-icon { width: 65%; margin: 68px auto 24px; }
.service-icon circle, .service-icon path { fill: none; stroke: #6787ff; stroke-width: 2; }
.service-icon circle { stroke-width: 12; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.service-card li { padding: 7px 10px; border: 1px solid currentColor; font-size: 12px; }
.card-shape { margin: auto auto 30px; }
.shape-bars { width: 130px; height: 100px; display: flex; align-items: end; gap: 10px; }
.shape-bars i { flex: 1; border: 2px solid var(--espresso); background: var(--cobalt); }
.shape-bars i:nth-child(1) { height: 34%; }.shape-bars i:nth-child(2) { height: 67%; }.shape-bars i:nth-child(3) { height: 51%; }.shape-bars i:nth-child(4) { height: 94%; }
.shape-orbit { position: relative; width: 122px; height: 122px; border: 2px solid var(--espresso); border-radius: 50%; }
.shape-orbit i:first-child { position: absolute; width: 34px; height: 34px; top: -10px; right: 5px; border: 2px solid var(--espresso); border-radius: 50%; background: var(--cobalt); }
.shape-orbit i:last-child { position: absolute; width: 13px; height: 13px; bottom: 24px; left: 14px; border-radius: 50%; background: var(--espresso); }
.shape-arrow { margin-right: 10%; color: var(--sand); font-family: var(--serif); font-size: 140px; font-weight: 400; line-height: .7; }

.approach { display: grid; grid-template-columns: 1fr 1fr; min-height: 900px; border-top: var(--line); border-bottom: var(--line); background: var(--paper); }
.approach-visual { position: relative; display: grid; place-items: center; min-height: 760px; padding: 9vw; border-right: var(--line); background: var(--cobalt); overflow: hidden; }
.approach-visual::before { position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; content: ""; }
.visual-frame { position: relative; width: min(480px, 80%); aspect-ratio: .85; border: 2px solid #fff; color: #fff; box-shadow: 22px 22px 0 var(--espresso); }
.visual-frame svg { position: absolute; inset: 0; height: 100%; }
.visual-frame path { fill: none; stroke: var(--sand); stroke-width: 2; }
.visual-frame p { position: absolute; left: -9%; bottom: 12%; margin: 0; font-family: var(--serif); font-size: clamp(50px, 6vw, 88px); line-height: .77; letter-spacing: -.05em; }
.visual-frame p em { color: var(--espresso); font-size: .55em; font-style: normal; }
.visual-frame small { position: absolute; top: 25px; right: -32px; padding: 8px 15px; border: 2px solid var(--espresso); background: var(--sand); color: var(--espresso); font-weight: 800; letter-spacing: .08em; }
.visual-dot { position: absolute; z-index: 2; border: 2px solid var(--espresso); border-radius: 50%; background: var(--sand); }
.dot-a { top: 15%; left: -16px; width: 31px; height: 31px; }
.dot-b { top: 47%; right: -27px; width: 52px; height: 52px; background: var(--espresso); }
.dot-c { right: 23%; bottom: -12px; width: 24px; height: 24px; }
.approach-content { align-self: center; padding: 100px clamp(42px, 7vw, 115px); }
.approach-content .eyebrow { margin-bottom: 28px; }
.process-list { margin: 70px 0 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 25px 0; border-top: 1.5px solid var(--espresso); }
.process-list li:last-child { border-bottom: 1.5px solid var(--espresso); }
.process-list > li > span { color: var(--cobalt); font-family: var(--serif); font-size: 18px; font-weight: 700; }
.process-list h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 23px; }
.process-list p { margin: 0; font-size: 14px; opacity: .72; }

.values { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.values-heading { position: sticky; top: 130px; align-self: start; }
.values h2 em { color: var(--cobalt); font-weight: 500; }
.values-grid { border-top: var(--line); }
.value-item { display: grid; grid-template-columns: 50px 120px 1fr; align-items: center; gap: 20px; padding: 38px 0; border-bottom: var(--line); }
.value-item > span { display: grid; place-items: center; width: 42px; height: 42px; border: var(--line); border-radius: 50%; color: var(--cobalt); font-family: var(--serif); font-weight: 700; }
.value-item h3 { margin: 0; font-family: var(--serif); font-size: 28px; }
.value-item p { margin: 0; font-family: var(--serif); font-size: 17px; }

.contact { position: relative; min-height: 760px; padding: 90px max(36px, calc((100vw - 1320px) / 2)) 50px; background: var(--espresso); color: var(--sand-light); overflow: hidden; }
.contact::before { position: absolute; top: 0; right: 12%; width: 2px; height: 100%; background: rgba(239,228,207,.18); content: ""; }
.contact-label { display: flex; justify-content: space-between; padding-bottom: 15px; border-bottom: 1.5px solid var(--sand-light); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.contact-main { position: relative; z-index: 2; max-width: 880px; margin: 110px 0 0 8vw; }
.contact h2 { font-size: clamp(58px, 7vw, 110px); }
.contact h2 em { color: #7290ff; font-weight: 500; }
.contact-main > p:last-child { max-width: 520px; margin: 38px 0 0; padding-left: 20px; border-left: 3px solid #7290ff; font-family: var(--serif); font-size: 18px; }
.contact-action { position: absolute; z-index: 3; right: 9%; bottom: 15%; width: 180px; height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 2px solid var(--sand-light); border-radius: 50%; background: var(--cobalt); font-weight: 800; transition: transform .35s var(--ease), background .35s ease; }
.contact-action:hover { transform: rotate(-8deg) scale(1.04); background: #2958e5; }
.contact-action i { align-self: flex-end; font-family: var(--serif); font-size: 50px; font-style: normal; line-height: 1; }
.contact-wordmark { position: absolute; right: -18px; bottom: -65px; color: transparent; font-family: Arial, sans-serif; font-size: clamp(80px, 12vw, 190px); font-weight: 900; letter-spacing: -.07em; line-height: 1; -webkit-text-stroke: 1.5px rgba(239,228,207,.18); white-space: nowrap; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  :root { --page: min(100% - 48px, 920px); }
  .site-header { padding-inline: 24px; }
  .hero { min-height: 780px; grid-template-columns: 1fr .78fr; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(64px, 8.5vw, 92px); }
  .hero-intro, .hero-actions { margin-left: 18%; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card-featured { grid-row: span 1; min-height: 530px; }
  .service-card-blue { grid-column: auto; }
  .service-icon { width: 45%; margin: 38px auto 20px; }
  .approach-content { padding-inline: 46px; }
  .values { gap: 5vw; }
  .value-item { grid-template-columns: 50px 85px 1fr; }
}

@media (max-width: 780px) {
  :root { --page: calc(100vw - 36px); }
  body.menu-open { overflow: hidden; }
  .site-header, .site-header.is-scrolled { height: 68px; padding-inline: 18px; background: rgba(239, 228, 207, .96); border-color: rgba(43, 27, 21, .35); }
  .brand-name { max-width: 220px; overflow: hidden; font-size: 15px; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
  .brand-mark { width: 34px; height: 34px; box-shadow: 3px 3px 0 var(--espresso); }
  .nav-toggle { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 7px 9px; border: var(--line); background: var(--paper); font-size: 12px; font-weight: 800; cursor: pointer; }
  .nav-toggle-icon { width: 18px; height: 14px; display: flex; flex-direction: column; justify-content: space-around; }
  .nav-toggle-icon i { display: block; width: 100%; height: 2px; background: var(--espresso); transition: transform .25s ease; }
  .nav-toggle[aria-expanded="true"] i:first-child { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 68px 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 24px 18px 32px; transform: translateY(-130%); border-bottom: var(--line); background: var(--sand); box-shadow: 0 14px 30px rgba(43,27,21,.15); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .site-nav.is-open { transform: translateY(0); visibility: visible; }
  .site-nav a { padding: 17px 4px; border-bottom: 1px solid rgba(43,27,21,.28); font-family: var(--serif); font-size: 24px; }
  .site-nav .nav-contact { margin-top: 20px; padding: 13px 16px; font-family: var(--sans); font-size: 14px; text-align: center; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav { flex-direction: row; gap: 18px; padding: 7px 18px; transform: none; overflow-x: auto; visibility: visible; }
  html:not(.js) .site-nav a { padding: 5px 0; border: 0; font-family: var(--sans); font-size: 13px; white-space: nowrap; }
  html:not(.js) .site-nav .nav-contact { margin: 0; padding: 5px 0; border: 0; background: transparent; box-shadow: none; }

  .hero { height: auto; min-height: 780px; display: block; padding: 102px 0 70px; }
  .hero-kicker { margin-bottom: 62px; }
  .hero h1 { font-size: clamp(57px, 18vw, 90px); }
  .hero h1 em { margin-left: .75em; }
  .hero-intro { max-width: 88%; margin: 34px 0 0 12%; font-size: 16px; }
  .hero-actions { margin: 28px 0 0 12%; flex-wrap: wrap; }
  .hero-art { width: 64%; margin: -15px 0 0 auto; opacity: .55; }
  .art-note { display: none; }
  .scroll-cue { display: none; }
  .orbit-one { right: -38%; }

  .statement { grid-template-columns: 1fr; gap: 35px; padding: 90px 18px; }
  .statement .eyebrow { padding: 0; }
  .statement-note { width: 72%; margin: 22px 9px 0 auto; }

  .section-shell { padding: 90px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; margin-bottom: 42px; }
  .section-heading h2, .approach h2, .values h2 { font-size: clamp(44px, 13vw, 64px); }
  .section-heading > p { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card-featured, .service-card-blue { grid-column: auto; min-height: 390px; padding: 23px; }
  .service-card-featured { min-height: 560px; }
  .service-icon { width: 45%; }
  .shape-arrow { font-size: 110px; }

  .approach { grid-template-columns: 1fr; }
  .approach-visual { min-height: 590px; padding: 90px 40px; border-right: 0; border-bottom: var(--line); }
  .visual-frame { width: 82%; }
  .approach-content { padding: 86px 18px; }
  .process-list { margin-top: 52px; }

  .values { grid-template-columns: 1fr; gap: 55px; }
  .values-heading { position: static; }
  .value-item { grid-template-columns: 48px 78px 1fr; gap: 10px; padding: 26px 0; }
  .value-item p { font-size: 14px; }

  .contact { min-height: 720px; padding: 70px 18px 45px; }
  .contact-label span:last-child { display: none; }
  .contact-main { margin: 90px 0 0; }
  .contact h2 { font-size: clamp(52px, 16vw, 80px); }
  .contact-main > p:last-child { width: 80%; font-size: 16px; }
  .contact-action { right: 24px; bottom: 70px; width: 140px; height: 140px; padding: 19px; font-size: 13px; }
  .contact-action i { font-size: 38px; }
}

@media (max-width: 420px) {
  .brand-name { max-width: 155px; font-size: 13px; }
  .nav-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero { min-height: 720px; }
  .hero h1 { font-size: 16vw; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-art { margin-top: -8px; }
  .statement-copy { font-size: 35px; }
  .value-item { grid-template-columns: 46px 1fr; }
  .value-item p { grid-column: 2; }
  .visual-frame small { right: -22px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  [data-depth] { transform: none !important; }
}

@media print {
  .site-header { position: static; }
  .nav-toggle, .scroll-cue, .contact-action { display: none; }
  .reveal { opacity: 1; transform: none; }
  .hero { height: auto; min-height: 0; }
}
