/* ==========================================================================
   Tune2This — demo stylesheet
   Palette is pulled straight out of the City Lights photography: night black,
   the teal/red wash on the building exterior, the orange brand mark from
   assets-manifest.json (#E2552F), and highway-33 stripe yellow.
   ========================================================================== */

:root {
  /* City Lights brand tokens (assets-manifest.json) */
  --cl-orange: #E2552F;
  --cl-ink: #141414;
  --cl-paper: #F5F1EA;

  /* Tune2This */
  --highway: #F5C518;      /* road stripe */
  --highway-dim: #C9A114;
  --neon: #E2552F;         /* inherited from City Lights */
  --neon-lift: #FF6B41;
  --teal: #45B3C0;         /* the lit entrance */

  --black: #0A0A0B;
  --black-2: #101013;
  --black-3: #17171B;
  --black-4: #1F1F25;

  --line: rgba(245, 241, 234, 0.14);
  --line-soft: rgba(245, 241, 234, 0.075);

  --text: #EDE9E2;
  --text-dim: rgba(237, 233, 226, 0.66);
  --text-faint: rgba(237, 233, 226, 0.42);

  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gap: clamp(1rem, 2.4vw, 1.6rem);
  --section: clamp(4.25rem, 8.5vw, 7.5rem);
  --radius: 4px;
  --player-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.has-player { padding-bottom: var(--player-h); }

img, video, iframe { max-width: 100%; display: block; }
img, video { height: auto; }
a { color: inherit; }
::selection { background: var(--neon); color: #fff; }
:focus-visible { outline: 2px solid var(--highway); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: 800px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--highway); color: #000; padding: .75rem 1.25rem; font-weight: 700; }
.skip:focus { left: 0; }

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

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: -0.012em; line-height: 1.03; margin: 0; }
h1 { font-size: clamp(2.85rem, 7.6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.14; }
h4 { font-size: 1.15rem; line-height: 1.2; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.58; color: var(--text-dim); }

.eyebrow {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--highway);
  margin: 0 0 1.1rem; display: flex; align-items: center; gap: .85rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; max-width: 4.5rem; background: linear-gradient(to right, var(--highway), transparent); }
.eyebrow--neon { color: var(--neon); }
.eyebrow--neon::after { background: linear-gradient(to right, var(--neon), transparent); }
.eyebrow--plain::after { display: none; }

.dim { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.hl { color: var(--highway); }
.neon { color: var(--neon); }

/* Highway centre-line divider */
.stripe { height: 4px; border-radius: 2px; background: repeating-linear-gradient(to right, var(--highway) 0 34px, transparent 34px 62px); opacity: .85; }
.stripe--soft { opacity: .35; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: .95rem 1.6rem; border: 1px solid transparent; border-radius: var(--radius);
  background: var(--highway); color: #0A0A0B; cursor: pointer;
  transition: background .18s ease, transform .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { background: #FFD733; transform: translateY(-1px); }
.btn--neon { background: var(--neon); color: #fff; }
.btn--neon:hover { background: var(--neon-lift); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { background: rgba(245,241,234,.06); border-color: rgba(245,241,234,.42); }
.btn--sm { padding: .68rem 1.1rem; font-size: .72rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* --------------------------------------------------------------- header --- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,10,11,.84);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 88px; }

.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-size: 1.75rem; letter-spacing: .005em; }
.brand__two { color: var(--highway); }
.brand__sub { font-family: var(--mono); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-faint); margin-top: .4rem; }

/* --- primary nav: plain links + <details> dropdowns --- */
.nav { display: flex; align-items: center; gap: .1rem; }

.nav__link, .drop > summary {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .84rem; font-weight: 500; letter-spacing: .03em;
  padding: .55rem .72rem; border-radius: var(--radius); color: var(--text-dim);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover, .drop > summary:hover { color: var(--text); background: rgba(245,241,234,.06); }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after,
.drop[aria-current="page"] > summary::after {
  content: ""; position: absolute; left: .72rem; right: .72rem; bottom: .28rem;
  height: 2px; background: var(--highway); border-radius: 2px;
}
.nav__link { position: relative; }

/* dropdown mechanics via <details> */
.drop { position: relative; }
.drop > summary { list-style: none; position: relative; }
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary::before {
  content: ""; order: 2; width: 7px; height: 7px; margin-left: .1rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .7; transition: transform .18s ease;
}
.drop[open] > summary::before { transform: rotate(-135deg) translateY(-1px); }
.drop[open] > summary { color: var(--text); background: rgba(245,241,234,.06); }

.drop__panel {
  position: absolute; top: calc(100% + .5rem); left: 0; z-index: 70;
  min-width: 220px; display: flex; flex-direction: column; gap: .1rem;
  background: var(--black-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .5rem; box-shadow: 0 24px 48px -20px rgba(0,0,0,.7);
}
.drop__panel a {
  text-decoration: none; color: var(--text-dim); font-size: .88rem; font-weight: 500;
  padding: .6rem .7rem; border-radius: 3px; white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.drop__panel a:hover { color: var(--text); background: rgba(245,197,24,.1); }

.nav__cta { display: flex; align-items: center; gap: .5rem; margin-left: .5rem; padding-left: .6rem; border-left: 1px solid var(--line-soft); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius); padding: .6rem .9rem; font-family: var(--mono);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}

@media (max-width: 1160px) {
  .site-header__inner { flex-wrap: wrap; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black-2); border-bottom: 1px solid var(--line);
    padding: .4rem clamp(1.15rem, 4vw, 2.5rem) 1.4rem; max-height: 80vh; overflow-y: auto;
  }
  .nav[hidden] { display: none; }
  .nav__link, .drop > summary { padding: .9rem .25rem; border-bottom: 1px solid var(--line-soft); font-size: .98rem; border-radius: 0; }
  .nav__link[aria-current="page"]::after, .drop[aria-current="page"] > summary::after { display: none; }
  .nav__link[aria-current="page"], .drop[aria-current="page"] > summary { color: var(--highway); }
  .drop { border-bottom: 0; }
  .drop__panel { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 .6rem 1rem; min-width: 0; }
  .drop__panel a { padding: .6rem .25rem; font-size: .92rem; }
  .nav__cta { margin: .9rem 0 0; padding: 0; border-left: 0; }
  .nav__cta .btn { flex: 1; }
  .nav-toggle { display: inline-block; order: 3; }
}
@media (max-width: 520px) { .brand__sub { display: none; } .brand__name { font-size: 1.5rem; } .brand__mark { width: 40px; height: 40px; } }

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

.hero { position: relative; min-height: min(90vh, 880px); display: flex; align-items: flex-end; overflow: hidden; }
.hero--short { min-height: min(58vh, 560px); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,11,.97) 2%, rgba(10,10,11,.6) 40%, rgba(10,10,11,.25) 72%, rgba(10,10,11,.55) 100%),
    radial-gradient(110% 70% at 20% 100%, rgba(226,85,47,.2), transparent 62%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero__title { max-width: 15ch; text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--highway); }
.hero__sub { max-width: 52ch; margin-top: 1.4rem; font-size: clamp(1.05rem, 1.55vw, 1.26rem); color: rgba(237,233,226,.88); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; margin-top: 2.1rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint);
}
.hero__meta span { display: flex; align-items: center; gap: .5rem; }
.hero__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--highway); }

/* -------------------------------------------------------------- sections -- */

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.75rem, 5.5vw, 4.25rem); }
.section--line { border-top: 1px solid var(--line-soft); }
.section--raise { background: var(--black-2); }

.section__head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head h2 { text-wrap: balance; }
.section__head p { margin-top: 1.15rem; }
.section__head--split { max-width: none; display: grid; gap: 1.25rem; align-items: end; }
@media (min-width: 860px) { .section__head--split { grid-template-columns: 1fr auto; } }

.split { display: grid; gap: clamp(2rem, 5vw, 4.25rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: .85fr 1.15fr; }
  .split--flip .split__media { order: -1; }
}
.split__media img { width: 100%; border-radius: var(--radius); }

.figure { margin: 0; }
.figure img { border-radius: var(--radius); width: 100%; }
.figure figcaption { margin-top: .8rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }

/* ---------------------------------------------------------------- cards --- */

.cards { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  overflow: hidden; border-radius: var(--radius); background: var(--black-3);
  border: 1px solid var(--line-soft); transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(245,241,234,.26); transform: translateY(-3px); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--black-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.3,1); }
.card:hover .card__img img { transform: scale(1.045); }
.card__body { padding: 1.35rem 1.45rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .55rem; }
.card__body p { font-size: .92rem; color: var(--text-dim); line-height: 1.6; }
.card__more { margin-top: auto; padding-top: 1rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--highway); }
.card__more::after { content: " →"; }

/* --------------------------------------------------------- artist cards --- */

.artist-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.artist {
  position: relative; display: block; text-decoration: none; overflow: hidden;
  border-radius: var(--radius); background: var(--black-3); border: 1px solid var(--line-soft);
  transition: border-color .2s ease, transform .2s ease;
}
.artist:hover { border-color: rgba(245,197,24,.5); transform: translateY(-3px); }
.artist__img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--black-2); position: relative; }
.artist__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.3,1); filter: saturate(.95); }
.artist:hover .artist__img img { transform: scale(1.05); }
.artist__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,11,.85), transparent 55%); }
.artist__body { padding: 1rem 1.15rem 1.25rem; }
.artist__name { font-family: var(--display); font-size: 1.3rem; line-height: 1.1; }
.artist__line { display: block; margin-top: .35rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.artist__badge {
  position: absolute; z-index: 2; left: .8rem; top: .8rem;
  font-family: var(--mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .3rem .55rem; border-radius: 2px; background: var(--highway); color: #0A0A0B; font-weight: 500;
}
.artist__badge--open { background: rgba(10,10,11,.75); color: var(--text-dim); border: 1px solid var(--line); }
.artist--placeholder .artist__img img { filter: grayscale(1) brightness(.55); }
.artist--placeholder:hover { border-color: var(--line); transform: none; }

/* -------------------------------------------------------------- tracklist -- */

.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.track {
  display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: center; gap: 1rem;
  padding: .95rem .6rem; border-bottom: 1px solid var(--line-soft);
  transition: background .15s ease;
}
.track:hover { background: rgba(245,241,234,.035); }
.track.is-playing { background: rgba(245,197,24,.07); }
.track__play {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.track__play svg { width: 14px; height: 14px; }
.track__play:hover { background: var(--highway); border-color: var(--highway); color: #0A0A0B; }
.track.is-playing .track__play { background: var(--highway); border-color: var(--highway); color: #0A0A0B; }
.track__name { font-weight: 500; font-size: .97rem; line-height: 1.35; }
.track__by { display: block; font-size: .82rem; color: var(--text-faint); margin-top: .1rem; }
.track__meta { display: flex; align-items: center; gap: 1rem; font-family: var(--mono); font-size: .72rem; color: var(--text-faint); }
.track__price { color: var(--highway); }
@media (max-width: 560px) { .track__meta .track__len { display: none; } }

/* ----------------------------------------------------------------- embeds -- */

.embed { border-radius: var(--radius); overflow: hidden; background: var(--black-2); border: 1px solid var(--line-soft); }
.embed iframe { width: 100%; border: 0; display: block; }
.embed--video iframe { aspect-ratio: 16 / 9; height: auto; }

.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--black-2); border: 1px solid var(--line-soft); }
.video-frame video { width: 100%; display: block; }

/* --------------------------------------------------------------- gallery --- */

.gallery { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--black-2); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.gallery figure:hover img { transform: scale(1.03); }

.mosaic { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 780px) { .mosaic { grid-template-columns: repeat(4, 1fr); } }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic__lead { grid-column: span 2; grid-row: span 2; }

/* ----------------------------------------------------------------- tiers --- */

.tiers { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }

.tier {
  display: flex; flex-direction: column; border-radius: var(--radius);
  background: var(--black-3); border: 1px solid var(--line-soft); padding: 1.85rem 1.7rem 1.9rem;
  position: relative; overflow: hidden;
}
.tier--feature { border-color: rgba(245,197,24,.55); background: linear-gradient(180deg, rgba(245,197,24,.07), transparent 45%), var(--black-3); }
.tier__flag {
  position: absolute; top: 0; right: 1.4rem;
  font-family: var(--mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  background: var(--highway); color: #0A0A0B; padding: .3rem .6rem; border-radius: 0 0 3px 3px; font-weight: 500;
}
.tier__name { font-family: var(--display); font-size: 1.7rem; line-height: 1.1; }
.tier__price { display: flex; align-items: baseline; gap: .35rem; margin-top: .9rem; }
.tier__amount { font-family: var(--display); font-size: 2.9rem; line-height: 1; color: var(--highway); }
.tier--feature .tier__amount { color: var(--highway); }
.tier__per { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--text-faint); }
.tier__pitch { margin-top: 1rem; font-size: .93rem; color: var(--text-dim); line-height: 1.6; }
.tier__list { list-style: none; margin: 1.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: .7rem; }
.tier__list li { position: relative; padding-left: 1.5rem; font-size: .92rem; color: var(--text-dim); line-height: 1.5; }
.tier__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 2px; background: var(--highway); }
.tier__list li strong { color: var(--text); font-weight: 600; }
.tier .btn { margin-top: 1.75rem; }

/* ------------------------------------------------------------ tip ladder --- */

.tipbox { border-radius: var(--radius); border: 1px solid var(--line); background: var(--black-3); padding: 1.6rem; }
.tip-amounts { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem; }
.tip-amounts button {
  font-family: var(--mono); font-size: .85rem; padding: .6rem 1rem; cursor: pointer;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.tip-amounts button:hover, .tip-amounts button[aria-pressed="true"] { background: var(--highway); border-color: var(--highway); color: #0A0A0B; }

.ranks { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.rank {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  padding: .8rem 1rem; border-radius: var(--radius); background: var(--black-3); border: 1px solid var(--line-soft);
}
.rank__badge {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .32rem .6rem; border-radius: 2px; white-space: nowrap; font-weight: 500;
}
.rank__badge--1 { background: rgba(245,241,234,.12); color: var(--text-dim); }
.rank__badge--2 { background: rgba(69,179,192,.18); color: var(--teal); }
.rank__badge--3 { background: rgba(226,85,47,.2); color: var(--neon-lift); }
.rank__badge--4 { background: var(--highway); color: #0A0A0B; }
.rank__badge--5 { background: linear-gradient(100deg, var(--highway), var(--neon)); color: #0A0A0B; }
.rank__what { font-size: .92rem; color: var(--text-dim); line-height: 1.5; }
.rank__what strong { color: var(--text); font-weight: 600; }
.rank__at { font-family: var(--mono); font-size: .78rem; color: var(--text-faint); white-space: nowrap; }
@media (max-width: 620px) {
  .rank { grid-template-columns: 1fr; gap: .5rem; }
  .rank__at { text-align: left; }
}

/* --------------------------------------------------------- leaderboard ----- */

.board { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.board li {
  display: grid; grid-template-columns: 2rem 1fr auto; gap: 1rem; align-items: center;
  padding: .8rem .4rem; border-bottom: 1px solid var(--line-soft); font-size: .93rem;
}
.board__pos { font-family: var(--mono); font-size: .8rem; color: var(--text-faint); }
.board li:nth-child(1) .board__pos { color: var(--highway); }
.board__who { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.board__amt { font-family: var(--mono); font-size: .85rem; color: var(--highway); }

/* ----------------------------------------------------------------- specs --- */

.specs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec { display: grid; gap: .3rem 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 720px) { .spec { grid-template-columns: 15rem 1fr; align-items: baseline; } }
.spec dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.spec dd { margin: 0; }
.spec dd small { display: block; color: var(--text-dim); font-size: .88rem; margin-top: .2rem; }

/* ---------------------------------------------------------------- stats ---- */

.stats { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--black); padding: 1.8rem 1.45rem; }
.stat__num { font-family: var(--display); font-size: clamp(2.3rem, 3.8vw, 3.1rem); line-height: 1; color: var(--highway); }
.stat__label { margin-top: .65rem; font-size: .87rem; color: var(--text-dim); line-height: 1.45; }

/* ------------------------------------------------------------- name grid --- */

.names { columns: 2; column-gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .names { columns: 3; } }
@media (min-width: 1000px) { .names { columns: 4; } }
.names li { break-inside: avoid; padding: .48rem 0; font-size: .95rem; border-bottom: 1px solid var(--line-soft); color: var(--text-dim); }

/* ----------------------------------------------------------------- quote --- */

.quote { border-left: 2px solid var(--highway); padding-left: clamp(1.25rem, 3vw, 2.25rem); }
.quote p { font-family: var(--display); font-size: clamp(1.45rem, 2.9vw, 2.25rem); line-height: 1.26; color: var(--text); }
.quote cite { display: block; margin-top: 1.15rem; font-style: normal; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }

/* ------------------------------------------------------------------ note --- */

.note { border: 1px dashed rgba(245,197,24,.45); background: rgba(245,197,24,.05); border-radius: var(--radius); padding: 1.3rem 1.45rem; font-size: .91rem; color: var(--text-dim); }
.note strong { display: block; color: var(--highway); font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .5rem; font-weight: 500; }
.note--neon { border-color: rgba(226,85,47,.5); background: rgba(226,85,47,.06); }
.note--neon strong { color: var(--neon-lift); }
.note a { color: var(--highway); }

/* ------------------------------------------------------------------- CTA --- */

.cta { position: relative; overflow: hidden; border-radius: var(--radius); }
.cta__media { position: absolute; inset: 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,10,11,.96) 10%, rgba(10,10,11,.75) 52%, rgba(10,10,11,.5) 100%); }
.cta__inner { position: relative; z-index: 1; padding: clamp(2.5rem, 6.5vw, 5rem) clamp(1.5rem, 5vw, 3.75rem); max-width: 58ch; }

/* ----------------------------------------------------------------- forms --- */

.form { display: grid; gap: 1.05rem; }
@media (min-width: 680px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--text);
  background: var(--black-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .82rem .9rem; width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--highway); outline: none; }
.form-msg { border-radius: var(--radius); border: 1px solid rgba(245,197,24,.45); background: rgba(245,197,24,.07); padding: 1rem 1.15rem; font-size: .92rem; color: var(--text-dim); }

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

.site-footer { border-top: 1px solid var(--line-soft); background: var(--black-2); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.15fr; } }
.footer-blurb { margin-top: 1.25rem; font-size: .93rem; color: var(--text-dim); max-width: 42ch; }
.footer-note { margin-top: .9rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.footer-h { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 1.05rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-list a { text-decoration: none; color: var(--text-dim); font-size: .92rem; }
.footer-list a:hover { color: var(--highway); }
.footer-list--inline { grid-auto-flow: column; justify-content: start; gap: 1.25rem; }
.footer-addr { font-style: normal; color: var(--text-dim); font-size: .93rem; line-height: 1.75; }
.footer-addr a { text-decoration: none; }
.footer-addr a:hover { color: var(--highway); }
.footer-bottom {
  margin-top: clamp(2.25rem, 5vw, 3.25rem); padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; font-size: .78rem; color: var(--text-faint);
}
.footer-demo { color: var(--neon); }

/* ------------------------------------------------------------ page head ---- */

.page-head { padding-block: clamp(3.25rem, 7vw, 5.5rem) clamp(1.75rem, 3.5vw, 2.75rem); }
.page-head h1 { font-size: clamp(2.5rem, 5.8vw, 4.4rem); max-width: 18ch; text-wrap: balance; }
.page-head .lede { margin-top: 1.4rem; max-width: 62ch; }

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

.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(16,16,19,.96);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-top: 1px solid rgba(245,197,24,.28);
}
.player[hidden] { display: none; }
.player__inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: .7rem clamp(1rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: 48px minmax(0,1fr) auto minmax(0,1.6fr) auto auto;
  align-items: center; gap: 1rem; min-height: var(--player-h);
}
.player__art { padding: 0; border: 1px solid var(--line); background: none; border-radius: 3px; overflow: hidden; width: 48px; height: 48px; cursor: pointer; }
.player__art img { width: 100%; height: 100%; object-fit: cover; }
.player__meta { display: flex; flex-direction: column; min-width: 0; }
.player__title { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__artist { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .15rem; }
.player__transport { display: flex; align-items: center; gap: .3rem; }
.player__btn {
  width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--text-dim);
  display: grid; place-items: center; cursor: pointer; transition: color .15s ease, background .15s ease;
}
.player__btn svg { width: 18px; height: 18px; }
.player__btn:hover { color: var(--text); background: rgba(245,241,234,.08); }
.player__btn--play { width: 40px; height: 40px; background: var(--highway); color: #0A0A0B; }
.player__btn--play:hover { background: #FFD733; color: #0A0A0B; }
.player__btn--play .icon-pause { display: none; }
.player.is-playing .player__btn--play .icon-play { display: none; }
.player.is-playing .player__btn--play .icon-pause { display: block; }
.player__scrub { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.player__time { font-family: var(--mono); font-size: .68rem; color: var(--text-faint); white-space: nowrap; }
.player__bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(245,241,234,.14); overflow: hidden; cursor: pointer; min-width: 60px; }
.player__fill { display: block; height: 100%; width: 0; background: var(--highway); border-radius: 2px; }
.player__out {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--highway); text-decoration: none; white-space: nowrap;
  border: 1px solid rgba(245,197,24,.4); padding: .5rem .75rem; border-radius: var(--radius);
}
.player__out:hover { background: rgba(245,197,24,.12); }

@media (max-width: 1000px) {
  .player__inner { grid-template-columns: 44px minmax(0,1fr) auto auto; gap: .75rem; }
  .player__scrub, .player__out { display: none; }
}
@media (max-width: 420px) {
  .player__transport .player__btn:not(.player__btn--play) { display: none; }
}

/* ------------------------------------------------------------ utilities ---- */

.stack > * + * { margin-top: 1.2rem; }
.mt-lg { margin-top: clamp(2.5rem, 5vw, 4rem); }
.mt-md { margin-top: 2rem; }
.mt-sm { margin-top: 1rem; }
.center { text-align: center; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   Additions — motto, join/login gates, charts, ad rails, social embeds
   ========================================================================== */

.footer-motto {
  margin-top: 1.1rem; font-family: var(--display); font-style: italic;
  font-size: 1.15rem; line-height: 1.3; color: var(--highway);
}

/* --- motto ribbon under the hero --- */
.motto {
  background: linear-gradient(90deg, rgba(245,197,24,.12), rgba(226,85,47,.1));
  border-block: 1px solid var(--line-soft);
}
.motto__inner {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  padding-block: 1rem; text-align: center;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text);
}
.motto__inner strong { color: var(--highway); font-weight: 500; }
@media (max-width: 640px) { .motto__inner { font-size: .64rem; letter-spacing: .14em; } }

/* --- join / login choice gate --- */
.choose { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 760px) { .choose { grid-template-columns: 1fr 1fr; } }

.choice {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--black-3);
  text-decoration: none; color: inherit; min-height: 340px;
  transition: border-color .2s ease, transform .2s ease;
}
.choice:hover { border-color: rgba(245,197,24,.55); transform: translateY(-3px); }
.choice__media { position: absolute; inset: 0; }
.choice__media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.choice__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--black-3) 12%, rgba(23,23,27,.55) 70%, transparent); }
.choice__body { position: relative; z-index: 1; padding: 2rem 1.9rem; margin-top: auto; display: flex; flex-direction: column; }
.choice__kicker { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--highway); }
.choice__title { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1.05; margin-top: .6rem; }
.choice__desc { display: block; margin-top: .8rem; color: var(--text-dim); font-size: .95rem; }
.choice__cta { display: inline-flex; align-self: flex-start; align-items: center; gap: .5rem; margin-top: 1.3rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.choice__cta::after { content: "→"; color: var(--highway); }
.choice--artist:hover { border-color: rgba(226,85,47,.6); }
.choice--artist .choice__kicker { color: var(--neon-lift); }

/* --- content + advertising rail --- */
.rail-layout { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 980px) { .rail-layout { grid-template-columns: 1fr 300px; } }
.adrail { display: grid; gap: 1rem; position: sticky; top: 104px; }
.ad {
  border: 1px dashed var(--line); border-radius: var(--radius); background: var(--black-2);
  display: grid; place-items: center; text-align: center; color: var(--text-faint);
  padding: 1.5rem; min-height: 250px;
}
.ad--wide { min-height: 120px; }
.ad__label { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; }
.ad__note { font-size: .82rem; margin-top: .5rem; max-width: 22ch; }
@media (max-width: 979px) { .adrail { grid-auto-flow: column; overflow-x: auto; } .ad { min-width: 260px; } }

/* --- charts --- */
.chart { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.chart__row {
  display: grid; grid-template-columns: 3rem 56px 1fr auto auto; gap: 1rem; align-items: center;
  padding: .85rem .5rem; border-bottom: 1px solid var(--line-soft); transition: background .15s ease;
}
.chart__row:hover { background: rgba(245,241,234,.035); }
.chart__pos { font-family: var(--display); font-size: 1.7rem; color: var(--text-faint); text-align: center; }
.chart__row:nth-child(1) .chart__pos, .chart__row:nth-child(2) .chart__pos, .chart__row:nth-child(3) .chart__pos { color: var(--highway); }
.chart__art { width: 56px; height: 56px; border-radius: 3px; overflow: hidden; background: var(--black-2); }
.chart__art img { width: 100%; height: 100%; object-fit: cover; }
.chart__title { font-weight: 600; font-size: .97rem; }
.chart__by { display: block; font-size: .82rem; color: var(--text-faint); margin-top: .1rem; }
.chart__move { font-family: var(--mono); font-size: .74rem; color: var(--text-faint); }
.chart__move--up { color: #6FCF97; }
.chart__move--new { color: var(--highway); }
.chart__play {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chart__play svg { width: 14px; height: 14px; }
.chart__play:hover { background: var(--highway); border-color: var(--highway); color: #0A0A0B; }
.chart__row.is-playing .chart__play { background: var(--highway); border-color: var(--highway); color: #0A0A0B; }
@media (max-width: 620px) {
  .chart__row { grid-template-columns: 2.2rem 48px 1fr auto; }
  .chart__move { display: none; }
  .chart__art { width: 48px; height: 48px; }
  .chart__pos { font-size: 1.3rem; }
}

/* --- social embeds --- */
.social-embed { border-radius: var(--radius); overflow: hidden; background: var(--black-2); border: 1px solid var(--line-soft); }
.social-embed iframe { width: 100%; border: 0; display: block; }
.channel-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.channel-btn {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1.15rem;
  color: var(--text); font-size: .9rem; transition: border-color .15s ease, background .15s ease;
}
.channel-btn:hover { border-color: var(--highway); background: rgba(245,197,24,.08); }
.channel-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.channel-btn small { display: block; color: var(--text-faint); font-size: .72rem; font-family: var(--mono); letter-spacing: .04em; }
