:root {
  --bg: #f4f1ec;
  --surface: #fbfaf7;
  --ink: #111110;
  --ink-2: #4a4843;
  --ink-3: #8a877f;
  --line: #dcd7cd;
  --accent: #e8461e;
  --accent-ink: #b8330f;
  --dark: #121211;
  --dark-2: #1d1c1a;
  --dark-line: #34322e;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "League Spartan", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -0.035em; margin: 0; }
p { margin: 0; }
.dot { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 1px 0 rgba(17,17,16,.05), 0 10px 24px -18px rgba(17,17,16,.35); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font: 800 1.875rem/1 var(--display); letter-spacing: -0.06em; text-decoration: none; padding-top: 4px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--ink); transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn-primary { color: var(--bg); }
.nav .btn-primary:hover { color: #fff; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font: 600 0.9375rem/1 var(--body); text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s ease-out; white-space: nowrap; touch-action: manipulation; }
.btn:active { transform: scale(.97); }
a.service:active .go, .chips label:active { transform: scale(.94); transition-duration: .1s; }
a.service:active h3 { color: var(--accent-ink); }
.menu-btn:active { opacity: .6; }
a, button, label { -webkit-tap-highlight-color: transparent; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 0.875rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.on-dark .btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.on-dark .btn-primary:hover { background: #fff; border-color: #fff; color: var(--ink); }
.on-dark .btn-ghost { color: #fff; border-color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 28px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(3.5rem, 9.2vw, 7.75rem); font-weight: 800; letter-spacing: -0.055em; line-height: .88; }
.hero h1 .line { display: block; }
.hero .lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--ink-2); max-width: 30em; margin: 32px 0 36px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Task card */
.tasks { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 30px 60px -30px rgba(40,30,10,.25); }
.tasks-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.tasks-head strong { font: 700 1.25rem/1 var(--display); letter-spacing: -0.02em; }
.tasks-head span { font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tasks ul { list-style: none; margin: 0; padding: 0; }
.tasks li { display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 0.9375rem; }
.tasks li:last-child { border-bottom: 0; }
.tasks .tag { font-size: 0.75rem; color: var(--ink-3); }
.check { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.check svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 3; fill: none; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .35s .1s ease-out; }
.tasks li.done .check { background: var(--accent); border-color: var(--accent); }
.tasks li.done .check svg { stroke-dashoffset: 0; }
.tasks li.done .label { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-3); }
.tasks-foot { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--ink-2); }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .5s ease-out; }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
.section-head p { color: var(--ink-2); max-width: 32em; font-size: 1.125rem; }
.kicker { font-size: 0.8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; display: block; }

/* Services list */
.services { border-top: 1.5px solid var(--ink); }
.service { display: grid; grid-template-columns: 90px 1fr 1.1fr 40px; gap: 24px; align-items: start; padding: 36px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.service .num { font: 600 0.875rem/1.9 var(--body); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.service h3 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -0.03em; }
.service p { color: var(--ink-2); }
.service .go { justify-self: end; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: background .2s, color .2s, transform .3s; }
a.service:hover .go { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }
a.service:hover h3 { color: var(--accent-ink); }
.service ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 0.8125rem; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

/* Dark band */
.dark { background: var(--dark); color: #f4f1ec; }
.dark .section-head p, .dark p { color: #b5b1a8; }
.dark .kicker { color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--dark); padding: clamp(28px, 3vw, 44px); min-height: 280px; display: flex; flex-direction: column; }
.step .n { font: 800 4rem/1 var(--display); color: var(--accent); letter-spacing: -0.05em; margin-bottom: auto; padding-bottom: 40px; }
.step h3 { font-size: 1.625rem; letter-spacing: -0.02em; color: #fff; margin-bottom: 12px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(3rem, 6vw, 5rem)/1 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stats.words b { font-size: clamp(1.75rem, 2.6vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.05; }
.stat span { display: block; margin-top: 12px; color: var(--ink-2); font-size: 0.9375rem; max-width: 16em; }

/* Split / prose */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.split h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-2); font-size: 1.125rem; }
.prose p.big { color: var(--ink); font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.35; letter-spacing: -0.01em; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.value h3 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.value p { color: var(--ink-2); font-size: 1rem; }

/* Page hero */
.page-hero { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(3.25rem, 8vw, 6.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: .92; max-width: 12ch; }
.page-hero p { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--ink-2); max-width: 34em; margin-top: 28px; }

/* Service detail */
.detail { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.detail:first-child { border-top: 1.5px solid var(--ink); }
.detail .num { font-size: 0.875rem; color: var(--ink-3); font-weight: 600; margin-bottom: 14px; display: block; }
.detail h2 { font-size: clamp(2.125rem, 4vw, 3.25rem); }
.detail .body > p { color: var(--ink-2); font-size: 1.125rem; margin-bottom: 24px; }
.detail ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.detail li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 1rem; }
.detail li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* CTA */
.cta { padding: clamp(80px, 11vw, 140px) 0; text-align: left; }
.cta h2 { font-size: clamp(3rem, 8vw, 7rem); font-weight: 800; letter-spacing: -0.055em; line-height: .9; max-width: 11ch; }
.cta .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.cta p { max-width: 26em; margin-bottom: 24px; font-size: 1.125rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(80px, 10vw, 128px); }
.contact-info dl { margin: 0; border-top: 1.5px solid var(--ink); }
.contact-info dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 22px; }
.contact-info dd { margin: 6px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 1.1875rem; }
.contact-info dd a { text-decoration: none; }
.contact-info dd a:hover { color: var(--accent-ink); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 0.875rem; font-weight: 600; }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; width: 100%; transition: border-color .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.chips label { font-size: 0.875rem; font-weight: 500; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s ease-out; user-select: none; }
.chips input:checked + label { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .note { font-size: 0.8125rem; color: var(--ink-3); }
.err { font-size: 0.8125rem; font-weight: 500; color: var(--accent-ink); min-height: 1.2em; margin-top: -2px; }
.err:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--accent); }
.form-status { font-size: 0.9375rem; font-weight: 500; }
.form-status:empty { display: none; }

/* Legal */
.legal { max-width: 760px; padding-bottom: 120px; }
.legal h2 { font-size: 1.75rem; letter-spacing: -0.02em; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 1em; }

/* Footer */
.footer { background: var(--dark); color: #b5b1a8; padding: 72px 0 32px; font-size: 0.9375rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-line); }
.footer .logo { color: #fff; font-size: 2.75rem; display: inline-block; margin-bottom: 14px; }
.footer h4 { font: 600 0.8125rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #6f6c65; margin: 8px 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 0.8125rem; color: #6f6c65; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity .4s ease; }
  html { scroll-behavior: auto; }
  .btn:active, a.service:active .go, .chips label:active { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-transparency: reduce) {
  .header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #2b2a27; --ink-3: #55524c; --line: #a9a397; }
  .header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--ink); }
}

/* Motion (GSAP-owned). .motion is set in <head> only when motion is allowed. */
.motion [data-hero], .motion [data-split], .motion [data-fade], .motion [data-cta] { visibility: hidden; }
.motion [data-split] > * { padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .line { overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: block; }
.hero h1 .dot { display: inline-block; }



/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .section-head, .split, .contact-grid, .detail { grid-template-columns: 1fr; }
  .steps, .values { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 32px; }
  .service { grid-template-columns: 48px 1fr 40px; }
  .service > div:nth-of-type(2) { grid-column: 2 / 3; }
  .service .go { grid-row: 1; grid-column: 3; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s, visibility 0s .28s; }
  body::before { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(17,17,16,.35); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .menu-open::before { opacity: 1; pointer-events: auto; }
  .menu-open .nav { transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s, visibility 0s; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 1.375rem; font-family: var(--display); font-weight: 700; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { text-decoration: none; color: var(--accent-ink); }
  .nav .btn { margin-top: 20px; justify-content: center; font-family: var(--body); font-size: 1rem; height: 52px; color: var(--bg); border-bottom: 1.5px solid var(--ink); }
  .two, .detail ul { grid-template-columns: 1fr; }
  .tasks { padding: 20px; }
  .tasks .tag { display: none; }
  .tasks li { grid-template-columns: 24px 1fr; }
  .service { grid-template-columns: 1fr 40px; gap: 12px; padding: 28px 0; }
  .service .num { grid-column: 1; }
  .service > div { grid-column: 1 / -1 !important; }
  .service .go { grid-row: 1; grid-column: 2; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); padding-top: 24px; padding-bottom: 24px; }
  .footer-top { grid-template-columns: 1fr; }
}
.nw { white-space: nowrap; }
