/* =========================================================================
   DJ Nicks The President — Digital Legacy
   Design system: tokens -> base -> layout -> components -> pages -> utilities
   Gold #C9A227 is used as TEXT only on dark grounds (8.2:1 on #0A0A0A).
   On light grounds gold text uses --gold-deep #7A5F0E (5.5:1 on ivory).
   ========================================================================= */

:root {
  /* Brand palette (fixed by the brief) */
  --black: #0A0A0A;
  --gold: #C9A227;
  --ivory: #F8F5ED;
  --charcoal: #1C1C1C;
  --white: #FFFFFF;

  /* Derived, contrast-checked */
  --gold-deep: #7A5F0E;      /* gold text on light grounds */
  --gold-soft: #E3CC7F;      /* hover on dark */
  --ink: #1C1C1C;            /* body text on ivory: 15.6:1 */
  --ink-muted: #4D4A44;      /* secondary text on ivory: 8.2:1 */
  --paper-muted: #C9C3B6;    /* secondary text on black: 11.4:1 */
  --rule-light: #E4DDCC;
  --rule-dark: #2E2B25;
  --focus: #C9A227;

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.2vw, 4.4rem);
  --step-5: clamp(2.8rem, 1.8rem + 4.8vw, 6rem);

  /* Space (spacious marketing scale) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;

  --measure: 68ch;
  --wrap: 1200px;
  --radius: 2px;
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: 320ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-deep); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 var(--s-4); letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 var(--s-4); max-width: var(--measure); text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--rule-light); margin: var(--s-7) 0; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--gold); color: var(--black); padding: var(--s-3) var(--s-5); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
.on-dark { background: var(--black); color: var(--ivory); }
.on-dark a:not(.btn) { color: var(--gold); }
.on-dark a:not(.btn):hover { color: var(--gold-soft); }
.on-charcoal { background: var(--charcoal); color: var(--ivory); }
.on-charcoal a:not(.btn) { color: var(--gold); }
.on-white { background: var(--white); }
.grid { display: grid; gap: var(--s-6); }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: center; }
  .split--rev { grid-template-columns: 7fr 5fr; }
}
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--s-4);
}
.on-dark .eyebrow, .on-charcoal .eyebrow, .hero .eyebrow { color: var(--gold); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-muted); }
.on-dark .lead, .on-charcoal .lead { color: var(--paper-muted); }
.muted { color: var(--ink-muted); }
.on-dark .muted, .on-charcoal .muted { color: var(--paper-muted); }
.rule { width: 64px; height: 1px; background: var(--gold); border: 0; margin: var(--s-5) 0; }
.center { text-align: center; } .center p, .center .rule { margin-inline: auto; }
.prose > * + h2 { margin-top: var(--s-7); }
.prose > * + h3 { margin-top: var(--s-6); }
.prose li { margin-bottom: var(--s-2); max-width: var(--measure); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.96); color: var(--ivory);
  border-bottom: 1px solid var(--rule-dark); backdrop-filter: saturate(140%) blur(6px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: var(--header-h); }
.brand { white-space: nowrap; display: flex; flex-direction: column; text-decoration: none; color: var(--ivory); line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.06em; text-transform: uppercase; }
.brand__name b { color: var(--gold); font-weight: 600; }
@media (max-width: 480px) {
  .brand__name { font-size: 1.02rem; letter-spacing: 0.03em; }
  .site-header__inner { gap: var(--s-2); }
  .icon-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .icon-btn { padding: 0 var(--s-2); }
}
.brand__dates { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--paper-muted); text-transform: uppercase; }
.primary-nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: var(--s-5); }
.primary-nav a {
  color: var(--ivory); text-decoration: none; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em;
  padding: var(--s-3) 0; border-bottom: 1px solid transparent; display: inline-block; min-height: 44px; line-height: 28px; white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
@media (min-width: 1180px) { .primary-nav ul { display: flex; } }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-width: 44px; min-height: 44px; padding: 0 var(--s-3); background: transparent; color: var(--ivory);
  border: 1px solid transparent; border-radius: var(--radius); font: 500 0.85rem var(--font-body); letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { color: var(--gold); border-color: var(--rule-dark); }
.icon-btn svg { width: 22px; height: 22px; }

/* Full-site menu (all breakpoints) */
.menu-panel {
  position: fixed; inset: 0; z-index: 60; background: var(--black); color: var(--ivory);
  overflow-y: auto; padding: var(--s-6) 0 var(--s-8);
}
.menu-panel[hidden] { display: none; }
.menu-panel__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-6); }
.menu-panel ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
@media (min-width: 768px) { .menu-panel ol { grid-template-columns: 1fr 1fr; column-gap: var(--s-8); } }
.menu-panel li a {
  display: flex; align-items: baseline; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--rule-dark);
  color: var(--ivory); text-decoration: none; font-family: var(--font-display); font-size: var(--step-2); font-weight: 500;
}
.menu-panel li a span { font-family: var(--font-body); font-size: 0.75rem; color: var(--gold); letter-spacing: 0.12em; min-width: 2ch; }
.menu-panel li a:hover, .menu-panel li a[aria-current="page"] { color: var(--gold); }
.menu-search { display: flex; gap: var(--s-2); margin-bottom: var(--s-6); }
.menu-search .input { min-width: 0; flex: 1; }
body.menu-open { overflow: hidden; }

/* Forms (shared) */
.field { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: var(--step--1); color: var(--ink-muted); margin: 0; }
.input, .textarea {
  width: 100%; min-height: 48px; padding: var(--s-3) var(--s-4); font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid #8C8574; border-radius: var(--radius);
}
.textarea { min-height: 180px; resize: vertical; }
.input:focus-visible, .textarea:focus-visible { outline-offset: 0; border-color: var(--gold-deep); }
.on-dark .input { background: var(--charcoal); color: var(--ivory); border-color: #5A554A; }
.choice { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) 0; }
.choice input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--gold-deep); flex: none; }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s-5); }
.req { color: #9A2A1A; }
.error-msg { color: #9A2A1A; font-size: var(--step--1); font-weight: 600; margin: 0; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #9A2A1A; border-width: 2px; }
.notice { border-left: 3px solid var(--gold-deep); background: var(--white); padding: var(--s-4) var(--s-5); margin: var(--s-5) 0; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-6); border-radius: var(--radius); border: 1px solid var(--gold);
  font: 600 0.85rem var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--black); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: rgba(201,162,39,.7); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--black); color: var(--ivory); border-color: var(--black); }
.btn--dark:hover { background: var(--charcoal); color: var(--gold); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--ivory); }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); }
.center .btn-row { justify-content: center; }
.text-link { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; text-decoration: none; display: inline-flex; gap: var(--s-2); align-items: center; min-height: 44px; }
.text-link:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); color: var(--ivory); overflow: hidden; }
.hero__grid { display: grid; min-height: min(92vh, 900px); }
.hero__media { position: relative; min-height: 62vh; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 45%, rgba(10,10,10,1) 100%); }
.hero__content { position: relative; padding: 0 0 var(--s-8); margin-top: -18vh; z-index: 1; }
.hero__name { font-size: var(--step-5); letter-spacing: 0.04em; text-transform: uppercase; line-height: 0.95; margin-bottom: var(--s-4); }
.hero__name span { display: block; color: var(--gold); }
.hero__meta { font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-muted); margin-bottom: var(--s-6); }
.hero__headline { font-family: var(--font-display); font-size: var(--step-2); font-style: italic; font-weight: 500; color: var(--ivory); margin-bottom: var(--s-3); }
.hero__sub { color: var(--paper-muted); font-size: var(--step-0); letter-spacing: 0.02em; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 6fr 5fr; align-items: stretch; }
  .hero__media { order: 2; min-height: auto; }
  .hero__media::after { background: linear-gradient(90deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 35%); }
  .hero__content { margin-top: 0; padding: var(--s-9) var(--s-6) var(--s-9) max(1.25rem, calc((100vw - var(--wrap)) / 2)); align-self: center; }
}

/* Page header (internal pages) */
.page-hero { background: var(--black); color: var(--ivory); padding: var(--s-8) 0 var(--s-8); border-bottom: 1px solid var(--rule-dark); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 60ch; color: var(--paper-muted); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero a:not(.btn) { color: var(--gold); }
.page-hero--image { position: relative; padding: var(--s-10) 0 var(--s-8); }
.page-hero--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero--image .wrap { position: relative; }

/* Breadcrumbs */
.breadcrumbs { font-size: var(--step--1); margin-bottom: var(--s-5); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.breadcrumbs li + li::before { content: "/"; color: var(--gold); margin-right: var(--s-2); }
.breadcrumbs a { color: var(--paper-muted); }
.breadcrumbs [aria-current] { color: var(--ivory); }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--rule-light); display: flex; flex-direction: column; height: 100%; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--charcoal); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: var(--s-5) var(--s-5) var(--s-6); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: var(--step-1); margin-bottom: var(--s-3); }
.card__body p { font-size: 0.95rem; color: var(--ink-muted); }
.card__body .text-link { margin-top: auto; }
.card a.stretched::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.on-dark .card, .on-charcoal .card { background: var(--charcoal); border-color: var(--rule-dark); }
.on-dark .card__body p, .on-charcoal .card__body p { color: var(--paper-muted); }

/* Pillars / roles */
.roles { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); list-style: none; padding: 0; margin: var(--s-5) 0 0; }
.roles li { font-family: var(--font-display); font-size: var(--step-1); font-style: italic; }
.roles li + li::before { content: "·"; color: var(--gold); margin-right: var(--s-5); font-style: normal; }

/* Facts list */
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 1fr; gap: var(--s-1); padding: var(--s-4) 0; border-bottom: 1px solid var(--rule-light); }
.facts dt { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.facts dd { margin: 0; }
@media (min-width: 600px) { .facts div { grid-template-columns: 200px 1fr; gap: var(--s-5); } }
.on-dark .facts div { border-color: var(--rule-dark); }
.on-dark .facts dt { color: var(--gold); }

/* Statement */
.statement { text-align: center; }
.statement p { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.25; font-weight: 500; max-width: 22ch; margin-inline: auto; }
.statement p em { color: var(--gold); font-style: normal; }

/* Quote (only verbatim family words from the printed programme) */
.quote { border-left: 2px solid var(--gold); padding: var(--s-2) 0 var(--s-2) var(--s-5); margin: 0 0 var(--s-6); }
.quote p { font-family: var(--font-display); font-size: var(--step-1); font-style: italic; line-height: 1.45; margin-bottom: var(--s-3); }
.quote footer { font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.on-dark .quote footer { color: var(--paper-muted); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--gold); opacity: .6; }
.timeline li { position: relative; padding: 0 0 var(--s-7) var(--s-7); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold-deep); }
.timeline time, .timeline .when { display: block; font-size: var(--step--1); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--s-2); }
.timeline h3 { font-size: var(--step-2); margin-bottom: var(--s-2); }
.timeline p { color: var(--ink-muted); }
.timeline .source { font-size: var(--step--1); }
@media (min-width: 900px) {
  .timeline::before { left: 50%; }
  .timeline li { width: 50%; padding: 0 var(--s-8) var(--s-7) 0; text-align: right; }
  .timeline li p { margin-left: auto; }
  .timeline li::before { left: auto; right: -8px; }
  .timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 var(--s-7) var(--s-8); text-align: left; }
  .timeline li:nth-child(even)::before { right: auto; left: -7px; }
  .timeline li:nth-child(even) p { margin-left: 0; }
}

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--charcoal); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: var(--charcoal); color: var(--ivory); }
.video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity var(--dur) var(--ease); }
.video__btn:hover img { opacity: .95; }
.video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: rgba(10,10,10,.75); border: 1px solid var(--gold); display: grid; place-items: center; }
.video__play svg { width: 28px; height: 28px; fill: var(--gold); margin-left: 4px; }
.video__label { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-6) var(--s-5) var(--s-4); background: linear-gradient(180deg, transparent, rgba(10,10,10,.92)); text-align: left; font-weight: 600; font-size: 0.95rem; }
.video-meta { margin-top: var(--s-4); }
.video-meta h3 { font-size: var(--step-1); margin-bottom: var(--s-2); }
.video-meta p { font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.filter-btn {
  min-height: 44px; padding: 0 var(--s-5); border: 1px solid #8C8574; background: transparent; color: var(--ink);
  font: 500 0.85rem var(--font-body); letter-spacing: 0.06em; border-radius: 999px; cursor: pointer;
}
.filter-btn[aria-pressed="true"] { background: var(--black); color: var(--gold); border-color: var(--black); }
.filter-btn:hover { border-color: var(--black); }
.gallery { columns: 2 160px; column-gap: var(--s-3); }
@media (min-width: 768px) { .gallery { columns: 3 220px; column-gap: var(--s-4); } }
@media (min-width: 1200px) { .gallery { columns: 4 240px; } }
.gallery__item { break-inside: avoid; margin: 0 0 var(--s-3); }
@media (min-width: 768px) { .gallery__item { margin-bottom: var(--s-4); } }
.gallery__item[hidden] { display: none; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--charcoal); cursor: zoom-in; position: relative; }
.gallery__btn img { width: 100%; transition: opacity var(--dur) var(--ease); }
.gallery__btn:hover img { opacity: .88; }
.gallery__item figcaption { font-size: 0.8rem; color: var(--ink-muted); padding: var(--s-2) 0 0; line-height: 1.4; }
.gallery-count { font-size: var(--step--1); color: var(--ink-muted); margin-bottom: var(--s-4); }

.preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 768px) { .preview-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
.preview-grid a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--charcoal); }
.preview-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.preview-grid a:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,10,10,.97); color: var(--ivory); }
.lightbox::backdrop { background: rgba(10,10,10,.9); }
.lightbox__stage { position: absolute; inset: 64px 0 96px; display: grid; place-items: center; padding: 0 var(--s-4); }
.lightbox__stage img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 176px); max-height: calc(100dvh - 176px); object-fit: contain; }
.lightbox__bar { position: absolute; top: 0; left: 0; right: 0; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--s-4); }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 0; min-height: 96px; padding: var(--s-4) var(--s-6); text-align: center; color: var(--paper-muted); }
.lightbox__caption strong { display: block; color: var(--ivory); font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(28,28,28,.8); border: 1px solid var(--rule-dark); }
.lightbox__nav--prev { left: var(--s-3); } .lightbox__nav--next { right: var(--s-3); }
.lightbox .icon-btn { color: var(--ivory); }

/* ---------- Tributes ---------- */
.tribute-list { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .tribute-list { grid-template-columns: repeat(2, 1fr); } }
.tribute { background: var(--white); border: 1px solid var(--rule-light); border-top: 2px solid var(--gold); padding: var(--s-6); margin: 0; }
.tribute p { white-space: pre-line; }
.tribute footer { margin-top: var(--s-4); font-weight: 600; }
.tribute footer span { display: block; font-weight: 400; color: var(--ink-muted); font-size: var(--step--1); }
.on-dark .tribute { background: var(--charcoal); border-color: var(--rule-dark); border-top-color: var(--gold); }
.on-dark .tribute footer span { color: var(--paper-muted); }
.status { padding: var(--s-5); border: 1px dashed #8C8574; color: var(--ink-muted); }
.on-dark .status { border-color: #5A554A; color: var(--paper-muted); }

/* ---------- Schedule ---------- */
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li { display: grid; grid-template-columns: 90px 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--rule-light); }
.schedule time, .schedule .t { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--gold-deep); }

/* Press list */
.press { list-style: none; padding: 0; margin: 0; }
.press li { padding: var(--s-5) 0; border-bottom: 1px solid var(--rule-light); }
.press a { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--ink); text-decoration-color: var(--gold); }
.press a:hover { color: var(--gold-deep); }
.press .src { display: block; font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: var(--s-1); }
.press p { margin: var(--s-2) 0 0; color: var(--ink-muted); font-size: 0.95rem; }

/* Search */
.search-results { list-style: none; padding: 0; margin: var(--s-6) 0 0; }
.search-results li { padding: var(--s-5) 0; border-bottom: 1px solid var(--rule-light); }
.search-results a { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.search-results p { margin: var(--s-2) 0 0; color: var(--ink-muted); font-size: 0.95rem; }
mark { background: #F1E3B0; color: inherit; padding: 0 2px; }

/* Share bar */
.share { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.share .label { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--paper-muted); padding: var(--s-8) 0 var(--s-6); border-top: 1px solid var(--rule-dark); font-size: 0.95rem; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h2 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-4); font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li a { display: inline-block; padding: var(--s-2) 0; min-height: 44px; line-height: 28px; }
.footer-epitaph { font-family: var(--font-display); font-size: var(--step-1); color: var(--ivory); font-style: italic; }
.footer-bottom { border-top: 1px solid var(--rule-dark); margin-top: var(--s-7); padding-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; font-size: 0.85rem; }
.social { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--rule-dark); border-radius: 50%; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Back to top */
.to-top {
  position: fixed; right: var(--s-4); bottom: var(--s-4); z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  background: var(--black); color: var(--gold); border: 1px solid var(--gold); display: grid; place-items: center; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Print: a clean, archival printout */
@media print {
  .site-header, .site-footer, .to-top, .menu-panel, .filters, .share, .btn-row, .video { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .page-hero, .on-dark, .on-charcoal { background: #fff !important; color: #000 !important; }
  a { color: #000; }
}
