/* ─────────────────────────────────────────────
   Norman Capital — design system
   Ink + cream editorial, brass accent, teal signal
   ───────────────────────────────────────────── */
:root {
  --ink: #08152A;
  --ink-2: #0E1F3A;
  --ink-3: #16294A;
  --cream: #F5F1EA;
  --cream-2: #ECE6DB;
  --paper: #FBF9F5;
  --brass: #D9B86A;
  --brass-deep: #B8932F;
  --teal: #EAD8A4;
  --teal-deep: #B8932F;
  --text: #1A2033;
  --muted: #5B6478;
  --muted-on-dark: #A6AEC2;
  --line: rgba(8, 21, 42, .12);
  --line-on-dark: rgba(245, 241, 234, .12);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Sora', 'Helvetica Neue', Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -24px rgba(8, 21, 42, .35);
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-variation-settings: 'opsz' 144, 'SOFT' 30; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-variation-settings: 'opsz' 144; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
em { font-style: italic; font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.wrap--narrow { width: min(820px, calc(100% - 48px)); margin-inline: auto; }
section { padding: clamp(72px, 9vw, 128px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Eyebrow, buttons, links */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--brass); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  font-family: var(--sans); line-height: 1;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--brass { background: var(--brass); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(217, 184, 106, .8); }
.btn--brass:hover { background: #E4C67E; transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-on-dark); color: var(--cream); background: rgba(255,255,255,.03); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(245,241,234,.4); background: rgba(255,255,255,.07); }
.btn--outline { border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: .86rem; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 21, 42, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-on-dark);
  color: var(--cream);
}
.header__in { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--muted-on-dark); transition: color .2s, background .2s; }
.nav a:hover, .nav a.active { color: var(--cream); background: rgba(255,255,255,.06); }
.nav .btn { margin-left: 10px; color: var(--ink); }
.nav .btn:hover { color: var(--ink); }
.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 640px; background: var(--ink-2); border: 1px solid var(--line-on-dark); border-radius: var(--radius);
  padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega__col-title { grid-column: span 1; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); padding: 6px 12px 2px; }
.mega a { display: block; padding: 9px 12px; border-radius: 10px; }
.mega a strong { display: block; color: var(--cream); font-weight: 600; font-size: .9rem; }
.mega a span { display: block; color: var(--muted-on-dark); font-size: .78rem; line-height: 1.4; }
.mega a:hover { background: rgba(255,255,255,.06); }
.burger { display: none; background: none; border: 1px solid var(--line-on-dark); color: var(--cream); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .3s, opacity .3s; }
.mobile-nav { display: none; background: var(--ink-2); border-top: 1px solid var(--line-on-dark); padding: 12px 0 24px; }
.mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-on-dark); color: var(--cream); font-weight: 500; }
.mobile-nav .sub { padding-left: 14px; font-size: .92rem; color: var(--muted-on-dark); }
.mobile-nav .btn { margin-top: 18px; border: 0; justify-content: center; }
body.menu-open .mobile-nav { display: block; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Dark surfaces ── */
.on-dark { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.on-dark p { color: var(--muted-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--cream); }
.mesh::before {
  content: ''; position: absolute; inset: -20% -10%; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(234, 216, 164, .16), transparent 60%),
    radial-gradient(50% 45% at 10% 90%, rgba(217, 184, 106, .18), transparent 60%),
    radial-gradient(40% 40% at 50% 50%, rgba(27, 38, 64, .9), transparent 70%);
}
.grid-lines::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-on-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.grain::before { z-index: 0; }
.on-dark > .wrap { position: relative; z-index: 1; }

/* ── Hero ── */
.hero { padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { color: var(--brass); }
.hero .lede { font-size: 1.18rem; max-width: 560px; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__note { margin-top: 22px; font-size: .84rem; color: var(--muted-on-dark); display: flex; gap: 18px; flex-wrap: wrap; }
.hero__note span { display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { width: 14px; height: 14px; color: var(--teal); }

/* Decision card (hero visual) */
.card-stack { position: relative; perspective: 1400px; }
.dcard {
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(245,241,234,.14); border-radius: 22px; padding: 26px 28px;
  backdrop-filter: blur(10px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  transform: rotateY(-6deg) rotateX(3deg); transform-origin: left center;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: rotateY(-6deg) rotateX(3deg) translateY(0);} 50% { transform: rotateY(-6deg) rotateX(3deg) translateY(-10px);} }
.dcard__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dcard__head small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-dark); }
.pill { font-size: .72rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(234,216,164,.12); color: var(--teal); border: 1px solid rgba(234,216,164,.3); }
.dcard__amount { font-family: var(--display); font-size: 2.8rem; color: var(--cream); line-height: 1; margin-bottom: 4px; }
.dcard__sub { font-size: .84rem; color: var(--muted-on-dark); margin-bottom: 22px; }
.offer { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(245,241,234,.1); background: rgba(8,21,42,.5); margin-bottom: 8px; }
.offer strong { display: block; font-size: .9rem; color: var(--cream); }
.offer span { font-size: .76rem; color: var(--muted-on-dark); }
.offer b { font-family: var(--display); font-weight: 500; font-size: 1.15rem; color: var(--cream); }
.offer i { font-style: normal; font-size: .72rem; color: var(--teal); }
.offer.best { border-color: rgba(217,184,106,.5); background: rgba(217,184,106,.08); }
.dcard__foot { display: flex; justify-content: space-between; margin-top: 18px; font-size: .78rem; color: var(--muted-on-dark); }
.dcard__foot b { color: var(--brass); }
.dcard__mini {
  position: absolute; right: -22px; bottom: -34px; width: 230px;
  background: var(--cream); color: var(--ink); border-radius: 16px; padding: 16px 18px;
  box-shadow: var(--shadow); animation: float2 9s ease-in-out infinite;
}
@keyframes float2 { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }
.dcard__mini small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dcard__mini div { font-family: var(--display); font-size: 1.6rem; margin-top: 4px; }
.dcard__mini .bar { height: 6px; border-radius: 6px; background: var(--cream-2); margin-top: 10px; overflow: hidden; }
.dcard__mini .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brass), var(--teal-deep)); animation: fill 2.4s var(--ease) .6s forwards; }
@keyframes fill { to { width: 82%; } }

/* Stats strip */
.stats { border-top: 1px solid var(--line-on-dark); padding: 34px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat b { display: block; font-family: var(--display); font-weight: 500; font-size: 2.2rem; color: var(--cream); line-height: 1; }
.stat b span { color: var(--brass); }
.stat small { display: block; color: var(--muted-on-dark); font-size: .84rem; margin-top: 8px; }

/* ── Section headers ── */
.sec-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.sec-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.on-dark .sec-head p { color: var(--muted-on-dark); }
.sec-head h2 { margin: 0; }

/* ── Services grid ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  position: relative; padding: 30px 28px 26px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  display: flex; flex-direction: column; min-height: 100%;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc__num { font-family: var(--display); font-size: .95rem; color: var(--brass-deep); letter-spacing: .05em; margin-bottom: 26px; display: flex; justify-content: space-between; align-items: center; }
.svc__num span { font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc h3 { font-size: 1.5rem; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc__meta { display: flex; gap: 16px; font-size: .78rem; color: var(--muted); margin: 8px 0 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.svc__meta b { display: block; color: var(--ink); font-weight: 600; font-size: .86rem; }
.svc .link-arrow { font-size: .92rem; }
.svc::after { content: ''; position: absolute; inset: auto 28px 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--brass), var(--teal-deep)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.svc:hover::after { transform: scaleX(1); }
.svc--dark { background: var(--ink-2); border-color: var(--line-on-dark); }
.svc--dark h3 { color: var(--cream); }
.svc--dark p, .svc--dark .svc__meta { color: var(--muted-on-dark); }
.svc--dark .svc__meta b, .svc--dark .link-arrow { color: var(--cream); }
.svc--dark .svc__meta { border-color: var(--line-on-dark); }

/* ── Process ── */
.process { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.step { padding: 38px 34px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step__n { font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--brass); font-variation-settings: 'opsz' 144; margin-bottom: 16px; }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ── Split feature ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .lede { font-size: 1.08rem; color: var(--muted); }
.on-dark .split .lede { color: var(--muted-on-dark); }
.checks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before { content: ''; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--ink); margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9B86A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); background-size: 12px; background-position: center; background-repeat: no-repeat; }
.on-dark .checks li::before { background-color: var(--brass); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0F1C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: .92rem; }
.on-dark .checks span { color: var(--muted-on-dark); }

/* Consulting panel */
.panel { border-radius: 24px; padding: 40px; background: var(--ink-2); border: 1px solid var(--line-on-dark); position: relative; overflow: hidden; }
.panel::after { content: ''; position: absolute; width: 380px; height: 380px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(234,216,164,.25), transparent 65%); }
.panel__row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-on-dark); position: relative; z-index: 1; }
.panel__row:last-of-type { border-bottom: 0; }
.panel__row b { color: var(--cream); font-weight: 600; font-size: .95rem; }
.panel__row small { color: var(--muted-on-dark); font-size: .8rem; display: block; }
.panel__row .tag { font-size: .72rem; padding: 6px 10px; border-radius: 999px; background: rgba(217,184,106,.12); color: var(--brass); border: 1px solid rgba(217,184,106,.3); white-space: nowrap; }

/* ── Industries marquee ── */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--paper); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; }
.marquee__track span { font-family: var(--display); font-size: 1.35rem; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: '◆'; font-size: .55rem; color: var(--brass); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Why / value grid ── */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.value h3 { font-size: 1.35rem; margin-top: 18px; }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }
.value__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; }
.value__icon svg { width: 22px; height: 22px; color: var(--brass); }

/* ── Quote band ── */
.quote { text-align: center; }
.quote blockquote { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; margin: 0 auto 22px; max-width: 900px; color: var(--cream); font-variation-settings: 'opsz' 144; }
.quote cite { font-style: normal; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }

/* ── CTA band ── */
.cta { text-align: center; }
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta p { max-width: 560px; margin: 0 auto 32px; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Page hero (inner pages) ── */
.page-hero { padding: clamp(60px, 8vw, 100px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { max-width: 820px; }
.page-hero .lede { font-size: 1.15rem; max-width: 640px; }
.crumbs { font-size: .8rem; color: var(--muted-on-dark); margin-bottom: 22px; display: flex; gap: 8px; }
.crumbs a:hover { color: var(--cream); }

/* Service detail */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; max-width: 720px; }
.fact { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line-on-dark); background: rgba(255,255,255,.04); }
.fact small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 6px; }
.fact b { font-family: var(--display); font-weight: 500; font-size: 1.35rem; color: var(--cream); }
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.detail__body .intro { font-size: 1.2rem; line-height: 1.55; color: var(--text); font-family: var(--display); font-variation-settings: 'opsz' 60; }
.detail h2 { font-size: 1.9rem; margin: 48px 0 18px; }
.detail__body h2:first-of-type { margin-top: 40px; }
.reqs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reqs li { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .93rem; display: flex; gap: 10px; }
.reqs li::before { content: '—'; color: var(--brass-deep); }
.ol-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.ol-steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ol-steps li::before { content: '0' counter(s); font-family: var(--display); font-size: 1.7rem; color: var(--brass-deep); line-height: 1; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-size: 1.6rem; color: var(--brass-deep); line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }
.side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side__card { background: var(--ink); color: var(--cream); border-radius: 20px; padding: 28px; position: relative; overflow: hidden; }
.side__card::after { content: ''; position: absolute; width: 240px; height: 240px; right: -100px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(217,184,106,.3), transparent 65%); }
.side__card h3 { font-size: 1.5rem; }
.side__card p { color: var(--muted-on-dark); font-size: .92rem; }
.side__card .btn { width: 100%; justify-content: center; position: relative; z-index: 1; }
.side__card .call { display: block; margin-top: 14px; text-align: center; font-size: .86rem; color: var(--muted-on-dark); }
.side__card .call b { color: var(--cream); }
.side__list { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.side__list h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.side__list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: .93rem; }
.side__list a:last-child { border-bottom: 0; }
.side__list a:hover { color: var(--brass-deep); }

/* Services index */
.group-head { display: flex; align-items: baseline; gap: 22px; margin: 64px 0 28px; }
.group-head:first-of-type { margin-top: 0; }
.group-head h2 { margin: 0; font-size: 2rem; }
.group-head span { color: var(--muted); font-size: .95rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid .big { font-family: var(--display); font-size: 1.35rem; line-height: 1.45; font-variation-settings: 'opsz' 60; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.principle { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.principle b { font-family: var(--display); font-size: 1.35rem; font-weight: 500; display: block; margin-bottom: 8px; }
.principle p { color: var(--muted); margin: 0; font-size: .95rem; }
.timeline { border-left: 2px solid var(--brass); padding-left: 28px; display: grid; gap: 26px; }
.timeline div { position: relative; }
.timeline div::before { content: ''; position: absolute; left: -35px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brass); }
.timeline b { display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 500; }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: .93rem; }

/* Apply + contact */
.embed-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow); min-height: 720px; }
.embed-wrap iframe { width: 100%; min-height: 600px; border: 0; border-radius: 12px; }
.placeholder { min-height: 560px; display: grid; place-items: center; text-align: center; padding: 40px; color: var(--muted); }
.placeholder code { background: var(--cream); padding: 3px 8px; border-radius: 6px; font-size: .88em; color: var(--ink); }
.apply-side { display: grid; gap: 18px; }
.apply-side .principle { padding: 22px 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-info div small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-info div a, .contact-info div b { font-family: var(--display); font-size: 1.35rem; font-weight: 500; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass-deep); box-shadow: 0 0 0 4px rgba(217,184,106,.22); }
.field textarea { min-height: 120px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form .fine { font-size: .76rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.alert { padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .95rem; }
.alert--ok { background: rgba(184,147,47,.12); border: 1px solid rgba(184,147,47,.4); color: #0B6F5F; }
.alert--err { background: rgba(200,60,60,.08); border: 1px solid rgba(200,60,60,.35); color: #8E2B2B; }
.hp { position: absolute; left: -9999px; }

/* Legal */
.legal h2 { font-size: 1.5rem; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); }

/* ── Footer ── */
.footer { background: var(--ink); color: var(--muted-on-dark); padding: 72px 0 32px; border-top: 1px solid var(--line-on-dark); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer__brand img { height: 54px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: .9rem; max-width: 320px; }
.footer h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { font-size: .9rem; transition: color .2s; }
.footer ul a:hover { color: var(--cream); }
.footer__bottom { border-top: 1px solid var(--line-on-dark); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .78rem; }
.footer__bottom a { margin-left: 18px; }
.footer__bottom a:hover { color: var(--cream); }
.disclaimer { font-size: .74rem; line-height: 1.6; color: rgba(166,174,194,.7); margin-top: 22px; max-width: 900px; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; } .reveal[data-d="2"] { transition-delay: .2s; } .reveal[data-d="3"] { transition-delay: .3s; }
.reveal[data-d="4"] { transition-delay: .4s; } .reveal[data-d="5"] { transition-delay: .5s; } .reveal[data-d="6"] { transition-delay: .6s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .dcard, .dcard__mini, .marquee__track { animation: none; } }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero__grid, .split, .detail, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .svc-grid, .values, .steps { grid-template-columns: 1fr 1fr; }
  .steps .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
  .card-stack { max-width: 520px; }
  .dcard__mini { right: 0; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap, .wrap--narrow { width: calc(100% - 36px); }
  .svc-grid, .values, .steps, .stats__grid, .facts, .reqs, .principles, .form .row, .footer__grid, .sec-head { grid-template-columns: 1fr; }
  .sec-head { gap: 12px; margin-bottom: 36px; }
  .dcard { transform: none; animation: none; padding: 22px; }
  .dcard__mini { position: static; width: 100%; margin-top: 14px; animation: none; }
  .offer { grid-template-columns: 1fr auto; }
  .offer i { grid-column: 1 / -1; }
  .stats__grid { gap: 20px; }
  .stat b { font-size: 1.8rem; }
  .form { padding: 22px; }
  .header__in { height: 68px; }
  .brand img { height: 42px; }
  .footer__bottom a { margin-left: 0; margin-right: 16px; }
}
