/* ============================================================
   ATLAS BASE — shared stylesheet for Territories atlases.
   Canonical source: extracted verbatim from atlas-don-julio-full.html
   (the gold standard) on 2026-06-11. The :root block below is the
   Don Julio default theme; a new atlas overrides :root (palette +
   --font-display / --font-body / --font-mono) in its own <style>
   AFTER the <link> to this file, plus any atlas-specific sections.
   Var names are the contract — new atlases use THESE names.
   ============================================================ */
  :root {
    --char: #0F0E0D;
    --volcanic: #1A1614;
    --ember: #D85F33;
    --ash: #8B7E72;
    --crimson: #7A2218;
    --clay: #B8845F;
    --gold: #C9A26B;
    --cream: #F2EBE2;
    --bone: #FAF6EE;
    --parchment: #EDE2D0;
    --warm-grey: #4A4339;
    --rule: rgba(242, 235, 226, 0.15);
    --rule-dark: rgba(15, 14, 13, 0.15);
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    background: var(--bone);
    color: var(--char);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  .display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
  .mono { font-family: var(--font-mono); }

  /* ========== TOP BAR ========== */
  .topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(15, 14, 13, 0.95);
    color: var(--cream);
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
    font-size: 12px;
    letter-spacing: 0.02em;
  }
  .topbar .left { display: flex; gap: 24px; align-items: center; }
  .topbar .brand { font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
  .topbar .nav { display: flex; gap: 18px; opacity: 0.7; font-size: 11px; letter-spacing: 0.05em; }
  .topbar .nav a { color: var(--cream); text-decoration: none; text-transform: uppercase; }
  .topbar .nav a:hover { opacity: 1; color: var(--ember); }
  .topbar .nav a.concepts-link { color: var(--ember); opacity: 1; border: 1px solid rgba(216, 95, 51, 0.45); padding: 4px 10px; letter-spacing: 0.08em; }
  .topbar .nav a.concepts-link:hover { background: rgba(216, 95, 51, 0.12); border-color: var(--ember); }
  .topbar .right { font-family: var(--font-mono); font-size: 11px; opacity: 0.5; letter-spacing: 0.05em; }

  /* ========== HERO ========== */
  .hero {
    background: var(--volcanic);
    color: var(--cream);
    min-height: 100vh;
    padding: 120px 60px 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(216, 95, 51, 0.18) 0%, transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(122, 34, 24, 0.25) 0%, transparent 50%),
      linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
  }
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(45deg, transparent 0 4px, rgba(216, 95, 51, 0.02) 4px 5px),
      repeating-linear-gradient(-45deg, transparent 0 6px, rgba(255, 255, 255, 0.015) 6px 7px);
    mix-blend-mode: overlay;
    pointer-events: none;
  }
  .hero-content { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; width: 100%; }

  .hero-meta {
    display: flex;
    gap: 40px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 60px;
    font-family: var(--font-mono);
    flex-wrap: wrap;
  }
  .hero-meta .dot { color: var(--ember); }

  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(54px, 9vw, 140px);
    line-height: 0.95;
    letter-spacing: -0.025em;
    font-weight: 400;
    margin-bottom: 32px;
    max-width: 1200px;
  }
  .hero h1 em { font-style: italic; color: var(--ember); font-weight: 300; }

  .hero .lede {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.4;
    max-width: 800px;
    color: rgba(242, 235, 226, 0.85);
    font-weight: 300;
  }

  .hero-footer {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-end;
    padding-top: 60px;
    border-top: 1px solid var(--rule);
    flex-wrap: wrap;
  }
  .hero-footer .item {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
    font-family: var(--font-mono);
  }
  .hero-footer .item strong {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--cream);
    opacity: 1;
    margin-top: 8px;
    font-weight: 400;
  }

  /* ========== UNIVERSAL SECTION ========== */
  .section { padding: 120px 60px; max-width: 1400px; margin: 0 auto; }
  .section-dark { background: var(--volcanic); color: var(--cream); max-width: none; padding: 120px 60px; }
  .section-dark .inner { max-width: 1400px; margin: 0 auto; }

  .section-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 24px;
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -0.015em;
    font-weight: 400;
    margin-bottom: 24px;
    max-width: 1100px;
  }
  .section-title em { font-style: italic; color: var(--ember); }
  .section-deck {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.5;
    color: var(--warm-grey);
    max-width: 760px;
    margin-bottom: 60px;
  }
  .section-dark .section-deck { color: rgba(242, 235, 226, 0.7); }
  .designed-output-section .section-deck,
  .refusal-section .section-deck,
  .working-q-section .section-deck { color: rgba(242, 235, 226, 0.78); }
  .designed-output-section .do-format-block .do-format-title { color: var(--cream); }

  /* ========== ACT MARKER ========== */
  .act-marker {
    background: var(--char);
    color: var(--cream);
    padding: 60px 60px;
    text-align: center;
    border-bottom: 1px solid var(--rule);
  }
  .act-marker .act-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 16px;
  }
  .act-marker .act-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    color: var(--cream);
    letter-spacing: -0.01em;
  }

  /* ========== ACT 1 — THE BRIEF ========== */
  .brief-section {
    background: var(--parchment);
    padding: 120px 60px;
    position: relative;
  }
  .brief-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(0deg, transparent 0 24px, rgba(15, 14, 13, 0.025) 24px 25px);
    pointer-events: none;
  }
  .brief-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }

  .brief-letter {
    background: var(--cream);
    border: 1px solid var(--rule-dark);
    padding: 64px 72px;
    position: relative;
    box-shadow: 0 30px 80px rgba(15, 14, 13, 0.08);
    margin-bottom: 80px;
  }
  .brief-letter::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 60px;
    width: 80px;
    height: 8px;
    background: var(--ember);
  }
  .brief-letter .stamp {
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--crimson);
    border: 1px solid var(--crimson);
    padding: 6px 12px;
    transform: rotate(-3deg);
    opacity: 0.7;
  }
  .brief-letter .meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-grey);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rule-dark);
  }
  .brief-letter .meta-row { display: flex; gap: 40px; padding: 4px 0; }
  .brief-letter .meta-row span:first-child { width: 90px; opacity: 0.5; }
  .brief-letter .brief-text {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.5;
    color: var(--char);
    font-weight: 400;
  }
  .brief-letter .brief-text::before { content: '"'; font-size: 60px; line-height: 0; vertical-align: -0.4em; color: var(--ember); margin-right: 6px; }
  .brief-letter .brief-text::after { content: '"'; font-size: 60px; line-height: 0; vertical-align: -0.4em; color: var(--ember); margin-left: 6px; }

  .intake-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
  }
  .intake-card.full-row {
    grid-column: 1 / -1;
  }
  @media (max-width: 1100px) {
    .intake-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 768px) {
    .intake-grid { grid-template-columns: 1fr; }
  }
  .intake-card {
    background: var(--cream);
    padding: 32px;
    border: 1px solid var(--rule-dark);
  }
  .intake-card .q-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 12px;
  }
  .intake-card .q-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 17px;
    color: var(--warm-grey);
    margin-bottom: 16px;
  }
  .intake-card .a-text {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 500;
    color: var(--char);
  }
  .intake-card .a-text strong { color: var(--ember); font-style: italic; font-weight: 400; }

  .diagnosis {
    background: var(--volcanic);
    color: var(--cream);
    padding: 48px 60px;
    border: 1px solid var(--rule-dark);
    text-align: center;
  }
  .diagnosis .label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 20px;
  }
  .diagnosis .verdict {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.2;
    font-style: italic;
    font-weight: 400;
  }
  .diagnosis .verdict em { color: var(--ember); }

  /* ========== ACT 2 — CULTURAL READ ========== */
  .read-intro {
    background: var(--char);
    color: var(--cream);
    padding: 160px 60px;
    text-align: center;
  }
  .read-intro-inner { max-width: 1100px; margin: 0 auto; }

  .panel-counter {
    display: inline-flex;
    gap: 6px;
    margin-top: 60px;
  }
  .panel-counter .pc-dot {
    width: 60px;
    height: 4px;
    background: var(--rule);
  }
  .panel-counter .pc-dot.active { background: var(--ember); }

  /* PANEL — base */
  .panel { padding: 140px 60px; position: relative; overflow-x: clip; }
  .panel-inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
  .panel-title, .section-title, .hero h1, .deep-dive-hero h2, .tension-statement, .working-q-text, .path-card .path-name, .path-card .path-tagline, .path-card .path-posture, .panel-lede {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: none;
    max-width: 100%;
  }

  .panel-header { margin-bottom: 80px; }
  .panel-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.7;
  }
  .panel-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 96px);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
  }
  .panel-lede {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.4;
    max-width: 880px;
    font-weight: 300;
  }

  .panel-methods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 32px;
  }
  .panel-methods .method-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid currentColor;
    border-radius: 100px;
    opacity: 0.85;
  }

  .artifacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 80px;
  }
  .layer-label {
    display: flex;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid currentColor;
    opacity: 0.85;
  }
  .layer-label .layer-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.5;
  }
  .layer-label .layer-title {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
  }
  .layer-divider {
    height: 1px;
    background: currentColor;
    opacity: 0.15;
    margin: 80px 0;
  }
  .layer-section + .layer-section { margin-top: 80px; }
  .artifact-block { border-top: 1px solid currentColor; padding-top: 28px; opacity: 0.95; }
  .artifact-block .a-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
    opacity: 0.5;
  }
  .artifact-block h3 {
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }
  .artifact-block h3 em { font-style: italic; }
  .artifact-block p {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 16px;
    opacity: 0.85;
  }
  .artifact-block .source-link {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.6;
  }
  .artifact-block .source-link::after { content: ' →'; }

  /* PANEL 1 — MYTHIC STRATA */
  .panel.mythic {
    background: linear-gradient(180deg, var(--volcanic) 0%, var(--char) 100%);
    color: var(--cream);
  }
  .panel.mythic::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 70% 30%, rgba(201, 162, 107, 0.12) 0%, transparent 40%),
      radial-gradient(circle at 20% 80%, rgba(122, 34, 24, 0.15) 0%, transparent 35%);
  }
  .panel.mythic .panel-num,
  .panel.mythic .panel-title em { color: var(--gold); }
  .panel.mythic .source-link { color: var(--gold); opacity: 0.7; }

  /* PANEL 2 — ADJACENT BEHAVIOR */
  .panel.adjacent { background: var(--bone); color: var(--char); }
  .panel.adjacent .panel-num,
  .panel.adjacent .panel-title em { color: var(--crimson); font-style: italic; }
  .panel.adjacent .source-link { color: var(--crimson); }

  /* PANEL 3 — GENERATIONAL TENSION */
  .panel.generational {
    background: linear-gradient(90deg, var(--parchment) 0%, var(--parchment) 50%, var(--volcanic) 50%, var(--volcanic) 100%);
    padding: 0;
  }
  .panel.generational .panel-inner { padding: 140px 60px; max-width: 1400px; }
  .panel.generational .gen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
  .panel.generational .gen-side {
    padding: 0 60px 0 0;
  }
  .panel.generational .gen-side.right {
    padding: 0 0 0 60px;
    color: var(--cream);
  }
  .panel.generational .panel-num,
  .panel.generational .panel-title em { color: var(--crimson); font-style: italic; }
  .panel.generational .gen-side.right .panel-num,
  .panel.generational .gen-side.right .panel-title em { color: var(--ember); }
  .panel.generational .source-link { color: var(--crimson); }
  .panel.generational .gen-side.right .source-link { color: var(--ember); opacity: 0.8; }

  .cohort-list { list-style: none; }
  .cohort-list li { padding: 24px 0; border-top: 1px solid var(--rule-dark); }
  .panel.generational .gen-side.right .cohort-list li { border-top: 1px solid var(--rule); }
  .cohort-list .cohort-name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    margin-bottom: 6px;
  }
  .cohort-list .cohort-want {
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.85;
  }

  /* PANEL 4 — SACRED COW INVERSIONS */
  .panel.sacred {
    background: var(--char);
    color: var(--cream);
  }
  .panel.sacred .panel-num,
  .panel.sacred .panel-title em { color: var(--ember); font-style: italic; }
  /* Semiotic image grid — the category's visual canon, made visible */
  .semiotics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    margin: 56px 0 28px;
  }
  .semiotic-cell {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--char);
  }
  .semiotic-cell .semiotic-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.05);
    transition: transform 0.5s ease;
  }
  .semiotic-cell:hover .semiotic-img { transform: scale(1.04); }
  .semiotic-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,14,13,0.05) 0%, rgba(15,14,13,0.4) 45%, rgba(15,14,13,0.94) 100%);
    pointer-events: none;
  }
  .semiotic-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 14px 16px;
    z-index: 2;
    text-align: center;
  }
  .semiotic-name {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
    line-height: 1.35;
    margin-bottom: 8px;
  }
  .semiotic-meaning {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--cream);
    opacity: 0.85;
    line-height: 1.4;
  }
  .semiotics-coda {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(20px, 2.6vw, 26px);
    line-height: 1.45;
    color: var(--bone);
    max-width: 64ch;
    margin-top: 36px;
  }
  .semiotics-coda em { color: var(--ember); }
  @media (max-width: 900px) {
    .semiotics-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; margin: 36px 0 20px; }
    .semiotic-cell { aspect-ratio: 1 / 1; }
  }

  .sacred-list { list-style: none; margin-top: 60px; border-top: 1px solid var(--rule); }
  .sacred-list li {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 400;
    padding: 32px 0;
    border-bottom: 1px solid var(--rule);
    text-decoration: line-through;
    text-decoration-color: var(--ember);
    text-decoration-thickness: 2px;
    color: rgba(242, 235, 226, 0.55);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .sacred-list li::before {
    content: '✗';
    color: var(--ember);
    font-family: var(--font-mono);
    font-size: 24px;
    text-decoration: none;
    flex-shrink: 0;
  }

  /* PANEL 5 — CROSS-DOMAIN BLEED */
  .panel.bleed {
    background: linear-gradient(135deg, var(--bone) 0%, var(--parchment) 30%, #C68866 70%, var(--crimson) 100%);
    color: var(--char);
  }
  .panel.bleed .panel-num,
  .panel.bleed .panel-title em { color: var(--char); font-style: italic; border-bottom: 3px solid var(--ember); padding-bottom: 2px; }
  .panel.bleed .panel-lede { color: var(--char); }
  .panel.bleed .source-link { color: var(--char); }
  .panel.bleed .artifact-block { background: rgba(242, 235, 226, 0.4); padding: 28px 28px; backdrop-filter: blur(10px); border-top: none; border: 1px solid rgba(15, 14, 13, 0.1); }

  /* PANEL 6 — LATENT BRAND MATERIALS */
  .panel.latent {
    background: var(--parchment);
    color: var(--char);
  }
  .panel.latent::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(0deg, transparent 0 32px, rgba(15, 14, 13, 0.03) 32px 33px);
  }
  .panel.latent .panel-num,
  .panel.latent .panel-title em { color: var(--crimson); font-style: italic; }
  .panel.latent .source-link { color: var(--crimson); }
  .panel.latent .artifact-block {
    background: var(--cream);
    padding: 32px;
    border: 1px solid var(--rule-dark);
    border-top: 1px solid var(--rule-dark);
    box-shadow: 0 8px 24px rgba(15, 14, 13, 0.04);
  }

  /* ========== METHOD CONVERGENCE ========== */
  .convergence-section {
    background: var(--char);
    color: var(--cream);
    padding: 160px 60px;
  }
  .convergence-inner { max-width: 1400px; margin: 0 auto; }

  .method-matrix-wrap {
    margin-top: 60px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--rule);
  }
  .method-matrix {
    display: grid;
    grid-template-columns: 180px repeat(6, minmax(96px, 1fr));
    gap: 1px;
    background: var(--rule);
    min-width: 720px;
  }
  .method-matrix .cell {
    background: var(--volcanic);
    padding: 16px 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--cream);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 56px;
    min-width: 0;
    overflow: hidden;
  }
  .method-matrix .cell.method-name {
    background: var(--char);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    justify-content: flex-start;
    padding-left: 24px;
    color: var(--ember);
  }
  .method-matrix .cell.header {
    background: var(--char);
    color: var(--gold);
    letter-spacing: 0.15em;
    font-size: 10px;
    flex-direction: column;
    gap: 2px;
  }
  .method-matrix .cell.header span:first-child { opacity: 0.5; font-size: 9px; }
  .method-matrix .cell.fire-3 { background: var(--ember); color: var(--char); font-weight: 600; }
  .method-matrix .cell.fire-2 { background: rgba(216, 95, 51, 0.55); color: var(--cream); }
  .method-matrix .cell.fire-1 { background: rgba(216, 95, 51, 0.2); color: var(--cream); opacity: 0.85; }
  .method-matrix .cell.fire-0 { background: var(--volcanic); color: var(--cream); opacity: 0.3; }

  .convergence-readout {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .convergence-readout .readout-card {
    border-top: 2px solid var(--ember);
    padding-top: 24px;
  }
  .convergence-readout .signature-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 12px;
  }
  .convergence-readout h4 {
    font-family: var(--font-display);
    font-size: 28px;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.15;
  }
  .convergence-readout p {
    font-size: 15px;
    line-height: 1.55;
    opacity: 0.75;
  }

  /* ========== THREE PATHS TRIPTYCH ========== */
  .triptych {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--rule-dark);
    border: 1px solid var(--rule-dark);
  }
  .path-card {
    padding: 40px 32px 36px;
    display: flex;
    flex-direction: column;
    min-height: 540px;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
  }
  .path-card.inheritor {
    background: linear-gradient(180deg, var(--volcanic) 0%, var(--char) 100%);
    color: var(--cream);
  }
  .path-card.inheritor:hover { background: linear-gradient(180deg, #221E1A 0%, #161310 100%); }

  .path-card.refuser {
    background: linear-gradient(180deg, #E8DDD0 0%, #D4C8B8 100%);
    color: var(--char);
  }
  .path-card.refuser:hover { background: linear-gradient(180deg, #EFE5D9 0%, #DBCEBE 100%); }

  .path-card.drifter {
    background: linear-gradient(135deg, #C84B2C 0%, #7A2218 50%, #3F1410 100%);
    color: var(--cream);
  }

  .path-card .path-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 20px;
  }
  .path-card .path-posture {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 32px;
    opacity: 0.85;
  }
  .path-card .path-name {
    font-family: var(--font-display);
    font-size: 44px;
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
  }
  .path-card .path-name em { font-style: italic; }
  .path-card.inheritor .path-name em { color: var(--ember); }

  .path-card .path-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 32px;
    opacity: 0.85;
  }

  .path-card .path-meta { margin-top: auto; padding-top: 24px; border-top: 1px solid currentColor; opacity: 0.85; }
  .path-card .path-meta-row { display: flex; justify-content: space-between; font-size: 12px; padding: 6px 0; font-family: var(--font-mono); letter-spacing: 0.05em; }
  .path-card .path-meta-row .label { opacity: 0.6; }

  .method-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
  .method-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid currentColor;
    border-radius: 100px;
    opacity: 0.85;
  }

  /* ========== DEEP DIVE HERO ========== */
  .deep-dive-hero {
    height: 75vh;
    min-height: 600px;
    background: var(--volcanic);
    position: relative;
    overflow: hidden;
    color: var(--cream);
    display: flex;
    align-items: flex-end;
    padding-left: 100px;
    padding-right: 100px;
    box-sizing: border-box;
  }
  .deep-dive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at center, rgba(216, 95, 51, 0.4) 0%, transparent 35%),
      radial-gradient(circle at 30% 50%, rgba(184, 30, 20, 0.5) 0%, transparent 25%),
      radial-gradient(circle at 70% 60%, rgba(216, 95, 51, 0.3) 0%, transparent 30%);
    filter: blur(40px);
  }
  .deep-dive-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(0deg, transparent 0 1px, rgba(15, 14, 13, 0.6) 1px 3px),
      linear-gradient(180deg, transparent 0%, rgba(15, 14, 13, 0.5) 50%, var(--volcanic) 100%);
    mix-blend-mode: multiply;
  }
  .deep-dive-hero .content {
    position: relative;
    z-index: 2;
    padding: 0 0 80px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
  }
  .deep-dive-hero .pretitle {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 24px;
  }
  .deep-dive-hero h2 {
    font-family: var(--font-display);
    font-size: clamp(56px, 8.5vw, 128px);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    padding-left: 0.04em;
  }
  .deep-dive-hero h2 em { font-style: italic; color: var(--ember); }
  .deep-dive-hero .deck {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.4;
    max-width: 760px;
    margin-bottom: 32px;
    font-weight: 300;
  }
  .signature-ring { display: flex; gap: 8px; flex-wrap: wrap; }
  .signature-ring .method-tag { background: rgba(0,0,0,0.3); border-color: var(--ember); color: var(--cream); }

  /* ========== TENSION TO HOLD ========== */
  .tension-section {
    background: linear-gradient(135deg, var(--char) 0%, var(--crimson) 100%);
    color: var(--cream);
    padding: 160px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .tension-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(216, 95, 51, 0.2) 0%, transparent 50%);
  }
  .tension-inner { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; }
  .tension-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 32px;
  }
  .tension-statement {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 80px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-bottom: 40px;
  }
  .tension-statement em { font-style: italic; color: var(--ember); }
  .tension-statement .ampersand { font-style: italic; color: var(--ember); font-weight: 300; margin: 0 12px; }
  .tension-rationale {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    line-height: 1.5;
    color: rgba(242, 235, 226, 0.8);
    max-width: 720px;
    margin: 0 auto;
    font-weight: 300;
  }

  /* ========== VECTORS ========== */
  .vectors-section { background: var(--bone); padding: 140px 60px; }
  .vectors-inner { max-width: 1400px; margin: 0 auto; }
  .vectors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
  }
  .vector-card {
    background: var(--cream);
    padding: 40px 36px;
    border: 1px solid var(--rule-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
  }
  .vector-card:hover { background: var(--char); color: var(--cream); border-color: var(--char); }
  .vector-card .vector-type {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 16px;
  }
  .vector-card .vector-prompt {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: -0.005em;
  }
  .vector-card .vector-prompt em { font-style: italic; color: var(--ember); }
  .vector-card .vector-arrow {
    position: absolute;
    top: 40px;
    right: 36px;
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--ember);
    opacity: 0.4;
    transition: opacity 0.3s, transform 0.3s;
  }
  .vector-card:hover .vector-arrow { opacity: 1; transform: translateX(4px); }

  /* ========== VECTOR UNPACK (click to clarify the question) ========== */
  .vector-card { user-select: none; }
  .vector-card.is-expanded {
    background: var(--char);
    color: var(--cream);
    border-color: var(--char);
    cursor: default;
    user-select: text;
  }
  .vector-card.is-expanded .vector-type,
  .vector-card.is-expanded .vector-prompt em,
  .vector-card.is-expanded .vector-arrow { color: var(--ember); }
  .vector-card.is-expanded .vector-arrow { transform: rotate(90deg); }
  .vector-card .vector-unpack {
    display: none;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(244, 235, 226, 0.18);
  }
  .vector-card.is-expanded .vector-unpack { display: block; }
  .vector-unpack .unpack-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 12px;
    opacity: 0.85;
  }
  .vector-unpack .unpack-text {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.5;
    color: rgba(244, 235, 226, 0.92);
    margin: 0;
    letter-spacing: 0;
  }
  .vector-card.is-expanded:hover { background: var(--char); }
  .vectors-section.common-pour-vectors .vector-card.is-expanded { background: var(--char); color: var(--bone); }
  .vectors-section.border-dialect-vectors .vector-card.is-expanded { background: #1a1a1a; color: var(--bone); }

  /* ========== VISUAL DIRECTION ========== */
  .visual-direction-section {
    background: var(--parchment);
    color: var(--char);
    padding: 140px 60px;
    position: relative;
  }
  .visual-direction-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(0deg, transparent 0 32px, rgba(15, 14, 13, 0.03) 32px 33px);
    pointer-events: none;
  }
  .vd-inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }

  .viz-block { margin-top: 80px; }
  .viz-block:first-of-type { margin-top: 60px; }
  .viz-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 20px;
  }
  .viz-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-bottom: 32px;
    max-width: 900px;
  }
  .viz-title em { font-style: italic; color: var(--ember); }

  /* Palette */
  .color-strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    border: 1px solid var(--rule-dark);
  }
  .color-swatch {
    aspect-ratio: 3 / 4;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    color: var(--cream);
  }
  .color-swatch.light { color: var(--char); }
  .color-swatch .swatch-name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 17px;
    margin-bottom: 4px;
  }
  .color-swatch .swatch-hex {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    opacity: 0.75;
  }

  /* Typography */
  .type-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--rule-dark);
    border: 1px solid var(--rule-dark);
  }
  .type-sample {
    background: var(--cream);
    padding: 48px 40px;
  }
  .type-sample .type-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 24px;
  }
  .display-sample .type-render {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 64px);
    line-height: 0.95;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--char);
  }
  .display-sample .type-render em { font-style: italic; color: var(--ember); }
  .body-sample .type-render {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--char);
  }
  .type-sample .type-rationale {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    line-height: 1.5;
    color: var(--warm-grey);
    border-top: 1px solid var(--rule-dark);
    padding-top: 16px;
  }

  /* Material Vocabulary */
  .material-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .material-card {
    background: var(--cream);
    border: 1px solid var(--rule-dark);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .material-visual {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 22px 22px 24px;
    background: linear-gradient(135deg, var(--char) 0%, var(--volcanic) 45%, var(--crimson) 100%);
  }
  .material-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(0deg, transparent 0 1px, rgba(216, 95, 51, 0.05) 1px 4px),
      radial-gradient(circle at 75% 80%, rgba(216, 95, 51, 0.22) 0%, transparent 55%);
    pointer-events: none;
  }
  .material-visual::after {
    content: '';
    position: absolute;
    top: 16px; left: 22px;
    width: 28px; height: 1px;
    background: var(--ember);
    opacity: 0.7;
  }
  .material-visual .visual-name {
    position: relative;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 26px;
    color: var(--bone);
    line-height: 1.05;
    z-index: 2;
    letter-spacing: -0.01em;
    max-width: 90%;
  }
  .material-card .material-meta {
    padding: 18px 22px 22px;
  }
  .material-card .material-name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--char);
    line-height: 1.15;
  }
  .material-card .material-note {
    font-size: 12px;
    color: var(--warm-grey);
    line-height: 1.45;
  }

  /* ========== MATERIAL-SPECIFIC VISUAL TREATMENTS ========== */
  /* Photos: Unsplash (build-time fetch). Text overlay = bottom darken/lighten gradient. */
  .material-visual.m-charred-wood-grain {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-38.jpg') center/cover no-repeat;
  }
  .material-visual.m-volcanic-basalt {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-47.jpg') center/cover no-repeat;
  }
  .material-visual.m-fired-clay-ceramic {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-37.jpg') center/cover no-repeat;
  }
  .material-visual.m-aged-copper {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-19.jpg') center/cover no-repeat;
  }
  .material-visual.m-ash-texture {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-09.jpg') center/cover no-repeat;
  }
  .material-visual.m-ember-glow {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-27.jpg') center/cover no-repeat;
  }
  .material-visual.m-raw-paper {
    background:
      linear-gradient(180deg, rgba(255,255,255,0) 35%, rgba(255,255,255,0.7) 100%),
      url('assets/don-julio/dj-bg-30.jpg') center/cover no-repeat;
  }
  .material-visual.m-ink-stain-letterpress {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-42.jpg') center/cover no-repeat;
  }
  .material-visual.m-cardboard-chipboard {
    background:
      linear-gradient(180deg, rgba(255,255,255,0) 35%, rgba(255,255,255,0.7) 100%),
      url('assets/don-julio/dj-bg-08.jpg') center/cover no-repeat;
  }
  .material-visual.m-screen-printed-cotton {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-23.jpg') center/cover no-repeat;
  }
  .material-visual.m-wood-block-type {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-26.jpg') center/cover no-repeat;
  }
  .material-visual.m-weathered-metal-sign {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-43.jpg') center/cover no-repeat;
  }
  .material-visual.m-saturated-photography {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-41.jpg') center/cover no-repeat;
  }
  .material-visual.m-bilingual-signage {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-24.jpg') center/cover no-repeat;
  }
  .material-visual.m-contemporary-mexican-fashion {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-15.jpg') center/cover no-repeat;
  }
  .material-visual.m-cdmx-la-corridor {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-48.jpg') center/cover no-repeat;
  }
  .material-visual.m-bad-bunny-editorial {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-18.jpg') center/cover no-repeat;
  }
  .material-visual.m-mexican-american-art {
    background:
      linear-gradient(180deg, rgba(45,39,34,0) 30%, rgba(45,39,34,0.55) 100%),
      url('assets/don-julio/dj-bg-22.jpg') center/cover no-repeat;
  }
  /* Light-photo materials need dark text */
  .material-visual.m-raw-paper .visual-name,
  .material-visual.m-cardboard-chipboard .visual-name {
    color: var(--char);
  }
  .material-visual.m-charred-wood-grain::before,
  .material-visual.m-volcanic-basalt::before,
  .material-visual.m-fired-clay-ceramic::before,
  .material-visual.m-aged-copper::before,
  .material-visual.m-ash-texture::before,
  .material-visual.m-ember-glow::before,
  .material-visual.m-raw-paper::before,
  .material-visual.m-ink-stain-letterpress::before,
  .material-visual.m-cardboard-chipboard::before,
  .material-visual.m-screen-printed-cotton::before,
  .material-visual.m-wood-block-type::before,
  .material-visual.m-weathered-metal-sign::before,
  .material-visual.m-saturated-photography::before,
  .material-visual.m-bilingual-signage::before,
  .material-visual.m-contemporary-mexican-fashion::before,
  .material-visual.m-cdmx-la-corridor::before,
  .material-visual.m-bad-bunny-editorial::before,
  .material-visual.m-mexican-american-art::before {
    display: none;
  }

  /* ========== FORCE PHOTO BANNERS (Cross-Domain Bleed) ========== */
  .panel.bleed .artifact-block { display: flex; flex-direction: column; padding-top: 0 !important; overflow: hidden; }
  .panel.bleed .artifact-block .force-photo {
    width: calc(100% + 56px);
    margin: -28px -28px 24px -28px;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .panel.bleed .artifact-block .force-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(45,39,34,0.35) 100%);
    pointer-events: none;
  }
  .panel.bleed .force-photo.m-f-dj-glp1 { background-image: url('assets/don-julio/dj-bg-20.jpg'); }
  .panel.bleed .force-photo.m-f-dj-climate { background-image: url('assets/don-julio/dj-bg-02.jpg'); }
  .panel.bleed .force-photo.m-f-dj-mexican-soft-power { background-image: url('assets/don-julio/dj-bg-16.jpg'); }
  .panel.bleed .force-photo.m-f-dj-ai-authenticity { background-image: url('assets/don-julio/dj-bg-36.jpg'); }

  /* ========== MOOD GRID PHOTO BACKGROUNDS (per-phrase queries) ========== */
  .mood-grid.mood-path-1 .mood-item:nth-child(1) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-33.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-1 .mood-item:nth-child(2) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-14.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-1 .mood-item:nth-child(3) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-31.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-1 .mood-item:nth-child(4) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-28.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-1 .mood-item:nth-child(5) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-11.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-1 .mood-item:nth-child(6) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-49.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-1 .mood-item:nth-child(7) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-34.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-1 .mood-item:nth-child(8) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-10.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-1 .mood-item::before { display: none; }
  .mood-grid.mood-path-2 .mood-item:nth-child(1) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-17.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-2 .mood-item:nth-child(2) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-32.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-2 .mood-item:nth-child(3) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-07.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-2 .mood-item:nth-child(4) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-44.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-2 .mood-item:nth-child(5) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-05.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-2 .mood-item:nth-child(6) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-03.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-2 .mood-item:nth-child(7) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-29.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-2 .mood-item:nth-child(8) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-04.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-2 .mood-item::before { display: none; }
  .mood-grid.mood-path-3 .mood-item:nth-child(1) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-25.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-3 .mood-item:nth-child(2) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-21.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-3 .mood-item:nth-child(3) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-01.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-3 .mood-item:nth-child(4) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-06.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-3 .mood-item:nth-child(5) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-13.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-3 .mood-item:nth-child(6) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-40.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-3 .mood-item:nth-child(7) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-46.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-3 .mood-item:nth-child(8) {
    background:
      linear-gradient(180deg, rgba(45,39,34,0.3) 0%, rgba(45,39,34,0.72) 100%),
      url('assets/don-julio/dj-bg-39.jpg') center/cover no-repeat;
  }
  .mood-grid.mood-path-3 .mood-item::before { display: none; }

                    /* Mood Grid (typographic moodboard) */
  .mood-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
  }
  .mood-item {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--char) 0%, var(--volcanic) 50%, var(--crimson) 100%);
    display: flex;
    align-items: flex-end;
    padding: 28px;
    transition: transform 0.4s ease;
  }
  .mood-item:hover { transform: translateY(-3px); }
  .mood-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(0deg, transparent 0 1px, rgba(216, 95, 51, 0.06) 1px 5px),
      radial-gradient(circle at 70% 80%, rgba(216, 95, 51, 0.18) 0%, transparent 50%);
    pointer-events: none;
  }
  .mood-item:nth-child(2n) {
    background: linear-gradient(135deg, var(--volcanic) 0%, var(--crimson) 60%, var(--char) 100%);
  }
  .mood-item:nth-child(3n) {
    background: linear-gradient(180deg, var(--char) 0%, var(--volcanic) 50%, #221814 100%);
  }
  .mood-item:nth-child(2n)::before {
    background-image:
      repeating-linear-gradient(0deg, transparent 0 1px, rgba(201, 162, 107, 0.05) 1px 5px),
      radial-gradient(circle at 25% 70%, rgba(201, 162, 107, 0.15) 0%, transparent 50%);
  }
  .mood-item.tall { grid-row: span 2; }
  .mood-item .mood-phrase {
    position: relative;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 24px;
    color: var(--bone);
    line-height: 1.25;
    z-index: 2;
    letter-spacing: -0.01em;
    max-width: 92%;
  }
  .mood-item.tall .mood-phrase { font-size: 30px; line-height: 1.18; }

  @media (max-width: 1100px) {
    .mood-grid { grid-template-columns: repeat(2, 1fr); }
    .mood-item .mood-phrase { font-size: 20px; }
    .mood-item.tall .mood-phrase { font-size: 26px; }
  }
  @media (max-width: 600px) {
    .mood-grid { grid-template-columns: 1fr; }
  }

  /* Moodboard */
  .moodboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
  }
  .moodboard-item {
    overflow: hidden;
    background: var(--char);
  }
  .moodboard-item.tall { grid-row: span 2; }
  .moodboard-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; filter: contrast(1.05); }
  .moodboard-item:hover img { transform: scale(1.04); }

  @media (max-width: 1100px) {
    .color-strip { grid-template-columns: repeat(4, 1fr); }
    .type-pair { grid-template-columns: 1fr; }
    .material-grid { grid-template-columns: repeat(2, 1fr); }
    .moodboard { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .color-strip { grid-template-columns: repeat(2, 1fr); }
    .material-grid { grid-template-columns: 1fr; }
    .moodboard { grid-template-columns: 1fr; }
  }

  /* ========== DESIGNED OUTPUT (Canva integration) ========== */
  .designed-output-section {
    background: var(--char);
    color: var(--cream);
    padding: 140px 60px;
    position: relative;
  }
  .designed-output-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 80% 20%, rgba(216, 95, 51, 0.08) 0%, transparent 40%);
    pointer-events: none;
  }
  .do-inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }

  .do-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(216, 95, 51, 0.12);
    border: 1px solid rgba(216, 95, 51, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 24px;
  }
  .do-live-badge .pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ember);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  .do-format-block { margin-top: 80px; }
  .do-format-block:first-of-type { margin-top: 60px; }
  .do-format-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 16px;
  }
  .do-format-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-bottom: 32px;
    max-width: 900px;
  }
  .do-format-title em { font-style: italic; color: var(--ember); }

  .do-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .do-card {
    background: var(--volcanic);
    border: 1px solid var(--rule);
    overflow: hidden;
    text-decoration: none;
    color: var(--cream);
    transition: all 0.3s ease;
    display: block;
  }
  .do-card:hover {
    border-color: var(--ember);
    transform: translateY(-4px);
  }
  .do-card .do-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--char);
  }
  .do-card.do-img-portrait .do-img {
    aspect-ratio: 4 / 5;
  }
  .do-card .do-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  .do-card:hover .do-img img { transform: scale(1.04); }
  .do-card .do-meta {
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--rule);
  }
  .do-card .do-name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 17px;
  }
  .do-card .do-action {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ember);
  }

  @media (max-width: 1100px) {
    .do-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .do-grid { grid-template-columns: 1fr; }
  }

  /* ========== WORKING QUESTION ========== */
  .working-q-section {
    background: var(--char);
    color: var(--cream);
    padding: 160px 60px;
    text-align: center;
  }
  .working-q-inner { max-width: 1100px; margin: 0 auto; }
  .working-q-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 40px;
  }
  .working-q-text {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 84px);
    line-height: 1.1;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.015em;
    color: var(--cream);
  }
  .working-q-text em { font-style: italic; color: var(--ember); }

  /* ========== DECISION FRAME ========== */
  .decision-section { background: var(--bone); padding: 140px 60px; }
  .decision-inner { max-width: 1400px; margin: 0 auto; }
  .decision-table { margin-top: 60px; border-top: 1px solid var(--char); border-bottom: 1px solid var(--char); }
  .decision-row {
    display: grid;
    grid-template-columns: 220px repeat(3, 1fr);
    gap: 40px;
    padding: 28px 0;
    border-bottom: 1px solid var(--rule-dark);
  }
  .decision-row:last-child { border-bottom: none; }
  .decision-row.header { border-bottom: 2px solid var(--char); }
  .decision-row.header .col-header {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.005em;
  }
  .decision-row.header .col-header em { font-style: italic; }
  .decision-row.header .col-header.inheritor em { color: var(--ember); }
  .decision-row.header .col-header.refuser em { color: var(--char); border-bottom: 2px solid var(--ember); padding-bottom: 2px; }
  .decision-row.header .col-header.drifter em { color: var(--crimson); }
  .row-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-grey);
    padding-top: 4px;
  }
  .row-cell { font-size: 15px; line-height: 1.45; color: var(--char); }

  .sequence-strip {
    margin-top: 80px;
    background: var(--char);
    color: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
  }
  .sequence-cell { background: var(--char); padding: 32px; }
  .sequence-cell + .sequence-cell { border-left: 1px solid var(--rule); }
  .sequence-cell .horizon {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 16px;
  }
  .sequence-cell .horizon-name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 28px;
    margin-bottom: 12px;
  }
  .sequence-cell .horizon-desc { font-size: 14px; line-height: 1.5; opacity: 0.7; }

  /* ========== FOOTER ========== */
  footer {
    background: var(--volcanic);
    color: var(--cream);
    padding: 80px 60px;
    border-top: 1px solid var(--rule);
  }
  footer .footer-inner { max-width: 1400px; margin: 0 auto; }
  footer .meta-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 40px;
  }
  footer h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 20px;
  }
  footer .source-list { list-style: none; }
  footer .source-list li { padding: 6px 0; font-size: 13px; line-height: 1.5; opacity: 0.7; }
  footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-mono);
    opacity: 0.5;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* ========== PHOTOGRAPHIC OVERLAYS ========== */
  .photo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  .photo-bg.fire {
    filter: saturate(1.05) contrast(1.1) brightness(0.32);
    opacity: 0.7;
  }
  .photo-bg.fire-deep {
    filter: saturate(0.85) contrast(1.2) brightness(0.25);
    opacity: 0.7;
  }
  .photo-bg.parchment {
    filter: sepia(0.4) contrast(1.05) brightness(0.85);
    mix-blend-mode: multiply;
    opacity: 0.4;
  }
  .photo-bg.saturated {
    filter: saturate(0.55) contrast(0.95) brightness(0.18) blur(2px);
    opacity: 0.32;
    mix-blend-mode: multiply;
  }
  .photo-bg.earthy {
    filter: saturate(0.85) contrast(1.05) brightness(0.4);
    opacity: 0.7;
  }

  .hero, .deep-dive-hero {
    /* photo layer sits at z:0; gradients (::before/::after) at z:1 implicit; content z:2 */
  }
  .hero-content, .deep-dive-hero .content { z-index: 3 !important; }
  .hero-footer { z-index: 3 !important; }
  .hero::before, .hero::after,
  .deep-dive-hero::before, .deep-dive-hero::after { z-index: 1; }

  /* ========== ARTIFACT IMAGES (PANEL CARDS) ========== */
  .artifact-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--char);
    position: relative;
  }
  .artifact-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }
  .artifact-block:hover .artifact-img-wrap img { transform: scale(1.04); }
  .panel.mythic .artifact-img-wrap img { filter: brightness(0.75) contrast(1.1) saturate(0.85); }
  .panel.latent .artifact-img-wrap img { filter: sepia(0.15) contrast(1.05); }
  .panel.adjacent .artifact-img-wrap img { filter: contrast(1.05); }
  .panel.bleed .artifact-img-wrap img { filter: saturate(1.15) contrast(1.05); }

  /* ========== REFUSAL SECTION (base) ========== */
  .refusal-section {
    padding: 120px 60px;
    background: var(--char);
    color: var(--cream);
    position: relative;
  }
  .refusal-inner {
    max-width: 1200px;
    margin: 0 auto;
  }
  .refusal-list {
    list-style: none;
    margin: 60px 0 0;
    padding: 0;
    border-top: 1px solid var(--rule);
  }
  .refusal-list li {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 400;
    padding: 32px 0;
    border-bottom: 1px solid var(--rule);
    text-decoration: line-through;
    text-decoration-color: var(--ember);
    text-decoration-thickness: 2px;
    color: rgba(242, 235, 226, 0.55);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .refusal-list li::before {
    content: '✗';
    color: var(--ember);
    font-family: var(--font-mono);
    font-size: 24px;
    text-decoration: none;
    flex-shrink: 0;
  }

  /* ========== PATH 02 — COMMON POUR (REFUSER) ========== */
  .deep-dive-hero.common-pour {
    background: var(--parchment);
    color: var(--char);
  }
  .deep-dive-hero.common-pour::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(0deg, transparent 0 28px, rgba(15, 14, 13, 0.04) 28px 29px),
      radial-gradient(circle at 18% 80%, rgba(122, 34, 24, 0.18) 0%, transparent 45%),
      radial-gradient(circle at 80% 20%, rgba(184, 132, 95, 0.25) 0%, transparent 50%);
    filter: none;
  }
  .deep-dive-hero.common-pour::after {
    background-image:
      repeating-linear-gradient(45deg, transparent 0 8px, rgba(122, 34, 24, 0.04) 8px 9px),
      linear-gradient(180deg, transparent 0%, rgba(122, 34, 24, 0.08) 100%);
    mix-blend-mode: multiply;
  }
  .deep-dive-hero.common-pour .pretitle { color: var(--crimson); }
  .deep-dive-hero.common-pour h2 em { color: var(--crimson); }
  .deep-dive-hero.common-pour .signature-ring .method-tag { background: rgba(122, 34, 24, 0.08); border-color: var(--crimson); color: var(--crimson); }

  .refusal-section.common-pour-refusal { background: var(--char); color: var(--cream); }
  .refusal-section.common-pour-refusal .refusal-list li::before { color: var(--clay); }
  .refusal-section.common-pour-refusal .refusal-list li { text-decoration-color: var(--clay); }
  .refusal-section.common-pour-refusal .section-label,
  .refusal-section.common-pour-refusal .section-title em { color: var(--clay); font-style: italic; }

  .tension-section.common-pour-tension { background: linear-gradient(135deg, #2A2520 0%, #4A3E33 100%); }
  .tension-section.common-pour-tension::before {
    background: radial-gradient(circle at 50% 50%, rgba(184, 132, 95, 0.18) 0%, transparent 50%);
  }
  .tension-section.common-pour-tension .tension-eyebrow,
  .tension-section.common-pour-tension .tension-statement em,
  .tension-section.common-pour-tension .tension-statement .ampersand { color: var(--clay); }

  .vectors-section.common-pour-vectors { background: var(--parchment); }
  .vectors-section.common-pour-vectors .vector-card {
    background: var(--cream);
    border-color: rgba(122, 34, 24, 0.18);
  }
  .vectors-section.common-pour-vectors .vector-card .vector-type,
  .vectors-section.common-pour-vectors .vector-card .vector-prompt em,
  .vectors-section.common-pour-vectors .vector-arrow,
  .vectors-section.common-pour-vectors .section-label,
  .vectors-section.common-pour-vectors .section-title em { color: var(--crimson); }
  .vectors-section.common-pour-vectors .vector-card:hover { background: var(--char); color: var(--cream); border-color: var(--char); }
  .vectors-section.common-pour-vectors .vector-card:hover .vector-type,
  .vectors-section.common-pour-vectors .vector-card:hover .vector-prompt em,
  .vectors-section.common-pour-vectors .vector-card:hover .vector-arrow { color: var(--clay); }

  .working-q-section.common-pour-q { background: linear-gradient(135deg, #2A2520 0%, var(--volcanic) 100%); }
  .working-q-section.common-pour-q .working-q-eyebrow,
  .working-q-section.common-pour-q .working-q-text em { color: var(--clay); font-style: italic; }

  /* ========== PATH 03 — BORDER DIALECT (DRIFTER) ========== */
  .deep-dive-hero.border-dialect {
    background: linear-gradient(135deg, #C84B2C 0%, #7A2218 50%, #3F1410 100%);
    color: var(--cream);
  }
  .deep-dive-hero.border-dialect::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 25% 30%, rgba(232, 50, 109, 0.5) 0%, transparent 38%),
      radial-gradient(circle at 75% 70%, rgba(245, 200, 66, 0.25) 0%, transparent 35%),
      radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.15) 0%, transparent 40%);
    filter: blur(60px);
  }
  .deep-dive-hero.border-dialect::after {
    background:
      repeating-linear-gradient(0deg, transparent 0 1px, rgba(15, 14, 13, 0.3) 1px 2px),
      linear-gradient(180deg, transparent 0%, rgba(15, 14, 13, 0.5) 100%);
    mix-blend-mode: multiply;
  }
  .deep-dive-hero.border-dialect .pretitle { color: #F5C842; }
  .deep-dive-hero.border-dialect h2 em { color: #F5C842; font-style: italic; }
  .deep-dive-hero.border-dialect .signature-ring .method-tag { background: rgba(0,0,0,0.45); border-color: #F5C842; color: var(--cream); }

  .refusal-section.border-dialect-refusal { background: linear-gradient(180deg, #3F1410 0%, var(--char) 100%); color: var(--cream); }
  .refusal-section.border-dialect-refusal .refusal-list li::before { color: #F5C842; }
  .refusal-section.border-dialect-refusal .refusal-list li { text-decoration-color: #F5C842; }
  .refusal-section.border-dialect-refusal .section-label,
  .refusal-section.border-dialect-refusal .section-title em { color: #F5C842; font-style: italic; }

  .tension-section.border-dialect-tension { background: linear-gradient(135deg, #C84B2C 0%, #E8326D 100%); }
  .tension-section.border-dialect-tension::before {
    background: radial-gradient(circle at 50% 50%, rgba(245, 200, 66, 0.25) 0%, transparent 50%);
  }
  .tension-section.border-dialect-tension .tension-eyebrow,
  .tension-section.border-dialect-tension .tension-statement em,
  .tension-section.border-dialect-tension .tension-statement .ampersand { color: #F5C842; }
  .tension-section.border-dialect-tension .tension-statement em { font-style: italic; }

  .vectors-section.border-dialect-vectors { background: linear-gradient(180deg, var(--bone) 0%, #FFE9C2 100%); }
  .vectors-section.border-dialect-vectors .vector-card {
    background: var(--cream);
    border-color: rgba(232, 50, 109, 0.3);
  }
  .vectors-section.border-dialect-vectors .vector-card .vector-type,
  .vectors-section.border-dialect-vectors .vector-card .vector-prompt em,
  .vectors-section.border-dialect-vectors .vector-arrow,
  .vectors-section.border-dialect-vectors .section-label,
  .vectors-section.border-dialect-vectors .section-title em { color: #C84B2C; }
  .vectors-section.border-dialect-vectors .vector-card .vector-prompt em { font-style: italic; }
  .vectors-section.border-dialect-vectors .vector-card:hover { background: #C84B2C; color: var(--cream); border-color: #C84B2C; }
  .vectors-section.border-dialect-vectors .vector-card:hover .vector-type,
  .vectors-section.border-dialect-vectors .vector-card:hover .vector-prompt em,
  .vectors-section.border-dialect-vectors .vector-card:hover .vector-arrow { color: #F5C842; }

  .working-q-section.border-dialect-q { background: linear-gradient(135deg, #3F1410 0%, #7A2218 100%); }
  .working-q-section.border-dialect-q .working-q-eyebrow,
  .working-q-section.border-dialect-q .working-q-text em { color: #F5C842; font-style: italic; }

  /* ========== RESPONSIVE ========== */
  @media (max-width: 1100px) {
    .triptych { grid-template-columns: 1fr; }
    .artifacts-grid { grid-template-columns: 1fr; gap: 40px; }
    .vectors-grid { grid-template-columns: 1fr; }
    .decision-row { grid-template-columns: 1fr; gap: 12px; }
    .sequence-strip { grid-template-columns: 1fr; }
    .sequence-cell + .sequence-cell { border-left: none; border-top: 1px solid var(--rule); }
    footer .meta-grid { grid-template-columns: 1fr; }
    .panel.generational { background: var(--parchment); }
    .panel.generational .gen-grid { grid-template-columns: 1fr; gap: 60px; }
    .panel.generational .gen-side, .panel.generational .gen-side.right { padding: 0; color: var(--char); }
    .panel.generational .gen-side.right .panel-num,
    .panel.generational .gen-side.right .panel-title em { color: var(--crimson); }
    .panel.generational .gen-side.right .source-link { color: var(--crimson); }
    .panel.generational .gen-side.right .cohort-list li { border-top: 1px solid var(--rule-dark); }
    .method-matrix .cell.method-name { padding: 16px 14px; }
    .convergence-readout { grid-template-columns: 1fr; }
    .intake-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 768px) {
    .hero, .section, .section-dark, .deep-dive-hero .content, .panel, .convergence-section, .tension-section, .vectors-section, .working-q-section, .decision-section, .brief-section, .read-intro, .act-marker, footer { padding-left: 24px; padding-right: 24px; }
    .topbar { padding: 12px 24px; flex-wrap: wrap; gap: 12px; }
    .topbar .nav { display: flex; gap: 12px; }
    .topbar .nav a:not(.concepts-link) { display: none; }
    .topbar .nav a.concepts-link { display: inline-block; font-size: 10px; padding: 3px 8px; }
    .brief-letter { padding: 40px 28px; }
  }

  /* Per-image photo credit overlay — Unsplash attribution next to each picture.
     Injected at runtime by the photo-credits IIFE from the PHOTO_CREDITS map. */
  .photo-credit {
    position: absolute;
    bottom: 8px;
    right: 10px;
    z-index: 5;
    display: inline-block;
    max-width: calc(100% - 20px);
    padding: 3px 7px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.03em;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.42);
    border-radius: 2px;
    text-align: right;
    white-space: nowrap;
    text-decoration: none;
    pointer-events: auto;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    transition: color 0.18s ease, background 0.18s ease;
  }
  .photo-credit a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
    transition: border-color 0.18s ease;
  }
  .photo-credit:hover {
    color: rgba(255, 255, 255, 0.96);
    background: rgba(0, 0, 0, 0.62);
  }
  .photo-credit:hover a { border-bottom-color: rgba(255, 255, 255, 0.9); }
  .photo-credit--light {
    color: rgba(30, 25, 20, 0.78);
    background: rgba(255, 255, 255, 0.62);
  }
  .photo-credit--light a { border-bottom-color: rgba(30, 25, 20, 0.35); }
  .photo-credit--light:hover {
    color: #1a1612;
    background: rgba(255, 255, 255, 0.88);
  }
  .photo-credit--light:hover a { border-bottom-color: rgba(30, 25, 20, 0.85); }
  @media (max-width: 768px) {
    .photo-credit { font-size: 8px; padding: 2px 5px; bottom: 6px; right: 6px; letter-spacing: 0.02em; }
  }

  /* Credits section (Unsplash attribution) */
  .credits-section {
    padding: 100px 80px 120px;
    background: var(--char);
    color: var(--bone);
  }
  .credits-section .credits-inner {
    max-width: 1100px;
    margin: 0 auto;
  }
  .credits-section .section-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 24px;
    opacity: 0.85;
  }
  .credits-section .section-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.05;
    color: var(--bone);
    margin-bottom: 18px;
    letter-spacing: -0.015em;
  }
  .credits-section .section-title em {
    font-style: italic;
    color: var(--clay);
    opacity: 0.85;
  }
  .credits-section .section-deck {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 19px;
    line-height: 1.45;
    color: rgba(244, 238, 226, 0.7);
    margin-bottom: 48px;
    max-width: 700px;
  }
  .credits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(244, 238, 226, 0.12);
  }
  .credit-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid rgba(244, 238, 226, 0.08);
    gap: 24px;
  }
  .credit-row:nth-child(odd) {
    border-right: 1px solid rgba(244, 238, 226, 0.08);
    padding-right: 24px;
  }
  .credit-row:nth-child(even) {
    padding-left: 24px;
  }
  .credit-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 238, 226, 0.55);
    flex-shrink: 0;
  }
  .credit-photographer {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(244, 238, 226, 0.85);
    text-align: right;
  }
  .credit-photographer a {
    color: var(--clay);
    text-decoration: none;
    border-bottom: 1px solid rgba(193, 154, 107, 0.3);
    transition: border-color 0.18s;
  }
  .credit-photographer a:hover {
    border-bottom-color: var(--clay);
  }
  @media (max-width: 768px) {
    .credits-section { padding: 64px 24px 80px; }
    .credits-section .section-title { font-size: 36px; }
    .credits-list { grid-template-columns: 1fr; }
    .credit-row:nth-child(odd) { border-right: none; padding-right: 0; }
    .credit-row:nth-child(even) { padding-left: 0; }
    .credit-row { flex-direction: column; gap: 4px; align-items: flex-start; }
    .credit-photographer { text-align: left; }
  }




  /* ========== METHODOLOGY SECTION (How to read this atlas) ========== */
  .methodology-section {
    padding: 100px 60px 120px;
    background: var(--bone);
    color: var(--char);
    position: relative;
  }
  .methodology-section .methodology-inner {
    max-width: 1280px;
    margin: 0 auto;
  }
  .methodology-section .section-label { color: var(--ember); }
  .methodology-section .section-title { color: var(--char); margin-bottom: 16px; }
  .methodology-section .section-title em { color: var(--ember); font-style: italic; }
  .methodology-section .section-deck {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 21px;
    line-height: 1.5;
    color: var(--warm-grey);
    max-width: 760px;
    margin-bottom: 60px;
  }

  .method-key {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--rule-dark);
  }
  .method-key:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
  .method-key .key-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 10px;
  }
  .method-key .key-intro {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 17px;
    line-height: 1.5;
    color: var(--warm-grey);
    margin-bottom: 22px;
    max-width: 640px;
  }

  /* Progressive disclosure: methodology keys default to collapsed labels */
  details.method-key > summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
  }
  details.method-key > summary::-webkit-details-marker { display: none; }
  details.method-key > summary > .key-label { margin-bottom: 0; }
  details.method-key > summary::after {
    content: "+ expand";
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-grey);
    opacity: 0.55;
    transition: opacity 0.2s;
    flex-shrink: 0;
  }
  details.method-key > summary:hover::after { opacity: 0.95; }
  details.method-key[open] > summary::after { content: "− collapse"; }
  details.method-key[open] > summary { margin-bottom: 18px; }

  .key-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .key-list li {
    padding: 22px 24px 24px;
    border: 1px solid var(--rule-dark);
    border-right: none;
    background: rgba(0, 0, 0, 0.015);
    transition: background 0.2s;
  }
  .key-list li:last-child { border-right: 1px solid var(--rule-dark); }
  .key-list li.active {
    background: var(--char);
    color: var(--cream);
    border-color: var(--char);
  }
  .key-list li.active .key-name { color: var(--cream); }
  .key-list li.active .key-def { color: rgba(244, 238, 226, 0.78); }
  .key-list li.active .key-tag {
    background: var(--ember);
    color: var(--char);
  }
  .key-name {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.15;
    color: var(--char);
    margin-bottom: 8px;
    letter-spacing: -0.005em;
  }
  .key-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 3px 8px;
    background: var(--ember);
    color: var(--bone);
    margin-bottom: 12px;
    border-radius: 2px;
  }
  .key-def {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.55;
    color: var(--warm-grey);
  }

  .key-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule-dark);
    border-left: 1px solid var(--rule-dark);
  }
  .key-grid > div {
    padding: 20px 22px;
    border-right: 1px solid var(--rule-dark);
    border-bottom: 1px solid var(--rule-dark);
  }
  .key-grid .key-name { font-size: 19px; margin-bottom: 6px; }

  .key-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .key-col h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 18px;
    font-weight: 500;
  }
  .key-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .key-col li {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule-dark);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--warm-grey);
  }
  .key-col li:last-child { border-bottom: none; }
  .key-col li strong {
    color: var(--char);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 18px;
    margin-right: 8px;
    letter-spacing: -0.005em;
  }

  @media (max-width: 900px) {
    .methodology-section { padding: 64px 24px 80px; }
    .key-list, .key-grid { grid-template-columns: 1fr; }
    .key-list li { border-right: 1px solid var(--rule-dark) !important; border-bottom: none; }
    .key-list li:not(:last-child) { border-bottom: none; }
    .key-cols { grid-template-columns: 1fr; gap: 32px; }
  }



/* ============================================================
   THE PROVENANCE MAP  (shared by the atlas-base atlases)
   ============================================================ */
.provenance-section { padding: 120px 60px; background: var(--parchment); color: var(--char); }
.prov-inner { max-width: 1400px; margin: 0 auto; }
.provenance-section .section-title { color: var(--char); }
.provenance-section .section-title em { color: var(--crimson); font-style: italic; }

.chain { border: 1px solid var(--rule-dark); background: var(--bone); margin: 48px 0 56px; }
.chain-step { display: grid; grid-template-columns: 56px 1.15fr 1fr 1fr; gap: 26px; padding: 24px 28px;
  border-bottom: 1px solid var(--rule-dark); align-items: start; }
.chain-step:last-child { border-bottom: none; }
.chain-step.terminal { background: var(--cream); }
.cs-num { font-family: var(--font-mono); font-size: 20px; color: var(--ember); line-height: 1.2; }
.cs-name { font-family: var(--font-display); font-size: 24px; color: var(--char); line-height: 1.1; margin-bottom: 8px; }
.cs-rule { font-family: var(--font-body); font-size: 13px; line-height: 1.55; color: var(--warm-grey); }
.cs-rule b { color: var(--crimson); font-weight: 600; }
.cs-col .lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ash); margin-bottom: 7px; }
.cs-col p { font-family: var(--font-body); font-size: 13.5px; line-height: 1.55; color: var(--char); }
.cs-col p em { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--crimson); }
@media (max-width: 900px) { .chain-step { grid-template-columns: 44px 1fr; gap: 16px; } .cs-col { grid-column: 2; } }

.prov-sub-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ember); margin-bottom: 10px; }
.prov-sub-deck { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 20px;
  line-height: 1.5; color: var(--warm-grey); max-width: 760px; margin-bottom: 26px; }

.traceback { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
.tb-card { background: var(--bone); border: 1px solid var(--rule-dark); border-top: 3px solid var(--ember); padding: 28px 26px; }
.tb-card.t2 { border-top-color: var(--clay); }
.tb-card.t3 { border-top-color: var(--gold); }
.tb-name { font-family: var(--font-display); font-size: 30px; line-height: 1.05; color: var(--char); margin-bottom: 6px; }
.tb-role { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--warm-grey); margin-bottom: 18px; }
/* colour-coding lives in the 3px top border; the label stays high-contrast (contrast is a shipping gate) */
.tb-row { border-top: 1px solid var(--rule-dark); padding-top: 12px; margin-top: 12px; }
.tb-row .lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ash); margin-bottom: 6px; }
.tb-row p { font-family: var(--font-body); font-size: 13.5px; line-height: 1.55; color: var(--char); }
.tb-row .cite { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ash); margin-top: 8px; }
@media (max-width: 900px) { .traceback { grid-template-columns: 1fr; } }

.prov-standing { background: var(--bone); border: 1px solid var(--rule-dark); border-left: 3px solid var(--ember);
  padding: 30px 34px; margin-bottom: 56px; }
.prov-standing p { font-family: var(--font-body); font-size: 14.5px; line-height: 1.65; color: var(--char); max-width: 90ch; }
.prov-standing p + p { margin-top: 12px; }
.prov-standing b { color: var(--crimson); font-weight: 600; }

.changed { display: grid; gap: 13px; margin-bottom: 56px; list-style: none; padding: 0; }
.changed li { background: var(--bone); border: 1px solid var(--rule-dark); border-left: 2px solid var(--char);
  padding: 20px 24px; display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: baseline; }
.changed .ch-what { font-family: var(--font-display); font-size: 20px; color: var(--char); line-height: 1.15; }
.changed .ch-what span { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--crimson); margin-bottom: 6px; }
.changed .ch-why { font-family: var(--font-body); font-size: 13.5px; line-height: 1.6; color: var(--char); }
.changed .ch-why b { color: var(--crimson); font-weight: 600; }
@media (max-width: 900px) { .changed li { grid-template-columns: 1fr; gap: 10px; } }

.open-gaps { background: var(--char); color: var(--cream); padding: 40px 44px; border-left: 3px solid var(--ember); }
.open-gaps .og-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ember); margin-bottom: 12px; }
.open-gaps h4 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); font-weight: 400;
  color: var(--bone); margin-bottom: 24px; line-height: 1.1; }
.open-gaps ul { list-style: none; display: grid; gap: 13px; padding: 0; }
.open-gaps li { font-family: var(--font-body); font-size: 14.5px; line-height: 1.6; padding-left: 22px;
  position: relative; color: rgba(242, 235, 226, 0.85); }
.open-gaps li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--ember); }
.open-gaps li b { color: var(--gold); font-weight: 600; }
