/* DJ BklynPsycho
   Tokens first; everything below is driven from them. */

@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* colour */
  --ink: #0a0807;
  --ink-2: #140f0c;
  --paper: #f4eee7;
  --muted: rgba(244, 238, 231, 0.62);
  --faint: rgba(244, 238, 231, 0.14);
  --ember: #ff4d00;
  --ember-2: #ff8a1f;
  --blood: #8f1600;
  --violet: #7a2cff;
  --glass: rgba(14, 10, 8, 0.55);

  /* type */
  --display: "Oswald", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --sans: "Satoshi", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: clamp(16px, 1.05vw + 10px, 19px);
  --fs-lead: clamp(24px, 2.6vw + 8px, 50px);
  --fs-display: clamp(64px, 11vw, 190px);
  --fs-hero: clamp(84px, 15.5vw, 300px);

  /* space and shape */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 22px;
  --radius-sm: 12px;
  --topbar-h: 72px;
  --dock-h: 84px;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--topbar-h); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ember-2); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1em; height: 1em; flex: none; }
.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px;
  background: var(--paper); color: var(--ink); transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }

.display {
  margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: var(--fs-display); line-height: 0.88; letter-spacing: -0.01em;
}

/* Pills */
.pill {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  background: rgba(10, 8, 7, 0.32); border: 1px solid rgba(244, 238, 231, 0.22);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s;
}
.pill:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pill--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pill--solid:hover { background: var(--ember); color: var(--ink); border-color: var(--ember); }

/* ───────── Top bar ───────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  transition: transform .5s var(--ease-out), background-color .4s;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar.is-hidden { transform: translateY(-110%); }
.topbar__logo img { width: auto; height: 46px; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
.topbar__nav { display: flex; gap: 8px; }

/* ───────── Hero ───────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; min-height: max(100svh, 620px);
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto auto;
  padding: calc(var(--topbar-h) + clamp(24px, 6vh, 72px)) var(--gutter) 64px;
  background: var(--ink);
}
.hero__glow {
  position: absolute; inset: 0; z-index: -2;
  background:
    /* ember core behind the portrait: smaller, hot centre, fading through blood red */
    radial-gradient(38% 50% at var(--glow-at, 62% 56%), var(--ember-2) 0%, var(--ember) 34%, rgba(143, 22, 0, .55) 66%, transparent 100%),
    /* violet bloom rising from the lower left */
    radial-gradient(75% 85% at 10% 100%, rgba(122, 44, 255, .9) 0%, rgba(122, 44, 255, 0) 70%),
    /* second violet wash across the top right */
    radial-gradient(70% 65% at 95% 0%, rgba(122, 44, 255, .65) 0%, rgba(122, 44, 255, 0) 70%),
    /* deep purple base instead of brown-black */
    linear-gradient(160deg, #2b0f5e 0%, #1c0940 55%, #0e0618 100%);
  animation: glow 14s var(--ease-io) infinite alternate;
}
@keyframes glow {
  from { filter: saturate(1) brightness(1); transform: scale(1); }
  to   { filter: saturate(1.15) brightness(1.08); transform: scale(1.06); }
}
.hero__grain {
  position: absolute; inset: -50%; z-index: -1; opacity: .22; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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 1.2s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); }
  50% { transform: translate(3%, -5%); } 75% { transform: translate(-2%, -3%); } 100% { transform: translate(0, 0); }
}
.hero__quote {
  grid-row: 1; align-self: start; margin: 0; max-width: 20ch; position: relative; z-index: 3;
  font-size: clamp(20px, 1.7vw + 8px, 34px); font-weight: 500; line-height: 1.22; letter-spacing: -0.015em;
}
.hero__quote p { margin: 0; }
.hero__quote .q { color: var(--ember-2); }
.hero__portrait {
  position: absolute; z-index: 1; right: clamp(-40px, 2vw, 60px); bottom: 0;
  height: min(92svh, 1000px); aspect-ratio: 922 / 973; pointer-events: none;
}
.hero__portrait img { width: 100%; height: 100%; object-fit: contain; object-position: bottom right; }
.hero__title {
  grid-row: 2; position: relative; z-index: 2; margin: 0; pointer-events: none;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: var(--fs-hero); line-height: 0.8; letter-spacing: -0.02em;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero__eyebrow {
  font-family: var(--sans); font-weight: 700; font-size: clamp(16px, 1.3vw, 22px); letter-spacing: 0.3em;
  line-height: 1; margin: 0 0 clamp(10px, 1.4vw, 22px) 0.3em; padding: 8px 12px 7px 14px;
  border: 1.5px solid currentColor; border-radius: 999px;
}
.hero__line { display: block; }
.hero__line + .hero__line { margin-left: 0.42em; }
.hero__title .dot { color: var(--ember); }
.hero__meta {
  grid-row: 3; position: relative; z-index: 3; margin-top: clamp(18px, 3vh, 36px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
}
.hero__clock { text-align: center; font-variant-numeric: tabular-nums; }
.hero__scroll {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.hero__scroll .icon { width: 18px; height: 18px; animation: nudge 2.2s var(--ease-io) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* split-text mechanics (chars wrapped by JS) */
[data-split] .char-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.04em; margin-bottom: -0.04em; }
[data-split] .char { display: inline-block; will-change: transform; }
.js [data-split]:not(.is-in) .char { transform: translateY(105%); }
[data-split] .char { transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 32ms + var(--d, 0ms)); }

.js [data-intro] { opacity: 0; transform: translateY(18px); }
[data-intro] { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.is-loaded [data-intro] { opacity: 1; transform: none; }
.js .hero__portrait img { opacity: 0; transform: translateY(6%) scale(1.04); filter: blur(10px); }
.hero__portrait img { transition: opacity 1.6s var(--ease-out), transform 1.8s var(--ease-out), filter 1.4s var(--ease-out); }
.is-loaded .hero__portrait img { opacity: 1; transform: none; filter: none; }

/* scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal] { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ───────── Ticker ───────── */
.ticker-wrap {
  position: relative; z-index: 5; overflow: hidden; pointer-events: none;
  margin: -90px 0 -70px; padding: 60px 0 50px;
}
.ticker {
  position: relative; margin: 0 -3vw; padding: 18px 0 16px;
  background: var(--ember); color: var(--ink); transform: rotate(-2.2deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__group span {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(30px, 4.2vw, 64px); line-height: 1; padding: 0 0.35em; white-space: nowrap;
}
.ticker__group i { font-style: normal; font-size: clamp(18px, 2.2vw, 32px); }

/* ───────── Reel ───────── */
.reel { position: relative; background: var(--ink); }
.reel::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40vh; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,8,7,0), var(--ink) 92%);
}
.reel__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center; pointer-events: none;
}
.reel__frame {
  --p: 0;
  position: absolute; inset: 0; overflow: hidden; background: var(--ink-2);
  clip-path: inset(calc((1 - var(--p)) * var(--iy, 18%)) calc((1 - var(--p)) * var(--ix, 20%)) round calc((1 - var(--p)) * var(--radius)));
}
.reel__video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.18 - var(--p) * 0.18));
}
.reel__shade {
  position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(10,8,7,.7) 0%, rgba(10,8,7,.25) 65%, rgba(10,8,7,.4) 100%),
    linear-gradient(180deg, rgba(10,8,7,.4) 0%, rgba(10,8,7,.1) 40%, rgba(10,8,7,.7) 100%),
    rgba(10, 8, 7, 0.3);
  opacity: var(--shade, 0.35);
}
.reel__label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  background: rgba(10,8,7,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: calc(1 - var(--p) * 1.6);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(255,77,0,.7); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(255,77,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,0,0); } }
.reel__toggle {
  position: absolute; right: var(--gutter); bottom: 22px; z-index: 2; pointer-events: auto;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10,8,7,.5); border: 1px solid var(--faint); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: .7; transition: opacity .3s;
}
.reel__toggle:hover { opacity: 1; }
.reel__toggle .icon { width: 16px; height: 16px; }
.reel__content { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; padding-bottom: clamp(96px, 16vh, 180px); }
.reel__spacer { height: 150vh; height: 150svh; }

.about { padding-block: 10vh 16vh; }
.about__text {
  margin: 0; max-width: 28ch; font-size: var(--fs-lead); font-weight: 500; line-height: 1.14; letter-spacing: -0.025em;
  text-wrap: pretty;
}
.about__text .w { transition: opacity .25s linear; }
.js .about__text .w { opacity: var(--o, 0.18); }
.about__text .hl { color: var(--ember-2); font-weight: 700; }

/* Mixes */
.mixes__head { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(28px, 5vh, 56px); }
.mixes__head .display { font-size: clamp(64px, 12vw, 200px); }
.mixes__intro { margin: 18px 0 0; max-width: 34ch; color: var(--muted); font-size: clamp(17px, 1.2vw + 8px, 22px); }

.tracklist {
  list-style: none; margin: 0; padding: 8px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--faint);
  backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
}
.track { position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.track + .track { border-top: 1px solid var(--faint); }
.track__btn {
  position: relative; z-index: 1; width: 100%; min-width: 0; text-align: left;
  display: grid; grid-template-columns: 3.2em minmax(0, 1fr) auto 4.5em 52px; align-items: center; gap: clamp(10px, 2vw, 28px);
  padding: clamp(16px, 2.4vw, 26px) clamp(12px, 2vw, 24px);
  transition: color .45s var(--ease-out);
}
.track::before {
  content: ""; position: absolute; inset: 0; z-index: 0; background: var(--paper);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out);
}
.track:has(.track__btn:focus-visible)::before { transform: scaleY(1); }
.track:has(.track__btn:focus-visible) .track__btn { color: var(--ink); }
@media (hover: hover) {
  .track:hover::before { transform: scaleY(1); }
  .track:hover .track__btn { color: var(--ink); }
    }
.track__btn:focus-visible { outline-offset: -3px; }
.track__num { font-family: var(--display); font-weight: 500; font-size: 18px; opacity: .55; font-variant-numeric: tabular-nums; }
.track__title {
  font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(22px, 2.4vw + 6px, 44px);
  line-height: 1.02; letter-spacing: 0.005em; min-width: 0; overflow-wrap: anywhere;
  transition: transform .5s var(--ease-out);
}
.track:hover .track__title { transform: translateX(8px); }
.track__tag {
  justify-self: end; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; border: 1px solid currentColor; opacity: .75; white-space: nowrap;
}
.track__dur { justify-self: end; font-size: 15px; font-variant-numeric: tabular-nums; opacity: .7; }
.track__icon {
  position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ember); color: var(--ink); transition: transform .45s var(--ease-out);
}
.track:hover .track__icon { transform: scale(1.08) rotate(-8deg); }
.track__icon .icon { width: 20px; height: 20px; grid-area: 1 / 1; }
.track__icon .i-play { margin-left: 2px; }
.track__icon .i-pause, .track__icon .eq { display: none; }
.track.is-current .track__num { opacity: 1; color: var(--ember-2); }
.track.is-current:hover .track__num { color: var(--blood); }
.track.is-playing .track__icon .i-play { display: none; }
.track.is-playing .track__icon .i-pause { display: block; }
.track.is-playing .track__icon .i-pause { display: none; }
.track.is-playing .track__icon .eq { display: flex; }
@media (hover: hover) {
  .track.is-playing:hover .track__icon .i-pause { display: block; }
  .track.is-playing:hover .track__icon .eq { display: none; }
}
.eq { grid-area: 1 / 1; gap: 3px; align-items: flex-end; height: 18px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.35s; animation-duration: .8s; }
.eq i:nth-child(3) { animation-delay: -.6s; animation-duration: 1.15s; }
.eq i:nth-child(4) { animation-delay: -.15s; animation-duration: .9s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.track__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: transparent; }
.track__bar i { display: block; height: 100%; width: 100%; background: var(--ember); transform: scaleX(var(--prog, 0)); transform-origin: left; }
.track[hidden] { display: none; }

/* ───────── Connect ───────── */
.connect { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 18vh, 200px) 0 clamp(90px, 14vh, 160px); }
.connect__glow {
  position: absolute; inset: auto -10% -45% -10%; height: 110%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 60%, rgba(255,77,0,.55), rgba(143,22,0,.25) 45%, transparent 72%);
  filter: blur(10px);
}
.connect__heading { font-size: clamp(64px, 13.5vw, 230px); }
.connect__intro { margin: clamp(22px, 3vh, 36px) 0 0; color: var(--muted); max-width: 34ch; font-size: clamp(17px, 1.2vw + 8px, 22px); }
.connect__email {
  display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(28px, 5vh, 48px); max-width: 100%;
  font-size: clamp(20px, 2.8vw, 44px); font-weight: 500; letter-spacing: -0.02em; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 6px;
  transition: background-size .6s var(--ease-out), color .3s;
  overflow-wrap: anywhere;
}
.connect__email:hover { background-size: 100% 2px; color: var(--ember-2); }
.connect__email .icon { width: 0.9em; height: 0.9em; }
.connect__arrow { transition: transform .5s var(--ease-out); }
.connect__email:hover .connect__arrow { transform: translate(4px, -4px); }
.socials {
  list-style: none; margin: clamp(40px, 7vh, 72px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px;
}
.social {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 22px; border-radius: 999px;
  border: 1px solid rgba(244,238,231,.22); text-decoration: none; font-weight: 500; font-size: 17px;
  transition: color .45s var(--ease-out), border-color .45s;
}
.social::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper);
  transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease-out);
}
.social:hover, .social:focus-visible { color: var(--ink); border-color: var(--paper); }
.social:hover::before, .social:focus-visible::before { transform: none; }
.social .icon { width: 22px; height: 22px; }
.social__arrow { margin-left: auto; opacity: .6; transition: transform .5s var(--ease-out); }
.social:hover .social__arrow { transform: translate(3px, -3px); opacity: 1; }

/* ───────── ATG branding footer (shared house block) ─────────
   Portable: set the three --atg-foot-* tokens per site; nothing else changes. */
.atg-foot {
  --atg-foot-fg: var(--paper, #fff);
  --atg-foot-muted: rgba(255, 255, 255, .69);
  --atg-foot-line: var(--faint, rgba(255, 255, 255, .14));
  text-align: center; color: var(--atg-foot-fg);
  border-top: 1px solid var(--atg-foot-line);
  padding: clamp(36px, 6vh, 56px) 16px calc(clamp(28px, 5vh, 44px) + var(--dock-space, 0px));
  transition: padding .5s ease;
}
.atg-foot__copy { margin: 0; font-size: clamp(15px, 1vw + 8px, 18px); font-weight: 500; }
.atg-foot__credit {
  margin: 2.25vh 0 0; font-family: system-ui, sans-serif; font-size: 90%; font-weight: 400;
  text-transform: lowercase; color: #eee;
}
.atg-foot__brand { display: inline-block; margin-left: .14rem; text-transform: lowercase; }
.atg-foot__brand a { color: var(--atg-foot-fg); text-decoration: none; }
.atg-foot__brand a:hover { text-decoration: underline; text-underline-offset: 3px; }
.atg-foot__brand::after {
  /* external-link mark as a masked SVG so it takes the text colour; swap to FA ("\f14c") on sites that load the kit */
  content: ""; display: inline-block; width: .74em; height: .74em; margin-left: .3rem; vertical-align: -.04em;
  background-color: currentColor; opacity: .85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8.5 8.5'/%3E%3Cpath d='M19 14.5V19a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 4 19V7a1.5 1.5 0 0 1 1.5-1.5H10'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8.5 8.5'/%3E%3Cpath d='M19 14.5V19a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 4 19V7a1.5 1.5 0 0 1 1.5-1.5H10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.atg-foot__brand b { font-weight: 700; }
.atg-foot__tag-link { display: inline-block; margin-top: 1.5vh; border-radius: 50%; }
.atg-foot__tag {
  display: inline-block; vertical-align: middle; border-radius: 50%;
  filter: grayscale(100%); transform: scale(1);
  transition: filter 1s ease-in-out, transform 1s ease-in-out;
}
.atg-foot__tag-link:hover .atg-foot__tag,
.atg-foot__tag-link:focus-visible .atg-foot__tag { filter: grayscale(0%); transform: scale(1.25); }
.atg-foot__tag-link:focus-visible { outline: 2px solid var(--atg-foot-fg); outline-offset: 6px; }

/* ───────── Dock player ───────── */
.dock {
  position: fixed; z-index: 60; left: 50%; bottom: max(12px, env(safe-area-inset-bottom));
  width: min(100% - 24px, 1040px); height: var(--dock-h);
  display: grid; grid-template-columns: 56px minmax(0, 1.1fr) auto minmax(0, 1.6fr) auto 40px; align-items: center; gap: 16px;
  padding: 0 14px 0 14px; border-radius: 999px; overflow: hidden;
  background: rgba(18, 13, 10, 0.78); border: 1px solid rgba(244,238,231,.16);
  backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  transform: translate(-50%, 140%); transition: transform .7s var(--ease-out);
}
.dock[hidden] { display: grid; visibility: hidden; }
.dock.is-open { transform: translate(-50%, 0); visibility: visible; }
.dock__disc {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background:
    radial-gradient(circle, var(--ember) 0 26%, transparent 27%),
    repeating-radial-gradient(circle, #1b1512 0 2px, #0c0908 2px 4px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  animation: spin 3.2s linear infinite; animation-play-state: paused;
}
.dock__disc img { display: none; }
.dock__disc::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.dock.is-playing .dock__disc { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.dock__info { min-width: 0; display: grid; line-height: 1.2; }
.dock__tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ember-2); font-weight: 700; }
.dock__title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__controls { display: flex; align-items: center; gap: 4px; }
.ibtn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  transition: background-color .25s, transform .25s var(--ease-out);
}
.ibtn:hover { background: rgba(244,238,231,.1); }
.ibtn:active { transform: scale(.94); }
.ibtn .icon { width: 20px; height: 20px; grid-area: 1 / 1; }
.ibtn--play { width: 50px; height: 50px; background: var(--paper); color: var(--ink); }
.ibtn--play:hover { background: var(--ember); }
.ibtn--play .i-play { margin-left: 2px; }
.ibtn .i-pause, .ibtn .i-mute { display: none; }
.dock.is-playing .ibtn--play .i-play { display: none; }
.dock.is-playing .ibtn--play .i-pause { display: block; }
.dock.is-muted .i-vol { display: none; }
.dock.is-muted .i-mute { display: block; }
.dock__seek { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; }
.dock__time { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); min-width: 4ch; }
.dock__time[data-cur] { text-align: right; }
.dock__vol { display: flex; align-items: center; gap: 6px; }
.range--vol { width: 90px; }
.dock__progress { display: none; }

.range {
  --v: 0%; --b: 0%;
  -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; height: 20px; background: transparent; cursor: pointer; margin: 0;
}
.range::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--ember) 0 var(--v), rgba(244,238,231,.32) var(--v) var(--b), rgba(244,238,231,.14) var(--b));
}
.range::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, rgba(244,238,231,.32) 0 var(--b), rgba(244,238,231,.14) var(--b)); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ember); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--paper);
  box-shadow: 0 0 0 4px rgba(255,77,0,0); transition: transform .2s, box-shadow .2s;
}
.range::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--paper); }
.range:hover::-webkit-slider-thumb { transform: scale(1.15); box-shadow: 0 0 0 5px rgba(255,77,0,.28); }
.range:focus-visible { outline-offset: 2px; }

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .dock { grid-template-columns: 56px minmax(0, 1fr) auto minmax(0, 1.3fr) 40px; }
  .dock__vol { display: none; }
}
@media (max-width: 820px) {
  :root { --topbar-h: 64px; }
  .topbar__logo img { height: 38px; }
  .topbar__nav .pill:not(.pill--solid) { display: none; }
  .hero { grid-template-rows: auto 1fr auto auto; }
  .hero__quote { max-width: 17ch; }
  .hero__portrait { right: -18%; height: min(78svh, 720px); }
  .hero__title { grid-row: 3; }
  .hero__meta { grid-row: 4; grid-template-columns: 1fr auto; }
  .hero__clock { display: none; }
  .reel__frame { --iy: 22%; --ix: 7%; }
  .track__btn { grid-template-columns: auto minmax(0, 1fr) 46px; grid-template-areas: "title title icon" "tag dur icon"; row-gap: 10px; column-gap: 12px; }
  .track__num { display: none; }
  .track__title { grid-area: title; }
  .track__tag { grid-area: tag; justify-self: start; padding: 4px 10px; font-size: 11px; }
  .track__dur { grid-area: dur; justify-self: start; font-size: 13px; }
  .track__icon { grid-area: icon; width: 46px; height: 46px; }

  /* dock becomes a two-row card */
  .dock {
    --dock-h: auto; height: auto; border-radius: 22px; padding: 12px 12px 14px;
    grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "disc info controls" "seek seek close"; row-gap: 8px; gap: 8px 12px;
  }
  .dock__disc { grid-area: disc; width: 44px; height: 44px; }
  .dock__info { grid-area: info; }
  .dock__controls { grid-area: controls; }
  .dock__controls [data-prev] { display: none; }
  .dock__seek { grid-area: seek; }
  .dock__close { grid-area: close; width: 32px; height: 32px; }
  .dock__close .icon { width: 16px; height: 16px; }
  .ibtn--play { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .reel__frame { clip-path: none; }
  .reel__video { transform: none; }
  .js .about__text .w { opacity: 1; }
}
