/* ===========================================================
   CHIARA OLIVER — FAN HUB
   Dark / editorial / electric-blue
   Inspired by PageCoder (mood) + Paramore (fan-hub structure)
   =========================================================== */

:root {
  /* --- accent (overridable via Tweaks) --- */
  --blue:        #3d8bff;
  --blue-bright: #66a4ff;
  --blue-deep:   #2f6bff;
  --blue-glow:   color-mix(in oklab, var(--blue) 40%, transparent);

  /* --- surfaces (cool near-black) --- */
  --bg:    #090b11;
  --bg-2:  #0c0f17;
  --panel: #10141d;
  --card:  rgba(255, 255, 255, 0.022);
  --card-hi: rgba(255, 255, 255, 0.05);

  /* --- ink --- */
  --ink:   #eef1f7;
  --muted: #8b94a6;
  --faint: #59616f;
  --line:  rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  /* --- type (overridable via Tweaks) --- */
  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 124px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* soft ambient glow texture on the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 78% -8%, color-mix(in oklab, var(--blue) 16%, transparent), transparent 60%),
    radial-gradient(700px 600px at -10% 18%, color-mix(in oklab, var(--blue) 9%, transparent), transparent 55%);
}

body.no-glow::before { opacity: 0; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 22px; height: 1px;
  background: var(--blue);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; }
em.accent { font-style: italic; color: var(--blue-bright); }

.section { padding: 116px 0; position: relative; }
.section-head { margin-bottom: 54px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 58px); margin-top: 18px; }
.section-head p { color: var(--muted); max-width: 540px; margin-top: 16px; font-size: 18px; }
.divider { height: 1px; background: var(--line); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.05em;
  padding: 14px 22px; border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer; transition: all .22s ease;
  white-space: nowrap;
}
.btn .ic { width: 16px; height: 16px; }
.btn-primary {
  background: var(--blue);
  color: #051022;
  font-weight: 600;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--blue) 50%, transparent),
              0 14px 40px -12px var(--blue-glow);
}
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--blue), 0 20px 48px -12px var(--blue-glow); }
.btn-ghost {
  background: rgba(255,255,255,0.02);
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-bright); background: color-mix(in oklab, var(--blue) 8%, transparent); }

/* ========================================================
   NAV
   ======================================================== */
/* nav-root must not constrain the sticky wrapper height */
#nav-root { display: contents; }
.nav-sticky-wrap { position: sticky; top: 0; z-index: 50; }
header.nav {
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 3px; line-height: 1; }
.brand-logo { height: 38px; width: auto; display: block; filter: drop-shadow(0 0 16px color-mix(in oklab, var(--blue) 30%, transparent)); }
.brand-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted); padding-left: 0.42em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.05em;
  color: var(--muted); transition: color .18s; position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--blue); transition: width .22s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-app {
  display: none; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--muted); padding: 8px 0; transition: color .18s;
}
.nav-app svg { width: 16px; height: 16px; }
.nav-app:hover { color: var(--blue-bright); }
.nav-user {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px; border-radius: 10px; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--ink); transition: all .2s;
  font-size: 13px; font-weight: 500;
}
.nav-user svg { width: 18px; height: 18px; flex: none; }
.nav-user:hover { border-color: var(--blue); color: var(--blue-bright); background: color-mix(in oklab, var(--blue) 8%, transparent); }
.nav-sep { width: 1px; height: 26px; background: var(--line-2); }

/* ---- logged-in account chip ---- */
.nav-auth { display: flex; align-items: center; }
.nav-account {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 7px 5px 7px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: color-mix(in oklab, var(--blue) 6%, transparent);
}
.nav-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  color: #d4e3ff;
  background: color-mix(in oklab, var(--blue) 32%, var(--panel));
  border: 1px solid color-mix(in oklab, var(--blue) 55%, transparent);
}
.nav-account-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.nav-account-name {
  font-size: 13px; font-weight: 600; color: var(--ink);
  max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-account-role {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--faint);
}
.nav-account-role.is-admin { color: var(--blue-bright); }
.nav-signout {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--muted);
  transition: all .18s;
}
.nav-signout svg { width: 16px; height: 16px; }
.nav-signout:hover {
  color: #ff6b6b;
  border-color: color-mix(in oklab, #ff6b6b 55%, transparent);
  background: color-mix(in oklab, #ff6b6b 12%, transparent);
}
/* when signed in, drop the Spotify CTA entirely — the nav is busy enough */
.nav.is-authed .nav-cta #navListen,
.nav.is-authed .nav-cta .nav-sep { display: none; }
/* Monitor link only for signed-in users */
.nav.is-authed .nav-app { display: inline-flex; }

@media (max-width: 980px) { .nav-links { display: none; } }
@media (max-width: 560px) {
  .nav-app span, .nav-cta .btn-primary span.lbl { display: none; }
  .nav-sep { display: none; }
  .nav-account-info, .nav-user-lbl { display: none; }
  .nav-user { padding: 0; width: 40px; justify-content: center; }
}

/* ---------- ticker ---------- */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  display: flex; align-items: center; overflow: hidden;
}
.ticker-label {
  flex: none;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); padding: 11px 22px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}
.ticker-label .arrow { color: var(--blue); }
.ticker-track { overflow: hidden; flex: 1; }
.ticker-move { display: inline-flex; gap: 0; white-space: nowrap; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move span {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-bright); padding: 11px 30px; display: inline-flex; align-items: center; gap: 30px;
}
.ticker-move span::after { content: "✦"; color: var(--faint); font-size: 9px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 620px) { .ticker-label { display: none; } }

/* ========================================================
   HERO
   ======================================================== */
.hero { position: relative; min-height: calc(100dvh - 116px); display: flex; align-items: center; padding: 48px 0; overflow: hidden; }
.hero-grid { width: 100%; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: 100px; padding: 7px 15px;
  margin-bottom: 28px;
}
.hero-chip .pin { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.hero h1 { font-size: clamp(58px, 8.6vw, 124px); line-height: 0.92; letter-spacing: -0.02em; }
.hero h1 .ln2 { display: block; }
.hero-sub { color: var(--muted); font-size: 19px; max-width: 440px; margin: 30px 0 8px; }
.hero-route { font-family: var(--mono); font-size: 13px; color: var(--faint); letter-spacing: 0.04em; margin-bottom: 30px; }
.hero-route b { color: var(--blue-bright); font-weight: 500; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.soc {
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--muted); transition: all .2s;
}
.soc:hover { color: var(--blue-bright); border-color: var(--blue); transform: translateY(-2px); background: color-mix(in oklab, var(--blue) 8%, transparent); }
.soc svg { width: 18px; height: 18px; }

/* hero artwork */
.hero-art { position: relative; }
.hero-art .frame {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.03);
  aspect-ratio: 1; rotate: 1.5deg;
}
.hero-art .frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.04); }
.hero-art .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(9,11,17,0.55));
  mix-blend-mode: multiply;
}
.hero-art .tag {
  position: absolute; left: -16px; bottom: 26px;
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 12px 16px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.9);
}
.hero-art .tag .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-bright); }
.hero-art .tag .v { font-family: var(--serif); font-size: 22px; font-style: italic; }
.hero-art .glow {
  position: absolute; inset: -30px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--blue-glow), transparent 70%);
  filter: blur(20px); opacity: 0.7;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { max-width: 380px; }
}

/* ========================================================
   FEATURED ALBUM
   ======================================================== */
.feature { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.rain-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.82;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.5) 75%, transparent 100%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.5) 75%, transparent 100%);
}
.feature-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.feature-cover { position: relative; }
.feature-cover img { border-radius: 14px; border: 1px solid var(--line-2); width: 100%; }
.feature-cover .ring {
  position: absolute; inset: -14px; border: 1px solid var(--line); border-radius: 20px; z-index: -1;
}
.feature h2 { font-size: clamp(44px, 6vw, 84px); font-style: italic; margin: 18px 0 6px; }
.feature .meta { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 22px; }
.feature .desc { color: var(--muted); max-width: 460px; font-size: 18px; margin-bottom: 30px; }
.feature-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.stat .n { font-family: var(--serif); font-size: 34px; line-height: 1; }
.stat .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-top: 7px; }
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr; gap: 40px; } .feature-cover { max-width: 340px; } }

/* ========================================================
   MUSIC / DISCOGRAPHY
   ======================================================== */
.music-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.spotify-embed { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); min-height: 380px; }
.spotify-embed iframe { display: block; border: 0; width: 100%; }
.disco { display: flex; flex-direction: column; gap: 14px; }
.disco-card {
  position: relative;
  display: flex; align-items: center; gap: 18px;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; transition: all .2s;
  background-color: #0c0f17;
  background-image:
    linear-gradient(270deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.02) 40%, transparent 72%),
    radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1.4px);
  background-size: auto, 13px 13px;
  background-repeat: no-repeat, repeat;
}
.disco-card:hover {
  border-color: var(--blue); transform: translateX(4px);
  background-image:
    linear-gradient(270deg, color-mix(in oklab, var(--blue) 16%, transparent) 0%, color-mix(in oklab, var(--blue) 5%, transparent) 42%, transparent 74%),
    radial-gradient(circle, color-mix(in oklab, var(--blue) 22%, transparent) 1px, transparent 1.4px);
}
.disco-thumb { width: 58px; height: 58px; border-radius: 8px; flex: none; }
.disco-info { flex: 1; min-width: 0; }
.disco-info .kind { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); }
.disco-info .ttl { font-family: var(--serif); font-size: 23px; font-style: italic; margin: 2px 0; }
.disco-info .sub { font-size: 13.5px; color: var(--muted); }
.disco-card.latest {
  border-color: color-mix(in oklab, var(--blue) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--blue) 28%, transparent), 0 20px 44px -24px var(--blue-glow);
  background-color: color-mix(in oklab, var(--blue) 13%, #0c0f17);
  background-image:
    linear-gradient(270deg, color-mix(in oklab, var(--blue) 40%, transparent) 0%, color-mix(in oklab, var(--blue) 13%, transparent) 46%, transparent 78%),
    radial-gradient(circle, color-mix(in oklab, var(--blue) 42%, transparent) 1px, transparent 1.4px);
  background-size: auto, 13px 13px;
  background-repeat: no-repeat, repeat;
}
.disco-card.latest:hover {
  border-color: var(--blue);
  background-image:
    linear-gradient(270deg, color-mix(in oklab, var(--blue) 48%, transparent) 0%, color-mix(in oklab, var(--blue) 16%, transparent) 46%, transparent 78%),
    radial-gradient(circle, color-mix(in oklab, var(--blue) 50%, transparent) 1px, transparent 1.4px);
}
.disco-card.latest .kind { color: var(--blue-bright); }
.new-badge {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #051022; background: var(--blue); padding: 2px 7px; border-radius: 100px; margin-left: 8px;
  vertical-align: middle;
}
.disco-card .go { color: var(--faint); transition: all .2s; flex: none; }
.disco-card:hover .go { color: var(--blue-bright); transform: translateX(3px); }
@media (max-width: 820px) { .music-grid { grid-template-columns: 1fr; } }

/* ========================================================
   TOUR
   ======================================================== */
.tour { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tour-list { display: flex; flex-direction: column; }
.tour-row {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 28px; align-items: center;
  padding: 26px 6px; border-top: 1px solid var(--line); transition: all .2s;
}
.tour-row:last-child { border-bottom: 1px solid var(--line); }
.tour-row:hover { background: color-mix(in oklab, var(--blue) 5%, transparent); padding-left: 18px; padding-right: 18px; }
.tour-date { font-family: var(--serif); }
.tour-date .d { font-size: 38px; line-height: 1; }
.tour-date .m { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-bright); margin-top: 4px; }
.tour-city .c { font-size: 22px; font-family: var(--serif); }
.tour-city .v { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; margin-top: 3px; }
@media (max-width: 680px) {
  .tour-row { grid-template-columns: 84px 1fr; grid-template-areas: "date city" "date btn"; row-gap: 14px; }
  .tour-date { grid-area: date; } .tour-city { grid-area: city; } .tour-row .btn { grid-area: btn; justify-self: start; }
  .tour-date .d { font-size: 30px; }
}

/* ========================================================
   VIDEOS
   ======================================================== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); transition: all .2s; }
.video-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.video-frame { aspect-ratio: 16/9; background: #000; position: relative; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-meta { padding: 15px 17px; }
.video-meta .t { font-family: var(--serif); font-size: 20px; font-style: italic; }
.video-meta .s { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }
@media (max-width: 820px) { .video-grid { grid-template-columns: 1fr; max-width: 480px; } }

/* ========================================================
   NEWS
   ======================================================== */
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-auto-rows: 1fr; gap: 22px; }
.news-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--card); transition: all .22s; min-height: 0;
}
.news-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 30px 60px -34px var(--blue-glow); }
.news-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-cat { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-bright); display: flex; gap: 12px; align-items: center; }
.news-cat .date { color: var(--faint); }
.news-card h3 { font-size: 22px; line-height: 1.18; }
.news-card.feat { grid-row: span 2; }
.news-card.feat .news-thumb { aspect-ratio: auto; flex: 1; min-height: 230px; }
.news-card.feat h3 { font-size: clamp(26px, 3vw, 38px); }
.news-card.feat .excerpt { color: var(--muted); font-size: 16px; }
.news-card .more { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--blue-bright); margin-top: auto; display: inline-flex; gap: 8px; align-items: center; }
.news-card:hover .more .ar { transform: translateX(4px); transition: transform .2s; }
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.feat { grid-column: span 2; grid-row: auto; }
  .news-card.feat .news-thumb { min-height: 0; aspect-ratio: 16/9; }
}
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } .news-card.feat { grid-column: auto; } }

/* ========================================================
   SOCIAL
   ======================================================== */
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.social-card {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px;
  overflow: hidden;
  background-color: #0c0f17;
  background-image:
    linear-gradient(250deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 38%, transparent 68%),
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1.4px);
  background-size: auto, 13px 13px;
  background-repeat: no-repeat, repeat;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.social-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity .22s ease;
  background: radial-gradient(420px 160px at 100% 0%, var(--sc-accent, var(--blue-glow)), transparent 70%);
}
.social-card:hover {
  border-color: color-mix(in oklab, var(--sc-accent, var(--blue)) 60%, transparent);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -26px color-mix(in oklab, var(--sc-accent, var(--blue)) 60%, transparent);
}
.social-card:hover::before { opacity: .5; }
.social-ic {
  position: relative; z-index: 1;
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  border: 1px solid color-mix(in oklab, var(--sc-accent, var(--blue)) 30%, var(--line-2));
  color: var(--sc-accent, var(--blue-bright));
  background: color-mix(in oklab, var(--sc-accent, var(--blue)) 14%, transparent);
  flex: none; transition: all .22s ease;
}
.social-card:hover .social-ic {
  background: color-mix(in oklab, var(--sc-accent, var(--blue)) 22%, transparent);
  transform: scale(1.05);
}
.social-ic svg { width: 22px; height: 22px; }
.sc-text { position: relative; z-index: 1; flex: 1; min-width: 0; }
.social-card .h { font-size: 16px; font-weight: 600; }
.social-card .m { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 2px; letter-spacing: 0.03em; }
.sc-go { position: relative; z-index: 1; color: var(--faint); flex: none; transition: all .22s ease; }
.social-card:hover .sc-go { color: var(--sc-accent, var(--blue-bright)); transform: translate(3px,-3px); }
/* per-brand accents */
.sc--ig  { --sc-accent: #e1306c; }
.sc--tt  { --sc-accent: #25f4ee; }
.sc--yt  { --sc-accent: #ff4e45; }
.sc--sp  { --sc-accent: #1ed760; }
.sc--tw  { --sc-accent: #6aa6ff; }
.sc--web { --sc-accent: var(--blue); }
@media (max-width: 820px) { .social-grid { grid-template-columns: 1fr; } }

/* ========================================================
   CLOSER + FOOTER
   ======================================================== */
.closer { text-align: center; padding: 130px 0; position: relative; }
.closer h2 { font-size: clamp(42px, 6.5vw, 92px); }
.closer p { color: var(--muted); font-size: 19px; margin: 22px auto 36px; max-width: 460px; }
.closer-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

footer { border-top: 1px solid var(--line); padding: 64px 0 56px; background: var(--bg-2); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.footer-logo { height: 60px; width: auto; filter: drop-shadow(0 0 20px color-mix(in oklab, var(--blue) 22%, transparent)); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials .soc { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.03); }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.05em; color: var(--muted); transition: color .18s; cursor: pointer; }
.footer-nav a:hover, .footer-nav a.active { color: var(--blue-bright); }
.footer-inner .legal { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 0.05em; }

/* ---------- aviso legal modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4, 6, 10, 0.74); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px;
  max-width: 580px; width: 100%; padding: 40px 40px 36px; position: relative;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.03);
  transform: translateY(14px) scale(0.985); transition: transform .28s cubic-bezier(.2,.7,.2,1);
}
.modal-overlay.open .modal { transform: none; }
.modal h3 { font-size: 30px; margin: 16px 0 18px; }
.modal p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.modal p + p { margin-top: 14px; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 9px; cursor: pointer;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--muted);
  font-size: 20px; line-height: 1; display: grid; place-items: center; transition: all .18s;
}
.modal-close:hover { color: var(--ink); border-color: var(--line-2); }

/* ---------- placeholder imagery ---------- */
.ph {
  background-color: var(--panel);
  background-image: repeating-linear-gradient(135deg,
    rgba(255,255,255,0.028) 0 12px, transparent 12px 24px);
  display: grid; place-items: center; position: relative;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint); text-align: center; padding: 10px;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .ticker-move { animation: none; } }
/* ========================================================
   NAV — ADDITIONS for unified nav.js
   Append to landing.css (the rest of nav styles already in file).
   ======================================================== */

/* Hamburger button — hidden on desktop, shown on mobile */
.nav-burger {
    display: none;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    align-items: center; justify-content: center;
    transition: all .18s;
}
.nav-burger:hover {
    border-color: var(--blue);
    color: var(--blue-bright);
    background: color-mix(in oklab, var(--blue) 8%, transparent);
}
.nav-burger svg { width: 20px; height: 20px; }

/* Active link state (matches hover underline but stays visible) */
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; }

/* ---- Mobile drawer ---- */
.nav-drawer {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 22px;
    flex-direction: column;
    gap: 4px;
}
.nav-drawer.open { display: flex; }

.nav-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
}
.nav-drawer-links a {
    font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em;
    color: var(--muted);
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    transition: color .18s;
}
.nav-drawer-links a:last-child { border-bottom: none; }
.nav-drawer-links a:hover,
.nav-drawer-links a.active { color: var(--ink); }

.nav-drawer-account {
    display: flex; align-items: center; gap: 10px;
    padding: 10px;
    border: 1px solid var(--line-2); border-radius: 12px;
    background: color-mix(in oklab, var(--blue) 6%, transparent);
}
.nav-drawer-account .nav-account-name { max-width: none; }

.nav-drawer-signin {
    margin-top: 0;
    height: auto;
    justify-content: flex-start;
    border: none;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 0;
    background: transparent;
    width: 100%;
}

/* ---- Mobile breakpoint ---- */
@media (max-width: 980px) {
    .nav-links { display: none; }
    .nav-burger { display: inline-flex; }
    header.nav { position: relative; }   /* drawer needs relative parent */
}

/* When auth chip + spotify button + burger all fit, no overlap */
@media (max-width: 560px) {
    /* On really small screens, hide the auth chip from main bar
       (it still appears in the drawer). */
    .nav-cta .nav-auth { display: none; }
}

/* ========================================================
   COMPATIBILITY — keep dashboard pages with .co-nav-* still working
   if they happen to use renderNav() on a page that only links style.css
   (the old dashboard CSS). New design takes over because dashboard pages
   now also link landing.css.
   ======================================================== */