@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/inter.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-tight.woff2) format("woff2"); }

:root {
  --bg: #FFFFFF; --grey: #EFEFEF; --beige: #EBE6DD; --ink: #202020; --text: #4D4D4D; --mute: #828282;
  --line: #D6D6D6; --line-soft: #E8E8E8; --gold: #816729; --orange: #FF682C;
  --tight: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(56px, 7vw, 96px);
  --head-gap: clamp(28px, 3.4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-wrap: pretty; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--beige); }
[hidden] { display: none !important; }
@keyframes hhIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.wrap { max-width: 1200px; margin: 0 auto; }
section { padding: 0 var(--gutter); }
section.grey { background: var(--grey); }
.sec { padding: var(--section) 0; }
.kicker { font-family: var(--tight); font-size: 13px; letter-spacing: -0.01em; color: var(--gold); }
.h2 { font-family: var(--tight); font-weight: 400; font-size: clamp(36px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: var(--head-gap); }
.lead { font-family: var(--tight); font-size: clamp(26px, 3vw, 38px); line-height: 1.16; letter-spacing: -0.02em; color: var(--ink); }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.65; color: var(--text); max-width: 520px; }
.split { display: flex; flex-wrap: wrap; gap: 32px clamp(40px, 7vw, 100px); }
.split > :first-child { flex: 1.3 1 440px; display: flex; flex-direction: column; gap: 20px; }
.split > .prose { flex: 1 1 340px; padding-top: clamp(0px, 3.4vw, 36px); }

/* Header */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav.scrolled { border-bottom-color: var(--line-soft); }
.nav .wrap { padding: 14px var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { flex: 1 1 0; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; white-space: nowrap; font-family: var(--tight); font-size: 18px; letter-spacing: -0.02em; }
.brand span span { color: var(--mute); }
.nav nav { display: flex; gap: 4px; padding: 6px 8px; background: var(--grey); border-radius: 200px; font-family: var(--tight); font-size: 16px; letter-spacing: -0.02em; }
.nav nav a { padding: 6px 14px; border-radius: 200px; color: var(--ink); text-decoration: none; }
.nav nav a:hover { background: #fff; color: var(--ink); }
.nav .cta-wrap { flex: 1 1 0; display: flex; justify-content: flex-end; }
@media (max-width: 859px) { .nav nav { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; font-family: var(--tight); font-size: 16px; letter-spacing: -0.02em; color: #fff; background: var(--ink); border: 0; border-radius: 0; text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--text); color: #fff; }
.btn.sm { min-height: 44px; padding: 0 20px; }
.btn.ghost { color: var(--ink); background: transparent; border: 1px solid var(--ink); }
.btn.ghost:hover { background: #fff; color: var(--ink); }
.btn.block { width: 100%; }

/* Hero */
.hero .wrap { padding: clamp(44px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 80px); align-items: flex-start; }
.hero-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding-top: clamp(0px, 2vw, 20px); }
.hero h1 { font-family: var(--tight); font-weight: 400; font-size: clamp(44px, 5.6vw, 72px); line-height: .95; letter-spacing: -0.035em; color: var(--ink); max-width: 13ch; }
.hero .sub { font-size: 18px; line-height: 1.55; color: var(--text); max-width: 42ch; }
.hero .sub strong { font-weight: 500; color: var(--ink); }

/* Qualifier card */
.qcard { flex: 1 1 440px; max-width: 580px; min-width: 0; background: var(--grey); border-radius: 6px 0 0 0; padding: clamp(24px, 3.4vw, 40px); }
.progress { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.progress p { flex: none; font-family: var(--tight); font-size: 13px; letter-spacing: -0.01em; color: var(--gold); font-variant-numeric: tabular-nums; }
.dots { flex: 1; display: flex; gap: 4px; }
.dots span { flex: 1; height: 2px; background: var(--line); transition: background .35s; }
.dots span.done { background: var(--ink); }
.dots span.now { background: var(--orange); }
.step { display: flex; flex-direction: column; gap: 22px; animation: hhIn .35s ease both; }
.step.s2 { gap: 26px; }
.step h2 { font-family: var(--tight); font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 500; color: var(--text); }
.tiles { display: flex; flex-wrap: wrap; gap: 6px; }
.tile { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 20px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile svg { display: none; flex: none; }
.tile:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile:has(input:checked) svg { display: block; }
.tile:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .qlabel { font-size: 13px; font-weight: 500; color: var(--text); }
.qlabel { font-size: 15px; color: var(--ink); }
.field label.qlabel { font-size: 15px; color: var(--ink); }
input[type=text], input[type=email], input[type=url], select, textarea { width: 100%; min-height: 46px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--mute); border-radius: 0; }
select { padding: 0 12px; cursor: pointer; }
textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--mute); border-radius: 0; resize: vertical; min-height: 110px; }
textarea:focus { border-color: var(--ink); }
input[type=text]:focus, input[type=email]:focus, input[type=url]:focus, select:focus { border-color: var(--ink); }
.invalid { border-color: var(--orange) !important; }
.err { display: flex; gap: 8px; align-items: baseline; font-size: 14px; font-weight: 500; color: var(--ink); }
.err::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--orange); }
.err:empty { display: none; }
.fine { font-size: 13px; line-height: 1.5; color: var(--text); }
.actions { display: flex; flex-direction: column; gap: 12px; }
.btn-row { display: flex; gap: 8px; }
.btn-row .btn:last-child { flex: 1; }
.seg { display: flex; flex-direction: column; gap: 10px; }
.seg-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.seg-opts label { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: 6px 8px; font-size: 14px; line-height: 1.2; color: var(--ink); background: #fff; border: 1px solid var(--line); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.seg-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opts label:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg-opts label:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; }
.seg.bad .seg-opts label { border-color: var(--orange); }
.grid-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px 12px; }
.grid-fields .err { font-size: 13.5px; line-height: 1.4; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent-err { margin-left: 30px; font-size: 13.5px; }
.hp { position: absolute; left: -9999px; }
.result { display: flex; flex-direction: column; gap: 16px; padding: 8px 0; animation: hhIn .4s ease both; }
.result .mark { width: 12px; height: 12px; background: var(--orange); }
.result .mark.maybe { background: none; border: 1.5px solid var(--gold); }
.result .mark.no { height: 2px; margin: 5px 0; background: var(--mute); }
.result h2 { font-family: var(--tight); font-weight: 400; font-size: clamp(32px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -0.025em; color: var(--ink); }
.result p { font-size: 16px; line-height: 1.6; color: var(--text); }
.result .btn { align-self: flex-start; margin-top: 6px; }
.send-note { font-size: 14px !important; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 36px); background: var(--grey); border-radius: 6px 0 0 0; }
.card .n { font-family: var(--tight); font-size: 13px; color: var(--gold); font-variant-numeric: tabular-nums; }
.card h3 { margin-top: 20px; font-family: var(--tight); font-weight: 400; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.card p { font-size: 15px; line-height: 1.6; color: var(--text); }

/* Principles */
.principles-wrap { display: flex; flex-wrap: wrap; gap: 32px clamp(40px, 7vw, 100px); }
.principles-wrap .head { flex: 1 1 300px; margin: 0; }
.principles { flex: 1.8 1 500px; border-top: 1px solid var(--line); }
.principles li { display: flex; flex-wrap: wrap; gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.principles .n { flex: 0 0 28px; font-family: var(--tight); font-size: 13px; line-height: 1.9; color: var(--gold); font-variant-numeric: tabular-nums; }
.principles h3 { flex: 1 1 200px; font-family: var(--tight); font-weight: 400; font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.principles p { flex: 2 1 300px; font-size: 15px; line-height: 1.6; color: var(--text); }

/* Sectors */
.sectors-head { display: flex; flex-wrap: wrap; gap: 20px clamp(40px, 7vw, 100px); align-items: flex-end; margin-bottom: var(--head-gap); }
.sectors-head .head { flex: 1 1 360px; margin: 0; }
.sectors-head > p { flex: 1 1 340px; font-size: 18px; line-height: 1.5; color: var(--text); max-width: 500px; }
.sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.sectors > div { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; }
.sectors h3 { font-family: var(--tight); font-weight: 400; font-size: 18px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.sectors p { font-size: 14px; line-height: 1.5; color: var(--text); }
.sectors .fit { justify-content: flex-end; background: var(--beige); }
.sectors .fit a { font-family: var(--tight); font-size: 16px; letter-spacing: -0.02em; }

/* Process */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.process li { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: #fff; border-radius: 20px; }
.process .top { display: flex; align-items: center; justify-content: space-between; }
.process .num { font-family: var(--tight); font-size: 40px; line-height: 1; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.process .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.process li:last-child .dot { background: var(--orange); }
.process h3 { margin-top: 16px; font-family: var(--tight); font-weight: 400; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.process p { font-size: 15px; line-height: 1.6; color: var(--text); }
.process-note { margin-top: clamp(24px, 3vw, 36px); display: flex; align-items: center; gap: 10px; font-family: var(--tight); font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.process-note::before { content: ""; width: 20px; height: 1px; background: var(--orange); }

/* Compensation */
.comp { padding-bottom: var(--section); }
.comp .wrap { padding: clamp(28px, 4.5vw, 56px) clamp(24px, 5vw, 60px); background: var(--beige); border-radius: 6px 0 0 0; display: flex; flex-wrap: wrap; gap: 24px clamp(40px, 7vw, 100px); }
.comp .l { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.comp h2 { font-family: var(--tight); font-weight: 400; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
.comp .r { flex: 1.6 1 440px; display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.65; color: var(--text); max-width: 600px; }
.comp .r p:last-child { padding-top: 16px; border-top: 1px solid #D3CCBF; font-family: var(--tight); font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }

/* Contact */
.contact { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.contact h2 { font-family: var(--tight); font-weight: 400; font-size: clamp(40px, 5vw, 60px); line-height: .98; letter-spacing: -0.03em; color: var(--ink); }
.contact .sub { font-size: 18px; line-height: 1.55; color: var(--text); max-width: 46ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }

/* Footer */
footer { padding: 0 var(--gutter); }
footer .wrap { padding: 32px 0 40px; }
footer p { font-family: var(--tight); font-size: 16px; letter-spacing: -0.02em; color: var(--ink); }
footer p span { color: var(--mute); }

/* Legal pages */
.legal .wrap { max-width: 760px; padding: clamp(40px, 6vw, 72px) var(--gutter) var(--section); }
.legal h1 { font-family: var(--tight); font-weight: 400; font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 12px; }
.legal h2 { font-family: var(--tight); font-weight: 400; font-size: 24px; letter-spacing: -0.02em; color: var(--ink); margin: 32px 0 10px; }
.legal p, .legal li { margin-bottom: 12px; line-height: 1.7; color: var(--text); }
.legal ul { list-style: disc; padding-left: 22px; }
.todo { padding: 12px 16px; background: var(--grey); font-size: 14px; margin-bottom: 24px; }

/* Contact page */
.contact-page { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 88px); align-items: flex-start; }
.contact-intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; padding-top: clamp(0px, 2vw, 16px); }
.contact-intro h1 { font-family: var(--tight); font-weight: 400; font-size: clamp(40px, 5vw, 60px); line-height: .98; letter-spacing: -0.03em; color: var(--ink); }
.contact-intro .sub { font-size: 18px; line-height: 1.55; color: var(--text); max-width: 44ch; }
.points { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; font-size: 15px; color: var(--text); }
.points li { display: flex; gap: 10px; align-items: baseline; }
.points li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--orange); transform: translateY(-1px); }
.contact-card { background: #fff; border-radius: 6px 0 0 0; }
.contact-card .field label { font-size: 13px; }

/* ---------- Motion ---------- */
.scroll-bar { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 30; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Headline word reveal */
.js .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: wordUp .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(120ms + var(--i) * 70ms); }
@keyframes wordUp { to { transform: none; } }
.js .hero .sub, .js .hero .rotator { opacity: 0; animation: hhIn .8s ease forwards; }
.js .hero .rotator { animation-delay: .05s; }
.js .hero .sub { animation-delay: .75s; }
.js .hero .qcard { opacity: 0; animation: hhIn .9s ease .45s forwards; }

/* Rotating phrase */
.rotator { display: flex; flex-wrap: wrap; gap: 0 .4em; font-family: var(--tight); font-size: 15px; letter-spacing: -0.01em; color: var(--gold); min-height: 1.5em; }
.rot-label::after { content: ""; }
.rot-word { color: var(--ink); position: relative; display: inline-block; transition: opacity .35s, transform .35s; }
.rot-word::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--orange); }
.rot-word.out { opacity: 0; transform: translateY(-6px); }

/* Hero waves */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.waves { position: absolute; inset: auto 0 0 0; height: 160px; pointer-events: none; opacity: .5; }
.wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 120px; }
.w1 { animation: drift 28s linear infinite; bottom: 18px; opacity: .55; }
.w2 { animation: drift 44s linear infinite reverse; bottom: 0; opacity: .18; }
@keyframes drift { to { transform: translateX(-50%); } }

/* Hover polish */
.btn { position: relative; overflow: hidden; }
.btn:not(.ghost):not(.sm)::after, .btn.block::after { content: ""; }
.btn:hover { transform: translateY(-1px); }
.btn { transition: background .2s, transform .2s; }
.card { transition: transform .35s cubic-bezier(.2,.7,.2,1), background .35s, box-shadow .35s; }
.card:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 18px 40px -22px rgba(32,32,32,.35); }
.card:hover .n { color: var(--orange); }
.card .n { transition: color .25s; }
.process li { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.process li:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -22px rgba(32,32,32,.3); }
.process li:hover .dot { background: var(--orange); }
.sectors > div { transition: background .25s; }
.sectors > div:not(.fit):hover { background: var(--grey); }
.sectors .fit { transition: background .25s; }
.sectors .fit:hover { background: var(--orange); }
.sectors .fit:hover a { color: var(--ink); text-decoration-color: var(--ink); }
.principles li { transition: padding-left .3s cubic-bezier(.2,.7,.2,1); }
.principles li:hover { padding-left: 12px; }
.principles li:hover .n { color: var(--orange); }
.tile { transition: background .15s, color .15s, border-color .15s, transform .15s; }
.tile:hover { border-color: var(--ink); transform: translateY(-1px); }
.seg-opts label:hover { border-color: var(--ink); }

/* Nav scrollspy + process rail */
.nav nav a { transition: background .2s; }
.nav nav a.active { background: #fff; }
.process-note::before { transition: width .6s cubic-bezier(.2,.7,.2,1); }
.process-note.seen::before { width: 56px; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero .sub, .js .hero .rotator, .js .hero .qcard { opacity: 1 !important; transform: none !important; }
  .js .hero h1 .w > span { transform: none !important; }
  .wave { animation: none !important; }
}
