/* ===================================================================
   Ritus Candelabrum - one stylesheet for every page.
   A dim room lit by beeswax: plum shadow, honey light, cream ink.
   =================================================================== */

:root {
  /* palette */
  --plum-0: #140c12;
  --plum-1: #1d1219;
  --plum-2: #281a23;
  --plum-3: #34232e;
  --wax: #f0b049;
  --wax-deep: #c98523;
  --wax-soft: rgba(240, 176, 73, 0.14);
  --ink-1: #f7ecdd;
  --ink-2: #dbc8b4;
  --ink-3: #a99382;
  --sage: #9fd09a;
  --sage-soft: rgba(159, 208, 154, 0.12);
  --rose: #f08c7a;
  --line: rgba(247, 236, 221, 0.11);
  --line-strong: rgba(240, 176, 73, 0.42);

  /* type */
  --font-display: 'Instrument Serif', 'Georgia', serif;
  --accent: #f0b049;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* rhythm */
  --page: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);

  color-scheme: dark;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--plum-1);
  color: var(--ink-2);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* the room's light: one warm pool high up, so every page is lit from the same candle */
body::before {
  content: '';
  position: fixed;
  inset: -20vh -10vw auto;
  height: 90vh;
  background: radial-gradient(60% 55% at 50% 0%, rgba(240, 150, 60, 0.13), transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: room-flicker 7s steps(1, end) infinite;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14 0l14 8.08v16.17L14 32.33 0 24.25V8.08zM14 32.33l14 8.09v16.16M14 32.33L0 40.42v16.16' fill='none' stroke='%23f0b049' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 28px 48.5px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--wax); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-1); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wax); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-1);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0;
}
h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 400; transition: color 0.6s; }
p { margin: 0; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 60ch; margin-top: 1rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wax);
}
.small { font-size: 0.9rem; }
.xs { font-size: 0.8rem; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--wax); color: var(--plum-0); padding: 0.6rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------ layout */
.page { width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }
.page--narrow { width: min(100% - 2 * var(--gutter), 760px); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.head { margin-bottom: 2.2rem; max-width: 640px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .lede { margin-inline: auto; }
.head .eyebrow + h2 { margin-top: 0.6rem; }

.page-head { padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2rem, 4vw, 3rem); }
.page-head h1 { margin-top: 0.6rem; }

/* ------------------------------------------------------------ buttons */
.btn {
  --bg: var(--wax);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--plum-0);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  box-shadow: 0 8px 26px -10px rgba(240, 160, 60, 0.7);
  white-space: nowrap;
}
.btn:hover { color: var(--plum-0); transform: translateY(-1px); box-shadow: 0 12px 32px -10px rgba(240, 160, 60, 0.85); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink-1);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { color: var(--ink-1); background: var(--wax-soft); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: 0.92rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-busy { cursor: progress; }
.btn__cost { font-weight: 500; opacity: 0.75; font-size: 0.88em; }

/* ------------------------------------------------------------ price chips
   A sage tick means free; a honey cell (a wax honeycomb cell) means it uses
   one reading; a bag means it is a product. */
.cost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem 0.22rem 0.5rem;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}
.cost svg { width: 14px; height: 14px; flex: none; }
.cost--free { color: var(--sage); background: var(--sage-soft); border-color: rgba(159, 208, 154, 0.28); }
.cost--mixed { color: var(--sage); background: var(--sage-soft); border-color: rgba(159, 208, 154, 0.28); }
.cost--token { color: var(--wax); background: var(--wax-soft); border-color: rgba(240, 176, 73, 0.3); }
.cost--shop { color: var(--ink-2); background: rgba(247, 236, 221, 0.06); border-color: var(--line); }

/* ------------------------------------------------------------ nav */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-nav.is-stuck, .site-nav.is-open {
  background: rgba(20, 12, 18, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-nav__inner {
  width: min(100% - 2 * var(--gutter), var(--page));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-1);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  white-space: nowrap;
}
.brand:hover { color: var(--ink-1); }
.brand__mark { width: 18px; height: 26px; flex: none; }
.brand__mark .flame { transform-origin: 50% 90%; animation: flame 2.6s ease-in-out infinite; }

.nav-links {
  display: flex;
  gap: 0.3rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink-1); background: rgba(247, 236, 221, 0.06); }
.nav-links a[aria-current='page'] { color: var(--ink-1); background: var(--wax-soft); }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(247, 236, 221, 0.04);
  color: var(--ink-1);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
}
.nav-pill:hover { color: var(--ink-1); border-color: var(--line-strong); }
.nav-pill svg { width: 18px; height: 18px; }
.nav-pill__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--wax);
  color: var(--plum-0);
  font-size: 0.78rem;
  font-weight: 700;
}
.nav-pill--empty .nav-pill__count { background: rgba(247, 236, 221, 0.12); color: var(--ink-2); }
.nav-pill--readings[hidden] { display: none; }
.nav-pill.is-bumped { animation: bump 0.45s var(--ease); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink-1); margin: 2px auto; transition: transform 0.25s, opacity 0.2s; }
.site-nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.6rem var(--gutter) 1.4rem;
    background: rgba(20, 12, 18, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s, transform 0.22s var(--ease), visibility 0.22s;
  }
  .site-nav.is-open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { padding: 0.95rem 0.4rem; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current='page'] { background: none; color: var(--wax); }
  .nav-pill__text { display: none; }
  .nav-pill { padding: 0 0.75rem; }
}

/* ------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; margin-top: 2rem; background: rgba(20, 12, 18, 0.5); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0.9rem 0 0; display: grid; gap: 0.15rem; }
.site-footer ul a { display: inline-block; padding: 0.45rem 0; color: var(--ink-2); text-decoration: none; }
.site-footer ul a:hover { color: var(--wax); }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem;
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--ink-3);
}
.site-footer__contact a { display: inline-block; padding: 0.3rem 0; }
@media (max-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > :first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ home: hero */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(2rem, 6vw, 4.5rem)) 0 clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-top: 1rem; max-width: 15ch; }
.hero .lede { max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; margin: 1.8rem 0 0; padding: 0; list-style: none; font-size: 0.92rem; color: var(--ink-2); }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__facts svg { width: 16px; height: 16px; color: var(--sage); }

/* the altar: three candles in arched niches, lit from behind */
.altar { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 18px); align-items: end; }
.altar::before {
  content: '';
  position: absolute;
  inset: 8% -6% -4%;
  background: radial-gradient(50% 50% at 50% 55%, rgba(240, 150, 55, 0.42), transparent 70%);
  filter: blur(20px);
  z-index: -1;
  animation: glow-flicker 3.4s ease-in-out infinite;
}
.niche {
  position: relative;
  aspect-ratio: 3 / 5.2;
  border-radius: 999px 999px var(--r) var(--r);
  overflow: hidden;
  border: 1px solid rgba(240, 176, 73, 0.35);
  box-shadow: var(--shadow), inset 0 0 0 6px rgba(20, 12, 18, 0.35);
  text-decoration: none;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.niche:nth-child(2) { aspect-ratio: 3 / 6; }
.niche img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; transition: transform 0.6s var(--ease); }
.niche::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(240, 150, 60, 0.1), transparent 30%, transparent 60%, rgba(20, 12, 18, 0.75));
}
.niche__label {
  position: absolute; left: 0; right: 0; bottom: 0.9rem; z-index: 1;
  text-align: center; color: var(--ink-1); font-weight: 600; font-size: 0.9rem;
}
.niche__label small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.78rem; }
.niche:hover { transform: translateY(-6px); border-color: var(--wax); }
.niche:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .altar { max-width: 520px; }
}
@media (max-width: 520px) {
  .hero__ctas .btn { width: 100%; }
}

/* ------------------------------------------------------------ home: intentions */
.intents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.intent {
  --hue: #f0b049;
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.8rem 1rem 0.8rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(120deg, color-mix(in srgb, var(--hue) 16%, transparent), rgba(247, 236, 221, 0.02) 60%);
  color: var(--ink-1);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.intent:hover { color: var(--ink-1); transform: translateY(-3px); border-color: color-mix(in srgb, var(--hue) 60%, transparent); }
.intent img { width: 64px; height: 84px; object-fit: cover; object-position: 50% 30%; border-radius: 999px 999px 10px 10px; }
.intent__goal { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; display: block; }
.intent__meta { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.3rem; font-size: 0.85rem; color: var(--ink-3); }
.intent__meta .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hue); box-shadow: 0 0 0 2px rgba(247, 236, 221, 0.12); }
@media (max-width: 1000px) { .intents { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .intent { grid-template-columns: 52px 1fr; } .intent img { width: 52px; height: 70px; } .intent__goal { font-size: 1.12rem; } }

/* ------------------------------------------------------------ cards (tools, steps) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(247, 236, 221, 0.045), rgba(247, 236, 221, 0.015));
  color: var(--ink-2);
  text-decoration: none;
  text-align: left;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
a.card:hover, button.card:hover { color: var(--ink-2); transform: translateY(-3px); border-color: var(--line-strong); }
button.card { cursor: pointer; font: inherit; width: 100%; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.card__icon {
  width: 46px; height: 46px; padding: 10px;
  border-radius: 14px;
  color: var(--tint, var(--wax));
  background: color-mix(in srgb, var(--tint, var(--wax)) 15%, transparent);
}
.card h3 { margin-top: 0.4rem; }
.card p { font-size: 0.95rem; }
.card__go { margin-top: auto; padding-top: 0.6rem; font-weight: 600; color: var(--wax); display: inline-flex; align-items: center; gap: 0.35rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { padding: 1.4rem; border-top: 2px solid var(--line-strong); }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--wax);
  line-height: 1;
  margin-bottom: 0.7rem;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li { padding-inline: 0; } }

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(240, 176, 73, 0.09), rgba(247, 236, 221, 0.02));
}
.band img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ shop */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(247, 236, 221, 0.03);
  color: var(--ink-2);
  font-weight: 500;
  cursor: pointer;
}
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.chip:hover { border-color: var(--line-strong); color: var(--ink-1); }
.chip[aria-pressed='true'] { background: var(--wax); border-color: var(--wax); color: var(--plum-0); }
@media (max-width: 600px) {
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.3rem; scrollbar-width: none; }
  .chips--scroll::-webkit-scrollbar { display: none; }
  .chips--scroll .chip { flex: none; }
}

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2rem; }
.product {
  --hue: #f0b049;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(247, 236, 221, 0.025);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.product.is-target { border-color: var(--wax); box-shadow: 0 0 0 3px var(--wax-soft); }
.product[hidden] { display: none; }
.product__media { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--plum-2); }
.product__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: opacity 0.25s; }
.product__goal {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.8rem 0.35rem 0.6rem;
  border-radius: var(--r-pill);
  background: rgba(20, 12, 18, 0.72);
  backdrop-filter: blur(6px);
  color: var(--ink-1); font-size: 0.85rem; font-weight: 600;
}
.product__goal .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hue); }
.product__body { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.25rem 1.3rem 1.4rem; flex: 1; }
.product__name { font-size: 1.5rem; }
.product__intent { color: var(--ink-2); }
.product details { font-size: 0.92rem; color: var(--ink-3); }
.product summary { cursor: pointer; color: var(--ink-2); font-weight: 500; padding: 0.2rem 0; list-style: none; }
.product summary::-webkit-details-marker { display: none; }
.product summary::after { content: ' +'; color: var(--wax); }
.product details[open] summary::after { content: ' −'; }
.product details p { margin-top: 0.4rem; }

/* size picker: each option says length, burn time and price at once */
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes label {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.6rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.sizes label:hover { border-color: var(--line-strong); }
.sizes input:checked + label { border-color: var(--wax); background: var(--wax-soft); }
.sizes input:focus-visible + label { outline: 2px solid var(--wax); outline-offset: 2px; }
.sizes svg { grid-row: 1 / 3; width: 16px; height: 40px; }
.sizes__price { font-weight: 700; color: var(--ink-1); }
.sizes__meta { font-size: 0.8rem; color: var(--ink-3); }
.product .btn { margin-top: 0.2rem; }
@media (max-width: 1000px) { .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .products { grid-template-columns: 1fr; } }

.empty { padding: 3rem 1rem; text-align: center; color: var(--ink-3); }

/* ------------------------------------------------------------ panels, notices, forms */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(247, 236, 221, 0.03);
  padding: clamp(1.25rem, 3.5vw, 2.4rem);
}
.notice {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(247, 236, 221, 0.04);
  color: var(--ink-2);
}
.notice--warn { border-color: rgba(240, 140, 122, 0.4); background: rgba(240, 140, 122, 0.08); }
.notice--ok { border-color: rgba(159, 208, 154, 0.4); background: var(--sage-soft); }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.45rem; }
.field > span { font-size: 0.9rem; font-weight: 600; color: var(--ink-1); }
.input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(247, 236, 221, 0.18);
  border-radius: var(--r-sm);
  background: rgba(20, 12, 18, 0.6);
  color: var(--ink-1);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.input { resize: vertical; min-height: 110px; line-height: 1.5; }
.input::placeholder { color: rgba(169, 147, 130, 0.75); }
.input:focus { outline: none; border-color: var(--wax); box-shadow: 0 0 0 3px var(--wax-soft); }
input[type='date'].input { color-scheme: dark; }

/* custom dropdown (ui.js) */
.dd { position: relative; }
.dd__native { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.dd__btn { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; text-align: left; cursor: pointer; }
.dd__btn::after {
  content: ''; width: 9px; height: 9px; flex: none;
  border-right: 1.5px solid var(--wax); border-bottom: 1.5px solid var(--wax);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.25s var(--ease);
}
.dd__btn[aria-expanded='true']::after { transform: translateY(2px) rotate(-135deg); }
.dd__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  max-height: 280px; overflow-y: auto; padding: 6px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--plum-2); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px); transform-origin: top;
  transition: opacity 0.18s, transform 0.2s var(--ease);
}
.dd__panel--up { top: auto; bottom: calc(100% + 6px); transform: translateY(6px); }
.dd__panel.is-open { opacity: 1; transform: none; }
.dd__opt {
  display: block; width: 100%; text-align: left;
  padding: 0.7rem 0.8rem; border: 0; border-radius: 8px; background: none; cursor: pointer; color: var(--ink-2);
}
.dd__opt.is-active { background: rgba(247, 236, 221, 0.07); color: var(--ink-1); }
.dd__opt.is-selected { color: var(--wax); font-weight: 600; }

/* ------------------------------------------------------------ oracle */
.featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(142, 91, 214, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(240, 176, 73, 0.12), rgba(247, 236, 221, 0.02));
}
.featured h2 { margin-top: 0.5rem; }
.featured__cards { display: flex; justify-content: center; }
.featured__cards span {
  width: 92px; height: 140px; margin-inline: -14px;
  border: 1px solid rgba(240, 176, 73, 0.5);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(240, 176, 73, 0.35) 0 14%, transparent 15%),
    repeating-linear-gradient(45deg, rgba(240, 176, 73, 0.12) 0 2px, transparent 2px 9px),
    var(--plum-3);
  box-shadow: var(--shadow);
}
.featured__cards span:nth-child(1) { transform: rotate(-12deg) translateY(10px); }
.featured__cards span:nth-child(3) { transform: rotate(12deg) translateY(10px); }
.featured__cards span:nth-child(2) { transform: translateY(-6px); z-index: 1; }
@media (max-width: 760px) { .featured { grid-template-columns: 1fr; } .featured__cards { order: -1; } .featured__cards span { width: 70px; height: 106px; } }

.group { margin-top: 3rem; }
.group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.6rem; margin-bottom: 1.1rem; }
.group__head h2 { font-size: 1.5rem; }
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tools .card { padding: 1.25rem; }
.tools .card h3 { font-size: 1.15rem; }
.tools .card p { font-size: 0.9rem; }
@media (max-width: 1000px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tools { grid-template-columns: 1fr; } }

.balance {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(247, 236, 221, 0.03);
}
.balance__value { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink-1); display: flex; align-items: center; gap: 0.5rem; }
.balance__value svg { width: 22px; height: 22px; color: var(--wax); }
.balance__label { font-size: 0.9rem; color: var(--ink-3); margin-top: 0.15rem; }

.tool-panel { display: none; }
.tool-panel.is-open { display: block; animation: rise 0.35s var(--ease); }
.panel-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.panel-head__title { display: flex; align-items: center; gap: 0.9rem; }
.panel-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.back-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 42px; padding: 0 1rem;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: transparent; color: var(--ink-2); cursor: pointer;
}
.back-btn:hover { border-color: var(--line-strong); color: var(--ink-1); }
.tool-panel .lede { margin-top: 0; }
.tool-panel .row .muted { font-size: 0.9rem; }

.result { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.result[hidden] { display: none; }
.reading-block + .reading-block { margin-top: 1.2rem; }
.reading-block h4 { color: var(--wax); margin-bottom: 0.35rem; }
.reading-block p { color: var(--ink-2); }
.cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 1.6rem; }
.tarot-card {
  padding: 1.1rem; border: 1px solid var(--line-strong); border-radius: var(--r);
  background: linear-gradient(170deg, rgba(240, 176, 73, 0.1), rgba(247, 236, 221, 0.02));
  animation: rise 0.5s var(--ease) both;
}
.tarot-card:nth-child(2) { animation-delay: 0.12s; }
.tarot-card:nth-child(3) { animation-delay: 0.24s; }
.tarot-card__pos { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.tarot-card__name { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink-1); margin-top: 0.3rem; }
.tarot-card__text { font-size: 0.9rem; margin-top: 0.5rem; }
@media (max-width: 700px) { .cards-row { grid-template-columns: 1fr; } }

.reco {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; align-items: center;
  padding: 1rem; border: 1px solid var(--line-strong); border-radius: var(--r);
  background: rgba(240, 176, 73, 0.06);
}
.reco img { width: 76px; height: 96px; object-fit: cover; object-position: 50% 30%; border-radius: 999px 999px 10px 10px; }
.reco__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wax); }
.reco__name { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-1); margin-top: 0.15rem; }
.reco__why { font-size: 0.88rem; color: var(--ink-3); margin-top: 0.3rem; }
@media (max-width: 640px) { .reco { grid-template-columns: 64px 1fr; } .reco img { width: 64px; height: 82px; } .reco > .row { grid-column: 1 / -1; } .reco > .row .btn { flex: 1; } }

.tag { display: inline-block; padding: 0.3rem 0.75rem; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 0.85rem; color: var(--ink-2); }
.tag--gold { border-color: rgba(240, 176, 73, 0.45); color: var(--wax); background: var(--wax-soft); }
.score { display: flex; align-items: baseline; gap: 0.4rem; }
.score__value { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: var(--wax); }
.score__max { color: var(--ink-3); }
.meter { height: 8px; margin-top: 0.8rem; border-radius: 99px; background: rgba(247, 236, 221, 0.08); overflow: hidden; }
.meter__fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--wax-deep), var(--wax)); transition: width 1s var(--ease); }

.upload {
  display: grid; justify-items: center; gap: 0.5rem; padding: 1.8rem 1rem;
  border: 1.5px dashed rgba(240, 176, 73, 0.4); border-radius: var(--r); text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.upload.is-hot { background: var(--wax-soft); border-color: var(--wax); }
.upload__preview img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }

.spinner {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid rgba(240, 176, 73, 0.25); border-top-color: var(--wax);
  animation: spin 0.8s linear infinite;
}

/* ------------------------------------------------------------ pricing */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1.4rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(247, 236, 221, 0.03); text-align: center;
}
.plan--featured { border-color: var(--wax); background: linear-gradient(170deg, rgba(240, 176, 73, 0.14), rgba(247, 236, 221, 0.02)); }
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 0.2rem 0.75rem; border-radius: var(--r-pill); background: var(--wax); color: var(--plum-0);
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.plan__tokens { font-family: var(--font-display); font-size: 2.6rem; color: var(--ink-1); line-height: 1; }
.plan__unit { color: var(--ink-3); font-size: 0.9rem; }
.plan__price { font-size: 1.3rem; font-weight: 700; color: var(--ink-1); margin-top: 0.4rem; }
.plan__each { font-size: 0.85rem; color: var(--ink-3); }
.plan__save { font-style: normal; color: var(--sage); font-weight: 600; }
.plan__note { font-size: 0.82rem; color: var(--ink-3); margin-bottom: 0.6rem; }
.plan .btn { margin-top: auto; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .plans { grid-template-columns: 1fr; } }

.uses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.uses > div { padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r); }
.uses h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.uses ul { margin: 0.7rem 0 0; padding-left: 1.1rem; color: var(--ink-2); display: grid; gap: 0.25rem; }
@media (max-width: 640px) { .uses { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ faq, prose */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: rgba(247, 236, 221, 0.025); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 1.2rem; cursor: pointer; list-style: none; color: var(--ink-1); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--wax); font-size: 1.3rem; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.1rem; color: var(--ink-2); }

.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 0.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 0.9rem; }
.prose ul { padding-left: 1.2rem; }

/* about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--r-lg) var(--r-lg); border: 1px solid var(--line-strong); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split__media { max-width: 360px; } }

/* success */
.success-mark {
  width: 72px; height: 72px; margin: 0 auto 1.4rem; border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, var(--wax) 0 30%, rgba(240, 176, 73, 0.15) 32% 100%);
  box-shadow: 0 0 60px rgba(240, 160, 60, 0.5);
  animation: glow-flicker 3s ease-in-out infinite;
}
.order-lines { display: grid; gap: 0.5rem; max-width: 420px; margin: 0 auto; text-align: left; }
.order-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------ cart drawer */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 80; background: rgba(10, 6, 9, 0.6);
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.drawer-scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(420px, 100%);
  display: flex; flex-direction: column;
  background: var(--plum-1); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 0.32s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink-1); }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0.4rem 1.3rem; }
.drawer__empty { display: grid; justify-items: center; gap: 0.3rem; padding: 3.5rem 0; text-align: center; color: var(--ink-3); }
.drawer__empty .brand__mark { width: 28px; height: 40px; margin-bottom: 0.6rem; }
.drawer__foot { padding: 1.1rem 1.3rem 1.4rem; border-top: 1px solid var(--line); }
.line-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 0.9rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.line-item__img { width: 58px; height: 72px; object-fit: cover; object-position: 50% 30%; border-radius: 999px 999px 8px 8px; }
.line-item__name { color: var(--ink-1); font-weight: 600; }
.line-item__meta { font-size: 0.82rem; color: var(--ink-3); }
.line-item__price { font-weight: 700; color: var(--ink-1); margin-top: 0.2rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); }
.qty button { width: 38px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--ink-1); }
.qty output { min-width: 22px; text-align: center; font-weight: 600; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.total-row__value { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink-1); }

/* ------------------------------------------------------------ toasts */
.toast-stack { position: fixed; left: 50%; bottom: 20px; z-index: 120; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.toast {
  padding: 0.9rem 1.1rem; border-radius: var(--r); border: 1px solid var(--line-strong);
  background: var(--plum-3); color: var(--ink-1); box-shadow: var(--shadow); cursor: pointer;
  animation: rise 0.3s var(--ease);
}
.toast--error { border-color: rgba(240, 140, 122, 0.55); }
.toast.is-out { animation: fade-out 0.25s forwards; }

/* ------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ motion */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade-out { to { opacity: 0; transform: translateY(6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bump { 40% { transform: scale(1.12); } }
@keyframes flame {
  0%, 100% { transform: scale(1, 1) rotate(0deg); }
  30% { transform: scale(0.96, 1.06) rotate(-2deg); }
  60% { transform: scale(1.03, 0.97) rotate(1.5deg); }
}
@keyframes glow-flicker {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  22% { opacity: 1; transform: scale(1.03); }
  41% { opacity: 0.78; }
  63% { opacity: 0.95; transform: scale(0.99); }
}
@keyframes room-flicker {
  0% { opacity: 1; } 18% { opacity: 0.88; } 21% { opacity: 1; } 53% { opacity: 0.93; } 57% { opacity: 1; } 82% { opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ header fit on phones */
.nav-pill svg { flex: none; }
.nav-pill__num { display: none; font-weight: 700; }
@media (max-width: 860px) {
  .nav-pill__num { display: inline; }
  .nav-actions { gap: 0.4rem; }
}
@media (max-width: 420px) {
  .brand { font-size: 1rem; gap: 0.45rem; }
  .site-nav__inner { gap: 0.6rem; }
  .nav-pill { min-height: 40px; padding: 0 0.65rem; }
  .nav-toggle { width: 42px; height: 42px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 420px) { .nav-pill--readings { display: none; } }
@media (min-width: 1001px) { .tools--3 { grid-template-columns: repeat(3, 1fr); } }
[data-tool-title]:focus { outline: none; }
body.is-tool #hubIntro { padding-bottom: 1.2rem; }
body.is-tool #hubIntro h1, body.is-tool #hubIntro .lede { display: none; }
.info-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.info-strip > div { padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r); background: rgba(247, 236, 221, 0.025); }
.info-strip h4 { color: var(--ink-1); }
.info-strip p { font-size: 0.92rem; margin-top: 0.4rem; color: var(--ink-2); }
/* fingertip-sized targets */
.brand { min-height: 44px; }
.site-footer ul a { padding: 0.6rem 0; }
.info-strip a { display: inline-block; padding: 0.6rem 0; }

/* ===================================================================
   The candle wall: eight candles side by side, colour = intention.
   One opens at a time; its colour becomes the page's light.
   =================================================================== */
.wall-hero { position: relative; padding: calc(var(--nav-h) + 1.4rem) 0 2.2rem; isolation: isolate; overflow: hidden; }
.wall-hero::before {
  content: '';
  position: absolute; inset: -10% -10% 10%;
  z-index: -1;
  background: radial-gradient(45% 55% at var(--glow-x, 50%) 55%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 72%);
  transition: background 0.7s var(--ease);
  animation: glow-flicker 4s ease-in-out infinite;
}
.wall-hero .hero__embers { z-index: -1; }
.wall-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 2rem; margin-bottom: 1.4rem; }
.wall-title h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.wall-title p { color: var(--ink-3); font-size: 0.95rem; }

.wall { display: flex; gap: 8px; height: min(70vh, 640px); min-height: 460px; }
.strip {
  --c: #f0b049;
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 999px 999px 18px 18px;
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  background: var(--plum-2);
  transition: flex 0.65s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.strip.is-open {
  flex: 4.6;
  border-color: var(--c);
  box-shadow: 0 0 60px -10px color-mix(in srgb, var(--c) 55%, transparent);
}
.strip img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 28%;
  filter: brightness(0.62) saturate(0.9);
  transform: scale(1.04);
  transition: filter 0.6s, transform 0.8s var(--ease);
}
.strip.is-open img { filter: none; transform: none; }
.strip::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20, 12, 18, 0.88));
  pointer-events: none;
}
.strip__hit {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.4rem;
  border: 0; background: none; cursor: pointer; color: var(--ink-1);
}
.strip__word {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s;
}
.strip__dot { position: absolute; top: 1.4rem; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(20, 12, 18, 0.5), 0 0 16px var(--c); }
.strip.is-open .strip__hit { pointer-events: none; }
.strip.is-open .strip__word { opacity: 0; }

.strip__panel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 1.6rem 1.6rem 1.5rem;
  opacity: 0; transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s 0.1s, transform 0.45s 0.1s var(--ease);
}
.strip.is-open .strip__panel { opacity: 1; transform: none; pointer-events: auto; }
.strip__goal { font-family: var(--font-display); font-size: clamp(2.6rem, 4.4vw, 4rem); color: var(--ink-1); line-height: 0.95; }
.strip__name { display: flex; align-items: center; gap: 0.5rem; color: var(--ink-2); margin: 0.5rem 0 1.1rem; font-size: 0.95rem; }
.strip__name .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.strip__buy { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 50px; padding: 0 1.1rem 0 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(247, 236, 221, 0.25);
  background: rgba(20, 12, 18, 0.55);
  backdrop-filter: blur(8px);
  color: var(--ink-1); font-weight: 600; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.size-btn svg { width: 12px; height: 30px; flex: none; }
.size-btn small { font-weight: 400; color: var(--ink-3); }
.size-btn:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 22%, rgba(20, 12, 18, 0.6)); transform: translateY(-1px); }
.size-btn--main { background: var(--wax); border-color: var(--wax); color: var(--plum-0); }
.size-btn--main small { color: rgba(20, 12, 18, 0.7); }
.size-btn--main:hover { background: #f6c06a; border-color: #f6c06a; }
.strip__more { display: inline-block; margin-top: 0.9rem; font-size: 0.9rem; color: var(--ink-2); padding: 0.4rem 0; }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.6rem; margin-top: 1.4rem; font-size: 0.85rem; color: var(--ink-3); }
.trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust svg { width: 14px; height: 14px; color: var(--sage); }

@media (max-width: 860px) {
  .wall { flex-direction: column; height: auto; min-height: 0; gap: 8px; }
  .strip { flex: none; height: 88px; border-radius: 18px; transition: height 0.55s var(--ease), border-color 0.4s; }
  .strip.is-open { flex: none; height: min(118vw, 520px); }
  .strip img { object-position: 50% 30%; }
  .strip__hit { justify-content: flex-start; align-items: center; padding: 0 1.2rem 0 2.6rem; }
  .strip__word { writing-mode: horizontal-tb; transform: none; font-size: 2rem; }
  .strip__dot { top: 50%; left: 1.2rem; margin: -5px 0 0; }
  .strip__panel { padding: 1.2rem; }
  .size-btn { flex: 1; justify-content: center; }
}

/* the tarot teaser: three face-down cards, nothing else to read */
.deck-teaser { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.deck { display: flex; padding: 1rem 1.5rem; }
.deck a {
  width: clamp(84px, 10vw, 120px); aspect-ratio: 2 / 3; margin-inline: -12px;
  border-radius: 12px;
  border: 1px solid rgba(240, 176, 73, 0.55);
  background:
    radial-gradient(circle at 50% 50%, rgba(240, 176, 73, 0.4) 0 9%, transparent 10%),
    radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(240, 176, 73, 0.35) 23% 24%, transparent 25%),
    repeating-linear-gradient(45deg, rgba(240, 176, 73, 0.1) 0 2px, transparent 2px 10px),
    var(--plum-3);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
}
.deck a:nth-child(1) { transform: rotate(-11deg) translateY(8px); }
.deck a:nth-child(2) { transform: translateY(-4px); z-index: 1; }
.deck a:nth-child(3) { transform: rotate(11deg) translateY(8px); }
.deck a:hover { transform: translateY(-16px) rotate(0); z-index: 2; }
@media (max-width: 640px) { .deck-teaser { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.size-btn { white-space: nowrap; }
.strip.is-open .strip__dot { opacity: 0; }
.brand { font-size: 1.45rem; }
@media (max-width: 860px) {
  .size-btn { font-size: 0.95rem; gap: 0.45rem; padding: 0 0.8rem; }
}
@media (max-width: 420px) { .brand { font-size: 1.3rem; } }
/* each reading tool glows in its own colour */
.tools .card, .featured {
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--tint, var(--wax)) 22%, transparent), transparent 62%),
    rgba(247, 236, 221, 0.025);
}
.tools .card h3 { font-size: 1.7rem; }
.tools .card:hover { border-color: color-mix(in srgb, var(--tint, var(--wax)) 60%, transparent); }
.card__go { font-size: 1.2rem; }
.featured { --tint: #8e5bd6; }
.featured h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.strip__more { padding: 0.75rem 0; }
.trust a { display: inline-block; padding: 0.7rem 0; }
/* birth date as three plain number boxes */
.dob { display: grid; grid-template-columns: 4.4rem auto 4.4rem auto 6.2rem; align-items: center; gap: 0.45rem; justify-content: start; }
.dob .input { text-align: center; padding-inline: 0.4rem; font-variant-numeric: tabular-nums; }
.dob > span { color: var(--ink-3); font-size: 1.2rem; }

/* ------------------------------------------------------------ home: sections after the wall */
.section-title { margin-bottom: 1.8rem; }

.zodiac { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: stretch; }
.zodiac__signs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-content: start; }
.sign {
  display: grid; justify-items: center; gap: 0.2rem;
  padding: 0.9rem 0.3rem 0.75rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(247, 236, 221, 0.025);
  color: var(--ink-2); cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}
.sign:hover { border-color: var(--line-strong); color: var(--ink-1); transform: translateY(-2px); }
.sign[aria-checked='true'] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--ink-1); }
.sign__glyph { font-family: 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols', sans-serif; font-size: 1.9rem; line-height: 1; color: var(--accent); transition: color 0.6s; }
.sign__name { font-size: 0.85rem; }

.zodiac__pick { --c: #f0b049; }
.pick {
  position: relative; height: 100%; min-height: 360px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c);
  box-shadow: 0 0 60px -14px color-mix(in srgb, var(--c) 55%, transparent);
  animation: rise 0.4s var(--ease);
}
.pick__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pick::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(20, 12, 18, 0.9)); }
.pick__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.5rem; }
.pick__sign { font-size: 0.85rem; color: var(--ink-2); margin-bottom: 0.3rem; }
.pick .size-btn { --c: inherit; }
@media (max-width: 860px) {
  .zodiac { grid-template-columns: 1fr; }
  .zodiac__signs { grid-template-columns: repeat(4, 1fr); }
  .pick { min-height: min(110vw, 460px); }
}
@media (max-width: 380px) { .sign__name { font-size: 0.75rem; } }

.today {
  --c: #f0b049;
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 3vw, 2.4rem); align-items: center;
  padding: clamp(1.4rem, 3.5vw, 2.2rem);
  border-radius: var(--r-lg);
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  background: radial-gradient(90% 140% at 0% 50%, color-mix(in srgb, var(--c) 20%, transparent), transparent 65%), rgba(247, 236, 221, 0.02);
  animation: rise 0.5s var(--ease);
}
.today__date { display: grid; text-align: center; padding-right: clamp(1rem, 3vw, 2.4rem); border-right: 1px solid var(--line); }
.today__date span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c); font-weight: 600; }
.today__date strong { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; color: var(--ink-1); line-height: 1.05; }
.today__msg { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; color: var(--ink-1); font-style: italic; }
.today__facts { display: grid; justify-items: center; gap: 0.6rem; }
.today__num {
  width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--c);
  font-family: var(--font-display); font-size: 2rem; color: var(--c);
}
.today__candle { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.7rem 0; font-size: 0.9rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.today__candle .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.today__candle:hover { color: var(--ink-1); }
@media (max-width: 720px) {
  .today { grid-template-columns: 1fr auto; }
  .today__date { grid-column: 1 / -1; text-align: left; border-right: 0; padding-right: 0; display: flex; align-items: baseline; gap: 0.6rem; }
  .today__msg { grid-column: 1 / 2; }
}

/* two candles drawn to scale, actually burning */
.burn { display: flex; justify-content: center; align-items: flex-end; gap: clamp(3rem, 12vw, 9rem); padding-top: 2rem; }
.burn__item { margin: 0; display: grid; justify-items: center; gap: 1.2rem; }
.burn__candle { position: relative; width: 46px; height: 150px; }
.burn__candle.is-tall { height: 300px; }
.burn__wax {
  position: absolute; left: 0; right: 0; bottom: 0; top: 34px;
  border-radius: 8px 8px 6px 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='20.8' viewBox='0 0 12 20.8'%3E%3Cpath d='M6 0l6 3.46v6.93L6 13.86 0 10.39V3.46zM6 13.86l6 3.47v3.47M6 13.86L0 17.33v3.47' fill='none' stroke='rgba(20,12,18,.28)' stroke-width='.8'/%3E%3C/svg%3E"),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 70%, #000) , var(--accent) 45%, color-mix(in srgb, var(--accent) 75%, #000));
  background-size: 12px 20.8px, auto;
  transition: background 0.6s;
}
.burn__wick { position: absolute; left: 50%; top: 26px; width: 2px; height: 10px; margin-left: -1px; background: #2a1d17; border-radius: 1px; }
.burn__flame {
  position: absolute; left: 50%; top: 0; width: 16px; height: 30px; margin-left: -8px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse at 50% 72%, #fff8e1 0 22%, #ffd36b 38%, #f08a2c 70%, rgba(240, 120, 40, 0) 100%);
  transform-origin: 50% 90%;
  animation: flame 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 180, 80, 0.9));
}
.is-tall .burn__flame { animation-duration: 2.7s; animation-delay: -0.6s; }
.burn__glow {
  position: absolute; left: 50%; top: 14px; width: 180px; height: 180px; margin: -90px 0 0 -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 70, 0.35), transparent 65%);
  animation: glow-flicker 2.4s ease-in-out infinite;
  pointer-events: none;
}
.burn__item figcaption { display: grid; justify-items: center; gap: 0.15rem; color: var(--ink-3); font-size: 0.9rem; }
.burn__item figcaption strong { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; color: var(--ink-1); }
.sign[aria-checked='true'] { border-color: var(--sel, var(--accent)); background: color-mix(in srgb, var(--sel, var(--accent)) 16%, transparent); }
.sign[aria-checked='true'] .sign__glyph { color: var(--sel, var(--accent)); }
.sym { font-family: 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols', sans-serif; }
@media (max-width: 720px) {
  .today { grid-template-columns: 1fr; }
  .today__msg { grid-column: auto; }
  .today__facts { display: flex; align-items: center; justify-content: flex-start; gap: 1rem; }
  .today__num { width: 52px; height: 52px; font-size: 1.6rem; }
}
.strip__buy .size-btn { flex: 1 1 0; min-width: 0; justify-content: center; }

/* ------------------------------------------------------------ Lisa: the reading as a letter, then a short conversation */
.lisa {
  margin-top: 1.6rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: radial-gradient(120% 100% at 0% 0%, rgba(240, 176, 73, 0.12), transparent 60%), rgba(247, 236, 221, 0.03);
}
.lisa__head { display: flex; align-items: center; gap: 0.7rem; color: var(--ink-1); }
.lisa__avatar {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 65%, #ffd98f 0 18%, var(--wax) 40%, var(--wax-deep) 100%);
  color: var(--plum-0); font-family: var(--font-display); font-size: 1.25rem;
  box-shadow: 0 0 22px rgba(240, 160, 60, 0.45);
}
.lisa__tag {
  display: inline-block; margin-left: 0.3rem; padding: 0.1rem 0.5rem;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-3); vertical-align: middle;
}
.lisa__title { margin-top: 1rem; font-size: 1.9rem; }
.lisa__text { margin-top: 0.9rem; display: grid; gap: 0.85rem; }
.lisa__text p { font-size: 1.08rem; line-height: 1.7; color: var(--ink-1); }

.chat { margin-top: 1.8rem; display: grid; gap: 0.9rem; }
.chat__log { display: grid; gap: 0.8rem; }
.bubble { display: flex; gap: 0.6rem; align-items: flex-end; max-width: 92%; animation: rise 0.35s var(--ease); }
.bubble > div { padding: 0.8rem 1rem; border-radius: 18px; display: grid; gap: 0.6rem; }
.bubble p { line-height: 1.6; }
.bubble--lisa > div { background: rgba(240, 176, 73, 0.1); border: 1px solid rgba(240, 176, 73, 0.3); border-bottom-left-radius: 6px; color: var(--ink-1); }
.bubble--lisa .lisa__avatar { width: 30px; height: 30px; font-size: 1rem; }
.bubble--you { justify-self: end; }
.bubble--you > div { background: rgba(247, 236, 221, 0.08); border: 1px solid var(--line); border-bottom-right-radius: 6px; color: var(--ink-1); }
.dots { display: inline-flex; gap: 4px; padding: 0.3rem 0; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--wax); opacity: 0.4; animation: dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: 0.2s; }
.dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot { 30% { opacity: 1; transform: translateY(-3px); } }
.chat__form { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; align-items: end; }
.chat__input { min-height: 52px; resize: none; }
.chat__left { font-size: 0.85rem; color: var(--ink-3); }
.chat__reco { margin-left: 2.4rem; }
@media (max-width: 520px) {
  .chat__form { grid-template-columns: 1fr; }
  .chat__form .btn { width: 100%; }
  .bubble { max-width: 100%; }
  .chat__reco { margin-left: 0; }
}
@media (max-width: 520px) { .lisa__text p { font-size: 1rem; line-height: 1.65; } }

/* ===================================================================
   The ritual: waiting is part of the reading
   =================================================================== */
.ritual { display: grid; justify-items: center; gap: 1.4rem; padding: 2.4rem 0 1.6rem; }
.ritual__line { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--ink-1); text-align: center; }
.ritual__line.is-new { animation: inkIn 0.7s var(--ease) both; }

/* a shuffling deck */
.shuffle { position: relative; width: 110px; height: 160px; }
.shuffle span {
  position: absolute; inset: 0;
  border-radius: 12px;
  border: 1px solid rgba(240, 176, 73, 0.55);
  background:
    radial-gradient(circle at 50% 50%, rgba(240, 176, 73, 0.4) 0 9%, transparent 10%),
    radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(240, 176, 73, 0.35) 23% 24%, transparent 25%),
    repeating-linear-gradient(45deg, rgba(240, 176, 73, 0.1) 0 2px, transparent 2px 10px),
    var(--plum-3);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.8);
  animation: shuffle 1.6s var(--ease) infinite;
}
.shuffle span:nth-child(2) { animation-delay: 0.16s; }
.shuffle span:nth-child(3) { animation-delay: 0.32s; }
.shuffle span:nth-child(4) { animation-delay: 0.48s; }
.shuffle span:nth-child(5) { animation-delay: 0.64s; }
@keyframes shuffle {
  0%, 100% { transform: translate(0, 0) rotate(0deg); z-index: 1; }
  25% { transform: translate(-70px, -6px) rotate(-14deg); z-index: 1; }
  50% { transform: translate(0, -2px) rotate(0deg); z-index: 5; }
  75% { transform: translate(70px, -6px) rotate(14deg); z-index: 5; }
}
.shuffle::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px 0 0 -130px;
  border-radius: 50%; background: radial-gradient(circle, rgba(142, 91, 214, 0.28), transparent 65%);
  z-index: -1; animation: glow-flicker 2.6s ease-in-out infinite;
}

/* a candle burning while Lisa writes */
.ritual-candle { height: 150px; }

/* three cards dealt face down, then turned one by one */
.tcard { perspective: 1100px; }
.tcard__inner { display: grid; height: 100%; transition: transform 0.95s cubic-bezier(0.3, 0.7, 0.2, 1); transform-style: preserve-3d; }
.tcard.is-flipped .tcard__inner { transform: rotateY(180deg); }
.tcard__back, .tcard__face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.tcard__face { transform: rotateY(180deg); animation: none; }
.tcard__back {
  min-height: 170px; border-radius: var(--r);
  border: 1px solid rgba(240, 176, 73, 0.55);
  background:
    radial-gradient(circle at 50% 50%, rgba(240, 176, 73, 0.4) 0 7%, transparent 8%),
    radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(240, 176, 73, 0.35) 19% 20%, transparent 21%),
    repeating-linear-gradient(45deg, rgba(240, 176, 73, 0.1) 0 2px, transparent 2px 10px),
    var(--plum-3);
  animation: deal 0.6s var(--ease) both;
  animation-delay: calc(var(--i) * 0.12s);
}
.tcard.is-flipped .tcard__face { box-shadow: 0 0 40px -12px rgba(240, 176, 73, 0.55); }
@keyframes deal { from { opacity: 0; transform: translateY(30px) rotate(-6deg) scale(0.92); } to { opacity: 1; transform: none; } }

/* Lisa's letter: paragraphs come into focus one by one, the rest waits for her */
@keyframes inkIn { from { opacity: 0; filter: blur(6px); transform: translateY(8px); } to { opacity: 1; filter: blur(0); transform: none; } }
.result.is-ritual > * { animation: inkIn 0.7s var(--ease) both; animation-delay: calc(var(--base, 0s) + var(--k, 0) * 0.15s); }
.result.is-ritual > .cards-row { animation: none; }
.result.is-ritual > .lisa { animation-delay: var(--base, 0s); }
.result.is-ritual .lisa__text p { animation: inkIn 0.9s var(--ease) both; animation-delay: calc(var(--base, 0s) + 0.3s + var(--i, 0) * 0.45s); }
.result.is-ritual > .lisa ~ * { animation-delay: var(--after, 0s); }

/* chat replies, word by word */
.w { display: inline-block; animation: wordIn 0.4s var(--ease) both; animation-delay: calc(var(--w) * 26ms); }
@keyframes wordIn { from { opacity: 0; filter: blur(4px); transform: translateY(3px); } to { opacity: 1; filter: blur(0); transform: none; } }
