/* Xchange Club Press / Lick Daddie private preview
   Colors: plum, black, wine, teal, pineapple green, rose. No cream/beige/ivory/yellow. */
:root {
  --bg: #0b0710;
  --bg-soft: #160e1c;
  --bg-card: #1c1224;
  --plum: #5a2a6a;
  --plum-bright: #8b3d9e;
  --wine: #7a1f3d;
  --wine-soft: #a83258;
  --teal: #1f6f6a;
  --teal-bright: #2ea39a;
  --pine: #2f6b3a;
  --pine-bright: #4caf63;
  --rose: #d48a9c;
  --rose-soft: #e8b4c0;
  --text: #f3eef6;
  --muted: #b9a8c4;
  --line: rgba(212, 138, 156, 0.22);
  --focus: #2ea39a;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: Georgia, "Times New Roman", Times, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(90, 42, 106, 0.35), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(122, 31, 61, 0.28), transparent 50%),
    radial-gradient(700px 400px at 50% 100%, rgba(31, 111, 106, 0.18), transparent 55%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--teal); color: #fff; padding: 0.6rem 1rem; z-index: 10000;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Age gate */
#age-gate {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background:
    radial-gradient(800px 500px at 50% 20%, rgba(90, 42, 106, 0.55), transparent 60%),
    rgba(8, 4, 12, 0.96);
  padding: 1.5rem;
}
#age-gate[hidden] { display: none !important; }
.gate-card {
  width: min(460px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.gate-card img {
  width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%;
  border: 2px solid rgba(76, 175, 99, 0.45);
}
.gate-card h1 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.gate-card p { color: var(--muted); margin: 0 0 1.25rem; }
.gate-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.gate-note { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }

.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.8rem 1.2rem; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--wine-soft), var(--plum-bright));
  color: #fff;
}
.btn-primary:hover { color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); color: #fff; }
.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--pine));
  color: #fff;
}
.btn-teal:hover { color: #fff; }
.btn-disabled, .btn[aria-disabled="true"] {
  opacity: 0.55; cursor: not-allowed; transform: none;
  background: #2a2030; color: var(--muted);
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 7, 16, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: #fff; text-decoration: none; font-weight: 700;
}
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand span { line-height: 1.15; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: #fff; }

main { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 4rem; }

.hero {
  padding: 3.2rem 0 2.4rem;
  display: grid; gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; padding-top: 4rem; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  background: rgba(76, 175, 99, 0.12);
  border: 1px solid rgba(76, 175, 99, 0.35);
  color: var(--pine-bright); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12; margin: 0.9rem 0 0.8rem; font-weight: 600;
}
.hero .lede { color: var(--muted); font-size: 1.08rem; max-width: 38rem; margin: 0 0 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-art {
  background: linear-gradient(160deg, rgba(90,42,106,0.4), rgba(31,111,106,0.25));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.5rem;
  display: grid; place-items: center;
  min-height: 280px;
  box-shadow: var(--shadow);
}
.hero-art img { width: min(220px, 70%); border-radius: 50%; }

section { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 1.4rem; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.4rem; font-weight: 600;
}
.section-head p { margin: 0; color: var(--muted); max-width: 40rem; }

.grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 720px) {
  .grid.books { grid-template-columns: repeat(2, 1fr); }
  .grid.social { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: grid;
}
@media (min-width: 560px) {
  .card.book { grid-template-columns: 160px 1fr; }
}
.card .cover {
  background: #120a18;
  display: grid; place-items: center;
  padding: 1rem;
}
.card .cover img {
  width: 100%; max-width: 160px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.card .cover.square img { max-width: 140px; border-radius: 12px; }
.placeholder-cover {
  width: 100%; max-width: 160px; aspect-ratio: 5/8;
  border-radius: 8px;
  display: grid; place-items: center; text-align: center; padding: 1rem;
  background: linear-gradient(160deg, #3a1848, #1a3d3a);
  border: 1px solid rgba(212,138,156,0.25);
  color: var(--rose-soft);
  font-family: var(--display);
  font-size: 1.05rem; line-height: 1.25;
}
.card .body { padding: 1.2rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.55rem; }
.pill {
  display: inline-flex; width: fit-content;
  padding: 0.2rem 0.6rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  background: rgba(46,163,154,0.15); color: var(--teal-bright);
  border: 1px solid rgba(46,163,154,0.3);
}
.pill.soon { background: rgba(168,50,88,0.18); color: var(--rose-soft); border-color: rgba(168,50,88,0.35); }
.card h3 { margin: 0; font-size: 1.25rem; font-family: var(--display); font-weight: 600; }
.meta { color: var(--muted); font-size: 0.92rem; margin: 0; }
.blurb { margin: 0; color: var(--text); font-size: 0.98rem; }
.placeholder-note {
  margin: 0; font-size: 0.85rem; color: var(--rose-soft);
  background: rgba(168,50,88,0.12);
  border: 1px dashed rgba(212,138,156,0.4);
  border-radius: 10px; padding: 0.55rem 0.7rem;
}
.card .actions { margin-top: auto; padding-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.55rem; }

.notice, .privacy {
  background: rgba(22, 14, 28, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.notice h2, .privacy h2 { margin-top: 0; }
.notice ul { margin: 0.5rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.notice li { margin: 0.35rem 0; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem 3rem;
  text-align: center; color: var(--muted); font-size: 0.92rem;
}
.site-footer strong { color: var(--text); }
.site-footer .mark {
  width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 0.7rem;
}

body.gated-locked { overflow: hidden; }
body.gated-locked main,
body.gated-locked .site-header,
body.gated-locked .site-footer { visibility: hidden; }


/* Read more toggle */
.blurb-long { display: none; margin: 0.35rem 0 0; color: var(--text); font-size: 0.98rem; }
.blurb-long.is-open { display: block; }
.blurb-long p { margin: 0 0 0.7rem; }
.blurb-long p:last-child { margin-bottom: 0; }
.read-more {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  color: var(--rose-soft); font: inherit; font-weight: 600; font-size: 0.92rem;
  padding: 0; text-decoration: underline; text-underline-offset: 3px;
  width: fit-content;
}
.read-more:hover { color: #fff; }

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  display: grid; gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
@media (min-width: 640px) {
  .about-card { grid-template-columns: 96px 1fr; align-items: start; }
}
.about-card img {
  width: 96px; height: 96px; border-radius: 50%;
  border: 2px solid rgba(76,175,99,0.4);
}
.about-card h3 { margin: 0 0 0.45rem; font-family: var(--display); font-size: 1.35rem; }
.about-card .blurb { margin: 0; }
