/*
Theme Name: Bedside Secrets Immersive
Theme URI: https://bedsidesecrets.com
Author: Bedside Secrets / somarmedia
Author URI: https://bedsidesecrets.com
Description: Immersive, motion-first custom theme for Bedside Secrets — bright editorial palette (cream / dusty-grape / blush), Fraunces display type, custom cursor, momentum scroll, reveal-on-scroll, and seamless page transitions. Headless-grade experience delivered natively in WordPress.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bedsidesecrets
*/

/* ============================================================================
   Bedside Secrets — design system (ported from app/client/src/index.css)
   Bright & warm: cream ground, dusty-grape accent bands, blush pops.
   Fraunces display headlines, Cormorant italic flourishes, Inter body.
   ========================================================================== */

:root,
[data-theme="light"] {
  --bg: #f4ede3;
  --surface: #fbf6ef;
  --surface-2: #ece0d2;
  --line: #e2d4c4;
  --text: #2f2339;
  --muted: #7c7081;
  --rose: #c25e7a;
  --rose-soft: #d98aa0;
  --gold: #b07d39;
  --grape: #5c4668;
  --blush: #f0d6db;
  --body-gradient: radial-gradient(1200px 620px at 78% -10%, #faf3ec 0%, var(--bg) 60%);
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --radius-luxe: 18px;
  --maxw: 1200px;
}

[data-theme="dark"],
[data-theme="grape"] {
  --bg: #543f63;
  --surface: #4b3757;
  --surface-2: #6a527a;
  --line: #6f5980;
  --text: #f7f0ea;
  --muted: #cdbdd8;
  --rose: #f3a9bf;
  --rose-soft: #f7c8d4;
  --gold: #e7c98c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--body-gradient) no-repeat, var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
::selection { background: rgba(194, 94, 122, 0.3); color: #2f2339; }

/* When Lenis drives scroll, disable native smooth-scroll. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; position: relative; }
.section--tight { padding: 56px 0; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--rose); font-weight: 600; margin: 0 0 14px;
}
.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head h2 { font-size: clamp(30px, 5vw, 54px); }
.section-head p { color: var(--muted); font-size: 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--text); color: var(--bg);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn--rose { background: var(--rose); color: #fff; }

/* Accent bands. */
.section-grape, .section-dark {
  background:
    radial-gradient(1100px 560px at 75% -10%, #6a4f7d 0%, #543f63 55%) no-repeat, #543f63;
  color: #f7f0ea;
}
.section-grape .section-head p, .section-dark .section-head p { color: #cdbdd8; }
.section-blush { background: linear-gradient(180deg, #f6dde1 0%, #f0d6db 100%); color: #4a2e3a; }

/* Arched (rounded-top) photo frame. */
.arch { border-radius: 220px 220px 20px 20px; overflow: hidden; }
.zoom { overflow: hidden; }
.zoom img { transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.zoom:hover img, .group:hover .zoom img { transform: scale(1.06); }

/* ── Site header / nav ──────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; justify-content: center;
  padding: 18px 24px; transition: padding 0.4s ease;
}
.site-header__inner {
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px; border-radius: 999px;
  background: rgba(251, 246, 239, 0.82);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(47, 35, 57, 0.08);
}
.brand {
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  letter-spacing: 0.02em; line-height: 1; color: var(--text);
}
.brand span { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--rose); }
.nav { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav li, .mobile-nav__links li { list-style: none; margin: 0; padding: 0; }
.nav a { font-size: 14px; font-weight: 500; color: var(--text); opacity: 0.85; transition: opacity 0.25s; }
.nav a:hover, .nav a.is-active { opacity: 1; color: var(--rose); }
.nav__cta { padding: 9px 18px; border-radius: 999px; background: var(--grape); color: #fff !important; opacity: 1 !important; }
/* Hamburger → X */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; padding: 80px 24px;
  background: radial-gradient(1000px 700px at 70% -10%, #6a4f7d 0%, #543f63 62%);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s ease, transform 0.4s ease; }
.mobile-nav__close { position: absolute; top: 20px; right: 26px; background: none; border: 0; color: #f7f0ea; font-size: 40px; line-height: 1; cursor: pointer; }
.mobile-nav__links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mobile-nav__links a { font-family: var(--font-display); font-size: clamp(28px, 8vw, 38px); color: #f7f0ea; padding: 6px 0; transition: color 0.2s; }
.mobile-nav__links a:hover, .mobile-nav__links a.is-active { color: var(--rose-soft); }
.mobile-nav__links .nav__cta { margin-top: 20px; font-family: var(--font-sans); font-size: 16px; padding: 13px 30px; border-radius: 999px; background: var(--rose); color: #fff !important; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 80px; overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero__copy h1 { font-size: clamp(44px, 8vw, 104px); letter-spacing: -0.02em; }
.hero__copy h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--rose); }
.hero__copy p { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 30ch; margin: 22px 0 32px; }
.hero__media { position: relative; aspect-ratio: 4 / 5; }
.hero__media .arch { height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; bottom: 16px; left: 16px; z-index: 3;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 13px 17px; box-shadow: 0 18px 40px rgba(47, 35, 57, 0.16); max-width: 210px;
}
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 16px; }
.hero__badge span { font-size: 13px; color: var(--muted); }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; } .hero__media { order: -1; max-width: 440px; } }

/* Real-time WebGL hero viewport (vanilla three.js mounts a <canvas> inside). */
.hero__viewport {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #3a2748 0%, #2b1d36 70%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px rgba(54, 40, 64, 0.3);
}
.hero__viewport canvas { display: block; width: 100% !important; height: 100% !important; }
.hero__viewport noscript img { width: 100%; height: 100%; object-fit: cover; }
.hero__cue {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 3;
  padding: 6px 14px; border-radius: 999px; background: rgba(20, 12, 28, 0.35);
  color: rgba(255, 255, 255, 0.78); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  backdrop-filter: blur(4px); pointer-events: none;
}
@media (max-width: 860px) { .hero__viewport { aspect-ratio: 1 / 1; } }

/* ── Marquee ────────────────────────────────────────────────────────────── */
.marquee { overflow: hidden; white-space: nowrap; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track { display: inline-flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; animation: bs-marquee 32s linear infinite; will-change: transform; }
.marquee-track span { font-family: var(--font-display); font-size: 28px; opacity: 0.78; }
.marquee-track .star { color: var(--rose); }
@keyframes bs-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Cards / grids ──────────────────────────────────────────────────────── */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* AdSense Auto Ads is suppressed site-wide. Google restricts ad serving on sexual /
   adult-wellness content — slots come back mostly UNFILLED (empty grey boxes that
   broke the card grids here) and running them risks the AdSense account. Monetization
   for this niche is affiliate links + (optionally) an adult-friendly ad network.
   NOTE: this only HIDES them; also disable the Auto Ads source (WPCode snippet /
   Google Site Kit) + turn off Auto Ads in the AdSense dashboard to stop them loading. */
.google-auto-placed,
ins.adsbygoogle,
.adsbygoogle,
[data-google-query-id],
[data-ad-client],
div[id^="google_ads"],
ins[id^="aswift"],
iframe[id^="google_ads"],
iframe[id^="aswift"] { display: none !important; }
/* Belt-and-suspenders: any stray non-card child can't steal a card column. */
.grid > :not(.card):not(.cat):not(.mood),
.catrail > :not(.cat) { grid-column: 1 / -1; }

.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-luxe); overflow: hidden; transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(47, 35, 57, 0.12); }
/* Most post images are white-background Amazon product shots — frame them on a
   warm panel, `contain` so they're never cropped, and `multiply` so the white
   bg blends into the panel instead of reading as a stark white box. */
.card__media {
  aspect-ratio: 4 / 3; overflow: hidden; padding: 18px;
  background: radial-gradient(130% 130% at 50% 12%, #fdf9f4 0%, #efdedb 100%);
  display: flex; align-items: center; justify-content: center;
}
.card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); font-weight: 600; }
.card__title {
  font-family: var(--font-display); font-size: 20px; line-height: 1.18; margin: 4px 0 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__excerpt {
  color: var(--muted); font-size: 14.5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Mood grid (overlay tiles). */
.mood { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-luxe); overflow: hidden; }
.mood img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.mood:hover img { transform: scale(1.07); }
.mood__label { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; background: linear-gradient(to top, rgba(40,26,48,0.78) 0%, rgba(40,26,48,0) 60%); }
.mood__label .eyebrow { color: var(--rose-soft); }
.mood__label h3 { font-size: 26px; color: #fff; }

/* Category rail. */
.catrail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .catrail { grid-template-columns: repeat(2, 1fr); } }
.cat { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-luxe); overflow: hidden; display: flex; align-items: flex-end; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat__label { position: relative; z-index: 2; padding: 18px; color: #fff; width: 100%; background: linear-gradient(to top, rgba(40,26,48,0.8), transparent); }
.cat__label h3 { font-size: 20px; color: #fff; margin: 0; }
.cat__label span { font-size: 13px; opacity: 0.85; }

/* ── Product card (affiliate, no displayed price — Amazon TOS) ───────────── */
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-luxe); overflow: hidden; }
.product__media {
  aspect-ratio: 1 / 1; overflow: hidden; padding: 22px;
  background: radial-gradient(130% 130% at 50% 12%, #fdf9f4 0%, #efdedb 100%);
  display: flex; align-items: center; justify-content: center;
}
.product__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__brand { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.product__title { font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.product__cta { margin-top: auto; }

/* ── Faceted browse ─────────────────────────────────────────────────────── */
.archive-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .archive-layout { grid-template-columns: 1fr; } }
.facets { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 26px; }
.facet__title { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); font-weight: 600; margin: 0 0 12px; }
.facet__terms { display: flex; flex-wrap: wrap; gap: 8px; }
.facet-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--text); transition: all 0.2s; }
.facet-chip:hover { border-color: var(--rose); color: var(--rose); }
.facet-chip.is-active { background: var(--grape); color: #fff; border-color: var(--grape); }
.facet-chip small { opacity: 0.6; }
.facet-clear { font-size: 13px; color: var(--rose); }

/* ── Pagination ─────────────────────────────────────────────────────────── */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 9px 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.pagination .current { background: var(--grape); color: #fff; border-color: var(--grape); }

/* ── Single guide ───────────────────────────────────────────────────────── */
.guide-hero { padding: 150px 0 30px; }
.guide-hero .eyebrow { margin-bottom: 16px; }
/* Imported product titles can be 200+ chars — keep them readable, not screen-filling. */
.guide-hero h1 {
  font-size: clamp(26px, 3.6vw, 46px); line-height: 1.12; max-width: 26ch;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.guide-hero__meta { color: var(--muted); font-size: 14px; margin-top: 18px; }
.guide-figure { margin: 30px 0 40px; }
/* Soften the arch for product shots; contain + multiply so white bg blends. */
.guide-figure .arch {
  aspect-ratio: 16 / 9; border-radius: 28px; padding: 30px;
  background: radial-gradient(130% 130% at 50% 10%, #fdf9f4 0%, #efdedb 100%);
  display: flex; align-items: center; justify-content: center;
}
.guide-figure img { width: auto; max-width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.guide-body { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.75; }
.guide-body h2 { font-size: 30px; margin: 1.4em 0 0.5em; }
.guide-body h3 { font-size: 23px; margin: 1.2em 0 0.4em; }
.guide-body p { margin: 0 0 1.1em; }
.guide-body img { border-radius: 14px; margin: 1.4em 0; height: auto; }
.guide-body a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
.guide-body ul, .guide-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.guide-body li { margin: 0.35em 0; }
.guide-body ul { list-style: none; padding-left: 0; }
.guide-body ul > li { position: relative; padding-left: 1.5em; }
.guide-body ul > li::before { content: "✦"; position: absolute; left: 0; color: var(--rose); font-size: 0.85em; top: 0.15em; }
.guide-body blockquote {
  margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--rose);
  background: var(--surface); border-radius: 0 14px 14px 0;
  font-family: var(--font-serif); font-size: 21px; font-style: italic; color: var(--text);
}
.guide-body table {
  width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15.5px;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.guide-body th, .guide-body td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.guide-body thead th { background: var(--grape); color: #fff; font-family: var(--font-sans); font-weight: 600; }
.guide-body tbody tr:nth-child(even) { background: var(--surface); }
.guide-body tbody tr:last-child td { border-bottom: 0; }
.guide-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
/* Tame raw embedded product widgets (Content Egg etc.) so they don't overflow. */
.guide-body iframe, .guide-body table, .guide-body img { max-width: 100%; }

/* ── Legacy Content Egg v5 product boxes — reskin to match + hide hardcoded prices ── */
.guide-body .cegg5-container, .guide-body .cegg-item-card, .guide-body .cegg-card {
  border: 1px solid var(--line) !important; border-radius: var(--radius-luxe) !important;
  background: var(--surface) !important; box-shadow: 0 14px 40px rgba(47, 35, 57, 0.07) !important;
  overflow: hidden; font-family: var(--font-sans);
}
.guide-body .cegg-card-title, .guide-body .cegg-item-card .card-title {
  font-family: var(--font-display) !important; font-weight: 600 !important; color: var(--text) !important;
}
/* Amazon Operating Agreement forbids displaying non-API prices — hide them. */
.guide-body .cegg-card-price, .guide-body .cegg-price, .guide-body .cegg-old-price,
.guide-body .cegg-price-disclaimer, .guide-body .cegg-card-cashback { display: none !important; }
/* Merchant CTA → brand pill. */
.guide-body .cegg-card-button .btn, .guide-body .cegg-card-button a, .guide-body .cegg-item-card .btn {
  background: var(--rose) !important; border-color: var(--rose) !important; color: #fff !important;
  border-radius: 999px !important; font-weight: 600 !important; padding: 12px 24px !important;
  text-transform: none !important; box-shadow: none !important;
}
.guide-body .cegg-card-button .btn:hover, .guide-body .cegg-item-card .btn:hover { filter: brightness(1.05); }
.guide-body .cegg-rating-stars { color: var(--gold) !important; }
.guide-body .cegg-merchant, .guide-body .cegg-stock-status { color: var(--muted) !important; }
/* Frame product images on a warm panel (white bg dissolves via multiply). */
.guide-body .cegg-item-card-img-col { background: radial-gradient(130% 130% at 50% 12%, #fdf9f4 0%, #efdedb 100%) !important; }
.guide-body .cegg-external-img, .guide-body .cegg-item-card-img-col img {
  object-fit: contain !important; mix-blend-mode: multiply; padding: 12px;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: #2f2339; color: #e9ddef; padding: 70px 0 40px; }
.site-footer a { color: #e9ddef; opacity: 0.82; }
.site-footer a:hover { opacity: 1; color: var(--rose-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand .brand { color: #fff; font-size: 26px; }
.footer-brand p { color: #b9a8c4; max-width: 34ch; margin-top: 12px; }
.footer-col h4 { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #b9a8c4; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; font-size: 13px; color: #9c8aa8; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.footer-disclosure { font-size: 12.5px; color: #9c8aa8; max-width: 70ch; margin-top: 14px; line-height: 1.6; }

/* ── Reveal on scroll ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.scroll-cue.cue-anim { animation: bs-cue 1.8s ease-in-out infinite; }
@keyframes bs-cue { 0%,100% { transform: translate(-50%, 0); opacity: 0.5; } 50% { transform: translate(-50%, 7px); opacity: 1; } }

/* ── Page-transition overlay (driven by Swup's html.is-* classes) ───────── */
.transition-overlay { position: fixed; inset: 0; z-index: 360; pointer-events: none; transform: translateY(101%); background: radial-gradient(1100px 600px at 50% 22%, #6a4f7d 0%, #4b3757 65%); }
html.is-changing .transition-overlay { will-change: transform; }
html.is-leaving .transition-overlay { transform: translateY(0); transition: transform 0.55s cubic-bezier(0.83, 0, 0.17, 1); }
html.is-rendering .transition-overlay { transform: translateY(-101%); transition: transform 0.6s cubic-bezier(0.83, 0, 0.17, 1); }
.transition-overlay__word { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: clamp(34px, 6vw, 58px); color: #f7f0ea; opacity: 0; transform: translateY(16px); }
.transition-overlay__word em { font-family: var(--font-serif); font-style: italic; color: var(--rose-soft); }
html.is-leaving .transition-overlay__word { opacity: 1; transform: none; transition: opacity 0.4s 0.12s ease, transform 0.5s 0.12s cubic-bezier(0.22, 1, 0.36, 1); }

/* ── 18+ age gate ───────────────────────────────────────────────────────── */
.age-gate { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(33, 24, 40, 0.74); backdrop-filter: blur(8px); }
.age-gate.is-open { display: flex; }
.age-gate__card { max-width: 440px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 40px 34px; text-align: center; box-shadow: 0 40px 90px rgba(20,12,26,0.5); }
.age-gate__card h2 { font-size: 30px; }
.age-gate__card p { color: var(--muted); font-size: 15px; }
.age-gate__actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; }
.age-gate__leave { background: transparent; border: 1.5px solid var(--line); color: var(--muted); }

/* ── Reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .scroll-cue.cue-anim, .mood img, .zoom img { animation: none; transition: none; }
  html { scroll-behavior: auto; }
  .transition-overlay { display: none; }
}

