/*
 * Gospel Protocol — graphic gospel poster theme
 * Inspired by high-contrast faith typography, neon worship posters, and cinematic chapel light.
 */

:root {
  --ink: #F3EBDD;
  --ink-soft: #DDD3C1;
  --paper: #0D0B09;
  --paper-2: #171411;
  --text: #E8DFC9;
  --dim: #B4A892;
  --muted: #847865;
  --violet: #8C63FF;
  --violet-hot: #B37CFF;
  --orange: #FF8A3A;
  --amber: #FFD979;
  --red: #FF5B6E;
  --blue: #5A8DFF;
  --invert-bg: #221B16;
  --invert-fg: var(--text);
  --footer-fg: #B4A892;
  --line: rgba(243, 235, 221, 0.14);
  --line-light: rgba(5, 5, 5, 0.2);
  --panel: rgba(25, 21, 17, 0.9);
  --panel-alt: #211C17;
  --chrome: rgba(13, 11, 9, 0.92);
  --lead-ink: #DDD3C1;
  --note-ink: #D5CBB8;
  --grid: rgba(243, 235, 221, 0.055);
  --grain-blend: screen;
  --page-top: #17120E;
  --page-bot: #090807;
  --border: rgba(243, 235, 221, 0.2);
  --offset-ink: #040302;
  --focus: #FFD979;
  --shadow: 0 24px 70px rgba(5, 5, 5, 0.24);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --disp: 'Bricolage Grotesque', Impact, sans-serif;
  --lockup: 'Ranemia Pro', 'Boska', 'Playfair Display', Didot, serif;
  --caps: 'Bricolage Grotesque', Arial, sans-serif;
  --transition: 220ms ease;
  --space-1: 8px; --space-2: 13px; --space-3: 21px;
  --space-4: 34px; --space-5: 55px; --space-6: 89px;
  --lift-1: translate(-2px, -2px); --lift-2: translate(-4px, -4px);
  --grad-h: linear-gradient(90deg, #8C63FF 0%, #C17EFF 32%, #FF8A3A 68%, #FFD979 100%);
  --grad-v: linear-gradient(180deg, #8C63FF 0%, #C17EFF 32%, #FF8A3A 68%, #FFD979 100%);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  /* dark page swallows a near-black offset — use the sanctioned orange so the brutalist edge reads */
  --shadow-card: 7px 7px 0 var(--orange);
  --shadow-card-hover: 12px 12px 0 var(--offset-ink), 16px 16px 0 rgba(255, 138, 58, 0.18);
  --shadow-button: 5px 5px 0 var(--orange);
  --shadow-chip: 3px 3px 0 var(--offset-ink);
  --gold-hi: #FFC24B;
  /* ── floating player tokens (derived from the system above) ── */
  --pl-bg: rgba(18, 15, 12, 0.86);
  --pl-bg-solid: #16120E;
  /* Player chrome is always dark in both themes, so its text tokens are fixed
     literals — aliasing them to --ink/--dim/--line renders black-on-black in light. */
  --pl-fg: #F5EEE2;
  --pl-fg-soft: #DED4C2;
  --pl-dim: #B4A892;
  --pl-muted: #9C9080;
  --pl-line: rgba(245, 238, 226, 0.18);
  --pl-accent: var(--orange);
  --pl-accent-2: var(--amber);
  --pl-radius: 18px;
  --pl-radius-sm: 12px;
  --pl-pad: var(--space-3);
  --pl-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  --pl-glass: saturate(140%) blur(20px);
  --pl-mini-h: 76px;
  --pl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pl-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --pl-apple: #FA2D48;
  --pl-spotify: #1ED760;
}

[data-theme="light"] {
  color-scheme: light;
  --glow: rgba(255, 106, 0, 0.25);
  --border: #050505;
  --offset-ink: #050505;
  --focus: #5e19ff;
  --grad-h: linear-gradient(90deg, #5e19ff, #ff6a00, #ffd56a);
  --grad-v: linear-gradient(180deg, #5e19ff, #ff6a00, #ffd56a);
  --shadow-soft: 0 21px 44px rgba(5, 5, 5, 0.16);
  --shadow-card: 8px 8px 0 var(--offset-ink);
  --gold-hi: #9A6B00;
  --violet: #5e19ff;
  --violet-hot: #a000ff;
  --orange: #ff6a00;
  --red: #fa103f;
  --blue: #093c87;
  --invert-bg: #050505;
  --invert-fg: #f4efe2;
  --footer-fg: #b8ad97;
  --ink: #050505;
  --ink-soft: #101013;
  --paper: #f4efe2;
  --paper-2: #e7ddc7;
  --text: #191714;
  --dim: #5f574c;
  --muted: #b8ad97;
  --line: rgba(5, 5, 5, 0.14);
  --line-light: rgba(244, 239, 226, 0.18);
  --panel: rgba(255, 250, 238, 0.78);
  --panel-alt: #fff8e8;
  --chrome: rgba(244, 239, 226, 0.9);
  --lead-ink: #332b22;
  --note-ink: #473d31;
  --grid: rgba(5, 5, 5, 0.045);
  --grain-blend: multiply;
  --page-top: #fff9ea;
  --page-bot: #e9ddc6;
}

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

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--caps);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  background:
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(180deg, var(--grid) 1px, transparent 1px),
    radial-gradient(circle at 14% 12%, var(--glow, rgba(255, 138, 58, 0.07)), transparent 22rem),
    radial-gradient(120% 90% at 50% 8%, transparent 60%, rgba(5, 5, 5, 0.06) 100%),
    linear-gradient(180deg, var(--page-top) 0%, var(--paper) 44%, var(--page-bot) 100%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.24;
  mix-blend-mode: var(--grain-blend);
  background-image: url("/grain.svg");
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

a:hover {
  color: var(--violet);
}

.wrap {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 52px);
}

header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 8px 21px rgba(5, 5, 5, 0.08);
  background: var(--chrome);
  backdrop-filter: blur(18px) saturate(1.25);
}

header.site .wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 21px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--caps);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand .emblem {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--ink), 5px 5px 0 var(--orange);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav a {
  border: 2px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  padding: 9px 12px;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--offset-ink);
}

nav a:hover,
nav a.active {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 var(--orange);
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--disp);
  font-weight: 800;
  line-height: 0.95;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin: 0.08em 0 0.28em;
  font-size: clamp(43px, 7.5vw, 113px);
  letter-spacing: 0;
  text-transform: uppercase;
}
/* the orange hard-offset wordmark motif, carried onto every section & song hero */
.hero h1 { text-shadow: 3px 3px 0 var(--paper), 5px 5px 0 var(--orange); }

.center h1,
.center .wordmark {
  max-width: none;
}

h2 {
  margin: clamp(55px, 8vw, 89px) 0 21px;
  font-size: 55px;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 13px;
  background: var(--grad-h);
}

h3 {
  margin: 1.25em 0 0.42em;
  font-size: 34px;
  line-height: 1.06;
}

p {
  margin: 0 0 1.18em;
}

.dim,
.editorial {
  color: var(--dim);
}

.small {
  font-size: 13px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
  border: 2px solid var(--border);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  padding: 9px 12px;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--orange);
}

.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--orange), var(--violet-hot));
  border-radius: 50%;
}

.lead {
  max-width: 52ch;
  margin-bottom: 1.35em;
  color: var(--lead-ink);
  font-family: var(--caps);
  font-size: 21px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
}

.hero {
  position: relative;
  padding: clamp(55px, 10vw, 89px) 0 0;
}
/* homepage hero headline (replaces the testimony paragraph) */
.herolede { margin-bottom: 1.35em; }
.hero .hero-h {
  font-family: var(--caps);
  font-size: clamp(52px, 7.4vw, 113px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 3px 3px 0 var(--paper), 5px 5px 0 var(--orange);
  margin: 0.08em 0 0.42em;
  max-width: 11ch;
}
.hero-sub {
  font-family: var(--caps);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--lead-ink);
  margin: 0;
  max-width: 32ch;
}
/* footer sits just under the hero; headshot fades into it, but hero content keeps clearance */
main:has(.intro-cutout) + footer {
  margin-top: 0;
  position: relative;
  z-index: 4;
}
.hero:has(.intro-cutout) .herotext { padding-bottom: clamp(24px, 4vw, 52px); }
/* restrained aurora bloom so section & song heroes don't read flat (blurred wash, no hard gradient) */
.hero::before {
  content: "";
  position: absolute;
  inset: -8% -6% 30%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 30% 40%, rgba(140, 99, 255, 0.20), transparent 72%),
    radial-gradient(30% 40% at 66% 46%, rgba(255, 138, 58, 0.18), transparent 72%);
  filter: blur(46px) saturate(1.05);
  opacity: 0.42;
}
[data-theme="light"] .hero::before { opacity: 0.26; }

.answer,
.prov,
.snode,
.empty,
.workcard,
.qa {
  position: relative;
  margin: 21px 0;
  border: 2px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-card), var(--shadow-soft);
  padding: 21px 34px;
}

.answer {
  background: var(--invert-bg);
  color: var(--invert-fg);
  box-shadow: 8px 8px 0 var(--violet), var(--shadow-soft);
}

.answer::before,
.prov::before,
.snode::before,
.workcard::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--grad-v);
}

img.cover {
  float: right;
  width: min(360px, 44vw);
  max-width: 44%;
  height: auto;
  aspect-ratio: 1;
  margin: 0 0 21px 34px;
  border: 2px solid var(--border);
  border-radius: 0;
  object-fit: cover;
  box-shadow: 12px 12px 0 var(--offset-ink), var(--shadow-soft);
  filter: saturate(1.22) contrast(1.08);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 21px;
  margin: 34px 0 55px;
}

.card {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 2px solid var(--border);
  border-radius: 0;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: var(--shadow-card), var(--shadow-soft);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--grad-h);
  opacity: 0.9;
}

.card .thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
  filter: saturate(1.18) contrast(1.1);
  transition: transform var(--transition), filter var(--transition);
}

.card .ct {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 21px 21px;
}

.t {
  color: var(--ink);
  font-family: var(--disp);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.m {
  margin-top: auto;
  padding-top: 13px;
  color: var(--dim);
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.42;
  text-transform: uppercase;
}

.card:hover {
  color: var(--ink);
  transform: var(--lift-2);
  box-shadow: var(--shadow-card-hover), 0 34px 55px rgba(5, 5, 5, 0.22);
}

.card:hover .thumb {
  transform: scale(1.045);
  filter: saturate(1.38) contrast(1.14);
}

.tag,
.lvl {
  display: inline-flex;
  align-items: center;
  margin: 4px 6px 4px 0;
  border: 2px solid var(--border);
  border-radius: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 7px 10px;
  text-transform: uppercase;
  box-shadow: var(--shadow-chip);
}

.tag:hover {
  background: var(--violet);
  color: var(--paper);
}

.prov {
  background: var(--panel-alt);
}

.prov b {
  color: var(--violet);
}

.note {
  margin: 21px 0;
  border-left: 8px solid var(--red);
  padding-left: 21px;
  color: var(--note-ink);
  font-size: 17px;
  font-style: italic;
}

.ask {
  display: flex;
  max-width: 760px;
  margin: 34px auto 21px;
  gap: 10px;
  border: 2px solid var(--border);
  background: var(--paper);
  padding: 8px;
  box-shadow: 8px 8px 0 var(--offset-ink);
}

.ask input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  outline: none;
  padding: 10px 14px;
}

.ask input::placeholder {
  color: var(--dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 13px 21px;
  text-transform: uppercase;
  box-shadow: var(--shadow-button);
}

.btn:hover {
  background: var(--violet);
  color: var(--paper);
  transform: var(--lift-1);
  box-shadow: 8px 8px 0 var(--orange);
}

.btn.ghost {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--offset-ink);
}

.btn.ghost:hover {
  background: var(--amber);
  color: var(--ink);
}

/* primary listen-CTA row (song pages) — real layout so buttons don't collide.
   :has(.btn) scopes this to the platform row, leaving tag-container .pill untouched */
.pill:has(.btn) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin: 21px 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 21px 0 8px;
  color: var(--dim);
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chips a {
  border: 2px solid var(--border);
  background: var(--paper-2);
  color: var(--ink);
  padding: 7px 11px;
  box-shadow: 3px 3px 0 var(--offset-ink);
}

.chips a:hover {
  background: var(--orange);
  color: var(--ink);
}

audio {
  width: 100%;
  margin: 21px 0;
  border: 2px solid var(--border);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--offset-ink);
}

ul.clean {
  margin: 1.2em 0;
  padding: 0;
  list-style: none;
}

ul.clean li {
  border-bottom: 2px solid var(--line);
  padding: 13px 0;
}

.lockup {
  position: relative;
  isolation: isolate;
  padding: 16px 0 10px;
  text-align: center;
}

.lockup .emblem {
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto 21px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--ink), 8px 8px 0 var(--orange);
}

.wordmark {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-family: var(--disp);
  font-size: 144px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.78;
  text-transform: uppercase;
  text-shadow: none;
  z-index: 1;
}

/* orange hard-offset shadow (replaces the old multicolor gradient clip) —
   the cream letter + solid-orange offset reads as clean stacked shadow lines */
.wordmark::before {
  content: attr(data-text);
  position: absolute;
  top: 7px;
  left: 7px;
  right: -7px;
  z-index: -1;
  color: var(--orange);
  text-shadow: 4px 4px 0 var(--paper);
  pointer-events: none;
}

.subword {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 34px 0 13px;
}

.subword span {
  border: 2px solid var(--border);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--caps);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.36em;
  padding: 8px 10px 8px calc(10px + 0.36em);
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--orange);
}

.subword i {
  width: clamp(32px, 11vw, 124px);
  height: 3px;
  background: var(--ink);
}

.tagline {
  margin: 21px 0 5px;
  color: var(--dim);
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tagline span {
  margin: 0 10px;
  color: var(--red);
}

.center {
  text-align: center;
}

.center .lead {
  margin-right: auto;
  margin-left: auto;
}

footer {
  margin-top: 89px;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(244, 239, 226, 0.04) 1px, transparent 1px),
    var(--invert-bg);
  background-size: 36px 36px;
  color: var(--footer-fg);
  font-size: 13px;
  padding: 55px clamp(21px, 5vw, 55px);
  text-align: center;
}

footer div {
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.55;
}

.rsec {
  margin: 34px 0;
}

.rhead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
  color: var(--violet);
  font-family: var(--caps);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rhead::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.snode .ref {
  color: var(--ink);
  font-family: var(--disp);
  font-size: 27px;
  font-weight: 800;
  text-transform: uppercase;
}

.snode .sum {
  margin-top: 4px;
  color: var(--dim);
  font-size: 17px;
  font-style: italic;
}

.why {
  margin-top: 12px;
}

.why summary {
  color: var(--violet);
  cursor: pointer;
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.why .path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 0 4px;
  color: var(--dim);
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why .path b {
  border: 2px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  padding: 4px 8px;
}

.why .path i {
  color: var(--red);
  font-style: normal;
}

.lvl.auth {
  background: var(--invert-bg);
  color: var(--amber);
}

.lvl.lyr {
  background: var(--blue);
  color: var(--paper);
}

.empty {
  border-style: dashed;
  color: var(--dim);
  padding: 40px;
  text-align: center;
}

.workcard {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 21px;
}

.workcard img {
  width: 140px;
  height: 140px;
  border: 2px solid var(--border);
  object-fit: cover;
  box-shadow: 5px 5px 0 var(--offset-ink);
}

.workcard .wb {
  flex: 1;
  min-width: 250px;
}

.skip {
  position: fixed;
  top: 0; left: 20px;
  transform: translateY(-130%);
  transition: transform var(--transition);
  z-index: 9999;
}

.skip:focus {
  transform: translateY(20px);
  position: fixed;
  top: 0;
  left: 20px;
  z-index: 9999;
  border: 2px solid var(--border);
  background: var(--amber);
  color: var(--ink);
  font-family: var(--caps);
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 12px 18px;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--focus);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card,
  .btn,
  .brand .emblem,
  img.cover {
    transition: none;
    transform: none !important;
  }
}

@media (max-width: 1024px) {
  .wordmark { font-size: 89px; }
}

@media (max-width: 768px) {
  body {
    font-size: 18px;
  }

  header.site .wrap {
    min-height: 55px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 27px;
  }

  .lead {
    font-size: 21px;
  }

  .chips a,
  .tag {
    padding: 11px 13px;
  }

  .hero {
    padding-top: 52px;
  }

    .ask {
    flex-direction: column;
  }

  .ask .btn {
    width: 100%;
  }

  img.cover {
    float: none;
    display: block;
    width: min(100%, 360px);
    max-width: none;
    margin: 0 auto 32px;
  }

  .cover-stage {
    float: none;
    width: min(233px, 61.8vw);
    max-width: none;
    margin: 0 auto 34px;
  }

  .cover-stage img.cover {
    width: 100%;
    margin: 0;
  }

  .cover-stage img.cover { margin: 0; }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    gap: 18px;
  }

  .answer,
  .prov,
  .snode,
  .empty,
  .workcard,
  .qa {
    padding: 21px 21px;
    box-shadow: 5px 5px 0 var(--offset-ink);
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }

  .brand {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  nav a {
    font-size: 11px;
    padding: 8px 9px;
    box-shadow: 3px 3px 0 var(--offset-ink);
  }

  .wordmark {
    font-size: 70px;
    text-shadow: none;
  }

  .hero h1 {
    text-shadow: 3px 3px 0 var(--paper), 5px 5px 0 var(--orange);
  }

  h2 {
    font-size: 34px;
  }

  .lead {
    font-size: 21px;
  }

  .subword span {
    letter-spacing: 0.24em;
    padding-left: calc(10px + 0.24em);
  }

  .tagline span {
    margin: 0 5px;
  }

  .card .ct {
    padding: 14px 14px 22px;
  }

  .t {
    font-size: 17px;
  }

  .ask input {
    font-size: 17px;
  }
}


/* ---- canvas loops (poster dialect) ---- */
.cover-stage {
  position: relative;
  float: right;
  width: min(360px, 44vw);
  max-width: 44%;
  margin: 0 0 21px 34px;
}
.cover-stage img.cover {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
}
.cover-stage.playing a.card { position: relative; }
.canvas-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 1;
}
a.card.playing .canvas-thumb { opacity: 1; }
a.card.playing .thumb { visibility: hidden; }
a.card.has-canvas::before {
  content: "▸";
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 2px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  box-shadow: 3px 3px 0 var(--offset-ink);
  transition: opacity var(--transition);
}
a.card.playing::before { opacity: 0; }

.appbar { display: none; }

/* swap desktop nav → bottom appbar at 900px: the six wide labels + brand + toggle
   cannot fit one row in the 769–900 band and wrap into the sticky header */
@media (max-width: 900px) {
  header.site nav { display: none; }

  body { padding-bottom: 96px; }
  .appbar {
    position: fixed;
    left: 50%; bottom: 13px;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    max-width: calc(100vw - 26px);
    overflow-x: auto;
    border: 2px solid var(--border);
    background: var(--chrome);
    backdrop-filter: blur(10px);
    padding: 5px;
    box-shadow: 5px 5px 0 var(--offset-ink);
  }
  .appbar a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--caps);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 12px 13px;
    white-space: nowrap;
  }
  .appbar a.on { background: var(--ink); color: var(--paper); }
}

/* ---- platform icon row ---- */
.platforms {
  display: flex;
  gap: 13px;
  margin: 34px 0 21px;
  clear: both;
}
.platforms a {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border: 2px solid var(--border);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: var(--shadow-chip);
}
/* brand identity is the resting state, not a hover reward — a mouse user must be
   able to recognise Apple Music / Spotify without touching the button */
.platforms a.p-apple { background: #FA243C; border-color: #FA243C; color: #fff; }
.platforms a.p-spotify { background: #1DB954; border-color: #1DB954; color: #0D0B09; }
.platforms a.p-um { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.platforms a:hover {
  transform: var(--lift-1);
  box-shadow: var(--shadow-button);
  filter: brightness(1.08);
}

/* ---- theme toggle ---- */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--border);
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  box-shadow: var(--shadow-chip);
  transition: background var(--transition), color var(--transition);
}
.theme-toggle:hover { background: var(--ink); color: var(--paper); }


/* ---- text-only nav cards: breathing room, full-width rows on mobile ---- */
.card > .t { padding: 16px 16px 0; }
.card > .m { padding: 0 21px 21px; margin-top: 8px; }
@media (max-width: 768px) {
  .card:not(:has(.thumb)) {
    grid-column: 1 / -1;
    padding: 5px 0;
  }
  .card:not(:has(.thumb)) > .t { padding: 16px 21px 0; }
  .card:not(:has(.thumb)) > .m { padding: 0 21px 16px; }
}

/* ---- sword sheen: diagonal specular sweep on hover, retreats on unhover ---- */
.card::after,
h2::after,
.rhead::after {
  background:
    linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.45) 50%, transparent 60%) no-repeat -180% 0 / 200% 100%,
    var(--grad-h);
  transition: background-position 0.65s ease;
}
.card:hover::after,
h2:hover::after,
.rhead:hover::after {
  background-position: 180% 0, 0 0;
}
.answer::before,
.prov::before,
.snode::before,
.workcard::before {
  background:
    linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%) no-repeat 0 -180% / 100% 200%,
    var(--grad-v);
  transition: background-position 0.75s ease;
}
.answer:hover::before,
.prov:hover::before,
.snode:hover::before,
.workcard:hover::before {
  background-position: 0 180%, 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .card::after, h2::after, .rhead::after,
  .answer::before, .prov::before, .snode::before, .workcard::before {
    transition: none;
  }
}

/* ---- platform brand identity on hover ---- */
.btn .bicon { vertical-align: -2px; margin-right: 8px; }
.btn.plat-apple { background: #FA243C; border-color: #FA243C; color: #fff; }
.btn.plat-apple .bicon { color: #fff; }
.btn.plat-apple:hover { box-shadow: 5px 5px 0 var(--offset-ink); filter: brightness(1.08); }
.btn.ghost.btn.ghost.plat-um, .plat-um { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.plat-um:hover { filter: brightness(1.08); }
/* brand hover states now inherit from the base rules above; only the lift differs */

/* ---- hero: aurora bloom + side rail + artist cutout overlap ---- */
.hero { position: relative; }
.hero.center { z-index: 0; }
.hero.center::before {
  content: "";
  position: absolute;
  inset: -12% -8% 20%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(40% 50% at 40% 34%, rgba(140,99,255,0.42), transparent 72%),
    radial-gradient(34% 44% at 62% 40%, rgba(255,138,58,0.36), transparent 70%),
    radial-gradient(28% 38% at 50% 66%, rgba(255,217,121,0.26), transparent 70%);
  filter: blur(52px) saturate(1.1);
  opacity: 0.5;
}
[data-theme="light"] .hero.center::before { opacity: 0.34; }
@media (max-width: 768px) {  }

/* ---- poster stat row ---- */
.statrow {
  display: flex;
  gap: 13px;
  margin: 34px 0 13px;
  flex-wrap: wrap;
}
.stat {
  flex: 1 1 144px;
  border: 2px solid var(--border);
  background: var(--paper-2);
  padding: 21px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.stat-n {
  display: block;
  font-family: var(--disp);
  font-size: 55px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.stat-l {
  display: block;
  margin-top: 8px;
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---- verse peek: the Word itself, on hover or tap ---- */
.snode { cursor: default; }
.versepeek {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.45s ease, opacity 0.4s ease, transform 0.4s ease;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.55;
  color: var(--lead-ink);
}
.snode:hover .versepeek,
.snode:focus-within .versepeek {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 13px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.versepeek .vp-t {
  display: block;
  margin-top: 5px;
  font-family: var(--caps);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
@media (hover: none) {
  .snode .versepeek { max-height: none; opacity: 1; transform: none; margin-top: 13px; border-top: 1px solid var(--line); padding-top: 13px; }
}





/* section/song hero emblem — the home motif's cross, carried across the site */
.hero > .emblem {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 0 21px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 var(--orange);
}
.hero.center > .emblem { margin-inline: auto; }


/* ---- hero: responsive two-column — prose locked left, artist locked right ----
   Full-bleed grid. The prose lives entirely in column 1 and can never reach his
   face at any width; Thomas is contained in column 2 (never overflows into the
   text). Collapses to a clean single-column stack on narrow screens. ---- */
.hero:has(.intro-cutout) {
  position: relative;
  text-align: left;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  min-height: min(88vh, 940px);
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  align-items: center;
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px) 0 0;
}
.hero:has(.intro-cutout)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 52% at 24% 42%, rgba(140,99,255,0.15), transparent 70%),
    linear-gradient(90deg, var(--paper) 0%, rgba(13,11,9,0.72) 36%, rgba(13,11,9,0.22) 54%, transparent 68%);
}
[data-theme="light"] .hero:has(.intro-cutout)::before {
  background:
    radial-gradient(42% 52% at 24% 42%, rgba(140,99,255,0.10), transparent 70%),
    linear-gradient(90deg, var(--paper) 0%, rgba(244,239,226,0.82) 36%, rgba(244,239,226,0.30) 54%, transparent 70%);
}
.hero:has(.intro-cutout) .herotext {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  justify-self: start;
  align-self: center;
  width: 100%;
  padding-left: max(clamp(20px, 5vw, 52px), calc((100vw - 1240px) / 2 + 52px));
  padding-right: clamp(8px, 1.4vw, 20px);
}
/* the lockup — cross, GOSPEL, PROTOCOL, tagline — is centered in the left column */
.hero:has(.intro-cutout) .lockup { align-items: flex-start; text-align: left; margin: 0 0 8px; }
.hero:has(.intro-cutout) .subword { justify-content: center; }
.hero:has(.intro-cutout) .tagline { text-align: center; }
/* prose stays left-aligned and runs its right edge out toward the headshot */
.hero:has(.intro-cutout) .lead,
.hero:has(.intro-cutout) .ask,
.hero:has(.intro-cutout) .chips,
.hero:has(.intro-cutout) .hero-cta { margin-left: 0; margin-right: auto; justify-content: flex-start; }
.hero:has(.intro-cutout) .lead { max-width: none; }
/* wordmark may bleed toward his face on top of the image — prose never does */
.hero:has(.intro-cutout) .wordmark { position: relative; z-index: 3; font-size: clamp(50px, 7vw, 112px); white-space: nowrap; }
.intro-cutout {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: end;
  height: min(86vh, 900px);
  width: 100%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.5));
  -webkit-mask-image: linear-gradient(180deg, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 90%, transparent 100%);
}
/* tablet: give the artist a touch less room so prose stays comfortable */
@media (max-width: 1080px) and (min-width: 821px) {
  .hero:has(.intro-cutout) { grid-template-columns: minmax(0, 50%) minmax(0, 50%); }
  .hero:has(.intro-cutout) .wordmark { font-size: clamp(46px, 6.6vw, 88px); }
}
/* mobile: single column — artist as a top band, all content below, full width */
@media (max-width: 820px) {
  .hero:has(.intro-cutout) {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    padding: 12px 0 0;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
  }
  .hero:has(.intro-cutout)::before {
    background:
      radial-gradient(60% 40% at 50% 22%, rgba(140,99,255,0.16), transparent 72%),
      linear-gradient(180deg, transparent 0%, rgba(13,11,9,0.55) 58%, var(--paper) 82%);
  }
  [data-theme="light"] .hero:has(.intro-cutout)::before {
    background: linear-gradient(180deg, transparent 0%, rgba(244,239,226,0.6) 60%, var(--paper) 84%);
  }
  .hero:has(.intro-cutout) .intro-cutout {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: start;
    height: min(52vh, 460px);
    width: auto;
    object-position: center bottom;
    margin-bottom: -8%;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  }
  .hero:has(.intro-cutout) .herotext {
    grid-column: 1;
    grid-row: 2;
    z-index: 2;
    padding-inline: clamp(18px, 6vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero:has(.intro-cutout) .lockup { align-items: center; text-align: center; }
  .hero:has(.intro-cutout) .subword { justify-content: center; }
  .hero:has(.intro-cutout) .tagline { text-align: center; }
  .hero:has(.intro-cutout) .wordmark { white-space: normal; font-size: clamp(52px, 15vw, 92px); }
  .hero:has(.intro-cutout) .lead { max-width: 40ch; }
  .hero:has(.intro-cutout) .lead,
  .hero:has(.intro-cutout) .ask,
  .hero:has(.intro-cutout) .chips,
  .hero:has(.intro-cutout) .hero-cta { margin-inline: auto; justify-content: center; }
}

/* ══ Find / service-builder answer — styled to the system (was unstyled) ══ */
.answer .reply {
  font-family: var(--caps);
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 600; line-height: 1.5;
  color: var(--ink); max-width: 62ch;
  margin: 0 0 var(--space-3);
}
.answer .reply .q {
  color: var(--orange); font-style: italic;
  margin-right: .5ch;
}
.plan {
  background: var(--panel-alt);
  border: 1px solid var(--border);
  border-radius: var(--pl-radius-sm);
  box-shadow: var(--shadow-soft);
  padding: var(--space-1) var(--space-3);
  margin: 0 0 var(--space-3);
  max-width: 700px;
}
.plan .row {
  display: flex; align-items: center; gap: var(--space-2);
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.plan .row:last-child { border-bottom: none; }
.plan .pin {
  flex: none; background: none; border: none; cursor: pointer;
  font-size: 15px; line-height: 1; padding: 4px; border-radius: 8px;
  opacity: .55; transition: opacity var(--transition), transform var(--transition);
}
.plan .pin:hover { opacity: 1; transform: scale(1.18) rotate(-6deg); }
.plan .pin.on { opacity: 1; }
.plan .slot {
  flex: none; min-width: 82px;
  font-family: var(--caps); font-size: 10.5px; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; color: var(--dim);
}
.plan .ttl {
  flex: 1 1 auto; min-width: 0;
  font-family: var(--caps); font-size: 15px; font-weight: 600; color: var(--ink);
  display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap;
}
.plan .ttl a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.plan .ttl a:hover { border-color: var(--orange); }
.plan .ttl .mm { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.plan .mini {
  flex: none; font-family: var(--caps); font-size: 11px; font-weight: 700;
  padding: 5px 11px; background: transparent;
  border: 1px solid var(--border); border-radius: 999px; color: var(--dim);
  cursor: pointer; transition: color var(--transition), border-color var(--transition), transform var(--transition), background var(--transition);
}
.plan .mini:hover { color: var(--ink); border-color: var(--orange); transform: var(--lift-1); }
.plan .mini.on { background: var(--orange); border-color: var(--orange); color: #1a1206; }
.plan .row.total { border-top: 2px solid var(--border); border-bottom: none; margin-top: 4px; padding-top: 14px; }
.plan .row.total .slot { color: var(--ink); font-weight: 800; }
.plan .row.total .ttl { font-weight: 800; font-size: 16px; }
.consrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--space-3); }
.con {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--caps); font-size: 12px; font-weight: 700;
  padding: 5px 7px 5px 12px; background: var(--panel-alt);
  border: 1px solid var(--border); border-radius: 999px; color: var(--ink);
}
.con button { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 14px; padding: 0 3px; line-height: 1; }
.con button:hover { color: var(--red); }
.con.amber { border-color: var(--amber); color: var(--amber); }
.con .link { color: var(--orange); font-weight: 800; padding-left: 6px; }
.block.pray {
  font-family: var(--serif); font-size: 20px; font-style: italic; line-height: 1.5;
  color: var(--note-ink); border-left: 3px solid var(--orange);
  padding: 2px 0 2px 18px; margin: 0 0 var(--space-3); max-width: 56ch;
}
.tiny { font-family: var(--caps); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
#chips.ex, .answer .ex { display: flex; flex-wrap: wrap; gap: 9px; }

/* ═══════════ Floating player + soft gate + motion ═══════════ */
.gp-player { position: fixed; right: clamp(12px, 3vw, 26px); bottom: clamp(12px, 3vw, 26px); z-index: 200; font-family: var(--caps); pointer-events: none; }
.gp-player.is-active { pointer-events: auto; }
.gp-player:not(.is-active) { display: none; }

/* collapsed tab */
.gpp-tab {
  position: absolute; right: 0; bottom: 0; width: 60px; height: 60px; border-radius: 50%;
  background: var(--pl-accent); color: #1a1206; border: none; cursor: pointer;
  box-shadow: var(--pl-shadow); display: grid; place-items: center;
  transition: transform var(--pl-spring) .4s, opacity var(--pl-ease) .25s; opacity: 1;
}
.gpp-tab:hover { transform: scale(1.06); }
.gp-player.is-open .gpp-tab { opacity: 0; transform: scale(.4); pointer-events: none; }
.gpp-eq { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.gpp-eq i { width: 3px; height: 6px; background: #1a1206; border-radius: 2px; animation: gpp-eq 1s ease-in-out infinite; }
.gpp-eq i:nth-child(2){animation-delay:.15s} .gpp-eq i:nth-child(3){animation-delay:.3s} .gpp-eq i:nth-child(4){animation-delay:.45s}
@keyframes gpp-eq { 0%,100%{height:5px} 50%{height:18px} }

/* expanded card */
.gpp-card {
  width: min(360px, calc(100vw - 24px)); border-radius: var(--pl-radius); overflow: hidden;
  background: var(--pl-bg); backdrop-filter: var(--pl-glass); -webkit-backdrop-filter: var(--pl-glass);
  border: 1px solid var(--pl-line); box-shadow: var(--pl-shadow); color: var(--pl-fg);
  transform: translateY(24px) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .42s var(--pl-spring), opacity .28s var(--pl-ease);
}
.gp-player.is-open .gpp-card { transform: none; opacity: 1; pointer-events: auto; }

.gpp-stage { position: relative; aspect-ratio: 16/10; background: #0a0806 center/cover; overflow: hidden; }
.gpp-art { position: absolute; inset: 0; background: center/cover no-repeat; filter: saturate(1.05); transform: scale(1.04); }
.gpp-stage::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(8,6,5,.82)); }
.gpp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity var(--pl-ease) .3s; }
.no-video .gpp-canvas { opacity: 0; }
.gpp-stagebar { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; z-index: 2; }
.gpp-stagebar .gpp-icon { width: 30px; height: 30px; background: rgba(10,8,6,.55); backdrop-filter: blur(6px); color: #fff; border-radius: 9px; }

.gpp-icon { border: none; background: transparent; color: var(--pl-fg); cursor: pointer; border-radius: 10px;
  display: grid; place-items: center; width: 38px; height: 38px; font-size: 15px; transition: background var(--pl-ease) .2s, transform var(--pl-ease) .2s, color var(--pl-ease) .2s; }
.gpp-icon:hover { background: rgba(255,138,58,.16); color: var(--pl-accent); transform: translateY(-1px); }

.gpp-meta { padding: 12px var(--pl-pad) 4px; }
.gpp-ttl { font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: var(--pl-fg); line-height: 1.15; }
.gpp-alb { font-size: 12px; color: var(--pl-dim); margin-top: 2px; }

.gpp-embed { padding: 10px var(--pl-pad) 0; }
.gpp-embed:empty { display: none; }
.gpp-frame { width: 100%; height: 84px; border: 0; border-radius: var(--pl-radius-sm); background: transparent; }

.gpp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px var(--pl-pad); }
.gpp-provs { display: inline-flex; background: rgba(255,255,255,.05); border: 1px solid var(--pl-line); border-radius: 999px; padding: 3px; }
.gpp-prov { border: none; background: transparent; color: var(--pl-dim); font: 700 11px/1 var(--caps); letter-spacing: .02em;
  padding: 7px 11px; border-radius: 999px; cursor: pointer; transition: all var(--pl-ease) .2s; }
.gpp-prov.gpp-apple.is-on { background: var(--pl-apple); color: #fff; }
.gpp-prov.gpp-spotify.is-on { background: var(--pl-spotify); color: #05130a; }
.gpp-transport { display: inline-flex; gap: 2px; }

.gpp-vol { display: flex; align-items: center; gap: 9px; padding: 0 var(--pl-pad) 14px; }
.gpp-vol > span:first-child { color: var(--pl-dim); font-size: 13px; }
.gpp-volr { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 3px;
  background: linear-gradient(90deg, var(--pl-accent) 0 80%, rgba(255,255,255,.14) 80%); }
.gpp-volr::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: var(--pl-accent); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.gpp-royalty { font-size: 9.5px; color: var(--pl-dim); letter-spacing: .04em; text-transform: uppercase; opacity: .7; }

/* play affordances on cards + song pages */
.card { position: relative; }
.gpp-cardplay {
  position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--pl-accent); color: #1a1206; border: 2px solid rgba(0,0,0,.15); cursor: pointer; font-size: 15px;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(8px) scale(.85); transition: all var(--pl-spring) .32s; z-index: 3;
}
.card:hover .gpp-cardplay, .gpp-cardplay:focus-visible { opacity: 1; transform: none; }
.gpp-cardplay:hover { transform: scale(1.1); }
.gpp-listen {
  display: inline-flex; align-items: center; gap: 9px; font: 800 14px/1 var(--caps); letter-spacing: .02em;
  padding: 13px 20px; margin-right: 10px; cursor: pointer; color: #1a1206;
  background: var(--pl-accent); border: 2px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-button);
  transition: transform var(--pl-ease) .2s, box-shadow var(--pl-ease) .2s;
}
.gpp-listen:hover { transform: var(--lift-1); box-shadow: 7px 7px 0 var(--offset-ink); }
.gpp-listen-i { font-size: 12px; }

/* ── soft gate modal ── */
.gp-gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px;
  background: rgba(6,5,4,.66); backdrop-filter: blur(6px); opacity: 0; transition: opacity .26s var(--pl-ease); }
.gp-gate.show { opacity: 1; }
.gp-gate-card { position: relative; width: min(440px, 100%); background: var(--pl-bg-solid); color: var(--pl-fg);
  border: 1px solid var(--pl-line); border-radius: 20px; padding: clamp(24px, 4vw, 38px); box-shadow: var(--pl-shadow);
  transform: translateY(16px) scale(.97); transition: transform .34s var(--pl-spring); }
.gp-gate.show .gp-gate-card { transform: none; }
.gp-gate-x { position: absolute; top: 14px; right: 14px; background: none; border: none; color: var(--pl-dim); font-size: 16px; cursor: pointer; }
.gp-gate-x:hover { color: var(--pl-fg); }
.gp-gate-kicker { font: 800 11px/1 var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.gp-gate-h { font: 800 clamp(24px,4vw,32px)/1.05 var(--disp); text-transform: uppercase; color: var(--pl-fg); text-shadow: 3px 3px 0 var(--orange); margin-bottom: 12px; max-width: 14ch; }
.gp-gate-p { font-size: 14.5px; line-height: 1.55; color: var(--pl-fg-soft); margin-bottom: 20px; }
.gp-gate-btns { display: grid; gap: 10px; }
.gp-oauth { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; padding: 14px;
  font: 800 15px/1 var(--caps); border-radius: 12px; cursor: pointer; border: 1px solid transparent;
  transition: transform var(--pl-ease) .2s, filter var(--pl-ease) .2s; }
.gp-oauth:hover { transform: translateY(-2px); filter: brightness(1.06); }
.gp-oauth-apple { background: var(--pl-apple); color: #fff; }
.gp-oauth-spotify { background: var(--pl-spotify); color: #05130a; }
.gp-gate-skip { display: block; width: 100%; margin-top: 14px; background: none; border: none; color: var(--pl-dim);
  font: 600 13px/1 var(--caps); cursor: pointer; }
.gp-gate-skip:hover { color: var(--pl-fg); }
.gp-gate-fine { margin-top: 16px; font-size: 11px; line-height: 1.5; color: var(--pl-muted); }

/* toast */
.gp-toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 320;
  background: var(--pl-bg-solid); color: var(--pl-fg); border: 1px solid var(--pl-line); border-radius: 12px;
  padding: 12px 18px; font: 600 13px/1.4 var(--caps); box-shadow: var(--pl-shadow); max-width: 90vw;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--pl-ease), transform .3s var(--pl-spring); }
.gp-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* scroll-reveal */
.gp-reveal { opacity: 0; transform: translateY(18px); }
.gp-in { opacity: 1; transform: none; transition: opacity .6s var(--pl-ease) var(--gp-d,0ms), transform .6s var(--pl-ease) var(--gp-d,0ms); }
@media (prefers-reduced-motion: reduce) { .gp-reveal { opacity: 1; transform: none; } .gpp-eq i { animation: none; height: 12px; } }
