/* Bambi Tech — static, mobile-first. One accent (rose), one radius system (8 / 14 / pill), system fonts only (no third-party requests). */
:root {
  --bg: #141013;          /* tinted near-black (plum) */
  --bg-2: #1b161a;        /* raised surface */
  --bg-3: #231c21;        /* card */
  --line: #3a2f36;
  --text: #f3ece9;
  --muted: #b9adb0;
  --rose: #e58a9c;        /* the one accent */
  --rose-ink: #1d1117;    /* text on rose */
  --r-sm: 8px;
  --r: 14px;
  --r-pill: 999px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --t: 180ms;
  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 8.5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--rose); }
strong { font-weight: 600; }
code { font-size: .9em; color: var(--text); }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: var(--r-sm); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--rose); color: var(--rose-ink); padding: 10px 14px; border-radius: var(--r-sm); transition: transform var(--t) var(--ease); }
.skip:focus { transform: translateY(72px); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow > * { max-width: 720px; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin-bottom: .9em; font-weight: 600; }
.fine { font-size: .85rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: .85; }
.btn--primary { background: var(--rose); color: var(--rose-ink); }
.btn--primary:hover { color: var(--rose-ink); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { color: var(--text); border-color: var(--muted); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(20,16,19,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 1.2rem; margin: 0; }
.brand:hover { color: var(--text); }
.brand__mark, .mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-sm); border: 1px solid var(--rose); color: var(--rose); font-family: var(--serif); font-size: 1.15rem; line-height: 1; }
.nav-toggle { min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); background: transparent; color: var(--text); border: 1px solid var(--line); font: 600 .95rem var(--sans); cursor: pointer; }
.nav-list { list-style: none; margin: 0; padding: 8px var(--pad) 16px; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t); }
.nav-list.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.nav-list a { display: block; padding: 12px 0; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-list li:last-child a { border-bottom: 0; }
.nav-list a:hover { color: var(--rose); }

/* Hero */
.hero { padding: clamp(56px, 12vw, 128px) 0 clamp(48px, 9vw, 96px); border-bottom: 1px solid var(--line);
}
.hero { position: relative; }
.hero__inner > * { max-width: 640px; }
.hero__inner > h1 { max-width: 760px; }
.hero__quote { display: none; }
@media (min-width: 1000px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero__quote { display: block; position: absolute; right: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); top: 50%; transform: translateY(-50%);
    width: 300px; margin: 0; padding: 28px 0 28px 28px; border-left: 1px solid var(--rose); }
  .hero__quote blockquote { margin: 0 0 14px; }
  .hero__quote p { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.3; color: var(--text); margin: 0; }
  .hero__quote figcaption { font-size: .8rem; letter-spacing: .08em; color: var(--muted); }
}
@media (max-width: 479px) { .hero__actions .btn { flex: 1 1 100%; } }
.lede { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.lede strong { color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .9rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__follow { margin: 18px 0 0; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }

/* Hero background video (AI-generated). Media sits behind the text; gradients keep copy readable. */
.hero { overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--bg) url("../assets/hero-poster.jpg") 50% 0 / cover no-repeat; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  /* phone: subject on top, fade to page colour behind the text below */
  background:
    linear-gradient(90deg, rgba(20,16,19,.55) 0%, rgba(20,16,19,0) 28%, rgba(20,16,19,0) 72%, rgba(20,16,19,.55) 100%),
    linear-gradient(180deg, rgba(20,16,19,.15) 0%, rgba(20,16,19,0) 18%, rgba(20,16,19,.55) 50%, rgba(20,16,19,.92) 66%, var(--bg) 78%); }
.hero__inner { position: relative; z-index: 1; }
.hero__quote { z-index: 1; }
.hero__inner { text-shadow: 0 1px 14px rgba(12,9,11,.55); }
.hero__inner .btn { text-shadow: none; }
.hero__credit { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero__caption { margin: 0; font-size: .72rem; letter-spacing: .06em; color: rgba(243,236,233,.72); text-shadow: 0 1px 6px rgba(12,9,11,.8); }
.hero__toggle { white-space: nowrap; min-height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(20,16,19,.6); color: var(--text); border: 1px solid var(--line); font: 600 .72rem var(--sans); letter-spacing: .04em; cursor: pointer; transition: border-color var(--t) var(--ease), color var(--t) var(--ease); }
.hero__toggle:hover { border-color: var(--rose); color: var(--rose); }
.hero__toggle[hidden] { display: none; }
@media (max-width: 719px) {
  /* text lower on narrow screens so the centred subject stays visible above it */
  .hero { padding-top: clamp(300px, 78vw, 440px); }
  .hero__media { bottom: auto; height: clamp(440px, 128vw, 640px); }
}
@media (min-width: 720px) {
  .hero { min-height: min(86svh, 820px); display: flex; flex-direction: column; justify-content: center; }
  .hero__media { background-position: 50% 15%; }
  .hero__video { object-position: 50% 15%; }
  .hero__media::after { background:
    linear-gradient(90deg, rgba(20,16,19,.96) 0%, rgba(20,16,19,.9) 30%, rgba(20,16,19,.72) 42%, rgba(20,16,19,.2) 54%, rgba(20,16,19,.08) 62%, rgba(20,16,19,.6) 78%, rgba(20,16,19,.92) 100%),
    linear-gradient(180deg, rgba(20,16,19,.25) 0%, rgba(20,16,19,0) 22%, rgba(20,16,19,0) 70%, rgba(20,16,19,.85) 100%); }
  .hero__inner > * { max-width: 520px; }
  .hero__inner > h1 { max-width: 560px; }
  .hero__credit { top: auto; bottom: 16px; left: auto; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }   /* poster (background of .hero__media) only */
  .hero__toggle { display: none; }
}

/* Sections */
.section { padding: clamp(56px, 10vw, 104px) 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { margin-bottom: 32px; max-width: 640px; }
.section__intro { color: var(--muted); margin: 0; }

.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* Track */
.track { display: grid; gap: 24px; padding: 20px; }
.track__art { aspect-ratio: 3 / 2; border-radius: var(--r-sm); position: relative; overflow: hidden;
  background: #2a1a23; box-shadow: inset 0 0 0 10px #2a1a23, inset 0 0 0 11px rgba(229,138,156,.35);
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.track__no { font: 500 .85rem var(--sans); letter-spacing: .16em; color: var(--rose); }
.track__series { font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 11vw, 3.6rem); color: var(--text); line-height: 1; }
.track__series small { display: block; font-style: normal; font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.track__art::after { content: "AI-generated voice · 18+"; position: absolute; right: 20px; top: 20px; font: 500 .7rem var(--sans); letter-spacing: .08em; color: var(--muted); }
.track__title { font-size: clamp(1.6rem, 4.6vw, 2.1rem); }
.track__meta { color: var(--muted); font-size: .9rem; }
.track__hook { font-size: 1.08rem; }
.track__note { color: var(--muted); font-size: .9rem; }
.tags { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .8rem; padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--muted); }
.preview { margin: 0 0 18px; padding: 16px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); }
.preview__label { font-size: .85rem; font-weight: 600; margin-bottom: 10px; }
.preview__label span { font-weight: 400; color: var(--muted); }
.preview audio { width: 100%; height: 44px; display: block; }
.preview__missing { font-size: .9rem; color: var(--muted); border-left: 2px solid var(--rose); padding-left: 12px; }

/* Tiers */
.tiers { display: grid; gap: 16px; }
.tier { display: flex; flex-direction: column; position: relative; }
.tier ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.tier li { padding: 9px 0 9px 22px; border-top: 1px solid var(--line); position: relative; font-size: .95rem; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--rose); }
.tier__price { font-size: .95rem; color: var(--muted); margin-bottom: 18px; }
.tier__price span { font-family: var(--serif); font-size: 2.4rem; color: var(--text); margin-right: 4px; }
.tier--featured { border-color: var(--rose); }
.tier__badge { position: absolute; top: -12px; left: 24px; margin: 0; background: var(--rose); color: var(--rose-ink); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); }

/* Coming soon */
.soon { display: grid; gap: 16px; }
.soon__item h3::before { content: "Soon"; display: block; font: 600 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin-bottom: 10px; }
.soon__item p { color: var(--muted); }

/* About & rules */
.about { display: grid; gap: 24px; margin-bottom: 24px; }
.about__text p { font-size: 1.05rem; }
.notices { display: grid; gap: 16px; }
.notice { border-left: 3px solid var(--rose); }
.notice p { color: var(--muted); }
.rules__list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 0; }
.rules__list li { padding: 12px 0; border-top: 1px solid var(--line); }
.rules__list strong { color: var(--text); }
.rules > p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; background: var(--bg); }
.site-footer__inner { display: grid; gap: 20px; }
.brand--footer { margin-bottom: 10px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { display: inline-block; padding: 8px 0; color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--rose); }
.copyright { margin: 0; }

/* Legal pages */
.legal { padding: clamp(48px, 9vw, 88px) 0; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--muted); }
.legal li { margin-bottom: .5em; }
.legal strong { color: var(--text); }

/* Age gate */
.gate { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 20px; background: rgba(12,9,11,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity var(--t) var(--ease); }
.gate-pending .gate, .gate-open .gate { display: grid; }
.gate-open .gate { opacity: 1; }
.gate-open body, .gate-pending body { overflow: hidden; }
.gate__panel { width: 100%; max-width: 440px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 24px; text-align: center; transform: translateY(8px); transition: transform var(--t) var(--ease); }
.gate-open .gate__panel { transform: none; }
.gate .mark { margin: 0 auto 16px; width: 44px; height: 44px; font-size: 1.4rem; }
.gate h2 { font-size: 1.9rem; }
.gate p { color: var(--muted); }
.gate__actions { display: grid; gap: 10px; margin: 24px 0 16px; }
.noscript-note { margin: 0; padding: 10px var(--pad); background: var(--rose); color: var(--rose-ink); font-weight: 600; text-align: center; }

/* Wider screens */
@media (min-width: 720px) {
  .nav-toggle { display: none; }
  .nav-list { position: static; display: flex; gap: 4px; padding: 0; background: none; border: 0; opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: none; }
  .nav-list a { padding: 8px 12px; border: 0; border-radius: var(--r-pill); font-size: .95rem; }
  .soon { grid-template-columns: repeat(2, 1fr); }
  .gate__actions { grid-template-columns: 1fr 1fr; }
  .gate__panel { padding: 40px 36px; }
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); }
}
@media (min-width: 900px) {
  .track__art { aspect-ratio: 1 / 1; }
  .track { grid-template-columns: minmax(260px, 340px) 1fr; padding: 28px; gap: 36px; align-items: start; }
  .tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .soon { grid-template-columns: repeat(4, 1fr); }
  .about { grid-template-columns: 1.1fr 1fr; gap: 40px; }
  .rules__list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
