/* ==========================================================================
   Yonatan Dvir: Phase 1 design system
   Two typefaces, one dark base, cream for light surfaces, gold as accent only.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Color roles (contrast ratios measured against WCAG 2.1) */
  --ink-0: #131313;          /* page base */
  --ink-1: #1B1B1D;          /* raised surfaces: header, panels */
  --ink-2: #242427;          /* hover / fields on dark */
  --line: rgba(241, 237, 226, 0.12);
  --line-strong: rgba(241, 237, 226, 0.24);

  --text: #E6E2D8;           /* body on dark, 14.4:1 */
  --text-strong: #F1EDE2;    /* headings on dark, 15.9:1 */
  --text-muted: #A9A49A;     /* secondary on dark, 7.5:1 */

  --cream: #F1EDE2;          /* light surface */
  --on-cream: #1D1D20;       /* titles on cream, 14.4:1 */
  --on-cream-muted: #5E5A52; /* secondary on cream, 5.9:1 */
  --bronze: #7A5A22;         /* accent labels on cream, 5.4:1 */

  --gold: #C6A15B;           /* accent on dark only, 7.7:1 */
  --gold-soft: rgba(198, 161, 91, 0.35);

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(3rem, 7.2vw, 6rem);       /* 48 to 96 */
  --fs-h2: clamp(1.9rem, 3.4vw, 2.6rem);        /* 30 to 42 */
  --fs-h3: clamp(1.4rem, 2.2vw, 1.75rem);       /* 22 to 28 */
  --fs-lede: clamp(1.25rem, 1.9vw, 1.5rem);     /* 20 to 24 */
  --fs-body: 1rem;                               /* 16 */
  --fs-small: 0.875rem;                          /* 14 */
  --fs-label: 0.75rem;                           /* 12 */

  --track-label: 0.22em;
  --track-nav: 0.16em;

  /* Space */
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(64px, 10vw, 128px);
  --measure: 40rem;          /* about 65 characters */
  --wide: 72rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 700ms;

  --radius: 2px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.4em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--text-strong); }
::selection { background: var(--gold); color: var(--ink-0); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--cream); color: var(--ink-0); padding: 8px 14px; font-size: var(--fs-small); }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- Type utilities ---------- */
.display { font-family: var(--serif); font-weight: 300; font-size: var(--fs-display); line-height: 1.02; letter-spacing: 0.02em; }
.h2 { font-family: var(--serif); font-weight: 300; font-size: var(--fs-h2); line-height: 1.15; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h3); line-height: 1.2; }
.lede { font-family: var(--serif); font-weight: 400; font-size: var(--fs-lede); line-height: 1.5; color: var(--text-strong); }
.label {
  font-family: var(--sans); font-weight: 500; font-size: var(--fs-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.6;
  color: var(--gold);
}
.muted { color: var(--text-muted); }
.rule { width: 48px; height: 1px; background: var(--gold); border: 0; margin: 0; }

/* Links in running text: gold on dark, always underlined */
.prose a { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 0.22em; text-decoration-thickness: 1px; transition: text-decoration-color 200ms; }
.prose a:hover { text-decoration-color: var(--gold); }
/* Names that were highlighted (not links) on the old site: brighter weight, not gold */
.prose .name { color: var(--text-strong); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.9em;
  font-family: var(--sans); font-weight: 500; font-size: var(--fs-label);
  letter-spacing: var(--track-label); text-transform: uppercase; text-decoration: none;
  padding: 1.05em 1.9em; border-radius: var(--radius); cursor: pointer;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease);
}
.btn-outline { color: var(--text-strong); border: 1px solid var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--ink-0); }
.btn-solid { color: var(--ink-0); background: var(--gold); border: 1px solid var(--gold); }
.btn-solid:hover { background: var(--cream); border-color: var(--cream); }
.btn .arrow { width: 22px; height: 1px; background: currentColor; position: relative; }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.section { padding: var(--section) 0; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Header (Phase 2) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27, 27, 29, 0.94);
  -webkit-backdrop-filter: saturate(120%) blur(8px); backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: background-color 400ms var(--ease), border-color 400ms var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; transition: min-height 400ms var(--ease); }
/* Home: header floats over the hero, then turns solid once the visitor scrolls */
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-overlay::before { content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(19,19,19,0.7), rgba(19,19,19,0)); transition: opacity 400ms var(--ease); }
.site-header.is-overlay.is-solid { background: rgba(27, 27, 29, 0.94); border-bottom-color: var(--line); -webkit-backdrop-filter: saturate(120%) blur(8px); backdrop-filter: saturate(120%) blur(8px); }
.site-header.is-overlay.is-solid::before { opacity: 0; }
.site-header.is-solid .wrap { min-height: 72px; }
.brand { display: flex; align-items: baseline; gap: 14px; text-decoration: none; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--text-strong); letter-spacing: 0.01em; white-space: nowrap; }
.brand-slash { font-family: var(--serif); font-weight: 300; font-size: 1.9rem; line-height: 1; color: var(--gold); }
.brand-tag { font-family: var(--sans); font-weight: 500; font-size: 0.6875rem; letter-spacing: var(--track-nav); text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.nav ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 36px); margin: 0; padding: 0; }
.nav a {
  font-family: var(--sans); font-weight: 500; font-size: 0.75rem; letter-spacing: var(--track-nav); text-transform: uppercase;
  text-decoration: none; color: var(--text); padding: 6px 0; position: relative;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--text-strong); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--text-strong); }
.nav-toggle span { display: block; width: 24px; height: 1px; background: currentColor; margin: 6px 0; transition: transform 300ms var(--ease), opacity 200ms; }

/* ---------- Footer (Phase 2) ---------- */
.site-footer { position: relative; background: var(--ink-0); border-top: 1px solid var(--line); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 50%; width: 120px; height: 1px; background: var(--gold); transform: translateX(-50%); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(40px, 5vw, 64px); align-items: start; }
.footer-name { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.14em; color: var(--text-strong); text-decoration: none; }
.footer-tag { margin: 10px 0 0; font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted); }
.footer-col h2 { font-family: var(--sans); font-weight: 500; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-nav a, .footer-email { color: var(--text); text-decoration: none; font-size: var(--fs-small); transition: color 200ms; }
.footer-nav a:hover, .footer-email:hover { color: var(--gold); }
.footer-email { display: inline-block; margin-bottom: 18px; border-bottom: 1px solid var(--gold-soft); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .wrap { padding-top: 22px; padding-bottom: 22px; }
.footer-copy { font-size: 0.8125rem; color: var(--text-muted); margin: 0; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; justify-items: center; align-items: start; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: -6% 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 62%; }
@media (max-width: 700px) { .hero-media img { object-position: 25% 40%; } .hero-inner { padding-top: 64px; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(19,19,19,0) 0%, rgba(19,19,19,0.35) 60%, rgba(19,19,19,0.8) 100%),
    linear-gradient(to bottom, rgba(19,19,19,0.85) 0%, rgba(19,19,19,0.35) 32%, rgba(19,19,19,0.05) 55%, rgba(19,19,19,0.85) 100%); }
.hero-inner { text-align: center; padding: 0 var(--gutter); display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2vw, 24px); padding-top: clamp(120px, 15vh, 170px); }
.hero-tag { font-family: var(--sans); font-weight: 500; font-size: clamp(0.72rem, 1.2vw, 0.9rem); letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-strong); display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4em 1.6em; }
.hero-tag span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); vertical-align: middle; margin-right: 1.6em; transform: translateY(-2px); }
.hero .btn { margin-top: clamp(8px, 1.6vw, 18px); }
.hero-cue { position: absolute; bottom: 28px; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translateX(-50%); pointer-events: none; text-decoration: none; color: var(--text-muted); font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; }
.hero-cue::after { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 30% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Home: names line (Phase 3) ---------- */
.names { background: var(--ink-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 56px) 0; text-align: center; }
.names .label { display: block; margin-bottom: 18px; }
.names ul { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.4; color: var(--text-strong); }
.names li { white-space: nowrap; }
.names ul + ul { margin-top: 6px; }
.names li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); vertical-align: middle; margin: 0 clamp(14px, 2vw, 26px); transform: translateY(-2px); }

/* ---------- Portrait that melts into the page (William Ross treatment) ---------- */
.glow { position: relative; isolation: isolate; overflow: hidden; }
.glow::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--ink-0); }
.portrait-melt { position: relative; margin: 0; }
.portrait-melt img {
  width: 100%; height: auto; display: block;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 50%, rgba(0,0,0,0.5) 72%, transparent 95%),
                      linear-gradient(to right, transparent 0%, #000 26%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 50%, rgba(0,0,0,0.5) 72%, transparent 95%),
              linear-gradient(to right, transparent 0%, #000 26%, #000 74%, transparent 100%);
  mask-composite: intersect;
}
.bio-teaser { padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 8vw, 110px); }
.bio-teaser .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 0; align-items: center; }
.bio-teaser .portrait-melt { max-width: 640px; justify-self: end; width: 100%; margin-right: -9%; }
.bio-teaser .copy { max-width: 36rem; position: relative; z-index: 1; }
.bio-teaser .copy .label { display: block; margin-bottom: 22px; }
.bio-teaser .copy p:first-of-type { font-family: var(--serif); font-size: var(--fs-lede); line-height: 1.5; color: var(--text-strong); letter-spacing: 0; }
.text-link { display: inline-flex; align-items: center; gap: 14px; color: var(--text-strong); text-decoration: none; font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--gold); transition: color 200ms, gap 300ms var(--ease); }
.text-link:hover { color: var(--gold); gap: 20px; }
.text-link .arrow { width: 22px; height: 1px; background: currentColor; position: relative; }
.text-link .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

/* ---------- Home: three disciplines ---------- */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.role { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; color: var(--text-strong); background: #000; isolation: isolate; }
.role img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.01); transition: transform 1200ms var(--ease), filter 600ms var(--ease); filter: brightness(0.82); }
.role::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(19,19,19,0) 35%, rgba(19,19,19,0.55) 62%, rgba(19,19,19,0.95) 100%); }
.role::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(241,237,226,0); transition: border-color 500ms var(--ease); pointer-events: none; }
.role:hover img { transform: scale(1.05); filter: brightness(0.95); }
.role:hover::after { border-color: rgba(198,161,91,0.55); }
.role-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; }
.role-num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); }
.role .role-title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.05; }
.role .text-link { align-self: flex-start; border-bottom-color: var(--gold-soft); }
.role:hover .text-link { color: var(--gold); gap: 20px; }

/* ---------- Home: featured video ---------- */
.feature { max-width: 64rem; margin: 0 auto; }
.feature-player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border: 1px solid var(--line); }
.feature-player > button { all: unset; position: absolute; inset: 0; cursor: pointer; }
.feature-player img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 400ms var(--ease), transform 1200ms var(--ease); }
.feature-player:hover img { opacity: 1; transform: scale(1.015); }
.feature-player .play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 1px solid rgba(241,237,226,0.85); background: rgba(19,19,19,0.35); display: grid; place-items: center; transition: background 250ms, border-color 250ms; }
.feature-player .play::before { content: ""; margin-left: 6px; border-left: 20px solid var(--text-strong); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.feature-player:hover .play { background: var(--gold); border-color: var(--gold); }
.feature-player:hover .play::before { border-left-color: var(--ink-0); }
.feature-player video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.feature-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.feature-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }

/* ---------- Home: selected charts ---------- */
.chart-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.chart-grid .card { width: 100%; }
.chart-grid .card-foot { margin-top: auto; padding-top: 14px; }
.section-foot { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }

/* ---------- Home: closing call to action ---------- */
.cta-band { position: relative; min-height: clamp(420px, 56vw, 640px); display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.cta-band > img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 80% 60%; z-index: -2; will-change: transform; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(19,19,19,0.55) 0%, rgba(19,19,19,0.85) 70%), linear-gradient(to bottom, var(--ink-0) 0%, rgba(19,19,19,0) 18%, rgba(19,19,19,0) 82%, var(--ink-0) 100%); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0 var(--gutter); }
.cta-inner .email { color: var(--text); text-decoration: none; font-size: var(--fs-small); letter-spacing: 0.04em; border-bottom: 1px solid var(--gold-soft); }
.cta-inner .email:hover { color: var(--gold); }

/* ---------- About ---------- */
.bio { padding: clamp(56px, 8vw, 112px) 0 calc(var(--section) * 0.75); }
.bio .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; align-items: start; }
.bio-side { position: sticky; top: 110px; }
.bio-side .portrait-melt { max-width: 640px; margin-left: auto; margin-right: -10%; }
.bio-body { max-width: 38rem; position: relative; z-index: 1; padding-top: clamp(24px, 6vw, 96px); }
.bio-body > .label { display: block; margin: 8px 0 26px; }
.bio-body > p:first-of-type { font-family: var(--serif); font-size: var(--fs-lede); line-height: 1.5; color: var(--text-strong); letter-spacing: 0; }
.bio-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 18px; }
.bio-actions .stamp { font-size: var(--fs-small); color: var(--text-muted); margin: 0; }
.band { position: relative; height: clamp(320px, 62vw, 760px); overflow: hidden; }
.band img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }

/* ---------- Media ---------- */
.video-feature { margin: 0 auto clamp(56px, 8vw, 96px); max-width: 64rem; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 40px); }
.video-grid > .video-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(10px, 1.5vw, 20px)); }
.video-meta { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.video-meta .h3 { font-weight: 400; }
.video-meta .h2 { font-weight: 300; }
.video-meta .year { font-family: var(--serif); font-style: italic; font-size: 0.8em; color: var(--text-muted); white-space: nowrap; }
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border: 1px solid var(--line); }
.yt button { all: unset; position: absolute; inset: 0; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: opacity 300ms var(--ease), transform 900ms var(--ease); }
.yt:hover img { opacity: 1; transform: scale(1.02); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; border: 1px solid rgba(241,237,226,0.8); background: rgba(19,19,19,0.35); display: grid; place-items: center; transition: background 250ms, border-color 250ms; }
.yt .play::before { content: ""; margin-left: 5px; border-left: 16px solid var(--text-strong); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.yt:hover .play { background: var(--gold); border-color: var(--gold); }
.yt:hover .play::before { border-left-color: var(--ink-0); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Music ---------- */
.reel { position: relative; max-width: 61.25rem; margin: 0 auto; }
.reel video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; border: 1px solid var(--line); }
.reel figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.card {
  width: 100%; background: var(--cream); color: var(--on-cream); border-radius: var(--radius);
  padding: 26px 28px 24px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 24px 48px -32px rgba(0,0,0,0.8);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 32px 56px -30px rgba(0,0,0,0.9); }
.card .label { color: var(--bronze); }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h3); line-height: 1.2; color: var(--on-cream); }
.card .instr { font-family: var(--sans); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-cream-muted); line-height: 1.7; }
.card-foot { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.card-foot > img { width: 64px; height: 64px; object-fit: cover; flex: none; }
.card-link { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-cream); text-decoration: none; border-bottom: 1px solid var(--bronze); padding-bottom: 2px; }
.card-link:hover { color: var(--bronze); }
.player { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.player button { all: unset; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; background: var(--on-cream); display: grid; place-items: center; flex: none; }
.player button:focus-visible { outline: 1px solid var(--bronze); outline-offset: 3px; }
.player button::before { content: ""; margin-left: 3px; border-left: 11px solid var(--cream); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.player.is-playing button::before { margin-left: 0; width: 10px; height: 12px; border: 0; border-left: 3px solid var(--cream); border-right: 3px solid var(--cream); box-sizing: border-box; }
.player-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.player-title { font-size: var(--fs-small); color: var(--on-cream); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-title span { color: var(--on-cream-muted); }
.player-row { display: flex; align-items: center; gap: 10px; }
.player-bar { position: relative; flex: 1; height: 2px; background: rgba(29,29,32,0.18); cursor: pointer; }
.player-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--on-cream); }
.player-time { font-size: 0.6875rem; color: var(--on-cream-muted); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.divider { border: 0; height: 1px; background: var(--line); margin: 0; }

/* ---------- Contact ---------- */
.social { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.social a { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--text); transition: border-color 250ms, color 250ms, background 250ms; }
.social a:hover { border-color: var(--gold); color: var(--ink-0); background: var(--gold); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.contact { padding: clamp(56px, 8vw, 112px) 0 var(--section); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info .lede { margin: 0; max-width: 28rem; }
.contact-block { display: flex; flex-direction: column; gap: 12px; }
.contact-block .label { margin: 0; }
.contact-info a.email { color: var(--text-strong); text-decoration: none; font-size: 1.05rem; border-bottom: 1px solid var(--gold); align-self: flex-start; padding-bottom: 2px; }
.contact-info a.email:hover { color: var(--gold); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; background: var(--ink-1); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field textarea {
  font: inherit; color: var(--on-cream); background: var(--cream); border: 1px solid var(--cream);
  border-radius: var(--radius); padding: 13px 14px; transition: border-color 200ms, box-shadow 200ms;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: var(--fs-small); color: var(--text-muted); margin: 0; }
.form-note.is-error { color: #E8A39A; }
.form-note a { color: var(--gold); }
.field .error { margin: 0; font-size: 0.8125rem; color: #E8A39A; min-height: 0; }
.field .error:empty { display: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #E8A39A; box-shadow: 0 0 0 1px #E8A39A; }
.form-done { background: var(--ink-1); border: 1px solid var(--line); padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 10px; }
.form-done h2 { font-family: var(--serif); font-weight: 400; color: var(--text-strong); }
.form-done p { margin: 0; color: var(--text); }

/* ---------- Inner page intro ---------- */
.page-intro { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.page-intro .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.page-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: 0.01em; color: var(--text-strong); margin: 0; }
.contact-info .page-title { text-align: left; }

/* ---------- Music page ---------- */
.jump { margin: clamp(40px, 5vw, 56px) auto 0; }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.jump a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); text-decoration: none; font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; transition: border-color 200ms, color 200ms, background 200ms; }
.jump a:hover { border-color: var(--gold); color: var(--gold); }
.music-group { scroll-margin-top: 80px; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 18px; margin-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.card-grid .card-foot { margin-top: auto; padding-top: 14px; }
.card { min-height: 100%; }

/* ---------- About page ---------- */
.bio-more > p:first-of-type { margin-top: 0; }
.bio-more .bio-actions { align-items: flex-start; }
.collab { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.collab-col .label { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.collab-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; color: var(--text-strong); }
.collab-col:first-child ul { grid-template-columns: 1fr 1fr; column-gap: 28px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .brand-tag, .brand-slash { display: none; }
  .chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-grid .card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .site-header .wrap, .site-header.is-solid .wrap { min-height: 64px; }
  .site-header.is-overlay .nav { top: 64px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .bio-teaser .wrap, .bio .wrap { grid-template-columns: minmax(0, 1fr); }
  .bio-teaser .portrait-melt, .bio-side .portrait-melt { justify-self: center; margin: 0 auto -14%; max-width: 480px; }
  .bio-body { padding-top: 0; }
  .bio-side { position: static; }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .role { aspect-ratio: 4 / 3; }
  .role img { object-position: 50% 30%; }
  .chart-grid { grid-template-columns: minmax(0, 1fr); }
  .chart-grid .card:last-child { grid-column: auto; }
  .names ul { flex-direction: column; gap: 4px; }
  .names ul + ul { margin-top: 4px; }
  .names li + li::before { display: none; }
  .cta-inner .btn { letter-spacing: 0.14em; padding: 1.05em 1.3em; white-space: nowrap; font-size: 0.6875rem; }
  .brand-name, .brand-slash { font-size: 1.6rem; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 64px 0 auto 0; background: var(--ink-1); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 250ms var(--ease), transform 250ms var(--ease), visibility 0s 250ms; }
  .nav.open { opacity: 1; transform: none; visibility: visible; transition: opacity 250ms var(--ease), transform 250ms var(--ease); }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav a { display: block; padding: 14px 0; font-size: 0.8125rem; border-bottom: 1px solid var(--line); }
  .nav li:last-child a { border-bottom: 0; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--gold); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .video-grid { grid-template-columns: minmax(0, 1fr); }
  .video-grid > .video-card:last-child:nth-child(odd) { width: 100%; }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .collab { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .footer-name { font-size: 1.3rem; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-tag { flex-direction: column; gap: 0.5em; }
  .hero-tag span + span::before { display: none; }
  .card { padding: 22px 20px 20px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
