/* ═══════════════════════════════════════════════════════════════════════════════
   EPISODE ONE — GLOSSARY
   ═══════════════════════════════════════════════════════════════════════════════ */

.glossary-page {
    background: #111;
    min-height: 100vh;
    padding-bottom: 100px;
}

/* ── Header ──────────────────────────────────────────────────────────────────── */
.glossary-header {
    background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
    border-bottom: 3px solid #D4AF37;
    padding: 52px 0 40px;
}

.glossary-header-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px;
}

.glossary-eyebrow {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 8px;
    display: block;
}

.glossary-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: #f0ece4;
    line-height: 1.1;
    margin-bottom: 8px;
}

.glossary-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    color: #aaa;
    font-weight: 300;
}

/* ── Body ────────────────────────────────────────────────────────────────────── */
.glossary-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 40px 0;
}

.glossary-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Letter nav ──────────────────────────────────────────────────────────────── */
.glossary-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #1e1e1e;
}

.glossary-nav-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 400;
    color: #aaa;
    text-decoration: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2a2a2a;
    transition: color 0.2s, border-color 0.2s;
}

.glossary-nav-letter:hover {
    color: #D4AF37;
    border-color: #D4AF37;
}

/* ── Letter group ────────────────────────────────────────────────────────────── */
.glossary-group {
    margin-bottom: 48px;
}

.glossary-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    color: #444;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #1e1e1e;
}

/* ── Terms ───────────────────────────────────────────────────────────────────── */
.glossary-terms {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.glossary-term {
    background: #1a1a1a;
    padding: 32px 36px;
    border-left: 3px solid #242424;
    transition: border-color 0.2s, background 0.2s;
}

.glossary-term:hover {
    background: #1e1e1e;
    border-left-color: #D4AF37;
}

.glossary-term-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #f0ece4;
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Definition fallback — when no quote */
.glossary-term-def {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    color: #bbb;
    line-height: 1.7;
    font-weight: 300;
    font-style: italic;
}

/* ── Quote ───────────────────────────────────────────────────────────────────── */
.glossary-quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #f5f1eb;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 16px;
    font-size: 1.35rem;
    font-weight: 400;
    padding: 0;
    border: none;
}

.glossary-quote-attr {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.glossary-quote-name {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #D4AF37;
    text-transform: uppercase;
}

.glossary-quote-sep {
    color: #444;
    font-size: 12px;
}

.glossary-quote-show {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 11px;
    color: #aaa;
    font-style: italic;
}

/* ── Show example ────────────────────────────────────────────────────────────── */
.glossary-example {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #2a2a2a;
}

.glossary-example-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #D4AF37;
    display: block;
    margin-bottom: 8px;
}

.glossary-example-text {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13px;
    color: #d0ccc4;
    line-height: 1.7;
    font-weight: 400;
    margin: 0;
    font-size: 14px;
}

/* ── Mobile ──────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .glossary-header-inner,
    .glossary-body { padding-left: 20px; padding-right: 20px; }
    .glossary-title { font-size: 2rem; }
    .glossary-term { padding: 20px; }
}