@font-face {
  font-family: "Onest";
  src: url("/v46/assets/fonts/onest-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #050606;
  --surface: #0b0e0e;
  --surface-2: #111615;
  --text: #f1eee7;
  --muted: #a8a49a;
  --blue: #e7c77d;
  --cyan: #8bd5bd;
  --orange: #d98254;
}

body {
  background:
    radial-gradient(900px 500px at 72% -8%, rgba(231, 199, 125, 0.16), transparent 65%),
    radial-gradient(760px 480px at 3% 18%, rgba(139, 213, 189, 0.07), transparent 65%),
    var(--bg);
  font-family: "Onest", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header { background: rgba(5, 6, 6, 0.9); }
.brand,
h1,
h2,
h3 { font-family: "Onest", sans-serif; }
.brand small,
.eyebrow,
.byline,
.sidebar__label,
.steps li::before { font-family: "Onest", sans-serif; font-weight: 700; }

.nav .button,
.button {
  border-color: rgba(231, 199, 125, 0.55);
  background: rgba(231, 199, 125, 0.11);
  color: #f4dda4;
}

.hero--thermal::before {
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.995) 0%, rgba(5, 6, 6, 0.91) 46%, rgba(5, 6, 6, 0.16) 100%),
    url("/research/s21-heat-test-before-power-profile/assets/s21-august-heat-test-1200x630.jpg") center right/cover no-repeat;
  opacity: 0.98;
}

.hero--identity {
  min-height: 620px;
  background:
    radial-gradient(520px 380px at 84% 34%, rgba(139, 213, 189, 0.15), transparent 72%),
    radial-gradient(440px 340px at 70% 70%, rgba(231, 199, 125, 0.12), transparent 74%),
    #050606;
}

.hero--identity::before {
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.998) 0%, rgba(5, 6, 6, 0.94) 52%, rgba(5, 6, 6, 0.48) 100%),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(231, 199, 125, 0.055) 55px 56px),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(139, 213, 189, 0.045) 55px 56px);
  opacity: 1;
}

.hero--identity .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}

.identity-stack {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(231, 199, 125, 0.24);
  border-radius: 24px;
  background: rgba(7, 10, 9, 0.82);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.identity-stack::before {
  content: "IDENTITY ROUTE";
  position: absolute;
  top: -24px;
  right: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.identity-stack__item {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.identity-stack__item b {
  color: #f4dda4;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.identity-stack__item span { color: #d8d4ca; font-size: 13px; }
.identity-stack__item em { color: #8bd5bd; font-size: 11px; font-style: normal; font-weight: 800; }

.evidence-stack {
  display: grid;
  gap: 10px;
  margin: 38px 0;
}

.evidence-stack__row {
  display: grid;
  grid-template-columns: 48px minmax(150px, 0.65fr) minmax(0, 1.35fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
}

.evidence-stack__row b { color: #f4dda4; font-size: 12px; letter-spacing: 0.08em; }
.evidence-stack__row strong { color: #fff; font-size: 15px; }
.evidence-stack__row span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.evidence-stack__row em { color: #8bd5bd; font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: 0.08em; }

.checksum-box {
  margin: 36px 0;
  padding: 27px;
  border: 1px solid rgba(139, 213, 189, 0.34);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(139, 213, 189, 0.09), rgba(255, 255, 255, 0.02));
}

.checksum-box strong { display: block; color: #b8eedc; font-size: 18px; }
.checksum-box p:last-child { margin-bottom: 0; }

.stop-card {
  margin: 44px 0;
  padding: 26px;
  border: 1px solid rgba(217, 130, 84, 0.46);
  border-radius: 18px;
  background: rgba(217, 130, 84, 0.09);
}

.stop-card strong { display: block; margin-bottom: 10px; color: #f0b18f; font-size: 20px; }
.stop-card p { margin: 0; }

.article a {
  color: #f0d58f;
  text-decoration-color: rgba(240, 213, 143, 0.38);
}

.stat {
  background: linear-gradient(145deg, rgba(231, 199, 125, 0.11), rgba(255, 255, 255, 0.025));
}

.stat strong,
.article-card__fact strong { font-family: "Onest", sans-serif; }

.article-card {
  background: linear-gradient(145deg, rgba(231, 199, 125, 0.11), rgba(255, 255, 255, 0.02));
}

.article-card:hover { border-color: rgba(231, 199, 125, 0.58); }

.article-card__fact { background: #080b0a; }

.thermal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 38px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.thermal-strip div { padding: 19px 17px; background: #0b0e0e; }
.thermal-strip strong { display: block; color: #f4dda4; font-size: 13px; letter-spacing: 0.08em; }
.thermal-strip span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.35; }

.decision td:first-child { width: 120px; color: #f4dda4; font-weight: 760; }

.hero--cohort {
  min-height: 670px;
  background:
    radial-gradient(620px 440px at 82% 38%, rgba(139, 213, 189, 0.14), transparent 70%),
    radial-gradient(500px 360px at 72% 76%, rgba(231, 199, 125, 0.12), transparent 72%),
    #050606;
}

.hero--cohort::before {
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.99) 0%, rgba(5, 6, 6, 0.84) 54%, rgba(5, 6, 6, 0.52) 100%),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(231, 199, 125, 0.05) 55px 56px),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(139, 213, 189, 0.04) 55px 56px);
  opacity: 1;
}

.hero--cohort .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  align-items: center;
  gap: clamp(42px, 6vw, 86px);
}

.hero--cohort h1 { font-size: clamp(50px, 6.4vw, 84px); }
.hero--cohort .dek { max-width: 690px; }

.fleet-hero-panel {
  position: relative;
  display: grid;
  gap: 11px;
  padding: 24px;
  border: 1px solid rgba(231, 199, 125, 0.28);
  border-radius: 24px;
  background: rgba(6, 9, 8, 0.88);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.42);
}

.fleet-hero-panel::after {
  content: "OPERATOR DEFINED";
  position: absolute;
  right: 24px;
  bottom: -26px;
  color: #7f837e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.fleet-hero-panel__top,
.fleet-hero-panel__legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8f968f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.fleet-hero-panel__top { margin-bottom: 5px; }
.fleet-hero-panel__top b { color: #f4dda4; font-size: 9px; }
.fleet-hero-panel__legend { padding: 0 66px 0 76px; }

.fleet-hero-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.fleet-hero-row__name { color: #cfc9bd; font-size: 10px; font-weight: 800; letter-spacing: 0.09em; }
.distribution-strip { position: relative; display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 8px; }
.distribution-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(139, 213, 189, 0.26); }
.distribution-strip::after { content: ""; position: absolute; left: 42%; top: 3px; bottom: 3px; width: 1px; background: #f4dda4; box-shadow: 0 0 10px rgba(244, 221, 164, 0.6); }
.distribution-strip i { position: relative; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: #8bd5bd; box-shadow: 0 0 0 3px rgba(139, 213, 189, 0.07); }
.distribution-strip i.tail { background: #d89c60; }

.decision-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.07em;
}
.decision-chip--go { border-color: rgba(139, 213, 189, 0.5); color: #b8eedc; background: rgba(139, 213, 189, 0.08); }
.decision-chip--hold,
.decision-chip--split { border-color: rgba(231, 199, 125, 0.5); color: #f4dda4; background: rgba(231, 199, 125, 0.08); }

.signal-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #abb2aa;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.signal-chain b { color: #f4dda4; }

.cohort-tldr {
  margin: 38px 0;
  padding: 28px 30px;
  border: 1px solid rgba(139, 213, 189, 0.32);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(139, 213, 189, 0.09), rgba(255, 255, 255, 0.02));
}
.cohort-tldr > strong { color: #b8eedc; font-size: 13px; letter-spacing: 0.12em; }
.cohort-tldr ul { margin-bottom: 0; }
.cohort-tldr li { font-size: 16px; }

.cohort-quote {
  margin: 48px 0;
  padding: 28px 30px;
  border-left: 3px solid #f4dda4;
  background: rgba(231, 199, 125, 0.06);
  color: #f5ecda;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 650;
  line-height: 1.34;
}

.signal-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}
.signal-rail > * { padding: 14px 12px; background: #0a0e0d; color: #c9c4b9; font-size: 11px; font-weight: 750; text-align: center; }
.signal-rail b { color: #b8eedc; }
.signal-rail strong { color: #f4dda4; }
.micro-note { margin-top: 0; color: #858b85 !important; font-size: 13px !important; }

.lens-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 36px 0; }
.lens-grid section { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.022); }
.lens-grid section:last-child { grid-column: 1 / -1; }
.lens-grid section > b { color: #f4dda4; font-size: 11px; letter-spacing: 0.11em; }
.lens-grid h3 { margin: 10px 0 12px; font-size: 22px; }
.lens-grid p { font-size: 15px; }

.decision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 36px 0; }
.decision-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.024); }
.decision-card > strong { display: inline-block; margin-bottom: 10px; font-size: 13px; letter-spacing: 0.1em; }
.decision-card p { margin: 0 0 12px; font-size: 15px; }
.decision-card span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.decision-card--go { border-color: rgba(139, 213, 189, 0.32); }
.decision-card--go > strong { color: #b8eedc; }
.decision-card--hold,
.decision-card--split { border-color: rgba(231, 199, 125, 0.32); }
.decision-card--hold > strong,
.decision-card--split > strong { color: #f4dda4; }
.decision-card--stop { border-color: rgba(217, 130, 84, 0.4); }
.decision-card--stop > strong { color: #f0b18f; }

.sidebar__link { display: block; margin-top: 16px; color: #b8eedc; font-size: 13px; text-align: center; text-decoration: none; }
.article-card--cohort { background: linear-gradient(145deg, rgba(139, 213, 189, 0.12), rgba(231, 199, 125, 0.07), rgba(255, 255, 255, 0.02)); }
.article-card--cohort:hover { border-color: rgba(139, 213, 189, 0.58); }

@media (max-width: 680px) {
  .hero--thermal::before {
    background:
      linear-gradient(rgba(5, 6, 6, 0.53), rgba(5, 6, 6, 0.98)),
      url("/research/s21-heat-test-before-power-profile/assets/s21-august-heat-test-1200x630.jpg") 58% 50%/cover no-repeat;
  }
  .thermal-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hero--identity { min-height: auto; }
  .hero--identity .hero__inner { grid-template-columns: 1fr; }
  .identity-stack { margin-top: 22px; padding: 16px; }
  .identity-stack::before { display: none; }
  .identity-stack__item { grid-template-columns: 26px 1fr auto; }
  .evidence-stack__row { grid-template-columns: 38px 1fr auto; }
  .evidence-stack__row span { grid-column: 2 / 4; }

  .hero--cohort { min-height: auto; }
  .hero--cohort .hero__inner { grid-template-columns: 1fr; }
  .hero--cohort h1 { font-size: clamp(44px, 14vw, 62px); }
  .fleet-hero-panel { margin-top: 18px; padding: 15px; }
  .fleet-hero-panel::after { display: none; }
  .fleet-hero-row { grid-template-columns: 56px minmax(0, 1fr) 52px; gap: 8px; padding: 8px; }
  .fleet-hero-panel__legend { padding: 0 54px 0 64px; }
  .signal-chain { gap: 5px; font-size: 8px; }
  .signal-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lens-grid,
  .decision-grid { grid-template-columns: 1fr; }
  .lens-grid section:last-child { grid-column: auto; }
  .cohort-tldr { padding: 22px 20px; }
  .cohort-quote { padding: 22px 20px; }
}
