/* ============================================
   MATCHA MUTUAL — Operator Proposal (Photo Edition)
   Modern geometric: Space Grotesk + Inter
   Cream/off-white, deep matcha green, terra/rust
   ============================================ */

:root {
  /* --- Type Scale (fluid) --- */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* --- 4px Spacing --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Custom Palette — Light Mode Only --- */
  --color-bg: #FAF8F5;
  --color-surface: #F5F2ED;
  --color-surface-2: #EFECE6;
  --color-border: #D9D4CC;
  --color-divider: #E5E1DA;

  --color-text: #2C2A25;
  --color-text-muted: #6B6860;
  --color-text-faint: #A8A49C;

  /* Matcha green — primary accent */
  --color-primary: #2D5016;
  --color-primary-hover: #1F3A0F;
  --color-primary-light: #E8F0E2;
  --color-primary-lighter: #F2F7EE;

  /* Terra/rust — secondary accent */
  --color-accent: #A84B2F;
  --color-accent-hover: #8A3D27;
  --color-accent-light: #F5EAE5;

  /* Semantic */
  --color-success: #437A22;
  --color-warning: #964219;

  /* --- Radius --- */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* --- Transitions --- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Shadows --- */
  --shadow-sm: 0 1px 2px rgba(44, 42, 37, 0.06);
  --shadow-md: 0 4px 16px rgba(44, 42, 37, 0.08);
  --shadow-lg: 0 12px 40px rgba(44, 42, 37, 0.12);
  --shadow-xl: 0 20px 60px rgba(44, 42, 37, 0.16);

  /* --- Content widths --- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1120px;

  /* --- Fonts --- */
  --font-display: 'Space Grotesk', 'Noto Sans JP', 'Noto Sans SC', sans-serif;
  --font-body: 'Inter', 'Noto Sans JP', 'Noto Sans SC', sans-serif;
}

/* ============================================
   GLOBAL
   ============================================ */

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary-hover);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.section-narrow {
  max-width: var(--content-default);
  margin-inline: auto;
}

/* ============================================
   STICKY HEADER
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--color-divider);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .header-inner {
    height: 4rem;
    padding-inline: var(--space-8);
  }
}

.logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  list-style: none;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.nav-links a:hover {
  color: var(--color-text);
}

/* ============================================
   HERO — Full-bleed background image
   ============================================ */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 42, 37, 0) 0%,
    rgba(44, 42, 37, 0.15) 40%,
    rgba(44, 42, 37, 0.6) 70%,
    rgba(44, 42, 37, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-8) var(--space-4) var(--space-16);
  width: 100%;
}

@media (min-width: 768px) {
  .hero-content {
    padding: var(--space-8) var(--space-8) clamp(var(--space-16), 8vw, var(--space-24));
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #FFFFFF;
  max-width: 18ch;
  line-height: 1.05;
  margin-bottom: var(--space-4);
}

.hero .subtitle {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
  max-width: 28ch;
}

.hero-divider {
  width: 64px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin-top: var(--space-8);
}

/* ============================================
   FULL-BLEED PHOTO BREAKS
   ============================================ */

.photo-break {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 45vh;
  overflow: hidden;
}

.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-break-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(to top, rgba(44, 42, 37, 0.5), transparent);
  font-size: var(--text-xs);
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

@media (max-width: 767px) {
  .photo-break {
    height: 30vh;
  }
}

/* ============================================
   SECTION HEADINGS
   ============================================ */

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  max-width: 28ch;
}

.section-description {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 65ch;
  line-height: 1.7;
}

/* ============================================
   DATA LABELS (validated / modeled / hypothesis)
   ============================================ */

.data-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.data-tag--validated {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.data-tag--modeled {
  background: #F5F0E0;
  color: #7A6B28;
}

.data-tag--hypothesis {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

/* ============================================
   WHY NOW — Bullet Cards
   ============================================ */

.bullet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (min-width: 640px) {
  .bullet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bullet-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.bullet-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.bullet-card .number {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}

.bullet-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.bullet-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   EDITORIAL IMAGE + TEXT LAYOUT
   ============================================ */

.editorial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .editorial-row {
    grid-template-columns: 1fr 1fr;
  }
  .editorial-row--reverse {
    direction: rtl;
  }
  .editorial-row--reverse > * {
    direction: ltr;
  }
}

.editorial-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ============================================
   CHARTS & DATA VIZ
   ============================================ */

.chart-container {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  margin-top: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.chart-container canvas {
  max-height: 360px;
}

.chart-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.chart-subtitle {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.source-citation {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
  font-style: italic;
}

/* ============================================
   PRODUCTION COLLAPSE TABLE (Section 3)
   ============================================ */

.collapse-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

@media (min-width: 640px) {
  .collapse-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.collapse-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.collapse-card .metric-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

.collapse-card .metric-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-1);
}

.collapse-card .metric-old {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  text-decoration: line-through;
  text-decoration-color: var(--color-text-faint);
}

.collapse-card .metric-arrow {
  color: var(--color-accent);
  font-size: var(--text-sm);
}

.collapse-card .metric-new {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.collapse-card .metric-change {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  margin-top: var(--space-1);
}

.collapse-card .metric-detail {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ============================================
   OIL / CRISIS (Section 4) — stat grid
   ============================================ */

.crisis-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

@media (min-width: 640px) {
  .crisis-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .crisis-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.crisis-stat {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.crisis-stat .stat-value {
  font-size: var(--text-xl);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-accent);
  line-height: 1.1;
}

.crisis-stat .stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  line-height: 1.5;
}

/* ============================================
   PAIN POINTS GRID (Section 5)
   ============================================ */

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (min-width: 640px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pain-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pain-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pain-card .pain-icon {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--color-accent);
  line-height: 1;
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.pain-card p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================
   CONTRAST TABLE (Section 6 — What We Offer)
   ============================================ */

.contrast-table {
  width: 100%;
  margin-top: var(--space-8);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contrast-table thead th {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-4) var(--space-5);
  text-align: left;
}

.contrast-table thead th:first-child {
  color: var(--color-text-faint);
  background: var(--color-surface);
}

.contrast-table thead th:last-child {
  color: white;
  background: var(--color-primary);
}

.contrast-table tbody td {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  vertical-align: top;
}

.contrast-table tbody td:first-child {
  color: var(--color-text-muted);
  background: var(--color-bg);
}

.contrast-table tbody td:last-child {
  color: var(--color-text);
  font-weight: 500;
  background: var(--color-primary-lighter);
}

/* ============================================
   MARKET FACTS TABLE (Section 7)
   ============================================ */

.facts-table {
  width: 100%;
  margin-top: var(--space-8);
}

.facts-table td {
  padding: var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--color-divider);
  vertical-align: top;
}

.facts-table td:first-child {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 35%;
  white-space: nowrap;
}

.facts-table td:last-child {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 639px) {
  .facts-table td:first-child {
    white-space: normal;
  }
}

/* ============================================
   STAT CARDS (Section 8 — Traction)
   ============================================ */

.stat-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (min-width: 640px) {
  .stat-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-card .stat-number {
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-card .stat-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  line-height: 1.5;
}

.anon-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
  margin-top: var(--space-6);
  padding: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
}

/* ============================================
   INVENTORY / HEDGE LOGIC (Section 9)
   ============================================ */

.hedge-visual {
  margin-top: var(--space-8);
}

.hedge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hedge-item {
  flex: 1;
  min-width: 200px;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.hedge-item .hedge-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

.hedge-item .hedge-value {
  font-size: var(--text-xl);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.hedge-item .hedge-detail {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

.hedge-item--highlight {
  background: var(--color-primary-lighter);
  border-color: var(--color-primary);
  border-width: 2px;
}

.hedge-item--highlight .hedge-value {
  color: var(--color-primary);
}

.hedge-breakdown {
  background: var(--color-primary-lighter);
  border: 1px solid var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-top: var(--space-4);
}

.hedge-breakdown h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.hedge-breakdown ul {
  list-style: none;
  padding: 0;
}

.hedge-breakdown li {
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(45, 80, 22, 0.1);
  color: var(--color-text);
}

.hedge-breakdown li:last-child {
  border-bottom: none;
}

/* ============================================
   VISION LAYERS (Section 10)
   ============================================ */

.vision-stack {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vision-layer {
  padding: var(--space-8);
  border: 1px solid var(--color-divider);
  position: relative;
}

.vision-layer:first-child {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.vision-layer:first-child .layer-label {
  color: rgba(255,255,255,0.6);
}

.vision-layer:nth-child(2) {
  background: var(--color-primary-light);
}

.vision-layer:nth-child(3) {
  background: var(--color-surface);
}

.vision-layer:last-child {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--color-bg);
}

.layer-label {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
}

.layer-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.layer-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.vision-layer:first-child .layer-desc {
  color: rgba(255,255,255,0.75);
}

.vision-target {
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  text-align: center;
}

/* ============================================
   EARLY PARTNERS (Section 11)
   ============================================ */

.benefits-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.benefits-list li:hover {
  box-shadow: var(--shadow-md);
}

.benefits-list .benefit-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.benefits-list .benefit-check svg {
  width: 12px;
  height: 12px;
}

/* ============================================
   CTA — Background image with dark overlay
   ============================================ */

.cta-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 80, 22, 0.85) 0%,
    rgba(31, 58, 15, 0.92) 100%
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: var(--space-6);
}

.cta-section p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: #FFFFFF;
  color: var(--color-primary);
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  background: var(--color-primary-lighter);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  padding: var(--space-8) var(--space-4);
  border-top: 1px solid var(--color-divider);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ============================================
   DOWNSTREAM IMPACT CARDS
   ============================================ */

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

@media (min-width: 640px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.impact-card {
  background: var(--color-accent-light);
  border: 1px solid rgba(168, 75, 47, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.impact-card strong {
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

/* ============================================
   HYPOTHESIS BOX
   ============================================ */

.hypothesis-box {
  background: var(--color-accent-light);
  border: 1px solid rgba(168, 75, 47, 0.15);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  margin-top: var(--space-8);
}

.hypothesis-box h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}

.hypothesis-box ul {
  list-style: none;
  padding: 0;
}

.hypothesis-box li {
  font-size: var(--text-sm);
  color: var(--color-text);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(168, 75, 47, 0.08);
  line-height: 1.6;
}

.hypothesis-box li:last-child {
  border-bottom: none;
}

/* ============================================
   TRACTION EDITORIAL IMAGE
   ============================================ */

.traction-accent {
  margin-top: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 400px;
  box-shadow: var(--shadow-lg);
}

.traction-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   VISION ATMOSPHERE IMAGE
   ============================================ */

.vision-atmosphere {
  margin-top: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 360px;
  box-shadow: var(--shadow-md);
}

.vision-atmosphere img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   TABLE SCROLL
   ============================================ */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 639px) {
  .contrast-table thead th,
  .contrast-table tbody td {
    padding: var(--space-3) var(--space-3);
    font-size: var(--text-xs);
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.bullet-grid .reveal:nth-child(2),
.collapse-grid .reveal:nth-child(2),
.pain-grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.pain-grid .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

/* ============================================
   STONE MILL OFFER IMAGE
   ============================================ */

.offer-image {
  margin-top: var(--space-8);
  margin-bottom: var(--space-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 440px;
  box-shadow: var(--shadow-lg);
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   SECTION DIVIDER (thin rule between sections)
   ============================================ */

.section-divider {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
  border: none;
  border-top: 1px solid var(--color-divider);
}

@media (min-width: 768px) {
  .section-divider {
    padding-inline: var(--space-8);
  }
}

/* ============================================
   MASTER-TASTING portrait orientation helper
   ============================================ */

.editorial-image--portrait img {
  aspect-ratio: 3/4;
  object-position: center 20%;
}

/* ============================================
   LANGUAGE TOGGLE
   ============================================ */

.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-shrink: 0;
}

.lang-toggle-btn {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1.4;
  white-space: nowrap;
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.lang-toggle-btn:hover {
  color: var(--color-text);
}

.lang-toggle-btn.active {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 600;
}

/* Mobile: keep toggle visible even when nav-links are hidden */
@media (max-width: 767px) {
  .header-inner {
    gap: var(--space-2);
  }
  .lang-toggle-btn {
    padding: 2px 6px;
    font-size: 0.7rem;
  }
}
