/* The composer: 75% private scoring studio (linen, walnut, brass), 25% majestic magic (twilight, gold dust).
   Type: DM Serif Display, classy with a wink, over Archivo. */
:root {
  --bg: #EFE7DA;          /* warm linen */
  --surface: #E4D9C7;
  --field: #F6F0E6;
  --text: #2A1F18;        /* espresso */
  --muted: #6B5B4D;
  --accent: #C9A15A;      /* brass and gold dust */
  --accent-rgb: 201, 161, 90;
  --accent-deep: #8E6328;
  --line: #CDBDA3;
  --on-dark: #F1E8DA;
  --on-dark-muted: #B8A792;
  --walnut: #2A1F18;
  --cinema: #1A1310;
  --twilight: #1D1828;    /* the 25%: a night-sky room for the featured work */

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
  --navh: 74px;
  --narrow: 62%;
  --pad: clamp(20px, 4.5vw, 72px);
  --gap: clamp(88px, 12vw, 180px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--text); }
.noscript { padding: 40px var(--pad); }

/* Fabric grain: acoustic panels and linen */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 44; pointer-events: none; opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .14 0 0 0 0 .1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dust { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 55; pointer-events: none; }

.h-serif { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; line-height: .98; font-size: clamp(46px, 5.8vw, 96px); }
.h-serif em, .chero__title em { font-style: italic; }

/* Giant condensed caps (genres keep the look from before) */
.fit, .genre__name, .viewer__title { font-stretch: var(--narrow); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; }
.fit { display: inline-block; white-space: nowrap; line-height: .86; font-size: 15vw; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  border: 1.5px solid transparent; font-weight: 650; font-size: 16px; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--dark { background: var(--text); color: var(--bg); }
.btn--dark:hover { background: #47362A; }
.btn--ghost { border-color: color-mix(in srgb, var(--text) 30%, transparent); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--gold { background: var(--accent); color: var(--text); }
.btn--gold:hover { background: #DDBB78; }

/* ===== Top bar ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  min-height: var(--navh); padding: 12px var(--pad); color: var(--text); transition: background-color .35s, border-color .35s;
  background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent;
}
.nav.is-solid { border-bottom-color: var(--line); }
.nav__left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.nav__name { font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: .86; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; padding-top: .04em; }
.nav__links { justify-self: center; display: flex; gap: clamp(22px, 2.8vw, 48px); }
.nav__links a { position: relative; padding: 10px 0; text-decoration: none; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 14px; }
@media (max-width: 1400px) { .nav__right > .navsocial .navsocial__a:nth-child(n+4) { display: none; } }
.nav__menu { display: none; }
.nav__links, .nav__name { transition: opacity .8s; }

/* ===== Music: a small record on a linen pill. Silent until asked ===== */
.music-wrap { position: relative; transform-origin: right center; transition: transform 1.1s var(--ease); }
.music {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 20px 0 8px; border-radius: 999px;
  background: #F4EDE2; border: 1px solid var(--line); color: var(--text);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 8px 24px -14px rgba(42,31,24,.45);
  transition: background-color .3s, border-color .3s, box-shadow .4s;
}
.music:hover { border-color: var(--accent-deep); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 10px 28px -12px rgba(42,31,24,.5); }
.music__text { display: grid; justify-items: start; gap: 1px; line-height: 1.05; overflow: hidden; max-width: 160px; transition: max-width .55s var(--ease), opacity .3s; }
.music__label { font-family: var(--serif); font-size: 18px; white-space: nowrap; letter-spacing: .005em; }
.music__sub { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); white-space: nowrap; }
.music__sub svg { width: 9px; height: 9px; fill: currentColor; }
.music__disc {
  position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle, var(--accent) 0 22%, #3A2B20 23% 25%, transparent 26%),
    repeating-radial-gradient(circle, #2A1F18 0 1.5px, #3A2B20 2px 2.6px);
  box-shadow: 0 2px 6px rgba(42,31,24,.35);
}
.music__disc i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 18%, rgba(255,240,210,.28) 24%, transparent 30% 68%, rgba(255,240,210,.2) 74%, transparent 80%); }
.music__disc::after { content: ""; position: absolute; inset: 46%; border-radius: 50%; background: #F4EDE2; }
/* the invitation: a soft breathing halo and a slow turn, until the visitor decides */
body:not(.music-touched) .music { animation: halo 3.2s ease-in-out infinite; }
body:not(.music-touched) .music__disc { animation: tempt 4.8s var(--ease) infinite; }
@keyframes halo { 0%, 100% { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 8px 24px -14px rgba(42,31,24,.45), 0 0 0 0 rgba(var(--accent-rgb), .0); }
  50% { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 8px 24px -14px rgba(42,31,24,.45), 0 0 0 7px rgba(var(--accent-rgb), .22), 0 0 34px 6px rgba(var(--accent-rgb), .28); } }
@keyframes tempt { 0%, 55% { transform: rotate(0); } 75% { transform: rotate(140deg); } 100% { transform: rotate(180deg); } }
/* once the score has started: only the record is left, and it opens the score card */
body.score-started .music { gap: 0; padding: 0 7px; background: var(--text); border-color: var(--text); color: var(--on-dark); }
body.score-started .music__text { max-width: 0; opacity: 0; }
body.score-started .music__disc { width: 36px; height: 36px; }
body.score-started .music__disc::after { background: var(--text); }
body.score-on .music__disc { animation: spin 2.4s linear infinite; box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .5), 0 0 16px rgba(var(--accent-rgb), .55); }
body.score-on.is-ducked .music__disc { animation-play-state: paused; box-shadow: none; }
/* pause and play: a small brass badge on the record (the volume slider's colour).
   Pops up for 2 seconds when the score starts, then only while the pointer is on the record. Stays while paused. */
.disc-pp { position: absolute; z-index: 3; left: 27px; top: calc(50% + 1px); display: grid; place-items: center; width: 24px; height: 24px; padding: 0;
  border: 2px solid var(--bg); border-radius: 50%; background: var(--accent-deep); color: #F6F0E6; box-shadow: 0 4px 12px -4px rgba(42,31,24,.6);
  opacity: 0; transform: scale(.4); pointer-events: none; visibility: hidden;
  transition: opacity .25s, transform .35s var(--ease), background-color .2s, visibility 0s .35s; }
.disc-pp svg { width: 11px; height: 11px; fill: currentColor; }
.disc-pp .i-play { display: none; }
body:not(.score-on) .disc-pp .i-play { display: block; }
body:not(.score-on) .disc-pp .i-pause { display: none; }
body.score-started.pp-peek .disc-pp, body.score-started .music-wrap:hover .disc-pp, body.score-started .disc-pp:focus-visible,
body.score-started:not(.score-on) .disc-pp { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.disc-pp:hover { background: #7A5420; transform: scale(1.12) !important; }
/* the card's own pause and play, for phones (no hover there) */
.scorecard__pp { display: none; }
@media (hover: none) {
  .scorecard__pp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin: 0 0 8px; border: 0; border-radius: 999px;
    background: var(--accent-deep); color: #F6F0E6; font-weight: 650; font-size: 14px; }
  .scorecard__pp svg { width: 14px; height: 14px; fill: currentColor; }
  .scorecard__pp .i-play { display: none; }
  body:not(.score-on) .scorecard__pp .i-play { display: block; }
  body:not(.score-on) .scorecard__pp .i-pause { display: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.music__hint {
  position: absolute; right: 0; top: calc(100% + 14px); margin: 0; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; background: var(--text); box-shadow: 0 10px 24px -12px rgba(26,19,16,.6);
  font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--on-dark);
  opacity: 0; transform: translateY(-6px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none;
}
body.is-spotlit .music__hint { opacity: 1; transform: none; }
body.is-spotlit .music-wrap { transform: scale(1.22); }
body.is-spotlit .nav__links, body.is-spotlit .nav__name { opacity: .3; }
.spotlight {
  position: fixed; inset: 0; z-index: 45; pointer-events: none; opacity: 0; transition: opacity 1s;
  background: radial-gradient(circle at var(--sx, 90%) var(--sy, 5%), rgba(var(--accent-rgb), .22) 0, rgba(26, 19, 16, 0) 140px, rgba(26, 19, 16, .62) 380px);
}
body.is-spotlit .spotlight { opacity: 1; }
.volume { display: flex; width: 0; overflow: hidden; opacity: 0; transition: width .4s var(--ease), opacity .3s; }
body.score-started .volume { width: 92px; opacity: 1; }
body.score-started:not(.score-on) .volume { opacity: .45; }
.volume input { width: 92px; height: 24px; accent-color: var(--accent-deep); }

/* ===== Hero: the photo fills the left half, the bio sits on the right ===== */
.chero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: var(--navh); }
.chero__photo { position: relative; margin: 0; min-height: calc(100svh - var(--navh)); overflow: hidden; background: var(--walnut); }
.chero__img { position: absolute; inset: 0; }
.chero__img img { object-position: 50% 28%; filter: sepia(.14) saturate(.86) contrast(1.04); transform: scale(1.06); transition: transform 2.4s var(--ease); }
.arrived .chero__img img { transform: scale(1); }
.chero__photo::after { /* warm studio grade so the photo sits in the linen palette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(42,31,24,0) 70%, rgba(42,31,24,.18)), radial-gradient(110% 80% at 40% 35%, transparent 55%, rgba(42,31,24,.32)),
    linear-gradient(0deg, rgba(201,161,90,.12), transparent 50%);
}
.js .chero__photo { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.7, 0, .2, 1) .1s; }
.arrived .chero__photo { clip-path: inset(0 0 0 0); }
.chero__text { position: relative; align-self: center; padding: clamp(48px, 7vh, 96px) clamp(28px, 5.5vw, 104px); }
.chero__text::before { /* lamp light */
  content: ""; position: absolute; z-index: -1; right: -20%; top: -20%; width: 90%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .22), transparent);
}
.chero__kicker { margin: 0 0 20px; font-size: 13px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.chero__title { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: .98; font-size: clamp(52px, 5.6vw, 104px); }
.chero__title span, .chero__title em { display: inline-block; }
.js .chero__title > * { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: .35s; }
.js .chero__title em { transition-delay: .5s; }
.arrived .chero__title > * { opacity: 1; transform: none; }
.chero__line { height: clamp(56px, 6vw, 80px); margin: 14px 0 10px; max-width: 560px; }
.chero__line { pointer-events: none; user-select: none; }
.chero__line canvas { width: 100%; height: 100%; }
.chero__bio p { margin: 0 0 1em; max-width: 50ch; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; }
.chero__bio p:first-child { font-family: var(--serif); font-size: clamp(21px, 1.6vw, 26px); line-height: 1.35; letter-spacing: -.005em; }
.facts { margin: 26px 0 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 560px; border-top: 1px solid var(--text); padding-top: 16px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; line-height: 1.35; }
.chero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Featured: a twilight room for the biggest work ===== */
.featured {
  position: relative; margin-top: var(--gap); padding: var(--gap) var(--pad); color: var(--on-dark); text-align: center; isolation: isolate; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 0%, rgba(var(--accent-rgb), .22), transparent 70%), linear-gradient(180deg, var(--walnut) 0%, var(--twilight) 55%, #15111D 100%);
}
.featured__stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .8;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #FFF3D6 50%, transparent 52%), radial-gradient(1px 1px at 28% 8%, #FFF3D6 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 44% 22%, #FFF3D6 50%, transparent 52%), radial-gradient(1px 1px at 63% 12%, #FFF3D6 50%, transparent 52%),
    radial-gradient(2px 2px at 78% 26%, #FFE3A8 50%, transparent 52%), radial-gradient(1px 1px at 90% 9%, #FFF3D6 50%, transparent 52%),
    radial-gradient(1px 1px at 8% 44%, #FFF3D6 50%, transparent 52%), radial-gradient(1.5px 1.5px at 94% 48%, #FFE3A8 50%, transparent 52%),
    radial-gradient(1px 1px at 20% 70%, #FFF3D6 50%, transparent 52%), radial-gradient(1px 1px at 84% 78%, #FFF3D6 50%, transparent 52%);
  animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .45; } to { opacity: .95; } }
.featured__label { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); }
.featured__title { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: .92; font-size: clamp(64px, 10vw, 180px); text-shadow: 0 0 60px rgba(var(--accent-rgb), .25); }
.featured__meta { margin: 18px auto 0; max-width: 60ch; color: var(--on-dark-muted); }
.featured__frame { margin: clamp(40px, 5vw, 72px) auto 0; max-width: 1240px; aspect-ratio: 21 / 9; border-radius: 16px; background: var(--cinema); box-shadow: 0 50px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(var(--accent-rgb), .25); }
.featured__note { margin: clamp(28px, 3vw, 44px) auto 0; max-width: 46ch; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; color: var(--on-dark); }

/* ===== Inline player (featured and the active carousel piece) ===== */
.player { cursor: pointer; }
.player > img, .player > video { transition: opacity .5s; }
.player > video { opacity: 0; background: #000; }
.player.is-live > video { opacity: 1; }
.player__btn {
  position: absolute; z-index: 3; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center;
  width: clamp(64px, 7vw, 96px); height: clamp(64px, 7vw, 96px); border-radius: 50%; border: 0;
  background: var(--accent); color: var(--text); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .5);
  transition: transform .35s var(--ease), opacity .3s, box-shadow .5s;
}
.player__btn svg { width: 34%; fill: currentColor; }
.player__btn .i-pause { display: none; }
.player:hover .player__btn { transform: scale(1.07); box-shadow: 0 0 0 12px rgba(var(--accent-rgb), .18); }
.player.is-playing .player__btn { opacity: 0; }
.player.is-playing:hover .player__btn { opacity: 1; }
.player.is-playing .player__btn .i-play { display: none; }
.player.is-playing .player__btn .i-pause { display: block; }
.player__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); opacity: 0; transition: opacity .3s; }
.player.is-live .player__bar { opacity: 1; }
.player__bar span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.player__note { position: absolute; z-index: 3; left: 50%; bottom: 16px; translate: -50% 0; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(26,19,16,.72); color: var(--on-dark); font-size: 14px; white-space: nowrap; }

/* ===== All work: the circular carousel ===== */
.work { padding: clamp(72px, 9vw, 140px) 0 0; --sw: min(58vw, 860px); }
.work__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; padding: 0 var(--pad); margin-bottom: clamp(36px, 4vw, 56px); }
.cats { position: relative; display: flex; flex-wrap: wrap; gap: 2px clamp(14px, 1.8vw, 26px); padding-bottom: 6px; }
.cat { position: relative; display: inline-flex; align-items: flex-start; gap: 4px; min-height: 40px; padding: 8px 0; background: none; border: 0;
  font-size: 13px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.cat__n { font-size: 10px; letter-spacing: .02em; font-weight: 600; opacity: .7; font-variant-numeric: tabular-nums; transform: translateY(-3px); }
.cat:hover, .cat[aria-pressed="true"] { color: var(--text); }
.cats__bar { position: absolute; left: 0; bottom: 6px; height: 1.5px; width: var(--bw, 0); transform: translateX(var(--bx, 0)); background: var(--accent-deep);
  transition: transform .5s var(--ease), width .5s var(--ease); pointer-events: none; }
.work .ring__stage, .work .ring__info, .work .ring__dots { transition: opacity .26s, transform .4s var(--ease); }
.work.is-filtering .ring__stage, .work.is-filtering .ring__info, .work.is-filtering .ring__dots { opacity: 0; transform: translateY(10px); }
.ring.is-single .ring__arrow { visibility: hidden; }
.ring { position: relative; outline: none; }
.ring:focus-visible .ring__stage { outline: 2px solid var(--accent); outline-offset: 8px; border-radius: 12px; }
.ring__stage { position: relative; height: calc(var(--sw) * 9 / 16); perspective: 1800px; touch-action: pan-y; }
.slide {
  position: absolute; left: 50%; top: 0; width: var(--sw); aspect-ratio: 16 / 9; border-radius: 14px; background: var(--cinema);
  transform: translateX(calc(-50% + var(--o) * var(--sw) * .6)) scale(calc(1 - var(--ao) * .2)) rotateY(calc(var(--o) * -14deg));
  opacity: calc(1 - var(--ao) * .3); filter: brightness(calc(1 - var(--ao) * .22)) saturate(calc(1 - var(--ao) * .2));
  transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease), box-shadow .9s;
  box-shadow: 0 30px 60px -30px rgba(42,31,24,.6); cursor: pointer;
}
.slide.is-far { opacity: 0; pointer-events: none; }
.slide.is-active { box-shadow: 0 50px 90px -40px rgba(42,31,24,.75), 0 0 0 1px rgba(var(--accent-rgb), .5); cursor: default; }
.slide:not(.is-active) .player__btn { opacity: 0; }
.ring__arrow {
  position: absolute; z-index: 20; top: 50%; translate: 0 -50%; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%;
  background: #F4EDE2; border: 1px solid var(--line); color: var(--text); box-shadow: 0 12px 30px -16px rgba(42,31,24,.6);
  transition: background-color .25s, color .25s, transform .35s var(--ease);
}
.ring__arrow:hover { background: var(--text); color: var(--on-dark); }
.ring__arrow--prev { left: max(var(--pad), calc(50% - var(--sw) / 2 - 31px)); }
.ring__arrow--next { right: max(var(--pad), calc(50% - var(--sw) / 2 - 31px)); }
.ring__arrow--prev:hover { transform: translateX(-3px); }
.ring__arrow--next:hover { transform: translateX(3px); }
.ring__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ring__info { position: relative; width: min(var(--sw), calc(100% - 2 * var(--pad))); margin: 32px auto 0; padding-top: 24px; border-top: 1.5px solid var(--text); text-align: left;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 6px 40px; transition: opacity .25s, transform .35s var(--ease); }
.ring__info.is-swapping { opacity: 0; transform: translateY(8px); }
.ring__count { grid-column: 1; margin: 0; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ring__medium { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.ring__title { grid-column: 1; margin: 6px 0 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1; font-size: clamp(32px, 3.2vw, 50px); }
.ring__meta { grid-column: 1; margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.ring__desc { grid-column: 2; grid-row: 1 / span 3; margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; align-self: start; }
.ring__genres { grid-column: 2; margin: 8px 0 0; font-size: 14px; color: var(--accent-deep); font-weight: 600; }
.ring__dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.ring__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.ring__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: width .4s var(--ease), background-color .3s; }
.ring__dots button[aria-current="true"]::before { width: 26px; border-radius: 99px; background: var(--text); }
.work__note { margin: 36px auto 0; padding: 0 var(--pad); max-width: 70ch; text-align: center; font-size: 14px; color: var(--muted); }

/* ===== Genres: Patricia-style centred list ===== */
.genres {
  position: relative; margin-top: var(--gap); padding: var(--gap) var(--pad); text-align: center;
  background: var(--walnut); color: var(--on-dark); isolation: isolate; overflow: hidden;
}
.genres::before { content: ""; position: absolute; inset: -10% -10% auto; height: 80%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(var(--accent-rgb), .22), transparent 70%); }
.genres__kicker { margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--accent); }
.genres__title { margin: 0 0 clamp(40px, 5vw, 72px); font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1; font-size: clamp(44px, 5vw, 80px); }
.genres__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2.4vw, 34px); justify-items: center; }
.genre { position: relative; display: inline-grid; justify-items: center; gap: 6px; padding: 0; background: none; border: 0; color: inherit; }
.genre__num { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--on-dark-muted); transition: color .3s; }
.genre__name { font-size: clamp(48px, 8vw, 132px); line-height: .86; transition: font-stretch .7s var(--ease), color .3s, text-shadow .3s; }
.genre__line { display: block; }
.genre__line.is-rising { overflow: hidden; }
.genre__line > span { display: block; }
.genre__cue { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--accent);
  opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--ease); }
.genre__cue svg { width: 14px; height: 14px; fill: currentColor; }
.genre:hover .genre__name, .genre:focus-visible .genre__name { font-stretch: 88%; color: var(--accent); text-shadow: 0 0 40px rgba(var(--accent-rgb), .45); }
.genre:hover .genre__num, .genre:focus-visible .genre__num { color: var(--accent); }
.genre:hover .genre__cue, .genre:focus-visible .genre__cue { opacity: 1; transform: none; }

/* ===== Start a project ===== */
.contact { padding: var(--gap) 0 0; }
.contact__title { margin: 0 var(--pad) clamp(32px, 5vw, 64px); overflow: hidden; line-height: .86; padding-bottom: .1em; }
.contact__grid { padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.contact__lead { margin: 0; font-size: 19px; max-width: 34ch; color: var(--muted); }
.contact__lead a { color: var(--text); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.req { color: var(--accent-deep); font-weight: 700; }
/* "Start": a brass stroke draws in underneath once, then a slow glint crosses the word every few seconds */
/* "Start": once, when the visitor arrives, a warm brass wave runs through the letters (each lifts a hair and glows),
   then the word settles back flat, the same as the rest of the title. No line, no loop. */
.start { display: inline-block; }
.start__l { display: inline-block; }
.contact__title.is-drawn .start__l { animation: start-wave 1.25s cubic-bezier(.3,.7,.3,1) calc(var(--i) * 85ms) both; }
@keyframes start-wave {
  0%   { transform: none; color: inherit; text-shadow: none; }
  38%  { transform: translateY(-.07em); color: #B8893F; text-shadow: 0 0 .32em rgba(226,186,110,.45); }
  100% { transform: none; color: inherit; text-shadow: none; }
}
.field input, .field textarea { width: 100%; padding: 13px 14px; min-height: 50px; background: var(--field); border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s, background-color .2s; }
.field input::placeholder, .field textarea::placeholder { color: #9A8A7A; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-deep); background: #F3ECE0; }
.field textarea { resize: vertical; }
.field__error { display: none; margin: 0; font-size: 14px; color: #B3261E; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B3261E; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { min-height: 40px; padding: 0 16px; background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--text); transition: color .2s, border-color .2s, background-color .2s; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.form__end { display: flex; }
.sent { padding: 32px; background: var(--field); border-radius: 10px; border-left: 3px solid var(--accent); }
.sent__title { margin: 0 0 8px; font-size: 24px; font-weight: 700; }
.sent p { max-width: 56ch; }
.sent a { color: var(--accent-deep); }

/* ===== Footer ===== */
.footer { margin-top: var(--gap); padding: clamp(64px, 8vw, 120px) var(--pad) 40px; background: var(--walnut); color: var(--on-dark); }
.footer__label { margin: 0 0 18px; color: var(--on-dark-muted); font-family: var(--serif); font-style: italic; font-size: 20px; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px clamp(24px, 4vw, 64px); }
.socials a { display: inline-block; font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; font-size: clamp(40px, 5.6vw, 96px); line-height: 1.08; text-decoration: none; transition: color .25s, transform .4s var(--ease); }

.socials.is-dock { row-gap: clamp(8px, 1.2vw, 20px); }
.footer__base { margin-top: clamp(48px, 6vw, 88px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 40px; }
.footer__email { font-size: 20px; font-weight: 600; }
.footer__email:hover, .footer__switch:hover { color: var(--accent); }
.footer__switch { font-family: var(--serif); font-style: italic; font-size: 20px; text-decoration: none; }
.footer__small { margin: 0; font-size: 14px; color: var(--on-dark-muted); max-width: 70ch; }

/* ===== Reel viewer (screening room) ===== */
.viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: clamp(16px, 3vw, 40px) var(--pad); border: 0; background: var(--cinema); color: var(--on-dark); display: none; flex-direction: column; gap: 16px; }
.viewer[open] { display: flex; animation: viewerIn .5s var(--ease); }
.viewer::backdrop { background: rgba(26, 19, 16, .85); }
@keyframes viewerIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.viewer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.viewer__title { margin: 0; font-size: clamp(32px, 4vw, 60px); line-height: .9; }
.viewer__sub { margin: 8px 0 0; color: var(--on-dark-muted); font-size: 15px; }
.viewer__screen { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; }
.viewer__screen video { width: 100%; height: 100%; object-fit: contain; }
.viewer__big { position: absolute; width: clamp(72px, 8vw, 104px); height: clamp(72px, 8vw, 104px); border-radius: 50%; border: 0; background: var(--accent); color: var(--text); display: grid; place-items: center; transition: transform .25s var(--ease), opacity .25s; }
.viewer__big svg { width: 36%; fill: currentColor; margin-left: 6%; }
.viewer__big:hover { transform: scale(1.06); }
.viewer.is-playing .viewer__big { opacity: 0; pointer-events: none; transform: scale(.9); }
.viewer__bar { display: grid; grid-template-columns: auto auto auto minmax(80px, 1fr) auto auto auto; align-items: center; gap: 14px; }
.viewer__progress { position: relative; height: 24px; cursor: pointer; }
.viewer__progress::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(242,241,236,.2); }
.viewer__progress span { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.viewer__time, .viewer__count { margin: 0; font-size: 14px; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: transparent; border: 1px solid var(--line); color: var(--text); transition: border-color .2s; }
.icon--light { border-color: rgba(242,241,236,.25); color: var(--on-dark); }
.icon--light:hover { border-color: var(--on-dark); }
.icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--play svg { fill: currentColor; stroke: none; }
.icon--play .i-pause, .viewer.is-playing .icon--play .i-play { display: none; }
.viewer.is-playing .icon--play .i-pause { display: block; }
.viewer__queue { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 12px; overflow-x: auto; scrollbar-width: thin; }
.viewer__queue button { width: 100%; padding: 0; background: none; border: 0; text-align: left; color: var(--on-dark-muted); }
.viewer__queue img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; opacity: .5; transition: opacity .2s; }
.viewer__queue button:hover img { opacity: .85; }
.viewer__queue span { display: block; margin-top: 6px; font-size: 13px; }
.viewer__queue [aria-current="true"] img { opacity: 1; outline: 2px solid var(--on-dark); outline-offset: 2px; }
.viewer__queue [aria-current="true"] span { color: var(--on-dark); }
.viewer__note { display: none; position: absolute; margin: 0; padding: 12px 18px; border-radius: 999px; background: rgba(26, 19, 16, .72); color: var(--on-dark); font-size: 15px; }
.viewer.is-novideo .viewer__note { display: block; }
.viewer.is-novideo .viewer__big { display: none; }
.preview-chip { position: fixed; left: 14px; bottom: 14px; z-index: 60; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(42, 31, 24, .82); color: var(--on-dark); font-size: 13px; pointer-events: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav { display: flex; gap: 10px; padding: 14px var(--pad); }
  .nav__left { margin-right: auto; }
  .nav__name { font-size: 27px; }
  .nav__right { gap: 8px; }
  .nav__menu { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: transparent; border: 1.5px solid currentColor; border-radius: 999px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .nav__links { position: fixed; inset: var(--navh) 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--pad) 24px; background: var(--bg); color: var(--text); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__right > .navsocial { display: none; }
  .nav__links .navsocial--menu { display: flex; flex-wrap: wrap; }
}
@media (max-width: 1000px) {
  .chero { grid-template-columns: 1fr; }
  .chero__photo { min-height: 0; height: 72svh; }
  .chero__text { padding: 44px var(--pad) 24px; }
  .contact__grid { grid-template-columns: 1fr; }
  .work { --sw: 76vw; }
  .ring__info { grid-template-columns: 1fr; }
  .ring__desc, .ring__genres { grid-column: 1; grid-row: auto; margin-top: 10px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { gap: 8px; }
  .nav__name { font-size: 25px; }
  .nav__menu { padding: 0 10px; font-size: 12px; letter-spacing: .02em; }
  .music { min-height: 44px; padding: 0 12px 0 5px; gap: 7px; }
  .music__disc { width: 28px; height: 28px; }
  .music__label { font-size: 15px; }
  .volume { display: none; }
  body.is-spotlit .music-wrap { transform: none; }
  :root { --navh: 64px; }
  .chero__photo { height: 62svh; }
  .nav__left { gap: 10px; }
  .facts { grid-template-columns: 1fr; gap: 12px; }
  .featured__frame { aspect-ratio: 16 / 10; }
  .work { --sw: 84vw; }
  .ring__arrow { top: auto; bottom: -78px; translate: 0 0; width: 54px; height: 54px; }
  .ring__arrow--prev { left: var(--pad); }
  .ring__arrow--next { right: var(--pad); }
  .ring__dots { margin-top: 24px; min-height: 54px; align-items: center; }
  .work { display: flex; flex-direction: column; }
  .ring { order: 1; } .ring__dots { order: 2; } .ring__info { order: 3; margin-top: 28px; } .work__note { order: 4; }
  .form { grid-template-columns: 1fr; }
  .viewer__bar { grid-template-columns: auto auto auto 1fr auto; }
  .viewer__progress { grid-column: 1 / -1; grid-row: 2; }
  .viewer__time { grid-row: 3; grid-column: 1 / 4; }
  .viewer__count { grid-row: 3; grid-column: 4 / 6; justify-self: end; }
  #fullscreen { grid-row: 1; grid-column: 5; justify-self: end; }
  .preview-chip { display: none; }
}
@media (max-width: 360px) {
  :root { --pad: 14px; }
  .nav__name { font-size: 23px; }
  .nav__menu { width: 44px; padding: 0; justify-content: center; font-size: 0; }
  .nav__menu::before { content: ""; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .music__label { font-size: 13px; }
  .music { padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .chero__title > * { opacity: 1; transform: none; }
}

/* ===== The score card: opens from the spinning record ===== */
.scorecard { position: fixed; inset: 0; z-index: 80; }
.scorecard__scrim { position: absolute; inset: 0; background: rgba(26,19,16,.22); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; cursor: zoom-out; }
.scorecard__card {
  position: absolute; top: var(--top, 80px); right: var(--right, 24px); width: min(300px, calc(100vw - 24px)); padding: 14px 14px 16px; border-radius: 20px;
  background: #F6F0E6; color: var(--text); border: 1px solid var(--line); box-shadow: 0 30px 70px -24px rgba(26,19,16,.55), 0 2px 0 rgba(255,255,255,.8) inset;
  transform-origin: calc(100% - 26px) -10px; opacity: 0; transform: translateY(-8px) scale(.94); transition: opacity .3s, transform .45s var(--ease); outline: none;
}
.scorecard__card::before { content: ""; position: absolute; top: -7px; right: 22px; width: 12px; height: 12px; background: #F6F0E6; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.scorecard.is-open .scorecard__scrim { opacity: 1; }
.scorecard.is-open .scorecard__card { opacity: 1; transform: none; }
.scorecard__x { position: absolute; z-index: 3; top: 22px; right: 22px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgba(26,19,16,.55); color: #F6F0E6; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s; }
.scorecard__x:hover { background: rgba(26,19,16,.8); }
.scorecard__x svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.scorecard__cover { aspect-ratio: 1; border-radius: 12px; background: var(--cinema); box-shadow: 0 14px 30px -16px rgba(26,19,16,.7); }
.scorecard__kicker { margin: 14px 2px 2px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.scorecard__title { margin: 0 2px; font-family: var(--serif); font-size: 26px; line-height: 1.05; }
.scorecard__by { margin: 4px 2px 14px; font-size: 14px; color: var(--muted); }
.scorecard__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scorecard__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line);
  text-decoration: none; font-weight: 650; font-size: 14px; transition: background-color .2s, color .2s, border-color .2s; }
.scorecard__link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.scorecard__link svg .f { fill: currentColor; stroke: none; }
#scoreSpotify:hover { background: #1DB954; border-color: #1DB954; color: #0B2914; }
#scoreYoutube:hover { background: #FF0033; border-color: #FF0033; color: #fff; }
@media (max-width: 760px) {
  .scorecard__card { right: 12px; }
  body.score-started .volume { display: none; }
}

/* phones: the score pill and the menu tighten so the name keeps its room */
@media (max-width: 760px) {
  .music__label { font-size: 15px; }
  .music__sub { font-size: 9.5px; letter-spacing: .1em; }
}
@media (max-width: 420px) {
  .nav__menu { width: 44px; padding: 0; justify-content: center; font-size: 0; }
  .nav__menu::before { content: ""; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .nav.is-open .nav__menu::before { box-shadow: none; transform: rotate(45deg); }
  .nav.is-open .nav__menu::after { content: ""; position: absolute; width: 16px; height: 2px; background: currentColor; transform: rotate(-45deg); }
  .nav__menu { position: relative; }
}
@media (max-width: 360px) {
  .music__label, .music__press { display: none; }
  .music__sub { font-size: 11px; }
}
