/* ============================================================
   denizcaglarcan.com — ALTERNATIVE DIRECTION: "THE CATALOGUE"
   A light, ivory, editorial treatment of the six-door site.
   Self-contained. Deliberately departs from the dark SHARED/site.css
   (see README for rationale). Same brand fonts + gold, inverted ground.
============================================================ */

:root {
  /* ---- Color: ivory paper, ink type, deep gold rule ---- */
  --bg:      #f4f1ea;   /* page ground (warm ivory) */
  --bg-soft: #ece7db;   /* alternating section */
  --bg-soft: #e4ddcd;   /* cards / wells */
  --ink:        #1b1714;   /* primary type (near-black, warm) */
  --ink-dim:    #6a6157;   /* secondary type */
  --ink-mute:   #9a9183;   /* tertiary / captions */
  --gold:       #8a6618;   /* THE accent, darkened for contrast on paper */
  --gold-soft:#b8893a;   /* decorative gold (rules, hovers) */
  --line:  rgba(138, 102, 24, 0.10);
  --line:       rgba(27, 23, 20, 0.18);   /* ink hairline (ledger rules) */
  --line-soft:  rgba(27, 23, 20, 0.09);
  --line-gold:  rgba(138, 102, 24, 0.30);

  /* ---- Layout ---- */
  --max:        1320px;
  --gutter:     clamp(20px, 5vw, 72px);

  /* ---- Type (same brand faces as the dark direction) ---- */
  --serif:      "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:       -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --display:    -apple-system, "SF Pro Display", "Inter Display", "Inter", "Helvetica Neue", Arial, sans-serif;

  /* ---- Motion ---- */
  --ease:       cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Faint paper grain so the ivory reads as stock, not flat white */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--gold); color: var(--bg); }

.skip { position: absolute; left: -9999px; top: -9999px; }
.skip:focus { left: 16px; top: 16px; padding: 8px 14px; background: var(--ink); color: var(--bg); z-index: 999; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ============================================================
   TYPE SCALE — serif promoted to a co-display face (editorial)
============================================================ */
.t-folio {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 12vw, 188px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  margin: 0;
}
.t-folio em { font-style: italic; color: var(--gold); }

.t-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  margin: 0;
}
.t-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
}
.lede {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink-dim);
}
.prose-serif {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.5;
}
.prose-serif em { color: var(--gold); font-style: italic; }

/* The gold micro-label (kept conceptually, restyled for paper) */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4em;
}
.eyebrow--rule { display: flex; align-items: center; gap: 16px; }
.eyebrow--rule::after { content: ""; flex: 1; height: 1px; background: var(--line-gold); }

/* ============================================================
   BUTTONS — squared editorial, not pills (departure from dark dir.)
============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
.btn:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn--gold { border-color: var(--line-gold); color: var(--gold); }
.btn--gold:hover { border-color: var(--gold); background: var(--gold); color: var(--bg); }
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   SCROLL REVEAL
============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* A rule that draws itself in on reveal */
.rule { height: 1px; background: var(--line); transform-origin: left; }
[data-reveal].rule { opacity: 1; transform: scaleX(0); transition: transform 1.1s var(--ease); }
[data-reveal].rule.is-revealed { transform: scaleX(1); }

/* ============================================================
   MASTHEAD / NAV — thin ruled bar, editorial caps
============================================================ */
.mast {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.82);
  backdrop-filter: saturate(1.1) blur(14px);
  -webkit-backdrop-filter: saturate(1.1) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.mast__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.mast__brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.mast__brand .surname { color: var(--ink-dim); }
.mast__nav ul {
  display: flex; gap: clamp(14px, 2vw, 30px);
  margin: 0; padding: 0; list-style: none;
}
.mast__nav a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 6px 0;
  position: relative;
  transition: color .3s;
}
.mast__nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold); transition: right .35s var(--ease);
}
.mast__nav a:hover { color: var(--ink); }
.mast__nav a:hover::after { right: 0; }
.mast__nav a.is-active { color: var(--ink); }
.mast__nav a.is-active::after { right: 0; background: var(--ink); }

.mast__right { display: flex; align-items: center; gap: 14px; }
.listen-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim); transition: border-color .3s, color .3s;
}
.listen-pill:hover { border-color: var(--gold); color: var(--gold); }
.listen-pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.burger { display: none; width: 26px; height: 16px; position: relative; }
.burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: .3s; }
.burger span:first-child { top: 2px; }
.burger span:last-child { bottom: 2px; }

/* ============================================================
   HERO MASTHEAD — the catalogue title page (no photo)
============================================================ */
.title-page {
  padding: clamp(48px, 11vh, 132px) 0 clamp(40px, 7vh, 84px);
  border-bottom: 1px solid var(--line);
}
.title-page__edition {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 12px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--ink-mute);
  padding-bottom: clamp(28px, 6vh, 64px);
}
.title-page__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 16.5vw, 280px);
  line-height: 0.82;
  letter-spacing: -0.03em;
  margin: 0;
}
.title-page__name .ln2 { display: block; padding-left: 0.04em; color: var(--ink); }
.title-page__name .ln2 i { font-style: italic; font-weight: 300; }

.title-page__foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 24px;
  margin-top: clamp(28px, 6vh, 60px);
}
.roles-rotator {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(20px, 2.6vw, 32px);
  letter-spacing: -0.01em; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 0.4em;
}
.roles-rotator .static { color: var(--ink-mute); }
.roles-rotator .swap {
  position: relative; display: inline-block; min-width: 4.4em;
  color: var(--gold); font-style: italic; font-family: var(--serif);
}
.roles-rotator .swap span {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  opacity: 0; transform: translateY(0.5em);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.roles-rotator .swap span.is-on { opacity: 1; transform: none; position: relative; }

.title-page__now {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-dim); text-align: right; max-width: 320px;
}
.title-page__now b { color: var(--ink); font-weight: 500; }
.title-page__now a { color: var(--gold); }
.title-page__now a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   SECTION SHELL  +  numbered program headings
============================================================ */
.section { padding: clamp(56px, 11vh, 132px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(40px, 7vh, 84px) 0; }

.sec-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: clamp(28px, 5vh, 56px); }
.sec-head__num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(18px, 2vw, 26px); color: var(--gold); line-height: 1;
}
.sec-head__title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.01em; line-height: 1; margin: 0; }
.sec-head__meta { margin-left: auto; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); align-self: center; }

/* ============================================================
   THE INDEX — signature ruled catalogue list w/ cursor preview
============================================================ */
.index-list { border-top: 1px solid var(--line); }
.idx {
  display: grid;
  grid-template-columns: 56px 84px 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: clamp(18px, 2.4vh, 30px) 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .4s var(--ease), padding-left .4s var(--ease), border-color .4s;
}
.idx:hover { background: var(--line); padding-left: 18px; border-color: var(--line-gold); }
.idx__folio { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-mute); }
.idx__year  { font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em; color: var(--ink-dim); padding-top: 0.5em; }
.idx__main  { min-width: 0; }
.idx__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 3.4vw, 44px); line-height: 1.04; letter-spacing: -0.012em;
  color: var(--ink); transition: color .3s;
}
.idx:hover .idx__title { color: var(--gold); }
.idx__sub { font-family: var(--sans); font-size: 13px; color: var(--ink-dim); margin-top: 6px; letter-spacing: 0.01em; }
.idx__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.idx__tag {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); border: 1px solid var(--line-soft); padding: 3px 9px;
}
.idx__right { text-align: right; align-self: center; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.idx__status {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute);
}
.idx__status.is-live { color: var(--gold); }
.idx__go { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-mute); transition: transform .35s var(--ease), color .3s; }
.idx:hover .idx__go { color: var(--gold); transform: translateX(4px); }
.idx[data-static] { cursor: default; }
.idx-thumb { display: none; }   /* desktop uses cursor preview; mobile overrides below */

/* Filter bar (six-door taxonomy lives here on index pages) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 4vh, 44px); }
.filter {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim); padding: 9px 18px; border: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.idx.is-hidden { display: none; }

/* Cursor-following preview image (desktop pointer) */
.cursor-preview {
  position: fixed; top: 0; left: 0; z-index: 40; pointer-events: none;
  width: clamp(220px, 22vw, 320px); aspect-ratio: 4/3;
  opacity: 0; transform: translate(-50%, -50%) scale(0.92);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
  border: 1px solid var(--line-gold);
  box-shadow: 0 30px 60px -28px rgba(27,23,20,0.55);
  overflow: hidden; background: var(--bg-soft);
}
.cursor-preview.is-on { opacity: 1; }
.cursor-preview img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.02); }
@media (hover: none) { .cursor-preview { display: none; } }

/* ============================================================
   FEATURED — editorial two-column plate
============================================================ */
.plate { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.plate--flip .plate__media { order: 2; }
.plate__media {
  position: relative; aspect-ratio: 5/4; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft);
}
.plate__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.02); transition: transform 1.4s var(--ease), filter .6s; }
.plate:hover .plate__media img { transform: scale(1.04); filter: saturate(1) contrast(1.03); }
.plate__tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--bg); color: var(--ink);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 9px 16px; border-top: 1px solid var(--line); border-right: 1px solid var(--line);
}
.plate__body h2 { margin: 0.2em 0 0.5em; }
.plate__body p { color: var(--ink-dim); max-width: 46ch; margin: 0 0 1.6em; }
.plate__media-link { display: block; }

/* ============================================================
   TWO-UP NOTES
============================================================ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.duo__cell { border-top: 1px solid var(--line); padding-top: 26px; }
.duo__cell h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 32px); margin: 0.2em 0 0.5em; letter-spacing: -0.01em; }
.duo__cell p { color: var(--ink-dim); margin: 0 0 1em; }
.duo__cell em { color: var(--gold); font-style: italic; }
.duo__meta { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }

/* ============================================================
   PULL QUOTE — large serif, ruled
============================================================ */
.pull { text-align: center; padding: clamp(64px, 13vh, 150px) 0; }
.pull__quote {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(26px, 4.4vw, 56px); line-height: 1.18; letter-spacing: -0.012em;
  color: var(--ink); margin: 0 auto; max-width: 16ch; position: relative;
}
.pull--wide .pull__quote { max-width: 22ch; }
.pull__quote::before { content: "\201C"; color: var(--gold); }
.pull__quote::after { content: "\201D"; color: var(--gold); }
.pull__cite { display: inline-block; margin-top: 2.2em; font-family: var(--sans); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-mute); }
.pull__cite::before { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--line-gold); vertical-align: middle; margin-right: 14px; }

/* ============================================================
   PAGE HEAD (sub-pages)
============================================================ */
.page-head { padding: clamp(48px, 9vh, 116px) 0 clamp(32px, 5vh, 56px); border-bottom: 1px solid var(--line); }
.page-head__title { margin: 0.1em 0 0.4em; }
.page-head__lede { max-width: 52ch; }

/* ============================================================
   LEDGER / LIST — generic ruled list (concerts, awards, etc.)
============================================================ */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ledger li {
  display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: baseline;
  padding: 20px 4px; border-bottom: 1px solid var(--line-soft);
  transition: background .35s, padding-left .35s var(--ease);
}
.ledger li:hover { background: var(--line); padding-left: 14px; }
.ledger .when { font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.ledger .what { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); line-height: 1.3; color: var(--ink); }
.ledger .what em { color: var(--gold); font-style: italic; }
.ledger .what small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-mute); margin-top: 4px; text-transform: none; }

/* Two-column prose for bio/about */
.essay { max-width: 64ch; }
.essay p { font-family: var(--display); font-weight: 300; font-size: clamp(18px, 1.9vw, 23px); line-height: 1.62; color: var(--ink); margin: 0 0 1.3em; letter-spacing: -0.005em; }
.essay p em { color: var(--gold); font-style: italic; }
.essay .lead-cap::first-letter {
  font-family: var(--serif); font-size: 3.6em; line-height: 0.8; float: left;
  padding: 0.04em 0.12em 0 0; color: var(--gold); font-weight: 400;
}

/* Teacher columns */
.teachers { display: grid; gap: 22px; }
.teachers dt { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.teachers dd { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; color: var(--ink-dim); }

/* Tabs (performance) */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 5vh, 52px); }
.tabs button {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute); padding: 14px 20px; position: relative; transition: color .3s;
}
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.tabs button:hover { color: var(--ink); }
.tabs button.is-active { color: var(--ink); }
.tabs button.is-active::after { transform: scaleX(1); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .6s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.perf-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); }
.perf-grid p { font-family: var(--display); font-weight: 300; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; color: var(--ink-dim); margin: 0 0 1.1em; }
.perf-grid em { color: var(--gold); font-style: italic; }

/* Reel plate (screen scoring) */
.reel {
  position: relative; aspect-ratio: 16/7; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) contrast(1.02) brightness(0.96); }
.reel__play {
  position: relative; z-index: 2; width: 78px; height: 78px; border-radius: 50%;
  background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-gold); transition: transform .4s var(--ease), background .3s, color .3s;
}
.reel__play:hover { transform: scale(1.08); background: var(--gold); color: var(--bg); }
.reel__cap { position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--bg); padding: 8px 15px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }

/* Credits rows */
.credits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.credits li { display: grid; grid-template-columns: 90px 1.4fr 1.6fr auto; gap: 22px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line-soft); transition: background .35s; }
.credits li:hover { background: var(--line); }
.credits .yr { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.credits .title { font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px); color: var(--ink); }
.credits .dir { font-size: 13px; color: var(--ink-dim); }
.credits .role { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); text-align: right; }

/* Papers / program-note rows (research) */
.papers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.papers li { display: grid; grid-template-columns: 72px 1fr auto; gap: 22px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line-soft); transition: background .35s, padding-left .35s var(--ease); }
.papers li:hover { background: var(--line); padding-left: 12px; }
.papers .yr { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold); }
.papers .title { font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px); color: var(--ink); display: block; }
.papers .venue { font-size: 13px; color: var(--ink-dim); display: block; margin-top: 4px; }
.papers .pdf { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); border: 1px solid var(--line); padding: 7px 13px; transition: all .3s; white-space: nowrap; }
a.pdf:hover { border-color: var(--gold); color: var(--gold); }

/* Press quotes grid */
.press-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.press-grid blockquote {
  margin: 0; padding: 30px 0 0; border-top: 1px solid var(--line);
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px); line-height: 1.32; color: var(--ink);
}
.press-grid cite { display: block; margin-top: 1em; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }

/* Contact band */
.contact { padding: clamp(64px, 13vh, 150px) 0; text-align: center; }
.contact h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 5.2vw, 72px); letter-spacing: -0.015em; margin: 0 0 1.2em; line-height: 1; }
.contact__links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact__links--left { justify-content: flex-start; }

.note { max-width: 60ch; color: var(--ink-mute); font-size: 13px; line-height: 1.6; margin-top: 2.4em; }

/* ============================================================
   FOOTER — uses the global .foot styles from style.css so the
   footer matches every other page (overrides removed 2026-07-02)
============================================================ */

/* ============================================================
   LISTEN BAR — light docked colophon player (replaces dark drawer)
============================================================ */
.listen-bar {
  position: fixed; left: var(--gutter); bottom: 22px; z-index: 45;
  display: flex; align-items: center; gap: 14px;
  background: var(--bg); border: 1px solid var(--line);
  padding: 11px 16px 11px 13px; max-width: 340px;
  box-shadow: 0 20px 44px -26px rgba(27,23,20,0.5);
  transform: translateY(140%); opacity: 0;
  transition: transform .6s var(--ease), opacity .5s var(--ease);
}
.listen-bar.is-open { transform: none; opacity: 1; }
.lp-play {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid var(--line-gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center; transition: .3s;
}
.lp-play:hover { background: var(--gold); color: var(--bg); }
.listen-bar__meta { min-width: 0; }
.listen-bar__title { font-family: var(--serif); font-size: 17px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listen-bar__sub { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; }
.listen-bar__close { color: var(--ink-mute); font-size: 18px; line-height: 1; padding: 2px 4px; align-self: flex-start; }
.listen-bar__close:hover { color: var(--ink); }
.lp-bar { width: 64px; height: 2px; background: var(--line); position: relative; }
.lp-bar__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 28%; background: var(--gold); }

/* ============================================================
   DEMO REEL — film-music player (Screen Scoring page)
============================================================ */
.reel-intro { padding: clamp(40px, 7vh, 84px) 0 clamp(20px, 3vh, 36px); }
.reel-intro__line { font-family: var(--display); font-weight: 300; font-size: clamp(18px, 2vw, 25px); line-height: 1.5; color: var(--ink-dim); max-width: 48ch; letter-spacing: -0.01em; }
.reel-intro__line b { color: var(--ink); font-weight: 400; }

/* Featured / now-playing stage */
.reel-stage {
  display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding-bottom: clamp(28px, 5vh, 56px);
}
.reel-stage__art {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-soft);
  border: 1px solid var(--line); box-shadow: 0 36px 70px -34px rgba(27,23,20,0.6);
}
.reel-stage__art img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease); }
.reel-stage__art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); pointer-events: none; }
.reel-stage__meta .eyebrow { margin-bottom: 1em; }
.reel-stage__title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 68px); line-height: 1.0; letter-spacing: -0.015em; margin: 0; }
.reel-stage__project { font-family: var(--display); font-weight: 300; font-size: clamp(16px, 1.7vw, 21px); color: var(--ink-dim); margin: 0.6em 0 0; }
.reel-stage__credit { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0.9em 0 0; }
.reel-stage__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 1.6em; }
.reel-stage__play {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px;
  border: 1px solid var(--gold); color: var(--gold); background: transparent;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; transition: all .35s var(--ease);
}
.reel-stage__play:hover { background: var(--gold); color: var(--bg); }
.reel-stage__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.reel-stage__tags span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); border: 1px solid var(--line-soft); padding: 4px 10px; }

/* Featured stage art as a film one-sheet (portrait) */
.reel-stage--poster { grid-template-columns: minmax(0, 300px) 1fr; align-items: stretch; }
.reel-stage--poster .reel-stage__art { aspect-ratio: 2/3; }
.reel-stage--poster .reel-stage__meta { display: flex; flex-direction: column; justify-content: center; }

/* Films poster wall */
.films { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.film {
  display: block; cursor: pointer; background: none; text-align: left; padding: 0; width: 100%;
}
.film__art {
  position: relative; aspect-ratio: 2/3; overflow: hidden; background: var(--bg-soft);
  border: 1px solid var(--line); box-shadow: 0 28px 56px -34px rgba(27,23,20,0.55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.film:hover .film__art { transform: translateY(-6px); box-shadow: 0 40px 70px -34px rgba(27,23,20,0.6); }
.film__art img { width: 100%; height: 100%; object-fit: cover; }
.film__art::after {
  content: "▶ Play cue"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(27,23,20,0.42); color: var(--bg); font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; opacity: 0; transition: opacity .4s var(--ease);
}
.film:hover .film__art::after { opacity: 1; }
.film__meta { padding-top: 16px; }
.film__title { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.1; color: var(--ink); }
.film__dir { font-size: 12px; letter-spacing: 0.04em; color: var(--ink-dim); margin-top: 5px; }
.film__role { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-top: 9px; }

/* Scoring-to-picture video gallery */
.scenes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.6vw, 32px); }
.scene { display: block; cursor: pointer; padding: 0; background: none; width: 100%; text-align: left; }
.scene__frame { position: relative; aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--line); background: #14110e; }
.scene__frame video, .scene__frame img { width: 100%; height: 100%; object-fit: cover; }
.scene__frame::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%,-50%) scale(1);
  border-radius: 50%; background: rgba(244,241,234,0.92); transition: transform .4s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='6'/%3E%3C/svg%3E") center/cover;
}
.scene__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2; color: var(--ink); transition: transform .4s var(--ease); pointer-events: none; }
.scene:hover .scene__frame::after { transform: translate(-50%,-50%) scale(1.12); }
.scene:hover .scene__play { transform: translate(-50%,-50%) scale(1.12); }
.scene__cap { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; }
.scene__title { font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px); color: var(--ink); }
.scene__sub { font-size: 12px; color: var(--ink-dim); margin-top: 3px; }
.scene__dur { font-size: 12px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }

/* Lightbox for video */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(20,17,14,0.92); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.is-on { display: flex; }
.lightbox video { width: min(1100px, 92vw); max-height: 86vh; background: #000; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8); }
.lightbox__close { position: absolute; top: 22px; right: 26px; color: var(--bg); font-size: 30px; line-height: 1; }

@media (max-width: 760px) {
  .films { grid-template-columns: repeat(2, 1fr); }
  .scenes { grid-template-columns: 1fr; }
  .reel-stage--poster { grid-template-columns: 1fr; }
}

/* Cue list */
.reel-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(20px,3vh,36px) 0 clamp(20px,3vh,32px); }
.cue-list { border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.cue {
  display: grid; grid-template-columns: 22px 56px 1fr auto auto; align-items: center; gap: 20px;
  padding: 14px 6px; border-bottom: 1px solid var(--line-soft); cursor: pointer;
  transition: background .35s var(--ease), padding-left .35s var(--ease);
}
.cue:hover { background: var(--line); padding-left: 14px; }
.cue.is-active { background: var(--line); }
.cue.is-hidden { display: none; }
.cue__num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--ink-mute); text-align: center; }
.cue__art { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--line-soft); background: var(--bg-soft); filter: saturate(0.92); }
.cue__main { min-width: 0; }
.cue__title { font-family: var(--serif); font-size: clamp(19px, 2vw, 26px); line-height: 1.1; color: var(--ink); display: block; }
.cue.is-active .cue__title { color: var(--gold); }
.cue__project { font-size: 12px; letter-spacing: 0.04em; color: var(--ink-dim); margin-top: 3px; display: block; }
.cue__tags { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; max-width: 240px; }
.cue__tags span { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.cue__dur { font-family: var(--sans); font-size: 13px; color: var(--ink-mute); font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; }
.cue__play { color: var(--ink-mute); display: flex; align-items: center; justify-content: center; transition: color .3s, transform .3s var(--ease); }
.cue:hover .cue__play { color: var(--gold); transform: scale(1.12); }

/* Equalizer bars on the active/playing cue (replaces the index number) */
.eq { display: none; gap: 2px; align-items: flex-end; height: 14px; justify-content: center; }
.cue.is-active .eq { display: inline-flex; }
.cue.is-active .cue__num-txt { display: none; }
.eq span { width: 2px; background: var(--gold); height: 30%; animation: eqbar 0.9s var(--ease) infinite; }
.eq span:nth-child(2) { animation-delay: .25s; height: 80%; }
.eq span:nth-child(3) { animation-delay: .5s; height: 50%; }
.eq span:nth-child(4) { animation-delay: .15s; height: 65%; }
.cue.is-paused .eq span { animation-play-state: paused; }
@keyframes eqbar { 0%,100% { height: 25%; } 50% { height: 100%; } }

/* Sticky player */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(244, 241, 234, 0.92); backdrop-filter: saturate(1.1) blur(18px);
  -webkit-backdrop-filter: saturate(1.1) blur(18px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .55s var(--ease);
}
.player.is-on { transform: none; }
.player__inner { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: grid; grid-template-columns: minmax(0, 280px) 1fr minmax(0, 280px); gap: 24px; align-items: center; }
.player__np { display: flex; align-items: center; gap: 14px; min-width: 0; }
.player__art { width: 48px; height: 48px; object-fit: cover; border: 1px solid var(--line-soft); flex: 0 0 auto; }
.player__meta { min-width: 0; }
.player__title { font-family: var(--serif); font-size: 18px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__project { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__center { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.player__controls { display: flex; align-items: center; gap: 20px; }
.player__btn { color: var(--ink-dim); transition: color .25s, transform .2s var(--ease); display: flex; }
.player__btn:hover { color: var(--ink); transform: scale(1.1); }
.player__btn--play {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
}
.player__btn--play:hover { background: var(--gold); color: var(--bg); transform: scale(1.05); }
.player__scrub { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 520px; }
.player__time { font-size: 11px; color: var(--ink-mute); font-variant-numeric: tabular-nums; min-width: 38px; }
.player__time--end { text-align: left; }
.player__track { flex: 1; height: 3px; background: var(--line); position: relative; cursor: pointer; }
.player__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--gold); }
.player__fill::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); transform: translateY(-50%) scale(0); transition: transform .2s; }
.player__track:hover .player__fill::after { transform: translateY(-50%) scale(1); }
.player__right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.player__vol { display: flex; align-items: center; gap: 8px; color: var(--ink-mute); }
.player__vol input { width: 80px; accent-color: var(--gold); }
.player__close { color: var(--ink-mute); font-size: 18px; line-height: 1; }
.player__close:hover { color: var(--ink); }

@media (max-width: 880px) {
  .reel-stage { grid-template-columns: 1fr; }
  .player__inner { grid-template-columns: 1fr auto; gap: 14px; }
  .player__center { grid-column: 1 / -1; order: 3; }
  .player__right { order: 2; }
  .player__np { order: 1; }
  .player__vol { display: none; }
  .cue { grid-template-columns: 44px 1fr auto; gap: 14px; }
  .cue__num { display: none; }
  .cue__tags { display: none; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 980px) {
  .plate, .plate--flip .plate__media { grid-template-columns: 1fr; order: 0; }
  .duo, .perf-grid, .press-grid { grid-template-columns: 1fr; }
  .credits li { grid-template-columns: 64px 1fr; }
  .credits .dir, .credits .role { grid-column: 2; text-align: left; }
}
@media (max-width: 720px) {
  .mast__nav { display: none; }
  .burger { display: block; }
  .mast.is-menu-open .mast__nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .mast.is-menu-open .mast__nav ul { flex-direction: column; gap: 0; }
  .mast.is-menu-open .mast__nav li { border-bottom: 1px solid var(--line-soft); }
  .mast.is-menu-open .mast__nav a { display: block; padding: 16px 0; font-size: 14px; }
  .idx { grid-template-columns: 1fr auto; gap: 12px 16px; }
  .idx__folio { display: none; }
  .idx__year { grid-row: 1; grid-column: 1; padding-top: 0; }
  .idx__right { grid-row: 1; grid-column: 2; flex-direction: row; align-items: center; gap: 12px; }
  .idx__main { grid-column: 1 / -1; }
  .idx-thumb { display: block; grid-column: 1 / -1; width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-top: 14px; border: 1px solid var(--line); filter: saturate(0.82); }
  .ledger li { grid-template-columns: 1fr; gap: 6px; }
  .listen-bar { left: 12px; right: 12px; max-width: none; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .rule { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* Dark theme: inherits the warm gold palette from site-header.css; set reel-only vars. */
body.gold-header.theme-dark { --line-soft: rgba(255,255,255,0.07); --line-gold: rgba(214,178,105,0.34); }

/* Dark theme for the reel bottom player: match the global player (warm dark + gold).
   The light background above is hardcoded; override it (and key accents) in dark. */
body.gold-header.theme-dark .player { background: rgba(23, 19, 15, 0.94); border-top-color: var(--line); }
body.gold-header.theme-dark .player__title { color: var(--gold); }
body.gold-header.theme-dark .player__btn--play { border-color: var(--gold); color: var(--gold); }
body.gold-header.theme-dark .player__art { border-color: var(--line-gold); }
