/* ============================================================
   LITHORA — site.css
   Sections, components, visuals
   ============================================================ */

/* ---------- Ambient background ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.ambient::after {
  /* film grain */
  content: '';
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.blob-1 {
  width: 55vw; height: 55vw;
  top: -20vw; right: -15vw;
  background: radial-gradient(circle at 40% 40%, rgba(63, 168, 21, 0.22), transparent 65%);
  animation: drift1 26s ease-in-out infinite alternate;
}
.blob-2 {
  width: 45vw; height: 45vw;
  top: 60vh; left: -18vw;
  background: radial-gradient(circle at 60% 40%, rgba(194, 106, 46, 0.13), transparent 65%);
  animation: drift2 32s ease-in-out infinite alternate;
}
.blob-3 {
  width: 38vw; height: 38vw;
  top: 130vh; right: -10vw;
  background: radial-gradient(circle at 50% 50%, rgba(87, 197, 32, 0.1), transparent 65%);
  animation: drift1 40s ease-in-out infinite alternate-reverse;
}
@keyframes drift1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-6vw, 8vh, 0) scale(1.15); }
}
@keyframes drift2 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8vw, -6vh, 0) scale(0.9); }
}

/* ---------- Progress bar ---------- */
#progressBar {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--green-500), var(--green-300), var(--clay-400));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 200;
}

/* ---------- Nav ---------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: transform 0.4s var(--ease-out), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#nav.is-scrolled {
  background: rgba(6, 13, 7, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--surface-border);
}
#nav.is-hidden { transform: translateY(-100%); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 14px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img { height: 34px; width: 34px; }
.nav-brand .brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text);
}
.nav-links {
  display: flex;
  gap: 6px;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-links a.is-active { color: var(--green-300); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: flex;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.lang-toggle button {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  color: var(--text-faint);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.lang-toggle button.is-active {
  color: var(--ink-950);
  background: var(--green-300);
  font-weight: 600;
}
.lang-toggle button:not(.is-active):hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-med), background var(--dur-fast), color var(--dur-fast);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: linear-gradient(120deg, var(--green-400), var(--green-500) 60%, var(--green-600));
  color: #052005;
  box-shadow: 0 0 0 0 rgba(87, 197, 32, 0.4), 0 10px 34px -10px rgba(87, 197, 32, 0.55);
}
.btn-primary:hover {
  box-shadow: 0 0 0 5px rgba(87, 197, 32, 0.14), 0 14px 44px -8px rgba(87, 197, 32, 0.6);
}
.btn-ghost {
  border: 1px solid var(--surface-border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,0.2); }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* ---------- Mobile menu ---------- */
#menuBtn {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  position: relative;
  z-index: 120;
}
#menuBtn span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  margin: 4px auto;
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast);
}
#menuBtn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#menuBtn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#menuBtn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

#mobileMenu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(6, 13, 7, 0.96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med), visibility var(--dur-med);
}
#mobileMenu.is-open { opacity: 1; visibility: visible; }
#mobileMenu a {
  font-family: var(--font-display);
  font-size: clamp(26px, 7vw, 38px);
  padding: 8px 20px;
  color: var(--text-dim);
  transition: color var(--dur-fast);
}
#mobileMenu a:hover { color: var(--green-300); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 110px;
  padding-bottom: 40px;
  overflow: hidden;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero::before {
  /* aurora wash */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 118%, rgba(63, 168, 21, 0.20), transparent 62%),
    radial-gradient(ellipse 45% 35% at 82% -8%, rgba(194, 106, 46, 0.10), transparent 60%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-200);
  border: 1px solid rgba(87, 197, 32, 0.3);
  background: rgba(87, 197, 32, 0.08);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 12px 2px rgba(87, 197, 32, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.72); opacity: 0.6; }
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 96px);
  margin-bottom: var(--space-3);
}
.hero h1 .grad {
  background: linear-gradient(105deg, var(--green-300) 10%, var(--green-400) 45%, var(--clay-400) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 600;
  padding-right: 0.06em;
}
.hero .lead {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: clamp(48px, 8vh, 84px);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--surface-border);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 880px;
  margin-inline: auto;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-stat {
  background: rgba(6, 13, 7, 0.55);
  padding: 22px 14px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.hero-stat .val { order: -1; }
.hero-stat .val {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--green-300);
  display: block;
  line-height: 1.1;
}
.hero-stat .val em { font-style: normal; font-size: 0.62em; }
.hero-stat .lbl {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-top: 6px;
  display: block;
}
.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 14px;
}
.scroll-hint::after {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--green-300);
  animation: scrollHint 2s var(--ease-inout) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Section headers ---------- */
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after {
  content: '';
  width: 26px; height: 1px;
  background: linear-gradient(270deg, transparent, var(--green-400));
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-top: 18px;
  margin-bottom: 18px;
}
.section-head h2 .hl { color: var(--green-300); font-style: italic; }
.section-head h2 .hl-clay { color: var(--clay-400); font-style: italic; }

/* ============================================================
   PROBLEM
   ============================================================ */
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: clamp(48px, 7vw, 90px);
}
.tile {
  position: relative;
  border: 1px solid var(--surface-border);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 30px 26px 26px;
  overflow: hidden;
  transition: border-color var(--dur-med), background var(--dur-med), transform var(--dur-med) var(--ease-out);
}
.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--glow-x, 50%) var(--glow-y, 0%), rgba(87, 197, 32, 0.09), transparent 65%);
  opacity: 0;
  transition: opacity var(--dur-med);
}
.tile:hover { border-color: rgba(87, 197, 32, 0.3); }
.tile:hover::before { opacity: 1; }
.tile .big {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.tile .big .unit { font-size: 0.48em; color: var(--green-300); }
.tile .big.warm .unit { color: var(--clay-400); }
.tile p { font-size: 14px; color: var(--text-dim); margin-top: 12px; line-height: 1.5; }
.tile .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 16px;
}

/* ---------- Chart panels ---------- */
.panel {
  border: 1px solid var(--surface-border);
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.panel-title {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 500;
  margin-bottom: 8px;
}
.panel-sub { font-size: 14.5px; color: var(--text-dim); max-width: 560px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

/* SCM decline chart */
.scm-chart { margin-top: 34px; }
.scm-legend {
  display: flex;
  gap: 22px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text-dim);
}
.scm-legend .key { display: inline-flex; align-items: center; gap: 8px; }
.scm-legend .swatch { width: 12px; height: 12px; border-radius: 3.5px; }
.swatch.ash { background: #C0662A; }
.swatch.slag { background: #9BA69F; }
.scm-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 3vw, 36px);
}
.scm-group { text-align: center; }
.scm-bars {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: center;
  height: 190px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--surface-border);
}
.scm-bar {
  width: clamp(30px, 4.5vw, 48px);
  border-radius: 4px 4px 0 0;
  position: relative;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1.1s var(--ease-out);
}
.is-visible .scm-bar { transform: scaleY(1); }
.scm-bar.ash { background: linear-gradient(180deg, #D98548, #C0662A); }
.scm-bar.slag { background: linear-gradient(180deg, #B9C4BE, #8E9992); }
.scm-bar .v {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}
.scm-year {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-top: 12px;
  display: block;
}
.scm-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--text-dim);
  border-left: 2px solid var(--clay-500);
  padding-left: 16px;
}
.scm-note strong { color: var(--clay-300); font-weight: 600; }

/* ============================================================
   SCIENCE
   ============================================================ */
.compo { margin-top: 10px; }
.compo-row { margin-bottom: 30px; }
.compo-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.compo-label .name { font-weight: 600; font-size: 15px; }
.compo-label .co2 {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
}
.compo-label .co2.good { color: var(--green-300); }
.compo-bar {
  display: flex;
  gap: 2px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
}
.compo-seg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
}
.is-visible .compo-seg { transform: scaleX(1); }
.compo-seg:nth-child(2) { transition-delay: 120ms; }
.compo-seg:nth-child(3) { transition-delay: 240ms; }
.compo-seg:nth-child(4) { transition-delay: 360ms; }
.compo-seg .s-lbl,
.compo-seg .s-pct {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(6, 13, 7, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-inline: 8px;
  font-weight: 600;
}
/* compact percentage label — used on narrow (mobile) bars in place of the full name */
.compo-seg .s-pct { display: none; }
.seg-clinker { background: #99A39E; }
.seg-clay { background: linear-gradient(120deg, #D98548, #C0662A); }
.seg-lime { background: #D8D2C2; }
.seg-gypsum { background: #77836F; }
.compo-key {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-dim);
}
.compo-key .key { display: inline-flex; align-items: center; gap: 7px; }
.compo-key .swatch { width: 11px; height: 11px; border-radius: 3px; }

/* Temperature duel */
.temp-duel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}
.temp-card {
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--surface-border);
  position: relative;
  overflow: hidden;
}
.temp-card.hot { background: linear-gradient(165deg, rgba(255, 90, 40, 0.13), rgba(255,255,255,0.02) 55%); }
.temp-card.cool { background: linear-gradient(165deg, rgba(87, 197, 32, 0.13), rgba(255,255,255,0.02) 55%); }
.temp-card .t {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 600;
  line-height: 1;
}
.temp-card.hot .t { color: var(--heat); }
.temp-card.cool .t { color: var(--green-300); }
.temp-card .t em { font-style: normal; font-size: 0.5em; }
.temp-card .who {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 14px;
}
.temp-card p { font-size: 13.5px; color: var(--text-dim); margin-top: 12px; }
.temp-meter {
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  margin-top: 18px;
  overflow: hidden;
}
.temp-meter i {
  display: block;
  height: 100%;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out) 0.2s;
}
.temp-card.hot .temp-meter i { width: 100%; background: linear-gradient(90deg, #FFB56B, var(--heat)); }
.temp-card.cool .temp-meter i { width: 55%; background: linear-gradient(90deg, var(--green-200), var(--green-400)); }
.is-visible .temp-meter i { transform: scaleX(1); }

.chem-note {
  margin-top: 34px;
  border: 1px solid rgba(87, 197, 32, 0.22);
  background: rgba(87, 197, 32, 0.05);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.chem-note svg { flex: none; width: 26px; height: 26px; color: var(--green-300); margin-top: 2px; }
.chem-note p { font-size: 15px; color: var(--text-dim); }
.chem-note p strong { color: var(--text); }

/* ============================================================
   PROCESS — sticky calcination scene
   ============================================================ */
.process-track { height: 420vh; position: relative; }
.process-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#calcCanvas { position: absolute; inset: 0; z-index: 0; }
.process-ui {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 96px;
  padding-bottom: 40px;
  pointer-events: none;
}
.process-head { text-align: center; }
.process-head .eyebrow::after {
  content: '';
  width: 26px; height: 1px;
  background: linear-gradient(270deg, transparent, var(--green-400));
}
.process-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  margin-top: 14px;
}
.temp-readout {
  position: absolute;
  top: 50%;
  right: clamp(16px, 6vw, 90px);
  transform: translateY(-50%);
  text-align: right;
  font-family: var(--font-mono);
}
.temp-readout .deg {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s;
}
.temp-readout.is-hot .deg { color: var(--heat); text-shadow: 0 0 34px rgba(255, 122, 61, 0.5); }
.temp-readout.is-done .deg { color: var(--green-300); text-shadow: 0 0 34px rgba(87, 197, 32, 0.4); }
.temp-readout .cap {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-top: 10px;
}
.process-steps {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
}
.pstep {
  flex: 1 1 170px;
  max-width: 220px;
  border: 1px solid var(--surface-border);
  background: rgba(6, 13, 7, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  opacity: 0.38;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out), border-color 0.4s;
}
.pstep.is-active {
  opacity: 1;
  transform: none;
  border-color: rgba(87, 197, 32, 0.45);
  box-shadow: 0 8px 30px -12px rgba(87, 197, 32, 0.25);
}
.pstep .n {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--green-300);
  display: block;
  margin-bottom: 7px;
}
.pstep h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 5px; }
.pstep p { font-size: 12px; color: var(--text-dim); line-height: 1.45; }

/* ============================================================
   WHY NOW — bento
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.bento .cell {
  border: 1px solid var(--surface-border);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-med);
}
.bento .cell:hover { border-color: rgba(87, 197, 32, 0.32); }
.cell-lg { grid-column: span 3; }
.cell-md { grid-column: span 2; }
.cell-sm { grid-column: span 2; }
.cell .icon-chip {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(87, 197, 32, 0.1);
  border: 1px solid rgba(87, 197, 32, 0.22);
  color: var(--green-300);
}
.cell .icon-chip.warm { background: rgba(217, 133, 72, 0.1); border-color: rgba(217, 133, 72, 0.26); color: var(--clay-400); }
.cell .icon-chip svg { width: 22px; height: 22px; }
.cell h3 { font-size: 17.5px; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.01em; }
.cell p { font-size: 14px; color: var(--text-dim); line-height: 1.55; }
.cell .kpi {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  color: var(--green-300);
  line-height: 1.05;
  margin-bottom: 10px;
}
.cell .kpi.warm { color: var(--clay-400); }

/* ============================================================
   BUSINESS MODEL
   ============================================================ */
.loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: loopstep;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.loop-step {
  position: relative;
  border: 1px solid var(--surface-border);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 26px 22px 22px;
  overflow: visible;
}
.loop-step::before {
  counter-increment: loopstep;
  content: counter(loopstep, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--green-300);
  display: block;
  margin-bottom: 14px;
}
.loop-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -14px;
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, var(--green-500), transparent);
}
.loop-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.loop-step p { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* Unit economics */
.econ { margin-top: 8px; }
.econ-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.econ-row .lbl { font-size: 14px; color: var(--text-dim); text-align: right; }
.econ-row .lbl strong { color: var(--text); display: block; font-size: 14.5px; }
.econ-track { position: relative; height: 44px; }
.econ-bar {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 13px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out);
}
.is-visible .econ-bar { transform: scaleX(1); }
.econ-bar .v {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(6, 13, 7, 0.85);
}
.econ-bar.b100 { width: 100%; background: linear-gradient(90deg, #B9C4BE, #99A39E); transition-delay: 0ms; }
.econ-bar.b75 { width: 75%; background: linear-gradient(90deg, #8FE06A, #57C520); transition-delay: 140ms; }
.econ-bar.b45 { width: 45%; background: linear-gradient(90deg, #3FA815, #2F8B10); transition-delay: 280ms; }
.econ-bar.b45 .v { color: rgba(240, 255, 235, 0.95); }
.econ-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}
.econ-note .chip {
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.econ-note .chip strong { display: block; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.chip.save { border: 1px dashed rgba(143, 224, 106, 0.4); background: rgba(87, 197, 32, 0.06); }
.chip.margin { border: 1px dashed rgba(217, 133, 72, 0.4); background: rgba(217, 133, 72, 0.06); }

/* Moat */
.moat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: clamp(44px, 6vw, 72px);
}
.moat .cell h3 { font-size: 16px; }

/* ============================================================
   ROADMAP
   ============================================================ */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-400), var(--green-600) 60%, rgba(87,197,32,0.1));
}
.t-item { position: relative; padding-bottom: clamp(30px, 4vw, 48px); }
.t-item:last-child { padding-bottom: 0; }
.t-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink-950);
  border: 2px solid var(--green-400);
  box-shadow: 0 0 0 5px rgba(87, 197, 32, 0.12);
}
.t-item .when {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-300);
}
.t-item h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  margin: 8px 0;
}
.t-item p { font-size: 14.5px; color: var(--text-dim); max-width: 620px; }
.t-item .t-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.t-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border: 1px solid var(--surface-border);
  background: rgba(255,255,255,0.03);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

.finance-strip {
  margin-top: clamp(44px, 6vw, 72px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 40px);
  background: linear-gradient(140deg, rgba(87, 197, 32, 0.06), rgba(255,255,255,0.015) 55%);
}
.finance-strip h3 { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; margin-bottom: 20px; }
.fin-split {
  display: flex;
  height: 40px;
  border-radius: 9px;
  overflow: hidden;
  gap: 2px;
  margin-bottom: 14px;
}
.fin-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: rgba(6, 13, 7, 0.85);
}
.fin-seg.grant { width: 30%; background: #8FE06A; }
.fin-seg.equity { width: 30%; background: #D8D2C2; }
.fin-seg.debt { width: 40%; background: #99A39E; }
.fin-key { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--text-dim); margin-bottom: 18px; }
.fin-key .key { display: inline-flex; align-items: center; gap: 7px; }
.fin-key .swatch { width: 11px; height: 11px; border-radius: 3px; }
.fin-sources { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   VISION / IMPACT
   ============================================================ */
.vision-wrap { text-align: center; max-width: 860px; margin-inline: auto; }
.impact-line {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 500;
  line-height: 1.25;
  margin-block: clamp(30px, 5vw, 54px);
}
.impact-line .num { color: var(--green-300); font-weight: 600; }
.region-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.region-chips .t-tag { font-size: 12px; padding: 8px 16px; }
.region-chips .t-tag.base { border-color: rgba(87, 197, 32, 0.5); color: var(--green-200); background: rgba(87, 197, 32, 0.08); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  position: relative;
  border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(48px, 7vw, 96px) clamp(26px, 5vw, 80px);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(87, 197, 32, 0.25);
  background:
    radial-gradient(ellipse 90% 130% at 50% 135%, rgba(63, 168, 21, 0.3), transparent 60%),
    radial-gradient(ellipse 55% 60% at 88% -10%, rgba(194, 106, 46, 0.16), transparent 60%),
    var(--ink-900);
}
.contact-card h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.2vw, 62px);
  font-weight: 500;
  line-height: 1.06;
  max-width: 760px;
  margin: 18px auto 20px;
}
.contact-card h2 .hl { color: var(--green-300); font-style: italic; }
.contact-card .lead { max-width: 560px; margin: 0 auto var(--space-4); }
.contact-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact-mail {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-dim);
}
.contact-mail a { color: var(--green-300); border-bottom: 1px solid rgba(87,197,32,0.35); padding-bottom: 1px; transition: color var(--dur-fast), border-color var(--dur-fast); }
.contact-mail a:hover { color: var(--green-200); border-color: var(--green-200); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--surface-border);
  padding: clamp(36px, 5vw, 60px) 0 40px;
  margin-top: clamp(60px, 8vw, 110px);
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 40px; height: 40px; }
.foot-brand .brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.foot-brand p { font-size: 13px; color: var(--text-faint); margin-top: 2px; }
.foot-note {
  max-width: 460px;
  font-size: 12.5px;
  color: var(--text-faint);
  line-height: 1.6;
}
.foot-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell-lg, .cell-md, .cell-sm { grid-column: span 1; }
  .loop { grid-template-columns: repeat(2, 1fr); }
  .loop-step:nth-child(2)::after { display: none; }
  .moat { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  #menuBtn { display: block; }
  .nav-cta { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { padding: 22px 18px 18px; }
  .temp-duel { grid-template-columns: 1fr; }
  .econ-row { grid-template-columns: 1fr; gap: 8px; }
  .econ-row .lbl { text-align: left; }
  .econ-note { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr; }
  .loop-step:not(:last-child)::after { display: none; }
  .moat { grid-template-columns: 1fr; }
  .process-track { height: 520vh; }
  .process-ui { padding-top: 84px; padding-bottom: 28px; }
  .process-steps { gap: 8px; padding-inline: 14px; }
  .pstep { flex: 1 1 44%; max-width: none; padding: 12px; }
  .pstep p { display: none; }
  /* centre the temperature readout above the step tiles so they never overlap */
  .temp-readout {
    top: 40%;
    bottom: auto;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
  }
  /* shrink the SCM grouped-bar chart so all three year groups fit the screen */
  .scm-groups { gap: 10px; }
  .scm-bars { height: 150px; gap: 6px; }
  .scm-bar { width: clamp(20px, 5.6vw, 26px); }
  .scm-bar .v { font-size: 9.5px; top: -20px; }
  .scm-year { font-size: 11px; letter-spacing: 0.04em; }
  .scm-legend { gap: 14px; font-size: 12px; flex-wrap: wrap; }
  /* composition chart: stack the header, and show percentages (not truncated names) inside the bars */
  .compo-label { flex-direction: column; align-items: flex-start; gap: 3px; }
  .compo-label .co2 { font-size: 12px; line-height: 1.4; }
  .compo-seg .s-lbl { display: none; }
  .compo-seg .s-pct { display: inline; padding-inline: 5px; }
  .seg-gypsum .s-pct, .seg-gypsum .s-lbl { display: none; } /* 5% sliver is too narrow to label — see legend */
}

@media (max-width: 430px) {
  .hero h1 { font-size: 40px; }
  .stat-tiles { grid-template-columns: 1fr; }
}

/* ============================================================
   URGENCY TICKER
   ============================================================ */
.ticker {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  border: 1px solid rgba(255, 122, 61, 0.28);
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%, rgba(255, 122, 61, 0.10), transparent 60%),
    var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 40px) clamp(24px, 4vw, 52px);
  margin-bottom: clamp(48px, 7vw, 90px);
}
.ticker-num #tickerVal {
  display: inline-block;
  min-width: 6.8ch;
  text-align: right;
}
.ticker-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1;
  color: var(--heat);
  text-shadow: 0 0 40px rgba(255, 122, 61, 0.35);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ticker-num em {
  font-style: normal;
  font-size: 0.38em;
  color: var(--clay-300);
  margin-left: 8px;
  letter-spacing: 0.02em;
}
.ticker-text { flex: 1; min-width: 260px; }
.ticker-text strong {
  display: block;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text);
  margin-bottom: 6px;
}
.ticker-text span {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ============================================================
   CASE STUDIES — build it twice
   ============================================================ */
.cs-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}
.cs-tab {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--surface-border);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
}
.cs-tab:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.cs-tab.is-active {
  color: var(--ink-950);
  background: var(--green-300);
  border-color: var(--green-300);
  font-weight: 600;
}
.cs-meta {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  margin-bottom: 34px;
  min-height: 1.4em;
}
.cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cs-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  padding: clamp(22px, 3vw, 34px);
  position: relative;
  overflow: hidden;
}
.cs-card.opc {
  background: linear-gradient(170deg, rgba(120, 120, 116, 0.10), rgba(255,255,255,0.015) 55%);
}
.cs-card.lc3 {
  background: linear-gradient(170deg, rgba(87, 197, 32, 0.10), rgba(255,255,255,0.015) 55%);
  border-color: rgba(87, 197, 32, 0.3);
}
.cs-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.cs-card-head h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
}
.cs-card-head .cs-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.cs-card.lc3 .cs-tag { color: var(--green-300); }

.cs-model {
  position: relative;
  margin-bottom: 18px;
}
.cs-model svg { width: 100%; height: auto; display: block; }
.cs-card.lc3 .cs-model::after {
  content: '';
  position: absolute;
  inset: auto 10% -12px 10%;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(87, 197, 32, 0.28), transparent 70%);
  pointer-events: none;
}
/* smoke plumes on the Portland model */
.smoke {
  position: absolute;
  top: 4%;
  left: 0; right: 0;
  height: 60%;
  pointer-events: none;
}
.smoke i {
  position: absolute;
  bottom: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 195, 190, 0.34), rgba(190, 195, 190, 0) 70%);
  opacity: 0;
  animation: smokeRise 4.2s ease-out infinite;
}
.smoke i:nth-child(1) { left: 24%; animation-delay: 0s; }
.smoke i:nth-child(2) { left: 42%; animation-delay: 1.1s; width: 34px; height: 34px; }
.smoke i:nth-child(3) { left: 58%; animation-delay: 2.2s; }
.smoke i:nth-child(4) { left: 72%; animation-delay: 3.1s; width: 20px; height: 20px; }
@keyframes smokeRise {
  0%   { transform: translateY(0) scale(0.7); opacity: 0; }
  12%  { opacity: 0.85; }
  100% { transform: translateY(-90px) scale(1.9); opacity: 0; }
}

.cs-co2-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 8px;
}
.cs-co2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cs-card.opc .cs-co2 { color: var(--heat); text-shadow: 0 0 30px rgba(255, 122, 61, 0.25); }
.cs-card.lc3 .cs-co2 { color: var(--green-300); text-shadow: 0 0 30px rgba(87, 197, 32, 0.25); }
.cs-co2 em { font-style: normal; font-size: 0.42em; opacity: 0.85; margin-left: 6px; }
.cs-bar {
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  margin: 16px 0 18px;
  overflow: hidden;
}
.cs-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  transition: width 0.9s var(--ease-out);
}
.cs-card.opc .cs-bar i { width: 100%; background: linear-gradient(90deg, #FFB56B, var(--heat)); }
.cs-card.lc3 .cs-bar i { width: 61%; background: linear-gradient(90deg, var(--green-200), var(--green-400)); }
.cs-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  border: 1px dashed var(--surface-border);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
}
.cs-card.lc3 .cs-chip { border-color: rgba(143, 224, 106, 0.4); color: var(--green-200); }

.cs-savings {
  margin-top: 18px;
  border: 1px solid rgba(87, 197, 32, 0.3);
  background: linear-gradient(120deg, rgba(87, 197, 32, 0.10), rgba(87, 197, 32, 0.03));
  border-radius: var(--radius-md);
  padding: 20px clamp(18px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 40px);
  flex-wrap: wrap;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-dim);
}
.cs-savings b {
  color: var(--green-300);
  font-family: var(--font-display);
  font-size: 1.35em;
  font-variant-numeric: tabular-nums;
}
.cs-savings .sep { color: var(--text-faint); }
.cs-note {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
}

/* ============================================================
   STATUS — where we stand (pre-product, honestly)
   ============================================================ */
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.status-card {
  border: 1px solid var(--surface-border);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.status-badge .dot { width: 7px; height: 7px; border-radius: 50%; }
.status-badge.done {
  color: var(--green-200);
  border: 1px solid rgba(87, 197, 32, 0.4);
  background: rgba(87, 197, 32, 0.08);
}
.status-badge.done .dot { background: var(--green-400); }
.status-badge.prog {
  color: var(--clay-300);
  border: 1px solid rgba(217, 133, 72, 0.4);
  background: rgba(217, 133, 72, 0.08);
}
.status-badge.prog .dot {
  background: var(--clay-400);
  animation: pulse 1.8s ease-in-out infinite;
}
.status-badge.next {
  color: var(--text-dim);
  border: 1px dashed var(--surface-border);
  background: transparent;
}
.status-badge.next .dot { background: var(--text-faint); }
.status-card h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 500;
  margin-bottom: 9px;
}
.status-card p { font-size: 14px; color: var(--text-dim); line-height: 1.55; }

@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .ticker { flex-direction: column; align-items: flex-start; gap: 14px; }
  /* stack the savings summary into clean lines; the inline dot separators
     scatter when the row wraps, so drop them on narrow screens */
  .cs-savings { flex-direction: column; gap: 11px; padding: 22px 20px; line-height: 1.5; }
  .cs-savings .sep { display: none; }
}

/* ============================================================
   CALCULATOR — what would LC3 save you?
   ============================================================ */
.calc-panel {
  border: 1px solid rgba(87, 197, 32, 0.25);
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(87, 197, 32, 0.08), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 48px);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.calc-input .lbl {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 14px;
}
.calc-vol {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
}
.calc-vol input[type="number"] {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  border-bottom: 2px solid rgba(87, 197, 32, 0.4);
  width: 6.6ch;
  min-width: 175px;
  padding: 0 2px 4px;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.calc-vol input[type="number"]::-webkit-outer-spin-button,
.calc-vol input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-vol input[type="number"]:focus { outline: none; border-bottom-color: var(--green-300); }
.calc-vol .unit {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
}
.calc-input input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green-500) var(--fill, 10%), rgba(255,255,255,0.1) var(--fill, 10%));
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.calc-input input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-300);
  border: 4px solid var(--ink-900);
  box-shadow: 0 0 0 2px var(--green-400), 0 4px 16px rgba(87, 197, 32, 0.5);
}
.calc-input input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-300);
  border: 4px solid var(--ink-900);
  box-shadow: 0 0 0 2px var(--green-400), 0 4px 16px rgba(87, 197, 32, 0.5);
}
.calc-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 10px;
}
.calc-hero { margin-bottom: 22px; }
.calc-hero .lbl {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-200);
  display: block;
  margin-bottom: 8px;
}
.calc-hero .big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1;
  color: var(--green-300);
  text-shadow: 0 0 40px rgba(87, 197, 32, 0.35);
  font-variant-numeric: tabular-nums;
}
.calc-hero .big em { font-style: normal; font-size: 0.4em; margin-left: 8px; color: var(--green-200); }
.calc-hero .cars { font-size: 14.5px; color: var(--text-dim); margin-top: 10px; }
.calc-hero .cars b { color: var(--text); font-variant-numeric: tabular-nums; }
.calc-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.calc-stat .v { white-space: nowrap; }
.calc-stat {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: rgba(6, 13, 7, 0.4);
  padding: 14px 16px;
}
.calc-stat .v {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  display: block;
}
.calc-stat.warm .v { color: var(--clay-400); }
.calc-stat.cool .v { color: var(--green-300); }
.calc-stat .k {
  font-size: 11.5px;
  color: var(--text-faint);
  display: block;
  margin-top: 4px;
  line-height: 1.4;
}
.calc-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   TRUST LINE (under hero stats)
   ============================================================ */
.trust-line {
  margin-top: 22px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.trust-line b { color: var(--text-dim); font-weight: 500; }
.trust-line .dotsep { margin-inline: 10px; opacity: 0.5; }

/* ============================================================
   CBAM mini chart (inside "carbon has a price" cell)
   ============================================================ */
.cbam-chart { margin-top: 20px; }
.cbam-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 64px;
}
.cbam-bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--heat), var(--clay-600));
  opacity: 0.85;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.8s var(--ease-out);
}
.is-visible .cbam-bars i { transform: scaleY(1); }
.cbam-bars i:nth-child(1) { transition-delay: 0ms; }
.cbam-bars i:nth-child(2) { transition-delay: 60ms; }
.cbam-bars i:nth-child(3) { transition-delay: 120ms; }
.cbam-bars i:nth-child(4) { transition-delay: 180ms; }
.cbam-bars i:nth-child(5) { transition-delay: 240ms; }
.cbam-bars i:nth-child(6) { transition-delay: 300ms; }
.cbam-bars i:nth-child(7) { transition-delay: 360ms; }
.cbam-bars i:nth-child(8) { transition-delay: 420ms; }
.cbam-bars i:nth-child(9) { transition-delay: 480ms; }
.cbam-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  margin-top: 7px;
}
.cbam-cap {
  font-size: 11.5px;
  color: var(--text-faint);
  margin-top: 8px;
}

/* ============================================================
   FAQ — questions clients ask
   ============================================================ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--surface-border);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--dur-med);
}
.faq details[open] { border-color: rgba(87, 197, 32, 0.35); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--dur-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green-200); }
.faq summary::after {
  content: '+';
  flex: none;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 400;
  color: var(--green-300);
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-fast);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background: rgba(87, 197, 32, 0.12);
}
.faq .a {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 700px;
}

/* skip link (a11y) */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--green-300);
  color: var(--ink-950);
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus-visible { top: 14px; }

/* schematic clay bar in the SCM chart */
.scm-bar.clay {
  background: linear-gradient(180deg, rgba(217, 133, 72, 0.30), rgba(194, 106, 46, 0.14));
  border: 1.5px dashed rgba(217, 133, 72, 0.65);
  border-bottom: none;
}
.swatch.clay {
  background: linear-gradient(180deg, rgba(217, 133, 72, 0.4), rgba(194, 106, 46, 0.2));
  border: 1.5px dashed rgba(217, 133, 72, 0.75);
}

/* ============================================================
   PROVEN ELSEWHERE — pills strip
   ============================================================ */
.proven-strip { margin-top: clamp(36px, 5vw, 60px); text-align: center; }
.proven-strip .lbl {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 18px;
}
.proven-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.proven-pill {
  font-size: 13px;
  color: var(--text-dim);
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.proven-pill b { color: var(--text); font-weight: 600; }
.proven-pill:hover { border-color: rgba(87, 197, 32, 0.4); color: var(--text); }
.proven-line {
  margin-top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--green-200);
}

/* first-step loop tint */
.firststep .loop-step { background: linear-gradient(165deg, rgba(87, 197, 32, 0.06), rgba(255,255,255,0.02) 60%); }
.firststep { margin-bottom: clamp(40px, 6vw, 72px); }
.firststep .loop { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
@media (max-width: 1024px) { .firststep .loop { grid-template-columns: 1fr; } }

/* calculator copy button + toast */
.btn-copy { position: relative; }
.copy-toast {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--green-300);
  color: var(--ink-950);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}
.copy-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   SPEC CARD — Lithora CC-40 target specification
   ============================================================ */
.spec-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(36px, 5vw, 60px);
}
.spec-intro h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 500;
  margin-bottom: 12px;
}
.spec-intro p { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; max-width: 440px; }
.spec-card {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  font-family: var(--font-mono);
  overflow: hidden;
}
.spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--surface-border);
}
.spec-head .name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
}
.spec-badge {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-300);
  border: 1.5px dashed rgba(217, 133, 72, 0.6);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  white-space: nowrap;
}
.spec-rows { padding: 8px 22px 16px; }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.07);
  font-size: 12.5px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row .k { color: var(--text-faint); letter-spacing: 0.04em; white-space: nowrap; }
.spec-row .v { color: var(--text-dim); text-align: right; }
.spec-row .v b { color: var(--green-300); font-weight: 600; }

/* ============================================================
   RADIUS VISUAL — the moat, drawn
   ============================================================ */
.radius-panel { margin-top: clamp(44px, 6vw, 72px); }
.radius-svg { margin-top: 10px; }
.radius-svg svg { width: 100%; height: auto; display: block; }
.r-pulse {
  transform-origin: 450px 190px;
  animation: radiusPulse 3.6s var(--ease-inout) infinite;
}
@keyframes radiusPulse {
  0%   { transform: scale(0.96); opacity: 0.9; }
  50%  { transform: scale(1.03); opacity: 0.5; }
  100% { transform: scale(0.96); opacity: 0.9; }
}
.radius-key {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-dim);
}
.radius-key .key { display: inline-flex; align-items: center; gap: 8px; }
.radius-key .k-dot { width: 11px; height: 11px; border-radius: 50%; }
.radius-key .k-dot.us { background: var(--green-400); box-shadow: 0 0 10px rgba(87,197,32,0.7); }
.radius-key .k-dot.prod { background: #C0662A; }
.radius-key .k-sq { width: 11px; height: 11px; border-radius: 2px; background: #6E7A72; }

/* ============================================================
   FOUNDER BAND
   ============================================================ */
.founder-band {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.4vw, 40px);
  flex-wrap: wrap;
  border: 1px solid var(--surface-border);
  background: linear-gradient(150deg, rgba(87, 197, 32, 0.06), rgba(255,255,255,0.02) 55%);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
}
.founder-avatar {
  flex: none;
  width: 96px; height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--green-200);
  background:
    radial-gradient(circle at 32% 28%, rgba(87, 197, 32, 0.28), transparent 65%),
    var(--ink-800);
  border: 1px solid rgba(87, 197, 32, 0.4);
}
.founder-body { flex: 1; min-width: 260px; }
.founder-body .who {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 500;
}
.founder-body .role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-300);
  display: block;
  margin: 4px 0 12px;
}
.founder-body p { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; max-width: 560px; }

@media (max-width: 900px) {
  .spec-wrap { grid-template-columns: 1fr; }
}
