/* Sacred Stone and Tarot */
:root {
  --ink: #120e17;
  --ink-2: #1a1320;
  --plum: #2a1830;
  --plum-2: #3a2142;
  --gold: #c39a55;
  --gold-soft: #e0c48e;
  --gold-deep: #8c6a33;
  --cream: #f1e8d8;
  --parch: #ece2cf;
  --parch-2: #e3d6be;
  --mist: #b9aebf;
  --text-dark: #261b22;
  --muted-dark: #5c4d55;
  --line: rgba(195, 154, 85, 0.28);
  --line-dark: rgba(38, 27, 34, 0.18);
  --radius: 6px;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0 0.6 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 1.05rem; line-height: 1.7; color: var(--cream);
  background: var(--ink); background-image: var(--grain);
  -webkit-font-smoothing: antialiased; opacity: 0; transition: opacity 0.5s var(--ease);
}
body.is-ready { opacity: 1; }
body.is-leaving { opacity: 0; transition-duration: 0.28s; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); font-weight: 400; }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 400; }
h3 { font-size: 1.6rem; }
h1 em, h2 em { font-style: italic; color: var(--gold-soft); }
p { margin: 0 0 1.1em; max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--mist); }
.label { display: inline-block; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; font-weight: 600; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 0.7rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; }

.wrap { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section--plum { background: var(--plum); background-image: var(--grain), radial-gradient(900px 500px at 85% 0%, rgba(195,154,85,0.10), transparent 70%); }
.section--parch { background: var(--parch); background-image: var(--grain); color: var(--text-dark); }
.section--parch .muted { color: var(--muted-dark); }
.section--parch .label { color: var(--gold-deep); }
.section--parch h2 em { color: var(--gold-deep); }
.section-head { max-width: 680px; margin-bottom: 3.2rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(18, 14, 23, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--display); font-weight: 500; font-size: 1.35rem; letter-spacing: 0.02em; }
.brand-text small { font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-top: 0.3rem; }
.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a { text-decoration: none; font-size: 0.95rem; padding: 0.3rem 0; position: relative; color: var(--mist); transition: color 0.25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:hover { color: var(--cream); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--cream); }
.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.cart-btn, .menu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; height: 2.6rem; padding: 0 1rem; white-space: nowrap; background: none; border: 1px solid var(--line); color: var(--cream); font: inherit; font-size: 0.92rem; border-radius: 999px; cursor: pointer; transition: border-color 0.25s, background 0.25s; }
.cart-btn:hover, .menu-btn:hover { border-color: var(--gold); background: rgba(195,154,85,0.08); }
.cart-btn .count { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 0.78rem; font-weight: 700; padding: 0 0.3rem; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; padding: 0.9rem 1.7rem; border-radius: 999px; border: 1px solid var(--gold); background: var(--gold); color: var(--ink); transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s var(--ease); }
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(241,232,216,0.4); }
.btn--ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold-soft); }
.section--parch .btn--ghost { color: var(--text-dark); border-color: rgba(38,27,34,0.35); }
.section--parch .btn--ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.text-link { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.25s, color 0.25s; }
.text-link:hover { border-color: var(--gold); color: var(--cream); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4.5rem, 8vw, 7rem); background: radial-gradient(700px 520px at 74% 42%, rgba(98, 52, 92, 0.55), transparent 70%), radial-gradient(500px 300px at 72% 48%, rgba(195,154,85,0.14), transparent 70%), var(--ink); background-image: var(--grain), radial-gradient(700px 520px at 74% 42%, rgba(98, 52, 92, 0.55), transparent 70%), radial-gradient(500px 300px at 72% 48%, rgba(195,154,85,0.14), transparent 70%); }
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--gold-soft); opacity: 0.5; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.8; } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--mist); max-width: 44ch; }
.hero-meta { display: flex; align-items: center; gap: 0.9rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); max-width: 30rem; }
.hero-meta img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 1px solid var(--gold); }
.hero-meta p { margin: 0; font-size: 0.93rem; color: var(--mist); line-height: 1.5; }
.hero-meta b { color: var(--cream); font-weight: 600; }

/* Daily draw */
.draw-wrap { text-align: center; }
.draw-title { font-family: var(--display); font-size: 1.15rem; font-style: italic; color: var(--gold-soft); margin: 0 auto 1.8rem; }
.draw { display: flex; justify-content: center; gap: clamp(0.7rem, 2vw, 1.5rem); }
.slot { width: clamp(92px, 16vw, 178px); flex: none; perspective: 1400px; transition: transform 1s var(--ease), opacity 0.6s var(--ease); }
.slot.no-anim, .slot.no-anim * { transition: none !important; }
.slot.is-gone { opacity: 0; pointer-events: none; }
.tcard { display: block; width: 100%; aspect-ratio: 350 / 600; position: relative; transform-style: preserve-3d; cursor: pointer; opacity: 0; transform: translateY(40px); background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.slot:nth-child(1) .tcard { --tilt: -7deg; --lift: 14px; }
.slot:nth-child(2) .tcard { --tilt: 0deg; --lift: -6px; }
.slot:nth-child(3) .tcard { --tilt: 7deg; --lift: 14px; }
.draw.dealt .tcard { animation: deal 0.9s var(--ease-out) forwards; }
.draw.dealt .slot:nth-child(1) .tcard { animation-delay: 0.1s; }
.draw.dealt .slot:nth-child(2) .tcard { animation-delay: 0.3s; }
.draw.dealt .slot:nth-child(3) .tcard { animation-delay: 0.5s; }
@keyframes deal { to { opacity: 1; transform: translateY(var(--lift)) rotate(var(--tilt)); } }
.tcard-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.tcard:not(.flipped):hover .tcard-inner { transform: translateY(-8px); }
.tcard.flipped .tcard-inner { transform: rotateY(180deg); }
.tface { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 9px; overflow: hidden; box-shadow: 0 18px 40px -14px rgba(0,0,0,0.75), 0 0 0 1px rgba(195,154,85,0.55); }
.tface svg, .tface img { width: 100%; height: 100%; object-fit: cover; }
.tface--front { transform: rotateY(180deg); background: #f4ead2; }
.slot.is-chosen .tface--front { box-shadow: 0 24px 60px -16px rgba(0,0,0,0.85), 0 0 0 1px var(--gold), 0 0 50px -6px rgba(224,196,142,0.45); }

.reading-stage { display: grid; margin-top: 3.2rem; text-align: center; min-height: 13rem; }
.reading-stage > * { grid-area: 1 / 1; }
.draw-hint { margin: 0 auto; font-size: 0.92rem; color: var(--mist); align-self: start; max-width: none; transition: opacity 0.6s var(--ease), visibility 0s linear 0s; }
.draw-hint.is-hidden { opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; }
.reading { opacity: 0; visibility: hidden; max-width: 44ch; margin: 0 auto; transition: opacity 0.8s var(--ease), visibility 0s linear 0.8s; }
.reading.is-shown { opacity: 1; visibility: visible; transition: opacity 0.8s var(--ease), visibility 0s linear 0s; }
.reading .when { font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.5rem; max-width: none; }
.reading h3 { font-size: 2rem; margin-bottom: 0.15em; }
.reading .keys { color: var(--gold-soft); font-family: var(--display); font-style: italic; font-size: 1.15rem; margin: 0 auto 0.8rem; }
.reading p { margin-inline: auto; color: var(--mist); }
.next-draw { margin: 1.3rem auto 0; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--mist); max-width: 34ch; }
.next-draw b { color: var(--cream); font-weight: 600; font-variant-numeric: tabular-nums; }
.next-draw .btn { margin-top: 0.6rem; }

/* Banner */
.banner { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem); background: var(--ink); background-image: var(--grain), radial-gradient(800px 380px at 82% 0%, rgba(98,52,92,0.6), transparent 70%); border-bottom: 1px solid var(--line); }
.banner p { color: var(--mist); font-size: 1.18rem; max-width: 52ch; }
.banner .moon { position: absolute; right: max(1.5rem, calc(50% - 600px)); top: 50%; width: clamp(120px, 16vw, 210px); transform: translateY(-50%); opacity: 0.55; }

/* Grids */
.grid { display: grid; gap: 1.6rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--top { align-items: start; }

/* Offer rows (home) */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.offer { padding: 2.2rem 2rem 2.4rem 0; border-right: 1px solid var(--line); }
.offer + .offer { padding-left: 2rem; }
.offer:last-child { border-right: 0; }
.offer h3 { font-size: 1.9rem; }
.offer p { color: var(--mist); }

/* Portrait */
.portrait { position: relative; }
.portrait img { width: 100%; border-radius: 200px 200px var(--radius) var(--radius); border: 1px solid var(--line); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.portrait::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); border-radius: 200px 200px var(--radius) var(--radius); opacity: 0.5; pointer-events: none; }
.section--parch .portrait::before { border-color: var(--gold-deep); }

.honor { display: flex; align-items: center; gap: 1.4rem; margin: 2rem 0; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(195,154,85,0.06); max-width: 34rem; }
.honor .rank { font-family: var(--display); font-size: 4.2rem; line-height: 0.8; color: var(--gold-soft); flex: none; }
.honor .rank sup { font-size: 0.4em; vertical-align: top; position: relative; top: 0.2em; margin-left: 0.04em; }
.honor p { margin: 0; font-size: 0.98rem; line-height: 1.55; }
.honor b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.35rem; margin-bottom: 0.15rem; }
.section--parch .honor { border-color: var(--line-dark); background: rgba(140,106,51,0.08); }
.section--parch .honor .rank { color: var(--gold-deep); }

/* Reading cards (services + home) */
.reading-card { display: grid; grid-template-columns: 150px 1fr; gap: 1.8rem; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); transition: border-color 0.3s, background 0.3s; }
.reading-card:hover { border-color: var(--gold); background: rgba(195,154,85,0.05); }
.fan { position: relative; height: 200px; }
.fan img { position: absolute; top: 0; left: 50%; width: 92px; aspect-ratio: 350/600; border-radius: 6px; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.8), 0 0 0 1px rgba(195,154,85,0.5); transform-origin: 50% 110%; transition: transform 0.5s var(--ease-out); }
.fan img:nth-child(1) { transform: translateX(-50%) rotate(-12deg); }
.fan img:nth-child(2) { transform: translateX(-50%) rotate(0deg); z-index: 1; }
.fan img:nth-child(3) { transform: translateX(-50%) rotate(12deg); z-index: 2; }
.reading-card:hover .fan img:nth-child(1) { transform: translateX(-50%) rotate(-20deg); }
.reading-card:hover .fan img:nth-child(3) { transform: translateX(-50%) rotate(20deg); }
.fan--one img { transform: translateX(-50%) rotate(-3deg) !important; }
.reading-card h3 { margin-bottom: 0.3rem; }
.reading-card .meta { display: flex; gap: 1rem; color: var(--gold-soft); font-size: 0.92rem; margin-bottom: 0.9rem; font-variant-numeric: tabular-nums; }
.reading-card .meta span + span::before { content: "·"; margin-right: 1rem; color: var(--gold); }
.reading-card p { color: var(--mist); font-size: 0.98rem; }
.reading-card .btn { padding: 0.7rem 1.3rem; font-size: 0.9rem; }

/* Major arcana gallery */
.arcana { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2rem 1.4rem; }
.arcanum { text-align: center; }
.arcanum .img { perspective: 900px; margin-bottom: 0.9rem; }
.arcanum img { width: 100%; aspect-ratio: 350/600; object-fit: cover; border-radius: 7px; box-shadow: 0 12px 26px -12px rgba(38,27,34,0.6), 0 0 0 1px rgba(140,106,51,0.4); transition: transform 0.5s var(--ease-out), box-shadow 0.5s; }
.arcanum:hover img { transform: translateY(-6px) rotate(-1.5deg); box-shadow: 0 20px 34px -14px rgba(38,27,34,0.7), 0 0 0 1px var(--gold-deep); }
.arcanum .num { font-size: 0.74rem; letter-spacing: 0.2em; color: var(--gold-deep); font-weight: 700; }
.arcanum h3 { font-size: 1.25rem; margin: 0.1rem 0 0.25rem; }
.arcanum p { font-size: 0.86rem; color: var(--muted-dark); margin: 0 auto; line-height: 1.45; }

/* Moon path (how it works) */
.path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.path::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(195,154,85,0.15)); }
.path li { position: relative; }
.path .phase { width: 44px; height: 44px; margin-bottom: 1.3rem; position: relative; background: var(--plum); border-radius: 50%; }
.section--parch .path .phase { background: var(--parch); }
.path h3 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.path p { margin: 0; color: var(--mist); font-size: 0.97rem; }
.section--parch .path p { color: var(--muted-dark); }

.quote { font-family: var(--display); font-style: italic; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.3; max-width: 30ch; margin: 0 auto; text-align: center; }
.quote cite { display: block; margin-top: 1.1rem; font-family: var(--body); font-style: normal; font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.values h3 { font-size: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.section--parch .values h3 { border-color: var(--line-dark); }

/* Shop */
.toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.4rem; }
.chip { background: none; border: 1px solid var(--line); color: var(--mist); font: inherit; font-size: 0.93rem; padding: 0.5rem 1.2rem; border-radius: 999px; cursor: pointer; transition: all 0.25s; }
.chip:hover { border-color: var(--gold); color: var(--cream); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.product { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); display: flex; flex-direction: column; opacity: 0; animation: fadein 0.6s var(--ease) forwards; transition: border-color 0.3s; }
.product:hover { border-color: var(--gold); }
.product .art { aspect-ratio: 1; background: var(--plum); background-image: radial-gradient(circle at 50% 45%, rgba(195,154,85,0.16), transparent 62%); display: grid; place-items: center; overflow: hidden; }
.product .art svg { width: 60%; height: 60%; transition: transform 0.6s var(--ease); }
.product .art > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.product:hover .art > img { transform: scale(1.05); }
.product .art .fan { width: 100%; height: 78%; margin-top: 8%; }
.product .art .fan img { width: 34%; }
.product:hover .art svg { transform: translateY(-4px) scale(1.04); }
.product:hover .art .fan img:nth-child(1) { transform: translateX(-50%) rotate(-20deg); }
.product:hover .art .fan img:nth-child(3) { transform: translateX(-50%) rotate(20deg); }
.product .info { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.product .cat { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.product h3 { font-size: 1.4rem; margin: 0; }
.product .desc { font-size: 0.93rem; color: var(--mist); margin: 0; flex: 1; }
.product .row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.9rem; }
.product .price { font-family: var(--display); font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.product .btn { padding: 0.55rem 1.1rem; font-size: 0.88rem; }
.product.removing { animation: fadeout 0.25s var(--ease) forwards; }
@keyframes fadein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeout { to { opacity: 0; transform: translateY(-6px); } }

.skeleton { position: relative; overflow: hidden; background: rgba(255,255,255,0.06); border-radius: 3px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sk-card .sk-art { aspect-ratio: 1; }
.sk-card .sk-body { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: 0.7rem; }
.sk-line { height: 0.9rem; } .sk-line.w40 { width: 40%; } .sk-line.w70 { width: 70%; } .sk-line.w90 { width: 90%; }
.sk-title { height: 1.3rem; width: 65%; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.out { opacity: 0; transform: translateY(-12px); }

/* FAQ */
.faq { max-width: 780px; }
details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.section--parch details { border-color: var(--line-dark); }
details summary { cursor: pointer; font-family: var(--display); font-size: 1.4rem; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--gold); font-family: var(--body); font-size: 1.4rem; line-height: 1; transition: transform 0.3s var(--ease); flex: none; }
.section--parch details summary::after { color: var(--gold-deep); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0.8rem 0 0; color: var(--mist); }
.section--parch details p { color: var(--muted-dark); }

/* Forms */
.form { display: grid; gap: 1.2rem; max-width: 560px; }
label { font-size: 0.93rem; display: grid; gap: 0.4rem; color: var(--mist); }
input, select, textarea { font: inherit; color: var(--cream); background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.85rem 0.95rem; width: 100%; transition: border-color 0.25s; }
select option { color: #000; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
textarea { min-height: 150px; resize: vertical; }
.form-status { min-height: 1.5em; color: var(--gold-soft); font-size: 0.95rem; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.3rem; }
.contact-list li { padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; font-weight: 600; }

/* Legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.8rem; margin-top: 2.4rem; }
.legal p, .legal li { color: var(--mist); }
.legal ul { padding-left: 1.2rem; }
.legal .updated { color: var(--gold); }

/* Cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(8,5,10,0.6); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); z-index: 150; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--ink-2); border-left: 1px solid var(--line); z-index: 160; transform: translateX(100%); transition: transform 0.45s var(--ease-out); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer header h2 { margin: 0; font-size: 1.8rem; }
.drawer .items { flex: 1; overflow: auto; padding: 1rem 1.5rem; }
.drawer .empty { color: var(--mist); padding: 1rem 0; }
.drawer .item { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); animation: fadein 0.35s var(--ease) both; }
.drawer .item .name { font-family: var(--display); font-size: 1.2rem; }
.drawer .item .qty { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; }
.drawer .item button { background: none; border: 1px solid var(--line); color: var(--cream); width: 1.8rem; height: 1.8rem; border-radius: 50%; cursor: pointer; font: inherit; }
.drawer .item .remove { border: 0; width: auto; height: auto; color: var(--mist); text-decoration: underline; font-size: 0.86rem; }
.drawer footer { padding: 1.3rem 1.5rem 1.6rem; border-top: 1px solid var(--line); }
.drawer .total { display: flex; justify-content: space-between; font-family: var(--display); font-size: 1.4rem; margin-bottom: 1rem; }
.drawer .btn { width: 100%; justify-content: center; }
.close-btn { background: none; border: 0; color: var(--mist); font: inherit; cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 1.6rem; transform: translate(-50%, 20px); background: var(--cream); color: var(--text-dark); padding: 0.8rem 1.3rem; border-radius: 999px; z-index: 300; opacity: 0; pointer-events: none; transition: all 0.4s var(--ease); max-width: 90%; font-size: 0.95rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Footer */
.site-footer { background: #0c0910; background-image: var(--grain); border-top: 1px solid var(--line); padding: 4.5rem 0 2rem; font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { font-family: var(--body); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1em; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { text-decoration: none; color: var(--mist); transition: color 0.25s; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .fine { border-top: 1px solid var(--line); margin-top: 3.2rem; padding-top: 1.5rem; color: var(--mist); font-size: 0.85rem; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-footer .fine p { max-width: 80ch; margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .values { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .offers { grid-template-columns: 1fr; }
  .offer, .offer + .offer { padding: 1.8rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .path { grid-template-columns: 1fr 1fr; row-gap: 2.6rem; }
  .path::before { display: none; }
  .portrait { max-width: 440px; }
}
@media (max-width: 780px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 0.5rem 1.5rem 1rem; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0; width: 100%; font-size: 1.05rem; }
  .nav a::after { display: none; }
  .grid--2, .grid--3, .values { grid-template-columns: 1fr; }
  .brand-text b { font-size: 1.12rem; }
  .brand-text small { font-size: 0.58rem; letter-spacing: 0.24em; }
  .brand svg { width: 34px; height: 34px; }
  .cart-btn, .menu-btn { padding: 0 0.8rem; }
  .reading-card { grid-template-columns: 1fr; padding: 1.6rem; }
  .fan { height: 180px; }
  .banner .moon { display: none; }
  .arcana { grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1rem; }
}
@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .arcana { grid-template-columns: repeat(2, 1fr); }
  .brand-text small { display: none; }
  .cart-btn .lbl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .tcard { opacity: 1; transform: translateY(var(--lift)) rotate(var(--tilt)); }
  .reveal { opacity: 1; transform: none; }
}
.credits { margin-top: 1.5rem; border: 0; padding: 0; }
.credits summary { font-family: var(--body); font-size: 0.85rem; color: var(--mist); justify-content: flex-start; }
.credits summary::after { font-size: 1rem; }
.credits p { font-size: 0.8rem; max-width: 90ch; }
.credits a { color: var(--gold-soft); }

/* Header call to action (replaces the cart) */
.btn--sm { padding: 0.62rem 1.2rem; font-size: 0.88rem; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1rem; }

/* Product cards are links to their own page */
.product { position: relative; }
.product h3 a { text-decoration: none; }
.product .stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product .more { font-size: 0.88rem; font-weight: 600; color: var(--gold-soft); letter-spacing: 0.02em; transition: transform 0.3s var(--ease); }
.product:hover .more { transform: translateX(3px); }
.product:focus-within { border-color: var(--gold); }
.product[hidden] { display: none; }
.reading-card h3 a { text-decoration: none; }
.reading-card h3 a:hover { color: var(--gold-soft); }

/* Product and reading pages */
.pp { padding-top: clamp(2.2rem, 4vw, 3.2rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; font-size: 0.88rem; color: var(--mist); margin-bottom: 2.2rem; }
.crumbs a { color: var(--mist); text-decoration: none; transition: color 0.25s; }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs [aria-current] { color: var(--cream); }
.pp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.2rem, 5vw, 4.5rem); align-items: start; }
.pp-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; background: var(--plum); }
.pp-media img { width: 100%; height: 100%; object-fit: cover; }
.pp-media--cards { display: grid; place-items: center; background-image: radial-gradient(circle at 50% 45%, rgba(195,154,85,0.18), transparent 62%); }
.fan--big { width: 100%; height: 80%; margin-top: 10%; }
.fan--big img { width: 32%; }
.pp-media--cards:hover .fan img:nth-child(1) { transform: translateX(-50%) rotate(-20deg); }
.pp-media--cards:hover .fan img:nth-child(3) { transform: translateX(-50%) rotate(20deg); }
.pp-info h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 0.25em; }
.pp-price { font-family: var(--display); font-size: 2.3rem; color: var(--gold-soft); margin: 0 0 0.4rem; font-variant-numeric: tabular-nums; }
.pp-meta { color: var(--mist); margin: 0 0 1rem; }
.pp-desc { color: var(--mist); font-size: 1.08rem; margin-top: 1.2rem; }
.pp-details { list-style: none; padding: 0; margin: 1.4rem 0 0; border-top: 1px solid var(--line); }
.pp-details li { padding: 0.75rem 0 0.75rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; font-size: 0.97rem; }
.pp-details li::before { content: ""; position: absolute; left: 0.2rem; top: 1.15rem; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.pp-note { font-size: 0.9rem; color: var(--mist); margin-top: 1.2rem; }
@media (max-width: 900px) { .pp-grid { grid-template-columns: 1fr; } .pp-media { max-width: 560px; } }
@media (max-width: 520px) { .header-cta { display: none; } }

/* Embedded checkout window */
.co-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 1.2rem; }
.co-modal[hidden] { display: none; }
.co-scrim { position: absolute; inset: 0; background: rgba(8,5,10,0.72); opacity: 0; transition: opacity 0.3s var(--ease); }
.co-panel { position: relative; width: min(1000px, 100%); max-height: calc(100vh - 2.4rem); display: flex; flex-direction: column; background: #fff; color: #1a1a1a; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8); transform: translateY(24px); opacity: 0; transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease); }
.co-modal.open .co-scrim { opacity: 1; }
.co-modal.open .co-panel { transform: none; opacity: 1; }
.co-head { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.2rem; background: var(--ink); color: var(--cream); border-bottom: 1px solid var(--line); }
.co-title { font-family: var(--display); font-size: 1.3rem; }
.co-close { background: none; border: 1px solid var(--line); color: var(--cream); border-radius: 999px; padding: 0.4rem 1rem; font: inherit; font-size: 0.88rem; cursor: pointer; }
.co-close:hover { border-color: var(--gold); }
.co-body { overflow: auto; padding: 1rem 0.4rem; min-height: 320px; }
.co-loading { padding: 3rem 1rem; text-align: center; color: #555; }
.co-loading .text-link { color: #6b4a1e; }
@media (max-width: 600px) { .co-modal { padding: 0; } .co-panel { max-height: 100vh; height: 100%; border-radius: 0; } }

/* Intro hero: Yolanda first */
.hero--intro { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6.5rem); }
.hero--intro .wrap { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.intro-title { font-size: clamp(3rem, 6.6vw, 5.8rem); line-height: 1.02; }
.intro-title span { display: inline-block; }
.intro-in { opacity: 0; transform: translateY(22px); }
.is-ready .intro-in { animation: introUp 1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes introUp { to { opacity: 1; transform: none; } }

.intro-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-inline: auto; }
.intro-ring { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.is-ready .intro-ring { animation: ringIn 1.6s var(--ease-out) 0.2s forwards, spin 140s linear 0.2s infinite; }
@keyframes ringIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { from { rotate: 0deg; } to { rotate: 360deg; } }
.intro-arch { position: absolute; left: 50%; top: 50%; width: 56%; aspect-ratio: 4 / 5.2; transform: translate(-50%, -50%); border-radius: 999px 999px 10px 10px; overflow: hidden; border: 1px solid var(--gold); box-shadow: 0 0 0 8px rgba(18,14,23,0.9), 0 0 0 9px rgba(195,154,85,0.45), 0 40px 80px -30px rgba(0,0,0,0.9), 0 0 120px -20px rgba(195,154,85,0.35); clip-path: inset(100% 0 0 0 round 999px 999px 10px 10px); }
.is-ready .intro-arch { animation: archUp 1.4s var(--ease-out) 0.35s forwards; }
@keyframes archUp { to { clip-path: inset(0 0 0 0 round 999px 999px 10px 10px); } }
.intro-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transform: scale(1.12); }
.is-ready .intro-arch img { animation: settle 2.2s var(--ease-out) 0.35s forwards; }
@keyframes settle { to { transform: scale(1); } }

.float-card { position: absolute; width: 17%; aspect-ratio: 350 / 600; border-radius: 6px; box-shadow: 0 16px 34px -12px rgba(0,0,0,0.85), 0 0 0 1px rgba(195,154,85,0.6); opacity: 0; }
.fc1 { left: 6%; top: 18%; --r: -16deg; }
.fc2 { right: 4%; top: 10%; --r: 12deg; }
.fc3 { right: 9%; bottom: 8%; --r: 8deg; width: 15%; }
.is-ready .float-card { animation: cardIn 1s var(--ease-out) forwards, drift 7s ease-in-out infinite; }
.is-ready .fc1 { animation-delay: 1s, 2s; }
.is-ready .fc2 { animation-delay: 1.15s, 2.6s; }
.is-ready .fc3 { animation-delay: 1.3s, 3.1s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) rotate(0deg); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes drift { 0%, 100% { opacity: 1; transform: rotate(var(--r)) translateY(0); } 50% { opacity: 1; transform: rotate(calc(var(--r) * 1.25)) translateY(-12px); } }

.seal { position: absolute; left: 4%; bottom: 6%; width: 26%; opacity: 0; transform: scale(0.7); filter: drop-shadow(0 14px 24px rgba(0,0,0,0.6)); }
.is-ready .seal { animation: sealIn 0.9s var(--ease-out) 1.5s forwards; }
@keyframes sealIn { to { opacity: 1; transform: none; } }
.seal-text { transform-origin: 70px 70px; animation: spin 26s linear infinite; }

/* Daily draw section */
.daily { overflow: hidden; background: var(--plum); background-image: var(--grain), radial-gradient(700px 420px at 50% 55%, rgba(195,154,85,0.12), transparent 70%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.daily .section-head { margin-bottom: 2.6rem; }
.daily .slot { width: clamp(96px, 15vw, 190px); }

@media (max-width: 1000px) {
  .hero--intro .wrap { grid-template-columns: 1fr; }
  .intro-art { max-width: 460px; order: 0; }
}
@media (max-width: 600px) {
  .hero--intro { padding-top: 2rem; }
  .intro-title { font-size: clamp(2.7rem, 12vw, 3.4rem); }
  .hero--intro .lead { font-size: 1.08rem; }
  .hero--intro .btn-row { margin-top: 1.5rem; }
  .intro-art { max-width: 380px; margin-top: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-in, .intro-ring, .float-card, .seal { opacity: 1 !important; transform: none; }
  .intro-arch { clip-path: none; }
  .float-card { transform: rotate(var(--r)); }
}

@media (max-width: 600px) {
  .hero--intro .btn-row { flex-wrap: nowrap; gap: 0.6rem; }
  .hero--intro .btn-row .btn { padding: 0.85rem 1.15rem; font-size: 0.9rem; flex: 1; justify-content: center; white-space: nowrap; }
}

/* Twinkling stars in the header mark */
.brand .tw { animation: twinkle-star 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes twinkle-star { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.2; transform: scale(0.6); } }

/* Opening scene (home page, once per visit) */
.splash { display: none; }
.has-intro body { opacity: 1; overflow: hidden; }
.has-intro .splash { position: fixed; inset: 0; z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem; background: var(--ink); background-image: var(--grain), radial-gradient(600px 460px at 50% 45%, rgba(98,52,92,0.55), transparent 70%); }
.splash .stars i { animation-duration: 2.6s; }
.splash-seal { width: min(360px, 68vw); height: auto; opacity: 0; transform: scale(0.9) rotate(-8deg); filter: blur(10px); animation: sealReveal 1.5s var(--ease-out) 0.2s forwards; }
@keyframes sealReveal { to { opacity: 1; transform: none; filter: blur(0); } }
.splash-line { width: 0; height: 1px; background: var(--gold); animation: splashLine 1s var(--ease-out) 1.2s forwards; }
@keyframes splashLine { to { width: 96px; } }
.splash-tag { margin: 0; font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); opacity: 0; animation: splashTag 0.8s var(--ease) 1.7s forwards; max-width: none; }
@keyframes splashTag { to { opacity: 1; } }
.splash.is-done { animation: splashOut 0.9s var(--ease) forwards; }
.splash.is-done .splash-seal { animation: sealOut 0.9s var(--ease) forwards; }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }
@keyframes sealOut { from { opacity: 1; transform: none; filter: blur(0); } to { opacity: 0; transform: scale(1.08); filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) { .brand .tw { animation: none; } }
