/* cassidydalton.com
   Era: "Somewhere Between Wild and Home". The page runs from golden hour to night as you scroll.
   Type: Big Shoulders Display (poster gothic, for song titles) + Literata (liner notes). Logo: her cover-art signature. */

@font-face { font-family: 'Big Shoulders Display'; src: url(/fonts/big-shoulders-display.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Literata'; src: url(/fonts/literata.woff2) format('woff2'); font-weight: 380 620; font-style: normal; font-display: swap; }
@font-face { font-family: 'Literata'; src: url(/fonts/literata-italic.woff2) format('woff2'); font-weight: 380 620; font-style: italic; font-display: swap; }

@property --tint { syntax: '<color>'; inherits: true; initial-value: #d9822f; }

:root {
  --night: #15182f;
  --night-2: #1c1d3a;
  --dusk: #2a2140;
  --plum: #3b2a48;
  --sun: #eba54c;
  --sun-2: #f5c78e;
  --cream: #f7eddf;
  --cream-2: #d8cbbb;
  --cream-3: #a99c94;
  --ink: #26180f;
  --line: rgba(247, 237, 223, .16);
  --line-2: rgba(247, 237, 223, .3);
  --f-gothic: 'Big Shoulders Display', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --f-serif: 'Literata', Georgia, 'Times New Roman', serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --ease: cubic-bezier(.22, .7, .18, 1);
  --top-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-height: 100vh;
  font: 400 18px/1.65 var(--f-serif);
  font-optical-sizing: auto;
  color: var(--cream);
  background:
    radial-gradient(90% 40% at 80% 0%, rgba(235, 165, 76, .16), transparent 70%),
    linear-gradient(180deg, #2b2036 0%, #221d39 26%, #1a1b36 55%, #14162c 100%);
  background-color: var(--night);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-home { background: linear-gradient(180deg, #1d1830 0, #221c38 22%, #1b1b37 50%, #15172e 78%, #111326 100%); background-color: var(--night); }
@media (max-width: 640px) { body { font-size: 17px; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgba(245, 199, 142, .55); transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--sun-2); text-decoration-color: currentColor; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--sun); color: var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */

.h-gothic {
  font: 800 clamp(64px, 10.5vw, 176px)/.82 var(--f-gothic);
  text-transform: uppercase;
  letter-spacing: .004em;
  color: var(--cream);
}
.h-gothic--xl { font-size: clamp(88px, 17vw, 260px); }
.h-serif {
  font: 400 clamp(34px, 4.4vw, 62px)/1.06 var(--f-serif);
  letter-spacing: -.018em;
  font-variation-settings: 'opsz' 40;
  text-wrap: balance;
}
.kicker { margin: 0 0 .55em; font-style: italic; font-size: 17px; color: var(--sun-2); }
.lede { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.45; font-style: italic; color: var(--cream); font-variation-settings: 'opsz' 30; }

/* ---------- signature logo ---------- */

.sig {
  display: inline-block;
  aspect-ratio: 580.8 / 193.3;
  background: currentColor;
  -webkit-mask: url(/brand/signature.svg) center / contain no-repeat;
  mask: url(/brand/signature.svg) center / contain no-repeat;
  vertical-align: middle;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 560 15.5px/1 var(--f-serif); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s, transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn--sun { background: var(--sun); color: #2b1707; }
.btn--sun:hover { background: var(--sun-2); color: #2b1707; }
.btn--line { border-color: var(--line-2); color: var(--cream); background: transparent; }
.btn--line:hover { border-color: var(--cream); color: var(--cream); }
.btn--glass { background: rgba(247, 237, 223, .12); border-color: rgba(247, 237, 223, .3); color: var(--cream); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(247, 237, 223, .22); color: var(--cream); }
.btn--play .i--pause { display: none; }
[data-state='playing'] .btn--play .i--play { display: none; }
[data-state='playing'] .btn--play .i--pause { display: block; }
[data-state='loading'] .btn--play { opacity: .8; cursor: progress; }

/* ---------- top bar ---------- */

.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top-h); color: var(--cream); transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s; }
.top__in { height: 100%; display: flex; align-items: center; gap: 28px; width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.top__brand { display: block; width: 132px; margin-right: auto; color: inherit; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.top__brand .sig { width: 100%; }
.top__nav { display: flex; gap: 26px; }
.top__nav a, .menu a { text-decoration: none; }
.top__nav a { font-size: 16px; position: relative; padding: 6px 0; }
.top__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.top__nav a:hover { color: inherit; }
.top__nav a:hover::after { transform: scaleX(1); }
.top__listen { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid currentColor; text-decoration: none; font-size: 15px; font-weight: 560; }
.top__listen .i { width: 18px; height: 18px; fill: currentColor; }
.top__listen:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.top__menu { display: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; cursor: pointer; font-size: 15px; font-weight: 560; }

.top[data-solid] { background: rgba(21, 24, 47, .8); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
/* Home, over the sky: dark ink like the signature on the cover art, logo waits for the scroll. */
.top--home:not([data-solid]) { color: var(--ink); }
.top--home:not([data-solid]) .top__brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.top--home:not([data-solid]) .top__listen:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.menu { position: fixed; inset: var(--top-h) 0 0; z-index: 49; padding: 24px var(--gutter) 40px; background: #15182f; color: var(--cream); display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a { font: 800 clamp(64px, 20vw, 96px)/.95 var(--f-gothic); text-transform: uppercase; }
.menu__links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 17px; color: var(--cream-2); }
.top[data-menu-open] { background: #15182f; color: var(--cream); }
.top[data-menu-open] .top__brand { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 760px) {
  :root { --top-h: 64px; }
  .top__nav { display: none; }
  .top__menu { display: inline-flex; align-items: center; }
  .top__in { gap: 10px; }
  .top__brand { width: 112px; }
  .top__listen { height: 40px; }
}

/* ---------- hero ---------- */

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; isolation: isolate; overflow: hidden; color: var(--cream); }
.hero__media, .hero__shade { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 28%; }
.hero__shade {
  background:
    linear-gradient(to top, #1d1830 0%, rgba(29, 24, 48, .9) 16%, rgba(29, 24, 48, .5) 36%, rgba(29, 24, 48, 0) 56%),
    linear-gradient(to bottom, rgba(247, 237, 223, .18), rgba(247, 237, 223, 0) 18%);
}
.hero__content { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 32px 56px; padding-top: 120px; padding-bottom: clamp(32px, 7vh, 80px); }
.hero__name { margin: 0; line-height: 0; }
.sig--hero { width: min(100%, 860px); color: var(--cream); filter: drop-shadow(0 3px 24px rgba(20, 14, 30, .35)); }
.hero__release { justify-self: end; width: min(100%, 600px); }
.hero__title { margin: 0 0 24px; font: 800 clamp(40px, 4.3vw, 66px)/.88 var(--f-gothic); text-transform: uppercase; letter-spacing: .005em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__img { animation: settle 2.8s var(--ease) both; }
  .js .sig--hero { animation: write 1.9s cubic-bezier(.55, .05, .25, 1) .35s both; }
  .js .hero__release { animation: rise 1s var(--ease) 1.55s both; }
}
@keyframes settle { from { transform: scale(1.07); filter: saturate(.85) brightness(1.06); } to { transform: none; filter: none; } }
@keyframes write { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% 0 -10% 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero__content { grid-template-columns: 1fr; gap: 18px; }
  .hero__release { justify-self: start; }
  .sig--hero { width: min(100%, 560px); }
  .hero__img { object-position: 52% 22%; }
  .hero__shade { background: linear-gradient(to top, #1d1830 0%, rgba(29, 24, 48, .92) 26%, rgba(29, 24, 48, .45) 50%, rgba(29, 24, 48, 0) 66%), linear-gradient(to bottom, rgba(247, 237, 223, .22), rgba(247, 237, 223, 0) 16%); }
}
@media (max-width: 520px) {
  .hero__title { font-size: 40px; margin-bottom: 18px; }
  .hero__actions .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .hero__actions .btn--sun { flex: 1 0 100%; }
  .hero__actions .btn--glass { flex: 1 1 0; }
}

/* ---------- listening room ---------- */

.room { position: relative; padding: clamp(80px, 10vw, 150px) 0 clamp(40px, 5vw, 80px); isolation: isolate; transition: --tint 1s var(--ease); }
.room::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 46% at 28% 56%, color-mix(in oklab, var(--tint) 42%, transparent), transparent 72%),
    radial-gradient(40% 40% at 82% 40%, color-mix(in oklab, var(--tint) 16%, transparent), transparent 70%);
}
.room__head { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.room__intro { margin: 0 0 .6em; max-width: 22em; text-wrap: pretty; font-style: italic; font-size: 19px; color: var(--cream-2); }
.room__stage { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(36px, 5.5vw, 96px); align-items: start; }
@media (min-width: 961px) { .deck { position: sticky; top: calc(var(--top-h) + 32px); } }
.room__side { display: grid; gap: 36px; align-content: start; }
@media (max-width: 960px) { .room__stage { grid-template-columns: 1fr; } .room__side { gap: 28px; } }

/* The turntable */
.deck { width: 100%; max-width: 760px; }
.deck__plinth {
  position: relative; aspect-ratio: 1.24; border-radius: clamp(14px, 2vw, 24px);
  background:
    linear-gradient(180deg, rgba(255, 238, 214, .1), rgba(0, 0, 0, .22)),
    repeating-linear-gradient(96deg, rgba(255, 220, 180, .045) 0 2px, rgba(0, 0, 0, .05) 2px 5px, rgba(255, 220, 180, .025) 5px 11px, rgba(0, 0, 0, .03) 11px 14px),
    linear-gradient(128deg, #84542f 0%, #5a361c 42%, #3a2212 78%, #2c190c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 210, .24),
    inset 0 -3px 0 rgba(0, 0, 0, .35),
    inset 0 0 0 1px rgba(255, 220, 180, .06),
    0 50px 90px -40px rgba(0, 0, 0, .85),
    0 22px 40px -24px rgba(0, 0, 0, .7);
}
.deck__platter {
  position: absolute; left: 5.5%; top: 50%; width: 74%; aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%;
  background: conic-gradient(from 20deg, #a5abb3, #5d636b 18%, #c7ccd3 34%, #60666e 52%, #b5bac2 70%, #575c64 86%, #a5abb3);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.deck__record {
  position: absolute; inset: 2.4%; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 18.4%, rgba(255, 255, 255, .06) 18.5% 18.9%, transparent 19% 47%, rgba(0, 0, 0, .55) 47.2% 47.9%, transparent 48.1% 63%, rgba(0, 0, 0, .55) 63.2% 63.9%, transparent 64.1% 78%, rgba(0, 0, 0, .5) 78.2% 78.8%, transparent 79% 96.5%, rgba(255, 255, 255, .07) 96.6% 97.2%, transparent 97.4%),
    repeating-radial-gradient(circle, #19191c 0 1px, #0d0d0f 1px 2.3px),
    #111114;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), 0 6px 18px rgba(0, 0, 0, .5);
  animation: spin 1.8s linear infinite paused;
  transition: transform .45s var(--ease), opacity .3s;
}
.deck__label, .song__vinyl .deck__label { position: absolute; left: 31.5%; top: 31.5%; width: 37%; height: 37%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(0, 0, 0, .4); }
.deck__hole { position: absolute; left: 50%; top: 50%; width: 2.8%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 35% 35%, #f1f2f4, #8d9198); box-shadow: 0 0 0 3px rgba(0, 0, 0, .35); }
.deck__sheen { position: absolute; inset: 4%; border-radius: 50%; pointer-events: none; background: conic-gradient(from 200deg, transparent 0 6%, rgba(255, 255, 255, .13) 11%, transparent 17% 50%, rgba(255, 255, 255, .08) 60%, transparent 66%); mix-blend-mode: screen; }
.deck__arm { position: absolute; right: 4%; top: 6%; width: 17%; overflow: visible; transform-origin: 50% 13.33%; transform: rotate(-3deg); transition: transform 1.3s var(--ease); filter: drop-shadow(-6px 10px 8px rgba(0, 0, 0, .45)); }
.arm__base { fill: #2a2b30; stroke: #8f949c; stroke-width: 2; }
.arm__collar { fill: #b9bec6; }
.arm__pin { fill: #2a2b30; }
.arm__tube { fill: none; stroke: #d3d7dd; stroke-width: 7; stroke-linecap: round; }
.arm__head { fill: #1d1e22; stroke: #9aa0a8; stroke-width: 1.5; }
.deck__speed { position: absolute; left: 4.6%; bottom: 5%; font: 700 clamp(12px, 1.2vw, 15px)/1 var(--f-gothic); letter-spacing: .06em; color: rgba(247, 237, 223, .5); }
.deck__lamp { position: absolute; right: 6.5%; bottom: 7%; width: clamp(8px, 1vw, 11px); aspect-ratio: 1; border-radius: 50%; background: #4a3424; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .5); transition: background-color .5s, box-shadow .5s; }
.deck.is-swapping .deck__record { transform: translateY(-5%) scale(.96); opacity: .0; }

[data-state='loading'] .deck__arm { transform: rotate(9deg); }
[data-state='playing'] .deck__arm, [data-state='paused'] .deck__arm { transform: rotate(19deg); }
[data-state='playing'] .deck__record, [data-state='playing'] .song__vinyl, [data-state='playing'] .mini__cover { animation-play-state: running; }
[data-state='playing'] .deck__lamp { background: #ffbe63; box-shadow: 0 0 10px 2px rgba(255, 178, 80, .65), inset 0 1px 1px rgba(255, 255, 255, .4); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sleeves */
.sleeves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.sleeve { display: grid; gap: 4px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.sleeve__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .8), 0 0 0 1px rgba(247, 237, 223, .08); transition: transform .45s var(--ease), box-shadow .45s var(--ease), filter .45s; filter: saturate(.75) brightness(.78); margin-bottom: 8px; }
.sleeve__title { font-size: 14.5px; line-height: 1.3; color: var(--cream-2); transition: color .3s; }
.sleeve__date { font-size: 13.5px; font-style: italic; color: var(--cream-3); }
.sleeve:hover .sleeve__img { filter: none; transform: translateY(-3px); }
.sleeve[aria-pressed='true'] .sleeve__img { filter: none; transform: translateY(-8px); box-shadow: 0 22px 34px -16px rgba(0, 0, 0, .85), 0 0 0 2px var(--sun-2); }
.sleeve[aria-pressed='true'] .sleeve__title { color: var(--cream); }

/* Now playing panel */
.now__meta { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 0 0 14px; }
.now__meta div { display: grid; gap: 2px; }
.now__meta dt { font-size: 13.5px; font-style: italic; color: var(--cream-3); }
.now__meta dd { margin: 0; font-size: 16px; color: var(--cream); }
.now__title { margin: 0 0 18px; font: 800 clamp(46px, 4.9vw, 76px)/.86 var(--f-gothic); text-transform: uppercase; letter-spacing: .004em; }
.now__about { max-width: 30em; color: var(--cream-2); }
.now__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.now__links { display: contents; }
.now__embed { margin-top: 20px; border-radius: 12px; overflow: hidden; min-height: 152px; background: rgba(0, 0, 0, .25); }
.now__embed iframe { display: block; border: 0; width: 100%; }
.now__note { margin: 14px 0 0; font-size: 13.5px; font-style: italic; color: var(--cream-3); }
.now__more { display: inline-block; margin-top: 18px; font-size: 16px; }
.now [data-f] { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.now.is-swapping [data-f] { opacity: 0; transform: translateY(6px); }

/* ---------- story ---------- */

.story { padding: clamp(64px, 8vw, 120px) 0 clamp(40px, 5vw, 80px); }
.story__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.story__photo { margin: 0; }
.story__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; border-radius: 3px; }
.story__copy { max-width: 34em; }
.story__copy .h-serif { margin-bottom: 30px; }
.story__copy p { color: var(--cream-2); }
.story__copy .lede { color: var(--cream); }
.story__sign { margin-top: 26px; display: flex; align-items: center; gap: 10px; font-style: italic; color: var(--sun-2) !important; }
.sig--inline { width: 150px; color: var(--sun-2); }
@media (max-width: 860px) { .story__in { grid-template-columns: 1fr; } .story__photo img { aspect-ratio: 5 / 4; } }

/* ---------- photo reel ---------- */

.reel { padding: clamp(48px, 6vw, 90px) 0 clamp(72px, 8vw, 120px); }
.reel__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.reel__tools { display: flex; align-items: center; gap: 10px; }
.reel__ig { display: inline-flex; align-items: center; gap: 8px; margin-right: 10px; font-size: 16px; text-decoration: none; }
.reel__ig .i { width: 20px; height: 20px; fill: currentColor; }
.reel__nav { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; transition: border-color .25s, background-color .25s; }
.reel__nav:hover { border-color: var(--cream); background: rgba(247, 237, 223, .06); }
.reel__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.reel__strip {
  list-style: none; margin: 0; display: flex; gap: clamp(12px, 1.4vw, 20px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.reel__strip::-webkit-scrollbar { display: none; }
.reel__item { flex: none; scroll-snap-align: start; }
.reel__item img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.reel__item--wide { width: min(46vw, 700px); aspect-ratio: 3 / 2; }
.reel__item--tall { width: min(28vw, 420px); aspect-ratio: 4 / 5; align-self: end; }
.reel__item img.pos-left { object-position: 30% 50%; }
@media (max-width: 760px) { .reel__item--wide { width: 84vw; } .reel__item--tall { width: 64vw; } .reel__nav { display: none; } }

/* ---------- letter ---------- */

.letter { position: relative; padding: clamp(72px, 8vw, 120px) 0; border-top: 1px solid var(--line); isolation: isolate; }
.letter::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(42% 80% at 10% 0%, rgba(235, 165, 76, .2), transparent 70%); pointer-events: none; }
.letter__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 110px); align-items: end; }
.letter__copy p { max-width: 30em; margin-top: 22px; color: var(--cream-2); }
.letter__label { display: block; margin-bottom: 10px; font-size: 15px; font-style: italic; color: var(--cream-2); }
.letter__row { display: flex; gap: 10px; }
.letter__row input {
  flex: 1; min-width: 0; height: 52px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(247, 237, 223, .06); color: var(--cream);
  font: 400 17px var(--f-serif);
  transition: border-color .25s, background-color .25s;
}
.letter__row input::placeholder { color: var(--cream-3); }
.letter__row input:focus { outline: none; border-color: var(--sun); background: rgba(247, 237, 223, .1); }
.letter__row .btn { height: 52px; }
.letter__status { min-height: 1.5em; margin: 12px 0 0; font-size: 16px; }
.letter__status[data-tone='ok'] { color: var(--sun-2); }
.letter__status[data-tone='err'] { color: #ffb4a8; }
.letter__fine { margin: 4px 0 0; font-size: 14px; color: var(--cream-3); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .letter__in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .letter__row { flex-direction: column; } .letter__row input { flex: none; width: 100%; } .letter__row .btn { width: 100%; } }

/* ---------- hello ---------- */

.hello { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.hello__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(40px, 6vw, 110px); align-items: baseline; }
.hello p { margin: 0; font-size: clamp(19px, 1.7vw, 23px); color: var(--cream-2); }
@media (max-width: 860px) { .hello__in { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.foot { padding: clamp(64px, 8vw, 110px) 0 40px; border-top: 1px solid var(--line); background: rgba(8, 9, 20, .35); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
.foot__brand { display: block; width: min(100%, 440px); color: var(--sun-2); }
.foot__brand .sig { width: 100%; }
.foot__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px; }
.foot__cols div { display: grid; gap: 8px; align-content: start; }
.foot__cols a { text-decoration: none; color: var(--cream-2); font-size: 16px; }
.foot__cols a:hover { color: var(--sun-2); }
.foot__h { margin: 0 0 4px; font: 800 18px/1 var(--f-gothic); text-transform: uppercase; letter-spacing: .06em; color: var(--cream); }
.foot__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--cream-3); }
.foot__base p { margin: 0; }
@media (max-width: 860px) { .foot__in { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .foot__cols { grid-template-columns: 1fr 1fr; } .foot__cols div:last-child { grid-column: 1 / -1; } }

/* ---------- inner pages ---------- */

.pagehead { position: relative; padding: calc(var(--top-h) + clamp(70px, 10vw, 150px)) 0 clamp(50px, 6vw, 90px); isolation: isolate; }
.pagehead::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 85% 10%, color-mix(in oklab, var(--tint, #d9822f) 30%, transparent), transparent 70%); }
.pagehead__lede { max-width: 28em; margin: 28px 0 0; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.45; font-style: italic; color: var(--cream-2); }
.pagehead__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.disc { padding: clamp(20px, 3vw, 40px) 0 clamp(80px, 10vw, 140px); }
.disc__list { list-style: none; margin: 0 auto; display: grid; gap: clamp(72px, 9vw, 130px); }
.disc__item { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.disc__cover { position: relative; display: block; isolation: isolate; }
.disc__cover img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(247, 237, 223, .08); }
.disc__vinyl { position: absolute; z-index: 0; top: 3%; right: 3%; width: 94%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--tint) 85%, #000) 0 17%, #0c0c0e 17.5% 18%, transparent 18.3%), repeating-radial-gradient(circle, #19191c 0 1px, #0d0d0f 1px 2.3px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .09); transform: translateX(12%); transition: transform .8s var(--ease); }
.disc__item:hover .disc__vinyl { transform: translateX(26%) rotate(40deg); }
.disc__title { margin: 6px 0 18px; font: 800 clamp(52px, 6.6vw, 112px)/.84 var(--f-gothic); text-transform: uppercase; }
.disc__title a { text-decoration: none; }
.disc__body > p { max-width: 28em; color: var(--cream-2); }
@media (max-width: 860px) { .disc__item { grid-template-columns: 1fr; } .disc__cover { width: min(100%, 520px); } }

.crumbs { padding-top: calc(var(--top-h) + 36px); display: flex; gap: 10px; font-size: 15px; font-style: italic; color: var(--cream-3); }
.crumbs a { text-decoration: none; color: var(--cream-2); }

.song { position: relative; padding: clamp(36px, 5vw, 70px) 0 clamp(80px, 10vw, 140px); isolation: isolate; overflow-x: clip; }
.song::before { content: ''; position: absolute; inset: -20% 0 0; z-index: -1; pointer-events: none; background: radial-gradient(46% 52% at 24% 44%, color-mix(in oklab, var(--tint) 40%, transparent), transparent 72%); }
.song__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.song__art { padding-right: 14%; }
.song__sleeve { position: relative; isolation: isolate; }
.song__cover { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; box-shadow: 0 50px 80px -36px rgba(0, 0, 0, .95), 0 0 0 1px rgba(247, 237, 223, .08); }
.song__vinyl {
  position: absolute; z-index: 0; top: 3%; left: 3%; width: 94%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 18.4%, transparent 19% 47%, rgba(0, 0, 0, .55) 47.2% 47.9%, transparent 48.1% 63%, rgba(0, 0, 0, .55) 63.2% 63.9%, transparent 64.1% 96.5%, rgba(255, 255, 255, .08) 96.6% 97.2%, transparent 97.4%),
    repeating-radial-gradient(circle, #19191c 0 1px, #0d0d0f 1px 2.3px), #111114;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .09);
  translate: 18% 0;
  transition: translate 1.1s var(--ease);
  animation: spin 1.8s linear infinite paused;
}
[data-state='loading'] .song__vinyl { translate: 24% 0; }
[data-state='playing'] .song__vinyl, [data-state='paused'] .song__vinyl { translate: 30% 0; }
.song__title { margin: 0 0 22px; font: 800 clamp(58px, 8vw, 132px)/.82 var(--f-gothic); text-transform: uppercase; letter-spacing: .004em; }
.song__copy > p:not(.kicker):not(.now__note) { max-width: 30em; color: var(--cream-2); }
@media (max-width: 900px) { .song__in { grid-template-columns: 1fr; } .song__art { width: min(100%, 560px); } }

.more { padding: 0 0 clamp(80px, 10vw, 140px); }
.more .h-serif { margin-bottom: 34px; }
.more__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: clamp(20px, 3vw, 44px); }
.more__card { display: grid; gap: 6px; text-decoration: none; }
.more__card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; margin-bottom: 10px; box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .9); transition: transform .5s var(--ease); }
.more__card:hover img { transform: translateY(-4px); }
.more__title { font: 800 clamp(26px, 2.6vw, 36px)/.92 var(--f-gothic); text-transform: uppercase; }
.more__date { font-size: 14.5px; font-style: italic; color: var(--cream-3); }
@media (max-width: 560px) { .more__list { grid-template-columns: 1fr 1fr; } }

.lost { min-height: 78vh; display: grid; align-items: center; padding: calc(var(--top-h) + 60px) 0 80px; background: radial-gradient(50% 60% at 80% 20%, rgba(235, 165, 76, .18), transparent 70%); }

/* ---------- mini player ---------- */

.mini {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 24px);
  padding: 8px 8px 8px 8px; border-radius: 999px;
  background: rgba(21, 24, 47, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line);
  transform: translate(-50%, 0); transition: transform .5s var(--ease), opacity .4s;
}
.mini[hidden] { display: flex; opacity: 0; pointer-events: none; transform: translate(-50%, 130%); }
.mini__cover { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; animation: spin 3.6s linear infinite paused; box-shadow: 0 0 0 3px #0d0d0f; }
.mini__text { display: grid; min-width: 0; line-height: 1.25; }
.mini__label { font-size: 12.5px; font-style: italic; color: var(--cream-3); }
.mini__title { font: 800 17px/1.1 var(--f-gothic); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw; }
.mini__btn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--sun); color: #2b1707; cursor: pointer; }
.mini__btn .i { width: 18px; height: 18px; fill: currentColor; }
.mini .i--play { display: none; }
.mini[data-paused] .i--play { display: block; }
.mini[data-paused] .i--pause { display: none; }
.mini__back { height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; font-size: 14.5px; white-space: nowrap; }
.mini__back:hover { border-color: var(--cream); }
@media (max-width: 520px) { .mini__back { display: none; } .mini { padding-right: 8px; } }

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