:root {
    --ink: #0f0f0f;
    --paper: #f5f0e8;
    --cream: #ece6d4;
    --gold: #c9952a;
    --gold-light: #e8c46a;
    --teal: #1a6b6b;
    --red: #a8342a;
    --rule: #c9952a33;
    --section-bg: #1a1a1a;
    --section-text: #f5f0e8;
  }

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

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 300;
    line-height: 1.7;
  }

  /* COVER */
  .cover {
    background: var(--section-bg);
    color: var(--section-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 10%;
    position: relative;
    overflow: hidden;
  }

  .cover::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
      repeating-linear-gradient(0deg, transparent, transparent 59px, #ffffff08 59px, #ffffff08 60px),
      repeating-linear-gradient(90deg, transparent, transparent 59px, #ffffff05 59px, #ffffff05 60px);
    pointer-events: none;
  }

  .cover-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
  }

  .cover h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--paper);
  }

  .cover h1 span {
    color: var(--gold);
    display: block;
  }

  .cover-sub {
    font-size: 17px;
    color: #aaa;
    max-width: 560px;
    margin-bottom: 60px;
    line-height: 1.6;
  }

  .cover-meta {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
  }

  .meta-item label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
  }

  .meta-item span {
    font-size: 15px;
    color: var(--paper);
    font-weight: 500;
  }

  /* SECTIONS */
  .toc {
    background: var(--cream);
    padding: 80px 10%;
    border-bottom: 1px solid var(--rule);
  }

  .toc h2 {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 36px;
  }

  .toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }

  .toc-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--paper);
    border-left: 3px solid var(--gold);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }

  .toc-item:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translateX(4px);
  }

  .toc-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--gold);
    padding-top: 3px;
    min-width: 28px;
  }

  .toc-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
  }

  /* SCRIPT SECTIONS */
  .script-section {
    padding: 80px 10%;
    border-bottom: 1px solid var(--rule);
    position: relative;
  }

  .script-section:nth-child(even) {
    background: #faf7f1;
  }

  .section-header {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 48px;
  }

  .section-number {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 900;
    color: var(--rule);
    line-height: 1;
    min-width: 80px;
  }

  .section-title-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
  }

  .section-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal);
    background: #1a6b6b15;
    padding: 4px 10px;
    display: inline-block;
  }

  .duration-badge {
    margin-left: 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    background: #c9952a15;
    padding: 4px 10px;
    display: inline-block;
  }

  /* SCRIPT CONTENT -->
  .script-block {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    margin-bottom: 40px;
    align-items: start;
  }

  @media (max-width: 768px) {
    .script-block { grid-template-columns: 1fr; }
    .script-sidebar { display: none; }
    .cover-meta { gap: 24px; }
    .section-number { font-size: 48px; }
  }

  .script-sidebar {
    text-align: right;
    padding-top: 4px;
  }

  .slide-ref {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    background: #c9952a12;
    padding: 6px 12px;
    display: inline-block;
    margin-bottom: 8px;
  }

  .visual-hint {
    font-size: 11px;
    color: #999;
    font-style: italic;
    line-height: 1.4;
  }

  .script-text {
    font-size: 16px;
    line-height: 1.85;
    color: #2a2a2a;
  }

  .script-text p {
    margin-bottom: 20px;
  }

  .script-text p:last-child {
    margin-bottom: 0;
  }

  .emphasis {
    color: var(--teal);
    font-weight: 600;
  }

  .stat {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 15px;
    font-weight: 500;
    color: var(--gold);
    background: #c9952a10;
    padding: 2px 8px;
    border-bottom: 2px solid var(--gold);
  }

  /* CALLOUT BOXES */
  .callout {
    background: var(--section-bg);
    color: var(--section-text);
    padding: 28px 32px;
    margin: 32px 0;
    border-left: 4px solid var(--gold);
    position: relative;
  }

  .callout::before {
    content: attr(data-label);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
  }

  .callout p {
    font-size: 15px;
    line-height: 1.7;
    color: #ccc;
    margin: 0;
  }

  .callout strong {
    color: var(--paper);
  }

  /* KEY FINDINGS STRIP */
  .findings-strip {
    background: var(--teal);
    color: white;
    padding: 32px 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
  }

  .finding-item {
    border-left: 2px solid rgba(255,255,255,0.3);
    padding-left: 20px;
  }

  .finding-num {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 6px;
  }

  .finding-label {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
  }

  /* DIVIDER */
  .gold-rule {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 32px 0;
  }

  /* PRINT / TELEPROMPTER TOGGLE */
  .toolbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ink);
    padding: 12px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .toolbar-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #666;
  }

  .toolbar-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .btn {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 18px;
    border: 1px solid #444;
    background: transparent;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
  }

.btn:hover, .btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: #c9952a15;
  }

  /* TELEPROMPTER MODE */
  body.teleprompter .script-sidebar { display: none; }
  body.teleprompter .script-block { grid-template-columns: 1fr; }
  body.teleprompter .script-text {
    font-size: 22px;
    line-height: 2;
    color: var(--ink);
  }
  body.teleprompter .cover { min-height: auto; padding: 40px 10%; }
  body.teleprompter .section-number { display: none; }
  body.teleprompter .findings-strip { display: none; }

  /* FOOTER */
  footer {
    background: var(--section-bg);
    color: #555;
    padding: 40px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  footer span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  footer .footer-brand {
    color: var(--gold);
  }
