/* Geetara - site styles.
   Theme: one locked "twilight lavender" theme across every page.
   Brand palette from the Geetara cards: lavender nebula, gold, cream.
   Radius rule: buttons pill, cards 18px, inputs 10px. */

@import url('fonts.css');

:root {
  --violet-900: #2a1a4c;
  --violet-800: #3b2668;
  --violet-700: #4d3383;
  --violet-600: #6a4aa8;
  --violet-500: #8a6cc4;
  --lilac-300: #c9b3e8;
  --lilac-200: #e2d5f3;
  --pink-400: #d98bc7;
  --gold-500: #d9a93a;
  --gold-400: #ecc35c;
  --gold-300: #f4d98a;
  --cream-100: #fbf6ea;
  --cream-200: #f1e7d2;
  --ink: #2a1a4c;

  --bg: var(--violet-800);
  --surface: rgba(251, 246, 234, 0.08);
  --surface-strong: rgba(251, 246, 234, 0.14);
  --line: rgba(251, 246, 234, 0.18);
  --text: #f6f0fb;
  --text-soft: #d9cdea;
  --accent: var(--gold-400);
  --accent-ink: #2a1a4c;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;

  --r-card: 18px;
  --r-input: 10px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 20px 50px -20px rgba(20, 8, 46, 0.6);
  --max: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--violet-900);
    --text: #f3ecfa;
    --text-soft: #cdbfe0;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 40% at 15% 10%, rgba(217, 139, 199, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 45% at 85% 20%, rgba(138, 108, 196, 0.45), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(106, 74, 168, 0.5), transparent 60%);
  background-attachment: fixed;
  min-height: 100dvh;
}

/* Static star field: fixed, non-interactive, cheap. */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 8%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 42% 32%, rgba(244,217,138,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 58%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 72%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 64% 84%, rgba(244,217,138,.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 48%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 60%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 95% 90%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 95%, rgba(255,255,255,.5) 50%, transparent 51%);
  opacity: .7;
}
body > * { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
.lede { color: var(--text-soft); max-width: 60ch; font-size: 1.1rem; }
.script { font-family: var(--font-script); font-weight: 400; color: var(--gold-300); letter-spacing: 0.01em; }
.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; vertical-align: -0.25em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head p { margin-top: .75rem; }

/* Buttons: pill, one accent. */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--gold-300); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold-300); color: var(--gold-300); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-300); outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(59, 38, 104, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
@media (prefers-reduced-transparency: reduce) { .site-header { background: var(--violet-800); backdrop-filter: none; } }
.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold-500); }
.brand .script { font-size: 1.9rem; line-height: 1; padding-top: .3rem; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text-soft); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--gold-300); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: var(--r-pill); width: 42px; height: 42px; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 68px;
    background: var(--violet-800); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem;
  }
  .nav.open .nav-links a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
}

/* Hero: asymmetric split. */
.hero { padding-top: clamp(2.5rem, 5vw, 5rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .script { display: block; font-size: clamp(3.2rem, 7vw, 5.4rem); line-height: 1; margin-bottom: .5rem; }
.hero .lede { margin-top: 1.25rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-meta { margin-top: 1.5rem; color: var(--text-soft); font-size: .95rem; display: flex; gap: .5rem; align-items: center; }

.card-fan { position: relative; height: clamp(320px, 38vw, 480px); }
.card-fan .tcard {
  position: absolute; left: 50%; bottom: 0; width: clamp(150px, 17vw, 210px);
  transform-origin: 50% 110%;
  transform: translateX(-50%) rotate(var(--rot)) translateY(var(--lift));
  transition: transform .6s var(--ease);
}
.card-fan .tcard:nth-child(1) { --rot: -16deg; --lift: 6px; z-index: 1; }
.card-fan .tcard:nth-child(2) { --rot: 0deg; --lift: -18px; z-index: 3; }
.card-fan .tcard:nth-child(3) { --rot: 16deg; --lift: 6px; z-index: 2; }
.card-fan:hover .tcard:nth-child(1) { --rot: -22deg; }
.card-fan:hover .tcard:nth-child(3) { --rot: 22deg; }
.card-fan:hover .tcard:nth-child(2) { --lift: -34px; }

/* A framed tarot card: cream mat, gold rule, image inside. */
.tcard {
  background: var(--cream-100); border-radius: 12px; padding: 7px;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--gold-500);
  aspect-ratio: 320 / 549;
}
.tcard img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; filter: saturate(.9) sepia(.08); }
.tcard figcaption { font-family: var(--font-display); color: var(--ink); text-align: center; font-size: .95rem; padding-top: .35rem; }
.tcard.has-caption img { height: calc(100% - 1.5rem); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .card-fan { height: 300px; order: -1; }
}

/* Entry motion (hero only) */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
  .rise:nth-child(2) { animation-delay: .08s; } .rise:nth-child(3) { animation-delay: .16s; } .rise:nth-child(4) { animation-delay: .24s; } .rise:nth-child(5) { animation-delay: .32s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* Daily card ("Universe Message For You") */
.daily { text-align: center; }
.daily .section-head { margin-inline: auto; }
.flip { perspective: 1400px; width: clamp(200px, 26vw, 260px); margin: 2.5rem auto 0; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
.flip-inner { position: relative; transform-style: preserve-3d; transition: transform .9s var(--ease); aspect-ratio: 320 / 549; }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { transform: rotateY(180deg); }
.flip.reversed .flip-back .tcard img { transform: rotate(180deg); }
.card-back {
  height: 100%; border-radius: 12px; padding: 10px;
  background: var(--cream-100); box-shadow: var(--shadow), inset 0 0 0 1px var(--gold-500);
}
.card-back-inner {
  height: 100%; border-radius: 8px; border: 1.5px solid var(--gold-500);
  background:
    radial-gradient(circle at 50% 50%, rgba(217,169,58,.18), transparent 55%),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(217,169,58,.12) 14px 15px),
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(217,169,58,.12) 14px 15px);
  display: grid; place-items: center;
}
.card-back-inner img { width: 58%; border-radius: 50%; border: 1.5px solid var(--gold-500); }
@media (prefers-reduced-motion: no-preference) {
  .flip:not(.flipped):hover .flip-inner { transform: translateY(-6px) rotateY(-6deg); }
}
.daily-result { max-width: 60ch; margin: 2rem auto 0; min-height: 3rem; }
.daily-result h3 { font-size: 1.9rem; }
.daily-result .orient { color: var(--gold-300); font-size: .95rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.daily-result p { margin-top: .75rem; color: var(--text-soft); }
.daily-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.kw { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.kw span { border: 1px solid var(--line); border-radius: var(--r-pill); padding: .2rem .8rem; font-size: .9rem; color: var(--text-soft); }

/* Services: 2 + 3 grid with varied backgrounds. */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.service {
  grid-column: span 2; border-radius: var(--r-card); padding: 1.6rem;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .7rem; min-height: 230px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.service:hover { transform: translateY(-4px); border-color: rgba(244, 217, 138, .55); }
.service:nth-child(1), .service:nth-child(2) { grid-column: span 3; }
.service:nth-child(1) { background: linear-gradient(135deg, rgba(217,139,199,.35), rgba(106,74,168,.35)); }
.service:nth-child(4) { background: linear-gradient(160deg, rgba(236,195,92,.22), rgba(106,74,168,.25)); }
.service .ico { color: var(--gold-300); width: 1.7rem; height: 1.7rem; }
.service h3 { font-size: 1.6rem; }
.service p { color: var(--text-soft); flex: 1; }
.service-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .95rem; color: var(--text-soft); border-top: 1px solid var(--line); padding-top: .8rem; }
.service-meta strong { color: var(--gold-300); font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
@media (max-width: 900px) { .service, .service:nth-child(1), .service:nth-child(2) { grid-column: span 6; min-height: 0; } }
.services-note { margin-top: 1.5rem; color: var(--text-soft); font-size: .95rem; }

/* About: portrait + text */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center; }
.portrait { position: relative; }
.portrait img { border-radius: var(--r-card); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; box-shadow: var(--shadow); border: 1px solid var(--gold-500); }
.portrait .script { position: absolute; right: -.5rem; bottom: -1.5rem; font-size: 3.4rem; text-shadow: 0 4px 20px rgba(20,8,46,.6); }
.about p + p { margin-top: 1rem; }
.about .lede { margin-top: 1rem; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.about-facts div { border-top: 1px solid var(--line); padding-top: .8rem; color: var(--text-soft); font-size: .95rem; }
.about-facts strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 3rem; } .portrait { max-width: 380px; } .about-facts { grid-template-columns: 1fr 1fr; } }

/* Gallery: scroll-snap slider */
.gallery { padding-block: 0 clamp(4rem, 8vw, 7rem); }
.slider { position: relative; }
.track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: .5rem; -webkit-overflow-scrolling: touch;
}
.track::-webkit-scrollbar { display: none; }
.track figure {
  margin: 0; flex: 0 0 auto; scroll-snap-align: start;
  width: clamp(220px, 26vw, 320px); aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface);
}
.track figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.track figure:hover img { transform: scale(1.04); }
.slider-nav { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1rem; }
.slider-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.slider-nav button:hover { border-color: var(--gold-300); color: var(--gold-300); }
.slider-nav .ico { width: 1.2rem; height: 1.2rem; }

/* How it works: horizontal steps with a gold rule */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; margin-top: 3rem; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500) 10%, var(--gold-500) 90%, transparent); }
.step { position: relative; padding-top: 3.2rem; }
.step .ico { position: absolute; top: 0; left: 0; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--violet-800); border: 1px solid var(--gold-500); color: var(--gold-300); }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--text-soft); margin-top: .5rem; font-size: 1rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold-500), transparent); }
  .step { padding-top: 0; padding-left: 4rem; }
}

/* Testimonials: horizontal scroll-snap */
.quotes { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.quotes::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 min(88%, 420px); scroll-snap-align: start; border-left: 2px solid var(--gold-500); padding: .25rem 0 .25rem 1.4rem; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; }
.quote footer { margin-top: 1rem; color: var(--text-soft); font-size: .95rem; }
.quote footer strong { color: var(--text); display: block; font-weight: 600; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--gold-300); transition: transform .35s var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--text-soft); max-width: 62ch; }

/* Booking */
.book-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field small { color: var(--text-soft); font-size: .85rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: rgba(42, 26, 76, .55);
  border: 1px solid var(--line); border-radius: var(--r-input); padding: .8rem .95rem; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(217, 205, 234, .7); }
.field select option { color: var(--ink); background: var(--cream-100); }
.field .error { color: #ffc9c9; font-size: .9rem; display: none; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid select { border-color: #ff9d9d; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.radio-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; border: 1px solid var(--line); border-radius: var(--r-pill); padding: .55rem 1rem; cursor: pointer; font-weight: 600; font-size: .95rem; }
.radio-row input { accent-color: var(--gold-400); }
.radio-row label:has(input:checked) { border-color: var(--gold-300); color: var(--gold-300); }
.form-note { color: var(--text-soft); font-size: .9rem; }
.contact-panel { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: 2rem; display: grid; gap: 1.4rem; }
.contact-panel h3 { font-size: 1.7rem; }
.contact-row { display: flex; gap: .9rem; align-items: flex-start; color: var(--text-soft); }
.contact-row .ico { color: var(--gold-300); width: 1.5rem; height: 1.5rem; margin-top: .15rem; }
.contact-row a { color: var(--text); text-decoration: none; font-weight: 600; }
.contact-row a:hover { color: var(--gold-300); }
.contact-row > div > span { display: block; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } .two { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; color: var(--text-soft); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid .script { font-size: 2.4rem; }
.footer-grid ul { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .45rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--gold-300); }
.footer-grid h4 { font-family: var(--font-body); font-size: .9rem; font-weight: 700; color: var(--text); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp (mobile only, header CTA hidden there) */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: none; }
@media (max-width: 900px) { .wa-float { display: inline-flex; box-shadow: var(--shadow); } }

/* ---------- Reading page ---------- */
.page-head { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 1rem; }
.focus-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--text-soft); border-radius: var(--r-pill); padding: .5rem 1.1rem; font: 600 .95rem var(--font-body); cursor: pointer; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--gold-300); color: var(--gold-300); }
.chip[aria-pressed="true"] { background: var(--gold-400); border-color: var(--gold-400); color: var(--accent-ink); }

.deck-stage { margin-top: 2.5rem; min-height: 320px; }
.spread-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .8rem; max-width: 900px; }
.pick { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 10px; transition: transform .35s var(--ease); }
.pick .card-back { aspect-ratio: 320 / 549; padding: 6px; }
.pick .card-back-inner img { width: 55%; }
.pick:hover { transform: translateY(-8px); }
.pick[disabled] { opacity: .3; cursor: default; transform: none; }
.pick.chosen { opacity: 0; transform: translateY(-20px); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .shuffling .pick { animation: jitter .5s var(--ease) infinite alternate; }
  .shuffling .pick:nth-child(odd) { animation-delay: .12s; }
  @keyframes jitter { from { transform: translate(-3px, 2px) rotate(-2deg); } to { transform: translate(3px, -3px) rotate(2deg); } }
}
.stage-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; align-items: center; }
.stage-status { color: var(--text-soft); }

.spread { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.slot { text-align: center; }
.slot .pos { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-300); margin-bottom: .8rem; }
.slot .flip { width: clamp(150px, 22vw, 230px); margin: 0 auto; cursor: default; }
.slot .meaning { text-align: left; margin-top: 1.25rem; }
.slot .meaning h3 { font-size: 1.5rem; }
.slot .meaning .orient { color: var(--gold-300); font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.slot .meaning p { color: var(--text-soft); margin-top: .5rem; font-size: 1rem; }
.summary { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; max-width: 70ch; }
.summary h3 { font-size: 1.9rem; }
.summary p { color: var(--text-soft); margin-top: .75rem; }
@media (max-width: 800px) { .spread { grid-template-columns: 1fr; gap: 2.5rem; } .slot .flip { width: 200px; } }

/* ---------- Library page ---------- */
.lib-tools { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }
.lib-tools .field { flex: 1 1 260px; }
.lib-tools .chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.lib-card { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-align: center; font: inherit; }
.lib-card .tcard { transition: transform .35s var(--ease); }
.lib-card:hover .tcard { transform: translateY(-6px); }
.lib-card span { display: block; margin-top: .6rem; font-family: var(--font-display); font-size: 1.15rem; }
.lib-empty { color: var(--text-soft); padding: 3rem 0; }
.count { color: var(--text-soft); font-size: .95rem; }

dialog.card-dialog {
  border: 1px solid var(--gold-500); border-radius: var(--r-card); padding: 0;
  background: var(--violet-800); color: var(--text); width: min(92vw, 820px); max-height: 90dvh;
  box-shadow: var(--shadow);
}
dialog.card-dialog::backdrop { background: rgba(20, 8, 46, .7); backdrop-filter: blur(4px); }
.dialog-grid { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; padding: 2rem; }
.dialog-grid .tcard { width: 100%; }
.dialog-body h3 { font-size: 2rem; }
.dialog-body .sub { color: var(--gold-300); font-weight: 600; margin-top: .2rem; }
.dialog-body h4 { font-family: var(--font-body); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-300); margin-top: 1.4rem; }
.dialog-body p { color: var(--text-soft); margin-top: .4rem; }
.dialog-body .kw { justify-content: flex-start; margin-top: .6rem; }
.dialog-close { position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
@media (max-width: 720px) { .dialog-grid { grid-template-columns: 1fr; } .dialog-grid .tcard { width: 200px; margin-inline: auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .flip-inner { transition: none; }
}

/* ---------- Booking page ---------- */
.services-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .7rem; }
.svc-opt { position: relative; display: grid; gap: .2rem; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease); }
.svc-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.svc-opt:hover { border-color: var(--gold-300); }
.svc-opt:has(input:checked) { border-color: var(--gold-400); background: rgba(236, 195, 92, .12); }
.svc-opt:has(input:focus-visible) { outline: 2px solid var(--gold-300); outline-offset: 2px; }
.svc-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.svc-meta { color: var(--text-soft); font-size: .9rem; }
.booking-summary { border-left: 2px solid var(--gold-500); padding: .6rem 1rem; color: var(--gold-300); font-family: var(--font-display); font-size: 1.2rem; }
.field input[type="date"] { color-scheme: dark; }
