:root {
  --bg: #0a0a0a;
  --panel: #141414;
  --panel-2: #1b1b1b;
  --line: rgba(255,255,255,0.12);
  --text: #f2f2ef;
  --muted: #a3a3a0;
  --accent: #d7b573;
  --accent-soft: rgba(215,181,115,0.12);
  --max: 1160px;
  --radius: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: radial-gradient(circle at top, #171717 0%, var(--bg) 38%); color: var(--text); font-family: Inter, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; backdrop-filter: blur(16px); background: rgba(10,10,10,0.72); border-bottom: 1px solid var(--line); z-index: 20; }
.nav { display: grid; grid-template-columns: auto minmax(210px, 1fr) auto; align-items: center; padding: 10px 0; gap: 18px; }
.brand { font-weight: 800; letter-spacing: 0.14em; font-size: 0.82rem; display: flex; align-items: center; gap: 8px; }
.brand-logo { flex-shrink: 0; }
.brand-accent { color: var(--accent); }
nav { display: flex; gap: 15px; }
nav a { color: var(--muted); }
nav a.active, nav a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.global-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; max-width: 520px; width: 100%; justify-self: center; }
.global-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.global-search input { min-width: 0; height: 36px; border: 1px solid var(--line); border-right: 0; border-radius: 7px 0 0 7px; background: rgba(255,255,255,.045); color: var(--text); padding: 0 11px; font: inherit; font-size: .82rem; }
.global-search button { height: 36px; border: 1px solid var(--line); border-radius: 0 7px 7px 0; background: var(--panel-2); color: var(--muted); padding: 0 11px; font: inherit; font-size: .76rem; cursor: pointer; }
.global-search input:focus { outline: none; border-color: var(--accent); }
.global-search button:hover { color: var(--text); }
.hero { padding: 46px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 28px; align-items: start; }
.hero h1 { font-size: clamp(2.35rem, 5vw, 4.35rem); line-height: 0.96; max-width: 12ch; margin: 0 0 14px; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; margin: 0 0 14px; }
.lede { color: #cfceca; font-size: 1.12rem; line-height: 1.6; max-width: 54ch; }
.narrow { max-width: 42rem; }
.hero-actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; }
.btn-primary { background: var(--text); color: #080808; }
.btn-secondary { background: transparent; }
.panel { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border: 1px solid var(--line); border-radius: var(--radius); padding: 17px; box-shadow: 0 8px 20px rgba(0,0,0,0.16); }
.hero-card h2 { margin: 8px 0 16px; font-size: 1.8rem; }
.label, .micro, .muted { color: var(--muted); }
.top-three { list-style: none; padding: 0; margin: 0; }
.top-three li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.top-three li:first-child { border-top: 0; }
.rank-badge { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.score-chip { color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 0.88rem; }
.section { padding: 26px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 20px; }
.section-head h2, .statement h2, .page-intro h1 { margin: 0; font-size: clamp(1.75rem, 3.1vw, 2.6rem); }
.section-copy { color: var(--muted); max-width: 42ch; line-height: 1.6; }
.criteria-grid, .featured-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.criterion h3 { margin-top: 0; margin-bottom: 8px; }
.criterion p { margin: 0; color: var(--muted); line-height: 1.55; }
.feature-card { display: flex; flex-direction: column; gap: 12px; }
.feature-card .meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 0.92rem; }
.feature-card h3 { margin: 0; font-size: 1.35rem; }
.feature-card p { margin: 0; color: #cfceca; line-height: 1.6; }
.text-link { color: var(--accent); }
.statement { margin: 16px auto 56px; max-width: 920px; }
.statement p:last-child { color: #cfceca; line-height: 1.75; max-width: 65ch; }
.site-footer { border-top: 1px solid var(--line); margin-top: 30px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0 38px; color: var(--muted); font-size: 0.94rem; }
.page-main { padding: 22px 0 20px; }
.page-intro { margin-bottom: 20px; }
.narrow-main { max-width: 860px; }
.controls-panel { display: grid; grid-template-columns: 1fr 200px; gap: 16px; margin-bottom: 20px; }
.controls-panel-wide { grid-template-columns: 1fr 150px 150px 150px; }
.controls-panel label { display: block; margin-bottom: 8px; color: var(--muted); }
.controls-panel input, .controls-panel select {
  width: 100%; background: #0d0d0d; color: var(--text); border: 1px solid var(--line); border-radius: 12px; min-height: 46px; padding: 0 14px; font: inherit;
}
.ranking-list { display: grid; gap: 14px; }
.ranking-item { display: grid; grid-template-columns: 72px 1.1fr 0.9fr auto; gap: 18px; align-items: start; }
.rank-block { display: grid; place-items: center; min-height: 72px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); font-size: 1.35rem; font-weight: 800; }
.ranking-item h3 { margin: 0 0 4px; font-size: 1.4rem; }
.subtitle, .verdict { color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 8px 14px; }
.metric { border-top: 1px solid var(--line); padding-top: 10px; }
.metric strong { display: block; font-size: 0.86rem; color: var(--muted); margin-bottom: 4px; }
.metric span { font-size: 1.1rem; }
.overall { min-width: 104px; text-align: right; }
.overall .big-score { font-size: 2rem; font-weight: 800; }
.prose p { color: #cfceca; line-height: 1.75; }
code { background: rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 6px; }
@media (max-width: 980px) {
  .hero-grid, .criteria-grid, .featured-grid, .controls-panel, .controls-panel-wide { grid-template-columns: 1fr; }
  .ranking-item { grid-template-columns: 58px 1fr; }
  .overall { text-align: left; }
}
@media (max-width: 700px) {
  .footer-grid, .section-head { flex-direction: column; align-items: start; }
  .hero { padding-top: 44px; }
  .hero h1 { max-width: 13ch; }
}

.page-grid { display:grid; grid-template-columns: minmax(0, 1.35fr) 280px; gap: 14px; align-items:start; }
.kicker { color: var(--muted); font-size: 0.96rem; margin: 8px 0 18px; }
.film-head h1 { margin: 0 0 8px; font-size: clamp(1.9rem, 3vw, 2.85rem); }
.score-hero { display:grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin: 20px 0 24px; }
.score-box { border:1px solid var(--line); border-radius:16px; padding:14px; background: rgba(255,255,255,0.02); }
.score-box strong { display:block; color:var(--muted); font-size:0.82rem; margin-bottom:6px; }
.score-box span { font-size:1.5rem; font-weight:800; }
.film-body p { color:#cfceca; line-height:1.62; font-size:.96rem; }
.side-stack { display:grid; gap:16px; }
.stat-list { display:grid; gap:12px; }
.stat-row { display:flex; justify-content:space-between; gap:12px; padding-top:10px; border-top:1px solid var(--line); color:#cfceca; }
.home-slab { display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; }
.featured-list { display:grid; gap:12px; }
.featured-mini { display:flex; justify-content:space-between; gap:16px; padding:14px 0; border-top:1px solid var(--line); }
.featured-mini:first-child { border-top:0; padding-top:0; }
.quote-card blockquote { margin:0; font-size:1.35rem; line-height:1.45; }
.quote-card cite { display:block; margin-top:12px; color:var(--muted); font-style:normal; }
.heard-section { margin: 28px 0 26px; }
.quote-stack { display: grid; gap: 12px; }
.quote-card { margin: 0; padding: 18px; background: #11110f; }
.quote-card figcaption { margin-top: 18px; }
.quote-card figcaption strong { display: block; color: var(--accent); }
.quote-card cite a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.smallcaps { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--accent); }

/* Filter bar */
.filter-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 6px; }
.filter-tab { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 8px 18px; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.15s, color 0.15s; }
.filter-tab:hover { color: var(--text); }
.filter-tab.active { background: var(--text); color: #080808; border-color: var(--text); }
.filter-sub { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip { background: var(--accent-soft); border: 1px solid transparent; color: var(--muted); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 0.84rem; font-weight: 500; cursor: pointer; transition: background 0.15s, color 0.15s; }
.filter-chip:hover { color: var(--text); }
.filter-chip.active { background: var(--accent); color: #080808; border-color: var(--accent); }

/* Compact ranking items (homepage) */
.ranking-item-compact { display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; align-items: center; padding: 18px 22px; }
.ranking-item-compact .rank-badge { width: 42px; height: 42px; font-size: 1rem; }
.ranking-item-compact h3 { margin: 0 0 2px; font-size: 1.15rem; }
.ranking-item-compact .verdict { margin: 6px 0 0; font-size: 0.92rem; }
.ranking-info { min-width: 0; }

@media (max-width: 980px) {
  .page-grid, .home-slab, .score-hero { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: start; }
  .ranking-item-compact { grid-template-columns: 38px 1fr; }
  .ranking-item-compact .overall { text-align: left; }
}

/* ---- Auth & Reviews ---- */

/* Auth button in header */
.pm-auth-wrap { position: relative; margin-left: 8px; }
.pm-auth-btn { font-size: 0.9rem; padding: 0 16px; min-height: 40px; cursor: pointer; }
.pm-auth-btn.pm-logged-in { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.pm-user-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: middle; }

/* User dropdown */
.pm-user-dropdown { display: none; position: absolute; top: calc(100% + 8px); right: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; min-width: 200px; padding: 8px 0; z-index: 50; box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.pm-user-dropdown.show { display: block; }
.pm-dropdown-email { padding: 10px 16px; font-size: 0.85rem; color: var(--muted); border-bottom: 1px solid var(--line); overflow: hidden; text-overflow: ellipsis; }
.pm-dropdown-item { display: block; width: 100%; text-align: left; background: none; border: none; color: var(--text); padding: 10px 16px; font: inherit; font-size: 0.92rem; cursor: pointer; }
.pm-dropdown-item:hover { background: rgba(255,255,255,0.05); }

/* Modal overlay */
.pm-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); z-index: 100; justify-content: center; align-items: center; }
.pm-modal-overlay.active { display: flex; }
.pm-modal { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); width: min(440px, calc(100% - 32px)); max-height: 90vh; overflow-y: auto; padding: 28px; position: relative; box-shadow: 0 24px 48px rgba(0,0,0,0.5); }
.pm-modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1; padding: 4px; }
.pm-modal-close:hover { color: var(--text); }

/* Modal tabs */
.pm-modal-tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.pm-tab { background: none; border: none; color: var(--muted); font: inherit; font-size: 1rem; font-weight: 600; padding: 8px 16px; cursor: pointer; border-radius: 8px; }
.pm-tab:hover { color: var(--text); }
.pm-tab.active { color: var(--text); background: rgba(255,255,255,0.06); }

/* Form styles */
.pm-form { display: flex; flex-direction: column; gap: 16px; }
.pm-field { display: flex; flex-direction: column; gap: 6px; }
.pm-field label { font-size: 0.88rem; color: var(--muted); font-weight: 500; }
.pm-field input, .pm-field textarea { background: #0d0d0d; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 0.95rem; }
.pm-field input:focus, .pm-field textarea:focus { outline: none; border-color: var(--accent); }
.pm-field textarea { resize: vertical; min-height: 100px; }
.pm-error { color: #e85d5d; font-size: 0.88rem; min-height: 0; }
.pm-success { color: #5de88d; font-size: 0.88rem; }
.pm-btn-full { width: 100%; }
.pm-link-btn { background: none; border: none; color: var(--accent); font: inherit; font-size: 0.88rem; cursor: pointer; padding: 0; text-align: left; }
.pm-link-btn:hover { text-decoration: underline; }
.pm-form-note { color: var(--muted); font-size: 0.92rem; margin: 0; line-height: 1.5; }

/* Toast */
.pm-toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.pm-toast { background: var(--panel-2); border: 1px solid var(--line); color: var(--text); padding: 14px 20px; border-radius: 12px; font-size: 0.92rem; box-shadow: 0 8px 24px rgba(0,0,0,0.4); opacity: 0; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s; }
.pm-toast.show { opacity: 1; transform: translateY(0); }

/* Review section on film pages */
#pm-review-section { margin-top: 32px; max-width: calc(1.2fr); }
#pm-review-section.wrap { width: min(var(--max), calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.pm-reviews-header { margin-bottom: 20px; }
.pm-reviews-header h2 { margin: 0 0 6px; font-size: 1.6rem; }
.pm-login-prompt { text-align: center; padding: 28px; margin-bottom: 20px; }
.pm-login-prompt p { margin: 0 0 16px; color: var(--muted); }
.pm-login-prompt .btn { margin: 0 6px; }

/* Review form */
.pm-review-form { margin-bottom: 20px; }
.pm-review-form h3 { margin: 0 0 16px; font-size: 1.15rem; }
.pm-score-inputs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
.pm-score-field { display: flex; flex-direction: column; gap: 6px; }
.pm-score-field label { font-size: 0.82rem; color: var(--muted); font-weight: 500; display: flex; justify-content: space-between; }
.pm-score-val { color: var(--text); font-weight: 700; }
.pm-score-field input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; outline: none; }
.pm-score-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; background: var(--accent); border-radius: 50%; cursor: pointer; }
.pm-score-field input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; background: var(--accent); border-radius: 50%; cursor: pointer; border: none; }
.pm-your-overall { text-align: center; font-size: 1rem; color: var(--muted); margin-bottom: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.02); }
.pm-your-overall strong { color: var(--accent); font-size: 1.3rem; margin-left: 6px; }
.pm-char-count { text-align: right; font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.pm-review-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Community averages */
#pm-community-averages { margin-bottom: 20px; }
#pm-community-averages h3 { margin: 0 0 14px; font-size: 1.1rem; }
.pm-avg-scores { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 12px; }
.pm-avg-item { text-align: center; }
.pm-avg-item strong { display: block; font-size: 0.78rem; color: var(--muted); text-transform: capitalize; margin-bottom: 4px; }
.pm-avg-item span { font-size: 1.2rem; font-weight: 700; }
.pm-avg-overall-score { text-align: center; font-size: 1rem; color: var(--muted); }
.pm-avg-overall-score strong { color: var(--accent); font-size: 1.4rem; margin-left: 4px; }
.pm-review-count { text-align: center; margin-top: 8px; }

/* Review cards */
.pm-review-card { margin-bottom: 12px; }
.pm-review-card.pm-own-review { border-color: var(--accent); }
.pm-review-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.pm-review-card-header strong { font-size: 1rem; }
.pm-review-date { color: var(--muted); font-size: 0.84rem; }
.pm-review-card-header .score-chip { margin-left: auto; }
.pm-review-scores-mini { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pm-mini-score { font-size: 0.82rem; color: var(--muted); }
.pm-mini-score em { font-style: normal; font-weight: 600; margin-right: 3px; }
.pm-review-text { color: #cfceca; line-height: 1.6; margin: 0; white-space: pre-wrap; }

@media (max-width: 700px) {
  .pm-score-inputs { grid-template-columns: 1fr; }
  .pm-avg-scores { grid-template-columns: repeat(3, 1fr); }
  .pm-toast-container { left: 16px; right: 16px; }
}

/* Catalogue edition */
.catalogue-stat { display: flex; flex-direction: column; justify-content: center; min-height: 330px; }
.catalogue-number { color: var(--accent); font-size: clamp(4rem, 10vw, 7rem); line-height: .9; font-weight: 800; letter-spacing: -.07em; }
.catalogue-stat > strong { font-size: 1.25rem; margin: 18px 0 8px; }
.listening-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.listening-grid .panel { padding: 22px 18px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; }
.listening-grid strong { font-size: 1.05rem; }
.listening-grid span { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 22px; }
.section-heading h2 { margin: 0; }
.section-heading > a { color: var(--accent); white-space: nowrap; }
.catalogue-list { display: grid; gap: 12px; }
.catalogue-card { display: grid; grid-template-columns: 62px minmax(0, 1fr) 24px; gap: 15px; align-items: start; padding: 16px 17px; }
.catalogue-year { color: var(--accent); font-size: 1rem; font-weight: 700; letter-spacing: .04em; padding-top: 5px; }
.catalogue-copy h3 { margin: 0 0 3px; font-size: 1.08rem; }
.catalogue-copy > p { margin: 6px 0; line-height: 1.45; font-size: .88rem; }
.catalogue-copy > .muted { margin-top: 0; font-size: .78rem; }
.catalogue-arrow { color: var(--accent); font-size: 1.45rem; text-align: right; }
.source-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.source-chip { display: inline-flex; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 5px 9px; font-size: .72rem; line-height: 1.2; }
.source-chips-large { margin: 18px 0 28px; }
.source-chips-large .source-chip { color: var(--text); padding: 7px 11px; }
.catalogue-intro { max-width: 870px; }
.catalogue-search-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: end; position: relative; }
.catalogue-search-field, .advanced-fields label { display: grid; gap: 6px; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.catalogue-search-field input, .advanced-fields select { width: 100%; border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 8px; padding: 10px 11px; font: inherit; font-size: .88rem; text-transform: none; letter-spacing: normal; }
.advanced-search { position: relative; }
.advanced-search summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; padding: 10px 13px; color: var(--muted); font-size: .82rem; }
.advanced-search summary::-webkit-details-marker { display: none; }
.advanced-search[open] summary { color: var(--text); border-color: var(--accent); }
.advanced-fields { position: absolute; right: 0; top: calc(100% + 7px); width: min(360px, calc(100vw - 32px)); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 13px; background: #111; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 16px 35px rgba(0,0,0,.45); z-index: 12; }
.result-line { display: flex; justify-content: space-between; margin: 20px 0 14px; }
.load-more-wrap { text-align: center; padding: 28px 0 64px; }
.empty-state { text-align: center; padding: 60px 24px; }
.catalogue-film h2 { margin-top: 28px; font-size: 1.18rem; }
.explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.explore-link { min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; }
.explore-link > strong { font-size: clamp(1.45rem, 3vw, 2.25rem); max-width: 16ch; }
.explore-link > span:last-child { color: var(--muted); }
.credit-records { display: grid; gap: 10px; margin: 18px 0 28px; }
.credit-record { border-top: 1px solid var(--line); padding-top: 13px; display: grid; gap: 7px; }
.credit-record strong { color: var(--accent); font-size: .86rem; }
.credit-record span { color: #cfceca; line-height: 1.55; }
.credit-record a:hover { text-decoration: underline; }
.card-contributors { display: flex; flex-wrap: wrap; gap: 5px 9px; margin-top: 9px; font-size: .74rem; }
.card-contributors span { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.card-contributors a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.connection-index { display: grid; gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 15px 0; margin: 22px 0; }
.connection-group > span { display: block; margin-bottom: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; }
.connection-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.connection-chips a { border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; color: #d1d0cc; font-size: .76rem; line-height: 1.25; }
.connection-chips a:hover { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.connection-chips small { color: var(--accent); margin-left: 3px; }
.related-section { margin-top: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.related-grid a { display: grid; gap: 4px; padding: 11px 8px 11px 0; border-bottom: 1px solid var(--line); }
.related-grid a:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
.related-grid strong { font-size: .86rem; }
.related-grid span { color: var(--muted); font-size: .7rem; }
.selection-search { position: fixed; z-index: 120; border: 1px solid var(--accent); border-radius: 7px; background: #181714; color: var(--text); padding: 8px 10px; font: inherit; font-size: .74rem; box-shadow: 0 8px 24px rgba(0,0,0,.55); cursor: pointer; }
.selection-search[hidden] { display: none; }
.entity-filter { max-width: 680px; }
.entity-filter label { width: 100%; }
.entity-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.entity-card { display: flex; justify-content: space-between; gap: 18px; align-items: center; min-height: 112px; }
.entity-card strong { display: block; font-size: 1.08rem; margin-bottom: 9px; }
.entity-card span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.entity-card b { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.career-list { list-style: none; padding: 0; margin: 0; }
.career-list li { border-top: 1px solid var(--line); }
.career-list li:first-child { border-top: 0; }
.career-list a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; }
.career-list span { color: var(--muted); text-align: right; }

/* Editorial edition */
.mobile-search-toggle, .mobile-menu-toggle { display: none; background: none; border: 0; color: var(--text); font: inherit; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }
.mobile-primary-nav { display: none; }
.hero-manifesto { align-self: stretch; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-manifesto p { max-width: 31ch; line-height: 1.6; }
.hero-manifesto strong { font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.25; }
.listening-grid { border-top: 1px solid var(--line); }
.listening-grid a { min-height: 112px; padding: 15px 14px 15px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.listening-grid a + a { padding-left: 16px; border-left: 1px solid var(--line); }
.listening-grid a:hover strong { color: var(--accent); }
.catalogue-card, .landmark-row { border-top: 1px solid var(--line); display: grid; grid-template-columns: 54px minmax(0, 1fr) 20px; gap: 13px; padding: 14px 4px 14px 0; }
.catalogue-card:last-child, .landmark-row:last-child { border-bottom: 1px solid var(--line); }
.landmark-list { display: grid; }
.landmark-row .eyebrow { font-size: .64rem; margin-bottom: 7px; }
.landmark-row h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); margin: 0; }
.landmark-row p { line-height: 1.55; max-width: 72ch; }
.landmark-intro { max-width: 800px; padding: 22px 0; }
.editorial-rule, .landmark-editorial { border-top: 1px solid var(--accent); border-bottom: 1px solid var(--line); padding: 26px 0; margin: 26px 0; }
.landmark-editorial p { font-size: 1.04rem; max-width: 65ch; }
.listen-list { padding-left: 1.2rem; color: #cfceca; line-height: 1.65; }
.provenance-note { border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted) !important; font-size: .82rem !important; }
.continue-search { border-top: 1px solid var(--line); padding: 24px 0 60px; color: var(--accent); }
.catalogue-search-panel { border-top: 1px solid var(--line); padding-top: 12px; }
.catalogue-search-panel > p { margin: 0; }

@media (max-width: 900px) {
  .listening-grid { grid-template-columns: repeat(2, 1fr); }
  .catalogue-filters { grid-template-columns: 1fr 1fr; }
  .catalogue-filters .search-field { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav { grid-template-columns: auto 1fr; gap: 8px 14px; }
  .global-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .nav-right { justify-self: end; }
}

@media (max-width: 620px) {
  .site-header { transition: background .2s; }
  .nav { grid-template-columns: 1fr auto; min-height: 45px; gap: 8px; padding: 5px 0; }
  .brand { display: flex; }
  .brand-logo { display: none; }
  .mobile-search-toggle, .mobile-menu-toggle { display: block; }
  .global-search { grid-column: 1 / -1; grid-row: 2; display: none; max-width: none; padding: 4px 0 6px; }
  .nav-right { grid-column: 1 / -1; grid-row: 3; display: none; justify-self: stretch; overflow: visible; padding: 8px 0; }
  .search-open .global-search { display: grid; }
  .menu-open .nav-right { display: block; }
  .nav-right nav { display: grid; gap: 0; font-size: .82rem; }
  .nav-right nav a { padding: 11px 0; border-top: 1px solid var(--line); }
  .nav-right nav a.mobile-primary-link { display: none; }
  .mobile-primary-nav { display: grid; grid-template-columns: 1.18fr 1.12fr .78fr 1fr .7fr; width: min(100% - 14px, var(--max)); margin: 0 auto 5px; border: 1px solid #77927f; }
  .mobile-primary-nav a, .mobile-primary-nav button { min-width: 0; padding: 7px 2px; border: 0; border-left: 1px solid #77927f; background: transparent; color: #eef2df; font: 700 .57rem/1.05 Arial, sans-serif; text-align: center; text-transform: uppercase; letter-spacing: .015em; }
  .mobile-primary-nav a:first-child { border-left: 0; }
  .mobile-primary-nav a.active, .mobile-primary-nav button.active, .menu-open .mobile-more-toggle { background: var(--accent); color: #10251b; }
  .site-header:not(.is-compact):not(.search-open):not(.menu-open) .global-search { display: grid; }
  .site-header:not(.is-compact) .nav { grid-template-columns: 1fr; }
  .site-header:not(.is-compact) .mobile-search-toggle { display: none; }
  .site-header:not(.is-compact) .global-search { grid-column: 1 / -1; }
  .pm-auth-btn { min-height: 30px; padding: 0 10px; font-size: .74rem; }
  .listening-grid { grid-template-columns: 1fr; }
  .listening-grid a { min-height: 105px; padding: 18px 0; border-left: 0 !important; }
  .section-heading { align-items: start; flex-direction: column; }
  .catalogue-card { grid-template-columns: 1fr 28px; gap: 10px; padding: 20px; }
  .landmark-row { grid-template-columns: 1fr 24px; }
  .catalogue-year { grid-column: 1 / -1; padding: 0; }
  .advanced-fields { grid-template-columns: 1fr; }
  .source-chip { font-size: .68rem; }
  .explore-grid, .entity-list { grid-template-columns: 1fr; }
  .career-list a { flex-direction: column; gap: 5px; }
  .career-list span { text-align: left; }
  .related-grid { grid-template-columns: 1fr; }
  .related-grid a:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ================================================================
   THE LIVING FILM-SOUND ARCHIVE — compact neo-archival skin
   ================================================================ */
:root {
  --bg: #d9e4c9;
  --panel: #eef2df;
  --panel-2: #c6d8b3;
  --line: #416452;
  --text: #10251b;
  --muted: #50675a;
  --accent: #9ac13b;
  --accent-soft: #cfe2a2;
  --ink-blue: #123f34;
  --paper: #f5f4df;
  --max: 1260px;
  --radius: 0;
}
html { background: var(--ink-blue); }
body { background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.35; }
a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
main a:not(.btn):not(.brand):hover, footer a:hover { text-decoration: underline; color: #234d35; }
.wrap { width: min(var(--max), calc(100% - 24px)); }
.site-header { position: sticky; background: var(--ink-blue); color: #f4f4d9; border-bottom: 4px solid var(--accent); backdrop-filter: none; }
.nav { grid-template-columns: 260px minmax(250px, 1fr) auto; padding: 8px 0 6px; gap: 12px; }
.brand { font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; letter-spacing: .015em; gap: 7px; }
.brand small { display: block; max-width: 100px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.35); color: #d5dfc7; font: italic .67rem/1.15 Arial, sans-serif; letter-spacing: 0; text-transform: none; }
.brand-accent { color: var(--accent); }
.global-search input { height: 31px; border: 1px solid #94ad93; border-radius: 0; background: #f4f5e7; color: #14261e; font-family: Arial, sans-serif; font-size: .78rem; }
.global-search button { height: 31px; border: 1px solid #94ad93; border-left: 0; border-radius: 0; background: var(--accent); color: #10251b; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.nav-right nav { gap: 0; border: 1px solid #77927f; }
.nav-right nav a { color: #eef2df; padding: 7px 9px; border-left: 1px solid #77927f; font-size: .73rem; font-weight: 700; }
.nav-right nav a:first-child { border-left: 0; }
.nav-right nav a.active, .nav-right nav a:hover { background: var(--accent); color: #10251b; text-decoration: none; }
.hero { padding: 24px 0 14px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.hero-grid { grid-template-columns: 1.45fr .8fr; gap: 18px; }
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: .95; letter-spacing: -.035em; max-width: 13ch; margin-bottom: 10px; }
.eyebrow, .smallcaps { color: #31553f; font-size: .66rem; line-height: 1.2; letter-spacing: .11em; font-weight: 700; }
.lede { color: #31493d; font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; line-height: 1.45; }
.hero-actions { margin-top: 14px; gap: 7px; }
.btn { min-height: 32px; border-radius: 0; border: 1px solid var(--line); padding: 0 11px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; }
.btn-primary { background: var(--ink-blue); color: #f5f4df; }
.btn-secondary { background: var(--paper); color: var(--text); }
.hero-manifesto { background: var(--paper); border: 1px solid var(--line); border-top: 7px solid var(--ink-blue); padding: 12px; }
.hero-manifesto p { margin: 6px 0; line-height: 1.35; }
.hero-manifesto strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.18rem; }
.section { padding: 16px 0; }
.section h2, .section-head h2, .statement h2, .page-intro h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.55rem, 2.5vw, 2.2rem); letter-spacing: -.015em; }
.section-heading { margin-bottom: 10px; align-items: end; }
.section-heading > a, .continue-search { color: #184d37; font-weight: 700; text-decoration: underline; }
.section-copy { line-height: 1.4; }
.listening-grid { grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); background: var(--paper); }
.listening-grid a { min-height: 82px; padding: 10px; border: 0; border-left: 1px solid var(--line); }
.listening-grid a:first-child { border-left: 0; }
.listening-grid strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; text-decoration: underline; }
.listening-grid span { font-size: .74rem; line-height: 1.25; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 0; padding: 12px; box-shadow: none; }
.panel.prose > p { color: #385246; }
.explore-grid { gap: 8px; }
.explore-link { min-height: 125px; }
.explore-link > strong { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.2rem, 2.3vw, 1.8rem); }
.page-main { padding: 14px 0 18px; }
.page-intro { margin-bottom: 12px; }
.landmark-intro { padding: 12px 0 8px; }
.catalogue-search-panel { padding-top: 7px; }
.advanced-search summary { border-radius: 0; padding: 7px 10px; background: var(--paper); color: var(--text); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.advanced-fields { background: var(--paper); border-color: var(--line); border-radius: 0; box-shadow: 4px 6px 0 rgba(18,63,52,.18); }
.catalogue-search-field input, .advanced-fields select { background: #fffef2; color: var(--text); border-color: var(--line); border-radius: 0; padding: 7px; }
.result-line { margin: 10px 0 7px; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; }
.result-sort { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .62rem; font-weight: 700; }
.result-sort select { min-height: 27px; padding: 2px 24px 2px 7px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--text); font: 700 .64rem Arial, sans-serif; text-transform: uppercase; }
.letter-fader { margin: 9px 0 7px; padding: 8px 10px 7px; color: #f5f4df; background: var(--ink-blue); border-bottom: 4px solid var(--accent); }
.letter-fader-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.letter-fader-head p { margin: 0; font-size: .67rem; line-height: 1.25; }
.letter-fader-head .eyebrow { color: var(--accent); font-weight: 800; }
.letter-fader output { min-width: 2.4em; color: var(--accent); font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; font-weight: 700; line-height: 1; text-align: right; }
.letter-fader-control { position: relative; padding: 7px 5px 1px; }
.letter-fader-control, .letter-fader input[type="range"] { touch-action: pan-y; }
.letter-fader input[type="range"] { --fader-position: 0%; width: 100%; height: 22px; margin: 0; appearance: none; background: transparent; cursor: ew-resize; }
.letter-fader input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(to right, var(--accent) 0 var(--fader-position), #8aa393 var(--fader-position) 100%); border: 1px solid #b9c9b5; }
.letter-fader input[type="range"]::-webkit-slider-thumb { appearance: none; width: 15px; height: 22px; margin-top: -10px; background: var(--paper); border: 2px solid var(--accent); border-radius: 1px; box-shadow: 2px 2px 0 rgba(0,0,0,.28); }
.letter-fader input[type="range"]::-moz-range-track { height: 4px; background: #8aa393; border: 1px solid #b9c9b5; }
.letter-fader input[type="range"]::-moz-range-progress { height: 4px; background: var(--accent); }
.letter-fader input[type="range"]::-moz-range-thumb { width: 13px; height: 20px; background: var(--paper); border: 2px solid var(--accent); border-radius: 1px; }
.letter-fader input[type="range"]:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.letter-ticks { display: grid; grid-template-columns: repeat(28, 1fr); margin: -1px -2px 0; color: #b9c9b5; font-size: .52rem; line-height: 1; text-align: center; }
.letter-ticks span { cursor: pointer; }
.letter-ticks span.active { color: var(--accent); font-weight: 900; transform: scale(1.3); }
.explore-index .site-header .global-search, .explore-index .mobile-search-toggle { display: none; }
.explore-console { margin: 9px 0 8px; padding: 9px 10px 8px; color: #f5f4df; background: var(--ink-blue); border: 1px solid #315f50; border-bottom: 4px solid var(--accent); }
.explore-console-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.explore-console-head p { margin: 0; font-size: .67rem; line-height: 1.25; }
.explore-console-head .eyebrow { color: var(--accent); font-weight: 800; }
.explore-console output { min-width: 2.4em; color: var(--accent); font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; font-weight: 700; line-height: 1; text-align: right; }
.console-modes { display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); gap: 0; margin: 8px 0 7px; border: 1px solid #789485; width: max-content; max-width: 100%; }
.console-modes a { padding: 6px 12px; color: #edf1df; border-left: 1px solid #789485; font-size: .69rem; font-weight: 800; text-transform: uppercase; }
.console-modes a:first-child { border-left: 0; }
.console-modes a:hover, .console-modes a.active { background: var(--accent); color: #10251b; text-decoration: none !important; }
.explore-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-bottom: 4px; }
.explore-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.explore-search input { min-width: 0; height: 34px; padding: 0 10px; border: 1px solid #94ad93; border-right: 0; background: #f4f5e7; color: #14261e; font: inherit; font-size: .78rem; }
.explore-search button { height: 34px; padding: 0 12px; border: 1px solid #94ad93; background: var(--accent); color: #10251b; font: inherit; font-size: .68rem; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.explore-search input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.explore-console .letter-fader-control { padding: 8px 5px 2px; }
.explore-console .letter-fader-control, .explore-console input[type="range"] { touch-action: pan-y; }
.explore-console input[type="range"] { --fader-position: 0%; width: 100%; height: 22px; margin: 0; appearance: none; background: transparent; cursor: ew-resize; }
.explore-console input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(to right, var(--accent) 0 var(--fader-position), #8aa393 var(--fader-position) 100%); border: 1px solid #b9c9b5; }
.explore-console input[type="range"]::-webkit-slider-thumb { appearance: none; width: 15px; height: 22px; margin-top: -10px; background: var(--paper); border: 2px solid var(--accent); border-radius: 1px; box-shadow: 2px 2px 0 rgba(0,0,0,.28); }
.explore-console input[type="range"]::-moz-range-track { height: 4px; background: #8aa393; border: 1px solid #b9c9b5; }
.explore-console input[type="range"]::-moz-range-progress { height: 4px; background: var(--accent); }
.explore-console input[type="range"]::-moz-range-thumb { width: 13px; height: 20px; background: var(--paper); border: 2px solid var(--accent); border-radius: 1px; }
.suggested-routes { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: start; padding-top: 7px; border-top: 1px solid #6f8b7d; }
.suggested-routes > span { padding-top: 3px; color: #bdcdbd; font-size: .56rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.suggested-routes > div { display: flex; flex-wrap: wrap; gap: 3px; }
.suggested-routes a { padding: 2px 5px; border: 1px solid #789485; color: #edf1df; font-size: .61rem; text-decoration: none !important; }
.suggested-routes a:hover, .suggested-routes a.active { background: var(--accent-soft); border-color: var(--accent); color: #18372a; }
.catalogue-list, .landmark-list { gap: 0; border: 1px solid var(--line); }
.catalogue-card, .landmark-row { background: var(--paper); border: 0; border-top: 1px solid #9caf9b; grid-template-columns: 48px minmax(0, 1fr) 18px; padding: 9px 8px; gap: 10px; }
.catalogue-card:first-child, .landmark-row:first-child { border-top: 0; }
.catalogue-card:last-child, .landmark-row:last-child { border-bottom: 0; }
.catalogue-card:nth-child(even), .landmark-row:nth-child(even) { background: #e4ecd6; }
.catalogue-year { color: #31553f; font-family: Georgia, 'Times New Roman', serif; font-size: .86rem; padding-top: 2px; }
.catalogue-copy h3, .landmark-row h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; text-decoration: underline; }
.catalogue-copy > p, .landmark-row p { margin: 3px 0; font-size: .78rem; line-height: 1.35; }
.catalogue-copy > .muted { font-size: .69rem; }
.catalogue-arrow { color: #31553f; font-size: 1rem; }
.source-chips { gap: 3px; margin-top: 5px; }
.source-chip { border: 0; border-radius: 0; background: var(--accent-soft); color: #294633; padding: 2px 5px; font-size: .61rem; }
.card-contributors { margin-top: 4px; font-size: .65rem; }
.page-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 8px; }
.film-head { background: var(--paper); border: 1px solid var(--line); padding: 16px; }
.film-head h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.8rem, 2.8vw, 2.55rem); }
.film-body p { color: #2e4639; font-size: .85rem; line-height: 1.5; }
.connection-index { gap: 8px; padding: 8px 0; margin: 12px 0; }
.connection-chips { gap: 3px; }
.connection-chips a { background: #dfe8d2; border: 1px solid #8da08f; border-radius: 0; padding: 3px 5px; color: #294633; font-size: .66rem; text-decoration: underline; }
.editorial-rule, .landmark-editorial { border-top: 4px solid var(--ink-blue); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 14px 0; }
.landmark-editorial h2, .catalogue-film h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; margin: 14px 0 6px; }
.landmark-editorial p { font-size: .88rem; }
.listen-list { margin: 4px 0; line-height: 1.45; font-size: .82rem; }
.landmark-jump { position: sticky; top: 51px; z-index: 8; display: flex; flex-wrap: wrap; gap: 4px 11px; align-items: center; margin: 12px 0 0; padding: 7px 8px; background: var(--ink-blue); color: #f5f4df; border-bottom: 3px solid var(--accent); font-size: .65rem; }
.landmark-jump span { color: var(--accent); font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.landmark-jump a { color: #f5f4df; font-weight: 700; text-decoration: underline; }
.landmark-depth-section { padding: 15px 0; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.landmark-depth-section > h2 { margin: 3px 0 9px; }
.context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.context-entry { padding: 10px; background: #eef0df; border-left: 1px solid var(--line); }
.context-entry:first-child { border-left: 0; }
.context-entry p { margin: 5px 0; font-size: .78rem; line-height: 1.47; }
.context-entry .context-label { margin-top: 0; color: #173629; font-family: Georgia, 'Times New Roman', serif; font-size: .96rem; font-weight: 700; }
.context-entry .inline-source { margin-bottom: 0; padding-top: 7px; border-top: 1px solid #aab8a4; }
.context-entry .inline-source span { color: #496251; font-size: .58rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.context-entry .inline-source a { color: #184d37; font-size: .68rem; font-weight: 700; }
.heard-section.landmark-depth-section { margin-top: 0; }
.landmark-depth-section .quote-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-note { max-width: 78ch; margin: -3px 0 9px; padding: 7px 9px; background: #e7ead6; border-left: 3px solid var(--ink-blue); font-size: .72rem !important; }
.echo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.echo-entry { min-height: 112px; padding: 9px; border-left: 1px solid var(--line); background: var(--paper); text-decoration: none !important; }
.echo-entry:first-child { border-left: 0; }
.echo-entry:hover { background: #dfe8d2; }
.echo-entry .relationship-label { display: block; min-height: 21px; color: #496251; font-size: .56rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.echo-entry strong { display: inline; color: #173629; font-family: Georgia, 'Times New Roman', serif; font-size: .92rem; text-decoration: underline; }
.echo-entry > span:not(.relationship-label) { padding-left: 5px; color: #496251; font-size: .63rem; }
.echo-entry p { margin: 7px 0 0; color: #385246; font-size: .7rem; line-height: 1.4; }
.landmark-references ol { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style-position: inside; columns: 2; column-gap: 22px; }
.landmark-references li { break-inside: avoid; padding: 6px 2px; border-bottom: 1px solid #aab8a4; color: #496251; font-size: .69rem; }
.landmark-references a { color: #184d37; }
.quote-stack { gap: 6px; }
.quote-card { background: #e7ead6; padding: 11px; }
.quote-card blockquote { font-family: Georgia, 'Times New Roman', serif; font-size: 1.04rem; line-height: 1.35; }
.quote-card figcaption { margin-top: 8px; font-size: .72rem; }
.side-stack { gap: 7px; }
.stat-list { gap: 4px; }
.stat-row { padding-top: 5px; font-size: .76rem; }
.stat-row, .stat-row strong, .kicker, .listen-list, .credit-record span, .career-list span, .quote-card cite, .related-grid span { color: #385246; }
.stat-row strong { color: #173629; }
.listen-list li { margin: 3px 0; }
.credit-records { gap: 5px; margin: 8px 0 14px; }
.credit-record { padding-top: 7px; gap: 3px; font-size: .76rem; }
.related-section { margin-top: 15px; }
.related-grid a { padding: 7px 5px 7px 0; }
.entity-list { gap: 6px; }
.entity-card { min-height: 72px; }
.entity-card b { border-radius: 0; background: var(--accent-soft); }
.career-list a { padding: 9px 0; font-size: .8rem; }
.credit-record > strong { display: flex; flex-wrap: wrap; gap: 5px 8px; align-items: baseline; }
.credit-record > strong em { color: var(--muted); font-size: .65rem; font-style: normal; font-weight: 650; }
.award-category { display: block; margin: 3px 0; color: var(--ink-blue); font-size: .72rem; font-weight: 800; }
.award-result { padding: 2px 5px; border: 1px solid currentColor; font-size: .57rem; letter-spacing: .06em; line-height: 1.15; text-transform: uppercase; }
.award-result-winner { color: #184d37; background: var(--accent-soft); }
.award-result-nominee { color: #64553b; background: var(--paper-deep); }
.credit-record > small { display: block; margin-top: 3px; color: var(--muted); font-size: .65rem; }
.site-footer { background: var(--ink-blue); border-top: 5px solid var(--accent); color: #e7eed9; margin-top: 16px; }
.footer-grid { padding: 12px 0 18px; color: #d7e1cc; font-size: .72rem; }
.footer-grid a { text-decoration: underline; }

/* Editorial front door, scene studies and authored trails. */
.editorial-front { border-top: 5px solid var(--ink-blue); padding-top: 12px; }
.landmark-status-note { display: inline-block; margin: 5px 0 12px; padding: 5px 7px; color: var(--ink-blue); background: var(--paper-deep); border-left: 3px solid var(--accent); font-size: .72rem; font-weight: 700; }
.sound-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sound-team-grid article { padding: 9px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sound-team-grid h3 { margin: 0 0 5px; font: 800 .68rem/1.2 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.sound-team-grid ul { margin: 0; padding: 0; list-style: none; }
.sound-team-grid li { display: grid; grid-template-columns: minmax(105px, .8fr) minmax(0, 1.2fr); gap: 8px; padding: 4px 0; border-top: 1px dotted var(--line); font-size: .72rem; }
.sound-team-grid li:first-child { border-top: 0; }
.sound-team-grid li a, .sound-team-grid li strong { color: var(--ink-blue); font-weight: 750; text-decoration: underline; }
.sound-team-grid li span { color: var(--muted); }
.editorial-card-grid, .trail-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.editorial-card, .trail-card { min-height: 150px; padding: 11px; border-left: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; align-items: flex-start; }
.editorial-card:first-child, .trail-card:first-child { border-left: 0; }
.editorial-card:nth-child(even), .trail-card:nth-child(even) { background: #e4ecd6; }
.editorial-card > strong, .trail-card > strong { font-family: Georgia, 'Times New Roman', serif; color: #173629; font-size: 1.12rem; text-decoration: underline; }
.editorial-card p, .trail-card p { color: #385246; font-size: .76rem; line-height: 1.4; }
.editorial-card .eyebrow { min-height: 25px; margin-bottom: 5px; font-size: .58rem; }
.editorial-arrow, .trail-card b { margin-top: auto; color: #184d37; font-size: .68rem; text-decoration: underline; }
.trail-card > span { min-height: 22px; color: #496251; font-size: .59rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.close-listening { border-top: 5px solid var(--ink-blue); }
.close-listening > h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; }
.close-listening > p { max-width: 75ch; }
.sequence-locator { margin: -4px 0 9px; color: #496251 !important; font-size: .68rem !important; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.close-cues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 0; padding: 0; border: 1px solid var(--line); list-style: none; counter-reset: close-cue; }
.close-cues li { counter-increment: close-cue; min-height: 118px; padding: 9px; border-left: 1px solid var(--line); background: #eef0df; }
.close-cues li:first-child { border-left: 0; }
.close-cues li::before { content: counter(close-cue, decimal-leading-zero); display: block; margin-bottom: 8px; color: #496251; font-family: Georgia, serif; font-size: .72rem; }
.close-cues strong, .close-cues span { display: block; }
.close-cues strong { margin-bottom: 5px; color: #173629; font-family: Georgia, 'Times New Roman', serif; font-size: .9rem; }
.close-cues span { color: #385246; font-size: .7rem; line-height: 1.4; }
.listener-lesson { margin: 0; padding: 9px 10px; background: var(--ink-blue); color: #f5f4df !important; font-size: .76rem !important; }
.listener-lesson strong { color: var(--accent); }
.edition-note { margin: 5px 0 0; color: #607365 !important; font-size: .62rem !important; }
.trail-index { border: 1px solid var(--line); }
.trail-index-row { display: grid; grid-template-columns: 95px 220px minmax(0, 1fr) 22px; gap: 12px; align-items: center; padding: 12px; border-top: 1px solid var(--line); background: var(--paper); }
.trail-index-row:first-child { border-top: 0; }
.trail-index-row:nth-child(even) { background: #e4ecd6; }
.trail-index-row > span { color: #496251; font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.trail-index-row > strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; text-decoration: underline; }
.trail-index-row > p { margin: 0; color: #385246; font-size: .74rem; line-height: 1.4; }
.trail-index-row > b { color: #184d37; }
.trail-layout { max-width: 900px; }
.trail-intro { max-width: 75ch; padding-top: 11px; border-top: 1px solid var(--line); color: #385246; line-height: 1.55; }
.trail-progress { position: sticky; top: 51px; z-index: 8; display: flex; gap: 5px; align-items: center; padding: 7px 8px; margin-bottom: 8px; background: var(--ink-blue); color: #f5f4df; }
.trail-progress span { margin-right: 6px; color: var(--accent); font-size: .62rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.trail-progress a { width: 25px; height: 23px; display: grid; place-items: center; border: 1px solid #77927f; color: #f5f4df; font-size: .62rem; }
.trail-stop { scroll-margin-top: 92px; display: grid; grid-template-columns: 48px minmax(0, 1fr) 20px; gap: 10px; padding: 13px 8px; border: 1px solid var(--line); border-top: 0; background: var(--paper); }
.trail-stop:first-child { border-top: 1px solid var(--line); }
.trail-stop:nth-child(even) { background: #e4ecd6; }
.trail-number { color: #31553f; font-family: Georgia, serif; font-size: 1rem; }
.trail-stop .eyebrow { margin: 0 0 3px; font-size: .58rem; }
.trail-stop h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.16rem; text-decoration: underline; }
.trail-stop p { margin: 5px 0 0; color: #385246; font-size: .77rem; line-height: 1.4; }
.featured-profile { margin: 0 0 12px; padding: 13px; border: 1px solid var(--line); border-top: 5px solid var(--ink-blue); background: var(--paper); }
.profile-intro { max-width: 65ch; font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; line-height: 1.4; }
.profile-themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.profile-themes article { padding: 9px; border-left: 1px solid var(--line); background: #eef0df; }
.profile-themes article:first-child { border-left: 0; }
.profile-themes h3 { margin: 0 0 5px; font-family: Georgia, 'Times New Roman', serif; font-size: .92rem; }
.profile-themes p { margin: 0; color: #385246; font-size: .7rem; line-height: 1.45; }
.profile-sources { margin-top: 9px; font-size: .68rem; }
.profile-sources ul { margin: 5px 0 0; padding-left: 18px; columns: 2; }
.profile-sources a { color: #184d37; text-decoration: underline; }

/* Deep Landmark: a dense, sourced editorial record rather than a display card. */
.zone-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 8px; display: grid; align-items: start; }
.zone-article { min-width: 0; }
.zone-title { border-bottom: 4px solid var(--ink-blue); padding-bottom: 13px; }
.zone-title .lede { margin-bottom: 12px; }
.zone-facts { display: grid; grid-template-columns: 2fr 1.35fr .65fr; margin: 12px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.zone-facts div { padding: 7px 10px 7px 0; border-left: 1px solid var(--line); }
.zone-facts div:first-child { border-left: 0; }
.zone-facts div:not(:first-child) { padding-left: 10px; }
.zone-facts dt, .zone-jump > span { color: #31553f; font-size: .61rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.zone-facts dd { margin: 2px 0 0; font-size: .76rem; font-weight: 650; }
.zone-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .68rem; }
.zone-jump a { text-decoration: underline; color: #184d37; font-weight: 700; }
.zone-concepts { margin: 8px 0 0; }
.zone-section { padding: 16px 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.zone-section:first-of-type { border-top: 0; }
.zone-section > h2 { margin: 3px 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.38rem; }
.zone-section > p { max-width: 75ch; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.process-entry { padding: 10px; border-left: 1px solid var(--line); background: #eef0df; }
.process-entry:first-child { border-left: 0; }
.process-entry h3, .team-group h3, .award-section > h3 { margin: 0 0 5px; font-family: Georgia, 'Times New Roman', serif; font-size: .95rem; }
.process-entry p { margin: 5px 0; font-size: .75rem; line-height: 1.45; }
.inline-source { padding-top: 6px; border-top: 1px solid #aab8a4; }
.inline-source span { color: #496251; font-size: .58rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.inline-source a, .sources-section a { color: #184d37; text-decoration: underline; }
.zone-listen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: listen; }
.zone-listen li { counter-increment: listen; display: grid; grid-template-columns: 25px 130px 1fr; gap: 7px; padding: 8px 6px 8px 0; border-bottom: 1px solid var(--line); font-size: .75rem; }
.zone-listen li:nth-child(odd) { padding-right: 10px; }
.zone-listen li:nth-child(even) { padding-left: 10px; border-left: 1px solid var(--line); }
.zone-listen li::before { content: counter(listen, decimal-leading-zero); color: #496251; font-family: Georgia, serif; }
.zone-listen strong { color: #173629; }
.zone-listen span { color: #385246; line-height: 1.4; }
.zone-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.zone-quote { margin: 0; padding: 11px; background: #e7ead6; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.zone-quote:nth-child(odd) { border-left: 0; }
.zone-quote:nth-child(-n+2) { border-top: 0; }
.zone-quote blockquote { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; line-height: 1.38; }
.zone-quote figcaption { display: grid; gap: 2px; margin-top: 9px; color: #385246; font-size: .66rem; }
.zone-quote figcaption strong a, .zone-quote figcaption > a { color: #184d37; text-decoration: underline; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.team-group { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); }
.team-group:nth-child(even) { padding-left: 10px; border-left: 1px solid var(--line); }
.team-group ul { list-style: none; padding: 0; margin: 0; }
.team-group li { display: grid; grid-template-columns: minmax(110px, .8fr) 1.3fr; gap: 8px; padding: 4px 0; border-top: 1px dotted #aab8a4; font-size: .73rem; }
.team-group li:first-child { border-top: 0; }
.team-group a { text-decoration: underline; }
.team-group span { color: #385246; }
.award-editorial { padding: 9px 10px; margin: 0 0 12px; background: #e7ead6; border-left: 4px solid var(--ink-blue); }
.award-section { margin: 14px 0; }
.award-section > h3 { padding: 5px 7px; margin: 0; background: var(--ink-blue); color: #f5f4df; font-family: Inter, sans-serif; font-size: .67rem; letter-spacing: .05em; text-transform: uppercase; }
.award-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 190px; gap: 9px; padding: 8px 7px; border: 1px solid var(--line); border-top: 0; font-size: .71rem; }
.award-row:nth-child(odd) { background: #eaf0dd; }
.award-year { color: #496251; font-family: Georgia, serif; }
.award-main h4, .award-main p { margin: 0 0 3px; }
.award-main h4 { font-family: Georgia, 'Times New Roman', serif; font-size: .86rem; }
.award-recipients { color: #2f5140; line-height: 1.4; }
.award-recipients a { text-decoration: underline; }
.award-meta { display: grid; align-content: start; gap: 2px; text-align: right; }
.award-meta strong { color: #184d37; text-transform: uppercase; letter-spacing: .04em; }
.award-meta span { color: #496251; }
.award-meta a { color: #184d37; text-decoration: underline; }
.zone-related a { min-height: 58px; }
.zone-related .relationship-label { display: block; margin-bottom: 3px; color: #496251; font-size: .55rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sources-section ol { margin: 9px 0 0; padding-left: 25px; border-top: 1px solid var(--line); }
.sources-section li { padding: 6px 0; border-bottom: 1px solid var(--line); color: #294638; font-size: .7rem; line-height: 1.4; }
.sources-section li span { display: block; color: #496251; }
.zone-side { position: sticky; top: 64px; }
.zone-side .stat-row { display: grid; gap: 2px; }
.zone-side .stat-row strong { text-align: left; }
.zone-side a { text-decoration: underline; }

@media (max-width: 900px) {
  .nav { grid-template-columns: 210px 1fr; }
  .nav-right { grid-column: 1 / -1; justify-self: stretch; }
  .nav-right nav { justify-content: stretch; }
  .nav-right nav a { flex: 1; text-align: center; }
}

@media (max-width: 620px) {
  body { font-size: 13px; }
  .wrap { width: min(100% - 14px, var(--max)); }
  .nav { grid-template-columns: 1fr auto; min-height: 43px; padding: 5px 0; }
  .brand { font-size: .92rem; }
  .brand small { display: none; }
  .mobile-search-toggle, .mobile-menu-toggle { color: #f1f4e6; font-size: .62rem; }
  .site-header:not(.is-compact) .nav { grid-template-columns: 1fr; }
  .nav-right nav { border: 0; }
  .nav-right nav a { color: #f1f4e6; border-left: 0; border-top: 1px solid #77927f; padding: 8px 0; text-align: left; }
  .hero { padding: 16px 0 10px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-manifesto { padding: 9px; }
  .sound-team-grid { grid-template-columns: 1fr; }
  .listening-grid { grid-template-columns: repeat(2, 1fr); }
  .listening-grid a { min-height: 70px; padding: 8px; border-top: 1px solid var(--line); }
  .listening-grid a:nth-child(odd) { border-left: 0; }
  .listening-grid a:first-child, .listening-grid a:nth-child(2) { border-top: 0; }
  .section-heading { gap: 5px; }
  .letter-fader { position: sticky; top: 43px; z-index: 7; margin-inline: -7px; padding: 7px 9px 6px; }
  .letter-fader-head > div > p:not(.eyebrow) { display: none; }
  .letter-fader output { font-size: 1.35rem; }
  .letter-fader-control { padding-inline: 2px; }
  .letter-ticks { font-size: .44rem; margin-inline: -4px; }
  .explore-console { margin-inline: -7px; padding: 7px 8px 6px; }
  .explore-console-head > div > p:not(.eyebrow) { display: none; }
  .explore-console output { font-size: 1.35rem; }
  .console-modes { width: 100%; grid-template-columns: repeat(4, 1fr); }
  .console-modes a { display: grid; place-items: center; min-width: 0; padding: 6px 3px; font-size: .57rem; text-align: center; }
  .explore-search input { font-size: .7rem; }
  .explore-search button { padding-inline: 9px; }
  .explore-console .letter-fader-control { padding-inline: 2px; }
  .suggested-routes { grid-template-columns: 1fr; gap: 4px; }
  .suggested-routes > div { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .suggested-routes a { flex: 0 0 auto; }
  .catalogue-card, .landmark-row { grid-template-columns: 40px minmax(0,1fr) 14px; padding: 8px 6px; }
  .catalogue-year { grid-column: auto; }
  .page-grid { grid-template-columns: 1fr; }
  .zone-layout { grid-template-columns: 1fr; }
  .zone-side { position: static; grid-template-columns: 1fr 1fr; }
  .zone-facts { grid-template-columns: 1fr; }
  .zone-facts div, .zone-facts div:not(:first-child) { border-left: 0; border-top: 1px solid var(--line); padding: 6px 0; }
  .zone-facts div:first-child { border-top: 0; }
  .process-grid, .zone-quotes, .team-grid { grid-template-columns: 1fr; }
  .process-entry, .zone-quote, .zone-quote:nth-child(odd), .zone-quote:nth-child(-n+2), .team-group:nth-child(even) { border-left: 0; border-top: 1px solid var(--line); padding-left: 9px; }
  .process-entry:first-child, .zone-quote:first-child { border-top: 0; }
  .zone-listen { grid-template-columns: 1fr; }
  .zone-listen li, .zone-listen li:nth-child(even), .zone-listen li:nth-child(odd) { grid-template-columns: 23px 105px 1fr; border-left: 0; padding: 7px 0; }
  .landmark-jump { top: 43px; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
  .context-grid, .landmark-depth-section .quote-stack { grid-template-columns: 1fr; }
  .context-entry { border-left: 0; border-top: 1px solid var(--line); }
  .context-entry:first-child { border-top: 0; }
  .echo-grid { grid-template-columns: 1fr; }
  .echo-entry { min-height: 0; border-left: 0; border-top: 1px solid var(--line); }
  .echo-entry:first-child { border-top: 0; }
  .landmark-references ol { columns: 1; }
  .award-row { grid-template-columns: 38px minmax(0, 1fr); }
  .award-meta { grid-column: 2; text-align: left; padding-top: 4px; border-top: 1px dotted #aab8a4; }
  .film-head { padding: 11px; }
  .side-stack { grid-template-columns: 1fr 1fr; }
  .side-stack > .btn { grid-column: 1 / -1; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
  .entity-list { grid-template-columns: 1fr; }
  .footer-grid { gap: 3px; }
  .editorial-card-grid, .trail-card-grid, .close-cues, .profile-themes { grid-template-columns: 1fr; }
  .editorial-card, .trail-card, .close-cues li, .profile-themes article { min-height: 0; border-left: 0; border-top: 1px solid var(--line); }
  .editorial-card:first-child, .trail-card:first-child, .close-cues li:first-child, .profile-themes article:first-child { border-top: 0; }
  .editorial-card .eyebrow, .trail-card > span { min-height: 0; }
  .editorial-card p, .trail-card p { margin-bottom: 10px; }
  .trail-index-row { grid-template-columns: 72px minmax(0, 1fr) 16px; gap: 7px; }
  .trail-index-row > p { grid-column: 2; }
  .trail-index-row > b { grid-column: 3; grid-row: 1 / 3; }
  .trail-progress { top: 43px; overflow-x: auto; }
  .profile-sources ul { columns: 1; }
}

/* The exploration console replaces the duplicated header controls on indexes. */
body.explore-index .site-header .global-search,
body.explore-index .site-header .mobile-search-toggle,
body.explore-index .site-header .nav-right,
body.explore-index .site-header .mobile-primary-nav { display: none !important; }
body.explore-index .site-header .nav { grid-template-columns: 1fr !important; min-height: 43px; }

/* One-page editorial/explorer shell */
.site-header .nav { grid-template-columns: 1fr auto; min-height: 45px; }
.header-explore-trigger, .header-explore-link { align-self: center; padding: 6px 11px; border: 1px solid #789485; background: transparent; color: #f1f4e6; font: 800 .66rem Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.header-explore-trigger:hover, .header-explore-link:hover, .explorer-open .header-explore-trigger { background: var(--accent); color: #10251b; text-decoration: none; }
.home-explorer[hidden] { display: none !important; }
.home-explorer { padding: 7px 0 17px; background: var(--panel-2); border-bottom: 1px solid var(--line); scroll-margin-top: 45px; }
.home-explorer .explore-console { margin-top: 0; }
.home-console .explore-console-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; }
.close-explorer { padding: 5px 8px; border: 1px solid #789485; background: transparent; color: #edf1df; font: 800 .58rem Arial, sans-serif; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.close-explorer:hover { background: #edf1df; color: #10251b; }
.console-modes button { min-width: 0; padding: 6px 12px; border: 0; border-left: 1px solid #789485; background: transparent; color: #edf1df; font: 800 .69rem Arial, sans-serif; text-transform: uppercase; cursor: pointer; }
.console-modes button:first-child { border-left: 0; }
.console-modes button:hover, .console-modes button.active { background: var(--accent); color: #10251b; }
.explorer-results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 7px; }
.explorer-results-toolbar > strong { font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
.explorer-results-toolbar.grouped-results .result-sort { display: none; }
.explorer-results { display: grid; gap: 9px; }
.explorer-window { border: 1px solid var(--line); background: var(--paper); }
.explorer-window > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 9px; background: #dfe8d2; border-bottom: 1px solid var(--line); }
.explorer-window > header h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; }
.explorer-window > header span { color: #496251; font-size: .62rem; font-weight: 800; }
.explorer-result-row { display: grid; grid-template-columns: minmax(150px, .75fr) minmax(0, 1.7fr) auto 16px; align-items: baseline; gap: 9px; padding: 7px 9px; border-top: 1px solid #aab8a4; color: #18372a; }
.explorer-result-row:first-child { border-top: 0; }
.explorer-result-row:nth-child(even) { background: #edf0df; }
.explorer-result-row b { font-family: Georgia, 'Times New Roman', serif; font-size: .86rem; text-decoration: underline; }
.explorer-result-row small { min-width: 0; overflow: hidden; color: #496251; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.explorer-result-row > span { padding: 1px 4px; background: var(--accent-soft); color: #294633; font-size: .57rem; white-space: nowrap; }
.explorer-result-row i { color: #31553f; font-style: normal; }
.film-result > p { grid-column: 1 / 3; margin: -2px 0 1px; color: #294638; font: .66rem/1.3 Arial, sans-serif; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.window-more { width: 100%; padding: 7px; border: 0; border-top: 1px solid var(--line); background: #e2e9d4; color: #18372a; font: 800 .62rem Arial, sans-serif; text-transform: uppercase; cursor: pointer; }
.explorer-window.empty-state { padding: 12px; }
.explorer-window.empty-state h2 { margin-top: 0; }

@media (max-width: 620px) {
  .site-header .nav, body.explore-index .site-header .nav { grid-template-columns: 1fr auto !important; }
  .header-explore-trigger, .header-explore-link { padding: 5px 8px; font-size: .58rem; }
  .home-explorer { padding-top: 0; scroll-margin-top: 43px; }
  .home-explorer .wrap { width: 100%; }
  .home-console { margin-inline: 0; }
  .home-console .explore-console-head { grid-template-columns: minmax(0, 1fr) auto auto; }
  .close-explorer { padding: 4px 6px; }
  .console-modes button { display: grid; place-items: center; padding: 6px 2px; font-size: .56rem; text-align: center; }
  .explorer-results-toolbar { padding: 0 7px; }
  .explorer-results { padding: 0 7px; }
  .explorer-result-row { grid-template-columns: minmax(0, 1fr) auto 14px; gap: 5px; }
  .explorer-result-row small { grid-column: 1 / 2; grid-row: 2; }
  .explorer-result-row > span { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .explorer-result-row i { grid-column: 3; grid-row: 1 / 3; align-self: center; }
  .film-result > p { grid-column: 1 / -1; margin-top: 0; padding-right: 18px; }
  .idea-result small, .trail-result small { white-space: normal; }
}

/* Landmark study notes */
.study-exercise{margin-top:1.5rem;padding:1.2rem 1.4rem;border-left:3px solid currentColor;background:rgba(128,128,128,.06)}
.study-exercise h3{margin-top:0}.study-notes .inline-source{overflow-wrap:anywhere}

/* 100 Years of Film Sound — header entry point */
.header-links { display: flex; align-items: center; gap: 6px; align-self: center; }
.header-centenary-link { padding: 6px 11px; border: 1px solid var(--accent); background: var(--accent); color: #10251b; font: 800 .66rem Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.header-centenary-link:hover, .header-centenary-link[aria-current="page"] { background: #f5f4df; border-color: #f5f4df; color: #10251b; text-decoration: none; }
.centenary-band { background: var(--ink-blue); color: #f5f4df; border-bottom: 1px solid var(--line); }
.centenary-band a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 18px; padding: 14px 0; color: inherit; }
.centenary-band a:hover { text-decoration: none !important; color: inherit !important; }
.centenary-band .eyebrow { margin: 0; color: var(--accent); }
.centenary-band strong { font: 400 clamp(1.05rem, 2vw, 1.45rem)/1.2 Georgia, 'Times New Roman', serif; }
.centenary-band em { color: #d5dfc7; }
.centenary-band b { color: var(--accent); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.centenary-band a:hover b { text-decoration: underline; }
@media (max-width: 620px) {
  .header-links { gap: 4px; }
  .header-centenary-link { padding: 5px 8px; font-size: .58rem; }
  .centenary-band a { grid-template-columns: 1fr; gap: 4px; }
}
