/* =========================================================
   N G & Associates — design tokens
   Display: Fraunces (variable, opsz + italic)
   Text:    Manrope
   Labels:  JetBrains Mono
   Ink / paper / one gold accent. No decorative gradients.
   ========================================================= */
:root {
  --ink: #0c0b09;
  --ink-2: #15130f;
  --ink-3: #1f1c16;
  --paper: #f3eee4;
  --paper-2: #e8e0cf;
  --gold: #c8a45a;
  --gold-deep: #8a6a2a;
  --gold-soft: rgba(200, 164, 90, 0.14);
  --text-on-ink: #ece6d8;
  --muted-on-ink: #9c9483;
  --text-on-paper: #1b1914;
  --muted-on-paper: #6b6457;
  --line-ink: rgba(236, 230, 216, 0.12);
  --line-paper: rgba(27, 25, 20, 0.14);

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-text: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-on-ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h-display {
  font-family: var(--f-display);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
}
.h-section {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
}
.h-section em, .h-display em { font-style: italic; color: var(--gold); font-weight: 300; }
.on-paper .h-section em { color: var(--gold-deep); }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted-on-ink); max-width: 52ch; }
.on-paper .lede { color: var(--muted-on-paper); }

.line-mask { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.char, .word { display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 28px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease-out);
}
.btn .btn-fill {
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
}
.btn:hover .btn-fill { transform: translateY(0); }
.btn .arrow { width: 18px; height: 18px; transition: transform 0.45s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px) rotate(-45deg); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold .btn-fill { background: var(--paper); }
.btn-ghost { border: 1px solid rgba(236,230,216,.28); color: var(--text-on-ink); }
.btn-ghost .btn-fill { background: var(--text-on-ink); }
.btn-ghost:hover { color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink .btn-fill { background: var(--gold); }
.btn-ink:hover { color: var(--ink); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  display: grid; place-items: center;
}
.loader-inner { text-align: center; padding: 0 var(--gutter); }
.loader-word { font-family: var(--f-display); font-size: clamp(44px, 8vw, 116px); letter-spacing: -0.045em; font-weight: 300; overflow: hidden; line-height: 1.08; }
.loader-word span { display: inline-block; }
.loader-word em { color: var(--gold); }
.loader-count { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.24em; color: var(--muted-on-ink); margin-top: 18px; text-transform: uppercase; }
.loader-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.reduced .loader, .no-js .loader { display: none; }

/* ---------- cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 150; border-radius: 50%; display: none; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(200, 164, 90, 0.6);
  align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); font-weight: 600;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background .3s, border-color .3s, opacity .3s;
}
.has-cursor .cursor-dot { display: block; }
.has-cursor .cursor { display: flex; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--gold); }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold); border-color: var(--gold); }
.cursor .cursor-label { opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }

/* ---------- progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform 0.6s var(--ease-out), background-color 0.4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background-color: rgba(12, 11, 9, 0.78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line-ink); }
.header.is-hidden { transform: translateY(-100%); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.brand-chip { width: 50px; height: 50px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; overflow: hidden; transition: transform .6s var(--ease-out); }
.brand:hover .brand-chip { transform: rotate(-12deg) scale(1.05); }
.brand-chip img { width: 36px; height: auto; }
.brand-name { font-family: var(--f-display); font-size: 21px; letter-spacing: -0.02em; line-height: 1; }
.brand-name em { color: var(--gold); }
.brand-name small { display: block; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-on-ink); margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  position: relative; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--text-on-ink);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav > a::after, .nav-drop > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav > a:hover::after, .nav > a.is-active::after, .nav-drop:hover > button::after, .nav-drop:focus-within > button::after { transform: scaleX(1); transform-origin: left; }
.nav-drop { position: relative; }
.nav-drop svg { width: 10px; transition: transform .3s; }
.nav-drop:hover svg, .nav-drop:focus-within svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 600px;
  transform: translate(-50%, 12px); opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility .35s;
  background: var(--ink-2); border: 1px solid var(--line-ink); border-radius: 16px; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-drop:hover .mega, .nav-drop:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { padding: 14px 16px; border-radius: 10px; transition: background .25s; display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.mega a:hover { background: var(--ink-3); }
.mega a > i { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--gold); padding-top: 3px; }
.mega b { display: block; font-size: 14px; font-weight: 700; }
.mega span { font-size: 12.5px; color: var(--muted-on-ink); line-height: 1.45; display: block; margin-top: 2px; }
.header .btn { height: 46px; padding: 0 22px; font-size: 12px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-ink); position: relative; z-index: 2; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text-on-ink); transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--ink);
  padding: 110px var(--gutter) 36px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io), visibility 0s .8s; visibility: hidden;
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu-open .header { background-color: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mobile-menu nav a { display: block; font-family: var(--f-display); font-size: clamp(40px, 11vw, 64px); line-height: 1.18; letter-spacing: -0.03em; overflow: hidden; }
.mobile-menu nav a span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease-out); }
.menu-open .mobile-menu nav a span { transform: none; }
.mobile-menu nav a:nth-child(2) span { transition-delay: .06s; }
.mobile-menu nav a:nth-child(3) span { transition-delay: .12s; }
.mobile-menu nav a:nth-child(4) span { transition-delay: .18s; }
.mobile-menu nav a:nth-child(5) span { transition-delay: .24s; }
.mobile-menu nav a:nth-child(6) span { transition-delay: .30s; }
.mobile-menu nav a sup { font-family: var(--f-mono); font-size: 11px; color: var(--gold); letter-spacing: .1em; vertical-align: top; margin-left: 8px; }
.mobile-menu .mm-foot { font-size: 14px; color: var(--muted-on-ink); display: grid; gap: 6px; margin-top: 32px; }
.mobile-menu .mm-foot a { color: var(--text-on-ink); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--ink-2) url("../assets/poster.webp") center / cover no-repeat; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) contrast(1.08) brightness(.9); }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: rgba(12, 11, 9, 0.64); }
.grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-6%,2%)} 80%{transform:translate(5%,4%)} 100%{transform:translate(0,0)} }

.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-top: 150px; padding-bottom: 44px; align-items: end; }
.hero-copy { grid-column: 1 / span 8; }
.hero h1 { font-size: clamp(64px, 11.2vw, 190px); }
.hero h1 .amp { font-style: italic; color: var(--gold); font-weight: 300; }
.hero-sub { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.22; margin: 28px 0 0; color: var(--text-on-ink); max-width: 24ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-aside { grid-column: 10 / span 3; align-self: end; display: grid; gap: 14px; }
.stat-card { border: 1px solid var(--line-ink); border-radius: 16px; padding: 20px 22px; background: rgba(12,11,9,.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.stat-card .num { font-family: var(--f-display); font-size: 56px; line-height: 1; letter-spacing: -0.04em; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat-card .lbl { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-ink); margin-top: 10px; }
.hero-foot { border-top: 1px solid var(--line-ink); }
.hero-foot-row { display: flex; justify-content: space-between; align-items: center; height: 72px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-ink); gap: 20px; }
.rotator-wrap { display: flex; gap: 12px; align-items: center; }
.rotator { position: relative; height: 1.5em; overflow: hidden; min-width: 22ch; color: var(--text-on-ink); }
.rotator span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 34px; background: var(--line-ink); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--gold); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- marquee ---------- */
.marquee { background: var(--gold); color: var(--ink); overflow: hidden; padding: 20px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-track span { font-family: var(--f-display); font-size: clamp(30px, 4vw, 58px); letter-spacing: -0.02em; font-weight: 400; display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee-track span:nth-child(even) { font-style: italic; font-weight: 300; }
.marquee-track span::after { content: "✦"; font-size: .45em; font-style: normal; }

/* ---------- sections ---------- */
section { position: relative; }
.on-paper { background: var(--paper); color: var(--text-on-paper); }
.on-paper .eyebrow { color: var(--gold-deep); }
.pad { padding: clamp(96px, 13vw, 180px) 0; }

/* founder */
.founder-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.founder-media { grid-column: 1 / span 6; position: relative; }
.founder-frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--paper-2); }
.founder-frame img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 55% 50%; }
.badge-years {
  position: absolute; right: -28px; bottom: 48px; width: 168px; height: 168px; border-radius: 50%;
  background: var(--ink); color: var(--paper); display: grid; place-items: center; text-align: center;
}
.badge-years .ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge-years .ring text { font-family: var(--f-mono); font-size: 9.4px; letter-spacing: .32em; fill: var(--gold); text-transform: uppercase; }
.badge-years b { font-family: var(--f-display); font-weight: 400; font-size: 54px; line-height: 1; letter-spacing: -0.04em; display: block; }
.badge-years small { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-on-ink); margin-top: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
.founder-copy { grid-column: 8 / span 5; padding-top: 24px; }
.founder-copy .h-section { font-size: clamp(36px, 4.2vw, 64px); }
.reveal-text { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.7; margin-top: 32px; }
.reveal-text p { margin: 0 0 22px; }
.reveal-text strong { font-weight: 700; }
.js.motion .reveal-text .word { opacity: .16; }
.signature { margin-top: 40px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.signature .sig { font-family: var(--f-display); font-style: italic; font-size: 42px; font-weight: 300; line-height: 1; position: relative; padding-bottom: 12px; }
.signature svg { position: absolute; left: -4px; bottom: -6px; width: calc(100% + 16px); height: 18px; overflow: visible; }
.signature svg path { stroke: var(--gold-deep); stroke-width: 1.6; fill: none; stroke-linecap: round; }
.signature .role { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-paper); border-left: 1px solid var(--line-paper); padding-left: 22px; line-height: 1.7; }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.why-head { grid-column: 1 / span 5; position: sticky; top: 120px; align-self: start; }
.why-head .lede { margin-top: 26px; }
.why-list { grid-column: 7 / span 6; border-top: 1px solid var(--line-ink); }
.why-item { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 34px 0; border-bottom: 1px solid var(--line-ink); position: relative; }
.why-item::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.why-item:hover::before { transform: scaleX(1); }
.why-item .n { font-family: var(--f-mono); font-size: 12px; color: var(--gold); letter-spacing: .14em; padding-top: 12px; }
.why-item h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.02em; margin: 0; line-height: 1.15; transition: transform .5s var(--ease-out), color .4s; }
.why-item:hover h3 { transform: translateX(10px); color: var(--gold); }
.why-item p { margin: 10px 0 0; color: var(--muted-on-ink); max-width: 46ch; }

/* services: horizontal */
.services { background: var(--ink-2); overflow: hidden; }
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-top: clamp(96px, 12vw, 160px); padding-bottom: 56px; flex-wrap: wrap; }
.services-head .lede { margin: 0; }
.h-pin { padding-bottom: clamp(96px, 12vw, 160px); }
.h-track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; }
.svc {
  position: relative; width: min(440px, 82vw); min-height: 520px; flex: none;
  background: var(--ink); border: 1px solid var(--line-ink); border-radius: 20px; padding: 36px 34px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transition: border-color .4s; will-change: transform;
}
.svc:hover { border-color: rgba(200,164,90,.55); }
.svc .svc-n { font-family: var(--f-display); font-size: 120px; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(200,164,90,.6); letter-spacing: -0.05em; transition: color .5s; }
.svc:hover .svc-n { color: rgba(200,164,90,.18); }
.svc h3 { font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 14px; }
.svc p { color: var(--muted-on-ink); margin: 0 0 22px; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.svc .tags span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line-ink); border-radius: 999px; color: var(--text-on-ink); }
.svc .more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.svc .more svg { width: 16px; transition: transform .4s var(--ease-out); }
.svc:hover .more svg { transform: translateX(6px); }
.svc-icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-ink); display: grid; place-items: center; position: absolute; top: 34px; right: 34px; color: var(--gold); transition: background .4s, color .4s, transform .6s var(--ease-out); }
.svc:hover .svc-icon { background: var(--gold); color: var(--ink); transform: rotate(-45deg); }
.svc-icon svg { width: 20px; }
.svc.svc-cta { background: var(--gold); color: var(--ink); border-color: var(--gold); justify-content: flex-end; }
.svc.svc-cta h3 { font-size: 44px; }
.svc.svc-cta p { color: rgba(12,11,9,.7); }
.h-progress { margin: 48px var(--gutter) 0; height: 1px; background: var(--line-ink); position: relative; }
.h-progress i { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* approach */
.approach-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.approach-copy { grid-column: 1 / span 6; }
.approach-copy .lede { margin-top: 26px; }
.approach-visual { grid-column: 8 / span 5; position: relative; }
.approach-visual img { width: 100%; height: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.22)); }
.pill { position: absolute; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 12px 18px; font-size: 13px; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 40px rgba(0,0,0,.25); white-space: nowrap; }
.pill b { color: var(--gold); font-weight: 700; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.pill.p1 { top: 6%; left: -6%; } .pill.p2 { top: 36%; right: -6%; } .pill.p3 { bottom: 24%; left: -10%; } .pill.p4 { bottom: 2%; right: 6%; }
.steps { margin-top: 88px; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps-line { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-paper); }
.steps-line i { position: absolute; inset: 0; background: var(--gold-deep); transform: scaleX(0); transform-origin: left; }
.step { position: relative; }
.step .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-paper); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; position: relative; z-index: 1; transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease-out); }
.step.is-active .dot { background: var(--ink); color: var(--gold); border-color: var(--ink); transform: scale(1.1); }
.step small { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-top: 24px; }
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: 26px; letter-spacing: -0.02em; margin: 6px 0 8px; line-height: 1.15; }
.step p { margin: 0; font-size: 15px; color: var(--muted-on-paper); }

/* tools */
.tools { background: var(--ink); }
.tools-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.tools-top .lede { margin: 0; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--line-ink); border-radius: 999px; position: relative; margin-top: 56px; }
.tab { position: relative; z-index: 1; padding: 12px 22px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-ink); transition: color .4s; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab-glider { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--gold); transition: transform .55s var(--ease-out), width .55s var(--ease-out); }
.panel { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 40px; }
.panel[hidden] { display: none; }
.calc-form { grid-column: 1 / span 5; display: grid; gap: 30px; align-content: start; }
.calc-out { grid-column: 7 / span 6; background: var(--ink-2); border: 1px solid var(--line-ink); border-radius: 20px; padding: clamp(24px, 3vw, 36px); }
.field > label, .field > .label { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-ink); margin-bottom: 10px; }
.field .input-wrap { position: relative; }
.field .input-wrap > span { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-family: var(--f-display); font-size: 30px; color: var(--gold); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-ink); color: var(--text-on-ink);
  font-family: var(--f-display); font-size: 30px; padding: 10px 0 12px 28px; outline: none; border-radius: 0; transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field input[type="range"] { width: 100%; accent-color: var(--gold); margin-top: 16px; }
.field .hint { font-size: 12.5px; color: var(--muted-on-ink); margin-top: 8px; }
.seg { display: inline-flex; border: 1px solid var(--line-ink); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button { padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted-on-ink); transition: background .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--text-on-ink); color: var(--ink); }
.regime { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.regime-card { border: 1px solid var(--line-ink); border-radius: 14px; padding: 22px; position: relative; transition: border-color .4s, background-color .4s; }
.regime-card.is-best { border-color: var(--gold); background-color: var(--gold-soft); }
.regime-card .tag-best { position: absolute; top: -11px; left: 18px; background: var(--gold); color: var(--ink); font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease-out); }
.regime-card.is-best .tag-best { opacity: 1; transform: none; }
.regime-card h4 { margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-ink); font-weight: 500; }
.regime-card .amt { font-family: var(--f-display); font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.03em; margin-top: 8px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.regime-card .bar { height: 6px; border-radius: 6px; background: var(--line-ink); margin-top: 16px; overflow: hidden; }
.regime-card .bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: inherit; transition: width .9s var(--ease-out); }
.regime-card dl { margin: 16px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 13.5px; color: var(--muted-on-ink); }
.regime-card dt { margin: 0; }
.regime-card dd { margin: 0; color: var(--text-on-ink); text-align: right; font-variant-numeric: tabular-nums; }
.verdict { margin-top: 26px; font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -0.01em; }
.verdict b { color: var(--gold); font-weight: 400; font-style: italic; }
.disclaimer { margin-top: 18px; font-size: 12.5px; color: var(--muted-on-ink); line-height: 1.55; }
.calc-out .btn { margin-top: 24px; }
.gst-rows div { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-ink); font-variant-numeric: tabular-nums; gap: 16px; }
.gst-rows div span { color: var(--muted-on-ink); }
.gst-rows div:last-child { border-bottom: 0; }
.gst-rows .total b { font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 46px); font-weight: 400; color: var(--gold); letter-spacing: -0.03em; }
.custom-rate { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-ink); border-radius: 999px; padding: 0 14px; }
.field .custom-rate input { width: 46px; background: transparent; border: 0; color: var(--text-on-ink); font: 600 13px var(--f-text); padding: 9px 0; outline: none; }
.custom-rate:focus-within { border-color: var(--gold); }

/* clients */
.clients { padding: 88px 0; overflow: hidden; }
.clients-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.clients-head p { margin: 0; color: var(--muted-on-paper); font-size: 15px; max-width: 46ch; }
.logo-row { display: flex; width: max-content; will-change: transform; }
.logo-cell { width: 220px; height: 110px; margin-right: 20px; border: 1px solid var(--line-paper); border-radius: 14px; display: grid; place-items: center; background: #fff; flex: none; }
.logo-cell img { width: 160px; height: 64px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .4s, opacity .4s, transform .5s var(--ease-out); }
.logo-cell:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* insights */
.insights { border-top: 1px solid var(--line-paper); }
.insights-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.posts { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; margin-top: 56px; }
.post { grid-column: span 3; display: block; }
.post:first-child { grid-column: span 6; grid-row: span 2; }
.post-img { overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 11; background: var(--paper-2); }
.post:first-child .post-img { aspect-ratio: 16 / 11.5; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post:hover .post-img img { transform: scale(1.07); }
.post-meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-paper); margin-top: 18px; }
.post h3 { font-family: var(--f-display); font-weight: 400; font-size: 22px; line-height: 1.24; letter-spacing: -0.015em; margin: 8px 0 0; }
.post h3 span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.post:hover h3 span { background-size: 100% 1px; }
.post:first-child h3 { font-size: clamp(26px, 2.6vw, 38px); }
.post p { color: var(--muted-on-paper); font-size: 15px; margin: 12px 0 0; }

/* faq */
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.faq-head { grid-column: 1 / span 4; }
.faq-head .lede { margin-top: 24px; }
.faq-list { grid-column: 6 / span 7; border-top: 1px solid var(--line-paper); }
.faq-item { border-bottom: 1px solid var(--line-paper); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.015em; line-height: 1.25; color: var(--text-on-paper); }
.faq-q .pm { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line-paper); position: relative; transition: background .35s, border-color .35s, color .35s, transform .5s var(--ease-out); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease-out); }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .pm { background: var(--ink); color: var(--gold); border-color: var(--ink); transform: rotate(180deg); }
.faq-item.is-open .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 28px; color: var(--muted-on-paper); max-width: 60ch; }

/* contact */
.contact { background: var(--ink); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.contact-copy { grid-column: 1 / span 5; }
.contact-copy .h-section { font-size: clamp(44px, 6vw, 96px); }
.contact-list { margin-top: 48px; border-top: 1px solid var(--line-ink); }
.contact-list > a, .contact-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-ink); transition: color .3s, padding .5s var(--ease-out); }
.contact-list > a:hover { color: var(--gold); padding-left: 10px; }
.contact-list small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-ink); padding-top: 4px; }
.contact-form { grid-column: 7 / span 6; background: var(--ink-2); border: 1px solid var(--line-ink); border-radius: 24px; padding: clamp(26px, 3.4vw, 48px); display: grid; gap: 28px; align-content: start; }
.contact-form h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.02em; margin: 0; line-height: 1.15; }
.contact-form h3 em { color: var(--gold); }
.contact-form .field input, .contact-form .field textarea { font-family: var(--f-text); font-size: 18px; padding-left: 0; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-ink); font-size: 13.5px; transition: background .3s, color .3s, border-color .3s; }
.chips button:hover { border-color: var(--gold); }
.chips button[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.contact-form textarea { resize: vertical; min-height: 90px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.form-foot small { color: var(--muted-on-ink); font-size: 12.5px; max-width: 32ch; }
.form-error { color: #e9a27c; font-size: 13.5px; min-height: 1.2em; margin: -12px 0 0; }

/* footer */
.footer { background: var(--ink); border-top: 1px solid var(--line-ink); padding-top: 80px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-on-ink); font-weight: 500; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer ul a { transition: color .3s; }
.footer ul a:hover { color: var(--gold); }
.footer-about p { color: var(--muted-on-ink); font-size: 15px; max-width: 36ch; margin: 22px 0 0; }
.footer-logo { width: 150px; background: var(--paper); border-radius: 16px; padding: 14px; }
.footer-logo img { width: 100%; height: auto; }
.footer-big { font-family: var(--f-display); font-weight: 300; font-size: clamp(52px, 14.6vw, 236px); letter-spacing: -0.055em; line-height: .85; margin-top: 80px; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(200,164,90,.5); user-select: none; }
.footer-big em { font-style: italic; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid var(--line-ink); font-size: 13px; color: var(--muted-on-ink); margin-top: 24px; }

/* floating actions */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(0,0,0,.35); transition: transform .4s var(--ease-out); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; position: relative; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 80; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-ink); background: rgba(12,11,9,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease-out); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 16px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 160; transform: translate(-50%, 160%); background: var(--paper); color: var(--ink); padding: 14px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 20px 40px rgba(0,0,0,.35); transition: transform .6s var(--ease-out), opacity .4s, visibility 0s .6s; max-width: calc(100vw - 32px); text-align: center; opacity: 0; visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .6s var(--ease-out), opacity .4s, visibility 0s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header .btn { display: none; }
  .burger { display: block; }
  .hero-copy { grid-column: 1 / -1; }
  .hero-aside { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .founder-media { grid-column: 1 / -1; max-width: 640px; }
  .founder-copy { grid-column: 1 / -1; }
  .badge-years { right: 16px; }
  .why-head { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .why-list { grid-column: 1 / -1; }
  .approach-copy, .approach-visual { grid-column: 1 / -1; }
  .approach-visual { max-width: 560px; margin: 40px auto 0; width: 100%; }
  .calc-form, .calc-out { grid-column: 1 / -1; }
  .post { grid-column: span 6; }
  .post:first-child { grid-column: 1 / -1; grid-row: auto; }
  .faq-head, .faq-list { grid-column: 1 / -1; }
  .contact-copy, .contact-form { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-row { height: 72px; }
  .brand-name { font-size: 18px; }
  .brand-chip { width: 44px; height: 44px; }
  .brand-chip img { width: 32px; }
  .hero-grid { padding-top: 116px; gap: 16px; }
  .hero h1 { font-size: clamp(58px, 17vw, 96px); }
  .hero-aside { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-aside .stat-card:nth-child(3) { display: none; }
  .stat-card { padding: 16px; }
  .stat-card .num { font-size: 40px; }
  .hero-cta .btn { width: 100%; justify-content: space-between; }
  .hero-foot-row .scroll-cue { display: none; }
  .rotator { min-width: 0; flex: 1; }
  .badge-years { width: 128px; height: 128px; right: 10px; bottom: 20px; }
  .badge-years b { font-size: 40px; }
  .steps { grid-template-columns: 1fr; gap: 34px; margin-top: 64px; }
  .steps-line { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps-line i { transform: scaleY(0); transform-origin: top; }
  .step { padding-left: 70px; }
  .step .dot { position: absolute; left: 0; top: 0; }
  .step small { margin-top: 0; }
  .pill { font-size: 11.5px; padding: 9px 13px; }
  .pill.p1 { left: 0; } .pill.p3 { left: 0; } .pill.p2 { right: 0; }
  .regime { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 12px 8px; }
  .post, .post:first-child { grid-column: 1 / -1; }
  .contact-form .two { grid-template-columns: 1fr; }
  .contact-list > a, .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .svc { min-height: 460px; padding: 28px 24px; }
  .svc .svc-n { font-size: 92px; }
  .svc-icon { top: 26px; right: 24px; }
  .logo-cell { width: 170px; height: 90px; }
  .logo-cell img { width: 130px; }
  .why-item { grid-template-columns: 44px 1fr; gap: 12px; }
}

/* wide: pinned services panel fits exactly one viewport */
@media (min-width: 900px) {
  .services { height: 100vh; min-height: 640px; display: flex; flex-direction: column; }
  .services-head { padding-top: clamp(96px, 13vh, 130px); padding-bottom: clamp(24px, 4vh, 44px); }
  .services-head .h-section { font-size: clamp(38px, 4.6vw, 72px); }
  .h-pin { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: clamp(24px, 4vh, 48px); min-height: 0; }
  .svc { min-height: 0; height: clamp(380px, calc(100vh - 380px), 520px); }
  .h-progress { margin-top: clamp(20px, 3vh, 40px); }
}

/* narrow / touch: services become a native swipe rail */
@media (max-width: 899px) {
  .h-pin { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .h-pin::-webkit-scrollbar { display: none; }
  .svc { scroll-snap-align: center; }
  .h-progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}
