  :root {
    --cream: #F5F0E8;
    --cream-dark: #EDE7D9;
    --rust: #8B3A2A;
    --rust-light: #A84432;
    --ink: #1C1915;
    --ink-mid: #2E2A24;
    --warm-gray: #9A9189;
    --gold: #B8943C;
    --rule: #C9BFB0;
    --tag-bg: #8B3A2A;
    --tag-text: #F5F0E8;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    line-height: 1.7;
  }

  /* ── NOISE TEXTURE OVERLAY ── */
  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
  }

  .page {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 70px;
    min-height: 100vh;
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
    background: var(--cream);
  }

  /* ── PAGE BREAKS FOR PRINT ── */
  @media print {
    .page-break { page-break-before: always; }
    body::before { display: none; }
  }

  /* ── HEADER BAND ── */
  .doc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--ink);
  }

  .header-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rust);
    font-weight: 500;
    margin-bottom: 6px;
  }

  .doc-title-block h1 {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 0.92;
    color: var(--ink);
    letter-spacing: -0.02em;
  }

  .doc-title-block h1 em {
    font-style: italic;
    color: var(--rust);
  }

  .doc-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 16px;
    color: var(--warm-gray);
    margin-top: 10px;
  }

  .doc-meta {
    text-align: right;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm-gray);
    line-height: 2;
  }

  /* ── FOOTER BAND ── */
  .doc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 16px;
    border-top: 2px solid var(--ink);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .footer-brand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 11px;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--ink);
  }

  .footer-label {
    color: var(--warm-gray);
    font-size: 8px;
    letter-spacing: 0.16em;
  }

  /* ── SECTION LABELS ── */
  .section-eyebrow {
    font-size: 8px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rust);
    font-weight: 500;
    margin-bottom: 6px;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 30px;
    letter-spacing: -0.01em;
  }

  .section-title em {
    font-style: italic;
    color: var(--rust);
  }

  /* ── RULES ── */
  .rule {
    border: none;
    border-top: 1px solid var(--rule);
    margin: 30px 0;
  }

  .rule-heavy {
    border: none;
    border-top: 2px solid var(--ink);
    margin: 40px 0;
  }

  /* ── BODY TEXT ── */
  .body-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--ink-mid);
    max-width: 640px;
  }

  .body-text + .body-text { margin-top: 16px; }

  /* ── BLOCKQUOTE ── */
  .pull-quote {
    border-left: 3px solid var(--rust);
    padding: 14px 24px;
    margin: 30px 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink);
  }

  /* ── SUBSECTION HEADERS ── */
  .subsection-label {
    font-size: 8px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rust);
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 30px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* ── BULLET LIST ── */
  .dash-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
  }

  .dash-list li {
    font-size: 12px;
    color: var(--ink-mid);
    padding: 5px 0 5px 20px;
    position: relative;
    border-bottom: 1px solid var(--cream-dark);
    line-height: 1.6;
  }

  .dash-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--rust);
    font-weight: 700;
  }

  /* ── BELIEF GRID ── */
  .belief-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin: 20px 0;
  }

  .belief-cell {
    background: var(--cream);
    padding: 16px 18px;
    font-size: 11.5px;
    color: var(--ink-mid);
    line-height: 1.5;
  }

  /* ── TAG / BADGE ── */
  .tag {
    display: inline-block;
    background: var(--tag-bg);
    color: var(--tag-text);
    font-size: 8px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 3px 8px;
    margin: 3px 3px 3px 0;
  }

  .tag-outline {
    display: inline-block;
    border: 1px solid var(--rust);
    color: var(--rust);
    font-size: 8px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 3px 8px;
    margin: 3px 3px 3px 0;
  }

  /* ── TABLE OF CONTENTS ── */
  .toc-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }

  .toc-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
  }

  .toc-title em {
    font-style: italic;
    color: var(--rust);
  }

  .toc-label {
    font-size: 8px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--warm-gray);
  }

  /* ── PHILOSOPHY PILL ── */
  .philosophy-block {
    background: var(--cream-dark);
    border-left: 3px solid var(--rust);
    padding: 18px 22px;
    margin: 14px 0;
    font-size: 12px;
    line-height: 1.7;
    color: var(--ink-mid);
  }

  /* ── SONG SHEET ── */
  .song-number {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 900;
    color: var(--cream-dark);
    line-height: 1;
    position: absolute;
    right: 70px;
    top: 60px;
    letter-spacing: -0.04em;
  }

  .song-header-block {
    position: relative;
  }

  .song-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
  }

  .song-title em {
    font-style: italic;
    color: var(--rust);
  }

  .song-meta-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  /* ── CONTENT FIELD ── */
  .field-block {
    margin: 0;
  }

  .field-label {
    font-size: 8px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rust);
    font-weight: 500;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .field-content {
    font-size: 12px;
    line-height: 1.75;
    color: var(--ink-mid);
    min-height: 48px;
  }

  .field-content.placeholder {
    color: var(--rule);
    font-style: italic;
  }

  /* ── CONTENT HOOK ROWS ── */
  .hook-row {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cream-dark);
    align-items: flex-start;
  }

  .hook-number {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--cream-dark);
    min-width: 28px;
    line-height: 1;
    padding-top: 2px;
  }

  .hook-text {
    font-size: 12px;
    color: var(--ink-mid);
    line-height: 1.6;
  }

  /* ── TWO-COL LAYOUT ── */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
  }

  /* ── MARKER BAND (page section indicator top-right) ── */
  .marker-band {
    position: fixed;
    top: 0;
    right: 0;
    background: var(--rust);
    color: var(--cream);
    font-size: 7.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 6px 14px;
    z-index: 100;
  }

  /* ── PAGE NUMBER ── */
  .page-num {
    font-size: 9px;
    letter-spacing: 0.14em;
    color: var(--warm-gray);
  }

  /* ── NAV BAR ── */
  .nav-bar {
    background: var(--ink);
    color: var(--cream);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    font-size: 8px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 200;
  }

  .nav-brand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: none;
  }

  .nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
  }

  .nav-links a {
    color: var(--cream);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s;
  }

  .nav-links a:hover { opacity: 1; }

  .nav-confidential {
    color: var(--rust-light);
    font-size: 7.5px;
  }

  /* ── COLOR-CODED CATEGORY BLOCKS ── */
  .cat-block { margin: 18px 0; border-radius: 2px; overflow: hidden; }

  .cat-label {
    font-size: 7.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .cat-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
  }
  .cat-body {
    padding: 12px 14px 14px;
    font-size: 11.5px;
    line-height: 1.7;
  }
  .cat-body ul { list-style: none; padding: 0; margin: 0; }
  .cat-body ul li {
    padding: 6px 0 6px 18px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    line-height: 1.55;
  }
  .cat-body ul li:last-child { border-bottom: none; }
  .cat-body ul li::before { content: '→'; position: absolute; left: 0; font-size: 10px; opacity: 0.5; }

  /* PAIN POINTS — deep burgundy */
  .cat-pain .cat-label { background: #3D1A14; color: #F5C9BE; }
  .cat-pain .cat-body  { background: #F9EDE9; color: #2E1810; }

  /* OPENING HOOKS — dark forest green */
  .cat-hooks .cat-label { background: #1A2E1A; color: #B8D4B0; }
  .cat-hooks .cat-body  { background: #EDF2EB; color: #1A2E1A; }

  /* CAPTIONS — deep navy */
  .cat-captions .cat-label { background: #1A1E36; color: #B0B8D4; }
  .cat-captions .cat-body  { background: #ECEEF5; color: #1A1E36; }

  /* CONTENT IDEAS — warm amber */
  .cat-content .cat-label { background: #3D2E0A; color: #D4C07A; }
  .cat-content .cat-body  { background: #F5F0E0; color: #2E2208; }

  /* STITCH TARGETS — slate teal */
  .cat-stitch .cat-label { background: #0E2A2A; color: #8DCFCF; }
  .cat-stitch .cat-body  { background: #E8F2F2; color: #0E2A2A; }

  /* CREATOR TARGETS — muted plum */
  .cat-creators .cat-label { background: #2A1A36; color: #C4A8D4; }
  .cat-creators .cat-body  { background: #F0EAF5; color: #2A1A36; }

  /* SYNC / LICENSING — charcoal gold */
  .cat-sync .cat-label { background: #2A2410; color: #D4C07A; }
  .cat-sync .cat-body  { background: #F5F2E5; color: #2A2410; }

  /* EXPERT NOTES — rust */
  .cat-expert .cat-label { background: var(--rust); color: #F5E8E4; }
  .cat-expert .cat-body  { background: #F9EDE9; color: #2E1810; border-left: 3px solid var(--rust); }

  /* RELEASE STRATEGY — ink */
  .cat-release .cat-label { background: var(--ink); color: #C9BFB0; }
  .cat-release .cat-body  { background: var(--cream-dark); color: var(--ink); }

  /* ── LYRIC CALLOUT ── */
  .lyric-callout {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 15px;
    color: var(--rust);
    background: var(--cream-dark);
    border-left: 3px solid var(--rust);
    padding: 10px 16px;
    margin: 8px 0;
    line-height: 1.5;
  }

  .song-section-title {
    font-size: 8px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin: 24px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--rule);
  }

  /* ── STORY PAGE ── */
  .story-page {
    background: #F0E9DC;
    border-left: 4px solid var(--rust);
  }

  .story-eyebrow {
    font-size: 8px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rust);
    font-weight: 500;
    margin-bottom: 4px;
  }

  .story-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: 6px;
  }

  .story-title em { font-style: italic; color: var(--rust); }

  .story-song-ref {
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rule);
  }

  .story-body {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    line-height: 1.9;
    color: var(--ink-mid);
    max-width: 660px;
  }

  .story-body p { margin-bottom: 18px; }

  .story-lyric {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 17px;
    color: var(--rust);
    border-left: 3px solid var(--rust);
    padding: 12px 20px;
    margin: 24px 0;
    line-height: 1.5;
    background: rgba(139,58,42,0.05);
  }

  .story-lyric span {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-style: normal;
    font-size: 8.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-top: 6px;
  }

  /* OUTPUTS — warm olive */
  .cat-outputs .cat-label { background: #1E2A14; color: #C4D4A8; }
  .cat-outputs .cat-body  { background: #EDF2E8; color: #1E2A14; }

  .story-outputs {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
  }

  .story-placeholder {
    font-style: italic;
    color: var(--rule);
    font-size: 12px;
    padding: 20px 0;
  }


  /* ══════════════════════════════════════════════════════
     MULTI-PAGE SITE NAV  (added for restructured hub)
     ══════════════════════════════════════════════════════ */
  .site-nav {
    background: var(--ink);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
    position: sticky;
    top: 0;
    z-index: 500;
    min-height: 46px;
    border-bottom: 1px solid #000;
    flex-wrap: wrap;
  }
  .site-nav .brand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--cream);
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 0;
  }
  .site-nav .brand span { color: var(--rust-light); }
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
  }
  .nav-menu > li { position: relative; }
  .nav-menu > li > a {
    display: block;
    color: var(--cream);
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 15px 11px;
    opacity: 0.62;
    transition: opacity 0.15s, background 0.15s;
    white-space: nowrap;
  }
  .nav-menu > li > a:hover { opacity: 1; background: rgba(255,255,255,0.06); }
  .nav-menu > li > a.active { opacity: 1; color: #E8C9A0; box-shadow: inset 0 -2px 0 var(--rust-light); }

  /* Songs dropdown */
  .nav-dd > a::after { content: ' ▾'; font-size: 7px; opacity: 0.7; }
  .nav-dd-panel {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: #14110E;
    border: 1px solid #000;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    min-width: 460px;
    padding: 14px 16px 16px;
    z-index: 600;
    grid-template-columns: 1fr 1fr;
    gap: 4px 26px;
  }
  .nav-dd:hover .nav-dd-panel,
  .nav-dd:focus-within .nav-dd-panel { display: grid; }
  .nav-dd-col-head {
    grid-column: span 1;
    font-size: 7.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rust-light);
    padding: 4px 0 6px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 4px;
  }
  .nav-dd-panel a {
    display: block;
    color: var(--cream);
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.03em;
    text-transform: none;
    padding: 5px 6px;
    opacity: 0.72;
    border-radius: 2px;
  }
  .nav-dd-panel a:hover { opacity: 1; background: rgba(255,255,255,0.07); }
  .nav-dd-panel a .flag {
    font-size: 7.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #E8C9A0;
    opacity: 0.85;
    margin-left: 5px;
  }

  /* Page hero header for interior pages */
  .page-hero { margin-bottom: 34px; }
  .page-hero .kicker {
    font-size: 8px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rust);
    font-weight: 500;
    margin-bottom: 10px;
  }
  .page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .page-hero h1 em { font-style: italic; color: var(--rust); }
  .page-hero .sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    line-height: 1.7;
    color: var(--warm-gray);
    margin-top: 12px;
    max-width: 620px;
  }

  /* Prev / Next song footer nav */
  .song-pager {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 2px solid var(--ink);
  }
  .song-pager a {
    flex: 1;
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    color: var(--ink);
    padding: 12px 14px;
    border: 1px solid var(--rule);
    background: var(--cream-dark);
    transition: background 0.15s;
  }
  .song-pager a:hover { background: #E4DAC6; }
  .song-pager a.next { text-align: right; }
  .song-pager a.disabled { opacity: 0.3; pointer-events: none; }
  .song-pager .lbl { font-size: 7.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); display: block; margin-bottom: 4px; }
  .song-pager .ttl { font-size: 12px; }

  /* Back-to-dashboard chip + page meta row */
  .page-utility {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--warm-gray);
  }
  .page-utility a { color: var(--rust); text-decoration: none; }
  .page-utility a:hover { text-decoration: underline; }

  /* Placeholder note for unbuilt buckets */
  .placeholder-note {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    color: var(--warm-gray);
    font-style: italic;
    padding: 10px 14px;
    border: 1px dashed var(--rule);
    background: rgba(0,0,0,0.015);
    border-radius: 2px;
  }
  .locked-badge {
    display: inline-block;
    font-size: 7px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: var(--ink);
    color: #C9BFB0;
    padding: 2px 7px;
    border-radius: 2px;
    margin-left: 8px;
    vertical-align: middle;
  }

  /* Simple two-col grid used on album/strategy index cards */
  .link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
  .link-grid a {
    display: block; text-decoration: none; color: var(--ink);
    border: 1px solid var(--rule); background: var(--cream-dark);
    padding: 14px 16px; transition: background 0.15s;
  }
  .link-grid a:hover { background: #E4DAC6; }
  .link-grid .lg-label { font-size: 7.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); margin-bottom: 5px; }
  .link-grid .lg-title { font-family: 'Playfair Display', serif; font-size: 17px; }

  @media (max-width: 720px) {
    .page { padding: 34px 22px; }
    .nav-dd-panel { min-width: 280px; grid-template-columns: 1fr; }
    .site-nav { padding: 0 14px; }
    .link-grid { grid-template-columns: 1fr; }
  }
