/* =========================================================
   Prime Accord Consultants — redesign
   Dark  = monochrome + silver gradients (default)
   Light = warm cream, sand & terracotta
   ========================================================= */

/* ---------- Theme tokens ---------- */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #09090a;
  --bg-2: #0f0f11;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f5f5f4;
  --muted: #a8a8ad;
  --dim: #78787e;

  --accent: #f2f2f2;
  --accent-ink: #0a0a0b;
  --accent-grad: linear-gradient(135deg, #ffffff 0%, #d9d9de 40%, #8e8e96 100%);
  --accent-grad-hover: linear-gradient(135deg, #ffffff 0%, #ececf0 50%, #b4b4bb 100%);
  --text-grad: linear-gradient(100deg, #ffffff 0%, #b9b9c0 45%, #ffffff 70%, #8a8a92 100%);
  --accent-soft: rgba(255, 255, 255, .07);
  --accent-line: rgba(255, 255, 255, .4);
  --accent-shadow: rgba(255, 255, 255, .25);

  --glow-1: rgba(255, 255, 255, .14);
  --glow-2: rgba(150, 150, 160, .12);
  --hero-tint: linear-gradient(180deg, rgba(9,9,10,.55) 0%, rgba(9,9,10,.82) 55%, #09090a 100%);
  --card-grad: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  --feature-grad: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,0) 70%);
  --ticker-bg: linear-gradient(90deg, #e9e9ec, #ffffff 30%, #a9a9b0 65%, #f0f0f2);
  --ticker-ink: #0a0a0b;

  --ring-1: #ffffff;
  --ring-2: #c4c4ca;
  --ring-3: #8f8f97;
  --ring-4: #5f5f66;

  --img-filter: grayscale(1) contrast(1.08) brightness(.82);
  --img-filter-hover: grayscale(.2) contrast(1.05) brightness(.95);
  --map-filter: grayscale(1) invert(.9) contrast(.88) brightness(.95);
  --overlay: linear-gradient(180deg, rgba(9,9,10,.1) 0%, rgba(9,9,10,.92) 100%);
  --nav-bg: rgba(9, 9, 10, .7);
  --error: #ff8a8a;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fbf6ee;
  --bg-2: #f4ecdf;
  --surface: #fffaf3;
  --surface-2: #f7eee1;
  --line: rgba(74, 42, 18, .11);
  --line-2: rgba(74, 42, 18, .2);
  --text: #2b1a0f;
  --muted: #65503f;
  --dim: #7d6553;

  --accent: #b8521a;
  --accent-ink: #fffaf3;
  --accent-grad: linear-gradient(135deg, #e48a3c 0%, #c45a1d 50%, #9b3a12 100%);
  --accent-grad-hover: linear-gradient(135deg, #eb9a50 0%, #cf6527 50%, #a8431a 100%);
  --text-grad: linear-gradient(100deg, #d0681f 0%, #a43c12 50%, #c9781f 100%);
  --accent-soft: rgba(196, 90, 29, .09);
  --accent-line: rgba(184, 82, 26, .45);
  --accent-shadow: rgba(196, 90, 29, .35);

  --glow-1: rgba(247, 160, 60, .32);
  --glow-2: rgba(214, 96, 52, .2);
  --hero-tint: linear-gradient(180deg, rgba(251,246,238,.62) 0%, rgba(251,246,238,.88) 55%, #fbf6ee 100%);
  --card-grad: linear-gradient(180deg, #fffdf8, #fbf3e7);
  --feature-grad: linear-gradient(160deg, rgba(228,138,60,.22), rgba(255,250,243,0) 70%);
  --ticker-bg: linear-gradient(90deg, #c45a1d, #e48a3c 40%, #b8521a 75%, #d9732a);
  --ticker-ink: #fffaf3;

  --ring-1: #d06a22;
  --ring-2: #b2461a;
  --ring-3: #c98a2b;
  --ring-4: #8a5a3a;

  --img-filter: sepia(.28) saturate(1.05) contrast(1.02);
  --img-filter-hover: sepia(.1) saturate(1.1);
  --map-filter: sepia(.35) saturate(.85) hue-rotate(-8deg);
  --overlay: linear-gradient(180deg, rgba(43,26,15,.1) 0%, rgba(43,26,15,.82) 100%);
  --nav-bg: rgba(251, 246, 238, .8);
  --error: #b42318;
}

:root {
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 72px;
}

/* Colour hand-off on theme change (fallback when View Transitions are unavailable) */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), fill .5s, stroke .5s, filter .6s var(--ease) !important;
}
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.ic { width: 18px; height: 18px; flex: none; }
.ic--lg { width: 24px; height: 24px; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--dim); }
.accent, .accent-word, .quote span, .why__sec {
  background: var(--text-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s linear infinite;
}
@keyframes sheen { to { background-position: -200% 0; } }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.display, .h2, .hero__title { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; }
.display { font-size: clamp(40px, 6.4vw, 88px); text-wrap: balance; }
.display--xl { font-size: clamp(48px, 8vw, 120px); }
.h2 { font-size: clamp(32px, 4.2vw, 56px); text-wrap: balance; }
.lede, .section__sub { color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px; position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 14px/1 var(--f-body); letter-spacing: .02em; cursor: pointer; white-space: nowrap;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 13px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent-grad); color: var(--accent-ink); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-grad-hover); opacity: 0; transition: opacity .3s var(--ease); }
.btn--primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover::after { left: 120%; }
.btn--primary:hover { box-shadow: 0 10px 34px -10px var(--accent-shadow); }
.btn--primary:active { transform: scale(.97); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--text); transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn--ghost:hover { color: var(--bg); border-color: var(--text); }
.btn--ghost:hover::before { transform: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, border-color .3s, transform .45s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: var(--nav-bg); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { background: #fff; border-radius: 10px; padding: 6px 8px; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.05); }
.brand__mark img { width: 44px; height: auto; }
.brand__text { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: 17px; line-height: 1; letter-spacing: .01em; }
.brand__text small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .22em; color: var(--muted); margin-top: 4px; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { font-size: 14px; color: var(--muted); padding: 10px 12px; border-radius: 999px; transition: color .2s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__cta { display: flex; gap: 8px; align-items: center; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; place-items: center; }
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 8px 16px 24px; background: var(--nav-bg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 24px; border-bottom: 1px solid var(--line); animation: menuIn .5s var(--ease-out) both; }
.mobile-menu a:nth-child(2) { animation-delay: .03s; } .mobile-menu a:nth-child(3) { animation-delay: .06s; } .mobile-menu a:nth-child(4) { animation-delay: .09s; }
.mobile-menu a:nth-child(5) { animation-delay: .12s; } .mobile-menu a:nth-child(6) { animation-delay: .15s; } .mobile-menu a:nth-child(7) { animation-delay: .18s; } .mobile-menu a:nth-child(8) { animation-delay: .21s; }
@keyframes menuIn { from { opacity: 0; transform: translateX(-16px); } }
.mobile-menu .btn { margin-top: 16px; }

/* Theme toggle */
.theme-toggle { position: relative; width: 64px; height: 36px; border-radius: 999px; cursor: pointer; flex: none; border: 1px solid var(--line-2); background: var(--surface); padding: 0; transition: border-color .3s, background-color .3s; }
.theme-toggle:hover { border-color: var(--accent-line); }
.theme-toggle::before { content: ""; position: absolute; inset: -5px -2px; }
.theme-toggle__knob { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-grad); color: var(--accent-ink); display: grid; place-items: center; transition: transform .5s cubic-bezier(.5, 1.6, .4, .8); box-shadow: 0 2px 10px -2px var(--accent-shadow); }
:root[data-theme="light"] .theme-toggle__knob { transform: translateX(28px); }
.theme-toggle .ic { width: 15px; height: 15px; position: absolute; transition: opacity .3s, transform .5s var(--ease); }
.ic--sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="light"] .ic--sun { opacity: 1; transform: none; }
:root[data-theme="light"] .ic--moon { opacity: 0; transform: rotate(90deg) scale(.5); }

/* ---------- Intro curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; pointer-events: none; }
.curtain__mark { background: #fff; border-radius: 16px; padding: 14px 18px; animation: markIn .7s var(--ease-out) both; }
.curtain__mark img { width: 96px; }
.is-loaded .curtain { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io) .35s; }
.is-loaded .curtain__mark { opacity: 0; transform: translateY(-20px); transition: opacity .4s, transform .5s var(--ease); }
@keyframes markIn { from { opacity: 0; transform: scale(.8); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(40px, 8vh, 96px)) 0 clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__photo { position: absolute; inset: -10% 0 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transform: scale(1.15); opacity: 0; transition: transform 2.6s var(--ease-out), opacity 1.6s var(--ease), filter .6s; }
.is-loaded .hero__photo img { transform: scale(1.02); opacity: .6; animation: kenburns 30s ease-in-out 2.6s infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero__tint { position: absolute; inset: 0; background: var(--hero-tint); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow--a { width: 620px; height: 620px; background: radial-gradient(circle, var(--glow-1), transparent 65%); top: -180px; right: -120px; animation: drift 18s ease-in-out infinite alternate; }
.glow--b { width: 480px; height: 480px; background: radial-gradient(circle, var(--glow-2), transparent 65%); bottom: -160px; left: -140px; animation: drift 22s ease-in-out infinite alternate-reverse; }
.gridlines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  opacity: .7;
}
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { min-width: 0; }
.hero__title { font-size: clamp(44px, 5.6vw, 92px); line-height: .9; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: left bottom; transition: transform 1.2s var(--ease-out); }
.is-loaded .hero__title .line > span { transform: none; transition-delay: .55s; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .65s; }
.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .75s; }
.hero__kicker { font-family: var(--f-display); font-stretch: 85%; font-weight: 500; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.2; margin-top: 20px; max-width: 26ch; }
.hero__kicker em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 70%, var(--accent-soft) 70%); }
.hero__lede { color: var(--muted); max-width: 60ch; margin-top: 20px; font-size: 16px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Payroll engine animation */
.engine { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1; justify-self: center; }
.engine__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.engine__chip {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap;
  background: var(--nav-bg); border: 1px solid var(--line-2); color: var(--text);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.45);
  animation: floaty 6s ease-in-out infinite;
}
.engine__chip .ic { width: 16px; height: 16px; color: var(--accent); }
.engine__chip b { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; color: var(--accent); }
.engine__chip--a { top: 6%; left: -2%; }
.engine__chip--b { bottom: 10%; right: -2%; animation-delay: -2s; }
.engine__chip--c { bottom: 2%; left: 6%; animation-delay: -4s; font-weight: 500; color: var(--muted); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* Rhythm card */
.rhythm { position: relative; border-radius: var(--r-lg); padding: 24px; background: var(--card-grad); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.rhythm::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--accent) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.rhythm__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.live { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.live i, .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-shadow); animation: pulse 2s infinite; display: inline-block; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.rings { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ring { position: relative; background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 12px 14px; text-align: center; transition: border-color .3s, transform .4s var(--ease); }
.ring:hover { border-color: var(--line-2); transform: translateY(-3px); }
.ring__dial { position: relative; max-width: 116px; margin: 0 auto; }
.ring svg { width: 100%; transform: rotate(-90deg); display: block; }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: var(--line); }
.ring .bar { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.8s var(--ease-out), stroke .5s; }
.ring--state .bar { stroke-dashoffset: 0; opacity: .7; }
.ring__val { position: absolute; inset: 0; display: grid; place-content: center; line-height: 1; }
.ring__val b { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 34px; color: var(--c); transition: color .5s; }
.ring__val small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.ring__label { margin-top: 10px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.ring__label span { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 2px; }
.rhythm__note { margin-top: 16px; font-size: 12px; line-height: 1.5; color: var(--dim); }
.value__rhythm { margin-top: clamp(48px, 6vw, 80px); }
.rhythm--wide { padding: clamp(20px, 3vw, 32px); }
.rhythm--wide .rings { grid-template-columns: repeat(4, 1fr); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: clamp(56px, 7vw, 104px); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat > span { color: var(--muted); font-size: 14px; max-width: 26ch; }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--ticker-bg); color: var(--ticker-ink); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg) scale(1.03); margin: 12px 0; }
.ticker__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker span { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 22px; padding: 0 28px; display: inline-flex; align-items: center; white-space: nowrap; }
.ticker span::after { content: "✦"; font-size: 14px; margin-left: 56px; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--tight { padding: clamp(64px, 8vw, 112px) 0; }
.section__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head .section__sub { justify-self: end; }

/* Value */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.checks { margin-top: 36px; border-top: 1px solid var(--line); }
.checks li { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(16px, 1.4vw, 19px); font-weight: 500; transition: padding .35s var(--ease); }
.checks li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.checks li:hover { padding-left: 10px; }
.checks li:hover::after { transform: scaleX(1); }
.checks .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.law { position: relative; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); overflow: hidden; background: radial-gradient(120% 90% at 100% 0%, var(--glow-1), transparent 55%), var(--card-grad); border: 1px solid var(--line-2); transition: transform .5s var(--ease); }
.law::after { content: "§"; position: absolute; right: -10px; bottom: -70px; font-family: var(--f-display); font-weight: 900; font-size: 320px; line-height: 1; color: var(--line); pointer-events: none; }
.law__tag { display: flex; align-items: center; gap: 10px; color: var(--accent); }
.law__big { font-family: var(--f-display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 5vw, 72px); line-height: .92; margin: 28px 0 24px; }
.law__big span { color: var(--muted); }
.law p:last-child { color: var(--muted); max-width: 52ch; position: relative; z-index: 1; }

/* ---------- Image reveal (clip wipe) + parallax ---------- */
.img-reveal { position: relative; overflow: hidden; }
.js .img-reveal { clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.4s var(--ease-io); }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js .img-reveal img { transform: scale(1.25); transition: transform 1.8s var(--ease-out), filter .6s var(--ease); }
.js .img-reveal.is-in img { transform: scale(1.06); }
.parallax { height: 100%; will-change: transform; }
.parallax img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.about__media { border-radius: var(--r-lg); aspect-ratio: 4 / 5; position: sticky; top: calc(var(--nav-h) + 24px); }
.about__media .parallax { position: absolute; inset: -8% 0; height: auto; }
.about__media:hover img { filter: var(--img-filter-hover); }
.about__badge { position: absolute; left: 20px; bottom: 20px; padding: 16px 20px; border-radius: var(--r); background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.about__badge b { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: 40px; line-height: 1; }
.about__badge span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about__text p { color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); }
.about__text p + p { margin-top: 20px; }
.about__text p:first-child { color: var(--text); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }
.facts { margin-top: 40px; }
.facts li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 15px; transition: padding .35s var(--ease); }
.facts li:hover { padding-left: 8px; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts .mono { color: var(--accent); padding-top: 3px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc { position: relative; border-radius: var(--r-lg); padding: 0 0 clamp(28px, 3vw, 36px); background: var(--card-grad); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 14px; transition: border-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc > :not(.svc__media) { margin-inline: clamp(24px, 3vw, 36px); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 55%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.svc:hover { border-color: var(--accent-line); transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.svc:hover::before { opacity: 1; }
.svc__media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--surface) 100%); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transform: scale(1.04); transition: transform 1.2s var(--ease-out), filter .6s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.12); filter: var(--img-filter-hover); }
.svc--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr; align-content: start; column-gap: 0; padding-bottom: 0; }
.svc--wide .svc__media { grid-column: 1; grid-row: 1 / span 5; aspect-ratio: auto; min-height: 340px; height: 100%; }
.svc--wide > :not(.svc__media) { grid-column: 2; }
.svc--wide .svc__media::after { background: linear-gradient(90deg, transparent 50%, var(--surface) 100%); }
.svc--wide .svc__num { margin-top: clamp(28px, 3vw, 36px); }
.svc--wide .tags { margin-bottom: clamp(28px, 3vw, 36px); }
.svc__num { position: relative; z-index: 1; font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: 64px; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-2); margin-top: -40px; transition: -webkit-text-stroke-color .4s, transform .5s var(--ease); }
.svc:hover .svc__num { -webkit-text-stroke-color: var(--accent); transform: translateX(6px); }
.svc h3 { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; }
.svc p { color: var(--muted); max-width: 64ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags li { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; transition: border-color .3s, color .3s; }
.svc:hover .tags li { border-color: var(--accent-line); color: var(--text); }
.svc:hover .tags li:nth-child(2) { transition-delay: .04s; } .svc:hover .tags li:nth-child(3) { transition-delay: .08s; } .svc:hover .tags li:nth-child(4) { transition-delay: .12s; } .svc:hover .tags li:nth-child(5) { transition-delay: .16s; }

/* Process */
.stages { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 40px; perspective: 1200px; }
.stages__rail { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); border-radius: 2px; }
.stages__rail i { position: absolute; inset: 0; background: var(--accent-grad); transform-origin: left; transform: scaleX(var(--p)); border-radius: 2px; box-shadow: 0 0 16px var(--accent-shadow); }
.stage { position: relative; padding: 28px 24px; border-radius: var(--r); background: var(--card-grad); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.stage:hover { border-color: var(--accent-line); }
.js .stage.reveal { transform: rotateX(-35deg) translateY(40px); transform-origin: top center; }
.js .stage.reveal.is-in { transform: none; }
.js .stage.reveal.is-in:hover { transform: translateY(-4px); }
.stage::before { content: ""; position: absolute; top: -45px; left: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--dim); transition: background-color .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.stage.is-lit::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); transform: scale(1.2); }
.stage .mono { color: var(--accent); }
.stage h3 { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 3vw, 44px); line-height: 1; margin: 16px 0 12px; }
.stage p { color: var(--muted); font-size: 15px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; gap: 24px; }
.person { border-radius: var(--r-lg); background: var(--card-grad); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: border-color .4s, transform .5s var(--ease); }
.person:hover { border-color: var(--line-2); }
.js .person.reveal.is-in:hover { transform: translateY(-6px); }
.person__photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); position: relative; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .7s var(--ease), transform 1s var(--ease); }
.person:hover .person__photo img { filter: grayscale(0); transform: scale(1.05); }
.person__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--surface)); }
.person__photo--initials { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--glow-1), transparent 60%), var(--surface-2); }
.person__photo--initials span { font-family: var(--f-display); font-stretch: 70%; font-weight: 900; font-size: 140px; color: transparent; -webkit-text-stroke: 1.5px var(--accent); letter-spacing: -.02em; transition: transform .8s var(--ease); }
.person:hover .person__photo--initials span { transform: scale(1.08) rotate(-3deg); }
.person__body { padding: 8px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.person__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.person h3 { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; }
.person h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.person h3 a:hover { background-size: 100% 1px; }
.role { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.creds { font-size: 13px; font-weight: 600; color: var(--text); }
.award { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-line); border-radius: 999px; padding: 6px 10px; align-self: flex-start; }
.person__body > p:last-child { color: var(--muted); font-size: 14px; }
.icon-btn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: color .25s, border-color .25s, background-color .25s, transform .4s var(--ease); }
.icon-btn:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); transform: rotate(-8deg) scale(1.06); }
.quote { margin: clamp(56px, 8vw, 112px) 0 0; text-align: center; }
.quote p { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 8vw, 128px); line-height: .9; letter-spacing: -.01em; }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sector { background: var(--bg-2); padding: 28px 24px 32px; min-height: 260px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; isolation: isolate; }
.sector__img { position: absolute; inset: 0; z-index: -1; opacity: .12; transition: opacity .6s var(--ease); }
.sector__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transform: scale(1.15); transition: transform 1.2s var(--ease-out); }
.sector__img::after { content: ""; position: absolute; inset: 0; background: var(--overlay); opacity: 0; transition: opacity .6s; }
.sector:hover .sector__img { opacity: 1; }
.sector:hover .sector__img img { transform: scale(1.02); }
.sector:hover .sector__img::after { opacity: 1; }
.sector:hover h3, .sector:hover p, .sector:hover .mono { color: #fff; }
.sector h3, .sector p, .sector .mono { transition: color .4s, transform .5s var(--ease); }
.sector:hover h3 { transform: translateY(-4px); }
.sector h3 { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1.05; margin-top: auto; }
.sector p { color: var(--muted); font-size: 14px; }
.sector .mono { color: var(--dim); }
.sector--feature { background: var(--feature-grad), var(--bg-2); }
.sector--feature .sector__img { opacity: .3; }
.sector--feature h3 { color: var(--accent); }
.badge { position: absolute; top: 24px; right: 20px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; background: var(--accent-grad); color: var(--accent-ink); padding: 5px 9px; border-radius: 999px; font-weight: 500; }

/* Clients */
.clients__head { display: flex; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.clients__head .eyebrow { width: 100%; margin-bottom: 0; }
.clients__head .h2 { flex: 1; }
.marquee { overflow: hidden; padding-block: 8px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee li > * { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 260px; height: 120px; padding: 0 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card-grad); transition: border-color .3s, transform .4s var(--ease); }
.marquee a:hover { border-color: var(--accent); transform: translateY(-4px); }
.marquee b { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; }
.marquee small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.why__item { padding: 28px 24px 32px; border-top: 2px solid var(--line-2); position: relative; transition: background-color .4s; border-radius: 0 0 var(--r) var(--r); }
.why__item:hover { background: var(--accent-soft); }
.why__item::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--accent-grad); transition: width 1s var(--ease-out); }
.why__item.is-in::before { width: 100%; }
.why__sec { display: inline-block; font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: 48px; line-height: 1; transition: transform .5s var(--ease); }
.why__item:hover .why__sec { transform: translateX(6px); }
.why__item h3 { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1.05; margin: 20px 0 12px; }
.why__item p { color: var(--muted); font-size: 15px; }

/* Certifications */
.certs { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; align-items: start; }
.cert-group { border-radius: var(--r-lg); background: var(--card-grad); border: 1px solid var(--line); padding: 8px 0; }
.cert-group__head { padding: 20px 24px 16px; display: flex; flex-direction: column; gap: 6px; }
.cert-group__head h3 { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: 22px; }
.cert-list li { display: grid; grid-template-columns: 22px 1fr auto; grid-template-areas: "ic name code" "ic name date"; column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px 24px; border-top: 1px solid var(--line); transition: background-color .25s, padding .35s var(--ease); }
.cert-list li:hover { background: var(--accent-soft); padding-left: 30px; }
.js .cert-group.reveal li { opacity: 0; transform: translateX(-16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), background-color .25s, padding .35s var(--ease); }
.js .cert-group.reveal.is-in li { opacity: 1; transform: none; }
.cert-group.is-in li:nth-child(2) { transition-delay: .06s; } .cert-group.is-in li:nth-child(3) { transition-delay: .12s; } .cert-group.is-in li:nth-child(4) { transition-delay: .18s; }
.cert-group.is-in li:nth-child(5) { transition-delay: .24s; } .cert-group.is-in li:nth-child(6) { transition-delay: .3s; } .cert-group.is-in li:nth-child(7) { transition-delay: .36s; }
.cert-group.is-in li:hover { transition-delay: 0s; }
.cert-list .ic { grid-area: ic; color: var(--accent); width: 20px; height: 20px; }
.cert-list div { grid-area: name; display: flex; flex-direction: column; }
.cert-list b { font-weight: 600; font-size: 15px; }
.cert-list div span { color: var(--muted); font-size: 13px; }
.cert-list code { grid-area: code; font-family: var(--f-mono); font-size: 12px; color: var(--text); text-align: right; }
.cert-list time { grid-area: date; font-family: var(--f-mono); font-size: 11px; color: var(--dim); text-align: right; }
.fine { margin-top: 20px; font-size: 13px; color: var(--dim); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-intro .section__sub { margin-top: 20px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; line-height: 1.4; transition: color .2s, padding .35s var(--ease); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); padding-left: 8px; }
.faq summary .ic { width: 36px; height: 36px; padding: 9px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .45s var(--ease), background-color .35s, color .35s, border-color .35s; }
.faq details[open] summary .ic { transform: rotate(135deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--muted); padding: 0 56px 28px 0; max-width: 70ch; }

/* Contact */
.contact { overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow--c { width: 800px; height: 800px; left: 50%; top: 40%; transform: translate(-50%, -50%); background: radial-gradient(circle, var(--glow-1), transparent 60%); }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .lede { margin-top: 28px; }
.contact__info { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.contact__info li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15px; max-width: 52ch; }
.contact__info .ic { color: var(--accent); margin-top: 3px; }
.contact__info a { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 32px); color: var(--text); line-height: 1; padding: 2px 4px 4px; margin-left: -4px; background: var(--accent-grad) 0 100% / 100% 2px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.contact__info a:hover { background-size: 100% 100%; color: var(--accent-ink); }
.form { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); background: var(--card-grad); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 40px 80px -50px rgba(0,0,0,.5); }
.hp { position: absolute; left: -9999px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.field:focus-within label { color: var(--accent); }
.field input, .field textarea { width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--text); background: var(--accent-soft); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; min-height: 52px; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.has-error input { border-color: var(--error); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.err { color: var(--error); font-size: 13px; }
.form__status { font-size: 14px; color: var(--accent); min-height: 1em; }
.form__status a { text-decoration: underline; }

/* ---------- Location ---------- */
.location { padding-top: 0; }
.location__banner { position: relative; height: clamp(320px, 46vw, 560px); }
.js .location__banner.img-reveal { clip-path: inset(0 6% 0 6% round var(--r-lg)); }
.js .location__banner.img-reveal.is-in { clip-path: inset(0 0 0 0 round 0); }
.location__banner .parallax { position: absolute; inset: -12% 0; height: auto; }
.location__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, var(--bg) 100%), linear-gradient(90deg, var(--bg) 0%, transparent 65%); pointer-events: none; }
.location__banner-copy { position: absolute; left: 0; right: 0; bottom: clamp(72px, 9vw, 120px); z-index: 1; }
.loc-card { position: relative; z-index: 2; margin-top: clamp(-80px, -5vw, -40px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--card-grad); box-shadow: 0 50px 100px -50px rgba(0,0,0,.6); }
.loc-info { padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.loc-info__head { display: flex; gap: 16px; align-items: center; }
.loc-pin { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-grad); color: var(--accent-ink); flex: none; box-shadow: 0 10px 30px -10px var(--accent-shadow); animation: bob 3s ease-in-out infinite; }
.loc-pin .ic { width: 24px; height: 24px; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.loc-info__head h3 { font-family: var(--f-display); font-stretch: 78%; font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; margin-top: 4px; }
.loc-address { color: var(--muted); font-size: 16px; line-height: 1.6; padding: 18px 20px; border-radius: var(--r); border: 1px dashed var(--line-2); background: var(--accent-soft); }
.loc-facts li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.loc-facts li:last-child { border-bottom: 1px solid var(--line); }
.loc-facts .ic { color: var(--accent); margin-top: 3px; }
.loc-facts span { display: flex; flex-direction: column; color: var(--muted); font-size: 13px; }
.loc-facts b { color: var(--text); font-size: 15px; font-weight: 600; }
.loc-facts a:hover { color: var(--accent); }
.loc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.loc-map { position: relative; min-height: 540px; background: var(--surface-2); overflow: hidden; }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: var(--map-filter); transition: filter .6s var(--ease); }
.loc-map:hover iframe { filter: none; }
.loc-map__chip, .loc-map__open { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); color: var(--text); }
.loc-map__chip { top: 16px; left: 16px; pointer-events: none; }
.loc-map__open { right: 16px; top: 16px; min-height: 44px; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.loc-map__open:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-top: 64px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand p { color: var(--muted); margin-top: 16px; max-width: 36ch; font-size: 14px; }
.footer__nav { display: grid; grid-template-columns: repeat(3, auto); gap: 4px 48px; }
.footer__nav a { color: var(--muted); font-size: 14px; padding: 8px 0; transition: color .2s, transform .3s var(--ease); display: inline-block; }
.footer__nav a:hover { color: var(--accent); transform: translateX(4px); }
.footer__legal { border-top: 1px solid var(--line); padding-block: 24px 32px; margin-top: 48px; }
.footer__legal p { color: var(--dim); font-size: 12px; max-width: 110ch; }

/* Scroll progress + back to top */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--accent-grad); transform-origin: left; transform: scaleX(0); z-index: 60; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--nav-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--text); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .4s, transform .4s var(--ease), background-color .3s, color .3s; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: var(--accent-ink); }
.to-top .ic { transform: rotate(-90deg); }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .reveal.is-in:hover { transition-delay: 0s; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
.js .split-words:not(.is-in) .w > span { transform: translateY(115%) rotate(6deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: grid; }
}
@media (max-width: 1024px) {
  .hero__grid, .split, .about, .contact__grid, .faq-wrap, .certs, .loc-card { grid-template-columns: 1fr; }
  .faq-intro, .about__media { position: relative; top: 0; }
  .about__media { aspect-ratio: 16 / 10; }
  .section__head { grid-template-columns: 1fr; }
  .section__head .section__sub { justify-self: start; }
  .stages { grid-template-columns: repeat(2, 1fr); padding-top: 0; }
  .stages__rail, .stage::before { display: none; }
  .team { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .sector__img { opacity: .22; }
  .why { grid-template-columns: 1fr 1fr; }
  .engine { max-width: 520px; }
  .rhythm--wide .rings { grid-template-columns: repeat(2, 1fr); }
  .loc-map { min-height: 400px; }
  .footer__nav { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 720px) {
  .nav__cta .btn { display: none; }
  .nav__inner { gap: 12px; }
  .engine__chip { font-size: 11px; padding: 8px 11px; }
  .engine__chip--a { left: 0; }
  .engine__chip--b { right: 0; }
  .engine__chip--c { display: none; }
  .brand { gap: 8px; min-width: 0; }
  .brand__mark img { width: 36px; }
  .brand__text { font-size: 15px; }
  .brand__text small { letter-spacing: .14em; }
  .hero__title { font-size: clamp(42px, 13vw, 72px); }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .stat b { font-size: 64px; }
  .services, .stages, .team, .why { grid-template-columns: 1fr; }
  .team { max-width: 460px; margin-inline: auto; }
  .svc--wide { display: flex; padding-bottom: clamp(28px, 3vw, 36px); }
  .svc--wide .svc__media { min-height: 0; aspect-ratio: 16 / 8; height: auto; }
  .svc--wide .svc__media::after { background: linear-gradient(180deg, transparent 40%, var(--surface) 100%); }
  .svc--wide .svc__num { margin-top: -40px; }
  .svc--wide .tags { margin-bottom: 0; }
  .sectors { grid-template-columns: 1fr; }
  .sector { min-height: 0; }
  .sector h3 { margin-top: 24px; }
  .cert-list li { grid-template-columns: 22px 1fr; grid-template-areas: "ic name" "ic code" "ic date"; }
  .cert-list code, .cert-list time { text-align: left; }
  .faq__a p { padding-right: 0; }
  .hero__actions .btn, .loc-actions .btn { width: 100%; }
  .footer__nav { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .marquee li > * { min-width: 220px; }
  .loc-map { min-height: 340px; }
  .to-top { right: 16px; bottom: 16px; }
}
@media (max-width: 380px) {
  .rings { gap: 10px; }
  .ring__val b { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .img-reveal, .js .stage.reveal, .js .cert-group.reveal li { opacity: 1; transform: none; filter: none; clip-path: none; }
  .js .split-words:not(.is-in) .w > span { transform: none; }
  .hero__title .line > span { transform: none; }
  .ticker__track, .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
  .curtain { display: none; }
}
