/* =========================================================
   Beor Panecha — site styles
   Theme: connecting the dots. Deep night blue, sun gold,
   faint star points and constellation lines.
   ========================================================= */

:root {
    --bg: #070b24;
    --bg-deep: #04071a;
    --surface: #0e1538;
    --surface-2: #141d48;
    --navy: #162777;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .16);
    --text: #eef0fa;
    --muted: rgba(226, 230, 250, .66);
    --faint: rgba(226, 230, 250, .6);
    --gold: #f9a908;
    --gold-light: #f7cf0b;
    --gold-grad: linear-gradient(100deg, #f7cf0b 0%, #f9a908 100%);
    --gold-glow: rgba(249, 169, 8, .35);

    --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'larken', 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-hebrew: 'Frank Ruhl Libre', 'David', serif;

    --radius: 16px;
    --radius-lg: 24px;
    --gap: 20px;
    --wrap: 1200px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* A tiny constellation: three stars joined by two lines. */
    --constellation: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cg stroke='%23f9a908' stroke-opacity='.45' stroke-width='.8'%3E%3Cline x1='18' y1='58' x2='58' y2='26'/%3E%3Cline x1='58' y1='26' x2='102' y2='46'/%3E%3C/g%3E%3Cg fill='%23f7cf0b'%3E%3Ccircle cx='18' cy='58' r='2.4'/%3E%3Ccircle cx='58' cy='26' r='3.2'/%3E%3Ccircle cx='102' cy='46' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; background: var(--bg); }
html.modal-open { overflow: hidden; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Faint, fixed star field behind everything */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100lvh;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, .5), transparent 60%),
        radial-gradient(1px 1px at 140px 90px, rgba(255, 255, 255, .35), transparent 60%),
        radial-gradient(1.5px 1.5px at 260px 170px, rgba(247, 207, 11, .45), transparent 60%),
        radial-gradient(1px 1px at 330px 40px, rgba(255, 255, 255, .3), transparent 60%),
        radial-gradient(1px 1px at 90px 260px, rgba(255, 255, 255, .25), transparent 60%);
    background-size: 380px 300px;
    opacity: .5;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 600; }
h1, h2, h3, .poster-title, .modal-heading h2 { text-wrap: balance; }
p, li, blockquote, .hero-lead { text-wrap: pretty; }
h1, h2 { font-weight: 400; }
p { margin: 0; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.gold-text {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: 600 15px/1.2 var(--font-body);
    letter-spacing: -.005em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: box-shadow .45s var(--ease), background-color .3s, border-color .3s, color .3s;
}

.btn-gold { background: var(--gold-grad); color: #120d02; box-shadow: 0 0 0 0 rgba(249, 169, 8, 0), 0 6px 20px -8px var(--gold-glow); }
.btn-gold:hover { box-shadow: 0 0 0 4px rgba(249, 169, 8, .16), 0 0 32px 2px rgba(249, 169, 8, .45); }

.btn-outline { border-color: rgba(249, 169, 8, .6); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: rgba(249, 169, 8, .08); border-color: var(--gold); box-shadow: 0 0 24px -2px rgba(249, 169, 8, .35), inset 0 0 12px rgba(249, 169, 8, .12); }

.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(249, 169, 8, .6); background: rgba(255, 255, 255, .06); box-shadow: 0 0 22px -4px rgba(249, 169, 8, .3); }

.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 8px 15px; font-size: 13px; }

.link-arrow { font-size: 15px; font-weight: 600; color: var(--gold-light); text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: '→'; display: inline-block; margin-left: 6px; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Floating header ---------- */

.site-header {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    z-index: 60;
    padding: 0 16px;
    pointer-events: none;
}

.header-inner {
    pointer-events: auto;
    max-width: calc(var(--wrap) - 32px);
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 10px 0 24px;
    border-radius: 999px;
    background: rgba(9, 13, 40, .55);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled .header-inner { background: rgba(7, 10, 32, .78); }

.brand { display: flex; align-items: center; }
.brand img { width: 176px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; order: 1; }

.search-toggle {
    order: 2;
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    cursor: pointer;
    transition: border-color .3s, background-color .3s, box-shadow .45s var(--ease);
}
.search-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-toggle:hover { border-color: rgba(249, 169, 8, .6); box-shadow: 0 0 22px -4px rgba(249, 169, 8, .35); }
.nav-toggle { order: 3; }

.site-nav > a:not(.btn) {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    border-radius: 999px;
    transition: color .2s, background-color .2s;
}
.site-nav > a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.site-nav > a[aria-current="page"] { color: var(--text); }
.site-nav > a:not(.btn)[aria-current="page"]::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    margin: 3px auto -7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

.site-nav .btn { margin-left: 6px; padding: 10px 18px; font-size: 14px; }
.site-nav .btn + .btn { margin-left: 4px; }

.nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
    transition: background-color .35s, box-shadow .45s var(--ease);
}
.nav-toggle[aria-expanded="true"] {
    background: rgba(249, 169, 8, .12);
    box-shadow: 0 0 0 1px rgba(249, 169, 8, .35), 0 0 22px -4px rgba(249, 169, 8, .45);
}

/* Hamburger -> X: one smooth, transform-only morph on whole-pixel lines */
.nav-toggle span:not(.sr-only) {
    position: absolute;
    left: 13px;
    top: 21px;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition:
        transform .38s cubic-bezier(.65, 0, .35, 1),
        opacity .25s cubic-bezier(.65, 0, .35, 1),
        background-color .3s;
}
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span:not(.sr-only) { background: var(--gold-light); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 176px 0 112px;
    background:
        radial-gradient(60% 70% at 88% 0%, rgba(249, 169, 8, .20), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(22, 39, 119, .55), transparent 70%),
        linear-gradient(180deg, #0b1540 0%, var(--bg) 100%);
}
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.constellation {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: .9;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-light);
}
.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

/* Home hero: the dot radiates concentric rings of light */
.eyebrow-glow { gap: 16px; }
.eyebrow-glow::before {
    box-shadow:
        0 0 0 4px rgba(249, 169, 8, .22),
        0 0 0 9px rgba(249, 169, 8, .10),
        0 0 0 15px rgba(249, 169, 8, .04),
        0 0 16px 4px rgba(249, 169, 8, .55);
    animation: eyebrow-pulse 6s ease-in-out infinite;
}
@keyframes eyebrow-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 4px rgba(249, 169, 8, .22),
            0 0 0 9px rgba(249, 169, 8, .10),
            0 0 0 15px rgba(249, 169, 8, .04),
            0 0 16px 4px rgba(249, 169, 8, .55);
    }
    50% {
        box-shadow:
            0 0 0 5px rgba(249, 169, 8, .28),
            0 0 0 11px rgba(249, 169, 8, .13),
            0 0 0 18px rgba(249, 169, 8, .06),
            0 0 22px 6px rgba(249, 169, 8, .7);
    }
}

.hero h1 {
    margin: 20px 0 22px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(42px, 5.6vw, 72px);
    letter-spacing: -.025em;
    line-height: 1.04;
}

.hero-lead { max-width: 520px; font-size: 19px; color: var(--muted); }

.hero-form-label { margin: 40px 0 12px; font-size: 14px; font-weight: 500; color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Three floating Shorts */
.hero-posters {
    position: relative;
    height: 460px;
}
.hero-poster {
    position: absolute;
    top: 50%;
    width: 44%;
    aspect-ratio: 9 / 16;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    overflow: hidden;
    background: var(--surface);
    cursor: pointer;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    transition: transform .5s var(--ease), border-color .3s, box-shadow .3s;
}
.hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.hero-poster.p1 { left: 2%; transform: translateY(-46%) rotate(-7deg); z-index: 1; }
.hero-poster.p2 { left: 28%; transform: translateY(-54%); z-index: 3; }
.hero-poster.p3 { left: 54%; transform: translateY(-46%) rotate(7deg); z-index: 2; }
.hero-poster:hover { border-color: rgba(249, 169, 8, .7); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 40px -10px var(--gold-glow); z-index: 4; }
.hero-poster.p1:hover { transform: translateY(-50%) rotate(-5deg) scale(1.03); }
.hero-poster.p2:hover { transform: translateY(-57%) scale(1.03); }
.hero-poster.p3:hover { transform: translateY(-50%) rotate(5deg) scale(1.03); }

/* Inner-page hero */
.page-hero { padding: 168px 0 72px; }
.page-hero .hero-inner { grid-template-columns: 1fr; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 16px; }
.page-hero .hero-lead { max-width: 640px; }

/* ---------- Newsletter form ---------- */

.newsletter {
    display: flex;
    gap: 6px;
    max-width: 460px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-strong);
    transition: border-color .2s, box-shadow .2s;
}
.newsletter:focus-within { border-color: rgba(249, 169, 8, .7); box-shadow: 0 0 0 4px rgba(249, 169, 8, .12); }

.newsletter input {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    border: 0;
    background: transparent;
    color: var(--text);
    font: 400 15px var(--font-body);
}
.newsletter input::placeholder { color: var(--faint); }
.newsletter input:focus { outline: none; }
.newsletter .btn { padding: 11px 20px; font-size: 14px; }

.form-note { margin-top: 10px; min-height: 1.4em; font-size: 14px; color: var(--gold-light); }
.form-note.is-error { color: #ff9b8a; }
.newsletter.is-highlight { animation: waitlist-glow 1.6s var(--ease); }
@keyframes waitlist-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249, 169, 8, 0); }
    30% { border-color: rgba(249, 169, 8, .9); box-shadow: 0 0 0 6px rgba(249, 169, 8, .18), 0 0 40px 4px rgba(249, 169, 8, .35); }
}
.newsletter .btn:disabled { opacity: .7; cursor: default; }

/* ---------- Sections ---------- */

.section { position: relative; padding: 96px 0 0; }
main > .section:last-child, main > :last-child .section:last-child { padding-bottom: 120px; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
/* Launch pricing: heading and plans centered on every screen size */
.section-head-center { justify-content: center; text-align: center; }
.section-head h2, .h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(26px, 2.8vw, 36px);
    letter-spacing: -.02em;
}
.section-head p { margin-top: 6px; font-size: 15px; color: var(--faint); }

/* ---------- Featured ---------- */

.featured {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: center;
}

.feature-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    cursor: pointer;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 80px -40px var(--gold-glow);
}
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-media .feature-bg { filter: blur(24px) brightness(.55); transform: scale(1.2); }
.feature-media .feature-fg.is-short { left: 50%; width: auto; aspect-ratio: 9 / 16; transform: translateX(-50%); }
.feature-media:hover .feature-fg:not(.is-short) { transform: scale(1.03); }
.feature-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(4, 7, 26, .55));
}

.play {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--gold-grad);
    box-shadow: 0 0 0 10px rgba(249, 169, 8, .16), 0 20px 40px -10px rgba(0, 0, 0, .6);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.play::after {
    content: '';
    position: absolute;
    left: 33px;
    top: 26px;
    border-style: solid;
    border-width: 14px 0 14px 21px;
    border-color: transparent transparent transparent #120d02;
}
.feature-media:hover .play { transform: translate(-50%, -50%) scale(1.07); box-shadow: 0 0 0 16px rgba(249, 169, 8, .12), 0 20px 40px -10px rgba(0, 0, 0, .6); }

.feature-doc {
    display: grid;
    place-items: center;
    background:
        var(--constellation) 12% 20% / 180px no-repeat,
        var(--constellation) 85% 78% / 140px no-repeat,
        radial-gradient(60% 80% at 80% 0%, rgba(249, 169, 8, .22), transparent 60%),
        linear-gradient(150deg, var(--navy), var(--bg-deep));
}
.feature-doc .glyph { font-size: 180px; }
.card-art.has-image::after { background: linear-gradient(180deg, rgba(4, 7, 26, 0) 55%, rgba(4, 7, 26, .45)); }
.card-art.has-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-art.has-image img { transform: scale(1.05); }
.feature-doc.has-image { background: var(--bg-deep); }
.feature-doc.has-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-doc.has-image:hover img { transform: scale(1.03); }

.featured-body h3 {
    margin: 14px 0 14px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -.02em;
}
.featured-body p { font-size: 17px; color: var(--muted); }
.featured-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Rails ---------- */

.rail-wrap { position: relative; }

.rail {
    display: grid;
    grid-auto-flow: column;
    gap: var(--gap);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 6px 2px 8px;
    margin: -6px -2px 0;
    scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.rail-video { grid-auto-columns: calc((100% - 2.25 * var(--gap)) / 3.25); }
.rail-vertical { grid-auto-columns: calc((100% - 4.25 * var(--gap)) / 5.25); }
.rail-cards { grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); }

@media (hover: none) {
    .rail { scroll-snap-type: x mandatory; }
    .rail > * { scroll-snap-align: start; }
}

.rail-btn {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(9, 13, 40, .7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7);
    transition: transform .25s var(--ease), border-color .2s, background-color .2s;
}
.rail-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn.next { right: -22px; transform: translateY(-50%); }
.rail-btn.prev { left: -22px; transform: translateY(-50%) scaleX(-1); }
.rail-btn:hover { border-color: rgba(249, 169, 8, .7); background: rgba(20, 29, 72, .9); }
.rail-btn.next:hover { transform: translateY(-50%) scale(1.06); }
.rail-btn.prev:hover { transform: translateY(-50%) scaleX(-1) scale(1.06); }
.rail-btn[hidden] { display: none; }

/* Soft fade at a rail edge that has more to scroll */
.rail-wrap::before, .rail-wrap::after {
    content: '';
    position: absolute;
    z-index: 4;
    top: 0;
    bottom: 8px;
    width: 56px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
}
.rail-wrap::before { left: -2px; background: linear-gradient(90deg, var(--bg), transparent); }
.rail-wrap::after { right: -2px; background: linear-gradient(-90deg, var(--bg), transparent); }
.rail-wrap.can-prev::before, .rail-wrap.can-next::after { opacity: 1; }

/* ---------- Cards ---------- */

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease);
}
a.card, button.card { cursor: pointer; }
a.card:hover, button.card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 169, 8, .45);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .8), 0 0 40px -18px var(--gold-glow);
}

.badge {
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--text);
    background: rgba(4, 7, 26, .6);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.badge-gold { color: #120d02; background: var(--gold-grad); border-color: transparent; }

.card-meta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-light);
}

/* Video poster */
.poster { aspect-ratio: 16 / 9; background: var(--bg-deep); }
.poster.is-vertical { aspect-ratio: 9 / 16; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.poster .poster-bg { filter: blur(18px) brightness(.5); transform: scale(1.25); }
.poster .poster-fg { left: 50%; width: auto; aspect-ratio: 9 / 16; transform: translateX(-50%); box-shadow: 0 0 40px rgba(0, 0, 0, .6); }
.poster:hover .poster-img { transform: scale(1.05); }
.poster::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(4, 7, 26, 0) 35%, rgba(4, 7, 26, .92) 100%);
}
.poster-body {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
}
.poster-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.play-sm {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-grad);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .3s, transform .3s var(--ease);
}
.play-sm::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 11px;
    border-style: solid;
    border-width: 7px 0 7px 11px;
    border-color: transparent transparent transparent #120d02;
}
.poster:hover .play-sm, .hero-poster:hover .play-sm, .poster:focus-visible .play-sm { opacity: 1; transform: none; }
.hero-poster .play-sm { opacity: 1; transform: none; top: auto; bottom: 12px; }

/* Coming soon */
.is-soon { border-style: dashed; border-color: rgba(255, 255, 255, .12); }
.poster.is-soon { background: linear-gradient(160deg, var(--surface) 0%, var(--bg-deep) 100%); }
.poster.is-soon::after { background: none; }
.soon-mark {
    position: absolute;
    inset: 0;
    background: var(--constellation) center 38% / 42% no-repeat;
    opacity: .55;
}
.is-soon .poster-title, .is-soon h3 { color: var(--faint); }
.is-soon .card-meta { color: var(--faint); }

/* Text card (divrei Torah) */
.card-art {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(150deg, var(--navy) 0%, var(--bg-deep) 100%);
}
.card-art.tone-2 { background: linear-gradient(150deg, #1f2a5c 0%, var(--bg-deep) 100%); }
.card-art.tone-3 { background: linear-gradient(150deg, #2a2466 0%, var(--bg-deep) 100%); }
.card-art.tone-4 { background: linear-gradient(150deg, #123067 0%, var(--bg-deep) 100%); }
.card-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 70% at 100% 0%, rgba(249, 169, 8, .2), transparent 60%);
}

.glyph {
    position: relative;
    z-index: 1;
    font-family: var(--font-hebrew);
    font-weight: 700;
    font-size: 88px;
    line-height: 1;
    user-select: none;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 24px rgba(249, 169, 8, .3));
    transition: transform .6s var(--ease);
}
.card:hover .glyph { transform: scale(1.06); }

.card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.card-body h3 { font-size: 18px; letter-spacing: -.01em; }
.card-body p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.card-cta { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--gold-light); }
.card-cta::after { content: ' →'; }

/* Locked (Beor Panecha+) */
.card.is-locked .card-art { background: linear-gradient(150deg, #1a1540 0%, var(--bg-deep) 100%); }
.card.is-locked .glyph { filter: blur(7px); opacity: .45; }
.lock {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(249, 169, 8, .5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 30px -6px var(--gold-glow);
}
.lock svg { width: 22px; height: 22px; fill: var(--gold); }

/* ---------- Glass panels ---------- */

.panel {
    position: relative;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(20, 29, 72, .7) 0%, rgba(10, 15, 44, .7) 100%);
    border: 1px solid var(--line-strong);
    overflow: hidden;
}

/* ---------- Home: this week ---------- */

.this-week { padding: 36px 40px 30px; }
.this-week::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        var(--constellation) right 5% top 22px / 150px no-repeat,
        radial-gradient(45% 90% at 100% 0%, rgba(249, 169, 8, .16), transparent 70%);
    pointer-events: none;
}
.this-week > * { position: relative; }
.tw-title { margin-top: 12px; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.015em; }
.tw-he { margin-left: 10px; font-family: var(--font-hebrew); font-weight: 700; font-size: .8em; color: var(--gold-light); }
.tw-empty { color: var(--muted); font-size: 16px; }
.tw-empty a { color: var(--gold-light); text-underline-offset: 3px; }
.this-week .rail-wrap::before { background: linear-gradient(90deg, #111a44, transparent); }
.this-week .rail-wrap::after { background: linear-gradient(-90deg, #0d143a, transparent); }
@media (max-width: 640px) { .this-week { padding: 28px 20px 22px; } }

/* ---------- Sponsor ---------- */

.sponsor {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 36px;
    align-items: center;
    padding: 36px 40px;
}
.sponsor::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        var(--constellation) right 24% top 16px / 160px no-repeat,
        radial-gradient(40% 90% at 0% 50%, rgba(249, 169, 8, .14), transparent 70%);
    pointer-events: none;
}
.sponsor > * { position: relative; }

.sponsor-month {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    text-align: center;
    line-height: 1.15;
    background: radial-gradient(circle at 35% 30%, rgba(247, 207, 11, .28), rgba(249, 169, 8, .06) 70%);
    border: 1px solid rgba(249, 169, 8, .45);
    box-shadow: 0 0 50px -10px var(--gold-glow);
}
.sponsor-month strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--gold-light); }
.sponsor-month span { font-size: 12px; letter-spacing: .14em; color: var(--muted); }

.sponsor-body h2 {
    margin: 10px 0 8px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(24px, 2.4vw, 30px);
    letter-spacing: -.015em;
}
.sponsor-body p { max-width: 560px; font-size: 15px; color: var(--muted); }

/* ---------- Beor Panecha+ ---------- */

.plus-panel { padding: 56px 48px 44px; }
.plus-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 80% at 100% 0%, rgba(249, 169, 8, .22), transparent 60%),
        var(--constellation) right 8% top 28px / 200px no-repeat;
    pointer-events: none;
}
.plus-panel > * { position: relative; }
.plus-panel .section-head { align-items: center; }
.plus-panel .section-head p { max-width: 560px; font-size: 16px; color: var(--muted); }
.plus-panel .rail-wrap::before { background: linear-gradient(90deg, #111a44, transparent); }
.plus-panel .rail-wrap::after { background: linear-gradient(-90deg, #0d143a, transparent); }

.plus-word { font-family: var(--font-display); font-weight: 400; }

.plus-logo { display: block; height: auto; }
.plus-panel .plus-logo { width: min(320px, 100%); margin: 18px 0 16px; }
.plus-heading { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.015em; }
.plus-hero-title { margin: 22px 0 26px !important; line-height: 0; }
.plus-hero-title .plus-logo { width: min(620px, 100%); margin: 0 auto; filter: drop-shadow(0 0 40px rgba(249, 169, 8, .25)); }
.plus-word sup { font-size: .75em; vertical-align: .15em; margin-left: 1px; }

/* Pricing */
.pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 380px));
    justify-content: center;
    gap: 24px;
}
.plan {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 36px;
}
.plan.is-featured { border-color: rgba(249, 169, 8, .6); box-shadow: 0 0 80px -30px var(--gold-glow); }
.plan.is-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 60% at 50% 0%, rgba(249, 169, 8, .16), transparent 70%);
    pointer-events: none;
}
.plan > * { position: relative; }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; color: var(--muted); }
.plan-tag { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #120d02; background: var(--gold-grad); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1; letter-spacing: -.03em; }
.plan-price span { color: var(--faint); font-size: 15px; }
.plan-note { font-size: 14px; color: var(--gold-light); min-height: 1.4em; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; color: var(--muted); }
.plan li { display: flex; gap: 12px; }
.plan li::before {
    content: '';
    flex: none;
    width: 7px;
    height: 7px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}
.plan .btn { margin-top: auto; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.benefit { padding: 32px; }
.benefit-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(249, 169, 8, .12);
    border: 1px solid rgba(249, 169, 8, .3);
}
.benefit-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 18px; margin-bottom: 8px; }
.benefit p { font-size: 15px; color: var(--muted); }

/* ---------- About / prose ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.prose em { color: var(--text); }

.prose .h2 { margin: 16px 0 20px; }
.prose p { font-size: 17px; color: var(--muted); }
.prose p + p { margin-top: 16px; }

.verse { padding: 56px 40px; text-align: center; }
.verse::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 60% at 50% 0%, rgba(249, 169, 8, .22), transparent 70%),
        var(--constellation) 10% 85% / 120px no-repeat,
        var(--constellation) 92% 18% / 90px no-repeat;
    pointer-events: none;
}
.verse > * { position: relative; }
.verse-he { font-family: var(--font-hebrew); font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.5; direction: rtl; }
.verse-en { margin-top: 18px; font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--text); }
.verse-src { margin-top: 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.family .benefit { text-decoration: none; transition: border-color .3s, box-shadow .45s var(--ease); }
.family .benefit:hover { border-color: rgba(249, 169, 8, .55); box-shadow: 0 0 40px -18px var(--gold-glow); }
.family-role { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.family-link { color: var(--gold-light) !important; }
.family-link::after { content: ' ↗'; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.support-card { display: flex; flex-direction: column; gap: 12px; padding: 40px; }
.support-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; letter-spacing: -.015em; }
.support-card p { flex: 1; color: var(--muted); }
.support-card .btn { align-self: flex-start; margin-top: 12px; }

.contact-list { display: grid; gap: 12px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    text-decoration: none;
    transition: border-color .25s, transform .25s var(--ease);
}
.contact-item:hover { border-color: rgba(249, 169, 8, .45); transform: translateX(4px); }
.contact-item .icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
}
.contact-item .icon img { width: 20px; height: 20px; object-fit: contain; }
.contact-item strong { display: block; font-size: 16px; font-weight: 600; }
.contact-item span { font-size: 14px; color: var(--muted); }

/* ---------- Article (web version of a d'var Torah) ---------- */

.article-hero .hero-inner { max-width: 820px; }
.article-head h1 { font-size: clamp(38px, 5vw, 60px); }

.link-back {
    display: flex;
    width: fit-content;
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}
.link-back::before { content: '←'; display: inline-block; margin-right: 8px; transition: transform .25s var(--ease); }
.link-back:hover { color: var(--text); }
.link-back:hover::before { transform: translateX(-3px); }

.byline { font-size: 15px; font-weight: 500; color: var(--text); }
.featured-body .byline { margin-top: 14px; font-size: 14px; color: var(--faint); }

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.article-actions { display: flex; gap: 8px; }

.article-body {
    max-width: 720px;
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.75;
    color: rgba(238, 240, 250, .86);
}
.article-body p + p { margin-top: 1.1em; }
.article-body em { color: var(--text); }
.article-body .lede { font-size: 23px; line-height: 1.6; color: var(--text); }
.article-body .lede::first-letter {
    float: left;
    margin: 8px 12px 0 0;
    font-size: 78px;
    line-height: .8;
    font-weight: 600;
    color: var(--gold);
}
.article-body blockquote {
    position: relative;
    margin: 1.6em 0;
    padding: 4px 0 4px 28px;
    font-size: 24px;
    line-height: 1.5;
    color: var(--text);
    border-left: 2px solid var(--gold);
}
.article-body blockquote + p { margin-top: 0; }
.article-figure { margin: 1.8em 0; }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.article-figure + p { margin-top: 0; }
.article-figure figcaption { margin-top: 10px; font-family: var(--font-body); font-size: 13px; line-height: 1.4; color: var(--faint); text-align: center; }

/* Quoted pesukim and sources: source line, Hebrew, then translation */
.pasuk { margin: 1.6em 0; padding: 22px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); text-align: center; }
.pasuk .src { margin: 0 0 10px !important; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.pasuk .he { margin: 0 !important; font-family: var(--font-hebrew); font-weight: 700; font-size: 26px; line-height: 1.6; direction: rtl; color: var(--text); }
.pasuk .tr { margin: 10px 0 0 !important; font-style: italic; font-size: 18px; line-height: 1.55; color: var(--muted); }
.he-word { font-family: var(--font-hebrew); font-weight: 700; font-style: normal; color: var(--gold-light); unicode-bidi: isolate; }
.sep { margin: 1.8em 0 !important; text-align: center; letter-spacing: .6em; color: var(--gold); }
.article-body ol { margin: 1em 0; padding-left: 1.4em; }
.article-body ol li + li { margin-top: .4em; }
.article-body blockquote.long { font-size: 18px; line-height: 1.6; }
.article-end { margin-top: 2em; text-align: center; }
.article-end .glyph { font-size: 48px; }
.article-share { margin-top: 18px !important; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; font-family: var(--font-body); font-size: 14px; color: var(--muted); }
.article-share a { color: var(--gold-light); text-underline-offset: 3px; }

.share-bar { margin-top: 36px !important; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: linear-gradient(160deg, rgba(22, 39, 119, .35), rgba(4, 7, 26, .4)); text-align: center; font-family: var(--font-body); }
.share-title { font-family: var(--font-display); font-size: 22px; color: var(--text); }
.share-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.share-link { margin-top: 14px !important; font-size: 13px; color: var(--faint); }
.share-link a { color: var(--faint); text-underline-offset: 3px; }
.btn-wa { gap: 7px; }
.wa-icon { width: 17px; height: 17px; flex: none; }
.article-credit { margin-top: 12px !important; text-align: center; font-family: var(--font-body); font-size: 13px; color: var(--faint); }

@media (max-width: 640px) {
    .article-body { font-size: 18px; }
    .article-body .lede { font-size: 20px; }
    .article-body blockquote { font-size: 20px; padding-left: 20px; }
}

/* ---------- Author feature (About) ---------- */

.author-hero .hero-inner { grid-template-columns: 1.2fr .8fr; }
.author-name-he { margin: -6px 0 22px; font-family: var(--font-display); font-size: clamp(20px, 2vw, 24px); color: var(--gold-light); }
.author-lineage { margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--gold); max-width: 60ch; font-size: 15px; line-height: 1.55; color: var(--muted); }
.author-role { margin-top: 24px; font-size: 14px; color: var(--faint); }
.author-role a { margin-left: 6px; color: var(--faint); text-underline-offset: 3px; text-decoration-color: rgba(226, 230, 250, .25); transition: color .2s; }
.author-role a:hover { color: var(--gold-light); }

.portrait {
    position: relative;
    justify-self: center;
    width: min(360px, 100%);
    aspect-ratio: 4 / 5;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(249, 169, 8, .35);
    background:
        var(--constellation) 14% 82% / 120px no-repeat,
        var(--constellation) 88% 14% / 90px no-repeat,
        radial-gradient(70% 60% at 50% 20%, rgba(249, 169, 8, .25), transparent 70%),
        linear-gradient(160deg, var(--navy), var(--bg-deep));
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 80px -30px var(--gold-glow);
    display: grid;
    place-items: center;
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait-initials { font-family: var(--font-display); font-size: 96px; font-weight: 400; letter-spacing: -.02em; }

@media (max-width: 900px) {
    .author-hero .hero-inner { grid-template-columns: 1fr; }
    .portrait { justify-self: start; width: min(280px, 100%); }
}

/* ---------- Legal pages ---------- */

.legal {
    display: grid;
    grid-template-columns: 220px minmax(0, 720px);
    gap: 64px;
    align-items: start;
}
.legal-toc {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 2px;
    padding-left: 16px;
    border-left: 1px solid var(--line);
}
.legal-toc a { padding: 6px 0; font-size: 14px; color: var(--faint); text-decoration: none; transition: color .2s; }
.legal-toc a:hover { color: var(--gold-light); }

.legal-body { font-size: 16px; line-height: 1.75; color: var(--muted); }
.legal-body h2 {
    margin: 48px 0 14px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    letter-spacing: -.01em;
    color: var(--text);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p + p, .legal-body ul + p, .legal-body p + ul { margin-top: 14px; }
.legal-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: .75em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a { color: var(--gold-light); text-underline-offset: 3px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.a11y-link { display: inline-flex; align-items: center; gap: 6px; }
.a11y-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.a11y-link svg .fill { fill: currentColor; stroke: none; }

@media (max-width: 900px) {
    .legal { grid-template-columns: 1fr; gap: 32px; }
    .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; border: 0; }
}

/* ---------- Sponsor-a-month picker (About) ---------- */

.support-grid-sponsor { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }

.sponsor-picker { padding: 32px; }
.picker-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.picker-head .benefit-icon { flex: none; margin: 0; }
.picker-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; letter-spacing: -.015em; }
.picker-head p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.picker {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 20px;
}

.picker-list {
    display: grid;
    align-content: start;
    gap: 6px;
    max-height: 360px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px 8px 4px 4px;
    margin: -4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(249, 169, 8, .35) transparent;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent);
}

.picker-month {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .02);
    cursor: pointer;
    transition: border-color .25s, background-color .25s, box-shadow .35s var(--ease);
}
.picker-month:hover { border-color: rgba(249, 169, 8, .35); background: rgba(255, 255, 255, .04); }
.picker-month[aria-checked="true"] {
    border-color: rgba(249, 169, 8, .75);
    background: rgba(249, 169, 8, .08);
    box-shadow: 0 0 24px -6px rgba(249, 169, 8, .35);
}
.picker-month[aria-disabled="true"] { opacity: .55; }
.pm-he { font-family: var(--font-hebrew); font-weight: 700; font-size: 20px; color: var(--gold-light); text-align: center; direction: rtl; }
.pm-main { display: grid; gap: 2px; min-width: 0; }
.pm-name { font-weight: 600; font-size: 15px; }
.pm-dates { font-size: 13px; color: var(--faint); }
.pm-status { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.picker-month[aria-checked="true"] .pm-status { color: var(--gold-light); }

.picker-detail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 28px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background:
        var(--constellation) right 16px bottom 18px / 120px no-repeat,
        radial-gradient(80% 70% at 100% 0%, rgba(249, 169, 8, .18), transparent 65%),
        linear-gradient(160deg, rgba(22, 39, 119, .55), rgba(4, 7, 26, .6));
}
.pd-he { font-family: var(--font-hebrew); font-weight: 700; font-size: 56px; line-height: 1.1; direction: rtl; color: var(--gold-light); filter: drop-shadow(0 0 20px rgba(249, 169, 8, .35)); }
.pd-name { margin: 4px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: -.015em; }
.pd-dates { font-size: 15px; color: var(--muted); }
.pd-note { margin: 6px 0 14px; font-size: 15px; color: var(--muted); }
.picker-detail .btn { margin-top: auto; }

@media (max-width: 1100px) {
    .support-grid-sponsor { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .sponsor-picker { padding: 24px 18px; }
    .picker { grid-template-columns: 1fr; }
    .picker-list {
        grid-auto-flow: column;
        grid-auto-columns: 150px;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 4px 10px;
        -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
        mask-image: linear-gradient(90deg, #000 85%, transparent);
    }
    .picker-month { grid-template-columns: 1fr; gap: 4px; text-align: left; }
    .pm-he { text-align: left; }
    .pd-he { font-size: 44px; }
}

/* ---------- Site search ---------- */

.search { position: fixed; inset: 0; z-index: 110; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 24px; opacity: 0; transition: opacity .2s var(--ease); }
.search.is-open { opacity: 1; }
.search[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; background: rgba(3, 5, 18, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.search-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(640px, 100%);
    max-height: min(70vh, 640px);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(12, 17, 48, .96);
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 80px -40px var(--gold-glow);
    transform: translateY(-8px) scale(.985);
    transition: transform .3s var(--ease);
}
.search.is-open .search-dialog { transform: none; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-field svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-linecap: round; }
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 400 17px var(--font-body); }
.search-field input::placeholder { color: var(--faint); }
.search-field input:focus { outline: none; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-esc { flex: none; padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 6px; background: none; color: var(--faint); font-size: 12px; cursor: pointer; }
.search-cancel { display: none; }
.search-clear { display: grid; place-items: center; flex: none; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--text); cursor: pointer; }
.search-clear[hidden] { display: none; }
.search-clear svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
@media (hover: none) {
    /* Touch screens: "Cancel" closes search (the X in the field only clears it) */
    .search-esc { padding: 6px 2px 6px 6px; border: 0; color: var(--gold-light); font-size: 16px; font-weight: 500; }
    .search-esc-key { display: none; }
    .search-cancel { display: inline; }
}
}

.search-results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; overscroll-behavior: contain; }
.sr-group { padding: 12px 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.sr-item { display: flex; gap: 14px; align-items: flex-start; padding: 10px; border-radius: 12px; cursor: pointer; }
.sr-item[aria-selected="true"] { background: rgba(249, 169, 8, .1); box-shadow: inset 0 0 0 1px rgba(249, 169, 8, .35); }
.sr-thumb, .sr-icon { flex: none; width: 56px; height: 42px; border-radius: 8px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.sr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sr-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-text { display: grid; gap: 2px; min-width: 0; }
.sr-title { font-weight: 600; font-size: 15px; color: var(--text); }
.sr-meta { font-size: 12px; color: var(--gold-light); }
.sr-desc { font-size: 13px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-results mark { background: none; color: var(--gold-light); font-weight: 600; }
.sr-empty { padding: 28px 12px; text-align: center; color: var(--muted); font-size: 15px; }
.search-foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.search-foot kbd { display: inline-block; min-width: 20px; margin-right: 3px; padding: 1px 5px; border: 1px solid var(--line-strong); border-radius: 5px; font: inherit; text-align: center; }
@media (hover: none) { .search-foot { display: none; } }
@media (max-width: 640px) {
    .search { padding: 12px; }
    .search-dialog { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
}

/* ---------- Pop-up player / reader ---------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.modal.is-open { opacity: 1; }
.modal[hidden] { display: none; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 18, .86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-dialog {
    position: relative;
    width: min(1280px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(12px) scale(.985);
    transition: transform .4s var(--ease);
}
.modal.is-open .modal-dialog { transform: none; }

.modal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 64px;
}
.modal-heading { min-width: 0; }
.modal-heading h2 {
    margin-top: 4px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(20px, 2.2vw, 28px);
    letter-spacing: -.015em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.modal-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.modal-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
    transition: background-color .2s, border-color .2s, transform .25s var(--ease);
}
.modal-close svg { display: block; width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; }
.modal-close:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); transform: rotate(90deg); }

.modal-stage {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 16px;
}

.modal-frame {
    position: relative;
    justify-self: center;
    width: min(100%, calc((100vh - 200px) * 16 / 9));
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 120px -50px var(--gold-glow);
}
.modal-frame.is-short { width: auto; height: min(calc(100vh - 200px), 820px); aspect-ratio: 9 / 16; }
.modal-frame.is-doc { width: 100%; height: calc(100vh - 200px); aspect-ratio: auto; background: #fff; }
.modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.modal-nav {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}
.modal-nav svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.modal-nav.prev svg { transform: scaleX(-1); }
.modal-nav:hover { border-color: rgba(249, 169, 8, .7); background: rgba(249, 169, 8, .1); }
.modal-nav[hidden] { visibility: hidden; display: grid; }

.modal-blurb { padding: 0 64px; max-width: 900px; font-size: 15px; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer {
    position: relative;
    margin-top: 120px;
    padding: 80px 0 40px;
    font-size: 15px;
    color: var(--muted);
    background:
        radial-gradient(50% 80% at 50% 0%, rgba(22, 39, 119, .45), transparent 70%),
        var(--bg-deep);
    border-top: 1px solid var(--line);
}

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.7fr; gap: 48px; }

.footer-brand img { width: 200px; height: auto; }
.footer-brand p { margin-top: 18px; max-width: 280px; font-size: 15px; }

.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    transition: border-color .3s, background-color .3s, box-shadow .45s var(--ease);
}
.socials a:hover { border-color: rgba(249, 169, 8, .6); background: rgba(249, 169, 8, .08); box-shadow: 0 0 0 4px rgba(249, 169, 8, .1), 0 0 24px 2px rgba(249, 169, 8, .35); }
.socials img { width: 17px; height: 17px; object-fit: contain; }

.footer-contact { margin-top: 6px; }
.footer-contact h4 { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.footer-contact a { color: var(--gold-light); text-decoration: none; transition: color .2s; }
.footer-contact a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.footer-col h4 { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }

.footer-news p { margin-bottom: 14px; color: var(--text); font-weight: 500; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--faint);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .rail-video { grid-auto-columns: calc((100% - 1.25 * var(--gap)) / 2.25); }
    .rail-vertical { grid-auto-columns: calc((100% - 3.25 * var(--gap)) / 4.25); }
    .rail-cards { grid-auto-columns: calc((100% - 2.25 * var(--gap)) / 3.25); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .rail-btn.next { right: -12px; }
    .rail-btn.prev { left: -12px; }
}

@media (max-width: 900px) {
    .wrap { padding: 0 24px; }

    .header-inner { height: 58px; padding: 0 8px 0 20px; }
    .brand img { width: 150px; }
    .nav-toggle { display: block; }
    .search-toggle { margin-left: auto; width: 44px; height: 44px; border-color: transparent; background: rgba(255, 255, 255, .06); }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px;
        border-radius: 22px;
        background: rgba(9, 13, 40, .92);
        border: 1px solid rgba(255, 255, 255, .1);
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
        box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
        pointer-events: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .site-nav > a:not(.btn) { padding: 13px 16px; font-size: 16px; border-radius: 14px; }
    .site-nav > a[aria-current="page"]::after { display: none; }
    .site-nav > a[aria-current="page"] { background: rgba(255, 255, 255, .06); }
    .site-nav .btn, .site-nav .btn + .btn { margin: 6px 0 0; padding: 14px; font-size: 15px; }

    .hero { padding: 132px 0 80px; }
    .page-hero { padding: 132px 0 56px; }
    .hero-inner, .featured, .split { grid-template-columns: 1fr; gap: 40px; }
    .hero-posters { height: 380px; max-width: 460px; }

    .section { padding-top: 72px; }
    .rail-btn { display: none; }

    .sponsor { grid-template-columns: auto 1fr; gap: 24px; padding: 28px; }
    .sponsor .btn { grid-column: 1 / -1; justify-self: start; }

    .benefits, .pillars, .support-grid { grid-template-columns: 1fr; }
    .pricing { grid-template-columns: minmax(0, 440px); }
    .plus-panel { padding: 40px 24px 28px; }

    .modal { padding: 12px; }
    .modal-bar, .modal-blurb { padding: 0 4px; }
    .modal-stage { grid-template-columns: minmax(0, 1fr); }
    .modal-nav { display: none; }
    .modal-nav[hidden] { display: none; }
    .modal-frame { width: 100%; }
    .modal-frame.is-short { width: auto; height: min(calc(100vh - 180px), 720px); max-width: 100%; }
    .modal-frame.is-doc { height: calc(100vh - 160px); }

    /* Phones: title across the top with the close button; share buttons below */
    .modal-bar {
        display: grid;
        grid-template-columns: auto auto 1fr auto;
        align-items: center;
        gap: 12px 8px;
    }
    .modal-heading { grid-column: 1 / 4; grid-row: 1; }
    .modal-heading h2 { white-space: normal; font-size: 20px; line-height: 1.2; }
    .modal-actions { display: contents; }
    .modal-close { grid-column: 4; grid-row: 1; align-self: start; }
    #modal-wa { grid-column: 1; grid-row: 2; }
    #modal-copy { grid-column: 2; grid-row: 2; }
    #modal-link { grid-column: 3; grid-row: 2; justify-self: start; }
    .modal-actions .btn[hidden] { display: none; }
    .modal-link-text { display: none; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { padding: 0 16px; }
    :root { --gap: 14px; }

    .rail-video { grid-auto-columns: 82%; }
    .rail-vertical { grid-auto-columns: 46%; }
    .rail-cards { grid-auto-columns: 74%; }

    .section-head { flex-direction: column; align-items: flex-start; }
    .section-head-center { align-items: center; text-align: center; }
    .hero-lead { font-size: 17px; }
    .hero-posters { display: none; }

    .hero-home .hero-inner > div { text-align: center; }
    .hero-home .eyebrow { justify-content: center; }
    .hero-home .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-home .newsletter { margin-left: auto; margin-right: auto; }

    .featured-actions .btn { flex: 1; }

    .sponsor { grid-template-columns: 1fr; }
    .sponsor-month { width: 92px; height: 92px; }

    .plan, .support-card, .benefit { padding: 28px 24px; }
    .plan-price strong { font-size: 48px; }
    .verse { padding: 40px 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .site-footer { margin-top: 88px; padding-top: 64px; }
}

/* ---------- 404 ---------- */
.not-found .not-found-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.not-found .hero-lead { margin: 0 auto; }
.not-found .hero-actions { justify-content: center; }
.not-found { --code-size: clamp(84px, 13vw, 150px); padding-top: 124px; padding-bottom: calc(var(--code-size) * .76 + 28px); }
.not-found-code { display: flex; align-items: center; justify-content: center; gap: .06em; margin: 0 0 18px; font-family: var(--font-display); font-size: var(--code-size); line-height: 1; color: var(--text); }

/* The 0 is the moon: a button that shows one moon fact per click */
.moon-wrap { position: relative; display: inline-flex; }
.moon-zero {
    display: block;
    width: .92em;
    height: .92em;
    margin: 0 .02em;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    cursor: pointer;
    filter: drop-shadow(0 0 22px rgba(251, 248, 236, .28));
    transition: filter .45s var(--ease), transform .45s var(--ease);
}
.moon-svg { display: block; width: 100%; height: 100%; }
.moon-zero:hover, .moon-zero:focus-visible, .moon-wrap.is-open .moon-zero {
    filter: drop-shadow(0 0 30px rgba(251, 248, 236, .5)) drop-shadow(0 0 60px rgba(249, 169, 8, .25));
    transform: scale(1.03);
}
.moon-zero:focus-visible { outline-offset: 6px; }

.moon-bubble {
    position: absolute;
    z-index: 5;
    top: calc(100% + 14px);
    left: 50%;
    width: max-content;
    max-width: min(360px, 86vw);
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(9, 13, 40, .92);
    border: 1px solid rgba(249, 169, 8, .45);
    box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .9), 0 0 40px -16px var(--gold-glow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -6px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
    pointer-events: none;
}
.moon-bubble::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: inherit;
    border-left: 1px solid rgba(249, 169, 8, .45);
    border-top: 1px solid rgba(249, 169, 8, .45);
    transform: translateX(-50%) rotate(45deg);
}
.moon-hint { font-weight: 600; letter-spacing: .04em; color: var(--gold-light); white-space: nowrap; }
.moon-fact-text { display: block; font-size: 15px; }
.moon-fact-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; font-size: 12px; color: var(--faint); }
.moon-wrap.is-open .moon-bubble { width: min(360px, 86vw); padding: 16px 18px; }
@media (hover: hover) {
    .moon-wrap:hover .moon-bubble { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.moon-wrap.is-open .moon-bubble, .moon-zero:focus-visible + .moon-bubble { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }

/* Earth rests directly on the footer */
main:has(.not-found) + .site-footer { margin-top: 0; }

/* Earth, to scale with the moon (3.67x its diameter), mostly below the fold */
.earth {
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: 0;
    width: calc(var(--code-size) * .92 * (92 / 120) * 3.67 / .95);
    height: auto;
    transform: translate(-50%, 72%);
    filter: drop-shadow(0 0 60px rgba(79, 147, 230, .35));
    pointer-events: none;
}
.rocket-rabbi { width: clamp(160px, 18vw, 210px); height: auto; margin-bottom: -8px; overflow: visible; }
.rocket-bob { animation: rocket-bob 5s ease-in-out infinite; transform-origin: 110px 110px; }
.rocket-btn { display: block; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.rocket-btn:focus-visible { outline-offset: 4px; }
.rocket-btn.is-flying { pointer-events: none; }
.rocket-btn.is-flying .rocket-flame { animation: rocket-boost .12s ease-in-out infinite alternate; }
@keyframes rocket-boost { from { transform: scaleY(1.5); } to { transform: scaleY(2.1); } }
.rocket-flame { animation: rocket-flame .45s ease-in-out infinite alternate; transform-origin: 110px 168px; }
.rocket-q { animation: rocket-q 2.6s ease-in-out infinite; transform-origin: 170px 30px; }
@keyframes rocket-bob { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(6px, -10px) rotate(4deg); } }
@keyframes rocket-flame { from { transform: scaleY(.85); } to { transform: scaleY(1.12); } }
@keyframes rocket-q { 0%, 100% { transform: rotate(-8deg); opacity: .75; } 50% { transform: rotate(10deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .rocket-bob, .rocket-flame, .rocket-q { animation: none; }
}
