/* Layout concept: a lit lavender-white "record room" — card art glows against light ground, wine-purple ink, brand-yellow seals. Single deliberate light look. */
[hidden] { display: none !important; }
:root {
  color-scheme: light;
  --ground: #FCF9FD;
  --mist: #F3EAF4;
  --mist-2: #EADCEB;
  --ink: #2A0B2C;
  --wine: #680C6C;
  --wine-deep: #43063F;
  --gold: #DEC223;
  --gold-ink: #8A700A;
  --muted: #6E5871;
  --line: rgba(104, 12, 108, .16);
  --on-wine: #FBF3FB;

  --f-display: "Gloock", "Bodoni Moda", Didot, Georgia, serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-label: "Tenor Sans", "Gill Sans", "Hanken Grotesk", sans-serif;
  --f-deva: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", serif;

  --s-xs: .8125rem; --s-sm: .9375rem; --s-md: 1.0625rem; --s-lg: 1.375rem;
  --s-xl: clamp(1.9rem, 3.4vw, 2.75rem);
  --s-2xl: clamp(2.5rem, 5.6vw, 4.6rem);
  --s-hero: clamp(2.9rem, 7.4vw, 6.4rem);

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--f-body); font-size: var(--s-md); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--wine); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.01em; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(72px, 10vw, 140px); }
.band--mist { background: var(--mist); }
.band--wine { background: var(--wine-deep); color: var(--on-wine); }
.band--wine h2, .band--wine h3 { color: var(--on-wine); }

.label { font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.band--wine .label { color: var(--gold); }
.deva { font-family: var(--f-deva); }
.lede { font-size: var(--s-lg); line-height: 1.55; color: var(--muted); max-width: 40ch; }
.band--wine .lede { color: rgba(251, 243, 251, .78); }
.measure { max-width: 64ch; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head h2 { font-size: var(--s-2xl); }
.section-head h2 em { font-style: italic; color: var(--wine); }
.band--wine .section-head h2 em { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s; }
.btn--seal { background: var(--gold); color: var(--wine-deep); box-shadow: 0 10px 30px -12px rgba(222, 194, 35, .9); }
.btn--seal:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(222, 194, 35, 1); }
.btn--ghost { border-color: var(--line); color: var(--wine); background: transparent; }
.btn--ghost:hover { background: var(--wine); color: var(--on-wine); }
.band--wine .btn--ghost { border-color: rgba(251, 243, 251, .3); color: var(--on-wine); }
.band--wine .btn--ghost:hover { background: var(--on-wine); color: var(--wine-deep); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ground); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(252, 249, 253, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.mark svg { width: 34px; height: 34px; flex: none; }
.mark b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; letter-spacing: .01em; line-height: 1; }
.mark small { display: block; font-family: var(--f-label); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-ink); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.nav a { font-size: var(--s-sm); color: var(--ink); text-decoration: none; position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--wine); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 10px 18px; }
.nav .btn::after { display: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--wine); cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: calc(72px + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ground); padding: 8px var(--gutter-r) 24px var(--gutter-l); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .35s var(--ease); }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: var(--s-md); }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
}

/* Mandala mark used as ornament */
.orbit { position: absolute; pointer-events: none; }

/* ---------- HOME HERO ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 110px); }
.hero canvas.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 { font-size: var(--s-hero); line-height: .98; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { font-style: italic; color: var(--wine); }
.hero-sub { font-size: var(--s-lg); color: var(--muted); max-width: 36ch; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--s-xs); color: var(--muted); font-family: var(--f-label); letter-spacing: .14em; text-transform: uppercase; }
.hero-meta span::before { content: "◆"; color: var(--gold); margin-right: 8px; font-size: .6rem; vertical-align: 2px; }

/* The altar: interactive shuffle */
.altar { position: relative; display: grid; justify-items: center; gap: 22px; min-width: 0; }
.altar-halo { position: absolute; width: min(560px, 120%); aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -54%); border-radius: 50%; background: radial-gradient(circle, rgba(222, 194, 35, .30) 0%, rgba(104, 12, 108, .10) 42%, transparent 68%); pointer-events: none; }
.altar-halo svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 90s linear infinite; opacity: .55; }
@keyframes spin { to { transform: rotate(360deg); } }
.deck { position: relative; width: min(300px, 64vw); aspect-ratio: 2 / 3; perspective: 1400px; cursor: pointer; border: 0; background: none; padding: 0; -webkit-tap-highlight-color: transparent; }
.deck .card { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; transform-style: preserve-3d; box-shadow: 0 30px 60px -24px rgba(67, 6, 63, .55), 0 0 0 1px rgba(222, 194, 35, .35); background: var(--wine-deep); will-change: transform; }
.deck .card img { width: 100%; height: 100%; object-fit: cover; }
.deck .card::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(222, 194, 35, .55); border-radius: 11px; pointer-events: none; }
.deck .card .sheen { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 48%, transparent 62%); transform: translateX(-120%); pointer-events: none; }
.altar-hint { display: flex; align-items: center; gap: 14px; font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--wine); }
.sound-toggle { border: 1px solid var(--line); background: var(--ground); color: var(--wine); border-radius: 999px; padding: 6px 12px; font: inherit; letter-spacing: .14em; cursor: pointer; }
.reading { width: min(420px, 100%); text-align: center; display: grid; gap: 8px; min-height: 108px; }
.reading .label { color: var(--gold-ink); }
.reading h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.reading p { color: var(--muted); font-size: var(--s-sm); }

/* ---------- MARQUEE ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 18px; background: var(--ground); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: drift 40s linear infinite; font-family: var(--f-display); font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: var(--wine); white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--gold); margin-left: 48px; font-size: .8em; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- COLLECTION (horizontal pinned) ---------- */
.collection { position: relative; background: var(--mist); overflow: hidden; }
.collection-intro { padding-top: clamp(72px, 10vw, 130px); }
.rail { display: flex; gap: clamp(24px, 4vw, 56px); padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: 24px clamp(72px, 10vw, 130px); width: max-content; }
.deck-panel { width: min(1040px, 88vw); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; background: var(--ground); border-radius: 28px; padding: clamp(24px, 3.4vw, 48px); border: 1px solid var(--line); }
.deck-panel .stage { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; border-radius: 20px; background: radial-gradient(circle at 50% 40%, rgba(222, 194, 35, .22), transparent 62%), var(--mist); overflow: hidden; }
.deck-panel .stage .art { width: 64%; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; box-shadow: 0 34px 60px -26px rgba(67, 6, 63, .6), 0 0 0 1px rgba(222, 194, 35, .45); transform: rotate(-4deg); transition: transform .9s var(--ease); }
.deck-panel .stage .art.photo { width: 82%; aspect-ratio: auto; transform: none; box-shadow: none; border-radius: 12px; }
.deck-panel:hover .stage .art:not(.photo) { transform: rotate(0deg) translateY(-8px) scale(1.03); }
.deck-panel .stage .art img { width: 100%; height: 100%; object-fit: cover; }
.deck-panel .stage .ghost { position: absolute; width: 64%; aspect-ratio: 2 / 3; border-radius: 14px; background: var(--wine); opacity: .14; transform: rotate(7deg) translate(14%, 2%); }
.deck-info { display: grid; gap: 16px; min-width: 0; }
.deck-info h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.deck-info .count { font-family: var(--f-display); font-size: 1.05rem; color: var(--wine); font-style: italic; }
.deck-info p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--f-label); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--wine); }
.tag--gold { background: rgba(222, 194, 35, .22); border-color: rgba(138, 112, 10, .3); color: var(--gold-ink); }
.price { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); font-size: 1.6rem; color: var(--ink); }
.price small { font-family: var(--f-body); font-size: var(--s-sm); color: var(--muted); }
.deck-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rail-progress { position: absolute; left: var(--gutter-l); right: var(--gutter-r); bottom: 40px; height: 1px; background: var(--line); max-width: var(--wrap); margin-inline: auto; }
.rail-progress i { display: block; height: 100%; width: 100%; background: var(--wine); transform: scaleX(0); transform-origin: left; }

/* CSS-drawn card face for decks without uploaded art */
.drawn { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 18px; color: var(--gold); position: relative; }
.drawn--masc { background: radial-gradient(circle at 50% 38%, #3B5BA0 0%, #1C2552 55%, #0F1433 100%); }
.drawn--time { background: radial-gradient(circle at 50% 40%, #8B3B8F 0%, #4A0E57 55%, #24062B 100%); }
.drawn svg { width: 70%; height: auto; opacity: .9; }
.drawn span { position: absolute; bottom: 9%; left: 0; right: 0; font-family: var(--f-label); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: #F2DF7A; }

@media (max-width: 900px) {
  .rail { flex-direction: column; width: auto; }
  .deck-panel { width: 100%; grid-template-columns: 1fr; }
  .deck-panel .stage { aspect-ratio: 5 / 4; }
  .deck-panel .stage .art { width: 46%; }
  .deck-panel .stage .art.photo { width: 60%; }
  .rail-progress { display: none; }
}

/* ---------- WORLD / AVAILABILITY ---------- */
.world { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.world > div { padding: 28px 22px 8px 0; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--line); padding-left: 22px; }
.world > div:first-child { padding-left: 0; }
.world > div:last-child { border-right: 0; }
.world .code { font-family: var(--f-display); font-size: 2.4rem; color: var(--wine); line-height: 1; }
.world p { font-size: var(--s-sm); color: var(--muted); }
@media (max-width: 760px) { .world { grid-template-columns: 1fr 1fr; } .world > div { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 22px; } }

/* ---------- APPS ---------- */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.app { position: relative; display: grid; gap: 14px; padding: clamp(28px, 3.4vw, 44px); border-radius: 24px; text-decoration: none; color: var(--on-wine); overflow: hidden; min-height: 300px; align-content: end; isolation: isolate; }
.app::before { content: ""; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.app::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(67, 6, 63, .05) 0%, rgba(43, 6, 40, .88) 75%); }
.app:hover::before { transform: scale(1.06); }
.app--soul::before { background-image: url("img/card-pass-forward.jpg"); }
.app--love::before { background-image: url("img/deck-love.jpg"); background-position: center 30%; }
.app h3 { color: var(--on-wine); font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.app p { color: rgba(251, 243, 251, .82); max-width: 40ch; }
.app .url { font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .14em; color: var(--gold); }
.app .label { color: var(--gold); }
@media (max-width: 760px) { .apps { grid-template-columns: 1fr; } }

/* ---------- COMMUNITIES ---------- */
.circles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.circle { position: relative; display: grid; gap: 14px; align-content: start; padding: 34px 28px 30px; border-radius: 200px 200px 22px 22px; background: rgba(251, 243, 251, .06); border: 1px solid rgba(222, 194, 35, .28); transition: transform .6s var(--ease), background .4s; }
.circle:hover { transform: translateY(-6px); background: rgba(251, 243, 251, .1); }
.circle .glyph { font-family: var(--f-deva); font-size: 3rem; line-height: 1; color: var(--gold); text-align: center; padding-top: 18px; }
.circle h3 { font-size: 1.75rem; text-align: center; }
.circle .when { text-align: center; font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.circle p { font-size: var(--s-sm); color: rgba(251, 243, 251, .76); text-align: center; }
.circle .btn { justify-self: center; margin-top: 6px; }
@media (max-width: 900px) { .circles { grid-template-columns: 1fr; } .circle { border-radius: 120px 120px 22px 22px; } }

/* ---------- BOOKS ---------- */
.books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.book { display: grid; gap: 14px; align-content: start; text-decoration: none; color: var(--ink); }
.book .cover { aspect-ratio: 3 / 4.4; border-radius: 4px 12px 12px 4px; padding: 26px 22px; display: grid; align-content: space-between; color: var(--on-wine); box-shadow: inset 10px 0 18px -10px rgba(0, 0, 0, .45), 0 26px 40px -24px rgba(67, 6, 63, .55); transition: transform .7s var(--ease); position: relative; overflow: hidden; }
.book:hover .cover { transform: translateY(-8px) rotate(-1.5deg); }
.book .cover .t { font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.1; }
.book .cover .a { font-family: var(--f-label); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.book .cover svg { position: absolute; right: -30%; bottom: -18%; width: 90%; opacity: .25; }
.book:nth-child(1) .cover { background: linear-gradient(160deg, #7A1680, #43063F); }
.book:nth-child(2) .cover { background: linear-gradient(160deg, #24305E, #121838); }
.book:nth-child(3) .cover { background: linear-gradient(160deg, #6B1414, #2B0606); }
.book h3 { font-size: 1.3rem; }
.book p { font-size: var(--s-sm); color: var(--muted); }
@media (max-width: 760px) { .books { grid-template-columns: 1fr; max-width: 360px; } }

/* ---------- FOUNDER TEASER ---------- */
.founder-teaser { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.portrait { position: relative; }
.portrait img { border-radius: 260px 260px 24px 24px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.portrait::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: 260px 260px 24px 24px; border: 1px solid var(--gold); z-index: -1; }
.founder-copy { display: grid; gap: 22px; min-width: 0; }
.founder-copy h2 { font-size: var(--s-2xl); }
.founder-copy blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.35; color: var(--wine); border-left: 2px solid var(--gold); padding-left: 22px; }
@media (max-width: 900px) { .founder-teaser { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

/* ---------- PARTNER CTA ---------- */
.partner-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.partner-strip > div { padding: 26px 22px 26px 0; display: grid; gap: 8px; align-content: start; }
.partner-strip h3 { font-size: 1.35rem; }
.partner-strip p { font-size: var(--s-sm); color: var(--muted); }
@media (max-width: 900px) { .partner-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .partner-strip { grid-template-columns: 1fr; } }

/* ---------- INSIGHTS ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.post { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--ink); text-decoration: none; color: var(--ink); }
.post h3 { font-size: 1.45rem; line-height: 1.2; transition: color .3s; }
.post:hover h3 { color: var(--wine); }
.post p { font-size: var(--s-sm); color: var(--muted); }
.post .label { color: var(--muted); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.site-foot { background: var(--wine-deep); color: rgba(251, 243, 251, .78); padding-block: 80px 40px; font-size: var(--s-sm); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; }
.site-foot h4 { font-family: var(--f-label); font-weight: 400; font-size: var(--s-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.site-foot a { color: rgba(251, 243, 251, .86); text-decoration: none; display: block; padding-block: 4px; }
.site-foot a:hover { color: var(--gold); }
.site-foot .mark { color: var(--on-wine); }
.site-foot .mark b { color: var(--on-wine); }
.foot-tag { font-family: var(--f-display); font-size: 1.5rem; color: var(--on-wine); margin-top: 18px; max-width: 18ch; line-height: 1.2; }
.foot-legal { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(251, 243, 251, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--s-xs); color: rgba(251, 243, 251, .55); }
.selectable { user-select: all; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- INNER PAGES ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); }
.page-hero h1 { font-size: var(--s-hero); }
.page-hero h1 em { font-style: italic; color: var(--wine); }
.page-hero .lede { margin-top: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 20px; max-width: 64ch; }
.prose p { color: var(--ink); }
.prose p.muted { color: var(--muted); }

/* timeline on founder page */
.timeline { display: grid; gap: 0; border-left: 1px solid var(--line); margin-left: 8px; }
.tl { position: relative; padding: 0 0 40px 34px; display: grid; gap: 6px; }
.tl::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--ground); }
.tl .yr { font-family: var(--f-display); font-size: 1.9rem; color: var(--wine); line-height: 1; }
.tl h3 { font-size: 1.3rem; font-family: var(--f-body); font-weight: 600; }
.tl p { color: var(--muted); font-size: var(--s-sm); max-width: 54ch; }

.lineage { display: flex; flex-wrap: wrap; gap: 10px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 26px 20px 26px 0; display: grid; gap: 6px; }
.facts .n { font-family: var(--f-display); font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: var(--wine); line-height: 1; }
.facts p { color: var(--muted); font-size: var(--s-sm); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }

/* tiers & programmes */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.tier { display: grid; gap: 14px; align-content: start; padding: 32px 28px; border-radius: 22px; background: var(--ground); border: 1px solid var(--line); }
.tier--feature { background: var(--wine-deep); color: var(--on-wine); border-color: transparent; }
.tier--feature h3 { color: var(--on-wine); }
.tier--feature p, .tier--feature li { color: rgba(251, 243, 251, .8); }
.tier--feature .label { color: var(--gold); }
.tier h3 { font-size: 1.7rem; }
.tier ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: var(--s-sm); color: var(--muted); }
.tier .price { font-size: 1.5rem; }
.tier--feature .price { color: var(--on-wine); }
.tier--feature .price small { color: rgba(251, 243, 251, .7); }
.tier .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

.calendar { display: grid; border-top: 1px solid var(--ink); }
.cal-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding-block: 24px; border-bottom: 1px solid var(--line); }
.cal-row .d { font-family: var(--f-display); font-size: 1.35rem; color: var(--wine); }
.cal-row h3 { font-size: 1.35rem; font-family: var(--f-body); font-weight: 600; }
.cal-row p { color: var(--muted); font-size: var(--s-sm); }
@media (max-width: 760px) { .cal-row { grid-template-columns: 1fr; gap: 8px; } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.step { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.step .k { font-family: var(--f-display); font-size: 2.6rem; color: var(--gold-ink); line-height: 1; }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--muted); font-size: var(--s-sm); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.earn { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.earn th, .earn td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.earn th { font-family: var(--f-label); font-weight: 400; font-size: var(--s-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.earn td strong { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; color: var(--wine); }
.table-scroll { overflow-x: auto; }

.contact-card { display: grid; gap: 14px; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--mist); border: 1px solid var(--line); }
.contact-card .email { font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--wine); word-break: break-all; }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toast { font-size: var(--s-sm); color: var(--gold-ink); min-height: 1.4em; }

.note-placeholder { font-size: var(--s-xs); color: var(--muted); font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- LIVING MARBLE ---------- */
.marble { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; }
.hero { background: linear-gradient(135deg, #FBF6FC 0%, #F1E6F2 55%, #F8F0DA 100%); }
.hero .marble { opacity: .95; }
.hero-grid, .energy-pin { position: relative; z-index: 1; }

/* ---------- ENERGY SCROLL ---------- */
.energy { position: relative; overflow: hidden; background: linear-gradient(160deg, #EEF3EA, #F6EFF7); }
.energy-pin { min-height: 100vh; display: grid; align-items: center; padding-block: clamp(60px, 8vw, 100px); }
.energy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; width: 100%; }
.energy-copy { display: grid; gap: 22px; min-width: 0; }
.energy-copy h2 { font-size: var(--s-xl); }
.energy-copy h2 em { font-style: italic; color: var(--wine); }
.energy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: e; }
.energy-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--s-sm); color: var(--muted); transition: color .5s, padding .5s var(--ease); }
.energy-list li b { font-family: var(--f-label); font-weight: 400; font-size: var(--s-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); opacity: .55; transition: opacity .5s; }
.energy-list li.is-active { color: var(--ink); padding-left: 14px; }
.energy-list li.is-active b { opacity: 1; }
.energy-stage { position: relative; width: min(340px, 70vw); aspect-ratio: 2 / 3; justify-self: center; perspective: 1600px; }
.energy-card { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 50px 80px -30px rgba(43, 6, 40, .55), 0 0 0 1px rgba(222, 194, 35, .5), 0 0 80px -10px rgba(222, 194, 35, .35); transform-origin: 50% 60%; backface-visibility: hidden; }
.energy-card img { width: 100%; height: 100%; object-fit: cover; }
.energy-card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(222, 194, 35, .6); border-radius: 12px; }
.energy-card:not([data-k="0"]) { visibility: hidden; }
.js .energy-card:not([data-k="0"]) { visibility: visible; }
.energy-word { display: grid; gap: 14px; min-width: 0; }
.energy-word span { font-family: var(--f-display); font-style: italic; font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 1; color: var(--wine); }
.energy-word small { font-size: var(--s-md); color: var(--muted); max-width: 30ch; line-height: 1.55; }
@media (max-width: 900px) {
  .energy-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .energy-list { display: none; }
  .energy-stage { width: min(230px, 56vw); order: 2; }
  .energy-copy { order: 1; }
  .energy-word { order: 3; justify-items: center; }
  .energy-word span { font-size: clamp(2.4rem, 11vw, 3.4rem); }
}

.rail-viewport { overflow: hidden; }
@media (max-width: 900px) { .rail-viewport { overflow: visible; } }
.portrait { isolation: isolate; }
.wa-note { font-size: var(--s-xs); color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .altar { padding-top: 12px; }
  .deck { width: min(240px, 62vw); }
  .energy-copy { position: relative; z-index: 30; }
}

/* ---------- PEDESTAL + 3D DECK MODEL ---------- */
.altar-halo { width: min(560px, 100%); }
.deck-panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.deck-panel .stage { aspect-ratio: auto; min-height: 460px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; place-items: initial; padding: 20px 24px 20px 8px;
  background: radial-gradient(ellipse at 40% 78%, rgba(222, 194, 35, .20), transparent 55%), radial-gradient(circle at 40% 35%, #FFFFFF 0%, var(--mist) 70%); overflow: visible; }
.scene { position: relative; height: 420px; display: grid; justify-items: center; align-items: end; perspective: 1100px; perspective-origin: 50% 20%; cursor: grab; touch-action: pan-y; user-select: none; }
.scene:active { cursor: grabbing; }
.pedestal { position: relative; width: 250px; height: 92px; margin-bottom: 8px; filter: drop-shadow(0 26px 22px rgba(67, 6, 63, .22)); }
.pedestal::before { content: ""; position: absolute; left: 0; right: 0; top: 24px; bottom: 0; background: linear-gradient(90deg, #E2D6E4 0%, #FFFFFF 38%, #F7F1F8 62%, #DCCDDF 100%); border-radius: 0 0 50% 50% / 0 0 26px 26px; }
.pedestal::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 52px; border-radius: 50%; background: radial-gradient(ellipse at 45% 40%, #FFFFFF 0%, #F6F0F7 55%, #EBE0EC 100%); box-shadow: inset 0 0 0 1px rgba(201, 164, 58, .55), inset 0 -6px 14px rgba(104, 12, 108, .08); }
.model { --w: 168px; --h: 252px; --d: 30px; position: absolute; left: 50%; bottom: 72px; width: var(--w); height: var(--h); margin-left: calc(var(--w) / -2); transform-style: preserve-3d; transform: rotateX(-8deg) rotateY(-28deg); }
.model.m-thick { --d: 36px; }
.model.m-box { --w: 160px; --h: 248px; --d: 44px; }
.model .face { position: absolute; backface-visibility: hidden; }
.f-front, .f-back { inset: 0; border-radius: 7px; overflow: hidden; }
.f-front { transform: translateZ(calc(var(--d) / 2)); box-shadow: inset 0 0 0 1px rgba(222, 194, 35, .7); }
.f-front img { width: 100%; height: 100%; object-fit: cover; }
.f-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.28) 50%, rgba(255,255,255,0) 62%); pointer-events: none; }
.f-back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: radial-gradient(circle at 50% 45%, #7A1680, #43063F 70%); display: grid; place-items: center; }
.f-back svg { width: 100%; height: 100%; }
.f-right, .f-left { width: var(--d); height: calc(var(--h) - 4px); top: 2px; left: calc(50% - var(--d) / 2);
  background: repeating-linear-gradient(90deg, #F3ECDD 0 1.6px, #C9A43A 1.6px 2.2px); }
.f-right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 2px)); }
.f-left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2 - 2px)); }
.f-top, .f-bottom { width: calc(var(--w) - 4px); height: var(--d); left: 2px; top: calc(50% - var(--d) / 2);
  background: repeating-linear-gradient(0deg, #F3ECDD 0 1.6px, #C9A43A 1.6px 2.2px); }
.f-top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 2px)); }
.f-bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 - 2px)); }
.m-box .f-right, .m-box .f-left, .m-box .f-top, .m-box .f-bottom { background: linear-gradient(90deg, #4A0A33, #6E1446 50%, #4A0A33); box-shadow: inset 0 0 0 1px rgba(222, 194, 35, .45); }
.model .drawn { border-radius: 0; }

/* curved options */
.arc { position: relative; display: grid; gap: 14px; align-content: center; padding-left: 10px; min-width: 0; }
.arc-line { position: absolute; left: -14px; top: 0; height: 100%; width: 60px; pointer-events: none; }
.arc a { position: relative; display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); color: var(--wine); text-decoration: none; font-size: var(--s-sm); line-height: 1.25; max-width: 15em; box-shadow: 0 8px 20px -14px rgba(67, 6, 63, .5); transition: transform .5s var(--ease), background .3s, color .3s; }
.arc a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 0 3px rgba(222, 194, 35, .25); }
.arc a:nth-of-type(1) { margin-left: 0; }
.arc a:nth-of-type(2) { margin-left: 26px; }
.arc a:nth-of-type(3) { margin-left: 26px; }
.arc a:nth-of-type(4) { margin-left: 0; }
.arc a:hover { transform: translateX(6px); background: var(--wine); color: var(--on-wine); }
.arc a.arc-seal { background: var(--gold); border-color: transparent; color: var(--wine-deep); font-weight: 600; }
.arc a.arc-seal:hover { background: var(--wine); color: var(--on-wine); }
@media (max-width: 1100px) and (min-width: 901px) { .deck-panel { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .arc a { font-size: var(--s-xs); } }
@media (max-width: 900px) {
  .deck-panel .stage { grid-template-columns: 1fr; min-height: 0; padding: 16px; }
  .scene { height: 380px; }
  .arc { padding: 0; grid-template-columns: 1fr 1fr; gap: 8px; }
  .arc-line { display: none; }
  .arc a, .arc a:nth-of-type(n) { margin-left: 0; justify-self: stretch; justify-content: flex-start; font-size: var(--s-xs); }
}
@media (max-width: 900px) { .deck-panel { grid-template-columns: 1fr; } }
.rail-viewport { position: relative; }
.rail { padding-block: 24px 56px; }
.collection-intro .section-head { margin-bottom: 24px; }
.rail-progress { bottom: 26px; }

/* real product photos + combo */
.deck-photo { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 7; border: 1px solid var(--line); }
.deck-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.deck-panel:hover .deck-photo img { transform: scale(1.05); }
.combo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.combo-img { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(43, 6, 40, .6); }
.combo-img img { width: 100%; }
@media (max-width: 900px) { .combo { grid-template-columns: 1fr; } }
.circle-photo { margin: 0 0 clamp(28px, 4vw, 48px); border-radius: 22px; overflow: hidden; position: relative; border: 1px solid rgba(222, 194, 35, .3); }
.circle-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.circle-photo figcaption { position: absolute; left: 18px; bottom: 14px; font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--on-wine); background: rgba(43, 6, 40, .7); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 640px) { .circle-photo img { aspect-ratio: 4 / 3; } }
.app--soul::before { background-image: url("img/ah-green-goddess.jpg"); background-position: center 25%; }
.app--love::before { background-image: url("img/love-rivals.jpg"); background-position: center 30%; }
.energy-word .label { color: var(--gold-ink); }
@media (min-width: 901px) {
  .deck-photo { aspect-ratio: 16 / 5; }
  .deck-info { gap: 12px; }
  .deck-info h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
  .deck-panel { padding-block: clamp(20px, 2.6vw, 36px); }
  .deck-panel .stage { min-height: 430px; }
  .scene { height: 400px; }
}

/* ===== CLEAN DECK GALLERY ===== */
.deck-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: clamp(28px, 4vw, 48px); scrollbar-width: none; }
.deck-tabs::-webkit-scrollbar { display: none; }
.deck-tab { flex: 1 0 auto; min-width: 168px; display: grid; gap: 2px; text-align: left; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .55); color: var(--ink); cursor: pointer; font: inherit; transition: background .35s, color .35s, border-color .35s, transform .4s var(--ease); }
.deck-tab b { font-weight: 600; font-size: var(--s-sm); line-height: 1.3; }
.deck-tab small { font-family: var(--f-label); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.deck-tab:hover { transform: translateY(-2px); border-color: rgba(104, 12, 108, .35); }
.deck-tab.is-active { background: var(--wine-deep); border-color: var(--wine-deep); color: var(--on-wine); }
.deck-tab.is-active small { color: var(--gold); }
.deck-stage { background: var(--ground); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3.5vw, 48px); }
.deck-view { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.altar2 { position: relative; height: 470px; display: grid; justify-items: center; align-items: end; border-radius: 22px;
  background: radial-gradient(ellipse at 50% 85%, rgba(222, 194, 35, .22), transparent 55%), radial-gradient(circle at 50% 35%, #FFFFFF 0%, var(--mist) 75%); overflow: hidden; }
.altar2 .pedestal { width: 330px; margin-bottom: 18px; z-index: 0; }
.fan { position: absolute; left: 0; right: 0; bottom: 74px; height: 380px; z-index: 1; }
.fcard { position: absolute; bottom: 0; left: 50%; height: 330px; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 100%; border-radius: 12px; -webkit-tap-highlight-color: transparent; }
.fcard img { height: 100%; width: auto; max-width: none; border-radius: 12px; box-shadow: 0 26px 40px -22px rgba(43, 6, 40, .6), 0 0 0 1px rgba(201, 164, 58, .45); }
.fcard--0 { z-index: 3; transform: translateX(-50%); }
.fcard--1 { z-index: 2; height: 290px; transform: translateX(calc(-50% - 132px)) rotate(-9deg); }
.fcard--2 { z-index: 2; height: 290px; transform: translateX(calc(-50% + 132px)) rotate(9deg); }
.fcard:focus-visible { outline-offset: 6px; }
.deck-copy { display: grid; gap: 16px; min-width: 0; align-content: center; }
.deck-copy h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.deck-tag { font-family: var(--f-display); font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.4; color: var(--wine); max-width: 30ch; }
.deck-hint { font-size: var(--s-sm); color: var(--muted); }
.deck-hint::before { content: "✦ "; color: var(--gold-ink); }
.deck-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.deck-more { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: var(--s-sm); color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.deck-more a { color: var(--wine); text-underline-offset: 3px; }
@media (max-width: 900px) {
  .deck-view { grid-template-columns: 1fr; }
  .altar2 { height: 380px; }
  .fan { bottom: 62px; height: 300px; }
  .fcard { height: 250px; }
  .fcard--1, .fcard--2 { height: 210px; }
  .fcard--1 { transform: translateX(calc(-50% - 92px)) rotate(-9deg); }
  .fcard--2 { transform: translateX(calc(-50% + 92px)) rotate(9deg); }
  .altar2 .pedestal { width: 260px; }
  .deck-tab { min-width: 150px; }
}

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lb-backdrop { position: absolute; inset: 0; background: rgba(43, 6, 40, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lb-inner { position: relative; width: min(920px, 100%); max-height: 100%; overflow: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--ground); border-radius: 26px; padding: clamp(20px, 4vw, 44px); box-shadow: 0 40px 100px -30px rgba(43, 6, 40, .7); }
.lb-card img { height: min(62vh, 520px); width: auto; border-radius: 14px; box-shadow: 0 30px 50px -26px rgba(43, 6, 40, .7), 0 0 0 1px rgba(201, 164, 58, .5); }
.lb-copy { display: grid; gap: 14px; }
.lb-copy h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.lb-copy p:not(.label) { font-size: var(--s-lg); line-height: 1.55; color: var(--ink); }
.lb-copy .btn { justify-self: start; }
.lb-close { position: absolute; top: 14px; right: 14px; border: 1px solid var(--line); background: var(--ground); color: var(--wine); border-radius: 999px; padding: 8px 14px; font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 700px) {
  .lb-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 56px; }
  .lb-card img { height: min(46vh, 380px); }
  .lb-copy .btn { justify-self: center; }
}

/* practitioner → trainer ladder */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; position: relative; }
.rung { display: grid; gap: 10px; align-content: start; padding: 26px 22px; border-radius: 20px; background: rgba(251, 243, 251, .06); border: 1px solid rgba(222, 194, 35, .28); }
.rung:nth-child(1) { min-height: 230px; }
.rung:nth-child(2) { min-height: 270px; }
.rung:nth-child(3) { min-height: 310px; }
.rung:nth-child(4) { min-height: 350px; background: rgba(222, 194, 35, .12); border-color: rgba(222, 194, 35, .6); }
.rung .k { font-family: var(--f-display); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.rung h3 { font-size: 1.6rem; color: var(--on-wine); }
.rung p { font-size: var(--s-sm); color: rgba(251, 243, 251, .8); }
.rung .earn { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(222, 194, 35, .25); font-family: var(--f-label); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) { .ladder { grid-template-columns: 1fr 1fr; } .rung:nth-child(n) { min-height: 0; } }
@media (max-width: 520px) { .ladder { grid-template-columns: 1fr; } }

/* Maa Taara */
.taara-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.taara-img { margin: 0; border-radius: 240px 240px 24px 24px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(15, 90, 58, .6); }
.taara-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.taara blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; color: var(--wine); border-left: 2px solid var(--gold); padding-left: 20px; }
.seva { display: grid; grid-template-columns: 72px 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--mist); }
.seva img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.seva p { font-size: var(--s-sm); color: var(--muted); }
.seva strong { color: var(--ink); }
@media (max-width: 900px) { .taara-grid { grid-template-columns: 1fr; } .taara-img { max-width: 420px; } }
@media (min-width: 901px) { .deck-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; } .deck-tab { min-width: 0; } }
.fcard--1 { transform: translateX(calc(-50% - 118px)) rotate(-8deg); height: 280px; }
.fcard--2 { transform: translateX(calc(-50% + 118px)) rotate(8deg); height: 280px; }
.rung { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 900px) {
  .fcard { height: 240px; }
  .fcard--1, .fcard--2 { height: 190px; }
  .fcard--1 { transform: translateX(calc(-50% - 74px)) rotate(-8deg); }
  .fcard--2 { transform: translateX(calc(-50% + 74px)) rotate(8deg); }
}

/* ======================= ROUND 4 ======================= */
html { overflow-x: clip; }
.wine { color: var(--wine); }
.muted { color: var(--muted); }
.small { font-size: var(--s-sm); }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head.center .lede { margin-inline: auto; }

/* header logo + dropdowns */
.mark img { width: 40px; height: auto; flex: none; }
.dd { position: relative; }
.dd-btn { font: inherit; font-size: var(--s-sm); color: var(--ink); background: none; border: 0; padding: 6px 18px 6px 0; cursor: pointer; position: relative; }
.dd-btn::after { content: ""; position: absolute; right: 2px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--wine); border-bottom: 1.5px solid var(--wine); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.dd-panel { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 290px; display: grid; padding: 10px; border-radius: 18px; background: var(--ground); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(43, 6, 40, .45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .3s var(--ease); z-index: 60; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dd-panel a { padding: 10px 12px !important; border-radius: 10px; font-size: var(--s-sm); }
.dd-panel a::after { display: none; }
.dd-panel a:hover { background: var(--mist); color: var(--wine); }
.dd-panel a.dd-all { font-weight: 600; color: var(--wine); }
@media (min-width: 901px) {
  .dd:hover .dd-panel, .dd:focus-within .dd-panel, .dd.is-open .dd-panel { opacity: 1; visibility: visible; transform: none; }
  .dd:hover .dd-btn::after, .dd.is-open .dd-btn::after { transform: translateY(-30%) rotate(225deg); }
}
@media (max-width: 900px) {
  .nav { max-height: calc(100vh - 80px); overflow-y: auto; }
  .dd-btn { width: 100%; text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--s-md); }
  .dd-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; display: none; background: transparent; }
  .dd.is-open .dd-panel { display: grid; }
}

/* energy: no pinning */
.energy { padding-block: clamp(64px, 9vw, 120px); }
.energy .energy-grid { position: relative; z-index: 1; }
.energy-card { visibility: visible !important; }
.energy-list li { padding: 0; display: block; }
.energy-list button { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-size: var(--s-sm); color: var(--muted); text-align: left; cursor: pointer; transition: color .4s, padding .5s var(--ease); }
.energy-list button b { font-family: var(--f-label); font-weight: 400; font-size: var(--s-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); opacity: .55; }
.energy-list button.is-active { color: var(--ink); padding-left: 14px; }
.energy-list button.is-active b { opacity: 1; }
.energy-list button:hover { color: var(--wine); }
@media (max-width: 900px) { .energy-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; } .energy-list button { justify-content: center; padding: 8px 0; } .energy-list button span { display: none; } .energy-list button b { font-size: .58rem; letter-spacing: .08em; } }

/* apps: 4 */
.apps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.app::before { display: none; }
.app .app-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.app:hover .app-bg { transform: scale(1.06); }
.app { min-height: 360px; }
.app.is-soon { opacity: .85; }
.app.is-soon .url { color: rgba(251, 243, 251, .7); }
.btn.is-soon { opacity: .6; cursor: default; }
@media (max-width: 1100px) { .apps--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .apps--4 { grid-template-columns: 1fr; } .app { min-height: 300px; } }

/* books */
.books-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.books-photo { margin: 0; border-radius: 24px; overflow: hidden; }
.books-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.booklist { display: grid; gap: 14px; }
.bk { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; align-items: center; padding: 14px; border-radius: 18px; background: var(--ground); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .5s var(--ease), border-color .3s; }
.bk:hover { transform: translateX(6px); border-color: rgba(104, 12, 108, .35); }
.bk b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.bk small { display: block; color: var(--muted); font-size: var(--s-sm); margin-top: 4px; }
.bk-cover { width: 84px; aspect-ratio: 2 / 3; border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: inset 6px 0 10px -6px rgba(0,0,0,.5), 0 14px 22px -14px rgba(43, 6, 40, .7); display: grid; place-items: center; }
.bk-cover img { width: 100%; height: 100%; object-fit: cover; }
.bk-cover--made { background: linear-gradient(160deg, #7A1680, #2B0628); padding: 8px; text-align: center; }
.bk-cover--red { background: linear-gradient(160deg, #7A1414, #240505); }
.bk-cover--made i { font-family: var(--f-display); font-style: normal; font-size: .78rem; line-height: 1.15; color: #F2DF7A; }
@media (max-width: 900px) { .books-wrap { grid-template-columns: 1fr; } .books-photo { max-width: 420px; } }

/* home founder band */
.fb-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.fb-photos { position: relative; height: 520px; }
.fb-photos img { position: absolute; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 50px -30px rgba(43, 6, 40, .6); }
.fb-photos .p1 { left: 0; top: 0; width: 46%; height: 78%; }
.fb-photos .p2 { right: 0; top: 8%; width: 50%; height: 44%; }
.fb-photos .p3 { right: 10%; bottom: 0; width: 34%; height: 46%; border: 6px solid var(--ground); }
.fb-name { font-size: clamp(3rem, 7vw, 6rem); line-height: .95; }
.fb-roles { font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
@media (max-width: 900px) { .fb-grid { grid-template-columns: 1fr; } .fb-photos { height: 400px; } }

/* ---------- deck pages ---------- */
.deck-hero { padding-block: clamp(48px, 7vw, 96px); }
.dh-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.dh-title { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1; }
.dh-links { font-size: var(--s-sm); color: var(--muted); }
.dh-links a { color: var(--wine); }
.deck-hero .label a { color: inherit; text-decoration: none; }
.fan5 { position: relative; height: 470px; }
.f5 { position: absolute; left: 50%; bottom: 20px; width: 190px; aspect-ratio: 2 / 3.05; transform-origin: 50% 110%; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 50px -26px rgba(43, 6, 40, .6), 0 0 0 1px rgba(201, 164, 58, .5); }
.f5 img { width: 100%; height: 100%; object-fit: cover; }
.f5--0 { z-index: 5; transform: translateX(-50%) rotate(0deg) translateY(-20px); }
.f5--1 { z-index: 4; transform: translateX(-50%) rotate(-12deg); }
.f5--2 { z-index: 4; transform: translateX(-50%) rotate(12deg); }
.f5--3 { z-index: 3; transform: translateX(-50%) rotate(-24deg); }
.f5--4 { z-index: 3; transform: translateX(-50%) rotate(24deg); }
@media (max-width: 900px) { .dh-grid { grid-template-columns: 1fr; } .fan5 { height: 360px; } .f5 { width: 150px; } }

.draw { background: radial-gradient(ellipse at 50% 30%, #FFFFFF, var(--ground) 70%); }
.spread { display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 18px); flex-wrap: wrap; perspective: 1400px; margin-top: 8px; min-height: 260px; }
.dcard { position: relative; width: clamp(92px, 11vw, 150px); aspect-ratio: 2 / 3.05; border: 0; padding: 0; background: none; cursor: pointer; transform-style: preserve-3d; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
.dface { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 18px 30px -18px rgba(43, 6, 40, .65), 0 0 0 1px rgba(201, 164, 58, .5); }
.dface img { width: 100%; height: 100%; object-fit: cover; }
.dface--front { transform: rotateY(180deg); }
html:not(.has-gsap) .dcard.is-flipped { transform: rotateY(180deg); }
.dcard:not(.is-flipped):hover .dface--back { box-shadow: 0 26px 40px -18px rgba(43, 6, 40, .7), 0 0 0 2px rgba(222, 194, 35, .9); }
.dcard.is-dim { opacity: .35; }
.cback { display: grid; place-items: center; width: 100%; height: 100%; }
.cback svg { width: 86%; height: 86%; }
.cback--mk { background: radial-gradient(circle at 50% 45%, #2B2A7A, #0E0B33 75%); }
.cback--dm { background: radial-gradient(circle at 50% 45%, #1F6A5C, #08251F 75%); }
.cback--th { background: radial-gradient(circle at 50% 45%, #7A4A12, #2A1404 75%); }
.draw-bar { display: flex; justify-content: center; gap: 12px; align-items: center; margin-top: 28px; }
.draw-reading { max-width: 620px; margin: 36px auto 0; text-align: center; display: grid; gap: 12px; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--ground); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(43, 6, 40, .5); }
.draw-reading h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.draw-reading p:not(.label) { font-size: var(--s-lg); line-height: 1.5; }
.lb-aff { font-family: var(--f-display); font-style: italic; color: var(--wine); font-size: 1.15rem !important; }
.lb-aff:empty { display: none; }

.wall-band { overflow: hidden; }
.wall { display: grid; gap: 18px; }
.wall-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wall-track { display: flex; gap: 16px; width: max-content; animation: drift 70s linear infinite; }
.wall-row--rev .wall-track { animation-direction: reverse; animation-duration: 80s; }
.wall:hover .wall-track { animation-play-state: paused; }
.wcard { flex: none; width: 150px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 26px -18px rgba(43, 6, 40, .6); transition: transform .5s var(--ease); }
.wcard img { width: 100%; aspect-ratio: 2 / 3.05; object-fit: cover; display: block; }
.wcard:hover { transform: translateY(-8px); }
.uses { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.uses li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: var(--s-lg); line-height: 1.45; }
.uses .k { font-family: var(--f-display); color: var(--gold-ink); }
.uses a { color: var(--wine); }
.next-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
@media (max-width: 900px) { .next-grid { grid-template-columns: 1fr; } }

/* trainings */
.t-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.t-jump a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--wine); text-decoration: none; font-size: var(--s-sm); }
.t-jump a:hover { background: var(--wine); color: var(--on-wine); }
.tr-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.tr-row--rev .tr-img { order: 2; }
.tr-img { margin: 0; position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 70px -44px rgba(43, 6, 40, .6); }
.tr-img img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.tr-copy { display: grid; gap: 16px; min-width: 0; }
.tr-copy h2 { font-size: var(--s-xl); }
.band--wine .tr-copy p { color: rgba(251, 243, 251, .82); }
.facts-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.facts-list li { padding-left: 22px; position: relative; font-size: var(--s-md); }
.facts-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-ink); font-size: .8em; top: .2em; }
.band--wine .facts-list li { color: rgba(251, 243, 251, .9); }
.band--wine .facts-list li::before { color: var(--gold); }
.tr-copy .btn { justify-self: start; }
.skool-badge { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 8px 16px; border-radius: 12px; background: #FFFFFF; color: #1F1F1F; font-family: var(--f-body); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; box-shadow: 0 10px 20px -10px rgba(0,0,0,.4); }
@media (max-width: 900px) { .tr-row { grid-template-columns: 1fr; } .tr-row--rev .tr-img { order: 0; } .tr-img { max-width: 520px; } }

/* vendors */
.v-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.v-filters button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--ground); color: var(--wine); font: inherit; font-size: var(--s-sm); cursor: pointer; }
.v-filters button.is-active { background: var(--wine-deep); color: var(--on-wine); border-color: var(--wine-deep); }
.vtable { width: 100%; border-collapse: collapse; min-width: 760px; }
.vtable th { text-align: left; font-family: var(--f-label); font-weight: 400; font-size: var(--s-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--ink); }
.vtable td { padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: var(--s-sm); }
.vtable td:first-child { font-family: var(--f-display); font-size: 1.2rem; }
.vtable .tag { white-space: nowrap; }

/* faq & policies */
.faq-wrap { display: grid; gap: clamp(32px, 4vw, 48px); max-width: 900px; }
.faq-group h2 { font-size: var(--s-xl); margin-bottom: 14px; }
.faq-group details { border-bottom: 1px solid var(--line); }
.faq-group summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: var(--s-md); }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-family: var(--f-display); font-size: 1.6rem; color: var(--wine); transition: transform .3s; }
.faq-group details[open] summary::after { transform: rotate(45deg); }
.faq-group details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }
.policy-wrap { max-width: 860px; display: grid; gap: 40px; }
.policy-wrap article { display: grid; gap: 12px; scroll-margin-top: 100px; }
.policy-wrap h2 { font-size: var(--s-xl); }
.policy-wrap p { max-width: 72ch; }

/* founder page */
.f-hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 80px); background: linear-gradient(180deg, var(--ground), var(--mist)); }
.f-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.f-hero-copy { display: grid; gap: 22px; min-width: 0; }
.f-name { font-size: clamp(4rem, 11vw, 9.5rem); line-height: .86; letter-spacing: -.03em; display: grid; }
.f-name span:last-child { font-style: italic; color: var(--wine); padding-left: .6em; }
.f-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.f-roles span { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(138, 112, 10, .4); background: rgba(222, 194, 35, .14); font-family: var(--f-label); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.f-mosaic { position: relative; height: 600px; }
.f-mosaic img { position: absolute; object-fit: cover; box-shadow: 0 40px 70px -40px rgba(43, 6, 40, .65); }
.f-mosaic .m1 { left: 0; top: 4%; width: 52%; height: 86%; border-radius: 4px; }
.f-mosaic .m2 { right: 0; top: 0; width: 44%; height: 50%; border-radius: 4px; }
.f-mosaic .m3 { right: 6%; bottom: 0; width: 40%; height: 44%; border-radius: 4px; border: 8px solid var(--ground); }
.f-strip { background: var(--wine-deep); color: var(--gold); overflow: hidden; padding-block: 16px; }
.f-strip .marquee-track { color: var(--gold); }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 48px); }
.ch { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.ch:nth-child(even) { grid-template-columns: minmax(0, 1fr) 220px; }
.ch:nth-child(even) img { order: 2; }
.ch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.ch-year { font-family: var(--f-display); font-size: clamp(3rem, 7vw, 6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--wine); display: block; }
.ch h3 { font-family: var(--f-body); font-weight: 600; font-size: 1.4rem; margin-top: 8px; }
.ch p { color: var(--muted); max-width: 54ch; margin-top: 8px; }
.lineage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(222, 194, 35, .3); }
.lineage-list li { padding: 16px 0; border-bottom: 1px solid rgba(222, 194, 35, .3); color: var(--on-wine); font-size: var(--s-lg); }
@media (max-width: 900px) {
  .f-hero-grid { grid-template-columns: 1fr; }
  .f-mosaic { height: 440px; }
  .ch, .ch:nth-child(even) { grid-template-columns: 120px minmax(0, 1fr); }
  .ch:nth-child(even) img { order: 0; }
}
.dh-title { font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: 1.02; }
.sound-toggle { font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px; }
@media (max-width: 600px) { .dcard:nth-child(7) { display: none; } .dcard { width: 28%; } }

/* ======================= ROUND 5 ======================= */
/* nav */
.nav { gap: clamp(12px, 1.8vw, 26px); }
.nav .nav-btn { padding: 10px 16px; }
.nav .btn--ghost.nav-btn { border-color: rgba(104, 12, 108, .3); }
.dd-panel a small, .dd-soon small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .02em; margin-top: 2px; }
.dd-soon { padding: 10px 12px; font-size: var(--s-sm); color: var(--muted); opacity: .75; }
@media (max-width: 1180px) and (min-width: 901px) { .dd-btn, .nav > a { font-size: .86rem; } .mark small { display: none; } }

/* softer marble, mandala forward */
.hero .marble { opacity: .32; }
.page-hero .marble { opacity: .4; }
.deck-hero .marble { opacity: .55; }
.energy .marble { opacity: .5; }
.hero::before { content: ""; position: absolute; z-index: 0; width: min(900px, 120vw); aspect-ratio: 1; left: -18%; top: 50%; transform: translateY(-50%); pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23C9A43A' stroke-width='.3'%3E%3Ccircle cx='100' cy='100' r='98'/%3E%3Ccircle cx='100' cy='100' r='86'/%3E%3Ccircle cx='100' cy='100' r='70'/%3E%3Ccircle cx='100' cy='100' r='52'/%3E%3Cpath d='M100 2 185 149H15Z'/%3E%3Cpath d='M100 198 15 51h170Z'/%3E%3Cpath d='M100 30 160 134H40Z'/%3E%3Cpath d='M100 170 40 66h120Z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23680C6C' stroke-width='.25'%3E%3Ccircle cx='100' cy='14' r='12'/%3E%3Ccircle cx='100' cy='186' r='12'/%3E%3Ccircle cx='25.5' cy='57' r='12'/%3E%3Ccircle cx='174.5' cy='57' r='12'/%3E%3Ccircle cx='25.5' cy='143' r='12'/%3E%3Ccircle cx='174.5' cy='143' r='12'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  animation: spin 160s linear infinite; }
.altar-halo { opacity: 1; }
.altar-halo svg { opacity: .9; }
.altar-halo svg g { stroke-width: .5; }

/* gurukul */
.g-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.g-photo { margin: 0; position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -44px rgba(43, 6, 40, .6); }
.g-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 20%; }
.g-photo figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--on-wine); background: rgba(43, 6, 40, .7); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 900px) { .g-hero { grid-template-columns: 1fr; } }
.tier--skool { border-color: rgba(222, 194, 35, .55); background: linear-gradient(180deg, #FFFDF4, var(--ground)); }
.skool-word { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #FFFFFF; color: #1F1F1F; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: .9rem; border: 1px solid var(--line); }
.circle-photo img { object-position: 50% 20%; }

/* path: talk to us */
.talk { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: 22px; border: 1px solid rgba(222, 194, 35, .4); background: rgba(251, 243, 251, .05); }
.talk h3 { color: var(--on-wine); font-size: 1.6rem; margin: 6px 0; }
.talk p:not(.label) { color: rgba(251, 243, 251, .78); max-width: 56ch; }
@media (max-width: 900px) { .talk { grid-template-columns: 1fr; } }

/* books: 3D shelf */
.books-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 72px); align-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.books-head .books-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.book3d-wrap { display: grid; gap: 10px; justify-items: center; text-align: center; text-decoration: none; color: var(--ink); perspective: 1200px; }
.book3d-wrap b { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; line-height: 1.2; margin-top: 18px; }
.book3d-wrap small { color: var(--muted); font-size: var(--s-sm); max-width: 28ch; }
.book3d { position: relative; width: min(200px, 100%); aspect-ratio: 2 / 3; transform-style: preserve-3d; transform: rotateY(-28deg) rotateX(4deg); transition: transform 1s var(--ease); --d: 22px; }
.book3d-wrap:hover .book3d { transform: rotateY(-8deg) rotateX(2deg) translateY(-8px); }
.b-front { position: absolute; inset: 0; transform: translateZ(calc(var(--d) / 2)); border-radius: 2px 6px 6px 2px; overflow: hidden; box-shadow: inset 4px 0 8px -4px rgba(0,0,0,.5); }
.b-front img { width: 100%; height: 100%; object-fit: cover; }
.b-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.0) 40%, rgba(255,255,255,.22) 52%, rgba(255,255,255,0) 62%); }
.b-spine { position: absolute; top: 0; bottom: 0; left: 0; width: var(--d); background: var(--sp, #2B0628); transform: rotateY(-90deg) translateZ(0); transform-origin: left; filter: brightness(.8); }
.b-pages { position: absolute; top: 3px; bottom: 3px; right: 0; width: calc(var(--d) - 4px); background: repeating-linear-gradient(90deg, #FBF8F0 0 2px, #E8E1D2 2px 3px); transform: rotateY(90deg) translateZ(calc(var(--d) / 2 - 2px)); transform-origin: right; }
.book3d::after { content: ""; position: absolute; left: 6%; right: -6%; bottom: -14px; height: 22px; background: radial-gradient(ellipse, rgba(43, 6, 40, .35), transparent 70%); transform: translateZ(-30px); }
@media (max-width: 900px) { .books-head { grid-template-columns: 1fr; } .shelf { grid-template-columns: 1fr 1fr; row-gap: 40px; } .book3d { width: 150px; } }

/* free reading signup */
.signup-band { background: radial-gradient(ellipse at 20% 50%, rgba(222, 194, 35, .18), transparent 55%), var(--ground); }
.signup-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.signup-cards { position: relative; height: 380px; }
.signup-cards img { position: absolute; left: 50%; bottom: 0; width: 170px; border-radius: 10px; box-shadow: 0 30px 50px -26px rgba(43, 6, 40, .6); transform-origin: 50% 110%; }
.signup-cards img:nth-child(1) { transform: translateX(-50%) rotate(-14deg); }
.signup-cards img:nth-child(2) { transform: translateX(-50%) rotate(14deg); }
.signup-cards img:nth-child(3) { transform: translateX(-50%) translateY(-24px); }
.signup-form { display: grid; gap: 14px; max-width: 560px; }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signup-form label { display: grid; gap: 6px; font-size: var(--s-xs); font-family: var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.signup-form input, .signup-form select { font: inherit; font-family: var(--f-body); letter-spacing: 0; text-transform: none; font-size: var(--s-md); color: var(--ink); background: var(--ground); border: 1px solid rgba(104, 12, 108, .25); border-radius: 12px; padding: 12px 14px; }
.signup-form input:focus, .signup-form select:focus { outline: 2px solid var(--wine); outline-offset: 1px; }
.signup-form .btn { justify-self: start; }
.sf-msg { font-size: var(--s-sm); color: var(--wine); min-height: 1.2em; }
.sf-msg a { color: var(--wine); font-weight: 600; }
@media (max-width: 900px) { .signup-grid { grid-template-columns: 1fr; } .signup-cards { height: 300px; } .signup-cards img { width: 130px; } }
@media (max-width: 520px) { .sf-row { grid-template-columns: 1fr; } }
.signup-pop { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.sp-inner { position: relative; width: min(860px, 100%); max-height: 100%; overflow: auto; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: center; background: var(--ground); border-radius: 26px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 40px 100px -30px rgba(43, 6, 40, .7); }
.sp-art { position: relative; height: 300px; }
.sp-art img { position: absolute; left: 50%; bottom: 0; width: 140px; border-radius: 10px; box-shadow: 0 24px 40px -22px rgba(43, 6, 40, .7); transform-origin: 50% 110%; }
.sp-art img:nth-child(1) { transform: translateX(-50%) rotate(-12deg); }
.sp-art img:nth-child(2) { transform: translateX(-50%) rotate(12deg); }
.sp-art img:nth-child(3) { transform: translateX(-50%) translateY(-16px); }
.sp-copy { display: grid; gap: 12px; }
.sp-copy h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.sp-copy h3 em { color: var(--wine); }
@media (max-width: 700px) { .sp-inner { grid-template-columns: 1fr; } .sp-art { height: 190px; } .sp-art img { width: 100px; } }
.hero::before { left: auto; right: -14%; width: min(860px, 110vw); opacity: .32; }
.page-hero::before, .deck-hero::before { right: -20%; opacity: .22; }
.sp-copy, .signup-form, .signup-form label { min-width: 0; }
.signup-form input, .signup-form select { width: 100%; box-sizing: border-box; }
#fr-title { font-size: var(--s-xl); margin: 10px 0 14px; line-height: 1.1; }

/* ======================= ROUND 6 ======================= */
.fb-photos img, .f-mosaic img, .ch img { object-position: 50% 18%; }
.fb-photos .p2 { height: 52%; }
@media (max-width: 900px) { .fb-photos .p1 { width: 52%; } .fb-photos .p2 { width: 46%; height: 48%; } .fb-photos .p3 { width: 40%; } }
.ghl-slot { display: grid; gap: 12px; justify-items: start; }

.up-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.up-copy { display: grid; gap: 18px; min-width: 0; }
.up-copy h2 { font-size: var(--s-2xl); }
.up-copy h2 em { color: var(--gold); }
.up-copy p:not(.label) { color: rgba(251, 243, 251, .82); max-width: 52ch; font-size: var(--s-lg); line-height: 1.55; }
.up-decks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.updeck { margin: 0; display: grid; gap: 22px; justify-items: center; text-align: center; }
.ud-stack { position: relative; width: min(230px, 100%); aspect-ratio: 2 / 2.9; perspective: 1200px; }
.ud-card { position: absolute; inset: 0; border-radius: 12px; transition: transform .9s var(--ease); }
.ud-c3 { background: linear-gradient(160deg, #3A0D45, #1E0524); transform: rotate(9deg) translate(16px, 6px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.7); }
.ud-c2 { background: linear-gradient(160deg, #6B1E5E, #2B0628); transform: rotate(4deg) translate(8px, 2px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.7); border: 1px solid rgba(222, 194, 35, .3); }
.ud-c1 { overflow: hidden; box-shadow: 0 34px 60px -26px rgba(0,0,0,.8), 0 0 0 1px rgba(222, 194, 35, .6), 0 0 60px -10px rgba(222, 194, 35, .35); }
.ud-c1 img { width: 100%; height: 100%; object-fit: cover; }
.ud-c1::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(222, 194, 35, .55); border-radius: 8px; }
.updeck:hover .ud-c3 { transform: rotate(16deg) translate(42px, 10px); }
.updeck:hover .ud-c2 { transform: rotate(8deg) translate(22px, 4px); }
.updeck:hover .ud-c1 { transform: translateY(-10px) rotate(-3deg); }
.updeck figcaption { display: grid; gap: 6px; justify-items: center; }
.updeck b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; color: var(--on-wine); }
.updeck small { color: rgba(251, 243, 251, .7); font-size: var(--s-sm); }
@media (max-width: 900px) { .up-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .up-decks { gap: 14px; } .ud-stack { width: 140px; } .updeck b { font-size: 1.1rem; } }

.updeck .tag--gold { background: rgba(222, 194, 35, .16); color: var(--gold); border-color: rgba(222, 194, 35, .5); }

/* web app tiles: clean card spreads */
.apps--4 { gap: clamp(16px, 2vw, 24px); }
.apptile { display: grid; grid-template-rows: auto 1fr; border-radius: 22px; background: var(--ground); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .3s; }
.apptile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(43, 6, 40, .5); border-color: rgba(104, 12, 108, .3); }
.at-spread { position: relative; height: 230px; background: radial-gradient(ellipse at 50% 90%, rgba(222, 194, 35, .25), transparent 60%), radial-gradient(circle at 50% 40%, #FFFFFF, var(--mist) 80%); overflow: hidden; }
.at-spread img { position: absolute; left: 50%; bottom: -26px; width: 104px; border-radius: 8px; transform-origin: 50% 120%; box-shadow: 0 16px 26px -16px rgba(43, 6, 40, .7), 0 0 0 1px rgba(201, 164, 58, .45); transition: transform .7s var(--ease); }
.at-spread img:nth-child(1) { transform: translateX(-50%) rotate(-16deg); }
.at-spread img:nth-child(2) { transform: translateX(-50%) rotate(16deg); }
.at-spread img:nth-child(3) { transform: translateX(-50%) translateY(-18px); z-index: 2; }
.apptile:hover .at-spread img:nth-child(1) { transform: translateX(-50%) rotate(-26deg); }
.apptile:hover .at-spread img:nth-child(2) { transform: translateX(-50%) rotate(26deg); }
.apptile:hover .at-spread img:nth-child(3) { transform: translateX(-50%) translateY(-30px); }
.at-copy { display: grid; gap: 8px; align-content: start; padding: 22px 22px 24px; }
.at-copy .label { font-size: .68rem; }
.at-copy b { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.at-p { color: var(--muted); font-size: var(--s-sm); }
.at-copy .url { margin-top: 6px; font-family: var(--f-label); font-size: .72rem; letter-spacing: .12em; color: var(--wine); }
.apptile.is-soon { opacity: .8; }
.apptile.is-soon .url { color: var(--muted); }

/* back bar + app buttons */
.backbar { position: sticky; top: calc(72px + env(safe-area-inset-top, 0px)); z-index: 40; background: rgba(252, 249, 253, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.backbar .wrap { display: flex; align-items: center; gap: 14px; min-height: 48px; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; background: var(--wine-deep); color: var(--on-wine); text-decoration: none; font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .14em; text-transform: uppercase; transition: background .3s; }
.back-btn:hover { background: var(--wine); }
.crumb { font-size: var(--s-sm); color: var(--muted); }
.crumb a { color: var(--muted); }
.app-btn { justify-self: start; margin-top: 10px; display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 999px; background: var(--gold); color: var(--wine-deep); font-family: var(--f-label); font-size: var(--s-xs); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 10px 24px -14px rgba(222, 194, 35, .95); transition: transform .4s var(--ease); }
.apptile:hover .app-btn { transform: translateY(-2px); }
.app-btn.is-soon { background: var(--mist); color: var(--muted); box-shadow: none; }
.at-copy .url { margin-top: 2px; color: var(--muted); font-size: .66rem; }

/* keep-me-posted modal (Webgearz form) */
.kmp-inner { grid-template-columns: 1fr; gap: 10px; width: min(560px, 100%); }
.kmp-inner h3 { font-family: var(--f-display); font-size: var(--s-lg, 1.6rem); color: var(--wine); line-height: 1.15; padding-right: 70px; }
.kmp-frame { width: 100%; height: 470px; border: 0; border-radius: 14px; background: #fff; margin-top: 6px; }
.kmp-alt a { color: var(--wine); text-decoration: underline; }

.foot-legal a { display: inline; padding: 0; }
@media (max-width: 1100px) and (min-width: 901px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
