/* Layout: a dark cinematic band for Highlights, a hard break, then the
   paper "contents page" for Work. One side rail tracks position. */
:root {
  --paper: #ecebe6;
  --paper-2: #e2e0d9;
  --ink: #0d0d0c;
  --ink-2: #1a1918;
  --mute: #85827a;
  --mute-dark: #8d8a83;
  --rule: rgba(13, 13, 12, .18);
  --rule-dark: rgba(236, 235, 230, .16);
  --accent: #8e1c14;

  --f-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gut: max(16px, min(2.2vw, 32px));
  --gut-l: max(16px, env(safe-area-inset-left, 0px), min(2.2vw, 32px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px), min(2.2vw, 32px));
  --rail-w: 84px;
  --mast-h: 72px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: var(--mast-h); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.display { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: .86; letter-spacing: -.01em; }
.serif-i { font-family: var(--f-serif); font-style: italic; text-transform: none; letter-spacing: 0; }
.kicker { display: block; color: var(--mute); margin-bottom: 14px; }

/* ---------- grain + cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  border: 1px solid var(--paper); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .3s;
}
.cursor span { font: 10px/1 var(--f-mono); text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-big { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: var(--paper); }
.cursor.is-big span { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--gut) var(--gut-r) var(--gut) var(--gut-l);
  transition: transform 1.1s var(--ease);
}
.loader.is-done { transform: translateY(-100%); }
.loader__name {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif); font-style: italic; font-size: clamp(90px, 22vw, 340px); line-height: 1;
}
.loader__name span { display: inline-block; opacity: 0; transform: translateY(40%); transition: opacity .6s, transform .9s var(--ease-out); }
.loader__name span.in { opacity: 1; transform: none; }
.loader__meta { display: flex; justify-content: space-between; align-items: flex-end; font: 11px var(--f-mono); text-transform: uppercase; }
.loader__count { font-family: var(--f-display); font-size: clamp(40px, 7vw, 96px); line-height: .8; }

/* ---------- masthead ---------- */
.mast {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: calc(var(--mast-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gut-r) 0 var(--gut-l);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(8px);
  transition: background .5s, color .5s, border-color .5s;
}
/* masthead turns dark while over the Highlights band */
body[data-view="index"]:not(.in-work) .mast { background: color-mix(in srgb, var(--ink) 86%, transparent); color: var(--paper); border-color: var(--rule-dark); }
body[data-view="index"]:not(.in-work) .mast__nav a::after { background: var(--paper); }
.mast__brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mast__alias { font: italic 34px/1 var(--f-serif); }
.mast__sub { opacity: .6; font-size: 10px; line-height: 1.35; }
.mast__nav { display: flex; gap: clamp(14px, 2.4vw, 40px); }
.mast__nav a { position: relative; padding: 4px 0; white-space: nowrap; }
.mast__nav a i { font-style: normal; opacity: .5; margin-right: 6px; font-size: 9px; vertical-align: top; }
.mast__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.mast__nav a:hover::after, .mast__nav a.is-on::after { transform: scaleX(1); transform-origin: left; }
.mast__meta { justify-self: end; display: flex; gap: 18px; }
#clock { font-variant-numeric: tabular-nums; }

/* ---------- views ---------- */
.view { display: none; }
body[data-view="index"] .view--index,
body[data-view="about"] .view--about,
body[data-view="contact"] .view--contact { display: block; animation: viewIn .9s var(--ease-out) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- side rail ---------- */
.rail {
  position: fixed; z-index: 45; top: 50%; left: var(--gut-l); transform: translateY(-50%);
  display: none; flex-direction: column; gap: 10px; padding-left: 12px;
  color: var(--paper); mix-blend-mode: difference;
}
body[data-view="index"] .rail { display: flex; }
.rail__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .25); }
.rail__fill b { position: absolute; inset: 0; background: currentColor; transform-origin: top; transform: scaleY(0); }
.rail__mark { display: flex; align-items: center; gap: 10px; text-align: left; color: inherit; }
.rail__mark i { width: 10px; height: 1px; background: currentColor; opacity: .45; transition: width .5s var(--ease-out), opacity .3s; }
.rail__mark.is-section { margin-top: 10px; }
.rail__mark.is-section i { height: 3px; }
.rail__mark em { font-style: normal; font-size: 10px; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease-out); white-space: nowrap; }
.rail__mark.is-on i { width: 34px; opacity: 1; }
.rail:hover .rail__mark em { opacity: 1; transform: none; }
.rail:hover { mix-blend-mode: normal; color: var(--paper); }
.rail:hover::before { content: ""; position: absolute; inset: -14px -18px -14px -10px; background: var(--ink); z-index: -1; }
.rail:hover .rail__mark:not(.is-on) em { opacity: .5; }

/* ---------- 01 — HIGHLIGHTS ---------- */
.hl {
  background: var(--ink); color: var(--paper);
  padding: calc(var(--mast-h) + 56px) var(--gut-r) 120px calc(var(--gut-l) + var(--rail-w));
}
.hl .kicker { color: var(--mute-dark); }
.hl__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 32px; border-bottom: 1px solid var(--rule-dark); padding-bottom: 18px; margin-bottom: 64px; }
.hl__head .kicker { grid-column: 1 / -1; }
.hl__title { font-size: clamp(80px, 16vw, 260px); }
.hl__hint { color: var(--mute-dark); max-width: 26ch; text-align: right; padding-bottom: 8px; }
.hl__list { display: flex; flex-direction: column; gap: clamp(72px, 12vw, 160px); }

.hcard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 1240px; width: 100%; margin: 0 auto; }
.hcard__media {
  position: relative; display: block; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden;
  background: var(--ink-2); isolation: isolate;
}
.hcard__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out), filter .8s, opacity .8s; }
.hcard__media:hover .hcard__thumb { transform: scale(1.02); }
.hcard__plate { position: absolute; inset: 0; display: none; place-items: center; padding: 6%; text-align: center; font-size: clamp(48px, 9vw, 150px); line-height: .9; color: var(--paper); }
.hcard.no-thumb .hcard__plate { display: grid; }
.hcard__player { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .8s; pointer-events: none; }
.hcard__player iframe, .hcard__player > div { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%) scale(1.2); border: 0; }
.hcard.is-playing .hcard__player { opacity: 1; }
/* 9:16 reels: upright cover over a blurred copy of itself */
.hcard.is-vertical .hcard__media::before { content: ""; position: absolute; inset: -40px; background: var(--bg) center / cover; filter: blur(32px) brightness(.55); }
.hcard.is-vertical .hcard__thumb { object-fit: contain; }
.hcard.is-external .hcard__state { opacity: 1; }
.hcard.is-drift .hcard__thumb { transform: scale(1.12); transition: transform 8s linear; }

.hcard__artist {
  position: absolute; z-index: 2; left: 0; right: 0; top: 0; padding: 3% 3.5% 0;
  font-size: clamp(44px, 9.4vw, 150px); color: var(--paper); mix-blend-mode: difference;
  overflow-wrap: break-word; pointer-events: none;
}
.hcard__no, .hcard__state { position: absolute; z-index: 2; bottom: 14px; color: var(--paper); mix-blend-mode: difference; }
.hcard__no { left: 3.5%; }
.hcard__state { right: 3.5%; opacity: 0; transition: opacity .4s; }
.hcard.is-hold .hcard__state, .hcard.no-thumb .hcard__state { opacity: 1; }
.hcard__bar { position: absolute; z-index: 3; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hcard.is-hold .hcard__bar { animation: hold var(--hold, 2500ms) linear forwards; }
@keyframes hold { to { transform: scaleX(1); } }

.hcard__end {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px;
  background: var(--ink-2); color: var(--paper); text-align: center; padding: 6%; box-shadow: inset 0 0 0 1px var(--rule-dark);
  opacity: 0; pointer-events: none; transition: opacity .8s;
}
.hcard__end b { font-size: clamp(56px, 12vw, 200px); font-variant-numeric: tabular-nums; }
.hcard__end em { font-style: normal; margin-top: 18px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.hcard.is-end .hcard__end { opacity: 1; }
.hcard.is-end .hcard__artist { opacity: 0; }
.hcard.is-playing .hcard__artist, .hcard.is-playing .hcard__no { mix-blend-mode: normal; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }

.hcard__cap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 16px; border-top: 1px solid var(--rule-dark); padding-top: 14px; }
.hcard__role { color: var(--paper); }
.hcard__title { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 400; text-align: center; }
.hcard__title .mono { color: var(--mute-dark); }
.hcard__title .serif-i { font-size: clamp(32px, 4.4vw, 64px); line-height: 1; text-wrap: balance; }
.hcard__meta { color: var(--mute-dark); text-align: right; }

.hcard__extra { justify-self: end; width: min(420px, 100%); margin-top: 18px; display: grid; gap: 8px; }
.hcard__extra img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hcard__extra figcaption { color: var(--mute-dark); }

/* ---------- the break between Highlights and Work ---------- */
.work__break { background: var(--paper); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; padding: 6px 0; }
.work__break .marquee span { color: var(--ink); font-size: clamp(56px, 9vw, 140px); }

/* ---------- 02 — WORK ---------- */
.work { background: var(--paper); }
.work__inner { padding: 56px var(--gut-r) 140px calc(var(--gut-l) + var(--rail-w)); }
.page { padding: calc(var(--mast-h) + 56px) var(--gut-r) 120px var(--gut-l); }
.page__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 32px; border-bottom: 1px solid var(--ink); padding-bottom: 18px; }
.page__head .kicker { grid-column: 1 / -1; }
.page__title { font-size: clamp(80px, 16vw, 260px); }
.page__lede { font-size: 24px; max-width: 20ch; text-align: right; line-height: 1.05; padding-bottom: 10px; }

.filters { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.filters button { opacity: .45; transition: opacity .3s; text-transform: uppercase; }
.filters button sup { font-size: 9px; margin-left: 3px; }
.filters button:hover, .filters button.is-on { opacity: 1; }
.filters button.is-on { text-decoration: underline; text-underline-offset: 4px; }

.row {
  display: grid; grid-template-columns: 56px minmax(0, 2.2fr) minmax(0, 2fr) minmax(0, 1.4fr) 56px 64px; gap: 16px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--rule); position: relative; isolation: isolate;
}
.row > span { min-width: 0; overflow-wrap: anywhere; }
.row--head { color: var(--mute); padding: 12px 0; }
.row--head button { text-align: left; text-transform: uppercase; color: inherit; letter-spacing: inherit; }
.row--head button.is-sorted { color: var(--ink); }
.row--head button.is-sorted::after { content: " ↓"; }
.row--head button.is-sorted.is-asc::after { content: " ↑"; }
.col-views { text-align: right; font-variant-numeric: tabular-nums; }
.row--head .col-views { text-align: right; }
.row:not(.row--head) { transition: padding .4s var(--ease-out), color .2s; }
.row.has-link::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease-out); z-index: -1; }
.row.has-link:hover { color: var(--paper); padding-left: 10px; }
.row.has-link:hover::before { transform: scaleY(1); }
.row.no-link { color: color-mix(in srgb, var(--ink) 55%, var(--paper)); }
.row__artist { font-family: var(--f-serif); font-size: 22px; text-transform: none; letter-spacing: 0; line-height: 1; }
.row--group { margin-top: 36px; border-bottom: 1px solid var(--ink); align-items: end; padding-bottom: 8px; }
.row--group .display { font-size: clamp(32px, 3.6vw, 52px); line-height: .9; }
.row--group .mono { color: var(--mute); }
#rows .row { animation: rowIn .6s var(--ease-out) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } }

.peek {
  position: fixed; left: 0; top: 0; z-index: 60; width: 380px; max-width: 70vw; aspect-ratio: 16/9;
  pointer-events: none; opacity: 0; overflow: hidden; background: var(--ink);
  transition: opacity .25s;
}
.peek.is-on { opacity: 1; }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 8s linear; }
.peek.is-drift img { transform: scale(1.15); }
.peek__player { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.peek__player iframe, .peek__player > div { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%) scale(1.2); border: 0; }
.peek.is-playing .peek__player { opacity: 1; }
.peek__end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--ink); color: var(--paper); opacity: 0; transition: opacity .5s; }
.peek__end b { font: 400 44px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.peek__end span { font: 10px var(--f-mono); text-transform: uppercase; letter-spacing: .04em; }
.peek.is-end .peek__end { opacity: 1; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gut) calc(var(--gut) * 2); }
.about > * { min-width: 0; }
.about__title { font: italic clamp(110px, 18vw, 300px)/.8 var(--f-serif); font-weight: 400; margin: 0 0 32px -0.04em; }
.about__plate img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(1); }
.about__plate figcaption { margin-top: 8px; color: var(--mute); }
.about__right { padding-top: clamp(40px, 12vw, 200px); }
.about__text p { font-family: var(--f-serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.18; margin-bottom: 1em; text-indent: 3em; max-width: 36em; }
.about__text p:first-child { text-indent: 0; }
.about__text p:first-child::first-letter { font-family: var(--f-display); float: left; font-size: 4.4em; line-height: .78; margin: .06em .1em 0 0; }
.about__quote { font-size: clamp(36px, 4.4vw, 68px); line-height: 1; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 28px 0; margin: 40px 0; text-wrap: balance; }
.about__quote::before { content: "“"; color: var(--accent); }
.about__quote::after { content: "”"; color: var(--accent); }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gut); }
.about__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.about__facts span { color: var(--mute); }
.about__facts b { font-weight: 400; text-align: right; }

/* ---------- contact ---------- */
.contact {
  display: grid; min-height: 100vh; padding-top: var(--mast-h);
  grid-template-columns: 2.2fr 1fr; grid-template-rows: minmax(110px, 1fr) auto 3fr minmax(140px, 1fr);
  grid-template-areas: "loc photo" "strip photo" "big photo" "marq sign";
}
.contact__cell { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: var(--gut) var(--gut-r) var(--gut) var(--gut-l); min-width: 0; }
.contact__loc { grid-area: loc; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.contact__strip { grid-area: strip; display: grid; grid-template-columns: 1fr auto auto; gap: 32px; padding-top: 12px; padding-bottom: 12px; }
.contact__strip > span:empty { display: none; }
.contact__big { grid-area: big; display: flex; flex-direction: column; justify-content: center; }
.contact__big h1 { font-size: clamp(60px, 9.5vw, 170px); }
.contact__big h1 .serif-i { font-size: 1.05em; line-height: .8; }
.contact__email { font-size: clamp(26px, 3.4vw, 54px); margin-top: 28px; align-self: flex-start; border-bottom: 1px solid var(--ink); line-height: 1.05; overflow-wrap: anywhere; user-select: all; }
.contact__email:hover { color: var(--accent); border-color: var(--accent); }
.contact__socials { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.contact__socials a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__photo { grid-area: photo; position: relative; padding: 0; overflow: hidden; background: var(--ink); }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.contact__photo button { position: absolute; left: var(--gut); bottom: var(--gut); color: var(--paper); mix-blend-mode: difference; }
.contact__marquee { grid-area: marq; padding: 0; overflow: hidden; background: var(--ink); color: var(--paper); display: flex; align-items: center; }
.marquee { display: flex; width: max-content; white-space: nowrap; animation: marq 40s linear infinite; }
.marquee span { font-family: var(--f-display); font-size: clamp(48px, 7vw, 110px); text-transform: uppercase; padding-right: .4em; line-height: 1.1; }
.marquee span:nth-child(even) { font-family: var(--f-serif); font-style: italic; text-transform: none; }
@keyframes marq { to { transform: translateX(-50%); } }
.contact__sign { grid-area: sign; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; }
.contact__sign .serif-i { font-size: 44px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  :root { --mast-h: 96px; --rail-w: 22px; }
  .mast { grid-template-columns: 1fr auto; grid-template-rows: auto auto; row-gap: 10px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); padding-bottom: 12px; }
  .mast__nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
  .mast__brand { flex-direction: column; align-items: flex-start; gap: 2px; grid-column: 1 / -1; }
  .mast__sub { font-size: 9px; white-space: normal; }
  .mast__meta { display: none; }
  :root { --mast-h: 112px; }
  .rail { left: max(6px, env(safe-area-inset-left, 0px)); padding-left: 6px; gap: 8px; }
  .rail__mark em { display: none; }
  .rail__mark i { width: 6px; }
  .rail__mark.is-on i { width: 12px; }
  .hl__head, .page__head { grid-template-columns: 1fr; }
  .hl__hint, .page__lede { text-align: left; }
  .hl__head { margin-bottom: 40px; }
  .hcard__cap { grid-template-columns: 1fr; gap: 6px; }
  .hcard__title { text-align: left; }
  .hcard__meta { text-align: left; }
  .hcard__extra { justify-self: stretch; }
  .row { grid-template-columns: 34px minmax(0, 1fr) 40px 40px; gap: 10px; }
  .row > :nth-child(3), .row > :nth-child(4) { display: none; }
  .row__sub { display: block; color: var(--mute); font-size: 10px; margin-top: 4px; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .04em; }
  .row.has-link:hover .row__sub { color: inherit; }
  .hcard__title { align-items: flex-start; text-align: left; }
  .about { grid-template-columns: 1fr; }
  .about__right { padding-top: 0; }
  .about__facts { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "loc" "strip" "big" "photo" "marq" "sign"; }
  .contact__photo { aspect-ratio: 4/5; }
  .contact__strip { grid-template-columns: 1fr auto; }
  .contact__strip > span:first-child { grid-column: 1 / -1; }
}
@media (min-width: 901px) { .row__sub { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==================================================================
   SERIF EDITION — high-contrast serif + script capitals
   (overrides everything above)
   ================================================================== */
:root {
  --f-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --f-serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --f-mono: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --f-script: "Pinyon Script", "Snell Roundhand", cursive;
  --paper: #ece7dd;
  --ink: #121110;
  --ink-2: #1c1a18;
}
.mono { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; font-weight: 400; }
.display { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; line-height: .92; font-optical-sizing: auto; }
.serif-i { font-family: var(--f-serif); font-style: italic; font-weight: 400; }

/* script capital: the first letter of each word in a headline */
.sw {
  font-family: var(--f-script); font-style: normal; font-weight: 400;
  text-transform: none; letter-spacing: 0;
  font-size: 1.32em; line-height: 0;
  margin-right: .14em; padding-left: .02em; position: relative; top: .06em;
}
.sww { white-space: nowrap;
}

/* names in script */
.mast__alias, .loader__name, .contact__sign .serif-i { font-family: var(--f-script); font-style: normal; }
.mast__alias { font-size: 38px; }
.loader__name { font-size: clamp(110px, 24vw, 360px); }
.loader__count { font-family: var(--f-display); }

/* headline sizes re-tuned for a wider serif */
.hl__title { font-size: clamp(56px, 10.5vw, 176px); }
.page__title { font-size: clamp(110px, 20vw, 320px); text-transform: none; letter-spacing: -.03em; line-height: .8; }
.page__lede, .hl__hint { font-family: var(--f-mono); }
.page__lede { font-size: 13px; font-style: normal; text-transform: none; letter-spacing: .02em; line-height: 1.45; max-width: 30ch; }
.work__def { display: block; color: var(--mute); margin-top: 10px; }
.work__def i { font-family: var(--f-serif); font-size: 13px; letter-spacing: 0; text-transform: none; }

.hcard__artist { overflow-wrap: normal; font-size: clamp(36px, 6.6vw, 104px); line-height: .95; padding-top: 3.2%; }
.hcard__title .serif-i { font-size: clamp(30px, 4vw, 58px); }
.hcard__end b { font-size: clamp(48px, 9vw, 150px); letter-spacing: -.02em; }
.work__break .marquee span { font-size: clamp(48px, 7.5vw, 116px); }
.marquee span { font-size: clamp(42px, 6vw, 92px); text-transform: uppercase; }
.marquee span:nth-child(even) { font-family: var(--f-script); font-style: normal; font-size: clamp(36px, 5vw, 76px); }
.row--group .display { font-size: clamp(28px, 3vw, 44px); }
.row__artist { font-size: 21px; font-weight: 600; letter-spacing: -.005em; }
.peek__end b { font: 400 40px/1 var(--f-display); }

.about__title { font: 400 clamp(84px, 13vw, 210px)/.85 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; }
.about__title .serif-i { font-style: normal; font-family: var(--f-display); }
.about__text p { font-size: clamp(20px, 1.8vw, 27px); line-height: 1.3; }
.about__text p:first-child::first-letter { font-family: var(--f-script); font-size: 5.2em; line-height: .7; margin: .04em .08em 0 0; }
.about__quote { font-size: clamp(32px, 3.8vw, 58px); line-height: 1.08; }

.contact__big h1 { font-size: clamp(52px, 7.4vw, 132px); }
.contact__big h1 .serif-i { font-size: 1em; }
.contact__email { font-size: clamp(24px, 3vw, 46px); }
.contact__sign .serif-i { font-size: 52px; }

/* the thin vertical rule motif from the reference */
.hl__head { position: relative; }
.hcard__cap { border-top-color: rgba(236, 231, 221, .22); }

@media (max-width: 900px) {
  .hl__title { font-size: clamp(44px, 12vw, 90px); }
  .page__title { font-size: clamp(96px, 30vw, 180px); }
  .hcard__artist { font-size: clamp(26px, 8vw, 64px); }
  .about__title { font-size: clamp(64px, 18vw, 120px); }
}

/* highlight titles: one solid cream shade on every film, no blend */
.hcard__artist, .hcard.is-playing .hcard__artist {
  color: var(--paper); mix-blend-mode: normal;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45), 0 0 2px rgba(0, 0, 0, .25);
}

/* total views beside the Music heading */
.row--group .display { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; }
.grp-total { color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* script letters whose tails reach right need a little more room */
.sw[data-l="S"] { margin-right: .3em; }
.sw[data-l="L"], .sw[data-l="G"], .sw[data-l="C"] { margin-right: .2em; }

/* strip between Highlights and Work removed */
.work__break { display: none; }

/* pronunciation beside the name */
.mast__name { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.mast__say { font: 400 10px/1 var(--f-mono); letter-spacing: .08em; opacity: .55; }

/* name and title always stacked under "Alizzie" */
.mast__brand { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
.mast__alias { font-size: 34px; line-height: .9; }
.mast__sub { white-space: nowrap; }
@media (min-width: 901px) { :root { --mast-h: 96px; } }

/* every credit in full black, linked or not */
.row.no-link { color: var(--ink); }

/* Times Square billboard sits centred under its highlight */
.hcard__extra { justify-self: center; text-align: center; }

/* highlight titles fade out once the preview starts */
.hcard__artist, .hcard__no, .hcard__state { transition: opacity .6s ease; }
.hcard.is-playing .hcard__artist, .hcard.is-playing .hcard__no, .hcard.is-playing .hcard__state,
.hcard.is-drift .hcard__artist, .hcard.is-drift .hcard__no, .hcard.is-drift .hcard__state { opacity: 0; }

/* crop the YouTube frame so no player chrome shows round the edges */
.hcard__player iframe, .hcard__player > div,
.peek__player iframe, .peek__player > div { transform: translate(-50%, -50%) scale(1.55) !important; }
.hcard__player, .peek__player { pointer-events: none; }
