:root {
  /* Warm Architectural Beige, Linen & Raw Cedar Monograph Palette */
  --bg-linen: #F5F2EB;
  --bg-sand: #ECE7DC;
  --bg-parchment: #E3DDD0;
  --bg-card: #FAF8F4;
  --bg-paper: #FFFFFF;

  /* Ink & Charcoal Typography */
  --ink-black: #141413;
  --ink-charcoal: #2C2B29;
  --ink-muted: #66635B;
  --ink-light: #8C887E;

  /* Architectural Accents (Earthy & Refined) */
  --terracotta: #A85734;
  --cedar-warm: #8F4A2B;
  --forest-pine: #2B473B;
  --slate-blue: #2F4F5F;
  --ochre-gold: #B08330;

  /* Hairlines & Grids */
  --rule-hairline: rgba(20, 20, 19, 0.12);
  --rule-strong: rgba(20, 20, 19, 0.28);
  --cad-grid-line: rgba(20, 20, 19, 0.045);

  /* Pure Swiss / Helvetica Neue Typography System */
  --font-helvetica: "Helvetica Neue", Helvetica, "Neue Haas Grotesk Display Pro", "Inter", Arial, sans-serif;
  --font-editorial: "Cormorant Garamond", "Instrument Serif", Georgia, serif;

  /* Spacing & Layout */
  --container-max: 1520px;
  --header-height: 78px;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-linen);
  color: var(--ink-black);
  font-family: var(--font-helvetica);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-linen);
  background-image:
    linear-gradient(to right, rgba(20, 20, 19, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 19, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Top Competition Bar — Pure Helvetica Neue */
.top-meta-bar {
  background: var(--bg-sand);
  border-bottom: 1px solid var(--rule-hairline);
  font-family: var(--font-helvetica);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 10px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
  position: relative;
}

.top-meta-bar .badge-pill {
  background: var(--ink-black);
  color: var(--bg-linen);
  padding: 3px 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
}

/* Sticky Navigation — Clean Swiss Gallery Header */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule-hairline);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--ink-black);
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--ink-black);
  color: var(--bg-linen);
  display: grid;
  place-items: center;
  font-family: var(--font-helvetica);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: -0.02em;
}

.brand-title {
  font-family: var(--font-helvetica);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: block;
}

.brand-subtitle {
  font-family: var(--font-helvetica);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-muted);
  display: block;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

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

.nav-link {
  color: var(--ink-charcoal);
  text-decoration: none;
  font-family: var(--font-helvetica);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  background: var(--bg-sand);
  color: var(--ink-black);
}

.btn-boards-trigger {
  background: var(--ink-black);
  color: var(--bg-linen);
  font-family: var(--font-helvetica);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-boards-trigger:hover {
  background: var(--terracotta);
  color: #fff;
}

/* ==================== MONUMENTAL EDITORIAL HERO ==================== */
.hero-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 72px 48px 64px;
  border-bottom: 1px solid var(--rule-strong);
}

.hero-kicker-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--rule-hairline);
  padding-bottom: 20px;
  margin-bottom: 36px;
  font-family: var(--font-helvetica);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-headline {
  font-family: var(--font-helvetica);
  font-size: clamp(3.6rem, 7.8vw, 8.2rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink-black);
  margin-bottom: 40px;
}

.hero-headline em {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
  color: var(--terracotta);
  letter-spacing: -0.02em;
}

.hero-sub-editorial {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.hero-manifesto-lead {
  font-family: var(--font-helvetica);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: -0.02em;
  color: var(--ink-charcoal);
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink-black);
  padding-top: 20px;
  gap: 20px;
}

.metric-cell {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-helvetica);
  font-size: clamp(1.6rem, 2.2vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink-black);
  line-height: 1.05;
}

.metric-lbl {
  font-family: var(--font-helvetica);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-panoramic-frame {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 540px;
  overflow: hidden;
  background: var(--bg-parchment);
  border: 1px solid var(--rule-strong);
}

.hero-panoramic-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-panoramic-frame:hover img {
  transform: scale(1.02);
}

.hero-frame-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-sand);
  border: 1px solid var(--rule-strong);
  border-top: none;
  font-family: var(--font-helvetica);
  font-size: 0.82rem;
  color: var(--ink-charcoal);
}

/* ==================== SECTION SCAFFOLDING (HUGE HUMAN TYPOGRAPHY) ==================== */
.section-block {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 120px 48px;
  border-bottom: 1px solid var(--rule-strong);
}

.section-header-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  margin-bottom: 80px;
  align-items: start;
}

.section-index {
  font-family: var(--font-helvetica);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-top: 14px;
  border-top: 2px solid var(--ink-black);
}

.section-title {
  font-family: var(--font-helvetica);
  font-size: clamp(2.8rem, 5.2vw, 5.1rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink-black);
  margin-bottom: 28px;
}

.section-title em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
}

.section-subtitle {
  font-family: var(--font-helvetica);
  font-size: clamp(1.2rem, 1.65vw, 1.5rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink-charcoal);
  max-width: 920px;
}

/* ==================== JURY CRITERIA SCORECARD STRIP ==================== */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.criteria-card {
  background: var(--bg-card);
  border: 1px solid var(--rule-hairline);
  border-top: 3px solid var(--ink-black);
  padding: 36px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.criteria-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 20, 19, 0.06);
  border-top-color: var(--terracotta);
}

.criteria-weight {
  font-family: var(--font-helvetica);
  font-size: 3.4rem;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 16px;
}

.criteria-name {
  font-family: var(--font-helvetica);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink-black);
}

.criteria-desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ==================== INTERACTIVE FORM & MASSING GENESIS SLIDER ==================== */
.genesis-studio-box {
  background: var(--bg-sand);
  border: 1px solid var(--rule-strong);
  padding: 56px;
  margin-top: 48px;
}

.genesis-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.genesis-title {
  font-family: var(--font-helvetica);
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.genesis-slider-control {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 360px;
}

.genesis-step-pills {
  display: flex;
  gap: 8px;
}

.genesis-pill-btn {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
  padding: 12px 14px;
  font-family: var(--font-helvetica);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.genesis-pill-btn.active {
  background: var(--ink-black);
  color: var(--bg-linen);
  border-color: var(--ink-black);
}

.genesis-stage-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--rule-hairline);
  padding: 48px;
}

.genesis-diagram-wrap {
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-linen);
  border: 1px solid var(--rule-hairline);
  padding: 24px;
}

.genesis-narrative-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.genesis-step-kicker {
  font-family: var(--font-helvetica);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta);
}

.genesis-step-heading {
  font-family: var(--font-helvetica);
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink-black);
}

.genesis-step-body {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-charcoal);
}

.genesis-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-hairline);
}

/* ==================== INTERACTIVE CHAPTER STORYTELLING SLIDERS ==================== */
.chapter-carousel-shell {
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
  position: relative;
}

.chapter-slider-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule-strong);
  background: var(--bg-sand);
  padding: 0 32px;
  flex-wrap: wrap;
}

.chapter-tabs-strip {
  display: flex;
  overflow-x: auto;
}

.chapter-tab-btn {
  background: transparent;
  border: none;
  border-right: 1px solid var(--rule-hairline);
  border-bottom: 3px solid transparent;
  padding: 22px 26px;
  font-family: var(--font-helvetica);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.chapter-tab-btn:hover {
  color: var(--ink-black);
  background: rgba(255, 255, 255, 0.4);
}

.chapter-tab-btn.active {
  color: var(--ink-black);
  background: var(--bg-card);
  border-bottom-color: var(--terracotta);
}

.chapter-nav-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.slider-arrow-btn {
  width: 46px;
  height: 46px;
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
  color: var(--ink-black);
  font-family: var(--font-helvetica);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.slider-arrow-btn:hover {
  background: var(--ink-black);
  color: var(--bg-linen);
}

/* Slide Content Layout */
.chapter-slide-stage {
  padding: 64px;
}

.chapter-slide-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: baseline;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule-hairline);
}

.chapter-giant-number {
  font-family: var(--font-helvetica);
  font-size: clamp(4rem, 7vw, 6.8rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  color: var(--terracotta);
  line-height: 0.9;
}

.chapter-giant-title {
  font-family: var(--font-helvetica);
  font-size: clamp(2.4rem, 4.2vw, 4.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink-black);
  margin-top: 12px;
}

.chapter-pullquote {
  font-family: var(--font-editorial);
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  font-style: italic;
  line-height: 1.25;
  color: var(--ink-charcoal);
  border-left: 3px solid var(--terracotta);
  padding-left: 28px;
  margin: 36px 0;
  max-width: 1080px;
}

.chapter-slide-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.chapter-story-columns {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--ink-charcoal);
}

.chapter-story-columns p strong {
  color: var(--ink-black);
  font-weight: 600;
}

.chapter-human-diary {
  background: var(--bg-linen);
  border-left: 3px solid var(--forest-pine);
  padding: 24px 28px;
  margin-top: 12px;
}

.diary-label {
  font-family: var(--font-helvetica);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-pine);
  display: block;
  margin-bottom: 8px;
}

/* Sub-Slide Image Switcher inside Each Chapter */
.chapter-visual-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chapter-main-figure {
  position: relative;
  border: 1px solid var(--rule-strong);
  background: var(--bg-sand);
  overflow: hidden;
}

.chapter-main-figure img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.chapter-figure-footer {
  padding: 16px 22px;
  background: var(--bg-sand);
  border-top: 1px solid var(--rule-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-charcoal);
}

/* Range Scrubber for Chapters */
.chapter-progress-bar-wrap {
  padding: 24px 64px;
  background: var(--bg-sand);
  border-top: 1px solid var(--rule-hairline);
  display: flex;
  align-items: center;
  gap: 24px;
}

.editorial-range-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--rule-strong);
  outline: none;
  cursor: pointer;
}

.editorial-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--ink-black);
  border: 2px solid var(--bg-linen);
  cursor: pointer;
}

/* ==================== INTERACTIVE ELEVATION SCRUBBER (-15m TO +298m) ==================== */
.scrubber-container {
  display: grid;
  grid-template-columns: 160px 380px 1fr;
  gap: 36px;
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
  padding: 44px;
  align-items: stretch;
}

.altitude-ruler {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--rule-hairline);
  padding-right: 20px;
}

.altitude-btn {
  background: var(--bg-linen);
  border: 1px solid var(--rule-hairline);
  color: var(--ink-charcoal);
  font-family: var(--font-helvetica);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.altitude-btn:hover {
  border-color: var(--ink-black);
}

.altitude-btn.active {
  background: var(--ink-black);
  color: var(--bg-linen);
  border-color: var(--ink-black);
  font-weight: 600;
}

.tower-interactive-svg-wrap {
  background: var(--bg-linen);
  border: 1px solid var(--rule-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.scrubber-detail-panel {
  background: var(--bg-linen);
  border: 1px solid var(--rule-hairline);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.zone-badge {
  font-family: var(--font-helvetica);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.zone-title {
  font-family: var(--font-helvetica);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--ink-black);
}

.zone-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}

.spec-box span {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec-box strong {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-black);
  margin-top: 4px;
  display: block;
}

/* ==================== TECHNICAL DRAWINGS CAD SUITE ==================== */
.cad-viewer-shell {
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
}

.cad-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-sand);
  border-bottom: 1px solid var(--rule-strong);
  padding: 16px 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.cad-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cad-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--rule-hairline);
  color: var(--ink-charcoal);
  font-family: var(--font-helvetica);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cad-tab-btn:hover {
  border-color: var(--ink-black);
}

.cad-tab-btn.active {
  background: var(--ink-black);
  color: var(--bg-linen);
  border-color: var(--ink-black);
}

.cad-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cad-action-btn {
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
  color: var(--ink-black);
  font-family: var(--font-helvetica);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
}

.cad-action-btn:hover {
  background: var(--ink-black);
  color: var(--bg-linen);
}

.cad-stage-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 680px;
}

.cad-canvas-viewport {
  position: relative;
  overflow: hidden;
  background-color: #101A21;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.cad-svg-holder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.cad-svg-holder svg {
  width: 100%;
  max-height: 620px;
  height: auto;
}

.cad-sidebar {
  border-left: 1px solid var(--rule-strong);
  background: var(--bg-linen);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cad-title-block {
  border: 1px solid var(--rule-strong);
  background: var(--bg-card);
  padding: 18px;
  font-size: 0.78rem;
}

.cad-title-block-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule-hairline);
}

.cad-legend-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cad-legend-item {
  font-size: 0.86rem;
  color: var(--ink-charcoal);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.legend-swatch {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.2);
}

/* ==================== IN-SITU GALLERY & OFFICIAL CONTEXT ==================== */
.insitu-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.insitu-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: 1.55fr 1fr;
}

.insitu-media-wrap {
  position: relative;
  min-height: 500px;
  background: var(--bg-sand);
  overflow: hidden;
}

.insitu-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.insitu-feature-card:hover .insitu-media-wrap img {
  transform: scale(1.025);
}

.camera-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(245, 242, 235, 0.94);
  border: 1px solid var(--ink-black);
  color: var(--ink-black);
  font-family: var(--font-helvetica);
  font-weight: 600;
  font-size: 0.74rem;
  padding: 7px 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.insitu-info-pane {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--rule-strong);
}

.insitu-title {
  font-family: var(--font-helvetica);
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--ink-black);
}

.insitu-narrative {
  color: var(--ink-charcoal);
  font-size: 1.02rem;
  line-height: 1.68;
  margin-bottom: 28px;
}

.insitu-tech-notes {
  border-top: 1px solid var(--rule-hairline);
  padding-top: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.official-context-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.context-thumb-card {
  background: var(--bg-card);
  border: 1px solid var(--rule-hairline);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.context-thumb-card:hover {
  border-color: var(--ink-black);
  transform: translateY(-2px);
}

.context-thumb-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  margin-bottom: 12px;
  background: #fff;
}

.context-thumb-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-charcoal);
  display: block;
}

/* ==================== 4× A2 PRESENTATION BOARDS ==================== */
.boards-section {
  background: var(--bg-sand);
}

.a2-boards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.a2-board-sheet {
  aspect-ratio: 1.414 / 1;
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(20, 20, 19, 0.07);
}

.a2-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--ink-black);
  padding-bottom: 12px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.a2-board-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  padding: 18px 0;
  overflow: hidden;
}

.a2-board-visual {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--rule-hairline);
}

.a2-board-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a2-board-diagrams {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--ink-charcoal);
}

.a2-board-footer {
  border-top: 1px solid var(--rule-hairline);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-muted);
}

/* ==================== POLICY BLUEPRINT MANIFESTO ==================== */
.policy-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.policy-rule-card {
  background: var(--bg-card);
  border: 1px solid var(--rule-hairline);
  border-top: 3px solid var(--ink-black);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rule-number {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  margin-bottom: 14px;
}

.rule-title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink-black);
}

.rule-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 19, 0.92);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-inner {
  max-width: 1360px;
  width: 100%;
  background: var(--bg-linen);
  border: 1px solid var(--rule-strong);
  overflow: hidden;
}

.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--rule-hairline);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-black);
}

.lightbox-close {
  background: var(--ink-black);
  color: var(--bg-linen);
  border: none;
  padding: 8px 18px;
  font-family: var(--font-helvetica);
  font-weight: 600;
  cursor: pointer;
}

.lightbox-img-wrap {
  max-height: 80vh;
  overflow: auto;
  display: flex;
  justify-content: center;
  background: #141413;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

/* Footer */
.site-footer {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-sub-editorial,
  .section-header-row,
  .genesis-stage-grid,
  .chapter-slide-grid,
  .scrubber-container,
  .cad-stage-grid,
  .insitu-feature-card,
  .a2-boards-grid {
    grid-template-columns: 1fr;
  }
  .criteria-grid,
  .policy-cards-grid,
  .official-context-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section, .section-block, .chapter-slide-stage {
    padding: 48px 20px;
  }
  .hero-metrics-grid,
  .criteria-grid,
  .policy-cards-grid,
  .official-context-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
}
