/* Soulwritten: site design system */
:root {
  --bg: #0a0912;
  --bg-2: #13101d;
  --paper: rgba(255,255,255,.045);
  --ink: #f4ede3;
  --muted: #b8ab9d;
  --accent: #e9c46a;
  --accent-2: #c9963e;
  --peach: #f1cf7a;
  --deep: #07060c;
  --line: rgba(255,255,255,.11);
  --tint: rgba(233,196,106,.12);
  --radius: 20px;
  --max: 1120px;
  --read: 680px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 50px -30px rgba(0,0,0,.8);
  --shadow-up: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -28px rgba(0,0,0,.9), 0 0 40px -10px rgba(233,196,106,.35);
  --glow: 0 0 0 1px rgba(233,196,106,.35), 0 0 34px -6px rgba(233,196,106,.55);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.7 Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
::selection { background: rgba(233,196,106,.35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6.2vw, 3.9rem); letter-spacing: -.022em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); margin-top: 1.6em; }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.45rem); margin-top: 1.4em; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-family: Fraunces, Georgia, serif; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(10,9,18,.55); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-head.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); background: rgba(10,9,18,.82); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-family: Fraunces, serif; font-weight: 600; font-size: 21px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo svg { width: 26px; height: 26px; color: var(--accent); }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 10px 18px; font-size: 14px; white-space: nowrap; color: #1b120d; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; padding: 0; color: var(--ink); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative; transition: transform .25s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .menu-btn { display: block; }
  .mobile-menu { display: block; position: fixed; inset: 68px 0 auto 0; background: rgba(10,9,18,.97); border-bottom: 1px solid var(--line); padding: 8px 20px 22px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; box-shadow: 0 30px 40px -30px rgba(42,36,32,.4); }
  .menu-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
  .mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: Fraunces, serif; font-size: 1.3rem; }
  .mobile-menu a:last-child { border: 0; }
}
@media (max-width: 400px) { .logo { font-size: 18px; } .nav .btn { padding: 9px 14px; font-size: 13px; } .nav { gap: 10px; } }
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; z-index: 40; pointer-events: none; }

/* footer */
.site-foot { background: var(--deep); color: #d9cbbd; margin-top: 80px; padding: 56px 0 32px; font-size: 14px; }
.site-foot a { color: #f0d9c4; text-decoration: none; line-height: 2; }
.site-foot a:hover { color: #fff; }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } .site-foot .cols > :first-child { grid-column: 1 / -1; } }
.site-foot .safety { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; color: #b9a99a; font-size: 13px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg,#f1cf7a 0%,#e9c46a 45%,#c9963e 100%); color: #1b120d; text-decoration: none; font-weight: 600; padding: 15px 26px; border-radius: 999px; border: 0; font: 600 16px/1.2 Inter, system-ui, sans-serif; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; box-shadow: 0 0 0 1px rgba(255,220,180,.25) inset, 0 10px 30px -10px rgba(201,150,62,.7); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,230,200,.4) inset, 0 14px 40px -8px rgba(201,150,62,.85); filter: brightness(1.05); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); box-shadow: none; }
.btn.ghost:hover { background: rgba(233,196,106,.08); box-shadow: var(--glow); }
.btn.big { padding: 18px 32px; font-size: 17px; }
.btn.block { display: flex; text-align: center; width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* sections */
.hero { padding-top: 84px; padding-bottom: 56px; }
@media (max-width: 600px) { .hero { padding-top: 44px; padding-bottom: 36px; } }
.hero .sub { font-size: clamp(1.08rem, 2.3vw, 1.3rem); color: var(--muted); max-width: 640px; line-height: 1.6; }
.section { padding-top: 76px; padding-bottom: 76px; }
@media (max-width: 600px) { .section { padding-top: 52px; padding-bottom: 52px; } }
.section > .wrap, .section > .read { padding-left: 20px; padding-right: 20px; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: radial-gradient(120% 80% at 50% 0%, #1c1428 0%, #07060c 70%); color: #f3e8dc; }
.section.dark h2, .section.dark h3 { color: #fff; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }
.card { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 20px; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card h3 { margin-top: 0; }
a.card { color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; display: block; position: relative; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); border-color: rgba(233,196,106,.5); }
a.card::after { content: "→"; position: absolute; right: 22px; bottom: 18px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); }
a.card:hover::after { opacity: 1; transform: none; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* scroll reveal (added by site.js; skipped with reduced motion or no JS) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* article pages */
.article { padding-top: 48px; padding-bottom: 20px; }
.article h1 { font-size: clamp(2rem, 5.5vw, 3rem); }
.article .byline { color: var(--muted); font-size: 14px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article h2 { font-size: clamp(1.45rem, 3.6vw, 1.95rem); }
.article blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 3px solid var(--accent); background: var(--paper); border-radius: 0 14px 14px 0; font-family: Fraunces, serif; font-size: 1.18em; line-height: 1.45; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.article li::marker { color: var(--accent); }
.article .item-num { display: inline-block; font-family: Fraunces, serif; color: var(--accent); margin-right: 6px; }
.article figure { margin: 1.8em 0; }
.article figure img { border-radius: 14px; box-shadow: 0 20px 40px -24px rgba(42,36,32,.5); }
.article figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* callouts */
.cta-box { background: radial-gradient(120% 120% at 100% 0%, #3a2440 0%, #120e1c 55%, #07060c 100%); border: 1px solid var(--line); color: #f3e8dc; border-radius: 22px; padding: 32px; margin: 2.2em 0; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(232,185,154,.22), transparent 70%); pointer-events: none; }
.cta-box h3 { color: #fff; margin-top: 0; position: relative; }
.cta-box p { color: #e1d2c3; position: relative; }
.cta-box .btn { background: var(--peach); color: var(--deep); box-shadow: none; position: relative; }
.cta-box .btn:hover { background: #f0c8ad; }
.note { background: var(--tint); border-radius: 14px; padding: 16px 20px; font-size: 14px; color: var(--muted); margin: 1.6em 0; line-height: 1.6; }
.prompt { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--peach); border-radius: 14px; padding: 16px 20px; margin: .8em 0; font-family: Fraunces, serif; font-size: 1.07em; line-height: 1.45; }
.illustrative { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2em; }

/* product */
.mock { aspect-ratio: 4/5; border-radius: 6px 14px 14px 6px; background: linear-gradient(160deg,#3b2a22,#7a3e2e); box-shadow: 0 30px 60px -20px rgba(42,36,32,.5); }
.price { font-family: Fraunces, serif; font-size: 2.6rem; line-height: 1.1; }
.check { list-style: none; padding: 0; }
.check li { padding-left: 32px; position: relative; margin: 12px 0; }
.check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23e9c46a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; padding: 16px 40px 16px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11h8M11 7v8' stroke='%23e9c46a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details > :not(summary) { animation: fadeDown .35s var(--ease); }
details p { color: var(--muted); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.bump { border: 2px dashed var(--accent); border-radius: 16px; padding: 16px 18px; background: rgba(233,196,106,.06); display: flex; gap: 14px; align-items: flex-start; cursor: pointer; transition: background .2s, border-style .2s; }
.bump:has(input:checked) { background: rgba(233,196,106,.14); border-style: solid; box-shadow: var(--glow); }
.bump input { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--accent); flex: 0 0 auto; }
.badge { display: inline-block; background: var(--tint); color: var(--accent); border-radius: 99px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.pages-wrap { position: relative; }
.pages-strip { display: flex; gap: 16px; overflow-x: auto; padding: 8px 2px 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #d6c3b0 transparent; }
.pages-strip img { width: 230px; flex: 0 0 auto; border-radius: 6px; box-shadow: 0 14px 30px -16px rgba(42,36,32,.5); scroll-snap-align: start; background: #fff; cursor: zoom-in; transition: transform .25s var(--ease); }
.pages-strip img:hover { transform: translateY(-4px); }
.strip-nav { position: absolute; top: 42%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(19,16,29,.9); color: var(--accent); font-size: 18px; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; }
.strip-nav.prev { left: -10px; } .strip-nav.next { right: -10px; }
@media (max-width: 600px) { .strip-nav { display: none; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(33,24,20,.9); display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity .25s; cursor: zoom-out; }
.lightbox.on { opacity: 1; }
.lightbox img { max-height: 88vh; max-width: min(92vw, 760px); border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.96); transition: transform .3s var(--ease); }
.lightbox.on img { transform: none; }
.lightbox p { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #e8dccf; font-size: 14px; margin: 0; }

/* chips (home teaser, quiz) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; background: rgba(255,255,255,.05); backdrop-filter: blur(8px); border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 18px; font: 500 15px/1.3 Inter, sans-serif; color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease), color .2s; }
.chip:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--glow); color: #fff; }
.chip.on { background: var(--accent); border-color: var(--accent); color: #1b120d; }

/* consent banner (assets/tracking.js; only shown when the Meta Pixel or Clarity is switched on) */
.consent { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin: 0 auto; background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 18px 20px 16px; box-shadow: 0 12px 40px rgba(42,36,32,.18); font: 15px/1.55 Inter, system-ui, -apple-system, sans-serif; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.consent p { margin: 0 0 12px; }
.consent .consent-title { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 1.15rem; line-height: 1.2; margin-bottom: 6px; }
.consent-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-btns .btn { flex: 1 1 120px; padding: 12px 20px; font-size: 15px; text-align: center; }
.consent-btns .btn.ghost { padding: 10.5px 20px; }
[hidden] { display: none !important; }

/* ---------- cosmos layer (sitewide) ---------- */
body { background: radial-gradient(1200px 700px at 85% -10%, rgba(120,70,160,.22), transparent 60%), radial-gradient(900px 600px at -10% 30%, rgba(201,150,62,.10), transparent 60%), radial-gradient(1000px 800px at 50% 120%, rgba(60,80,170,.18), transparent 60%), var(--bg); background-attachment: fixed; }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
h1 { background: linear-gradient(100deg, #fff 0%, #f8e6d2 40%, #e9c46a 70%, #fff3e4 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s ease-in-out infinite; }
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.eyebrow { color: var(--peach); text-shadow: 0 0 18px rgba(233,196,106,.5); }
a { color: var(--peach); }
.site-head .logo svg { color: var(--accent); filter: drop-shadow(0 0 6px rgba(233,196,106,.6)); }
.site-foot { background: rgba(5,4,9,.6); border-top: 1px solid var(--line); }
.pages-strip img { box-shadow: 0 18px 40px -16px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.price { color: #fff; text-shadow: 0 0 24px rgba(233,196,106,.45); }
.mock { box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), var(--glow); }
@media (prefers-reduced-motion: reduce) { h1 { animation: none; } }

/* ---------- spiritual layer: midnight + gold (23 Oct 2026; art from design/build_site_spiritual.py) ---------- */
:root {
  --bg: #070818;
  --bg-2: #0e1030;
  --deep: #04050f;
  --accent: #e9c46a;
  --accent-2: #c9963e;
  --peach: #f1cf7a;
  --teal: #2bb3a3;
  --violet: #8a6bd8;
  --line: rgba(233,196,106,.16);
  --tint: rgba(233,196,106,.12);
  --glow: 0 0 0 1px rgba(233,196,106,.4), 0 0 34px -6px rgba(233,196,106,.55);
  --shadow-up: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -28px rgba(0,0,0,.9), 0 0 40px -10px rgba(233,196,106,.4);
}
body { background: radial-gradient(1100px 700px at 85% -10%, rgba(59,42,138,.38), transparent 60%), radial-gradient(900px 600px at -10% 35%, rgba(43,179,163,.10), transparent 60%), radial-gradient(1000px 800px at 50% 120%, rgba(138,107,216,.18), transparent 60%), var(--bg); background-attachment: fixed; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: url(img/art/starmap.svg) center/cover no-repeat; opacity: .55; }
::selection { background: rgba(233,196,106,.35); }
h1 { background: linear-gradient(100deg, #fff8e8 0%, #f6e3b0 35%, #e9c46a 62%, #fff3d6 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--accent); text-shadow: 0 0 18px rgba(233,196,106,.45); letter-spacing: .26em; }
.eyebrow::before { content: "✦ "; }
a { color: var(--peach); }
.btn { background: linear-gradient(135deg, #fbe6ad 0%, #e9c46a 48%, #c9963e 100%); color: #0b0c24; box-shadow: 0 0 0 1px rgba(255,236,190,.35) inset, 0 10px 30px -10px rgba(233,196,106,.6); }
.btn:hover { box-shadow: 0 0 0 1px rgba(255,240,205,.5) inset, 0 14px 40px -8px rgba(233,196,106,.8); }
.nav .btn { color: #0b0c24; }
.btn.ghost { background: transparent; color: var(--accent); border-color: rgba(233,196,106,.7); }
.site-head { background: rgba(7,8,24,.55); }
.site-head.scrolled { background: rgba(7,8,24,.86); }
.logo img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(233,196,106,.6), 0 0 16px rgba(233,196,106,.35); }
.card { background: linear-gradient(160deg, rgba(20,22,60,.72), rgba(9,10,30,.55)); border: 1px solid rgba(233,196,106,.18); position: relative; }
.card::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(233,196,106,.85), transparent); }
a.card:hover { border-color: rgba(233,196,106,.6); }
.section.alt { background: linear-gradient(180deg, rgba(59,42,138,.10), rgba(7,8,24,.2)); border-color: rgba(233,196,106,.12); }
.section.dark { background: radial-gradient(120% 80% at 50% 0%, #1b1456 0%, #07061f 70%); position: relative; overflow: hidden; isolation: isolate; }
.section.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(img/art/river.svg) center/cover no-repeat; opacity: .45; }
.cta-box { background: radial-gradient(120% 120% at 100% 0%, #2b1f6e 0%, #0e1030 55%, #04050f 100%); border-color: rgba(233,196,106,.25); }
.cta-box::before { background: url(img/art/sacred.svg) center/contain no-repeat; opacity: .35; border-radius: 0; }
.cta-box .btn { background: linear-gradient(135deg, #fbe6ad, #e9c46a 50%, #c9963e); color: #0b0c24; }
.prompt { border-left-color: var(--accent); background: rgba(20,22,60,.5); }
.price { text-shadow: 0 0 24px rgba(233,196,106,.45); }
.chip.on { color: #0b0c24; }
.site-foot { background: linear-gradient(180deg, rgba(4,5,15,.4), rgba(4,5,15,.85)), url(img/art/starmap.svg) center/cover no-repeat; border-top: 1px solid rgba(233,196,106,.2); }
.site-foot a { color: #f1e2b8; }
/* sacred geometry: slowly turning behind the home hero and the release ritual */
.cos-hero::before, .ritual::before { content: ""; position: absolute; left: 50%; top: 46%; width: min(92vw, 780px); aspect-ratio: 1; transform: translate(-50%, -50%); background: url(img/art/sacred.svg) center/contain no-repeat; opacity: .42; z-index: -1; filter: drop-shadow(0 0 12px rgba(233,196,106,.35)); pointer-events: none; animation: turn 240s linear infinite; }
.ritual { isolation: isolate; }
.ritual::before { width: 640px; top: 50%; opacity: .16; }
@keyframes turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cos-hero .bg { filter: hue-rotate(205deg) saturate(.8); opacity: .42; }
.cos-hero .orb { background: radial-gradient(circle, rgba(233,196,106,.26), rgba(59,42,138,.18) 45%, transparent 70%); }
@media (prefers-reduced-motion: reduce) { .cos-hero::before, .ritual::before { animation: none; } }
/* painted art (original paintings in assets/art/, web sizes in img/art/) */
body .cos-hero .bg { background: url(img/art/river-hero.jpg) center 40%/cover; opacity: .9; filter: none; }
body .cos-hero::after { background: radial-gradient(70% 55% at 50% 48%, rgba(7,8,24,.55), rgba(7,8,24,.2) 70%), linear-gradient(180deg, rgba(7,8,24,.15) 55%, var(--bg)); }
body .cos-hero::before { opacity: .16; }
@media (max-width: 700px) { body .cos-hero .bg { background-image: url(img/art/river-hero-tall.jpg); background-position: center; } }
body .cosmic-band::before { background: url(img/art/moon-valley.jpg) center 35%/cover; opacity: .8; }
body .cosmic-band::after { background: linear-gradient(180deg, var(--bg), rgba(7,8,24,.25) 28%, rgba(7,8,24,.45) 70%, var(--bg)); }
body .cosmic-band .quote-band { text-shadow: 0 2px 30px rgba(7,8,24,.9), 0 0 60px rgba(7,8,24,.7); }
@media (max-width: 700px) { body .cosmic-band::before { background-image: url(img/art/moon-valley-tall.jpg); } }
.hero.painted { position: relative; isolation: isolate; }
.hero.painted::before { content: ""; position: absolute; left: 50%; width: 100vw; transform: translateX(-50%); top: -70px; bottom: -40px; z-index: -1; background: linear-gradient(180deg, rgba(7,8,24,.35), rgba(7,8,24,.7) 60%, var(--bg)), url(img/art/moon-valley.jpg) center 30%/cover; opacity: .9; }
@media (max-width: 700px) { .hero.painted::before { background-image: linear-gradient(180deg, rgba(7,8,24,.45), rgba(7,8,24,.75) 60%, var(--bg)), url(img/art/moon-valley-tall.jpg); } }
.hero.painted .sub, .hero.painted p { text-shadow: 0 1px 14px rgba(7,8,24,.8); }
/* painted art, round 2: moonlit sea behind the method section and footer, moon valley behind the quiz */
.section.dark::before { background: linear-gradient(180deg, rgba(7,8,24,.55), rgba(7,8,24,.35) 40%, rgba(7,8,24,.7)), url(img/art/moonlit-sea.jpg) center 60%/cover no-repeat; opacity: 1; }
.section.dark h2, .section.dark h3, .section.dark p { text-shadow: 0 2px 18px rgba(7,8,24,.85); }
@media (max-width: 700px) { .section.dark::before { background-image: linear-gradient(180deg, rgba(7,8,24,.6), rgba(7,8,24,.45) 40%, rgba(7,8,24,.75)), url(img/art/moonlit-sea-tall.jpg); } }
.site-foot { background: linear-gradient(180deg, var(--bg) 0%, rgba(4,5,15,.55) 35%, rgba(4,5,15,.82) 100%), url(img/art/moonlit-sea.jpg) center 70%/cover no-repeat; }
body:has(main.quiz) { background: linear-gradient(180deg, rgba(7,8,24,.55), rgba(7,8,24,.82) 55%, var(--bg)), url(img/art/moon-valley.jpg) center top/cover no-repeat fixed, var(--bg); }
@media (max-width: 700px) { body:has(main.quiz) { background: linear-gradient(180deg, rgba(7,8,24,.6), rgba(7,8,24,.85) 55%, var(--bg)), url(img/art/moon-valley-tall.jpg) center top/cover no-repeat, var(--bg); } }

/* Slim consent bar (25 Oct): one line, doesn't cover the content. */
.consent { left: 0; right: 0; bottom: 0; max-width: none; margin: 0; border-radius: 0; border: 0; border-top: 1px solid rgba(201,162,77,.5); padding: 10px 14px; display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.4; box-shadow: 0 -6px 24px rgba(0,0,0,.18); animation: none; }
.consent p { margin: 0; flex: 1; }
.consent-btns { flex: 0 0 auto; gap: 6px; flex-wrap: nowrap; }
.consent-btns .btn { flex: 0 0 auto; min-height: 34px; padding: 6px 14px; font-size: 13px; }
