/* Self-hosted type — generated by fonts.js */
@font-face{font-family:"Archivo";font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url("../fonts/archivo-var.woff2") format("woff2-variations");}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("../fonts/inter-var.woff2") format("woff2-variations");}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/plexmono-400.woff2") format("woff2");}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/plexmono-500.woff2") format("woff2");}

/* ==========================================================================
   CybiServe — design system
   Display : Archivo (variable, expanded) · Body : Inter · Data : IBM Plex Mono
   ========================================================================== */

/* Light system. The identity is emerald and gold on paper — the wordmark and
   tagline sit at roughly 1.6:1 on charcoal, so a dark ground is not available
   to this brand. Dark is used only as a deliberate inversion behind imagery. */
:root {
  /* Brand */
  --emerald:      #006b4f;   /* primary */
  --emerald-dk:   #004d3a;   /* brand / digital */
  --gold:         #c99a2e;   /* primary gold */
  --gold-hi:      #d4af37;   /* premium gold */
  --charcoal:     #17211d;
  --pure:         #ffffff;

  /* Surfaces */
  --paper:        #ffffff;
  --paper-2:      #f4f7f5;
  --card:         #ffffff;
  --card-2:       #eef3f0;
  --line:         #dbe4df;
  --line-soft:    #e8eeeb;

  /* Type */
  --head:         #17211d;
  --body:         #3a4842;
  --body-dim:     #566762;
  --mute:         #61716b;

  /* Accent role — emerald on paper, gold when inverted */
  --accent:       #006b4f;
  --accent-hi:    #004d3a;
  --accent-soft:  #a8c8bb;
  --accent-wash:  rgba(0, 107, 79, .06);

  /* Emphasis (used for attention, never alarm) */
  --gold-a:       #8a6612;
  --gold-b:       #c99a2e;
  --gold-wash:    rgba(201, 154, 46, .10);

  --shell:      1240px;
  --gutter:     clamp(20px, 5vw, 40px);
  --bay:        clamp(72px, 9vw, 132px);

  --ease:       cubic-bezier(.22, .61, .36, 1);
  --radius:     4px;

  --nav-h:      74px;
}

/* Inverted scope: imagery bands, endcaps and the footer. Gold carries the
   accent here because emerald cannot hold contrast on charcoal. */
.dark {
  --paper:        #17211d;
  --paper-2:      #101915;
  --card:         rgba(255,255,255,.045);
  --card-2:       rgba(255,255,255,.08);
  --line:         rgba(255,255,255,.16);
  --line-soft:    rgba(255,255,255,.10);
  --head:         #ffffff;
  --body:         #dbe4df;
  --body-dim:     #b6c4bd;
  --mute:         #93a49c;
  --accent:       #d4af37;
  --accent-hi:    #e6c869;
  --accent-soft:  rgba(212,175,55,.55);
  --accent-wash:  rgba(212,175,55,.10);
  --gold-a:       #d4af37;
  --gold-b:       #e6c869;
  color: var(--body);
}

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--emerald); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--emerald); color: #fff; padding: 10px 16px;
  font-weight: 600; border-radius: var(--radius); transition: top .18s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------------------------------------------------------- typography */
.d, h1, h2, h3, h4 {
  font-family: Archivo, "Archivo", Inter, sans-serif;
  font-variation-settings: "wdth" 112, "wght" 700;
  font-weight: 700;
  letter-spacing: -0.021em;
  line-height: 1.03;
  color: var(--emerald-dk);
  margin: 0;
  text-wrap: balance;
}

h1, .t-hero {
  font-size: clamp(2.5rem, 5.9vw, 4.9rem);
  line-height: 0.99;
  letter-spacing: -0.031em;
}
h2, .t-sec  { font-size: clamp(1.95rem, 3.5vw, 3.1rem); line-height: 1.04; letter-spacing: -0.026em; }
h3, .t-sub  { font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.18; letter-spacing: -0.016em; }
h4          { font-size: 1.02rem; line-height: 1.3; font-variation-settings: "wdth" 108, "wght" 650; }

.lede {
  font-size: clamp(1.02rem, 1.32vw, 1.2rem);
  line-height: 1.6;
  color: var(--body-dim);
  max-width: 62ch;
  margin: 0;
  text-wrap: pretty;
}
p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* The data label. Mono is the brand's "measurement" voice — used for every
   eyebrow, metric and step index, and nowhere else. */
.tag {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.685rem;
  font-weight: 500;
  letter-spacing: 0.235em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.tag::before {
  content: ""; width: 7px; height: 7px; flex: none;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.tag--risk { color: var(--gold-a); }
.tag--risk::before { background: var(--gold-a); }
.tag--mute { color: var(--mute); }
.tag--mute::before { background: var(--mute); }
.tag--plain::before { display: none; }

.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }

/* ------------------------------------------------------------- layout */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.bay { padding-block: var(--bay); position: relative; }
.bay--tight { padding-block: clamp(52px, 6vw, 84px); }
.bay--surface { background: var(--paper-2); }
.bay--line { border-top: 1px solid var(--line-soft); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.sec-head { max-width: 760px; margin-bottom: clamp(38px, 4.4vw, 64px); }
.sec-head .lede { margin-top: 20px; }
.sec-head--wide { max-width: 920px; }

.grid { display: grid; gap: clamp(16px, 1.7vw, 24px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split--55 { grid-template-columns: 1.15fr 1fr; }
.split--45 { grid-template-columns: 1fr 1.15fr; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.925rem;
  letter-spacing: -0.005em;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform .24s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--emerald); color: #fff; }
.btn--primary:hover { background: var(--emerald-dk); }
.dark .btn--primary { background: var(--gold-hi); color: var(--charcoal); }
.dark .btn--primary:hover { background: #e6c869; }

.btn--ghost { border: 1px solid var(--line); color: var(--emerald-dk); background: transparent; }
.dark .btn--ghost { color: #fff; }
.btn--ghost:hover { border-color: var(--accent-soft); background: var(--accent-wash); }

.btn--sm { padding: 9px 16px; font-size: 0.85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Text link with a travelling underline */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; color: var(--accent);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .3s var(--ease), color .2s var(--ease);
}
.tlink:hover { background-size: 100% 1px; color: var(--accent-hi); }
.tlink svg { transition: transform .24s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-stuck { box-shadow: 0 10px 30px -18px rgba(23,33,29,.30); border-bottom-color: var(--line); }
.nav__link { color: var(--body); }
.nav__in { display: flex; align-items: center; gap: 28px; width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand { flex-wrap: nowrap; }
.brand__mark { width: 40px; height: auto; }
.brand__word { width: auto; height: 22px; }
.foot .brand__mark { width: 44px; }
.foot .brand__word { height: 34px; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 9px 13px; border-radius: var(--radius);
  font-size: 0.895rem; font-weight: 500; color: var(--body-dim);
  transition: color .18s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--emerald); }
.nav__link.is-current { color: var(--emerald-dk); font-weight: 600; }
.nav__link.is-current::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; background: var(--gold);
}
.nav__caret { transition: transform .22s var(--ease); }
.nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

/* Solutions mega-panel */
.mega {
  position: absolute; top: calc(var(--nav-h) - 12px); left: 50%; transform: translate(-50%, -8px);
  width: min(760px, calc(100vw - 40px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  box-shadow: 0 26px 60px -22px rgba(23, 33, 29, .28);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.mega.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega__item { display: block; padding: 13px 15px; border-radius: var(--radius); transition: background .16s var(--ease); }
.mega__item:hover { background: var(--accent-wash); }
.mega__k { font-family: Archivo, sans-serif; font-variation-settings: "wdth" 106, "wght" 650; font-size: 0.95rem; color: var(--emerald-dk); display: block; }
.mega__d { font-size: 0.79rem; color: var(--mute); display: block; margin-top: 3px; line-height: 1.45; }

.nav__burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 19px; height: 1.5px; background: var(--emerald-dk); position: relative; transition: background .2s; }
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.5px; background: var(--emerald-dk); transition: transform .25s var(--ease);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
  background: var(--pure);
  padding: 26px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.06rem; color: var(--emerald-dk); font-family: Archivo, sans-serif; font-variation-settings: "wdth" 106, "wght" 620; }
.drawer .drawer__sub a { padding: 10px 0 10px 16px; font-size: 0.93rem; color: var(--body-dim); font-family: Inter, sans-serif; font-weight: 500; }
.drawer .btn { width: 100%; justify-content: center; margin-top: 26px; }

/* -------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(94vh, 880px); display: flex; align-items: flex-end; padding-top: calc(var(--nav-h) + 40px); overflow: hidden; }
.hero--short { min-height: min(70vh, 640px); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(6,16,12,.97) 0%, rgba(6,16,12,.93) 32%, rgba(6,16,12,.70) 60%, rgba(6,16,12,.52) 100%),
    linear-gradient(to top, rgba(9,20,15,.95) 1%, rgba(9,20,15,0) 38%);
}
.hero__in { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(48px, 6vw, 92px); }
.hero__copy { max-width: 980px; }
.hero h1 { max-width: 13.5ch; }
.hero .lede { margin-top: 26px; max-width: 54ch; color: var(--body); }
.hero__field {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
  opacity: .55; pointer-events: none;
  -webkit-mask-image: linear-gradient(102deg, transparent 26%, rgba(0,0,0,.45) 52%, #000 82%);
          mask-image: linear-gradient(102deg, transparent 26%, rgba(0,0,0,.45) 52%, #000 82%);
}

/* stat strip beneath hero copy */
.facts { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 60px); margin-top: clamp(40px, 5vw, 62px); }
.fact__n { font-family: Archivo, sans-serif; font-variation-settings: "wdth" 112, "wght" 700; font-size: clamp(1.7rem, 2.5vw, 2.3rem); color: var(--head); line-height: 1; letter-spacing: -0.03em; }
.fact__n em { color: var(--gold-hi); font-style: normal; }
.fact__l { font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 9px; max-width: 26ch; line-height: 1.5; }

/* ------------------------------------------------------- process rail */
.rail { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.rail__step {
  padding: 26px 20px 28px 0; border-right: 1px solid var(--line-soft); position: relative;
}
.rail__step:last-child { border-right: 0; }
.rail__step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--gold);
  transition: width .7s var(--ease);
}
.rail.in .rail__step::before { width: 100%; }
.rail__step:nth-child(2)::before { transition-delay: .1s; }
.rail__step:nth-child(3)::before { transition-delay: .2s; }
.rail__step:nth-child(4)::before { transition-delay: .3s; }
.rail__step:nth-child(5)::before { transition-delay: .4s; }
.rail__step:nth-child(6)::before { transition-delay: .5s; }
.rail__i { font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .18em; color: var(--gold-a); }
.rail__k { font-family: Archivo, sans-serif; font-variation-settings: "wdth" 110, "wght" 650; font-size: clamp(.92rem, 1.15vw, 1.06rem); color: var(--emerald-dk); margin-top: 10px; letter-spacing: -0.01em; }
.rail__d { font-size: .8rem; color: var(--mute); margin-top: 7px; line-height: 1.5; padding-right: 8px; min-height: 3em; }

/* -------------------------------------------------------------- cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(23,33,29,.04);
  padding: clamp(24px, 2.4vw, 32px);
  display: flex; flex-direction: column;
  transition: background .24s var(--ease), border-color .24s var(--ease), transform .24s var(--ease);
  position: relative;
}
a.card:hover, .card--hover:hover { border-color: var(--emerald); transform: translateY(-3px); box-shadow: 0 18px 38px -22px rgba(0,77,58,.34); }
.card__i { font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .2em; color: var(--accent); }
.card h3 { margin: 14px 0 12px; }
.card p { font-size: .93rem; color: var(--body-dim); }
.card__list { margin: 18px 0 0; display: grid; gap: 8px; }
.card__list li { font-size: .855rem; color: var(--mute); padding-left: 16px; position: relative; line-height: 1.5; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; background: var(--gold); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.card__foot { margin-top: auto; padding-top: 24px; }

/* index cards used for industries */
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 26px 24px 28px; transition: border-color .24s var(--ease), background .24s var(--ease);
}
.tile:hover { border-color: var(--emerald); box-shadow: 0 18px 38px -22px rgba(0,77,58,.30); }
.tile h4 { margin: 0 0 9px; color: var(--head); }
.tile p { font-size: .875rem; color: var(--mute); margin: 0; }
.tile__hex { width: 26px; height: 26px; margin-bottom: 18px; color: var(--gold); }

/* ------------------------------------------------------- media blocks */
.frame { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-soft); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 9; }
.frame--sq   { aspect-ratio: 1; }
.frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,16,.72), rgba(10,20,16,0) 58%);
  pointer-events: none;
}
.frame__cap {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2;
  font-family: "IBM Plex Mono", monospace; font-size: .69rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--body); line-height: 1.55;
}

.band { position: relative; overflow: hidden; }
.band__media { position: absolute; inset: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__scrim { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(10,20,16,.95) 0%, rgba(10,20,16,.88) 42%, rgba(10,20,16,.62) 100%); }
.band__in { position: relative; z-index: 2; }

/* -------------------------------------------------- framework (stages) */
.fw { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.fw__list { display: grid; }
.fw__row {
  display: grid; grid-template-columns: 54px 1fr; gap: 18px;
  padding: 20px 4px 20px 0; border-top: 1px solid var(--line-soft);
  cursor: pointer; transition: background .2s var(--ease);
  text-align: left; width: 100%; align-items: start;
}
.fw__row:last-child { border-bottom: 1px solid var(--line-soft); }
.fw__row:hover { background: var(--accent-wash); }
.fw__row.is-on .fw__i { color: var(--accent); }
.fw__row.is-on .fw__k { color: var(--emerald-dk); }
.fw__row.is-on .fw__d { color: var(--body-dim); max-height: 90px; opacity: 1; margin-top: 8px; }
.fw__i { font-family: "IBM Plex Mono", monospace; font-size: .72rem; letter-spacing: .14em; color: var(--mute); padding-top: 5px; transition: color .2s; }
.fw__k { display: block; font-family: Archivo, sans-serif; font-variation-settings: "wdth" 110, "wght" 650; font-size: clamp(1.15rem, 1.7vw, 1.42rem); color: var(--body-dim); letter-spacing: -0.015em; transition: color .2s; }
.fw__d { display: block; font-size: .9rem; color: transparent; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s var(--ease), opacity .3s var(--ease), color .2s, margin .3s var(--ease); }
.fw__vis { position: sticky; top: calc(var(--nav-h) + 40px); }
.fw__canvas { width: 100%; aspect-ratio: 1; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; }
.fw__meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.fw__meta b { color: var(--accent); font-weight: 500; }

/* ------------------------------------------------------- comparison */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.vs__col { background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 2.6vw, 34px); }
.vs__col--ours { border-color: var(--emerald); background: linear-gradient(180deg, rgba(0,107,79,.06), rgba(0,107,79,0) 46%), var(--pure); }
.vs__h { font-family: "IBM Plex Mono", monospace; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 20px; }
.vs__col--ours .vs__h { color: var(--accent); }
.vs__flow { display: grid; gap: 0; }
.vs__node { padding: 11px 0; font-size: .95rem; color: var(--body-dim); display: flex; align-items: center; gap: 12px; }
.vs__col--ours .vs__node { color: var(--emerald-dk); font-weight: 600; }
.vs__node span { font-family: "IBM Plex Mono", monospace; font-size: .66rem; color: var(--mute); width: 20px; flex: none; }
.vs__col--ours .vs__node span { color: var(--emerald); }
.vs__node--end { color: var(--gold-a); font-weight: 500; }
.vs__arrow { width: 1px; background: var(--line); position: relative; }
.vs__arrow::after { content: "VS"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--paper-2); padding: 8px 6px; font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .15em; color: var(--mute); }

/* --------------------------------------------------------- timeline */
.year { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden; }
.year__m { background: var(--pure); padding: 22px 18px 24px; transition: background .2s var(--ease); }
.year__m:hover { background: var(--card-2); }
.year__mo { font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .18em; color: var(--accent); }
.year__a { font-size: .885rem; color: var(--emerald-dk); margin-top: 10px; font-weight: 500; line-height: 1.35; }
.year__n { font-size: .78rem; color: var(--mute); margin-top: 6px; line-height: 1.45; }

/* ------------------------------------------------------------ pillars */
.pillar { border-top: 2px solid var(--emerald); padding-top: 26px; }
.pillar__k { font-family: Archivo, sans-serif; font-variation-settings: "wdth" 112, "wght" 700; font-size: clamp(1.5rem,2.2vw,1.95rem); color: var(--emerald-dk); letter-spacing: -.02em; }
.pillar__d { font-size: .92rem; color: var(--mute); margin-top: 10px; max-width: 34ch; }
.pillar__list { margin-top: 24px; display: grid; gap: 2px; }
.pillar__list a, .pillar__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; color: var(--body-dim); transition: color .18s var(--ease), padding-left .18s var(--ease); }
.pillar__list a:hover { color: var(--accent); padding-left: 6px; }

/* ------------------------------------------------------------ insights */
.post { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-soft); padding: 26px 0; transition: padding-left .22s var(--ease); }
.post:hover { padding-left: 8px; }
.post:hover .post__t { color: var(--accent); }
.post__meta { display: flex; gap: 16px; align-items: center; font-family: "IBM Plex Mono", monospace; font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.post__cat { color: var(--accent); }
.post__t { font-family: Archivo, sans-serif; font-variation-settings: "wdth" 108, "wght" 650; font-size: clamp(1.12rem, 1.6vw, 1.42rem); color: var(--emerald-dk); margin: 12px 0 8px; letter-spacing: -.018em; line-height: 1.2; transition: color .2s; }
.post__x { font-size: .9rem; color: var(--mute); max-width: 76ch; }

/* --------------------------------------------------------------- form */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--pure); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 14px; color: var(--head);
  font: inherit; font-size: .95rem; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px var(--accent-wash); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: #93a49c; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f807a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form__note { font-size: .8rem; color: var(--mute); }
.form__ok { display: none; border: 1px solid var(--emerald); background: var(--accent-wash); border-radius: 6px; padding: 18px 20px; font-size: .93rem; color: var(--emerald-dk); }
.form__ok.is-on { display: block; }

/* -------------------------------------------------------------- quote */
.pull {
  font-family: Archivo, sans-serif; font-variation-settings: "wdth" 106, "wght" 600;
  font-size: clamp(1.45rem, 2.9vw, 2.5rem); line-height: 1.2; letter-spacing: -.024em;
  color: var(--emerald-dk); max-width: 22ch;
}
.pull em { color: var(--gold-a); font-style: normal; }

/* --------------------------------------------------------------- CTA */
.endcap { position: relative; overflow: hidden; }
.endcap__in { position: relative; z-index: 2; text-align: center; max-width: 720px; margin-inline: auto; }
.endcap .btn-row { justify-content: center; }
.endcap .lede { margin-inline: auto; margin-top: 20px; }

/* ------------------------------------------------------------- footer */
.foot { background: var(--charcoal); padding-block: clamp(48px, 5vw, 72px) 32px; }
.foot__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot__k { font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.foot__nav a { display: block; padding: 6px 0; font-size: .9rem; color: var(--body-dim); transition: color .18s; }
.foot__nav a:hover { color: var(--accent); }
.foot__blurb { font-size: .9rem; color: var(--mute); max-width: 34ch; margin-top: 18px; }
.foot__bot { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: .8rem; color: var(--mute); }
.foot__tag { font-family: "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; }

/* ------------------------------------------------------ scroll reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-2 { transition-delay: .08s; }
.rv-3 { transition-delay: .16s; }
.rv-4 { transition-delay: .24s; }
.rv-5 { transition-delay: .32s; }
.rv-6 { transition-delay: .40s; }

/* ------------------------------------------------------- breakpoints */
@media (max-width: 1080px) {
  .rail { grid-template-columns: repeat(3, 1fr); }
  .rail__step:nth-child(3) { border-right: 0; }
  .rail__step:nth-child(n+4) { border-top: 1px solid var(--line-soft); }
  .year { grid-template-columns: repeat(3, 1fr); }
  .foot__top { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav .btn--primary { display: none; }
  .split, .split--55, .split--45, .fw, .g-3 { grid-template-columns: 1fr; }
  .fw__vis { position: static; order: -1; }
  .fw__canvas { max-width: 420px; margin-inline: auto; }
  .vs { grid-template-columns: 1fr; }
  .vs__arrow { width: auto; height: 1px; }
  .vs__arrow::after { padding: 0 12px; }
  .hero__copy { max-width: 100%; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; }
  .g-2 { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr 1fr; }
  .rail__step:nth-child(2n) { border-right: 0; }
  .rail__step:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .year { grid-template-columns: 1fr 1fr; }
  .foot__top { grid-template-columns: 1fr; }
  .facts { gap: 22px 34px; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
  .hero { min-height: auto; padding-block: calc(var(--nav-h) + 64px) 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
}

@media print {
  .nav, .drawer, .hero__field, .endcap { display: none; }
  body { background: #fff; color: #17211d; }
}


/* ------------------------------------------------------ inverted bands */
.dark h1, .dark h2, .dark h3, .dark h4, .dark .d { color: #fff; }
.dark .lede { color: var(--body-dim); }
.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); box-shadow: none; }
.dark .card h3, .dark .card h4 { color: #fff; }
.dark .tlink { color: var(--gold-hi); background-image: linear-gradient(var(--gold-hi), var(--gold-hi)); }
.dark .card__list li::before { background: var(--gold-hi); }
.hero, .endcap, .foot { color: var(--body); }

.foot__nav a:hover { color: var(--gold-hi); }
