/* ============================================================
   WORKING CLASS COLLECTIVE — GLOBAL STYLESHEET
   Version 3X | Sharp. Industrial. Precise.
   ============================================================ */

/* ── 1. VARIABLES & THEMES ─────────────────────────────── */

:root {
  /* Dark Theme (default) */
  --bg: #07090C;
  --bg-2: #0D1620;
  --surface: #111D2A;
  --surface-2: #16253A;
  --border: rgba(255, 255, 255, 0.07);
  --border-hi: rgba(255, 255, 255, 0.14);
  --text: #EEE8DC;
  --text-2: #8FA5B4;
  --text-3: #4E6370;
  --red: #C8102E;
  --red-deep: #8B0A1E;
  --red-glow: rgba(200, 16, 46, 0.4);
  --gold: #E8B830;
  --gold-dim: rgba(232, 184, 48, 0.55);
  --teal: #1EC8C0;

  /* Layout */
  --radius: 0px;
  --shell: 1360px;
  --header-h: 72px;

  /* Origin for theme transition */
  --ox: 50%;
  --oy: 50%;
}

[data-theme="light"] {
  --bg: #EEE8DC;
  --bg-2: #E4DAC8;
  --surface: #F8F4EE;
  --surface-2: #F0EAE0;
  --border: rgba(0, 0, 0, 0.08);
  --border-hi: rgba(0, 0, 0, 0.16);
  --text: #0D1620;
  --text-2: #4E6370;
  --text-3: #8FA5B4;
}

/* ── 2. BASE RESET ─────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  line-height: 1.72;
  overflow-x: hidden;
  transition: background 300ms ease, color 300ms ease;
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
}

/* ── 3. TYPOGRAPHY ─────────────────────────────────────── */

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}

.kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(3.6rem, 7.5vw, 8rem);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.section-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.editorial {
  font-family: 'Crimson Pro', serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.65;
}

.editorial em {
  font-style: italic;
}

.data-label {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.6rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

.data-value {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
}

p,
.body-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-2);
}

/* ── 4. LAYOUT ─────────────────────────────────────────── */

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

.full-shell {
  width: min(calc(100% - 24px), calc(var(--shell) + 200px));
  margin: 0 auto;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.split-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.split-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

@media (max-width: 900px) {
  .split-2,
  .split-3,
  .split-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .shell {
    width: calc(100% - 32px);
  }
}

/* ── 5. SIGNAL RIBBON ──────────────────────────────────── */

.ribbon {
  position: relative;
  overflow: hidden;
  height: 36px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.ribbon::before,
.ribbon::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.ribbon::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.ribbon::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.ribbon__track {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  min-width: max-content;
  animation: ribbon-scroll 40s linear infinite;
}

.ribbon__item {
  padding: 0 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.ribbon__star {
  color: var(--red);
  font-size: 0.5rem;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

/* ── 6. NAVIGATION ─────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: border-color 300ms, background 300ms;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 9, 12, 0.85);
}

html[data-theme="light"] .nav.is-scrolled {
  background: rgba(238, 232, 220, 0.88);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.brand-tagline {
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  font-size: 0.55rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
  position: relative;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
  transition: color 200ms;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-ember {
  position: absolute;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), var(--gold), var(--red), transparent);
  filter: blur(0.5px);
  transition: left 300ms cubic-bezier(0.4, 0, 0.2, 1), width 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms;
  pointer-events: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-3);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 200ms, color 200ms;
}

.theme-toggle:hover {
  border-color: var(--border-hi);
  color: var(--text);
}

.theme-toggle svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 200ms;
}

.mobile-toggle:hover {
  border-color: var(--border-hi);
}

.mobile-toggle__bar {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text);
  transition: transform 250ms ease, opacity 250ms ease;
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle__bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

/* ── 7. THERMOMETER ────────────────────────────────────── */

.therm {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  z-index: 200;
  pointer-events: none;
}

.therm__track {
  position: absolute;
  inset: 0;
  background: var(--border);
}

.therm__fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(0deg, var(--red-deep), var(--red), var(--gold));
  transition: height 100ms linear;
}

.therm__bulb {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--red);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.therm__ticks {
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 0;
}

.therm__tick-label {
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  font-size: 0.45rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

/* ── 8. CUSTOM CURSOR ──────────────────────────────────── */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-100px, -100px);
  will-change: transform;
}

.cursor svg {
  width: 100%;
  height: 100%;
  color: var(--red);
  filter: drop-shadow(0 0 5px var(--red-glow));
  transition: transform 150ms ease, color 150ms ease;
}

.cursor.is-hover svg {
  transform: scale(1.6);
  color: var(--gold);
}

body.cursor-active {
  cursor: none;
}

body.cursor-active * {
  cursor: none;
}

/* ── 9. PRELOADER ──────────────────────────────────────── */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 600ms ease;
}

.preloader.is-done {
  opacity: 0;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader__stars {
  position: relative;
  width: 120px;
  height: 120px;
}

/* ── 10. BUTTONS ───────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--border-hi);
  background: transparent;
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 180ms ease;
  cursor: pointer;
  outline: none;
}

.btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.btn--primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: white;
}

.btn--ghost {
  background: transparent;
}

.btn--gold {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ── 11. CARDS ─────────────────────────────────────────── */

.card {
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: border-color 200ms, transform 200ms;
}

.card:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}

.card__body {
  padding: 24px;
}

.card__tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.58rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--red);
}

.card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
  margin: 8px 0 12px;
  color: var(--text);
}

.card__copy {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-2);
}

.card--featured {
  border-color: var(--red);
}

.card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
}

/* ── 12. HERO SECTION ──────────────────────────────────── */

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  align-items: end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__warp {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(200, 16, 46, 0.25) 0%, transparent 70%);
  animation: warp-pulse 8s ease-in-out infinite;
}

@keyframes warp-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  border-left: 2px solid var(--red);
  padding-left: 12px;
  margin-bottom: 24px;
  display: inline-block;
}

.hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(5rem, 12vw, 14rem);
  line-height: 0.82;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__title .outline {
  -webkit-text-stroke: 2px var(--text);
  color: transparent;
}

.hero__title .accent {
  color: var(--red);
}

.hero__subtitle {
  font-family: 'Crimson Pro', serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.65;
  max-width: 520px;
  margin-top: 24px;
  color: var(--text-2);
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero__coords {
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  font-size: 0.6rem;
  line-height: 1;
  color: var(--text-3);
  letter-spacing: 0.14em;
  margin-top: 24px;
}

.hero__typewriter {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 32px;
  min-height: 2em;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--red);
  animation: blink 0.9s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── 13. SECTIONS ──────────────────────────────────────── */

.section {
  padding: 100px 0;
  position: relative;
}

.section--dark {
  background: var(--bg);
}

.section--surface {
  background: var(--surface);
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section__header {
  margin-bottom: 64px;
}

.section__eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
  display: block;
}

.section__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--text);
}

/* ── 14. WIRE UNDERLINE ────────────────────────────────── */

.wire-underline {
  display: block;
  margin-top: 10px;
  overflow: visible;
}

.wire-underline path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: var(--length, 500);
  stroke-dashoffset: var(--length, 500);
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.wire-underline.is-revealed path {
  stroke-dashoffset: 0;
}

/* ── 15. WAVE DIVIDER ──────────────────────────────────── */

.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wave-divider svg {
  width: 100%;
  height: auto;
  opacity: 0.3;
}

.wave-pulse {
  position: relative;
  height: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wave-pulse__svg {
  width: 100%;
  height: 40px;
}

/* ── 16. STAT BLOCK ────────────────────────────────────── */

.stat-block {
  padding: 24px;
  border-left: 2px solid var(--red);
}

.stat-block__number {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
  color: var(--text);
}

.stat-block__unit {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  color: var(--red);
}

.stat-block__label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-3);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── 17. JOURNAL/BLOG POST CARD ───────────────────────── */

.post-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: all 200ms ease;
}

.post-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.post-card__meta {
  padding: 18px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-card__cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.post-card__date {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.55rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

.post-card__body {
  padding: 16px 20px;
}

.post-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 8px;
}

.post-card__excerpt {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-2);
}

.post-card__footer {
  padding: 0 20px 18px;
}

.post-card__read-more {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

/* ── 18. DIAL ──────────────────────────────────────────── */

.dial-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.dial {
  width: 240px;
  height: 240px;
  position: relative;
}

.dial svg {
  width: 100%;
  height: 100%;
}

.dial__needle {
  transform-origin: 50% 82%;
  transition: transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dial__value {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  text-align: center;
  color: var(--text);
}

.dial__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
}

/* ── 19. SECTOR GRID ───────────────────────────────────── */

.sector-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms ease;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(200, 16, 46, 0.12) 59px, rgba(200, 16, 46, 0.12) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(200, 16, 46, 0.12) 59px, rgba(200, 16, 46, 0.12) 60px);
}

.sector-grid.is-active {
  opacity: 1;
}

/* ── 20. MOBILE NAV DRAWER ─────────────────────────────── */

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 24px;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.mobile-drawer .nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  text-decoration: none;
  color: var(--text);
  transition: color 200ms;
}

.mobile-drawer .nav-link:hover {
  color: var(--red);
}

.mobile-drawer__close {
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer__actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── 21. FOOTER ────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
  background: var(--bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__brand-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer__brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.footer__brand-desc {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-3);
}

.footer__col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1;
  color: var(--text-2);
  text-decoration: none;
  transition: color 200ms;
}

.footer__links a:hover {
  color: var(--red);
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.6rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer__stars {
  color: var(--red);
  letter-spacing: 0.3em;
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ── 22. SCROLL REVEAL STATES ──────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-28px);
}

[data-reveal="left"].is-revealed {
  transform: translateX(0);
}

[data-reveal="right"] {
  transform: translateX(28px);
}

[data-reveal="right"].is-revealed {
  transform: translateX(0);
}

/* ── 23. MANIFESTO SECTION ─────────────────────────────── */

.manifesto {
  padding: 120px 0;
  background: var(--bg-2);
}

.manifesto__line {
  display: block;
  font-family: 'Crimson Pro', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1.3;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease, transform 800ms ease;
}

.manifesto__line.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.manifesto__line.accent {
  color: var(--red);
  font-style: italic;
  font-weight: 600;
}

.manifesto__content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ── 24. OPEN BOOK ─────────────────────────────────────── */

.book-wrap {
  position: relative;
  width: 360px;
  height: 260px;
  margin: 0 auto;
  perspective: 1000px;
}

.book-page {
  position: absolute;
  top: 0;
  transform-origin: left center;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.book-page-left {
  animation: page-breathe-l 4s ease-in-out infinite;
  transform-origin: right center;
}

.book-page-right {
  animation: page-breathe-r 4s ease-in-out infinite;
  transform-origin: left center;
}

@keyframes page-breathe-l {
  0%, 100% { transform: rotateY(-5deg); }
  50% { transform: rotateY(-25deg); }
}

@keyframes page-breathe-r {
  0%, 100% { transform: rotateY(5deg); }
  50% { transform: rotateY(25deg); }
}

/* ── 25. MANIFESTO BAND ────────────────────────────────── */

.manifesto-band {
  background: var(--red);
  padding: 10px 0;
  overflow: hidden;
}

.manifesto-band__track {
  display: flex;
  gap: 0;
  min-width: max-content;
  animation: ribbon-scroll 20s linear infinite;
}

.manifesto-band__item {
  padding: 0 2.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  white-space: nowrap;
}

.manifesto-band__sep {
  color: rgba(255, 255, 255, 0.5);
  padding: 0;
}

/* ── 26. READ PROGRESS ─────────────────────────────────── */

.read-progress {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: 2px;
  z-index: 50;
  background: var(--border);
}

.read-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 100ms linear;
}

/* ── 27. TILT CARD ─────────────────────────────────────── */

.tilt-card {
  transition: transform 300ms ease;
  will-change: transform;
}

/* ── 28. FILTER CHIPS ──────────────────────────────────── */

.filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-3);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 180ms ease;
}

.chip:hover,
.chip.is-active {
  border-color: var(--red);
  color: var(--red);
  background: rgba(200, 16, 46, 0.06);
}

/* ── PAGE HERO VARIANT ─────────────────────────────────── */

.page-hero {
  position: relative;
  min-height: 50vh;
  display: grid;
  align-items: end;
  padding-bottom: 60px;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(200, 16, 46, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(232, 184, 48, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 11rem);
  line-height: 0.82;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-hero__title .accent {
  color: var(--red);
}

.page-hero__title .outline {
  -webkit-text-stroke: 2px var(--text);
  color: transparent;
}

.page-hero__subtitle {
  font-family: 'Crimson Pro', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 600px;
  margin-top: 20px;
}

/* ── DUAL SERVICE DIAGRAM ──────────────────────────────── */

.dual-service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 0;
}

.dual-service__node {
  padding: 20px 28px;
  border: 1px solid var(--border-hi);
  background: var(--surface-2);
  text-align: center;
}

.dual-service__node-label {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.dual-service__node-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.dual-service__center {
  padding: 32px 36px;
  border: 2px solid var(--red);
  background: var(--surface);
  text-align: center;
  position: relative;
}

.dual-service__center-label {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.dual-service__center-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.dual-service__arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--red);
  font-size: 1.4rem;
  flex-direction: column;
  gap: 4px;
}

.dual-service__arrow-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.45rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── COMMITMENT COLUMNS ────────────────────────────────── */

.commitment {
  padding: 40px 32px;
  border-top: 3px solid var(--red);
  background: var(--surface);
}

.commitment__number {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-3);
  margin-bottom: 16px;
}

.commitment__word {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.commitment__text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-2);
}

/* ── PROGRAM CARD ──────────────────────────────────────── */

.program-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  transition: border-color 200ms;
}

.program-card:hover {
  border-color: var(--border-hi);
}

.program-card + .program-card {
  border-top: none;
}

.program-card__left {
  border-right: 1px solid var(--border);
  padding-right: 40px;
}

.program-card__number {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-3);
  margin-bottom: 8px;
}

.program-card__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}

.program-card__tag {
  display: inline-block;
  padding: 4px 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.program-card__tag--red { background: var(--red); color: white; }
.program-card__tag--gold { background: var(--gold); color: var(--bg); }
.program-card__tag--teal { background: var(--teal); color: var(--bg); }
.program-card__tag--surface { border: 1px solid var(--border-hi); color: var(--text-2); }

.program-card__description {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-2);
  margin-bottom: 20px;
}

.program-card__how {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}

.program-card__how-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-3);
}

@media (max-width: 900px) {
  .program-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .program-card__left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 24px;
  }
}

/* ── ARTICLE BODY ──────────────────────────────────────── */

.article-body {
  max-width: 680px;
  margin: 0 auto;
  font-family: 'Crimson Pro', serif;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text-2);
}

.article-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  text-transform: uppercase;
  color: var(--text);
  margin: 48px 0 16px;
  letter-spacing: 0.04em;
}

.article-body p + p {
  margin-top: 24px;
}

.article-body p:first-child::first-letter {
  font-size: 4rem;
  line-height: 0.75;
  font-weight: 600;
  float: left;
  margin: 4px 8px 0 0;
  color: var(--red);
  font-family: 'Crimson Pro', serif;
}

.pull-quote {
  border-left: 2px solid var(--red);
  padding: 24px 32px;
  margin: 40px 0;
  background: var(--surface);
}

.pull-quote p {
  font-family: 'Crimson Pro', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--text);
}

/* ── HEAT METRICS ──────────────────────────────────────── */

.heat-metrics {
  display: flex;
  gap: 2px;
  margin-top: 24px;
}

.heat-metric {
  flex: 1;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.heat-metric__value {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  letter-spacing: 0.1em;
}

.heat-metric__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 4px;
}

/* ── READING LIST ──────────────────────────────────────── */

.reading-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reading-item {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 200ms;
}

.reading-item:hover {
  border-color: var(--border-hi);
}

.reading-item__num {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-3);
}

.reading-item__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.reading-item__author {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 2px;
}

.reading-item__badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--border);
  color: var(--text-3);
  white-space: nowrap;
}

/* ── PAGINATION ────────────────────────────────────────── */

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
  transition: color 200ms;
}

.pagination__link:hover {
  color: var(--red);
}

.pagination__info {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── 28. ANIMATIONS ────────────────────────────────────── */

@keyframes ribbon-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 8px var(--red-glow); }
  50% { box-shadow: 0 0 24px var(--red-glow), 0 0 48px var(--red-glow); }
}

@keyframes star-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes wire-draw {
  from { stroke-dashoffset: var(--length, 500); }
  to { stroke-dashoffset: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes counter-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes theme-reveal {
  from { clip-path: circle(0 at var(--ox, 50%) var(--oy, 50%)); }
  to { clip-path: circle(200vmax at var(--ox, 50%) var(--oy, 50%)); }
}

/* ── VIEW TRANSITIONS ──────────────────────────────────── */

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-new(root) {
  animation: theme-reveal 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── REDUCED MOTION ────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── UTILITY ───────────────────────────────────────────── */

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

.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--text-3); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-40 { gap: 40px; }

.w-full { width: 100%; }
.relative { position: relative; }

.separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-3);
}

.tag--red {
  border-color: var(--red);
  color: var(--red);
}

.star-sep {
  color: var(--red);
  margin: 0 0.5rem;
  font-size: 0.6rem;
}

/* Network container */
.network-container {
  width: 100%;
  height: 360px;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

/* Dial container explicit size */
#js-heat-dial {
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

.dial-wrap-outer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================================================
   SCROLL THERMOMETER — "Collective Heat"
   ============================================================ */
.scroll-thermometer {
  position: fixed;
  top: 128px;
  right: 22px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-thermometer__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--ink-faint, #999);
}

.scroll-thermometer__assembly {
  position: relative;
  width: 38px;
  height: calc(100vh - 210px);
  min-height: 320px;
}

.scroll-thermometer__housing {
  position: absolute;
  inset: 0 8px 56px;
  clip-path: polygon(0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 22%),
    var(--surface, #1c1c1c);
  border: 1px solid var(--line-strong, #333);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-thermometer__tube {
  position: absolute;
  inset: 16px 9px 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(20, 20, 20, 0.08), rgba(20, 20, 20, 0.02));
  border: 1px solid var(--line, #282828);
}

.scroll-thermometer__fill {
  position: absolute;
  inset: auto 0 0;
  height: 0%;
  background: linear-gradient(
    to top,
    #1B3A5C 0%,
    #2468A0 12%,
    #2E8B7A 24%,
    #5CA84B 36%,
    #B8C03A 46%,
    #E8A84C 56%,
    #E87A3A 66%,
    #D94530 76%,
    #C41E3A 86%,
    #FF3333 100%
  );
  box-shadow:
    0 -6px 14px rgba(196, 30, 58, 0.35),
    inset 0 0 4px rgba(255, 200, 100, 0.15);
  transition: height 120ms linear;
  will-change: height;
}

.scroll-thermometer__fill::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: -4px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 240, 200, 0.95) 0%, rgba(255, 180, 80, 0.6) 40%, transparent 70%);
  filter: blur(1px);
}

.scroll-thermometer__ticks {
  position: absolute;
  inset: 16px auto 76px -86px;
  display: grid;
  align-content: space-between;
  justify-items: end;
  width: 74px;
}

.scroll-thermometer__ticks span {
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint, #999);
}

.scroll-thermometer__ticks span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  width: 18px;
  height: 1px;
  background: var(--line-strong, #333);
}

.scroll-thermometer__reservoir {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38px;
  height: 46px;
  clip-path: polygon(0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent),
    linear-gradient(180deg, var(--red, #C41E3A), var(--red-deep, #8B1323));
  border: 1px solid rgba(196, 30, 58, 0.4);
  box-shadow: 0 12px 28px rgba(196, 30, 58, 0.2);
}

@media (max-width: 1200px) {
  .scroll-thermometer { right: 12px; }
}

@media (max-width: 980px) {
  .scroll-thermometer__ticks { display: none; }
}

@media (max-width: 720px) {
  .scroll-thermometer {
    top: auto;
    bottom: 18px;
    right: 18px;
  }
  .scroll-thermometer__label { display: none; }
  .scroll-thermometer__assembly {
    width: 26px;
    height: 160px;
    min-height: 160px;
  }
  .scroll-thermometer__housing { inset: 0 4px 40px; }
  .scroll-thermometer__reservoir { width: 26px; height: 34px; }
}
