/* ============================================================================
   CHIPREADY — Silicon Foundry design system
   Near-black canvas · molten-ember accent · engineered type · hairline rules
   ========================================================================= */

/* ---- Reset ---------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img, svg, canvas { display: block; max-width: 100%; }
button, input, a { font: inherit; color: inherit; }
a { text-decoration: none; }
ul { list-style: none; }

/* ---- Tokens --------------------------------------------------------------*/
:root {
  /* surfaces */
  --void:       #08090B;
  --void-2:     #0B0D10;
  --surface:    #101317;
  --surface-2:  #161A20;
  --surface-3:  #1C212892;

  /* ink */
  --text:       #ECEEF1;
  --text-dim:   #9BA2AD;
  --text-faint: #5A626D;
  --text-ghost: #3A4049;

  /* hairlines */
  --line:        rgba(236,238,241,0.085);
  --line-strong: rgba(236,238,241,0.17);

  /* accent — molten silicon */
  --ember:       #FF6A2C;
  --ember-bright:#FF8A4C;
  --ember-deep:  #C8481A;
  --ember-glow:  rgba(255,106,44,0.22);
  --steel:       #93B7CA;   /* cool counter-accent, used sparingly */

  /* type */
  --f-sans:  'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* rhythm */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1320px;
  --section-y: clamp(5.5rem, 13vh, 11rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Base ----------------------------------------------------------------*/
body {
  background: var(--void);
  color: var(--text);
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* selection */
::selection { background: var(--ember); color: #0a0a0a; }

/* grain + vignette atmosphere over the whole page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background: radial-gradient(120% 90% at 50% -10%, transparent 55%, rgba(0,0,0,0.55) 100%);
}

/* ---- Layout primitives ---------------------------------------------------*/
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3.5rem, 8vh, 6rem); }

main { position: relative; z-index: 2; }

/* engineering rule — full-bleed hairline with index ticks */
.rule { position: relative; height: 1px; background: var(--line); }

/* a faint vertical guide system for the "spec drawing" feel */
.section > .wrap { position: relative; }

/* ---- Section header pattern ---------------------------------------------*/
.shead { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: inline-flex; align-items: center; gap: 0.85em;
}
.eyebrow .idx { color: var(--ember); }
.eyebrow::before {
  content: ""; width: 1.8em; height: 1px; background: var(--line-strong);
  display: inline-block;
}
.shead h2 {
  font-family: var(--f-sans);
  font-weight: 700;
  font-stretch: 112%;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 19ch;
  color: var(--text);
}
.shead h2 em { font-style: normal; color: var(--ember); }
.shead p.lede {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.32rem);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 56ch;
}

/* ---- Type helpers --------------------------------------------------------*/
.mono { font-family: var(--f-mono); }
.serif-italic { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---- Buttons -------------------------------------------------------------*/
.btn {
  --bg: var(--ember); --fg: #0a0a0a; --bd: var(--ember);
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--f-mono);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 1.02em 1.5em;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: 2px;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.3s;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -12px var(--ember-glow); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost {
  --bg: transparent; --fg: var(--text); --bd: var(--line-strong);
}
.btn--ghost:hover { --bd: var(--text-dim); box-shadow: none; background: rgba(255,255,255,0.025); }

.lnk {
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); display: inline-flex; align-items: center; gap: 0.6em;
  transition: color 0.3s, gap 0.3s;
}
.lnk:hover { color: var(--ember); gap: 0.9em; }

/* ============================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(0.9rem, 1.6vw, 1.4rem) var(--gutter);
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(8,9,11,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.7em; z-index: 2; }
.brand .glyph {
  width: 26px; height: 26px; flex: none;
}
.brand .word {
  font-family: var(--f-sans); font-weight: 700; font-stretch: 115%;
  font-size: 1.06rem; letter-spacing: -0.02em; color: var(--text);
}
.brand .word b { color: var(--ember); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: clamp(1.4rem, 2.2vw, 2.4rem); }
.nav-links a {
  font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim);
  position: relative; padding-block: 0.4em;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ember); transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: inline-flex; align-items: center; gap: 1.4rem; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links, .nav-cta .btn { display: none; }
}

/* ============================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 18vh;
  overflow: hidden;
}
#lattice { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { /* fade the canvas into content */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(80% 55% at 22% 38%, rgba(255,106,44,0.07), transparent 60%),
    linear-gradient(180deg, rgba(8,9,11,0.30) 0%, rgba(8,9,11,0.0) 22%, rgba(8,9,11,0.55) 78%, var(--void) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(2rem, 5vh, 4rem); }

.hero-eyebrow {
  font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 0.9em; margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ember);
  box-shadow: 0 0 0 0 var(--ember-glow); animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,106,44,0.5); }
  50% { box-shadow: 0 0 0 7px rgba(255,106,44,0); }
}

.hero h1 {
  font-family: var(--f-sans);
  font-weight: 800;
  font-stretch: 120%;
  font-size: clamp(2.7rem, 1.1rem + 7.4vw, 7.4rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 16ch;
  text-wrap: balance;
}
.hero h1 .em { color: var(--ember); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }

.hero-sub {
  margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
  font-size: clamp(1.08rem, 1rem + 0.7vw, 1.42rem);
  line-height: 1.5; color: var(--text-dim);
  max-width: 60ch;
}
.hero-sub b { color: var(--text); font-weight: 600; }

.hero-actions { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* hero stat ribbon */
.ribbon {
  margin-top: clamp(2.8rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.ribbon .cell {
  padding: clamp(1.1rem,2.2vw,1.6rem) 1.5rem;
  border-right: 1px solid var(--line);
}
.ribbon .cell:first-child { padding-left: 0; }
.ribbon .cell:last-child { border-right: 0; padding-right: 0; }
.ribbon .n {
  font-family: var(--f-sans); font-weight: 700; font-stretch: 105%;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.5rem); line-height: 1;
  letter-spacing: -0.02em; color: var(--text); display: block;
}
.ribbon .n .u { color: var(--ember); }
.ribbon .l {
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--text-faint); margin-top: 0.7em; display: block;
}
@media (max-width: 760px) {
  .ribbon { grid-template-columns: 1fr 1fr; }
  .ribbon .cell:nth-child(2) { border-right: 0; }
  .ribbon .cell { border-bottom: 1px solid var(--line); }
}

.scrollcue {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  z-index: 3; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-faint);
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.8em;
}
@media (max-width: 980px) { .scrollcue { display: none; } }
.scrollcue .bar { width: 1px; height: 38px; background: linear-gradient(var(--text-faint), transparent); overflow: hidden; position: relative; }
.scrollcue .bar::after { content:""; position:absolute; inset:0; background: var(--ember); animation: drop 2.4s var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(-100%);} 60%,100%{ transform: translateY(100%);} }

/* ============================================================================
   STAKES
   ========================================================================= */
.stakes { background: linear-gradient(180deg, var(--void), var(--void-2)); }
.stakes-statement {
  font-family: var(--f-sans); font-weight: 600; font-stretch: 108%;
  font-size: clamp(1.7rem, 1rem + 3vw, 3.4rem); line-height: 1.08;
  letter-spacing: -0.025em; max-width: 22ch; color: var(--text);
}
.stakes-statement .dim { color: var(--text-ghost); }
.stakes-statement em { font-style: normal; color: var(--ember); }

.stakes-grid {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.stat {
  grid-column: span 3; background: var(--void-2);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 0.6rem; min-height: 200px;
  position: relative; transition: background 0.4s;
}
.stat:hover { background: var(--surface); }
.stat .big {
  font-family: var(--f-sans); font-weight: 800; font-stretch: 100%;
  font-size: clamp(2rem, 1.1rem + 2.4vw, 3.3rem); line-height: 0.96;
  letter-spacing: -0.03em; color: var(--text);
}
.stat .big .u { color: var(--ember); font-size: 0.62em; vertical-align: 0.06em; }
.stat .cap { font-size: 0.98rem; color: var(--text-dim); line-height: 1.45; margin-top: auto; }
.stat .src { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.06em; color: var(--text-ghost); text-transform: uppercase; }
@media (max-width: 980px) { .stat { grid-column: span 6; } }
@media (max-width: 560px) { .stat { grid-column: span 12; } }

.epigraph {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  border-left: 2px solid var(--ember);
  padding-left: clamp(1.5rem, 4vw, 3rem);
  max-width: 40ch;
}
.epigraph blockquote {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.6rem); line-height: 1.22;
  color: var(--text); letter-spacing: -0.01em;
}
.epigraph cite {
  display: block; margin-top: 1.4rem; font-family: var(--f-mono); font-style: normal;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint);
}

/* ============================================================================
   ASCENT — seven levels of mastery
   ========================================================================= */
.ascent { background: var(--void-2); }
.ladder { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.level {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 16ch) 1fr auto;
  align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.3rem, 2.4vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
  cursor: default; position: relative;
  transition: background 0.45s var(--ease), padding 0.4s var(--ease);
}
.level::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: linear-gradient(90deg, var(--ember-glow), transparent);
  transition: width 0.5s var(--ease); pointer-events: none;
}
.level:hover { background: rgba(255,255,255,0.018); }
.level:hover::before { width: 40%; }
.level .lv-no {
  font-family: var(--f-mono); font-size: 0.9rem; color: var(--text-faint);
  letter-spacing: 0.05em;
}
.level .lv-no b { color: var(--ember); font-weight: 500; }
.level .lv-name {
  font-family: var(--f-sans); font-weight: 700; font-stretch: 110%;
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.7rem); letter-spacing: -0.02em;
  line-height: 1.05; color: var(--text); transition: color 0.3s;
}
.level:hover .lv-name { color: var(--ember-bright); }
.level .lv-desc { color: var(--text-dim); font-size: 1rem; line-height: 1.5; max-width: 52ch; }
.level .lv-desc .tag { color: var(--text-faint); font-family: var(--f-mono); font-size: 0.78rem; }
.level .lv-meter { width: clamp(60px, 10vw, 130px); height: 4px; background: var(--line); position: relative; overflow: hidden; }
.level .lv-meter i { position: absolute; inset: 0; right: auto; background: var(--ember); width: var(--fill,0%); transition: width 1s var(--ease); }
@media (max-width: 860px) {
  .level { grid-template-columns: 3.2rem 1fr; grid-auto-rows: auto; row-gap: 0.5rem; }
  .level .lv-desc { grid-column: 1 / -1; }
  .level .lv-meter { grid-column: 2; justify-self: start; }
}
.ascent-foot {
  margin-top: clamp(2rem,4vw,3rem); display: flex; flex-wrap: wrap; gap: 1.2rem 2rem;
  align-items: center; justify-content: space-between;
}
.ascent-foot .note { font-family: var(--f-mono); font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.04em; max-width: 48ch; line-height: 1.6; }

/* ============================================================================
   METHOD — ChipReady AI
   ========================================================================= */
.method { background: linear-gradient(180deg, var(--void-2), var(--void)); }
.method-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mcard {
  grid-column: span 6; background: var(--void);
  padding: clamp(1.8rem, 3.4vw, 3rem);
  display: flex; flex-direction: column; gap: 1rem; min-height: 280px;
  position: relative; overflow: hidden; transition: background 0.4s;
}
.mcard:hover { background: var(--surface); }
.mcard .mno { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--ember); text-transform: uppercase; }
.mcard h3 {
  font-family: var(--f-sans); font-weight: 700; font-stretch: 108%;
  font-size: clamp(1.3rem, 1rem + 1vw, 1.85rem); letter-spacing: -0.02em; line-height: 1.1; color: var(--text);
}
.mcard p { color: var(--text-dim); line-height: 1.55; font-size: 1.02rem; }
.mcard .glow { position: absolute; width: 280px; height: 280px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, var(--ember-glow), transparent 70%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.mcard:hover .glow { opacity: 1; }
@media (max-width: 760px) { .mcard { grid-column: span 12; } }

.method-foot {
  margin-top: 1.5rem; font-family: var(--f-mono); font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-ghost);
  display: flex; align-items: center; gap: 0.8em;
}
.method-foot .pip { width: 5px; height: 5px; background: var(--steel); border-radius: 50%; }

/* ============================================================================
   ACADEMY — disciplines
   ========================================================================= */
.disc-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.disc {
  grid-column: span 4; background: var(--void);
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  min-height: 260px; display: flex; flex-direction: column;
  position: relative; transition: background 0.4s; overflow: hidden;
}
.disc:hover { background: var(--surface); }
.disc .dno { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--text-faint); }
.disc h3 {
  font-family: var(--f-sans); font-weight: 700; font-stretch: 106%;
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.1;
  margin-top: 0.9rem; color: var(--text);
}
.disc p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; margin-top: 0.7rem; }
.disc .roles { margin-top: auto; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.disc .roles span {
  font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.04em;
  color: var(--text-faint); border: 1px solid var(--line-strong); padding: 0.32em 0.6em; border-radius: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.disc:hover .roles span { color: var(--text-dim); border-color: var(--line-strong); }
.disc--frontier { background: linear-gradient(160deg, rgba(255,106,44,0.06), var(--void) 60%); }
.disc--frontier h3 { color: var(--ember-bright); }
.disc .soon { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); border:1px solid var(--ember); padding: 0.2em 0.5em; border-radius: 2px; align-self: flex-start; }
@media (max-width: 980px) { .disc { grid-column: span 6; } }
@media (max-width: 560px) { .disc { grid-column: span 12; min-height: auto; } }

.academy-strip { margin-top: clamp(2.5rem,5vw,4rem); display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.academy-strip .c { background: var(--void); padding: clamp(1.2rem,2.4vw,1.8rem); }
.academy-strip .c .n { display: block; font-family: var(--f-sans); font-weight: 800; font-size: clamp(1.6rem,1rem+1.6vw,2.4rem); letter-spacing: -0.02em; line-height: 1; color: var(--text); }
.academy-strip .c .n .u { color: var(--ember); }
.academy-strip .c .l { display: block; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-top: 0.6rem; }
@media (max-width: 700px){ .academy-strip{ grid-template-columns: 1fr 1fr; } }

/* ============================================================================
   PROMISE — experiential + jobs
   ========================================================================= */
.promise { background: var(--void); position: relative; }
.promise-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.promise-lead .big {
  font-family: var(--f-sans); font-weight: 800; font-stretch: 116%;
  font-size: clamp(2.2rem, 1.2rem + 4vw, 5rem); line-height: 0.98; letter-spacing: -0.035em; color: var(--text);
}
.promise-lead .big em { font-style: normal; color: var(--ember); }
.promise-lead p { margin-top: 1.8rem; color: var(--text-dim); font-size: clamp(1.05rem,1rem+0.4vw,1.25rem); line-height: 1.55; max-width: 48ch; }
.pipeline { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pstep { background: var(--void); padding: clamp(1.2rem,2.4vw,1.7rem); display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; transition: background 0.4s; }
.pstep:hover { background: var(--surface); }
.pstep .s-no { font-family: var(--f-mono); color: var(--ember); font-size: 0.8rem; padding-top: 0.2rem; }
.pstep h4 { font-family: var(--f-sans); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--text); }
.pstep p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; margin-top: 0.3rem; }
@media (max-width: 880px){ .promise-inner{ grid-template-columns: 1fr; } }

/* ============================================================================
   COALITION
   ========================================================================= */
.coalition { background: linear-gradient(180deg, var(--void), var(--void-2)); }
.coal-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.coal-copy h2 { font-family: var(--f-sans); font-weight: 700; font-stretch: 110%; font-size: clamp(1.7rem,1rem+2.6vw,3rem); line-height: 1.05; letter-spacing: -0.025em; color: var(--text); max-width: 16ch; }
.coal-copy p { margin-top: 1.4rem; color: var(--text-dim); line-height: 1.55; max-width: 46ch; }
.coal-copy .endorse { margin-top: 2rem; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; line-height: 1.9; color: var(--text-faint); }
.coal-copy .endorse b { color: var(--text-dim); font-weight: 500; }

.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logos .lg {
  background: var(--void-2); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1rem;
  font-family: var(--f-sans); font-weight: 700; font-stretch: 108%; letter-spacing: -0.01em;
  font-size: clamp(0.85rem, 0.7rem + 0.6vw, 1.15rem); color: var(--text-dim);
  transition: color 0.4s, background 0.4s; position: relative;
}
.logos .lg span { font-family: var(--f-mono); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.1em; color: var(--text-ghost); text-transform: uppercase; display:block; margin-top: 0.35rem; }
.logos .lg:hover { color: var(--text); background: var(--surface); }
@media (max-width: 620px){ .logos{ grid-template-columns: 1fr 1fr; } .coal-grid{ grid-template-columns: 1fr; } }

/* ============================================================================
   CALL — investor
   ========================================================================= */
.call { position: relative; overflow: hidden; background: var(--void-2); border-top: 1px solid var(--line); }
.call::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 120% at 50% 130%, var(--ember-glow), transparent 60%);
}
.call .wrap { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: clamp(1.6rem,3vw,2.4rem); }
.call h2 {
  font-family: var(--f-sans); font-weight: 800; font-stretch: 122%;
  font-size: clamp(2.4rem, 1.2rem + 5.4vw, 6rem); line-height: 0.96; letter-spacing: -0.04em;
  max-width: 18ch; color: var(--text); text-wrap: balance;
}
.call h2 em { font-style: normal; color: var(--ember); }
.call p { color: var(--text-dim); font-size: clamp(1.08rem,1rem+0.6vw,1.4rem); max-width: 52ch; line-height: 1.55; }
.call .actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 0.6rem; }

/* ============================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--void); border-top: 1px solid var(--line); padding-block: clamp(3rem,6vw,5rem) 2.5rem; position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer .brand { margin-bottom: 1.2rem; }
.footer .tag { color: var(--text-faint); font-size: 0.92rem; line-height: 1.6; max-width: 34ch; }
.fcol h5 { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.1rem; }
.fcol a { display: block; color: var(--text-dim); font-size: 0.92rem; padding-block: 0.32em; transition: color 0.3s; }
.fcol a:hover { color: var(--ember); }
.footer-bottom { margin-top: clamp(2.5rem,5vw,4rem); padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-bottom .colophon { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--text-ghost); line-height: 1.7; }
.footer-bottom .colophon b { color: var(--text-faint); font-weight: 400; }
@media (max-width: 760px){ .footer-top{ grid-template-columns: 1fr 1fr; } }

/* ============================================================================
   REVEAL ANIMATIONS
   ========================================================================= */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: 0.08s; }
[data-reveal][data-d="2"] { transition-delay: 0.16s; }
[data-reveal][data-d="3"] { transition-delay: 0.24s; }
[data-reveal][data-d="4"] { transition-delay: 0.32s; }
[data-reveal][data-d="5"] { transition-delay: 0.40s; }

/* hero load stagger */
.hero [data-load] { opacity: 0; transform: translateY(28px); }
.hero.is-ready [data-load] { animation: rise 1s var(--ease-out) forwards; }
.hero.is-ready [data-load][data-d="0"]{ animation-delay: 0.05s; }
.hero.is-ready [data-load][data-d="1"]{ animation-delay: 0.18s; }
.hero.is-ready [data-load][data-d="2"]{ animation-delay: 0.34s; }
.hero.is-ready [data-load][data-d="3"]{ animation-delay: 0.50s; }
.hero.is-ready [data-load][data-d="4"]{ animation-delay: 0.64s; }
.hero.is-ready [data-load][data-d="5"]{ animation-delay: 0.82s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .hero [data-load] { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .hero-eyebrow .dot, .scrollcue .bar::after { animation: none !important; }
}

/* ============================================================================
   MOBILE NAV MENU
   ========================================================================= */
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 2px;
  cursor: pointer; z-index: 60; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--text); transition: transform 0.35s var(--ease), opacity 0.25s; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(8,9,11,0.98);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; gap: 0.4rem;
  padding: var(--gutter);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-overlay a {
  font-family: var(--f-sans); font-weight: 700; font-stretch: 110%;
  font-size: clamp(1.8rem, 7vw, 2.6rem); letter-spacing: -0.02em; color: var(--text);
  padding: 0.35em 0; border-bottom: 1px solid var(--line); transition: color 0.3s, padding-left 0.3s;
  display: flex; align-items: baseline; gap: 0.7em;
}
.nav-overlay a .i { font-family: var(--f-mono); font-size: 0.7rem; color: var(--ember); font-weight: 400; }
.nav-overlay a:hover { color: var(--ember); padding-left: 0.4em; }
.nav-overlay .ov-cta { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.nav-overlay .ov-cta a { font-size: 0.78rem; border: 0; padding: 0; }
@media (max-width: 880px) { .nav-toggle { display: flex; } }

/* ============================================================================
   COALITION — partner wall (category on top, monochrome wordmarks)
   ========================================================================= */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 4rem); }
.pt { background: var(--void-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: clamp(1.5rem,2.8vw,2.3rem) 1rem; min-height: 138px; text-align: center; position: relative; transition: background 0.4s; }
.pt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ember); transform: scaleX(0); transform-origin: center; transition: transform 0.45s var(--ease); }
.pt:hover { background: var(--surface); }
.pt:hover::after { transform: scaleX(1); }
.pt .cat { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); transition: color 0.4s; }
.pt:hover .cat { color: var(--ember); }
.pt .mk { font-family: var(--f-sans); font-weight: 700; font-stretch: 110%; font-size: clamp(0.98rem, 0.8rem + 0.55vw, 1.3rem); letter-spacing: -0.015em; color: var(--text-dim); line-height: 1.08; transition: color 0.4s; }
.pt:hover .mk { color: var(--text); }
@media (max-width: 900px){ .partners{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 540px){ .partners{ grid-template-columns: repeat(2,1fr); } }

.coal-endorse { margin-top: clamp(1.8rem,3.5vw,2.6rem); font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.03em; line-height: 2; color: var(--text-faint); }
.coal-endorse .ee { color: var(--text-ghost); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.64rem; margin-right: 0.9em; }
.coal-endorse b { color: var(--text-dim); font-weight: 500; }

/* footer build signature */
.fb-row { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-bottom .colophon.sig { flex: 1 1 100%; margin-top: 0.9rem; display: inline-flex; align-items: center; gap: 0.1em; opacity: 0.85; }
.sig .by { color: var(--text-dim); }
.sig .cur { width: 0.5em; height: 1.02em; background: var(--ember); margin-left: 0.4em; display: inline-block; animation: cursor-blink 1.06s step-end infinite; }
@keyframes cursor-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sig .cur { animation: none; } }

