/* ============================================================
   Pumpkinseed Press — design system
   Dark, warm, editorial. One accent (ember) reserved for CTAs.
   Mobile-first; every layout is single-column by default.
   ============================================================ */

:root {
  --ink:      #161020;   /* page background — deep aubergine-black */
  --ink-2:    #1f1729;   /* raised cards */
  --ink-3:    #2a2036;   /* higher surfaces, quiz options */
  --line:     #372b45;   /* hairlines */
  --paper:    #f4ece2;   /* primary text — warm cream */
  --muted:    #a99bb0;   /* secondary text */
  --ember:    #ff7a3d;   /* CTA only — never decorative */
  --ember-hi: #ff9059;
  --rose:     #e08bab;   /* intimate accent: links, labels, marks */
  --gold:     #eec27a;   /* stats, stars */

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --measure: 46rem;       /* reading column */
  --measure-wide: 58rem;  /* breakout column: headings, figures, stats, quiz, CTAs */
}

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

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

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

a { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, var(--measure)); margin-inline: auto; }

/* ---------- header / footer ---------- */

.site-header {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--paper); }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 34px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.01em; }
.brand-name .press {
  display: block; font-family: var(--sans); font-weight: 600; font-size: 0.62rem;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted); margin-top: -0.15rem;
}

.header-cta {
  font-size: 0.85rem; font-weight: 700; color: #1c0f06;
  background: var(--ember); border-radius: 999px;
  padding: 0.55em 1.15em; white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.header-cta:hover { background: var(--ember-hi); text-decoration: none; transform: translateY(-1px); }
@media (max-width: 460px) {
  .header-cta { font-size: 0.78rem; padding: 0.5em 0.9em; }
}

.site-footer {
  margin-top: 5rem; padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.85rem; line-height: 1.8;
}
.site-footer .fine { max-width: 60rem; }
.site-footer nav { margin-top: 0.8rem; display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: var(--muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--ember); color: #1c0f06;
  font-family: var(--sans); font-weight: 700; font-size: 1.02rem;
  padding: 0.95em 1.7em; border: 0; border-radius: 999px; cursor: pointer;
  min-height: 48px;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  background: var(--ember-hi); text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(255, 122, 61, 0.35);
}
.btn--big { font-size: 1.12rem; padding: 1.05em 2em; }
.btn--ghost {
  background: transparent; color: var(--paper);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--ink-2); box-shadow: none; }
.btn-note {
  display: block; margin-top: 0.6rem;
  font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em;
}

/* hand-drawn white arrow floating just outside the CTA button, pointing at it.
   Slow drift toward the button (killed globally by reduced-motion). */
.cta-point { position: relative; display: inline-block; }
.pen-arrow {
  position: absolute; left: calc(100% + 10px); top: 30px;
  width: 92px; height: auto; pointer-events: none;
  animation: pen-drift 3.2s ease-in-out infinite;
}
@keyframes pen-drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-6px, -4px); }
}
@media (max-width: 700px) { .pen-arrow { display: none; } }

/* ---------- home ---------- */

.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  line-height: 1.08; letter-spacing: -0.01em; max-width: 18ch;
}
.hero p { margin-top: 1.2rem; color: var(--muted); max-width: 46ch; font-size: 1.08em; }

.card-grid {
  display: grid; gap: 1.2rem; margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}
.card {
  display: flex; flex-direction: column; gap: 0.6rem;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; color: var(--paper);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
a.card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--rose); }
.card .kicker { margin-bottom: 0.2rem; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.25; }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card .meta { color: var(--muted); font-size: 0.8rem; }
.card--soon { opacity: 0.55; }
.card--soon .meta { color: var(--gold); }

.kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--rose);
}

/* ---------- article ---------- */

.article-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; }
.article-head h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.14; letter-spacing: -0.01em; margin-top: 0.9rem;
}
.article-head .dek { margin-top: 1.1rem; color: var(--muted); font-size: 1.1em; line-height: 1.6; }
.byline {
  margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 0.8rem;
  color: var(--muted); font-size: 0.88rem;
}
.byline .dot { opacity: 0.5; }

/* clickable author card (top of article) — light card, photo left, name-forward.
   Sticks to the top of the viewport while the article scrolls. */
.author-card {
  position: sticky; top: clamp(8px, 2vw, 14px); z-index: 30;
  margin-top: 1.8rem;
  background: linear-gradient(135deg, #faf4ea, #f0e5d8);
  border-radius: var(--radius);
  padding: 1.05rem 1.25rem;
  display: flex; align-items: center; gap: 1.05rem;
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    padding 0.2s ease, gap 0.2s ease;
}
.author-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(255, 122, 61, 0.22);
}
.author-card .ring {
  flex: none; width: 74px; height: 74px; padding: 3px; border-radius: 999px;
  background: linear-gradient(135deg, var(--ember), var(--rose));
  display: block;
}
.author-card .ring img,
.author-card .ring .ring-initial {
  width: 100%; height: 100%; border-radius: 999px;
  border: 3px solid #faf4ea; object-fit: cover; background: var(--ink-2);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.7rem; color: var(--rose);
}
.author-card .who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.author-card .name {
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
  line-height: 1.05; color: var(--ink); letter-spacing: -0.01em;
}
.author-card .sub { color: #857260; font-size: 0.78rem; line-height: 1.45; }
.author-card .go {
  flex: none; display: inline-flex; align-items: center; gap: 0.35rem;
  color: #c24d10; font-weight: 700; font-size: 0.85rem; white-space: nowrap;
}
.author-card .go svg { transition: transform 0.15s ease; }
.author-card:hover .go svg { transform: translateX(3px); }
@media (max-width: 460px) {
  .author-card .go > span { display: none; }
  .author-card .name { font-size: 1.3rem; }
}

/* compact docked state while stuck (class toggled in main.js) */
.author-card .ring { transition: width 0.2s ease, height 0.2s ease; }
.author-card .name { transition: font-size 0.2s ease; }
.author-card.is-stuck {
  padding: 0.5rem 0.9rem; gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.author-card.is-stuck .ring { width: 44px; height: 44px; padding: 2px; }
.author-card.is-stuck .ring img,
.author-card.is-stuck .ring .ring-initial { border-width: 2px; }
.author-card.is-stuck .name { font-size: 1.1rem; }
.author-card.is-stuck .sub { display: none; }

/* Editorial breakout: the body is a wide column; text children sit at reading
   measure, while media blocks (figures, stats, quiz, CTAs) span the full width. */
.article-body {
  padding-top: 1.5rem;
  width: min(100% - 2.5rem, var(--measure-wide));
}
.article-body > * { max-width: var(--measure); margin-inline: auto; }
.article-body > * + * { margin-top: 1.4rem; }
.article-body > .fig,
.article-body > .stats,
.article-body > .quiz,
.article-body > .cta-block { max-width: none; }
.article-body h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.25;
  margin-top: 2.6rem;
}
.article-body p em { color: var(--rose); font-style: italic; }
body[data-page="article"] .article-body > p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 700; color: var(--rose);
  font-size: 3.1em; line-height: 0.8; float: left;
  padding: 0.08em 0.12em 0 0;
}

.pullquote {
  border-left: 3px solid var(--rose);
  padding: 0.4rem 0 0.4rem 1.4rem; margin-block: 2.2rem;
}
.pullquote p { font-family: var(--serif); font-size: 1.35em; line-height: 1.4; font-style: italic; }
.pullquote cite { display: block; margin-top: 0.6rem; color: var(--muted); font-size: 0.85rem; font-style: normal; }

.callout {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; color: var(--muted); font-size: 0.88rem;
}

.stat .source a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.stat .source a:hover { color: var(--rose); }

/* answer-first summary box */
.tldr {
  background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--rose);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-block: 1.6rem;
}
.tldr-label {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--rose); margin-bottom: 0.5rem;
}
.tldr p { color: var(--paper); font-weight: 500; }

/* FAQ section */
.faq { margin-block: 2.4rem; }
.faq-item {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; margin-top: 0.8rem;
}
.faq-item h3 { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.faq-item p { color: var(--muted); font-size: 0.93rem; margin-top: 0.5rem; }

/* stats */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin-block: 2rem; }
.stat {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.stat .big { font-family: var(--serif); font-weight: 700; font-size: 2.1rem; color: var(--gold); line-height: 1; }
.stat .label { margin-top: 0.5rem; font-size: 0.9rem; line-height: 1.45; }
.stat .source { margin-top: 0.55rem; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.03em; }

/* figures: clear -> blur -> locked */
.fig {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-block: 2.2rem;
}
.fig-art { position: relative; aspect-ratio: 16 / 9; background: var(--ink-3); }
.fig-art svg { width: 100%; height: 100%; }
.fig-cap { padding: 0.9rem 1.3rem; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); }
.fig-cap strong { color: var(--paper); display: block; font-size: 0.92rem; margin-bottom: 0.15rem; }

.fig--blur .fig-art svg { filter: blur(13px) saturate(1.2); transform: scale(1.06); }
.fig--blur .fig-veil {
  position: absolute; inset: 0; display: grid; place-items: end center;
  padding-bottom: 1rem;
  background: linear-gradient(to top, rgba(22, 16, 32, 0.85), transparent 55%);
}
.fig--blur .fig-veil span {
  font-size: 0.8rem; font-weight: 600; color: var(--paper);
  background: rgba(31, 23, 41, 0.85); border: 1px solid var(--line);
  padding: 0.4rem 0.9rem; border-radius: 999px;
}

.fig--locked .fig-art svg { filter: blur(26px) saturate(1.3); transform: scale(1.12); }
.fig--locked .fig-lock {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.7rem; text-align: center;
  padding: 1.5rem; background: rgba(22, 16, 32, 0.72);
}
.fig--locked .fig-lock .lock-icon {
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ember), var(--rose));
  color: #1c0f06; font-size: 1.1rem;
}
.fig--locked .fig-lock h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; max-width: 26ch; }
.fig--locked .fig-lock p { font-size: 0.9rem; color: var(--muted); max-width: 38ch; }

/* quiz */
.quiz {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.2rem); margin-block: 2.4rem;
}
.quiz .kicker { color: var(--gold); }
.quiz h3 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; margin-top: 0.5rem; }
.quiz-progress { display: flex; gap: 0.4rem; margin-top: 1rem; }
.quiz-progress i { width: 2rem; height: 4px; border-radius: 4px; background: var(--ink-3); }
.quiz-progress i.on { background: var(--rose); }
.quiz-q { margin-top: 1.4rem; font-weight: 600; font-size: 1.05rem; }
.quiz-opts { display: grid; gap: 0.7rem; margin-top: 1rem; }
.quiz-opts button {
  text-align: left; font-family: var(--sans); font-size: 0.98rem; color: var(--paper);
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.9rem 1.1rem; cursor: pointer; min-height: 48px;
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.quiz-opts button:hover { border-color: var(--rose); transform: translateX(3px); }
.quiz-result { margin-top: 1.4rem; }
.quiz-result h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--gold); }
.quiz-result p { margin-top: 0.6rem; color: var(--muted); }
.quiz-result .btn { margin-top: 1.2rem; }

/* inline CTA block */
.cta-block {
  text-align: center; margin-block: 3rem;
  background: radial-gradient(120% 160% at 50% 0%, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
}
.cta-block h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.cta-block p { margin-top: 0.7rem; color: var(--muted); max-width: 44ch; margin-inline: auto; }
.cta-block .btn { margin-top: 1.5rem; }

/* sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(31, 23, 41, 0.92); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 0.8rem 1.2rem calc(0.8rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  transform: translateY(110%); transition: transform 0.3s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .txt { font-size: 0.88rem; color: var(--muted); display: none; }
.sticky-cta .btn { font-size: 0.95rem; padding: 0.75em 1.5em; }
@media (min-width: 640px) {
  .sticky-cta .txt { display: block; }
}

/* ---------- profile / bridge page ---------- */

.profile-hero { text-align: center; padding: clamp(2.5rem, 7vw, 5rem) 0 1rem; }
.avatar {
  width: clamp(150px, 42vw, 220px); height: clamp(150px, 42vw, 220px);
  margin-inline: auto; border-radius: 999px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ember), var(--rose));
  font-family: var(--serif); font-weight: 700; font-size: 4.6rem; color: #1c0f06;
  box-shadow: 0 8px 40px rgba(224, 139, 171, 0.3);
}
.avatar-link { display: block; width: fit-content; margin-inline: auto; border-radius: 999px; transition: transform 0.15s ease; }
.avatar-link:hover { transform: scale(1.04); }
.avatar--img { padding: 3px; }
.avatar--img img {
  width: 100%; height: 100%; border-radius: 999px;
  object-fit: cover; border: 3px solid var(--ink); background: var(--ink-2);
}
.handle {
  display: inline-block; margin-top: 0.9rem; font-size: 0.85rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.8rem;
}
.profile-hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.12;
  margin-top: 1.2rem; max-width: 22ch; margin-inline: auto;
}
.profile-hero .sub { margin-top: 1rem; color: var(--muted); margin-inline: auto; }
.profile-hero .btn { margin-top: 1.8rem; }
.profile-hero .cta-point { margin-top: 1.8rem; }
.profile-hero .cta-point .btn { margin-top: 0; }

.proof-strip { text-align: center; margin-top: 1.2rem; color: var(--gold); font-size: 0.9rem; font-weight: 600; }

.banner {
  margin-top: 2.2rem;
  background: linear-gradient(90deg, rgba(255, 122, 61, 0.12), rgba(224, 139, 171, 0.12));
  border: 1px solid rgba(255, 122, 61, 0.35); border-radius: var(--radius);
  padding: 1rem 1.4rem; text-align: center; font-size: 0.95rem;
}
.banner strong { color: var(--gold); }

.section-title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin-top: 3.5rem; text-align: center;
}

/* latest-articles grid on the profile page */
.card-grid--stories { margin-top: 1.8rem; }

/* ---------- coaches page ---------- */

.coach-grid {
  display: grid; gap: 1.2rem; margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}
.coach-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem 1.8rem; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.coach-card .avatar { width: 84px; height: 84px; font-size: 2rem; }
.coach-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; margin-top: 1rem; }
.coach-role {
  margin-top: 0.35rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose);
}
.coach-card p { margin-top: 0.8rem; color: var(--muted); font-size: 0.93rem; flex: 1; }
.coach-card .btn { margin-top: 1.2rem; font-size: 0.92rem; padding: 0.7em 1.5em; }
.coach-soon {
  margin-top: 1.35rem; color: var(--gold); font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}

.testimonials { display: grid; gap: 1.1rem; margin-top: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.testimonial { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.testimonial p { font-size: 0.95rem; font-style: italic; }
.testimonial cite { display: block; margin-top: 0.7rem; color: var(--muted); font-size: 0.82rem; font-style: normal; }

.price-line { text-align: center; margin-top: 3rem; }
.price-line .big { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--gold); }
.price-line .note { margin-top: 0.4rem; color: var(--muted); font-size: 0.88rem; }

.final-cta { text-align: center; margin-top: 3.5rem; }
.final-cta h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.final-cta > p { margin-top: 0.8rem; color: var(--muted); max-width: 44ch; margin-inline: auto; }
.final-cta .btn { margin-top: 1.4rem; }
.final-cta--mid { margin-top: 2.4rem; }
.final-cta--mid h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }

/* ---------- profile: teaser gallery & OnlyFans handoff ---------- */

.section-title--tight { margin-top: 2.4rem; }

.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
  grid-auto-flow: dense;
  margin-top: 1.5rem;
}
.g-card {
  position: relative; aspect-ratio: 4 / 5; border-radius: 14px;
  overflow: hidden; border: 1px solid var(--line); background: var(--ink-2);
  display: block;
}
/* horizontal media: spans two columns at a landscape ratio; object-fit
   covers the remaining crop in both directions */
.g-card--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.g-card svg, .g-card img, .g-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-label {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 0.7rem 0.6rem;
  font-size: 0.74rem; font-weight: 600; color: var(--paper); line-height: 1.3;
  background: linear-gradient(to top, rgba(22, 16, 32, 0.9), transparent);
}
.g-card--blur svg, .g-card--blur img, .g-card--blur video { filter: blur(11px) saturate(1.2); transform: scale(1.1); }
.g-card--locked svg, .g-card--locked img, .g-card--locked video { filter: blur(18px) saturate(1.25); transform: scale(1.14); }
.g-card--locked .g-lock {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.55rem; text-align: center;
  padding: 0.8rem; background: rgba(22, 16, 32, 0.62);
  font-size: 0.78rem; font-weight: 600; color: var(--paper); line-height: 1.35;
}
.g-card--locked .lock-icon {
  width: 36px; height: 36px; border-radius: 999px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ember), var(--rose));
  color: #1c0f06;
}
a.g-card { transition: transform 0.15s ease; }
a.g-card:hover { transform: translateY(-3px); text-decoration: none; }

/* mobile: swipeable carousel with snap + next-card peek */
@media (max-width: 640px) {
  .gallery {
    display: flex; gap: 0.7rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.4rem;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .g-card { flex: 0 0 74%; scroll-snap-align: center; }
  .g-card--wide { flex-basis: 88%; }
}

.content-stats {
  text-align: center; margin-top: 1.4rem;
  color: var(--gold); font-size: 0.9rem; font-weight: 600;
}

.of-badge {
  display: inline-flex; align-items: center; gap: 0.32rem;
  background: #00aff0; color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.01em;
  padding: 0.28rem 0.7rem; border-radius: 999px; vertical-align: middle;
}
.hosted-on {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  margin-top: 1rem; color: var(--muted); font-size: 0.8rem;
}
a.hosted-on:hover { text-decoration: none; color: var(--paper); }
a.hosted-on:hover .of-badge { background: #2cc0fa; }
.of-badge { transition: background 0.15s ease; }
.btn--of {
  background: #00aff0; color: #fff; gap: 0.55rem;
}
.btn--of:hover {
  background: #2cc0fa;
  box-shadow: 0 6px 28px rgba(0, 175, 240, 0.4);
}

/* ---------- age gate ---------- */

.agegate {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(16, 11, 24, 0.96); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 1.5rem;
}
.agegate-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px;
  max-width: 26rem; padding: 2.2rem; text-align: center;
}
.agegate-card svg { width: 34px; height: 44px; margin-inline: auto; }
.agegate-card h2 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin-top: 1rem; }
.agegate-card p { margin-top: 0.7rem; color: var(--muted); font-size: 0.92rem; }
.agegate-card .row { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.5rem; }

/* ---------- misc ---------- */

noscript .noscript-note {
  display: block; padding: 2rem; text-align: center; color: var(--gold);
}

::selection { background: var(--rose); color: var(--ink); }

/* ---------- topic hubs ---------- */

.topic-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  margin-top: -1.2rem; margin-bottom: 0.4rem;
}
.topic-strip-label {
  color: var(--muted); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.topic-strip a {
  display: inline-block; padding: 0.34rem 0.95rem;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--paper); font-size: 0.9rem; font-weight: 500; text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.topic-strip a:hover { border-color: var(--rose); color: var(--rose); }

.series-link {
  margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.95rem;
}
.series-link a { color: var(--rose); }

.related-essays { margin: 3.5rem auto 4.5rem; }
.related-essays .related-title {
  font-family: var(--serif); font-size: 1.5rem; margin: 0;
}
.related-essays .card-grid { margin-top: 1.4rem; }
