/* The Veiled Key — website. "Gilded Night", as in the app (app/src/theme/tokens.ts):
   candlelit black, gold leaf, oxblood velvet and vellum. Fonts are the app's, self-hosted. */

@font-face { font-family: 'Cormorant SC'; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-sc-500-latin.woff2) format('woff2'); unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2726; }
@font-face { font-family: 'Cormorant SC'; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-sc-500-cyrillic.woff2) format('woff2'); unicode-range: U+0400-052F, U+2116; }
@font-face { font-family: 'Cormorant SC'; font-weight: 600; font-display: swap; src: url(/assets/fonts/cormorant-sc-600-latin.woff2) format('woff2'); unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2726; }
@font-face { font-family: 'Cormorant SC'; font-weight: 600; font-display: swap; src: url(/assets/fonts/cormorant-sc-600-cyrillic.woff2) format('woff2'); unicode-range: U+0400-052F, U+2116; }
@font-face { font-family: 'Cormorant'; font-weight: 600; font-display: swap; src: url(/assets/fonts/cormorant-600-latin.woff2) format('woff2'); unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2726; }
@font-face { font-family: 'Cormorant'; font-weight: 600; font-display: swap; src: url(/assets/fonts/cormorant-600-cyrillic.woff2) format('woff2'); unicode-range: U+0400-052F, U+2116; }
@font-face { font-family: 'Cormorant'; font-weight: 500; font-style: italic; font-display: swap; src: url(/assets/fonts/cormorant-500i-latin.woff2) format('woff2'); unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2726; }
@font-face { font-family: 'Cormorant'; font-weight: 500; font-style: italic; font-display: swap; src: url(/assets/fonts/cormorant-500i-cyrillic.woff2) format('woff2'); unicode-range: U+0400-052F, U+2116; }
@font-face { font-family: 'Lora'; font-weight: 400; font-display: swap; src: url(/assets/fonts/lora-400-latin.woff2) format('woff2'); unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2726; }
@font-face { font-family: 'Lora'; font-weight: 400; font-display: swap; src: url(/assets/fonts/lora-400-cyrillic.woff2) format('woff2'); unicode-range: U+0400-052F, U+2116; }
@font-face { font-family: 'Lora'; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/lora-400i-latin.woff2) format('woff2'); unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2726; }
@font-face { font-family: 'Lora'; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/lora-400i-cyrillic.woff2) format('woff2'); unicode-range: U+0400-052F, U+2116; }
@font-face { font-family: 'Lora'; font-weight: 500; font-display: swap; src: url(/assets/fonts/lora-500-latin.woff2) format('woff2'); unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2726; }
@font-face { font-family: 'Lora'; font-weight: 500; font-display: swap; src: url(/assets/fonts/lora-500-cyrillic.woff2) format('woff2'); unicode-range: U+0400-052F, U+2116; }

:root {
  color-scheme: dark;
  --night: #060508; --ink: #0b0a0f; --ink-raised: #141019; --ink-high: #1e1822;
  --gold-pale: #f4e2b0; --gold-bright: #e6c47c; --gold: #c9a55c; --gold-deep: #9c7b3e; --gold-dim: #6b5428;
  --oxblood: #3e0b10; --crimson: #6e1519; --crimson-bright: #9e2a26; --ember: #ffb45c;
  --vellum: #efe5ce; --vellum-dim: #d2c7ae; --mist: #afa38f; --mist-dim: #8f8577;
  --hair: rgba(201, 165, 92, .28); --hair-strong: rgba(201, 165, 92, .55);
  --caps: 'Cormorant SC', 'Cormorant', Georgia, serif;
  --display: 'Cormorant', Georgia, 'Times New Roman', serif;
  --body: 'Lora', Georgia, 'Times New Roman', serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--night); color: var(--vellum-dim);
  font: 400 clamp(16.5px, 1.05vw + 12px, 18.5px)/1.75 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
/* A faint field of stars behind everything. */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background:
    radial-gradient(1px 1px at 12% 18%, #f4e2b0aa 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 9%, #f4e2b088 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 38% 66%, #e6c47c77 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 52%, #f4e2b066 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 84%, #f4e2b055 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 58% 34%, #e6c47c66 50%, transparent 51%),
    radial-gradient(ellipse at 50% -20%, #2a1512 0%, transparent 60%);
  background-size: 420px 420px, 380px 380px, 520px 520px, 460px 460px, 340px 340px, 600px 600px, 100% 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-decoration-color: rgba(230, 196, 124, .4); text-underline-offset: 3px; }
a:hover { color: var(--gold-pale); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1.1em; }
em { font-style: italic; color: var(--vellum); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; color: var(--gold-pale); line-height: 1.1; letter-spacing: .005em; text-wrap: balance; }
h1 em, h2 em { font-weight: 500; color: var(--gold-bright); }
h3, .h3 { font-family: var(--caps); font-size: 1.32rem; letter-spacing: .06em; color: var(--gold-pale); line-height: 1.25; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink-high); border: 1px solid var(--gold); border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--mist); }
.kicker {
  font-family: var(--caps); font-weight: 600; font-size: 1rem; letter-spacing: .24em; line-height: 1.4;
  color: var(--gold); margin: 0 0 .9rem;
}
.lead { font-size: 1.12em; color: var(--vellum); max-width: 40em; }
.latin { font-family: var(--caps); letter-spacing: .22em; font-size: .86rem; color: var(--gold); margin: .2rem 0 .8rem; }
.heb { font-family: 'SBL Hebrew', 'Frank Ruehl CLM', 'Times New Roman', serif; font-size: 1.15em; color: var(--gold-bright); }

/* Ornamental rule: hairline, crescent, hairline. */
.rule { display: flex; align-items: center; gap: 14px; width: min(280px, 70%); margin: 1.6rem 0; color: var(--gold); }
.rule span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.rule span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.rule svg { width: 14px; height: 14px; flex: none; }
.center .rule, .rule.center { margin-left: auto; margin-right: auto; }

/* ─── buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font: 600 1.05rem/1 var(--caps); letter-spacing: .14em; text-decoration: none; cursor: pointer; transition: .25s var(--ease);
  background: none; border: 1px solid transparent; color: var(--gold-pale);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.primary { background: linear-gradient(#9a2b27, #6e1519 45%, #3c0a0e); border-color: var(--gold); box-shadow: 0 6px 24px rgba(192, 48, 42, .35), inset 0 1px 0 rgba(255, 220, 160, .25); }
.btn.primary:hover { box-shadow: 0 8px 32px rgba(192, 48, 42, .55), inset 0 1px 0 rgba(255, 220, 160, .35); color: #fff7e0; }
.btn.ghost { border-color: var(--gold-deep); color: var(--gold-bright); background: rgba(12, 10, 14, .55); }
.btn.ghost:hover { border-color: var(--gold-bright); color: var(--gold-pale); background: rgba(40, 28, 20, .6); }
.btn.link { padding-left: 8px; padding-right: 8px; color: var(--gold-bright); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 22px 8px 16px; border-radius: 12px;
  background: linear-gradient(#9a2b27, #6e1519 45%, #3c0a0e); border: 1px solid var(--gold); color: var(--gold-pale); text-decoration: none;
  box-shadow: 0 6px 24px rgba(192, 48, 42, .3); font: 600 1.15rem/1.1 var(--caps); letter-spacing: .08em; transition: .25s var(--ease);
}
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font: 400 .7rem/1.2 var(--body); letter-spacing: .08em; color: var(--vellum-dim); text-transform: none; }
a.store:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(192, 48, 42, .5); color: #fff7e0; }
.store.soon { background: rgba(20, 16, 25, .7); border-color: var(--gold-dim); color: var(--gold-bright); box-shadow: none; cursor: default; }
.stores.small .store { min-height: 44px; padding: 6px 16px 6px 12px; font-size: .98rem; }
.stores.small .store svg { width: 20px; height: 20px; }
/* Google's badge PNG carries its own clear space (about 1/8 of its height): pulled in so it lines up with our buttons. */
.store-badge { display: inline-flex; margin: -12px -6px -12px 0; transition: transform .25s var(--ease); }
.store-badge img { height: 80px; width: auto; display: block; }
.store-badge:hover { transform: translateY(-2px); }
.stores.small .store-badge { margin: -10px -4px -10px 0; }
.stores.small .store-badge img { height: 66px; }

/* ─── header ─── */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top); }
.top.scrolled, .top.open { background: rgba(6, 5, 8, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--hair); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1320px; margin: 0 auto; padding: 14px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold-pale); font: 600 1.28rem/1 var(--caps); letter-spacing: .14em; white-space: nowrap; }
.brand .crest { width: 34px; height: 34px; color: var(--gold); transition: transform 1.2s var(--ease); }
.brand:hover .crest { transform: rotate(45deg); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav a { font: 600 1.06rem/1 var(--caps); letter-spacing: .14em; color: var(--vellum-dim); text-decoration: none; padding: 8px 0; position: relative; }
.nav a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--gold); transition: .3s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--gold-pale); }
.nav a:hover::after, .nav a[aria-current]::after { left: 0; right: 0; }
.nav .nav-get { border: 1px solid var(--gold-deep); border-radius: 999px; padding: 10px 18px; color: var(--gold-bright); }
.nav .nav-get::after { display: none; }
.nav .nav-get:hover { border-color: var(--gold-bright); background: rgba(201, 165, 92, .08); }
.menu { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold-dim); background: rgba(12, 10, 14, .6); cursor: pointer; position: relative; }
.menu-lines, .menu-lines::before, .menu-lines::after { position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--gold-bright); transition: .3s var(--ease); content: ''; }
.menu-lines { top: 22px; }
.menu-lines::before { left: 0; top: -6px; }
.menu-lines::after { left: 0; top: 6px; }
.open .menu-lines { background: transparent; }
.open .menu-lines::before { top: 0; transform: rotate(45deg); }
.open .menu-lines::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .menu { display: block; }
  /* A backdrop filter would make the header the containing block of the fixed menu overlay. */
  .top.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 8px;
    background: radial-gradient(ellipse at 50% 30%, #2a1512, var(--night) 70%); opacity: 0; visibility: hidden; transition: .35s var(--ease);
  }
  .open .nav { opacity: 1; visibility: visible; }
  .nav a { font-size: 1.7rem; padding: 14px; }
  .nav .nav-get { margin-top: 18px; font-size: 1.2rem; padding: 14px 28px; }
  .brand span { font-size: 1.12rem; }
}

/* ─── hero ─── */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg picture { display: contents; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: drift 30s ease-in-out infinite alternate; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(6, 5, 8, .96) 0%, rgba(6, 5, 8, .82) 34%, rgba(6, 5, 8, .2) 70%, rgba(6, 5, 8, .35) 100%),
  linear-gradient(0deg, var(--night) 0%, transparent 28%), linear-gradient(180deg, rgba(6, 5, 8, .7) 0%, transparent 22%); }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-in { position: relative; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); max-width: 11em; text-shadow: 0 2px 30px rgba(230, 196, 124, .25); }
.hero .lead { max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 2rem; }
.gift { display: inline-flex; align-items: center; gap: 10px; margin-top: 1.6rem; font: 500 italic 1.18rem/1.3 var(--display); color: var(--gold-bright); }
.gift svg { width: 10px; height: 10px; color: var(--gold); }
.hero-page { min-height: min(78svh, 720px); }
.hero-page h1 { font-size: clamp(3rem, 7vw, 6rem); }
.hero-why .rule { display: none; }
.hero-why h1 { max-width: 8em; }
@media (max-width: 720px) {
  .hero { align-items: flex-end; min-height: 100svh; padding-bottom: 56px; }
  .hero-page { min-height: 86svh; }
  .hero-bg img { object-position: 78% 50%; }
  .hero-bg.has-tall img { object-position: 50% 30%; }
  .hero-bg::after { background: linear-gradient(0deg, var(--night) 8%, rgba(6, 5, 8, .88) 42%, rgba(6, 5, 8, .35) 75%, rgba(6, 5, 8, .6) 100%); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .stores { flex-direction: column; }
  .hero-cta .btn { justify-content: center; }
}

/* ─── sections ─── */
.sec { position: relative; padding: clamp(72px, 11vw, 140px) 0; }
.sec + .sec::before { content: ''; position: absolute; top: 0; left: 50%; width: min(560px, 70%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--hair-strong), transparent); }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.sec-head.center { text-align: center; }
.sec-head.center .sec-lead { margin-left: auto; margin-right: auto; }
.sec-lead { margin-top: 1.1rem; max-width: 40em; font-size: 1.06em; color: var(--vellum-dim); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Reveal on scroll (only when JS runs). */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ─── quotes ─── */
.quote { margin: 2rem 0; padding: 1.4rem 0 1.4rem 1.6rem; border-left: 1px solid var(--gold-deep); }
.quote blockquote { margin: 0; font: 500 italic clamp(1.3rem, 2.1vw, 1.6rem)/1.4 var(--display); color: var(--gold-pale); }
.quote-tr { margin: .7rem 0 .5rem; color: var(--vellum-dim); font-size: .98em; }
.quote figcaption { font-size: .82rem; letter-spacing: .04em; color: var(--mist-dim); }
.quote.center { border: 0; padding: 0; text-align: center; margin-top: clamp(40px, 6vw, 72px); }
.quote.center blockquote::before, .quote.center blockquote::after { color: var(--gold); }
.quote.center blockquote::before { content: '« '; }
.quote.center blockquote::after { content: ' »'; }
.quote.small { padding-left: 1.1rem; margin: 1.2rem 0; }
.quote.small blockquote { font-size: 1.22rem; }

/* ─── home: draw a card ─── */
.draw { overflow: hidden; }
.draw-bg { position: absolute; inset: 0; z-index: -1; background: url(/assets/img/key-mandala.webp) center / min(900px, 140vw) no-repeat; opacity: .14; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%); }
.draw-table { position: relative; height: clamp(230px, 34vw, 340px); display: flex; justify-content: center; align-items: flex-end; perspective: 1400px; }
.draw-card {
  --w: clamp(100px, 13vw, 158px);
  position: absolute; bottom: 0; left: 50%; width: var(--w); aspect-ratio: 2 / 3; padding: 0; border: 0; background: none; cursor: pointer;
  transform-origin: 50% 180%; transform: translateX(-50%) rotate(calc(var(--i) * 9deg)); transition: transform .5s var(--ease), opacity .5s;
  border-radius: 8px;
}
.draw-card:hover, .draw-card:focus-visible { transform: translateX(-50%) rotate(calc(var(--i) * 9deg)) translateY(-18px); }
.draw-card .flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.draw-card .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(201, 165, 92, .25); }
.draw-card .face img { width: 100%; height: 100%; object-fit: cover; }
.draw-card .front { transform: rotateY(180deg); }
.draw-card:hover .back { box-shadow: 0 14px 40px rgba(0, 0, 0, .7), 0 0 24px rgba(230, 196, 124, .35), 0 0 0 1px var(--gold); }
.drawn .draw-card { pointer-events: none; opacity: 0; transform: translateX(-50%) rotate(calc(var(--i) * 9deg)) translateY(40px); }
.drawn .draw-card.chosen { opacity: 1; z-index: 2; --w: clamp(160px, 22vw, 230px); transform: translateX(-50%) translateY(-10px); }
.drawn .draw-card.chosen .flip { transform: rotateY(180deg); }
.drawn .draw-card.chosen .front { box-shadow: 0 20px 60px rgba(0, 0, 0, .7), 0 0 50px rgba(230, 196, 124, .35); }
.drawn .draw-table { height: clamp(260px, 36vw, 360px); }
.draw-hint { text-align: center; margin-top: 28px; font: 500 italic 1.15rem var(--display); color: var(--gold); animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .45; } }
.draw-result { max-width: 640px; margin: 36px auto 0; text-align: center; animation: rise .9s var(--ease) both .45s; }
.draw-result h3 { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: 0; }
.draw-result .draw-fr { font: 500 italic 1.2rem var(--display); color: var(--mist); margin: .2rem 0 .4rem; }
.draw-result .quote { border: 0; padding: 0; }
.draw-note { font-size: .92rem; color: var(--mist); }
.draw-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ─── home: steps and phones ─── */
.step-list { list-style: none; margin: 0 0 2.2rem; padding: 0; display: grid; gap: 26px; }
.step-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.step-list p { margin: .35rem 0 0; }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold-deep); font: 600 1.05rem/1 var(--caps); color: var(--gold-bright); background: radial-gradient(circle, rgba(201, 165, 92, .12), transparent 70%); letter-spacing: .04em; }
.phones { position: relative; height: clamp(520px, 52vw, 640px); }
.phone {
  margin: 0; position: absolute; width: clamp(220px, 23vw, 290px); aspect-ratio: 585 / 1266; border-radius: 34px; overflow: hidden;
  border: 1px solid var(--gold-deep); box-shadow: 0 0 0 7px #0d0b10, 0 0 0 8px rgba(201, 165, 92, .35), 0 40px 80px rgba(0, 0, 0, .7), 0 0 80px rgba(230, 196, 124, .08);
  background: var(--ink);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phones .p1 { left: 4%; top: 0; transform: rotate(-5deg); }
.phones .p2 { right: 4%; top: 70px; transform: rotate(4deg); }
.phones.single { display: grid; place-items: center; }
.phones.single .phone { position: relative; }
@media (max-width: 880px) { .phones { height: 520px; max-width: 520px; margin: 0 auto; width: 100%; } .phones.single { height: auto; } }
@media (max-width: 520px) { .phones { height: 500px; } .phone { width: 196px; } .phones .p1 { left: 8px; } .phones .p2 { right: 0; top: 56px; } }

/* ─── home: Lévi ─── */
.levi-art { display: grid; place-items: center; }
.levi-art img { width: min(460px, 90%); filter: drop-shadow(0 0 40px rgba(230, 196, 124, .25)); }
.spin { animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── home: tiles ─── */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.tile h3 { margin: 16px 0 6px; font-size: 1.25rem; }
.tile p { font-size: .94rem; color: var(--mist); margin: 0; }
.arch { position: relative; border-radius: 999px 999px 14px 14px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--gold-deep); box-shadow: 0 0 0 4px var(--night), 0 0 0 5px rgba(201, 165, 92, .25), 0 20px 40px rgba(0, 0, 0, .5); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s; filter: saturate(.92); }
.tile:hover .arch img { transform: scale(1.06); filter: saturate(1.1) brightness(1.08); }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .tiles { gap: 14px; } .tile h3 { font-size: 1.05rem; } .tile p { font-size: .86rem; } }

/* ─── home: marquee of the Major Keys ─── */
.marquee { display: block; overflow: hidden; padding: 30px 0 48px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: scroll 120s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { width: clamp(130px, 14vw, 180px); border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(201, 165, 92, .3); transition: transform .5s var(--ease); }
.marquee img:hover { transform: translateY(-10px) scale(1.04); }
@keyframes scroll { to { transform: translateX(calc(-50% - 11px)); } }

/* ─── home: why band ─── */
.whyband { min-height: 560px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.whyband-bg, .horo-bg, .numbers-bg { position: absolute; inset: 0; z-index: -1; }
.whyband-bg img, .horo-bg img, .numbers-bg img { width: 100%; height: 100%; object-fit: cover; }
.whyband-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 5, 8, .95), rgba(6, 5, 8, .75) 45%, rgba(6, 5, 8, .3)), linear-gradient(0deg, var(--night), transparent 25%, transparent 75%, var(--night)); }
.whyband-in { max-width: var(--max); }
.big-quote { margin: 0 0 2rem; max-width: 19em; font: 500 italic clamp(1.8rem, 3.6vw, 2.9rem)/1.3 var(--display); color: var(--gold-pale); text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
@media (max-width: 720px) { .whyband-bg::after { background: linear-gradient(0deg, rgba(6, 5, 8, .92) 30%, rgba(6, 5, 8, .5)), linear-gradient(0deg, var(--night), transparent 25%, transparent 75%, var(--night)); } }

/* ─── trios ─── */
.trio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); text-align: center; }
.trio img { width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 50%; border: 1px solid var(--gold-deep); box-shadow: 0 0 40px rgba(230, 160, 80, .2); }
.trio > li > svg { width: 22px; height: 22px; color: var(--gold); margin: 0 auto 14px; display: block; }
.trio h3 { margin-bottom: .5rem; }
.trio p { font-size: .97rem; color: var(--mist); }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ─── FAQ ─── */
.faq-list details { border-top: 1px solid var(--hair); }
.faq-list details:last-child { border-bottom: 1px solid var(--hair); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 1.3rem/1.3 var(--display); color: var(--gold-pale); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list summary:hover { color: var(--gold-bright); }
.faq-list details p { margin: 0 0 24px; color: var(--vellum-dim); }

/* ─── final call ─── */
.final { min-height: 640px; display: flex; align-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.final-bg { position: absolute; inset: 0; z-index: -1; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .55; }
.final-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(6, 5, 8, .35), rgba(6, 5, 8, .92) 70%), linear-gradient(0deg, var(--night), transparent 30%, transparent 70%, var(--night)); }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final .crest { width: 58px; height: 58px; color: var(--gold); margin-bottom: 18px; filter: drop-shadow(0 0 18px rgba(230, 196, 124, .5)); }
.final h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-shadow: 0 2px 30px rgba(230, 196, 124, .25); }
.final .lead { margin: 1rem auto 2rem; }
.final .stores { justify-content: center; }
.soon-note { margin-top: 1.4rem; font-size: .88rem; color: var(--mist); }

/* ─── ritual ─── */
.ritual-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(64px, 10vw, 120px); }
.rstep { display: grid; grid-template-columns: auto 1fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.rstep.rev { grid-template-columns: 1fr auto; }
.rstep.rev .phone { order: 2; }
.rstep .phone { position: relative; transform: rotate(-2deg); }
.rstep.rev .phone { transform: rotate(2deg); }
.rstep h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 18px 0 16px; }
.rstep-text { max-width: 34em; }
@media (max-width: 760px) { .rstep, .rstep.rev { grid-template-columns: 1fr; justify-items: center; } .rstep.rev .phone { order: 0; } }

.spreads { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.spread { padding: 28px 26px 22px; border: 1px solid var(--hair); border-radius: 18px; background: linear-gradient(180deg, rgba(30, 24, 34, .7), rgba(11, 10, 15, .7)); position: relative; }
.spread::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(201, 165, 92, .1); border-radius: 13px; pointer-events: none; }
.spread-svg { display: block; width: 100%; height: 220px; margin: 0 auto 18px; overflow: visible; }
.spread-svg .slot rect { fill: rgba(62, 11, 16, .55); stroke: var(--gold-deep); stroke-width: .5; transition: .3s; }
.spread-svg .slot text { fill: var(--gold-bright); text-anchor: middle; font-family: var(--caps); font-weight: 600; pointer-events: none; }
.spread-svg .slot { cursor: pointer; }
.spread-svg .slot:hover rect, .spread-svg .slot.hl rect { fill: rgba(158, 42, 38, .65); stroke: var(--gold-pale); filter: drop-shadow(0 0 2px rgba(230, 196, 124, .7)); }
.spread h3 { font-family: var(--display); font-size: 1.7rem; letter-spacing: 0; }
.spread-fr { font: 500 italic 1.08rem var(--display); color: var(--mist); margin: .1rem 0 .4rem; }
.spread-meta { font: 600 .84rem var(--caps); letter-spacing: .18em; color: var(--gold); margin-bottom: .8rem; }
.spread-basis { font-size: .93rem; color: var(--vellum-dim); }
.slots { margin: 0; padding: 14px 0 0 1.4em; border-top: 1px solid var(--hair); font-size: .88rem; color: var(--mist); display: grid; gap: 6px; }
.slots li { border-radius: 6px; padding: 2px 6px; transition: background .25s; }
.slots li::marker { color: var(--gold); font-family: var(--caps); font-weight: 600; }
.slots li b { font-weight: 500; color: var(--gold-pale); }
.slots li.hl, .slots li:hover { background: rgba(158, 42, 38, .25); }

.horo { overflow: hidden; isolation: isolate; }
.horo-bg::after, .numbers-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--night), rgba(6, 5, 8, .55) 30%, rgba(6, 5, 8, .55) 70%, var(--night)); }
.horo-list { margin: 1.6rem 0 0; display: grid; gap: 12px; }
.horo-list div { padding: 14px 18px; border: 1px solid var(--hair); border-radius: 12px; background: rgba(11, 10, 15, .7); }
.horo-list dt { font: 600 1.15rem var(--caps); letter-spacing: .08em; color: var(--gold-pale); display: flex; justify-content: space-between; gap: 12px; }
.horo-list dt span { color: var(--gold); font-size: .95rem; }
.horo-list dd { margin: 4px 0 0; font-size: .92rem; color: var(--mist); }
.stack { display: grid; gap: 34px; }
.stack .h3 { font-size: 1.6rem; margin-bottom: .6rem; }

/* ─── teaching ─── */
.engraving { margin: 0; display: grid; justify-items: center; gap: 16px; }
.engraving img { width: min(440px, 100%); filter: drop-shadow(0 0 30px rgba(230, 196, 124, .18)); }
.engraving figcaption { font-size: .82rem; color: var(--mist-dim); text-align: center; max-width: 30em; }
.engraving.inline img { width: min(280px, 70%); margin: 2rem auto; }
.verb-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.verb-list li { padding: 30px 24px; text-align: center; border: 1px solid var(--hair); border-radius: 999px 999px 16px 16px; background: linear-gradient(180deg, rgba(62, 11, 16, .35), rgba(11, 10, 15, .6)); }
.verb-fr { font: 500 italic 2.1rem/1.1 var(--display); color: var(--gold-bright); margin: 14px 0 6px; }
.verb-list h3 { font-size: 1rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 12px; }
.verb-list p:last-child { font-size: .92rem; color: var(--mist); margin: 0; }
@media (max-width: 900px) { .verb-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .verb-list { grid-template-columns: 1fr; } }
.numbers { overflow: hidden; isolation: isolate; }
.num-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.num-list li { position: relative; overflow: hidden; padding: 26px 24px; border: 1px solid var(--hair); border-radius: 16px; background: rgba(11, 10, 15, .78); backdrop-filter: blur(4px); }
.num-list li img { position: absolute; right: -24px; bottom: -24px; width: 150px; opacity: .22; transition: opacity .5s; }
.num-list li:hover img { opacity: .45; }
.num { display: block; font: 600 3.2rem/1 var(--display); color: var(--gold); margin-bottom: 10px; }
.num-list h3 { margin-bottom: 8px; }
.num-list p { font-size: .94rem; margin: 0; position: relative; }
.suit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.suit-list img { width: 140px; margin: 0 auto 6px; border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(201, 165, 92, .3); }
.suit-glyph { font: 400 2.4rem/1 'SBL Hebrew', 'Times New Roman', serif; color: var(--gold-bright); margin: 18px 0 4px; }
.suit-list .kicker { margin-bottom: .4rem; }
.suit-list h3 span { display: block; font: 500 italic 1.05rem var(--display); color: var(--mist); letter-spacing: 0; margin-top: 2px; }
.suit-list p:last-child { font-size: .93rem; color: var(--mist); margin-top: 8px; }
@media (max-width: 900px) { .suit-list { grid-template-columns: repeat(2, 1fr); } }
.rank-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; counter-reset: r; }
.rank { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(201, 165, 92, .14); }
.rank img { width: 72px; border-radius: 5px; box-shadow: 0 8px 20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(201, 165, 92, .3); }
.rank-n { margin: 0; font: 600 .86rem var(--caps); letter-spacing: .2em; color: var(--gold); }
.rank h3 { font-size: 1.18rem; margin: 2px 0 0; }
.rank-fr { margin: 0; font: 500 italic 1rem var(--display); color: var(--mist); }
.rank .latin { margin: 2px 0 0; font-size: .72rem; }
@media (max-width: 760px) { .rank-list { grid-template-columns: 1fr; } }
.ritual-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ritual-list li { padding: 26px 24px; border: 1px solid var(--hair); border-radius: 16px; background: rgba(20, 16, 25, .6); }
.ritual-list h3 { margin-bottom: 6px; }
.ritual-q { font: 500 italic 1.08rem/1.4 var(--display); color: var(--gold-bright); margin: 12px 0 6px; }
.ritual-src { font-size: .78rem; color: var(--mist-dim); margin: 0; }
@media (max-width: 900px) { .ritual-list { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ─── deck ─── */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 2vw, 22px); }
.card-grid.major { grid-template-columns: repeat(auto-fill, minmax(clamp(104px, 14vw, 150px), 1fr)); }
.card-grid.minor { grid-template-columns: repeat(14, minmax(96px, 1fr)); overflow-x: auto; padding: 8px 4px 18px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent; }
.card-grid.minor li { scroll-snap-align: start; }
@media (min-width: 900px) { .card-grid.minor { grid-template-columns: repeat(7, 1fr); overflow: visible; } }
@media (max-width: 899px) { .card-grid.minor { grid-template-columns: repeat(14, 104px); } }
.card-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; text-align: center; }
.card-btn img { width: 100%; border-radius: 7px; box-shadow: 0 12px 30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(201, 165, 92, .28); transition: transform .4s var(--ease), box-shadow .4s; }
.card-btn:hover img, .card-btn:focus-visible img { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 22px 44px rgba(0, 0, 0, .7), 0 0 26px rgba(230, 196, 124, .3), 0 0 0 1px var(--gold); }
.card-cap { display: block; margin-top: 10px; font: 600 .82rem/1.3 var(--caps); letter-spacing: .1em; color: var(--mist); }
.suit-row { margin-bottom: 44px; }
.suit-row h3 { font-family: var(--display); font-size: 1.8rem; letter-spacing: 0; margin-bottom: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.suit-row h3 .suit-glyph { margin: 0; font-size: 1.8rem; }
.suit-row h3 .muted { font: 500 italic 1.05rem var(--display); }
.back-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 14px; }
.back-row img { border-radius: 7px; box-shadow: 0 12px 30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(201, 165, 92, .28); }
.back-row li:nth-child(odd) { transform: translateY(14px); }
@media (max-width: 800px) { .back-row { grid-template-columns: repeat(5, 1fr); } }

.lightbox { width: min(1040px, 100vw - 24px); max-height: calc(100svh - 24px); padding: 0; border: 1px solid var(--gold-deep); border-radius: 22px; background: radial-gradient(ellipse at 30% 0%, #2a1512, var(--ink) 60%); color: var(--vellum-dim); box-shadow: 0 40px 120px rgba(0, 0, 0, .8); overflow: auto; }
.lightbox::backdrop { background: rgba(3, 2, 5, .82); backdrop-filter: blur(6px); }
.lightbox[open] { animation: rise .45s var(--ease); }
.lb-in { position: relative; display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(22px, 4vw, 48px); padding: clamp(22px, 4vw, 48px) clamp(22px, 5vw, 64px); align-items: center; }
.lb-card { margin: 0; }
.lb-card img { width: 100%; border-radius: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .75), 0 0 50px rgba(230, 196, 124, .18), 0 0 0 1px rgba(201, 165, 92, .4); }
.lb-text h2 { font-size: clamp(2rem, 4vw, 3rem); }
.lb-fr { font: 500 italic 1.25rem var(--display); color: var(--mist); margin: .2rem 0 .4rem; }
.lb-principle { font-size: .98rem; }
.lb-unveil { font-size: .86rem; color: var(--mist-dim); border-top: 1px solid var(--hair); padding-top: 14px; margin: 0; }
.lb-close { position: absolute; top: 12px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold-dim); background: rgba(6, 5, 8, .6); color: var(--gold-bright); font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 2; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; background: none; color: var(--gold); font-size: 2.6rem; cursor: pointer; opacity: .7; z-index: 2; }
.lb-nav:hover { opacity: 1; color: var(--gold-pale); }
.lb-nav.prev { left: 2px; }
.lb-nav.next { right: 2px; }
@media (max-width: 700px) {
  .lb-in { grid-template-columns: 1fr; padding: 56px 22px 28px; }
  .lb-card { width: min(260px, 70%); margin: 0 auto; }
  .lb-nav { top: 200px; }
}

/* ─── why ─── */
.prose { font-size: 1.08em; }
.prose p { color: var(--vellum); }
.prose h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 2.4em 0 .8em; }
.story > .wrap:first-child p:first-child::first-letter { float: left; font: 600 4.6rem/.8 var(--display); color: var(--gold-bright); margin: .08em .12em 0 0; }
.prose .turn { font: 500 italic clamp(1.6rem, 3vw, 2.1rem)/1.35 var(--display); color: var(--gold-pale); margin: 1.4em 0; text-align: center; }
.wide-fig { margin: clamp(48px, 7vw, 80px) auto; max-width: 1100px; }
.wide-fig img { border-radius: 20px; border: 1px solid var(--hair); box-shadow: 0 40px 90px rgba(0, 0, 0, .6); width: 100%; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 22px; }
.promise-list li { padding: 26px 22px; border: 1px solid var(--hair); border-radius: 16px; background: rgba(20, 16, 25, .6); text-align: center; }
.promise-list svg { width: 18px; height: 18px; color: var(--gold); margin: 0 auto 12px; display: block; }
.promise-list h3 { font-size: 1.15rem; margin-bottom: 8px; }
.promise-list p { font-size: .92rem; color: var(--mist); margin: 0; }
.closing-text { font: 500 italic clamp(1.6rem, 3.2vw, 2.3rem)/1.4 var(--display); color: var(--gold-pale); }
.signature { font: 600 1rem var(--caps); letter-spacing: .2em; color: var(--gold); }

/* ─── 404 ─── */
.hero-404 .hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-404 .crest { width: 56px; height: 56px; color: var(--gold); margin-bottom: 18px; }
.hero-404 .hero-bg img { object-position: 50% 40%; }
.hero-404 .hero-bg::after { background: radial-gradient(ellipse, rgba(6, 5, 8, .5), var(--night) 75%); }
.hero-404 .lead { margin: 0 auto 2rem; }

/* ─── footer ─── */
.foot { border-top: 1px solid var(--hair); background: linear-gradient(180deg, var(--ink), var(--night)); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .94rem; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.foot .crest { width: 40px; height: 40px; color: var(--gold); }
.foot-name { font: 600 1.3rem var(--caps); letter-spacing: .14em; color: var(--gold-pale); margin: 12px 0 2px; }
.foot-verbs { font: 500 italic 1.05rem var(--display); color: var(--mist); margin-bottom: 18px; }
.foot-col h2 { font: 600 .9rem var(--caps); letter-spacing: .24em; color: var(--gold); margin-bottom: 14px; }
.foot-col a { display: block; padding: 5px 0; color: var(--vellum-dim); text-decoration: none; }
.foot-col a:hover { color: var(--gold-pale); }
.foot-col p { color: var(--mist); margin: 6px 0 0; }
.foot-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(201, 165, 92, .14); font-size: .8rem; color: var(--mist-dim); display: flex; justify-content: space-between; gap: 24px; }
.foot-legal p { margin: 0; max-width: 60em; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } .foot-legal { flex-direction: column; } }

/* ─── languages ─── */
.top-in { position: relative; }
.top-in .nav { margin-left: auto; }
@media (max-width: 880px) { .top-in { gap: 6px; } }
@media (max-width: 380px) { .brand { gap: 8px; } .brand .crest { width: 28px; height: 28px; } .brand span { font-size: 1rem !important; letter-spacing: .1em; } .langs summary { padding: 0 6px; } }
.langs { position: relative; margin-left: auto; }
.nav + .langs { margin-left: 0; }
.langs summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: 999px; cursor: pointer; color: var(--vellum-dim); font: 600 .95rem/1 var(--caps); letter-spacing: .12em; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary svg { width: 18px; height: 18px; color: var(--gold); }
.langs summary:hover, .langs[open] summary { color: var(--gold-pale); }
.langs-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 300px; padding: 10px; border: 1px solid var(--gold-deep); border-radius: 14px; background: rgba(11, 10, 15, .97); box-shadow: 0 20px 50px rgba(0, 0, 0, .7); }
.langs-menu a, .foot-langs a { padding: 9px 12px; border-radius: 8px; color: var(--vellum-dim); text-decoration: none; font-size: .95rem; }
.langs-menu a:hover, .foot-langs a:hover { background: rgba(201, 165, 92, .1); color: var(--gold-pale); }
.langs-menu a[aria-current], .foot-langs a[aria-current] { color: var(--gold-bright); }
@media (max-width: 880px) { .langs { margin-left: auto; } .nav + .langs { margin-left: auto; } .langs-menu { min-width: 260px; } }
.foot-langs { display: flex; flex-wrap: wrap; gap: 2px 6px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(201, 165, 92, .14); }
.foot-langs a { font-size: .86rem; padding: 6px 10px; }
.suggest { position: fixed; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 70; width: max-content; margin: 0 auto; display: flex; align-items: center; gap: 4px; max-width: calc(100vw - 32px); padding: 6px 6px 6px 18px; border: 1px solid var(--gold-deep); border-radius: 999px; background: rgba(11, 10, 15, .95); box-shadow: 0 16px 40px rgba(0, 0, 0, .7); animation: rise .6s var(--ease); }
.suggest[hidden] { display: none; }
.suggest a { font: 600 1rem var(--caps); letter-spacing: .08em; color: var(--gold-bright); text-decoration: none; padding: 8px 4px; }
.suggest button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--mist); font-size: 1.3rem; cursor: pointer; }
.suggest button:hover { color: var(--gold-pale); background: rgba(201, 165, 92, .1); }
.why-fig { margin: 0 0 2rem; }
.why-fig .big-quote { margin-bottom: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
