/* ==========================================================================
   fire.love — main stylesheet
   ========================================================================== */

:root {
  --bg: #0a0807;
  --bg-elev: #100c0a;
  --surface: #16110e;
  --surface-2: #1d1713;
  --line: rgba(255, 226, 206, 0.08);
  --line-strong: rgba(255, 226, 206, 0.16);
  --text: #f7efe9;
  --text-2: #c7bab0;
  --muted: #918379;
  --ember: #ff5a1f;
  --amber: #ffb547;
  --flare: #ff3358;
  --grad: linear-gradient(100deg, #ff3358 0%, #ff5a1f 45%, #ffb547 100%);

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 68px;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* subtle film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: rgba(255, 90, 31, 0.4); color: #fff; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: 500 15.5px/1 var(--font-sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 18px; }

.btn--primary {
  background: var(--grad);
  color: #1c0b04;
  box-shadow: 0 0 0 1px rgba(255, 150, 90, 0.35) inset, 0 12px 40px -12px rgba(255, 90, 31, 0.7);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 190, 130, 0.5) inset, 0 18px 50px -12px rgba(255, 90, 31, 0.9);
}

.btn--ghost {
  background: rgba(255, 240, 230, 0.04);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--line-strong) inset;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 240, 230, 0.09); }

/* ---------- Eyebrow & section heads ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 12.5px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section {
  position: relative;
  padding-block: clamp(80px, 10vw, 136px);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head h2 {
  margin: 20px 0 20px;
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.section-head p {
  max-width: 640px;
  color: var(--text-2);
  font-size: clamp(17px, 1.4vw, 19px);
  text-wrap: pretty;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.nav.is-scrolled,
.menu-open .nav {
  background: rgba(10, 8, 7, 0.74);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__word {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.brand__dot {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links {
  display: flex;
  gap: 28px;
}
.nav__links a {
  position: relative;
  color: var(--text-2);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.menu-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
  }
  .menu-open .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s;
  }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a {
    display: block;
    padding: 14px 0;
    font-size: 20px;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav__cta { --h: 50px; margin-top: 16px; font-size: 16px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: max(720px, 100svh);
  padding-top: clamp(140px, 21vh, 210px);
  padding-bottom: 80px;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 66%);
  mask-image: linear-gradient(to bottom, transparent 30%, #000 66%);
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: 64%;
  z-index: -2;
  width: min(1500px, 180vw);
  aspect-ratio: 2.2 / 1;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, rgba(255, 110, 40, 0.34), rgba(255, 51, 88, 0.12) 48%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  /* bottom fade into page */
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 240, 230, 0.04);
  box-shadow: 0 0 0 1px var(--line-strong) inset;
  color: var(--text-2);
  font: 500 13px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: color 0.2s, background-color 0.2s;
}
.pill:hover { color: var(--text); background: rgba(255, 240, 230, 0.08); }
.pill__sep { color: var(--muted); }
.pill__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember);
}
.pill__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--ember);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
  max-width: 13ch;
  margin: 28px 0 26px;
  font-size: clamp(46px, 7.6vw, 104px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.048em;
  text-wrap: balance;
}
.hero__lede {
  max-width: 680px;
  margin-bottom: 38px;
  color: var(--text-2);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 24px;
  height: 38px;
  margin-left: -12px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line-strong) inset;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 2px;
  height: 8px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--amber);
  animation: scrollcue 2s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-elev);
  -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 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; }
.marquee__list li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 28px 22px 0;
  color: var(--text-2);
  font: 400 14px/1 var(--font-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.marquee__list li::after {
  content: "";
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--ember);
  opacity: 0.8;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elev) 100%);
  overflow: hidden;
  transition: border-color 0.35s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 90, 31, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover { border-color: rgba(255, 130, 70, 0.32); }
.card:hover::before { opacity: 1; }

.card__num {
  position: absolute;
  top: 30px;
  right: 28px;
  color: var(--muted);
  font: 400 12.5px/1 var(--font-mono);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 56px;
  border-radius: 12px;
  border: 1px solid rgba(255, 130, 70, 0.22);
  background: rgba(255, 90, 31, 0.08);
  color: var(--amber);
}
.card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.022em;
}
.card p {
  margin-bottom: 26px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
}
.card ul {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font: 400 13px/1.4 var(--font-mono);
}
.card li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--ember);
}

/* ---------- Stack ---------- */

.stack {
  background:
    radial-gradient(60% 50% at 20% 60%, rgba(255, 90, 31, 0.07), transparent 70%),
    var(--bg);
}
.stack__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
@media (max-width: 900px) {
  .stack__grid { grid-template-columns: 1fr; }
  .stack__visual { max-width: 460px; margin-inline: auto; width: 100%; }
}

.stack__visual {
  --gap: clamp(26px, 5.4vw, 46px);
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.02;
}
.iso {
  position: relative;
  width: 58%;
  aspect-ratio: 1;
  margin-top: 46%;
  transform: rotateX(58deg) rotateZ(-45deg);
  transform-style: preserve-3d;
}
.slab {
  --i: 0;
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 210, 185, 0.16);
  background-color: rgba(24, 19, 16, 0.78);
  background-image:
    linear-gradient(rgba(255, 220, 200, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 220, 200, 0.06) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
  transform: translateZ(calc(var(--i) * var(--gap)));
  transition: transform 0.6s var(--ease), border-color 0.45s, background-color 0.45s, box-shadow 0.45s;
}
.slab--1 { --i: 0; }
.slab--2 {
  --i: 1;
  background-image: repeating-linear-gradient(90deg, rgba(255, 200, 170, 0.12) 0 6%, transparent 6% 12.5%);
  background-size: auto;
}
.slab--3 {
  --i: 2;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 200, 170, 0.08) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, rgba(255, 200, 170, 0.08) 0 1px, transparent 1px 14px);
  background-size: auto;
}
.slab--4 {
  --i: 3;
  background-image: radial-gradient(rgba(255, 210, 185, 0.22) 1.2px, transparent 1.6px);
  background-size: 11.1% 11.1%;
}
.slab--5 {
  --i: 4;
  background-image:
    linear-gradient(rgba(255, 220, 200, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 220, 200, 0.08) 1px, transparent 1px);
  background-size: 25% 25%;
}
.slab--6 {
  --i: 5;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 150, 90, 0.18), transparent 60%);
  background-size: auto;
}
.slab.is-active {
  transform: translateZ(calc(var(--i) * var(--gap) + 20px));
  border-color: rgba(255, 150, 90, 0.9);
  background-color: rgba(70, 26, 12, 0.82);
  box-shadow:
    0 0 0 1px rgba(255, 90, 31, 0.45),
    0 0 60px rgba(255, 90, 31, 0.45),
    inset 0 0 40px rgba(255, 90, 31, 0.25);
}

.stack__list { border-top: 1px solid var(--line); }
.layer {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  cursor: default;
}
.layer::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 1px;
  background: var(--grad);
  transition: width 0.7s var(--ease);
}
.layer.is-active::before { width: 100%; }
.layer__num {
  padding-top: 5px;
  color: var(--muted);
  font: 400 13px/1 var(--font-mono);
  transition: color 0.3s;
}
.layer__name {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.layer__desc {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
  transition: color 0.3s;
}
.layer.is-active .layer__num { color: var(--amber); }
.layer.is-active .layer__desc { color: var(--text-2); }
html:not(.js) .layer__desc { color: var(--text-2); }

/* ---------- Approach ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 48px; } }

.step__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.step__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 130, 70, 0.4);
  background: rgba(255, 90, 31, 0.08);
  color: var(--amber);
  font: 500 13px/1 var(--font-mono);
}
.step__rule {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}
.step__rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) 0.3s;
}
.step.is-in .step__rule::after,
html:not(.js) .step__rule::after { transform: scaleX(1); }

.step h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.step p {
  margin-bottom: 24px;
  color: var(--text-2);
  font-size: 16px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  font: 400 12.5px/1 var(--font-mono);
}

/* ---------- Density / Data centers ---------- */

.density {
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 85% 50%, rgba(255, 90, 31, 0.1), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 50%, var(--bg) 100%);
  border-block: 1px solid var(--line);
}
.density__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
@media (max-width: 960px) { .density__grid { grid-template-columns: 1fr; } }
.density__head { margin-bottom: 0; }
.density__note {
  margin-top: 24px;
  color: var(--muted) !important;
  font: 400 12.5px/1.5 var(--font-mono) !important;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 12px;
  padding: clamp(22px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat__value {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat__value span {
  margin-left: 0.08em;
  font-size: 0.42em;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__value .stat__pre { margin: 0 0.06em 0 0; font-size: 0.6em; }
.stat__label {
  color: var(--muted);
  font: 400 13px/1.45 var(--font-mono);
}

/* ---------- Statement ---------- */

.statement {
  padding-block: clamp(100px, 15vw, 200px);
}
.statement__text {
  max-width: 22ch;
  font-size: clamp(36px, 5.6vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.statement__text em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.statement__text .w {
  color: rgba(247, 239, 233, 0.16);
  transition: color 0.5s var(--ease);
}
.statement__text .w.is-on { color: var(--text); }
.statement__text .w.hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.22;
  transition: opacity 0.5s var(--ease);
}
.statement__text .w.hl.is-on { opacity: 1; }

/* ---------- Solutions ---------- */

.solutions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .solutions { grid-template-columns: 1fr; } }

.solution {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  row-gap: 10px;
  padding: 36px 32px 40px 0;
  border-bottom: 1px solid var(--line);
}
.solution:nth-child(odd) { padding-right: clamp(24px, 4vw, 56px); }
.solution:nth-child(even) {
  padding-left: clamp(24px, 4vw, 56px);
  border-left: 1px solid var(--line);
}
@media (max-width: 760px) {
  .solution:nth-child(n) { padding: 28px 0 32px; border-left: 0; }
}
.solution::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.solution:hover::before { transform: scaleX(1); }
.solution__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  color: var(--amber);
  font: 500 13px/1 var(--font-mono);
}
.solution h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.solution p { color: var(--text-2); font-size: 16px; }

/* ---------- Data commitment ---------- */

.pledge { padding-top: 0; }
.pledge__card {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 88px);
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(70% 110% at 0% 0%, rgba(255, 90, 31, 0.13), transparent 62%),
    var(--bg-elev);
  overflow: hidden;
}
.pledge__glyph {
  position: absolute;
  top: -0.2em;
  right: 0.06em;
  z-index: -1;
  font-size: clamp(220px, 30vw, 420px);
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
}
.pledge__title {
  margin-top: 20px;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.pledge__quote {
  display: grid;
  gap: clamp(18px, 2.6vw, 26px);
  margin: clamp(32px, 5vw, 56px) 0 0;
}
.pledge__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(16px, 2.4vw, 28px);
  max-width: 900px;
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.pledge__item em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pledge__icon {
  display: grid;
  place-items: center;
  width: clamp(36px, 3.6vw, 44px);
  height: clamp(36px, 3.6vw, 44px);
  margin-top: -0.04em;
  border-radius: 12px;
  border: 1px solid rgba(255, 130, 70, 0.24);
  background: rgba(255, 90, 31, 0.08);
  color: var(--amber);
}
.pledge__icon svg {
  width: 55%;
  height: 55%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pledge__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font: 500 14px/1.4 var(--font-mono);
  letter-spacing: 0.02em;
}
.pledge__by img { width: 22px; height: 22px; }

/* ---------- Principles ---------- */

.principles { padding-top: 0; }
.principles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .principles__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .principles__grid { grid-template-columns: 1fr; } }

.principle {
  position: relative;
  padding: 28px 24px 30px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.principle::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.principle h3 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.principle p { color: var(--text-2); font-size: 15.5px; }

/* ---------- CTA ---------- */

.cta { padding-bottom: clamp(72px, 10vw, 128px); }
.cta__panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 64px);
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(255, 140, 80, 0.2);
  background:
    linear-gradient(rgba(255, 220, 200, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 220, 200, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg-elev);
  text-align: center;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  left: 50%;
  bottom: -55%;
  z-index: -1;
  width: 130%;
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.45), rgba(255, 51, 88, 0.16) 50%, transparent 75%);
  pointer-events: none;
}
.cta h2 {
  margin: 22px 0 22px;
  font-size: clamp(38px, 5.6vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.cta p {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--text-2);
  font-size: clamp(17px, 1.4vw, 19px);
}
.cta__checklist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.cta__checklist li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 8, 7, 0.5);
  color: var(--text-2);
  font: 400 12.5px/1 var(--font-mono);
}
.cta__checklist li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-top: 72px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
}
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand p {
  max-width: 340px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__heading {
  margin: 0 0 16px;
  color: var(--muted);
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer__cols ul { display: grid; gap: 10px; }
.footer__cols a {
  color: var(--text-2);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__cols a:hover { color: var(--text); }

.footer__word {
  margin: clamp(48px, 8vw, 96px) 0 -0.2em;
  font-size: clamp(88px, 21vw, 300px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.065em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 110, 50, 0.32), rgba(255, 90, 31, 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__base-wrap {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding-block: 24px 32px;
  color: var(--muted);
  font: 400 13px/1.4 var(--font-mono);
}
.footer__top-link { color: var(--muted); text-decoration: none; }
.footer__top-link:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-delay="1"] { --d: 0.08s; }
[data-delay="2"] { --d: 0.16s; }
[data-delay="3"] { --d: 0.24s; }

/* ---------- 404 ---------- */

.notfound {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 60px;
  text-align: center;
  overflow: hidden;
}
.notfound__code {
  font: 500 14px/1 var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--amber);
}
.notfound h1 {
  margin: 20px 0 16px;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}
.notfound p { margin-bottom: 32px; color: var(--text-2); font-size: 18px; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .statement__text .w { color: var(--text); }
  .statement__text .w.hl { opacity: 1; }
}
