/* ==========================================================
   CITIZEN — one-page site
   Palette pulled from the Halcyon Blues artwork:
   chrome silver, deep ink blue-black, moonlight white.
   ========================================================== */
:root {
  --ink: #0b0c0e;
  --ink-2: #121418;
  --ink-3: #1a1d22;
  --silver: #c9ccd1;
  --silver-2: #9aa0a8;
  --moon: #f4f5f7;
  --halcyon: #9fb6c9;      /* cool blue from the cover photo */
  --line: rgba(244, 245, 247, .14);
  --line-2: rgba(244, 245, 247, .28);
  --mono: "Courier Prime", "Courier New", ui-monospace, monospace;
  --sans: "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --top-h: 92px;
  --rail-h: 56px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--moon);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--moon); outline-offset: 3px; }
::selection { background: var(--halcyon); color: var(--ink); }

/* ---------- ambient background ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg__art {
  position: absolute; inset: -10%;
  background: url("assets/halcyon-blues.jpg") center / cover no-repeat;
  filter: blur(60px) saturate(.7) brightness(.42);
  transform: scale(1.15);
  transition: opacity .9s var(--ease), filter .9s var(--ease);
}
body:not([data-section="home"]) .bg__art { opacity: .55; filter: blur(80px) saturate(.5) brightness(.28); }
.bg__sheen {
  position: absolute; inset: -40%;
  background:
    radial-gradient(40% 30% at 30% 35%, rgba(220, 226, 232, .16), transparent 70%),
    radial-gradient(30% 25% at 70% 65%, rgba(159, 182, 201, .14), transparent 70%),
    linear-gradient(115deg, transparent 40%, rgba(255,255,255,.05) 50%, transparent 60%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(-4%, -2%, 0) rotate(0deg); }
  100% { transform: translate3d(4%, 3%, 0) rotate(6deg); }
}
.bg__grain {
  position: absolute; inset: -50%;
  opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); }
  60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); }
}
.bg__vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, transparent 45%, rgba(0,0,0,.65)); }

/* light sweep on section change */
.sweep {
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(230,235,240,.10) 48%, rgba(255,255,255,.18) 50%, rgba(230,235,240,.10) 52%, transparent 65%);
  transform: translateX(-100%);
}
.sweep.go { animation: sweep .9s var(--ease); }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: var(--top-h);
  display: flex; justify-content: center; align-items: center;
  padding: 0 var(--gutter);
}
.top::before { /* soft dark halo so the centred links stay legible over any background */
  content: ""; position: absolute; left: 50%; top: 0; width: min(1100px, 92vw); height: 100%; transform: translateX(-50%);
  background: radial-gradient(60% 70% at 50% 45%, rgba(8,9,11,.55), transparent 75%); pointer-events: none; z-index: -1;
}
.brand { display: block; margin: 0 clamp(28px, 3vw, 48px); max-width: 160px; transition: max-width .5s var(--ease), margin .5s var(--ease); }
body[data-section="home"] .brand { max-width: 0; margin: 0 clamp(14px, 1.5vw, 24px); }
.top::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line); }
.brand img { height: 46px; width: auto; filter: drop-shadow(0 0 18px rgba(255,255,255,.18)); transition: opacity .5s var(--ease), transform .5s var(--ease); }
body[data-section="home"] .brand img { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.nav { display: flex; gap: clamp(26px, 3vw, 46px); }
.nav a, .tabs a {
  position: relative;
  font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--silver-2); padding: 6px 0; transition: color .3s;
}
.nav a { font-size: 16px; font-weight: 700; letter-spacing: .18em; color: var(--silver); padding: 8px 0; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.nav a::after { height: 2px; }
.nav a::after, .tabs a::after {
  content: ""; position: absolute; left: 0; right: .22em; bottom: 0; height: 1px; background: var(--moon);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav a:hover, .tabs a:hover { color: var(--moon); }
.nav a.is-active, .tabs a.is-active { color: var(--moon); }
.nav a.is-active::after, .tabs a.is-active::after { transform: scaleX(1); }
.tabs { display: none; }

/* ---------- stage + panels ---------- */
.stage { position: fixed; inset: var(--top-h) 0 var(--rail-h) 0; z-index: 10; }
.panel {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(18px) scale(.985);
  filter: blur(8px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease), visibility 0s linear .7s;
}
.panel.is-active {
  opacity: 1; visibility: visible; transform: none; filter: none;
  transition: opacity .7s var(--ease) .12s, transform .8s var(--ease) .12s, filter .7s var(--ease) .12s, visibility 0s;
}
.scroll {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 28px), transparent 100%);
}
.scroll::-webkit-scrollbar { width: 6px; }
.scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 36px var(--gutter) 56px; }
.wrap--narrow { max-width: 980px; }

.phead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.eyebrow { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--silver-2); }
.ptitle {
  margin: 0; font-family: var(--mono); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 7vw, 96px); line-height: .9; letter-spacing: .04em;
  background: linear-gradient(180deg, #ffffff 0%, #d9dce0 45%, #8e959e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.subhead { margin: 56px 0 18px; font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--silver-2); display: flex; align-items: center; gap: 16px; }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.note { margin: 36px 0 0; font-family: var(--mono); font-size: 12px; color: var(--silver-2); letter-spacing: .06em; }

/* chips + buttons */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--silver);
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--moon); color: var(--moon); }
.chip.is-on { background: var(--moon); color: var(--ink); border-color: var(--moon); }

.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  padding: 13px 20px; border: 1px solid var(--moon); color: var(--moon);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--moon); color: var(--ink); }
.btn--solid { background: var(--moon); color: var(--ink); }
.btn--solid:hover { background: transparent; color: var(--moon); }
.btn--ghost { border-color: var(--line-2); color: var(--silver); }
.btn--ghost:hover { border-color: var(--moon); }

/* ---------- HOME ---------- */
.panel--home { display: grid; place-items: center; padding: 0 var(--gutter); }
.home { width: 100%; max-width: 980px; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 4vh, 44px); text-align: center; }
.home__logo {
  width: min(560px, 78vw); height: auto;
  filter: drop-shadow(0 0 40px rgba(255,255,255,.22));
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.home__release { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); text-align: left; }
.home__cover { flex: 0 0 auto; width: clamp(130px, 16vw, 190px); aspect-ratio: 1; position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transition: transform .6s var(--ease); }
.home__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); background-size: 250% 100%; background-position: 100% 0; transition: background-position .9s var(--ease); }
.home__cover:hover { transform: translateY(-4px) rotate(-1deg); }
.home__cover:hover::after { background-position: -50% 0; }
.home__cover img { width: 100%; height: 100%; object-fit: cover; }
.home__title {
  margin: 0; font-family: var(--mono); font-weight: 400; text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 58px); line-height: 1; letter-spacing: .06em;
}
.home__label { display: inline-block; margin: 10px 0 0; opacity: .8; transition: opacity .3s; }
.home__label:hover { opacity: 1; }
.home__label svg { display: block; width: 78px; height: 78px; margin: -6px 0 -8px -9px; } /* SVG filter turns the black-on-white jpg into white on transparent */
@media (max-width: 820px) { .home__label svg { margin: -6px auto -8px; } }
.home .btns { margin-top: 18px; }

.polaroid { position: absolute; margin: 0; width: clamp(120px, 12vw, 180px); padding: 6px 6px 22px; background: #e9eaec; box-shadow: 0 18px 40px rgba(0,0,0,.55); filter: grayscale(1) contrast(1.05); opacity: .85; transition: transform .6s var(--ease), filter .6s, opacity .6s; }
.polaroid img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.polaroid--a { top: 6%; right: 5%; transform: rotate(5deg); }
.polaroid--b { bottom: 14%; left: 4%; transform: rotate(-6deg); }
.polaroid:hover { filter: none; opacity: 1; }

.nextshow {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; white-space: nowrap;
  padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(11,12,14,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; transition: border-color .3s, background .3s;
}
.nextshow:hover { border-color: var(--moon); background: rgba(11,12,14,.7); }
.nextshow__tag { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); background: var(--moon); padding: 3px 8px; border-radius: 999px; }
.nextshow__info { color: var(--silver); }
.nextshow__info b { color: var(--moon); font-weight: 500; }
.nextshow__arrow { transition: transform .3s var(--ease); }
.nextshow:hover .nextshow__arrow { transform: translateX(4px); }

/* ---------- MERCH ---------- */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 14px 0; margin-bottom: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.stores__label { color: var(--silver-2); }
.stores a { color: var(--moon); }
.stores a:hover { text-decoration: underline; text-underline-offset: 4px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 20px; }
.card { display: block; animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.card__img {
  position: relative; aspect-ratio: 1; overflow: hidden;
  background: radial-gradient(90% 90% at 50% 40%, #f2f3f5 0%, #c8cbd0 100%);
}
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.card__img .alt { opacity: 0; }
.card:hover .card__img img { transform: scale(1.04); }
.card:hover .card__img .alt { opacity: 1; }
.card:hover .card__img.has-alt .main { opacity: 0; }
.card__badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; background: var(--ink); color: var(--moon); padding: 4px 8px; }
.card__badge--new { background: var(--moon); color: var(--ink); }
.card__row { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; align-items: baseline; }
.card__t { font-size: 14px; line-height: 1.35; }
.card__p { font-family: var(--mono); font-size: 13px; color: var(--silver); white-space: nowrap; }
.card.is-soldout .card__img { filter: grayscale(1); opacity: .6; }
.card.is-soldout .card__p { text-decoration: line-through; color: var(--silver-2); }

/* ---------- MUSIC ---------- */
.feature { display: grid; grid-template-columns: minmax(240px, 440px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.feature__art { position: relative; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.feature__art img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feature__art::before { content: ""; position: absolute; inset: 4% -6% 4% 40%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, #1b1e23 0 18%, #0d0e10 19% 22%, #16181c 23% 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transform: translateX(0); transition: transform .9s var(--ease); }
.panel.is-active .feature__art::before { transform: translateX(14%); }
.feature__title { margin: 0; font-family: var(--mono); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 4.5vw, 60px); line-height: 1; letter-spacing: .05em; }
.feature__meta { margin: 10px 0 0; color: var(--silver-2); font-size: 14px; }
.tracks { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: t; columns: 2; column-gap: 32px; }
.tracks li { counter-increment: t; break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; display: flex; gap: 12px; }
.tracks li::before { content: counter(t, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--silver-2); padding-top: 2px; }

.spotify { margin-top: 48px; border-radius: 12px; overflow: hidden; background: var(--ink-2); }
.spotify iframe { display: block; width: 100%; height: 508px; border: 0; }
.spotify__hint { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
.spotify__arrow { display: inline-block; margin-right: 6px; color: var(--moon); animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }
.spotify__hint a { color: var(--moon); border-bottom: 1px solid var(--line-2); }
.spotify__hint a:hover { border-color: var(--moon); }

.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 26px 20px; }
.album { display: block; }
.album__art { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ink-3); }
.album__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; filter: grayscale(.35); }
.album:hover .album__art img { transform: scale(1.05); filter: none; }
.album__t { margin: 12px 0 2px; font-size: 14px; }
.album__y { font-family: var(--mono); font-size: 12px; color: var(--silver-2); letter-spacing: .1em; }
.album__links { display: flex; gap: 12px; margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.album__links a { color: var(--silver); border-bottom: 1px solid var(--line-2); }
.album__links a:hover { color: var(--moon); border-color: var(--moon); }

/* ---------- VIDEOS ---------- */
.player { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: end; margin-bottom: 40px; }
.player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__poster { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.player__poster img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); transition: filter .4s, transform .8s var(--ease); }
.player__poster:hover img { filter: brightness(.9); transform: scale(1.02); }
.playbtn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); background: rgba(11,12,14,.35); backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.playbtn::before { content: ""; margin-left: 5px; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.player__poster:hover .playbtn { transform: scale(1.08); background: rgba(255,255,255,.15); }
.player__title { margin: 0 0 20px; font-family: var(--mono); font-weight: 400; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; text-transform: uppercase; letter-spacing: .04em; }

.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 18px; }
.vcard { text-align: left; display: block; width: 100%; animation: rise .6s var(--ease) both; }
.vcard__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; filter: brightness(.82) saturate(.85); }
.vcard:hover .vcard__thumb img { transform: scale(1.05); filter: none; }
.vcard__thumb::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--moon); transition: box-shadow .3s; }
.vcard.is-playing .vcard__thumb::after { box-shadow: inset 0 0 0 2px var(--moon); }
.vcard__now { position: absolute; left: 8px; bottom: 8px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; background: var(--moon); color: var(--ink); padding: 3px 7px; display: none; }
.vcard.is-playing .vcard__now { display: block; }
.vcard__t { margin-top: 10px; font-size: 14px; line-height: 1.35; }
.vcard__k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-2); margin-top: 3px; }

/* ---------- TOUR ---------- */
.shows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.show { display: grid; grid-template-columns: 130px 1fr 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); animation: rise .6s var(--ease) both; transition: background .3s; }
.show:hover { background: linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent); }
.show__date { font-family: var(--mono); line-height: 1.05; }
.show__date b { display: block; white-space: nowrap; font-size: 30px; font-weight: 400; letter-spacing: .02em; }
.show__date span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-2); }
.show__venue { font-size: 16px; font-weight: 500; }
.show__det { display: block; color: var(--silver-2); font-size: 13px; font-weight: 400; margin-top: 2px; }
.show__city { color: var(--silver); font-size: 15px; }
.show .btn { padding: 10px 18px; font-size: 12px; }
.show.is-soldout .btn { border-color: var(--line-2); color: var(--silver-2); pointer-events: none; }
.shows__empty { padding: 40px 0; color: var(--silver-2); font-family: var(--mono); }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: minmax(260px, 1fr) 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about__photos { position: relative; padding-bottom: 22%; }
.about__ph { margin: 0; background: #e9eaec; padding: 8px 8px 30px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.about__ph img { width: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.about__ph:hover img { filter: none; }
.about__ph--main { width: 82%; transform: rotate(-2deg); }
.about__ph--main img { aspect-ratio: 1; }
.about__ph--alt { position: absolute; right: 0; bottom: 0; width: 56%; transform: rotate(4deg); }
.about__ph--alt img { aspect-ratio: 3 / 2; }
.lede { font-family: var(--mono); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; margin: 0 0 22px; }
.about__body p { color: var(--silver); max-width: 60ch; }
.about__body em { color: var(--moon); font-style: italic; }
.members { margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); border-top: 1px solid var(--line); }
.members div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.members dt { font-weight: 500; }
.members dd { margin: 2px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-2); }
.contact { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.socials--lg { margin-top: 26px; }
.socials--lg a { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; }
.socials--lg a:hover { border-color: var(--moon); }
.legal { margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; color: var(--silver-2); }
.legal a:hover { color: var(--moon); }

/* ---------- mailing list ---------- */
.joinlink {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--silver); border-bottom: 1px solid var(--line-2); padding: 4px 0; transition: color .3s, border-color .3s;
}
.joinlink:hover { color: var(--moon); border-color: var(--moon); }
.joinlink__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--halcyon); box-shadow: 0 0 0 0 rgba(159,182,201,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(159,182,201,.55); } 70% { box-shadow: 0 0 0 9px rgba(159,182,201,0); } 100% { box-shadow: 0 0 0 0 rgba(159,182,201,0); } }
.contact button { font-family: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit; padding: 0; }
.contact button:hover { text-decoration: underline; text-underline-offset: 4px; }

.signup {
  width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: 28px; border: 1px solid var(--line-2); color: var(--moon);
  background: linear-gradient(160deg, rgba(34,37,42,.96), rgba(13,14,17,.97));
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
}
.signup::backdrop { background: rgba(5,6,8,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.signup[open] { animation: popin .45s var(--ease); }
@keyframes popin { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.signup__close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; color: var(--silver); font-size: 14px; }
.signup__close:hover { color: var(--moon); background: rgba(255,255,255,.08); }
.signup__head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; padding-right: 24px; }
.signup__head img { width: 84px; flex: 0 0 auto; box-shadow: 0 14px 30px rgba(0,0,0,.6); }
.signup__title { margin: 0; font-family: var(--mono); font-weight: 400; font-size: 24px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.signup__sub { margin: 6px 0 0; color: var(--silver); font-size: 13.5px; line-height: 1.45; }
.signup__form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver-2); }
.field em { font-style: normal; text-transform: none; letter-spacing: .02em; opacity: .8; }
.field input {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--moon);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 0; transition: border-color .3s, background .3s;
}
.field input:focus { outline: none; border-color: var(--moon); background: rgba(255,255,255,.07); }
.field input[aria-invalid="true"] { border-color: #e7a3a3; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 11.5px; line-height: 1.45; color: var(--silver-2); cursor: pointer; }
.consent input { margin: 2px 0 0; accent-color: var(--moon); width: 16px; height: 16px; flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup__msg { margin: 0; min-height: 1.2em; font-size: 13px; }
.signup__msg.is-error { color: #f0b4b4; }
.signup__msg.is-success { color: #bfe3c6; }
.signup__submit { width: 100%; }
.signup__submit:disabled { opacity: .6; cursor: wait; }
.signup__fine { margin: 0; font-size: 11.5px; color: var(--silver-2); }
.signup__fine a { text-decoration: underline; text-underline-offset: 3px; }
.signup.is-done .signup__form > :not(.signup__msg) { display: none; }
.signup.is-done .signup__msg { font-family: var(--mono); font-size: 15px; padding: 18px 0 6px; }

/* ---------- in-site store viewer ---------- */
.chip--bag { background: var(--halcyon); color: var(--ink); border-color: var(--halcyon); }
.chip--bag:hover { background: var(--moon); color: var(--ink); }
.shop {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(15,16,19,.97), rgba(10,11,13,.99));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; transform: translateY(24px); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.shop.is-open { opacity: 1; transform: none; }
.shop__bar {
  position: sticky; top: 0; z-index: 2; flex: 0 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 68px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line-2);
  background: rgba(11,12,14,.92);
}
.shop__back {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  padding: 11px 18px; background: var(--moon); color: var(--ink); border: 1px solid var(--moon);
  transition: background .3s, color .3s;
}
.shop__back span { font-size: 16px; transition: transform .3s var(--ease); }
.shop__back:hover { background: transparent; color: var(--moon); }
.shop__back:hover span { transform: translateX(-3px); }
.shop__logo { height: 34px; width: auto; }
.shop__bagbtn { justify-self: end; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; }
.shop__bagbtn:hover { border-color: var(--moon); }
.shop__scroll { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
body.shop-open { overflow: hidden; }

.pdp { max-width: 1180px; margin: 0 auto; padding: 40px var(--gutter) 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pdp__gallery { position: sticky; top: 24px; }
.pdp__main { aspect-ratio: 1; background: radial-gradient(90% 90% at 50% 40%, #f2f3f5 0%, #c8cbd0 100%); }
.pdp__main img { width: 100%; height: 100%; object-fit: contain; padding: 5%; }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.pdp__thumbs button { width: 72px; aspect-ratio: 1; background: #d9dbdf; border: 1px solid transparent; opacity: .6; transition: opacity .3s, border-color .3s; }
.pdp__thumbs button.is-on, .pdp__thumbs button:hover { opacity: 1; border-color: var(--moon); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.pdp__title { margin: 0; font-family: var(--mono); font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; text-transform: uppercase; letter-spacing: .03em; }
.pdp__price { margin: 12px 0 0; font-family: var(--mono); font-size: 22px; color: var(--silver); }
.pdp__soldout { display: inline-block; margin: 12px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line-2); color: var(--silver-2); }
.pdp__opts { border: 0; padding: 0; margin: 26px 0 0; }
.pdp__opts legend { padding: 0; margin-bottom: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--silver-2); }
.pdp__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span { display: inline-block; min-width: 56px; padding: 11px 14px; text-align: center; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.size:hover span { border-color: var(--moon); }
.size input:checked + span { background: var(--moon); color: var(--ink); border-color: var(--moon); }
.size input:focus-visible + span { outline: 1px solid var(--moon); outline-offset: 3px; }
.size.is-out span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.pdp__buy { display: flex; gap: 10px; margin-top: 24px; }
.pdp__add { flex: 1; }
.pdp__add:disabled { opacity: .45; cursor: not-allowed; background: transparent; color: var(--silver-2); border-color: var(--line-2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.qty button { width: 40px; height: 46px; font-size: 18px; color: var(--silver); }
.qty button:hover { color: var(--moon); background: rgba(255,255,255,.06); }
.qty span { min-width: 28px; text-align: center; font-family: var(--mono); }
.pdp__msg { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; color: #bfe3c6; }
.linkbtn { font: inherit; color: var(--moon); text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.pdp__desc { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--silver); font-size: 14px; }
.pdp__desc p { margin: 0 0 12px; }
.pdp__desc table { border-collapse: collapse; margin: 8px 0 16px; font-family: var(--mono); font-size: 12.5px; }
.pdp__desc td, .pdp__desc th { border: 1px solid var(--line); padding: 6px 12px; text-align: left; }
.pdp__desc tr:first-child td { color: var(--moon); }
.pdp__ext { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver-2); border-bottom: 1px solid var(--line-2); }
.pdp__ext:hover { color: var(--moon); border-color: var(--moon); }

.bag { max-width: 820px; margin: 0 auto; padding: 40px var(--gutter) 64px; }
.bag--empty { text-align: center; padding-top: 12vh; }
.bag--empty p { color: var(--silver); margin: 12px 0 24px; }
.bag__list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.bag__item { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bag__img { width: 84px; aspect-ratio: 1; background: radial-gradient(90% 90% at 50% 40%, #f2f3f5 0%, #c8cbd0 100%); }
.bag__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.bag__meta { display: grid; gap: 2px; justify-items: start; }
.bag__t { font-size: 15px; text-align: left; padding: 0; }
.bag__t:hover { text-decoration: underline; text-underline-offset: 3px; }
.bag__v, .bag__p { font-family: var(--mono); font-size: 12px; color: var(--silver-2); letter-spacing: .06em; }
.bag__rm { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-2); }
.bag__rm:hover { color: var(--moon); }
.bag__foot { display: grid; gap: 12px; margin-top: 26px; max-width: 360px; margin-left: auto; }
.bag__total { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 16px; text-transform: uppercase; letter-spacing: .1em; }
.bag__note { margin: 0; font-size: 12.5px; color: var(--silver-2); }

/* store FAQ (shown in the same full-screen viewer) */
.faq { max-width: 820px; margin: 0 auto; padding: 40px var(--gutter) 72px; }
.faq__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.faq__group .subhead { margin-top: 44px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 18px 0; font-size: 16px; font-weight: 500; transition: color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: 0 0 auto; font-family: var(--mono); font-size: 22px; line-height: 1; color: var(--silver-2); transition: transform .35s var(--ease), color .25s; }
.faq__item summary:hover, .faq__item summary:hover::after { color: var(--moon); }
.faq__item[open] summary::after { transform: rotate(45deg); color: var(--moon); }
.faq__item p { margin: 0 0 20px; color: var(--silver); max-width: 64ch; animation: rise .4s var(--ease) both; }
.faq__help { margin-top: 48px; padding: 26px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.faq__help > p { margin: 0; font-family: var(--mono); font-size: 18px; }
.faq__help .btns { margin-top: 16px; }

/* ---------- footer rail ---------- */
.rail {
  position: fixed; inset: auto 0 0 0; z-index: 30; height: var(--rail-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter);
}
.rail::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line); }
.rail__count { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--silver-2); }
.rail__count #railNum { color: var(--moon); }
.rail__sep { width: 34px; height: 1px; background: var(--line-2); }
.rail__arrows { display: flex; justify-content: flex-end; gap: 6px; }
.rail__arrows button { width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; font-family: var(--mono); transition: border-color .3s, background .3s, color .3s; }
.rail__arrows button:hover { background: var(--moon); color: var(--ink); border-color: var(--moon); }
.socials { display: flex; gap: 16px; align-items: center; }
.socials a { color: var(--silver); transition: color .3s, transform .3s var(--ease); display: grid; place-items: center; }
.socials a:hover { color: var(--moon); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ==========================================================
   Tablet / mobile
   ========================================================== */
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; }
  .feature__art { max-width: 420px; }
  .player { grid-template-columns: 1fr; gap: 16px; }
  .player__title { margin-bottom: 12px; }
  .about { grid-template-columns: 1fr; }
  .about__photos { max-width: 520px; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .nav { gap: 22px; }
  .nav a { font-size: 14px; letter-spacing: .14em; }
  .brand { margin: 0 22px; }
  .brand img { height: 38px; }
}

@media (max-width: 820px) {
  .shop__bar { height: 60px; padding: 0 12px; grid-template-columns: auto 1fr auto; gap: 10px; }
  .shop__back { font-size: 12px; padding: 10px 12px; letter-spacing: .1em; }
  .shop__logo { justify-self: center; height: 26px; }
  .shop__bagbtn { font-size: 11px; padding: 9px 12px; }
  .pdp { grid-template-columns: 1fr; padding-top: 20px; gap: 22px; padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
  .pdp__gallery { position: static; }
  .pdp__thumbs button { width: 58px; }
  .bag__item { grid-template-columns: 64px 1fr auto; grid-template-areas: "i m m" "i q r"; gap: 8px 14px; }
  .bag__img { grid-area: i; width: 64px; }
  .bag__meta { grid-area: m; }
  .bag__item .qty { grid-area: q; justify-self: start; }
  .bag__rm { grid-area: r; }
  .bag__foot { max-width: none; }
  :root { --top-h: 104px; --rail-h: 0px; }
  .top::before { display: none; }
  .brand, body[data-section="home"] .brand { max-width: none; margin: 0; }
  .top { display: grid; grid-template-columns: 1fr; grid-template-rows: 58px 46px; padding: 0; background: linear-gradient(180deg, rgba(11,12,14,.92), rgba(11,12,14,.72)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .top::after { left: 0; right: 0; }
  .nav { display: none; }
  .brand { justify-self: center; }
  .brand img { height: 36px; }
  body[data-section="home"] .brand img { opacity: 1; transform: none; pointer-events: auto; }
  .tabs {
    display: grid; grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid var(--line); height: 46px; align-items: stretch;
  }
  .tabs a { display: grid; place-items: center; font-size: 10.5px; letter-spacing: .12em; padding: 0; }
  .tabs a::after { left: 22%; right: 22%; bottom: -1px; height: 2px; transform-origin: center; }
  .rail { display: none; }

  .wrap { padding-top: 24px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  .phead { margin-bottom: 20px; gap: 16px; }
  .ptitle { font-size: clamp(40px, 13vw, 64px); }
  .chips { gap: 6px; }
  .chip { padding: 8px 12px; font-size: 11px; }

  .panel--home { padding: 0 16px; }
  .home { gap: 22px; margin-top: -40px; }
  .home__logo { display: none; }
  .home__release { flex-direction: column; text-align: center; gap: 18px; }
  .home__cover { width: min(58vw, 240px); }
  .home .btns { justify-content: center; }
  .home .btn { padding: 12px 16px; font-size: 12px; }
  .polaroid { display: none; }
  .joinlink { font-size: 11px; letter-spacing: .06em; margin-top: 14px; }
  .signup { margin: auto auto 0; width: 100vw; max-width: 100vw; max-height: 92dvh; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); border-width: 1px 0 0; }
  .signup[open] { animation: sheet .45s var(--ease); }
  @keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }
  .signup__head img { width: 64px; }
  .signup__title { font-size: 20px; }
  .nextshow { bottom: calc(16px + env(safe-area-inset-bottom)); max-width: calc(100% - 32px); font-size: 12px; gap: 10px; padding: 9px 14px; }
  .nextshow__info { overflow: hidden; text-overflow: ellipsis; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .card__row { flex-direction: column; gap: 2px; }
  .card__t { font-size: 13px; }
  .stores { gap: 8px 16px; font-size: 11px; }
  .stores__label { width: 100%; }

  .tracks { columns: 1; }
  .spotify iframe { height: 540px; }
  .albums { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }

  .vgrid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .vcard__t { font-size: 12.5px; }

  .show { grid-template-columns: 92px 1fr; grid-template-areas: "d v" "d c" "b b"; gap: 4px 14px; padding: 18px 0; }
  .show__date { grid-area: d; align-self: start; }
  .show__date b { font-size: 21px; }
  .show__venue { grid-area: v; }
  .show__city { grid-area: c; font-size: 14px; }
  .show .btn { grid-area: b; margin-top: 12px; width: 100%; }

  .about__photos { padding-bottom: 26%; }
}

@media (max-width: 380px) {
  .tabs a { font-size: 9.5px; letter-spacing: .08em; }
}

@media (max-height: 700px) and (min-width: 821px) {
  .home__logo { width: min(400px, 60vw); }
  .home__cover { width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .sweep { display: none; }
}
