/* =============================================================
   GENWORQ — style.css
   Token-driven, mobile-first. No framework reset. No !important.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Professional palette — deep charcoal + refined copper */
  --bg: #0B0C0E;
  --bg-elev: #15171C;
  --fg: #F7F7F5;
  --muted: #8E929A;
  --brand: #E85D04;
  --brand-glow: #F4A261;
  --line: rgba(255, 255, 255, 0.07);
  --paper: #FAFAF9;
  --paper-2: #F0F0EE;
  --ink: #0B0C0E;
  --brand-text: var(--brand);
  --card: #15171C;
  --card-shadow: none;
  --w-ghost: #6B6F78;

  /* Editorial serif + crisp geometric sans */
  --font-display: "Fraunces", "Fraunces Fallback", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* 1.333 modular scale */
  --step--1: 0.75rem;
  --step-0: 1rem;
  --step-1: 1.333rem;
  --step-2: 1.777rem;
  --step-3: 2.369rem;
  --step-4: 3.157rem;
  --step-5: 4.209rem;
  --display: clamp(2.7rem, 12vw, 4.6rem);        /* mobile H1 */

  --ease: cubic-bezier(0.6, 0.05, 0.15, 0.95);   /* smoothOut */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --nav-h: 4.5rem;
  --grain-opacity: 0.02;
  --vh: 100vh;
}

@supports (height: 100svh) {
  :root { --vh: 100svh; }
}

@media (min-width: 769px) {
  :root {
    --display: clamp(2.6rem, 4.3vw, 4.6rem);     /* compact: the copy sits in the left third */
    --grain-opacity: 0.04;
    --nav-h: 5.5rem;
  }
}

/* Metric-matched local fallbacks: hold layout while Google Fonts load (no CLS on swap). */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 103%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
h1, h2, h3 { font-weight: 400; }
em { font-style: normal; }

html {
  background: var(--paper);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 100%;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto;
}
html.native-scroll { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
body {
  background: var(--paper);
  min-height: 100vh;
  overflow-x: clip;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

::selection { background: var(--brand); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--brand-glow);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 300;
  padding: 0.6rem 1rem;
  background: var(--brand);
  color: var(--bg);
  font-weight: 600;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 240ms var(--ease);
}
.skip:focus { transform: translateY(0); }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  z-index: 100;
  pointer-events: none;
  background: url("assets/grain.png") repeat;
  background-size: 256px 256px;
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
  animation: grain 8s steps(6) infinite;
  will-change: transform;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  16%  { transform: translate(-6%, -10%); }
  33%  { transform: translate(4%, 6%); }
  50%  { transform: translate(-9%, 2%); }
  66%  { transform: translate(7%, -8%); }
  83%  { transform: translate(-3%, 9%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor [data-ticker] { cursor: none; }
.cursor__dot {
  position: absolute; top: 0; left: 0;
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--brand);
}
.cursor__ring {
  position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 1px solid var(--brand-glow);
  background: rgba(232, 93, 4, 0.10);
  opacity: 0;
  transform: scale(0.4);
}

/* ---------- Surface bands: each section re-scopes the tokens it paints with ---------- */
.band { position: relative; z-index: 1; background: var(--bg); color: var(--fg); }
.band--light {
  --bg: var(--paper); --bg-elev: var(--paper-2); --fg: var(--ink);
  --muted: #5C6068; --line: rgba(11, 12, 14, 0.09);
  --brand-text: #C2410C; --card: #FFFFFF; --w-ghost: #C4C6CC;
  --card-shadow: 0 1px 2px rgba(11, 12, 14, 0.04), 0 16px 40px rgba(11, 12, 14, 0.06);
}
.band--grey {
  --bg: var(--paper-2); --bg-elev: #FFFFFF; --fg: var(--ink);
  --muted: #5C6068; --line: rgba(11, 12, 14, 0.09);
  --brand-text: #C2410C; --card: #FFFFFF; --w-ghost: #C4C6CC;
  --card-shadow: 0 1px 2px rgba(11, 12, 14, 0.04), 0 16px 40px rgba(11, 12, 14, 0.06);
}
.band--dark {
  --bg: #0B0C0E; --bg-elev: #15171C; --fg: #F7F7F5;
  --muted: #8E929A; --line: rgba(255, 255, 255, 0.07);
  --brand-text: var(--brand); --card: #15171C; --card-shadow: none; --w-ghost: #6B6F78;
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
  flex: none;
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
  font-optical-sizing: auto;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 240ms var(--ease), background-color 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.99); }
.btn--primary { background: var(--brand); color: #FFFFFF; }
.btn--primary:hover { background: var(--brand-glow); color: var(--ink); }
.btn--ghost { color: var(--fg); border: 1px solid rgba(255, 255, 255, 0.28); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--sm { padding: 0.75em 1.25em; font-size: 0.85rem; }
.btn--giant {
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  padding: 1.15em 2.4em;
  box-shadow: 0 0 0 0 rgba(232, 93, 4, 0.35), 0 0 90px rgba(232, 93, 4, 0.28);
}
.btn--giant:hover { box-shadow: 0 0 0 6px rgba(232, 93, 4, 0.14), 0 0 120px rgba(232, 93, 4, 0.4); }
.btn--ink { color: var(--fg); border-color: rgba(11, 12, 14, 0.25); }
.btn--ink:hover { border-color: var(--fg); }
.btn--dark { background: var(--bg); color: var(--fg); }
.btn--dark:hover { background: #1c1c1c; }
.btn__arrow { display: inline-block; transition: transform 240ms var(--ease); }
.btn:hover .btn__arrow { transform: translateX(0.3em); }
.btn__short { display: inline; }
.btn__full { display: none; }
@media (min-width: 480px) {
  .btn__short { display: none; }
  .btn__full { display: inline; }
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  color: #FFFFFF;
  border-bottom: 1px solid transparent;
  transition: background-color 400ms var(--ease), border-color 400ms var(--ease), color 400ms var(--ease), backdrop-filter 400ms var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border-color: rgba(11, 12, 14, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  line-height: 1;
}
.brand__mark { width: 28px; height: 28px; color: currentColor; flex: none; }
.brand__word { transform: translateY(0.5px); }
.nav__brand { color: inherit; }
.nav__links { display: none; }
.nav__link {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: inherit;
  opacity: 0.78;
  transition: opacity 240ms var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 769px) {
  .nav__links { display: flex; gap: 2.75rem; }
}

/* ---------- HERO ---------- */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: var(--vh);
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--bg);
}
.hero__media {
  position: absolute;
  inset: 0;
  background: var(--poster) center / cover no-repeat var(--bg);
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 12, 14, 0.5) 0%, rgba(11, 12, 14, 0.08) 35%, rgba(11, 12, 14, 0.2) 60%, rgba(11, 12, 14, 0.88) 100%),
    linear-gradient(90deg, rgba(11, 12, 14, 0.55) 0%, rgba(11, 12, 14, 0.1) 55%, rgba(11, 12, 14, 0) 100%);
}
.hero__haze {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 55% at 28% 60%, rgba(232, 93, 4, 0.42), transparent 70%),
    radial-gradient(30% 40% at 72% 30%, rgba(244, 162, 97, 0.16), transparent 70%);
  mix-blend-mode: screen;
  filter: blur(40px);
  opacity: 0.55;
  animation: haze 16s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes haze {
  from { transform: translate3d(-2%, 1%, 0) scale(1); }
  to   { transform: translate3d(2%, -2%, 0) scale(1.06); }
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) clamp(3.5rem, 9vh, 6rem);
}
.hero__inner { max-width: 31rem; }
.hero__eyebrow { margin-bottom: 1.1rem; color: rgba(255, 255, 255, 0.72); }
.hero__title {
  font-size: var(--display);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.hero__line { display: block; }
.hero__line--sans {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.045em;
}
.hero__line--serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-optical-sizing: auto;
}
.word { display: inline-block; will-change: transform, opacity; }
.word--accent {
  font-style: italic;
  font-weight: 300;
  color: var(--brand);
  padding-right: 0.06em;
}
.hero__sub {
  margin-top: 1rem;
  max-width: 38ch;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.hero__actions .btn { font-size: 0.95rem; padding: 0.85em 1.5em; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 1rem clamp(1.25rem, 2.4vw, 2.25rem);
  margin-top: clamp(1.6rem, 3.5vh, 2.5rem);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hstat { display: flex; flex-direction: column; gap: 0.3rem; }
.hstat__num {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96;
  font-optical-sizing: auto;
  font-size: clamp(1.4rem, 1.9vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hstat__unit { color: var(--brand); font-style: italic; font-weight: 300; font-size: 0.6em; margin-left: 0.06em; }
.hstat__unit--pre { margin-left: 0; margin-right: 0.04em; }
.hstat__unit--word { font-style: normal; font-family: var(--font-body); font-size: 0.42em; margin-left: 0.3em; color: var(--brand-glow); }
.hstat__label { font-size: 0.68rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.62); }
@media (max-width: 480px) {
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 1rem 0.75rem; }
  .hstat__label { font-size: 0.66rem; }
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(-50%);
  color: var(--muted);
}
.scroll-cue__line {
  position: relative;
  display: block;
  width: 1px; height: 64px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.scroll-cue__dot {
  position: absolute;
  top: 0; left: -1px;
  width: 3px; height: 14px;
  border-radius: 2px;
  background: var(--brand);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-16px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(64px); opacity: 0; }
}
.scroll-cue__label { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; }
@media (min-width: 769px) {
  .scroll-cue { display: flex; bottom: 2rem; }
  .hero { align-items: center; }
  .hero__content { padding-top: var(--nav-h); padding-bottom: var(--nav-h); }
}

/* ---------- MARQUEE RIBBON (slides over the sticky hero) ---------- */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- MISSION ---------- */
/* Sticky "pin": the section provides the scroll distance, the inner stage sticks.
   ScrollTrigger scrubs across the section — no pin-spacer, no layout thrash. */
html.js:not(.reduced) .mission { height: calc(var(--vh) * 2.5); }
html.js:not(.reduced) .mission__pin { position: sticky; top: 0; height: var(--vh); }
.mission__pin {
  min-height: var(--vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  padding: var(--nav-h) var(--gutter);
}
.mission__text {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 5.6vw, 6.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 24ch;
}
.w { display: inline-block; position: relative; }
html.js:not(.reduced) .w { color: var(--w-ghost); transform: translateY(0.25em); }
.w--em { font-style: italic; }
.w--dash { color: var(--muted); }
.w--scale { transform-origin: left bottom; }
.strike {
  position: absolute;
  left: -0.04em; right: -0.04em;
  top: 54%;
  height: 0.07em;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}
html:not(.js) .strike, html.reduced .strike { transform: scaleX(1); }
html:not(.js) .w--scale, html.reduced .w--scale { color: var(--brand-text); }

/* ---------- PILLARS ---------- */
.pillars { border-top: 1px solid var(--line); }
.pillars__pin {
  padding: clamp(3rem, 8vh, 5rem) var(--gutter) clamp(2rem, 6vh, 4rem);
}
.pillars__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.pillars__progress { display: none; align-items: center; gap: 1rem; }
.pillars__count {
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pillars__bar { display: block; width: 8rem; height: 1px; background: var(--line); overflow: hidden; }
.pillars__bar i { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.pillar {
  display: grid;
  gap: 1.75rem;
  padding: clamp(2.5rem, 6vh, 4rem) 0;
  border-bottom: 1px solid var(--line);
}
.pillar__num {
  display: block;
  margin-bottom: 1rem;
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-text);
}
.pillar__title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-optical-sizing: auto;
  font-size: clamp(2.6rem, 7.2vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 9ch;
}

.pillar__right { display: flex; flex-direction: column; gap: 1.5rem; max-width: 40rem; }
.pillar__desc {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--fg);
  opacity: 0.85;
  max-width: 36ch;
}
.pillar__caps { border-top: 1px solid var(--line); counter-reset: cap; }
.pillar__caps li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-0);
  color: var(--muted);
  counter-increment: cap;
}
.pillar__caps li::before {
  content: counter(cap, decimal-leading-zero);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--brand-text);
  flex: none;
}

/* animated SVG glyphs */
.glyph {
  width: 56px; height: 56px;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.glyph__ring { transform-origin: 32px 32px; opacity: 0.35; animation: pulse 2.8s var(--ease) infinite; }
.glyph__ring:nth-child(3) { animation-delay: 0.45s; }
.glyph__ring:nth-child(4) { animation-delay: 0.9s; }
@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.15); opacity: 0; }
}
.glyph__path { stroke-dasharray: 8 6; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.glyph__node { transform-origin: 32px 46px; animation: node 2s var(--ease) infinite alternate; }
@keyframes node { from { transform: scale(0.8); } to { transform: scale(1.5); } }
.glyph__sweep { transform-origin: 32px 32px; animation: sweep 4s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.glyph__blip { animation: blip 4s var(--ease) infinite; }
@keyframes blip { 0%, 20% { opacity: 1; } 60%, 100% { opacity: 0.15; } }

@media (min-width: 769px) {
  .pillar { grid-template-columns: 1.15fr 1fr; align-items: center; gap: var(--gutter); }
  .pillar__right { padding-top: 0.5rem; }
  /* Sticky stage (desktop, JS, motion allowed) — section = 4 screens of scroll */
  html.js:not(.reduced) .pillars { height: calc(var(--vh) * 4); }
  html.js:not(.reduced) .pillars__pin {
    position: sticky;
    top: 0;
    height: var(--vh);
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--nav-h) + 1rem);
  }
  html.js:not(.reduced) .pillars__progress { display: flex; }
  html.js:not(.reduced) .pillars__stage { position: relative; flex: 1; }
  html.js:not(.reduced) .pillar {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    visibility: hidden;
  }
  html.js:not(.reduced) .pillar.is-active .glyph * { animation-play-state: running; }
  html.js:not(.reduced) .pillar:not(.is-active) .glyph * { animation-play-state: paused; }
}

/* ---------- AGENTS (light band, white cards, cut-out portraits) ---------- */
.agents {
  border-top: 1px solid var(--line);
  padding: clamp(5rem, 14vh, 10rem) var(--gutter);
}
.agents__inner { max-width: 84rem; margin: 0 auto; }
.agents__head { max-width: 52rem; margin: 0 auto clamp(3rem, 7vh, 5rem); text-align: center; }
.agents__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.agents__sub { margin: 1.5rem auto 0; max-width: 58ch; font-size: var(--step-0); line-height: 1.6; color: var(--muted); }
.agents__grid { display: grid; gap: 1.25rem; }
.agent {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.75rem 1.75rem 2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--card-shadow);
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
}
.agent:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11, 12, 14, 0.05), 0 28px 60px rgba(232, 93, 4, 0.16); }
.agent__top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.agent__job {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-text);
}
.agent__job svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.agent__ai {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.7em;
  border: 1px solid rgba(232, 93, 4, 0.35);
  border-radius: 999px;
  background: rgba(232, 93, 4, 0.10);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand-text);
}
.agent__ai i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.agent__portrait {
  position: relative;
  width: min(100%, 15rem);
  aspect-ratio: 1;
  margin: 0.25rem auto 0.5rem;
  display: grid;
  place-items: end center;
  overflow: hidden;
}
.agent__portrait::before {
  content: "";
  position: absolute;
  inset: 8% 8% 8% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 93, 4, 0.22), rgba(244, 162, 97, 0.08) 65%, transparent 100%);
}
.agent__portrait::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(232, 93, 4, 0.28);
}
.agent__portrait img {
  position: relative;
  z-index: 1;
  width: 92%;
  height: 92%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(2%);
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}
.agent__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #1F8A4C;
}
.agent__status i { width: 7px; height: 7px; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 3px rgba(43, 182, 115, 0.18); animation: blink 2.2s var(--ease) infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.agent__name {
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.agent__role { font-size: 0.85rem; font-weight: 600; color: var(--brand-text); }
.agent__desc { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.6; color: var(--muted); max-width: 34ch; }
.agent__caps { width: 100%; margin-top: 1rem; border-top: 1px solid var(--line); text-align: left; }
.agent__caps li {
  display: flex;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--fg);
}
.agent__caps li::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  margin-top: 0.15em;
  border-radius: 50%;
  background: rgba(232, 93, 4, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23C94A06' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.agent__pillar { margin-top: 1rem; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 769px) {
  .agents__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .agent { padding: 2rem 2rem 2.25rem; }
}

/* ---------- ORANGE RIBBON ---------- */
.ribbon {
  position: relative;
  z-index: 1;
  background: var(--brand);
  color: var(--bg);
  padding: clamp(2.5rem, 6vh, 4rem) var(--gutter);
}
.ribbon__inner {
  max-width: 90rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.ribbon__text {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96;
  font-optical-sizing: auto;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 22ch;
  text-wrap: balance;
}
.ribbon__text em { font-style: italic; font-weight: 300; color: inherit; }
.ribbon ::selection { background: var(--bg); color: var(--brand); }

/* ---------- WORK / TICKER ---------- */
.work {
  padding: clamp(5rem, 14vh, 10rem) 0;
  overflow: hidden;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 var(--gutter);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.section-title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-optical-sizing: auto;
  font-size: clamp(2.6rem, 6.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.section-title em, .cta__title em, .pillar__title em, .agents__title em { font-style: normal; font-weight: inherit; color: var(--brand-text); }
.section-sub { margin-top: 1.25rem; max-width: 52ch; font-size: var(--step-0); line-height: 1.55; color: var(--muted); }
.section-hint {
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  gap: 0.6em;
}
.section-hint__arrow { display: inline-block; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.ticker {
  padding: 1.5rem var(--gutter) 0.5rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.ticker.is-dragging { cursor: grabbing; }
html.reduced .ticker, html:not(.js) .ticker { overflow-x: auto; padding-bottom: 1rem; }
.ticker__track {
  position: relative; /* cards measure offsets against the track, not the section */
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: max-content;
  will-change: transform;
}
.card {
  position: relative;
  width: min(80vw, 21rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: border-color 300ms var(--ease), transform 500ms var(--ease), box-shadow 500ms var(--ease);
}
.card { transform-origin: 50% 60%; will-change: transform, opacity; transition: border-color 500ms var(--ease), box-shadow 500ms var(--ease); }
.card.is-active {
  border-color: rgba(232, 93, 4, 0.75);
  box-shadow: 0 2px 4px rgba(11, 12, 14, 0.05), 0 32px 70px rgba(232, 93, 4, 0.18);
}
.rail-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.75rem var(--gutter) 0;
  max-width: 100%;
}
.rail-hint { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.rail-btn--next {
  width: 60px; height: 60px;
  background: var(--brand);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(232, 93, 4, 0.3);
}
.rail-btn--next svg { width: 24px; height: 24px; }
.rail-btn--next:hover { background: var(--brand-glow); color: var(--ink); transform: scale(1.06); }
.rail-btn--next:active { transform: scale(0.98); }
.ticker:focus-visible { outline: 2px solid var(--brand-glow); outline-offset: 6px; border-radius: 12px; }
.rail-controls { display: inline-flex; align-items: center; gap: 0.75rem; }
.rail-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--fg);
  cursor: pointer;
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease), color 240ms var(--ease), transform 240ms var(--ease);
}
.rail-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn:hover { border-color: var(--brand); background: var(--brand); color: #FFFFFF; transform: scale(1.04); }
.rail-btn:focus-visible { outline: 2px solid var(--brand-glow); outline-offset: 3px; }
.rail-count { min-width: 5ch; text-align: center; font-size: var(--step--1); letter-spacing: 0.15em; color: var(--muted); font-variant-numeric: tabular-nums; }
.card__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 93, 4, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 93, 4, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent);
  opacity: 0;
  transition: opacity 500ms var(--ease);
  pointer-events: none;
}
.card:hover .card__grid { opacity: 1; animation: gridflow 5s linear infinite; }
@keyframes gridflow { to { background-position: 28px 28px, 28px 28px; } }
.card > :not(.card__grid) { position: relative; }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.25rem; }
.card__badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--brand-text);
  box-shadow: 0 6px 18px rgba(11, 12, 14, 0.08), inset 0 0 0 1px rgba(232, 93, 4, 0.18);
  margin: 8px 0 0 8px;
}
.card__orbit {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1.5px dashed rgba(232, 93, 4, 0.55);
  animation: orbit 16s linear infinite;
}
.card__orbit::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  width: 9px; height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.18), 0 0 12px rgba(232, 93, 4, 0.6);
}
@keyframes orbit { to { transform: rotate(360deg); } }
.card.is-active .card__orbit { animation-duration: 7s; border-color: rgba(232, 93, 4, 0.85); }
html.reduced .card__orbit { animation: none; }
.card__icon { position: relative; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__index { font-size: var(--step--1); letter-spacing: 0.15em; color: var(--muted); font-variant-numeric: tabular-nums; }
.card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.card__desc { font-size: 0.93rem; line-height: 1.55; color: var(--muted); }
.card__first {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(232, 93, 4, 0.06);
  border: 1px solid rgba(232, 93, 4, 0.16);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fg);
}
.card__first span { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-text); }
.card__metric {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-text);
}
.card__metric::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 0.5rem; }
.card__tags li {
  padding: 0.35em 0.7em;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--fg);
  background: var(--bg-elev);
}
@media (min-width: 769px) {
  .card { width: 27rem; padding: 2rem 2rem 1.9rem; gap: 0.95rem; }
  .card__title { font-size: 1.45rem; }
  .card__desc { font-size: 1rem; }
}

/* ---------- PROCESS — scroll-drawn timeline ---------- */
.process {
  border-top: 1px solid var(--line);
  padding: clamp(5rem, 14vh, 10rem) var(--gutter);
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  right: -10%; top: 10%;
  width: 46rem; height: 46rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 93, 4, 0.10), transparent 70%);
  pointer-events: none;
}
.process__head { position: relative; max-width: 46rem; margin: 0 auto clamp(3rem, 8vh, 5rem); text-align: center; }
.process__head .section-sub { margin-left: auto; margin-right: auto; }
.timeline {
  position: relative;
  max-width: 68rem;
  margin: 0 auto;
  padding: 1rem 0 0.5rem;
}
.timeline__rail {
  position: absolute;
  top: 0; bottom: 0;
  left: 1rem;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}
.timeline__fill {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(232, 93, 4, 0.5);
  transform: scaleY(0);
  transform-origin: top;
}
.tstep {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 1fr;
  grid-template-areas: "node when" "node body";
  column-gap: 1.25rem;
  padding: 1.5rem 0 2.25rem;
}
.tstep__node {
  grid-area: node;
  justify-self: center;
  align-self: start;
  width: 18px; height: 18px;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: var(--bg);
  transition: background-color 400ms var(--ease), box-shadow 400ms var(--ease), transform 400ms var(--ease);
}
.tstep__when {
  grid-area: when;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--brand-text);
  margin-bottom: 0.5rem;
}
.tstep__body { grid-area: body; max-width: 34rem; }
.tstep__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.tstep__num { color: var(--brand-text); }
.tstep__desc { margin-top: 0.6rem; font-size: var(--step-0); line-height: 1.6; color: var(--muted); }

/* reveal states (JS lights each step as the line reaches it) */
html.js:not(.reduced) .tstep__body,
html.js:not(.reduced) .tstep__when { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
html.js:not(.reduced) .tstep.is-lit .tstep__body,
html.js:not(.reduced) .tstep.is-lit .tstep__when { opacity: 1; transform: none; }
.tstep.is-lit .tstep__node { background: var(--brand); box-shadow: 0 0 0 6px rgba(232, 93, 4, 0.16), 0 0 18px rgba(232, 93, 4, 0.5); transform: scale(1.1); }
html:not(.js) .tstep__node, html.reduced .tstep__node { background: var(--brand); }
html:not(.js) .timeline__fill, html.reduced .timeline__fill { transform: none; }

@media (min-width: 769px) {
  .timeline__rail { left: 50%; }
  .tstep {
    grid-template-columns: 1fr 3rem 1fr;
    grid-template-areas: "body node when";
    column-gap: 0;
    padding: 2rem 0 3.5rem;
    align-items: start;
  }
  .tstep__body { justify-self: end; text-align: right; padding-right: 2.5rem; }
  .tstep__when { align-self: start; padding-left: 2.5rem; margin: 0.15rem 0 0; }
  .tstep:nth-child(even) { grid-template-areas: "when node body"; }
  .tstep:nth-child(even) .tstep__body { justify-self: start; text-align: left; padding: 0 0 0 2.5rem; }
  .tstep:nth-child(even) .tstep__when { justify-self: end; text-align: right; padding: 0 2.5rem 0 0; }
  html.js:not(.reduced) .tstep__body { transform: translateX(-24px); }
  html.js:not(.reduced) .tstep__when { transform: translateX(24px); }
  html.js:not(.reduced) .tstep:nth-child(even) .tstep__body { transform: translateX(24px); }
  html.js:not(.reduced) .tstep:nth-child(even) .tstep__when { transform: translateX(-24px); }
  html.js:not(.reduced) .tstep.is-lit .tstep__body,
  html.js:not(.reduced) .tstep.is-lit .tstep__when { transform: none; }
}

/* ---------- ABOUT — arc + operator note ---------- */
.about {
  padding: clamp(6rem, 15vh, 10rem) var(--gutter) clamp(5rem, 12vh, 8rem);
  overflow: hidden;
  text-align: center;
}
.about__arc {
  position: absolute;
  left: 50%; top: -0.75rem;
  width: min(118vw, 92rem);
  height: min(118vw, 92rem);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(232, 93, 4, 0.035) 0%,
    rgba(232, 93, 4, 0.02) 88%,
    transparent 96.4%,
    rgba(232, 93, 4, 0.45) 97.5%,
    rgba(232, 93, 4, 0.7) 98.1%,
    rgba(244, 162, 97, 0.35) 98.9%,
    transparent 100%);
  filter: blur(5px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 8%, rgba(0, 0, 0, 0.55) 20%, transparent 34%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 8%, rgba(0, 0, 0, 0.55) 20%, transparent 34%);
  pointer-events: none;
}
.about__inner { position: relative; max-width: 46rem; margin: 0 auto; }
.about__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-optical-sizing: auto;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.about__title em { font-style: normal; color: var(--brand-text); }
.about__copy { margin: 1.75rem auto 0; max-width: 60ch; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.65; color: var(--muted); }
.about__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2.25rem; }

/* ---------- FINAL CTA: dark panel on a light band ---------- */
.cta {
  padding: clamp(3rem, 8vh, 5rem) var(--gutter) clamp(5rem, 12vh, 8rem);
  text-align: center;
}
.cta__panel {
  position: relative;
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 7rem) clamp(1.5rem, 5vw, 5rem);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11, 12, 14, 0.18);
}
.cta__panel::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -40%;
  width: 90%; height: 90%;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(232, 93, 4, 0.32), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.cta__inner { position: relative; display: grid; justify-items: center; gap: 0; max-width: 60rem; margin: 0 auto; }
.cta__title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-optical-sizing: auto;
  font-size: clamp(2.6rem, 6vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.cta__sub {
  margin: clamp(1.5rem, 3vw, 2.5rem) auto clamp(2rem, 4vw, 3rem);
  max-width: 42ch;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(5rem, 14vh, 10rem) var(--gutter); }
.faq__inner { max-width: 48rem; margin: 0 auto; }
.faq__head { text-align: center; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.faq__head .section-sub { margin-left: auto; margin-right: auto; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.35; }
.faq__icon {
  position: relative;
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: var(--brand-text);
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: rgba(232, 93, 4, 0.1); border-color: rgba(232, 93, 4, 0.4); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__q:hover .faq__icon { border-color: rgba(232, 93, 4, 0.5); }
.faq__q:focus-visible { outline: 2px solid var(--brand-glow); outline-offset: 4px; border-radius: 6px; }
.faq__a { padding: 0 0 1.5rem; max-width: 62ch; }
.faq__a p { font-size: var(--step-0); line-height: 1.65; color: var(--muted); }

/* ---------- FOOTER + CONTACT ---------- */
.footer {
  padding: clamp(4rem, 10vh, 7rem) var(--gutter) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer__grid { max-width: 84rem; margin: 0 auto; display: grid; gap: 3rem; align-items: start; }
.contact { display: grid; gap: 1rem; }
.contact__title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.contact__sub { max-width: 46ch; font-size: var(--step-0); line-height: 1.55; color: var(--muted); margin-bottom: 0.5rem; }
.contact__row { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field__label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field__input {
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--fg);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.field__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.12); }
.field__input:focus-visible { outline: 2px solid var(--brand-glow); outline-offset: 2px; }
textarea.field__input { resize: vertical; min-height: 7rem; }
.contact__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.contact__note { font-size: var(--step--1); color: var(--brand-text); }

.person {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 2.25rem 1.75rem 2rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}
.person__photo {
  width: clamp(9rem, 14vw, 12rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 2px rgba(232, 93, 4, 0.55), 0 18px 40px rgba(232, 93, 4, 0.18);
  margin-bottom: 1rem;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.person__role { font-size: 0.85rem; font-weight: 600; color: var(--brand-text); }
.person__links { display: grid; gap: 0.5rem; margin-top: 1rem; }
.person__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--fg);
  opacity: 0.85;
  transition: opacity 240ms var(--ease);
}
.person__link:hover { opacity: 1; }
.person__link svg { width: 18px; height: 18px; fill: none; stroke: var(--brand-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.person__cta { margin-top: 1.25rem; }
.person__hint { margin-top: 0.75rem; font-size: 0.8rem; color: var(--muted); }

.footer__legal {
  max-width: 84rem;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
}
.footer__wordmark { color: var(--fg); }
@media (min-width: 769px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr; gap: var(--gutter); }
  .contact__row { grid-template-columns: 1fr 1fr; }
  .person { position: sticky; top: calc(var(--nav-h) + 1rem); }
}
.footer__link { position: relative; color: var(--fg); opacity: 0.85; transition: opacity 240ms var(--ease); }
.footer__link:hover { opacity: 1; }

/* ---------- Reveal targets (hidden until JS animates them in) ---------- */
html.js:not(.reduced) .r { visibility: hidden; }

/* ---------- Video fallback: poster/background carries the frame ---------- */
[data-media].is-fallback video { display: none; }

/* ---------- Reduced motion / static mode ---------- */
html.reduced .grain,
html.reduced .hero__haze,
html.reduced .marquee__track,
html.reduced .scroll-cue__dot,
html.reduced .section-hint__arrow,
html.reduced .card__grid,
html.reduced .agent__status i,
html.reduced .glyph * { animation: none; }
html.reduced .grain { opacity: 0.02; }
html.reduced video { display: none; }
html.reduced .hero { position: relative; }
html.reduced .btn, html.reduced .nav__link::after, html.reduced .footer__link::after, html.reduced .agent { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .grain, .hero__haze, .marquee__track, .scroll-cue__dot, .section-hint__arrow, .card__grid, .glyph *, .agent__status i { animation: none; }
  .agent__avatar, .agent__avatar img { transition: none; }
  .btn, .nav, .nav__link::after, .footer__link::after, .card, .card__grid { transition: none; }
}

/* ---------- Mobile stability (≤768px) ----------
   The sticky-hero overlap and the long mission hold are desktop effects.
   On phones they cause flashes of the video layer and a "stuck" feel, and
   the animated grain + heavy blur cost more than they give. */
@media (max-width: 768px) {
  .hero { position: relative; z-index: 1; }
  .hero__video { transform: none; }
  .hero__haze { filter: blur(22px); animation: none; opacity: 0.45; }
  .grain { display: none; }
  html.js:not(.reduced) .mission { height: auto; }
  html.js:not(.reduced) .mission__pin { position: static; height: auto; min-height: 0; padding: clamp(5rem, 14vh, 8rem) var(--gutter); }
  .marquee { box-shadow: none; }
  .agent:hover { transform: none; }
}


/* =============================================================
   Floating helpers — WhatsApp FAB + Chat widget
   ============================================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.helpers {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 220;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}
.helpers > * { pointer-events: auto; }

/* WhatsApp FAB */
.wa-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.wa-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2);
}
.wa-fab__icon { width: 1.55rem; height: 1.55rem; }
.wa-fab__tip {
  position: absolute;
  right: calc(100% + 0.65rem);
  padding: 0.4rem 0.7rem;
  background: #0B0C0E;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.wa-fab { position: relative; }
.wa-fab:hover .wa-fab__tip,
.wa-fab:focus-visible .wa-fab__tip {
  opacity: 1;
  transform: translateX(0);
}

/* Chat FAB */
.chat-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 28px rgba(232, 93, 4, 0.45), 0 2px 6px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}
.chat-fab:hover {
  background: var(--brand-glow);
  color: var(--ink);
  transform: translateY(-2px) scale(1.04);
}
.chat-fab__icon { width: 1.45rem; height: 1.45rem; position: absolute; transition: opacity 160ms, transform 160ms; }
.chat-fab__icon--close { opacity: 0; transform: rotate(-45deg) scale(0.7); }
.chat-fab.is-open .chat-fab__icon--open { opacity: 0; transform: rotate(45deg) scale(0.7); }
.chat-fab.is-open .chat-fab__icon--close { opacity: 1; transform: rotate(0) scale(1); }
.chat-fab__pulse {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(232, 93, 4, 0.45);
  animation: chat-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.chat-fab.is-open .chat-fab__pulse { display: none; }
@keyframes chat-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Chat panel */
.chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(3.6rem + 0.85rem);
  width: min(22.5rem, calc(100vw - 1.5rem));
  height: min(32rem, calc(100dvh - 6.5rem));
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  color: #0B0C0E;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(11, 12, 14, 0.08), 0 28px 64px rgba(11, 12, 14, 0.22);
  overflow: hidden;
  transform-origin: bottom right;
  animation: chat-in 220ms var(--ease) both;
}
.chat-panel[hidden] { display: none; }
@keyframes chat-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-panel__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: #0B0C0E;
  color: #F7F7F5;
  flex-shrink: 0;
}
.chat-panel__avatar {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.chat-panel__meta { flex: 1; min-width: 0; }
.chat-panel__name {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.chat-panel__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.72rem;
  color: rgba(247, 247, 245, 0.65);
}
.chat-panel__status i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
}
.chat-panel__close {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(247, 247, 245, 0.7);
  transition: background 160ms, color 160ms;
}
.chat-panel__close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.chat-panel__close svg { width: 1rem; height: 1rem; }

.chat-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #F7F7F5;
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 88%;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.45;
  animation: msg-in 180ms var(--ease) both;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.chat-msg--bot {
  align-self: flex-start;
  background: #FFFFFF;
  color: #0B0C0E;
  border: 1px solid rgba(11, 12, 14, 0.06);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(11, 12, 14, 0.04);
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg p + p { margin-top: 0.4em; }
.chat-msg a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.chat-msg--bot a { color: #C2410C; }
.chat-msg--typing {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.85rem 1rem;
}
.chat-msg--typing span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #8E929A;
  animation: typing 1.1s ease-in-out infinite;
}
.chat-msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.chat-panel__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-top: 1px solid rgba(11, 12, 14, 0.06);
  background: #fff;
  flex-shrink: 0;
}
.chat-chip {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 12, 14, 0.12);
  background: #FAFAF9;
  font-size: 0.75rem;
  font-weight: 500;
  color: #0B0C0E;
  cursor: pointer;
  transition: border-color 160ms, background 160ms, color 160ms;
}
.chat-chip:hover {
  border-color: var(--brand);
  background: rgba(232, 93, 4, 0.06);
  color: #C2410C;
}

.chat-panel__form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem 0.75rem;
  background: #fff;
  border-top: 1px solid rgba(11, 12, 14, 0.06);
  flex-shrink: 0;
}
.chat-panel__input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 12, 14, 0.12);
  background: #F7F7F5;
  font: inherit;
  font-size: 0.875rem;
  color: #0B0C0E;
  outline: none;
  transition: border-color 160ms, box-shadow 160ms;
}
.chat-panel__input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
  background: #fff;
}
.chat-panel__input::placeholder { color: #8E929A; }
.chat-panel__send {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 160ms, transform 160ms;
}
.chat-panel__send:hover { background: var(--brand-glow); color: var(--ink); transform: scale(1.05); }
.chat-panel__send svg { width: 1.1rem; height: 1.1rem; }

@media (max-width: 480px) {
  .helpers {
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .chat-panel {
    width: calc(100vw - 1.25rem);
    height: min(70dvh, 30rem);
    bottom: calc(3.6rem + 0.7rem);
  }
  .wa-fab__tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-fab__pulse, .chat-panel, .chat-msg, .chat-msg--typing span { animation: none; }
}


/* ---------- Language switcher ---------- */
.nav__end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.lang {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  gap: 0.15rem;
}
.lang__btn {
  min-width: 2.15rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(247, 247, 245, 0.55);
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.lang__btn:hover { color: #F7F7F5; }
.lang__btn.is-active {
  background: var(--brand);
  color: #fff;
}
/* On light bands / sticky nav scrolled states nav is dark; keep switcher readable */
.nav.is-scrolled .lang {
  border-color: rgba(11, 12, 14, 0.12);
  background: rgba(11, 12, 14, 0.04);
}
.nav.is-scrolled .lang__btn { color: rgba(11, 12, 14, 0.45); }
.nav.is-scrolled .lang__btn:hover { color: #0B0C0E; }
.nav.is-scrolled .lang__btn.is-active { background: var(--brand); color: #fff; }

@media (max-width: 720px) {
  .nav__end { gap: 0.5rem; }
  .lang__btn { min-width: 1.9rem; padding: 0.3rem 0.45rem; font-size: 0.68rem; }
}


/* ---------- Share menu ---------- */
.share { position: relative; }
.share-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  background: #15171C;
  color: #F7F7F5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(11, 12, 14, 0.35);
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}
.share-fab:hover {
  transform: translateY(-2px) scale(1.04);
  background: #1c1f26;
  border-color: rgba(255, 255, 255, 0.22);
}
.share-fab.is-open {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}
.share-fab__icon { width: 1.25rem; height: 1.25rem; }
.share-fab__tip {
  position: absolute;
  right: calc(100% + 0.65rem);
  padding: 0.4rem 0.7rem;
  background: #0B0C0E;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.share-fab:hover .share-fab__tip,
.share-fab:focus-visible .share-fab__tip {
  opacity: 1;
  transform: translateX(0);
}
.share-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.6rem);
  min-width: 12.5rem;
  padding: 0.4rem;
  border-radius: 14px;
  background: #FFFFFF;
  color: #0B0C0E;
  box-shadow: 0 4px 12px rgba(11, 12, 14, 0.08), 0 20px 48px rgba(11, 12, 14, 0.2);
  animation: chat-in 180ms var(--ease) both;
  z-index: 5;
}
.share-menu[hidden] { display: none; }
.share-menu__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0B0C0E;
  cursor: pointer;
  text-align: left;
  transition: background 140ms;
}
.share-menu__item:hover { background: #F0F0EE; }
.share-menu__item svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; opacity: 0.9; }
.share-menu__note {
  margin: 0.25rem 0.5rem 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #25D366;
  text-align: center;
}
@media (max-width: 480px) {
  .share-fab__tip { display: none; }
}
