/* ================================================
   rightball.css — SELF-CONTAINED
   All structural layout + rightball theme colours.
   Loads: reset.css → rightball.css (nothing else)
   ================================================ */

/* ================================================
   gbl-layout.css
   Universal structural layout for all pages.
   Load order: gbl-reset.css → gbl-layout.css → [theme].css

   Contains:
     - Body baseline
     - Navbar structure
     - Footer structure
     - Page width wrappers
     - Shared structural components

   Does NOT contain:
     - Any colours
     - Any theme-specific elements
     - Hero layouts (those live in theme CSS)
     - Page-specific components (inline or theme CSS)
   ================================================ */


/* ── BODY BASELINE ───────────────────────────── */
body {
    padding-top: 68px;
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; transition: color 0.2s; }

/* ── PAGE WIDTH WRAPPERS ─────────────────────── */
section { padding: 7rem 2rem; }

.inner {
    max-width: 1100px;
    margin: 0 auto;
}

.inner--narrow {
    max-width: 740px;
    margin: 0 auto;
}

/* ── SECTION LABELS & HEADINGS ───────────────── */
.section-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 7vw, 6rem);
    line-height: 0.93;
    letter-spacing: 0.02em;
    margin-bottom: 1.75rem;
}

.section-title em { font-style: normal; }

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.95rem 2.2rem;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { }

.btn-outline {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.95rem 2rem;
    border-radius: 2px;
    border-width: 1px;
    border-style: solid;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-ghost-text {
    display: inline-block;
    font-weight: 500;
    font-size: 0.88rem;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

/* ── DIVIDER BAND ────────────────────────────── */
.divider {
    padding: 2.5rem 2rem;
    text-align: center;
    border-top-width: 1px;
    border-top-style: solid;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.divider-text {
    font-size: clamp(1.05rem, 3vw, 1.6rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 700px;
}

/* ── QUOTE BAND ──────────────────────────────── */
.quote-band {
    padding: 3rem 2rem;
    text-align: center;
}

.quote-band blockquote {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: 0.03em;
    max-width: 860px;
    margin: 0 auto;
}

.quote-band cite {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 1.2rem;
}

/* ── EXPLAINER GRID ──────────────────────────── */
.explainer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 3.5rem;
}

.explainer-item { padding: 2.5rem 2rem; }

.explainer-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    line-height: 1;
    opacity: 0.25;
    margin-bottom: 0.8rem;
}

.explainer-item h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.explainer-item p { font-size: 0.88rem; line-height: 1.6; }

/* ── STAT STRIP ──────────────────────────────── */
.stat-strip {
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
}

.stat-inner {
    max-width: 1100px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat { text-align: center; }

.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* ── PLAN CARDS ──────────────────────────────── */
.plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.plan-card {
    border-width: 1px;
    border-style: solid;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}

.plan-card:hover:not(.coming-soon) { }
.plan-card.coming-soon { opacity: 0.55; pointer-events: none; }

.plan-badge {
    position: absolute;
    top: -1px; left: 2.5rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.28rem 0.75rem;
}

.plan-card-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.plan-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.plan-desc { font-size: 0.9rem; margin-bottom: 1.8rem; flex: 1; }

.plan-price-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.plan-price-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.plan-price-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.2rem;
    line-height: 1;
}

.plan-price-val sup {
    font-size: 1.4rem;
    vertical-align: top;
    margin-top: 0.5rem;
    display: inline-block;
}

.plan-price-sep { width: 1px; height: 3rem; align-self: center; }

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    border-top-width: 1px;
    border-top-style: solid;
    padding-top: 1.5rem;
}

.plan-features li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.87rem;
    padding: 0.45rem 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '→'; flex-shrink: 0; }

/* ── TABLE ───────────────────────────────────── */
.free-table-wrap { margin-top: 3rem; overflow-x: auto; }

table { width: 100%; border-collapse: collapse; border-width: 1px; border-style: solid; }

th {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

td {
    padding: 1rem 1.5rem;
    font-size: 0.88rem;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }

/* ── FAQ ─────────────────────────────────────── */
.faq-list { margin-top: 3rem; }

details { border-bottom-width: 1px; border-bottom-style: solid; }

summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.4rem 0;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

summary::-webkit-details-marker { display: none; }

.faq-icon {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

details[open] .faq-icon { transform: rotate(45deg); }
details p { padding: 0 0 1.5rem; font-size: 0.9rem; max-width: 680px; line-height: 1.65; }

/* ── TESTIMONIAL ─────────────────────────────── */
.testimonial {
    border-width: 1px;
    border-style: solid;
    padding: 3rem 3rem 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-size: 7rem;
    opacity: 0.12;
    position: absolute;
    top: 0.5rem; left: 1.75rem;
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1;
}

.testimonial p {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    margin: 0 0 1.25rem;
}

.testimonial cite {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}




/* ════════════════════════════════════════════════
   NAVBAR  —  nav-container namespace
   ════════════════════════════════════════════════ */

.nav-container,
.nav-container *,
.nav-container *::before,
.nav-container *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.nav-container {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    font-family: 'DM Sans', sans-serif;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-logo {
    height: 28px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 0.4rem 0.75rem;
    border-radius: 3px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.nav-links a:hover { text-decoration: none; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.nav-cta {
    display: inline-block;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
}

.menu-toggle { display: none; }

.menu-icon {
    display: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.2s;
}

.menu-icon span,
.menu-icon span::before,
.menu-icon span::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-icon span         { top: 50%; margin-top: -1px; }
.menu-icon span::before { content: ''; top: -7px; }
.menu-icon span::after  { content: ''; bottom: -7px; top: auto; }

.menu-toggle:checked ~ .nav-right .menu-icon span          { background: transparent !important; }
.menu-toggle:checked ~ .nav-right .menu-icon span::before  { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.menu-toggle:checked ~ .nav-right .menu-icon span::after   { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }




/* ════════════════════════════════════════════════
   FOOTER  —  bs-ft namespace
   ════════════════════════════════════════════════ */

.bs-ft,
.bs-ft *,
.bs-ft *::before,
.bs-ft *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.bs-ft {
    border-top-width: 2px;
    border-top-style: solid;
    font-family: 'DM Sans', sans-serif;
}

.bs-ft__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 0;
}

.bs-ft__col {
    padding: 3rem 2.5rem;
    border-right-width: 1px;
    border-right-style: solid;
}

.bs-ft__col:last-child { border-right: none; }

.bs-ft__logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.bs-ft__logo { height: 24px; width: auto; display: block; flex-shrink: 0; }

.bs-ft__name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.12em;
}

.bs-ft__bio { font-size: 0.85rem; line-height: 1.65; max-width: 300px; }

.bs-ft__heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    display: block;
}

.bs-ft__list { list-style: none; }
.bs-ft__item { margin-bottom: 0.6rem; }

.bs-ft__link {
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
    transition: color 0.2s;
}
.bs-ft__link:hover { text-decoration: none; }

.bs-ft__soon {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 0.4rem;
}

.bs-ft__bottom {
    border-top-width: 1px;
    border-top-style: solid;
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bs-ft__copy { font-size: 0.75rem; }
.bs-ft__copy a { text-decoration: none; transition: color 0.2s; }
.bs-ft__copy a:hover { text-decoration: none; }

.bs-ft__nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
}

.bs-ft__nav-item { display: flex; align-items: center; }

.bs-ft__nav-item + .bs-ft__nav-item::before {
    content: '';
    display: block;
    width: 1px;
    height: 0.8em;
    margin: 0 0.9rem;
    flex-shrink: 0;
}

.bs-ft__nav-link { font-size: 0.75rem; text-decoration: none; transition: color 0.2s; }
.bs-ft__nav-link:hover { text-decoration: none; }


/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {

    /* Navbar */
    .menu-icon { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        gap: 0;
        padding: 0.5rem 0;
        z-index: 999;
        border-top-width: 2px;
        border-top-style: solid;
        border-bottom-width: 1px;
        border-bottom-style: solid;
        box-shadow: 0 16px 48px rgba(0,0,0,0.4);
        animation: menuDown 0.2s ease forwards;
        font-family: 'DM Sans', sans-serif;
    }

    .nav-links li { width: 100%; border-bottom-width: 1px; border-bottom-style: solid; }
    .nav-links li:last-child { border-bottom: none; }

    .nav-links a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 1rem 2rem;
        border-radius: 0;
        font-size: 0.95rem;
        text-transform: none;
        letter-spacing: 0.03em;
        font-weight: 500;
        text-decoration: none;
    }

    .nav-links a:hover { text-decoration: none; }
    .menu-toggle:checked ~ .nav-links { display: flex; }

    /* Section */
    section { padding: 5rem 1.5rem; }

    /* Explainer */
    .explainer-grid { grid-template-columns: 1fr; }

    /* Plans */
    .plans-grid { grid-template-columns: 1fr; }

    /* Tables */
    table th, table td { padding: 0.8rem 1rem; }

    /* Testimonial */
    .testimonial { padding: 2rem 1.75rem; }

    /* Footer */
    .bs-ft__top { grid-template-columns: 1fr; }

    .bs-ft__col {
        border-right: none;
        border-bottom-width: 1px;
        border-bottom-style: solid;
        padding: 2.5rem 1.5rem;
    }

    .bs-ft__col:last-child { border-bottom: none; }
    .bs-ft__bio { max-width: 100%; }

    .bs-ft__bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1.5rem;
        gap: 0.6rem;
    }

    .bs-ft__nav { flex-wrap: wrap; gap: 0.75rem; }
    .bs-ft__nav-item + .bs-ft__nav-item::before { display: none; }
}

@keyframes menuDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (min-width: 901px) {
    .nav-brand-group { margin-right: 1rem; }
}



/* ════════════════════════════════════════════════
   HERO LAYOUT  —  bs-hero namespace
   Shared structure for all pages.
   Background image set inline per page.
   Colours set in theme CSS.
   ════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════
   HERO LAYOUT  —  bs-hero namespace
   Shared structure for all pages.
   Background image set inline per page.
   Colours set in theme CSS.
   ════════════════════════════════════════════════ */

.bs-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

/* Dark overlay — opacity set via theme CSS on ::before */
.bs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Ghost text — top right, outline style */
.bs-hero__ghost {
    position: absolute;
    top: -0.15em;
    right: -0.05em;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(120px, 22vw, 280px);
    line-height: 1;
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.10);
    pointer-events: none;
    user-select: none;
    z-index: 2;
    white-space: nowrap;
}

/* Neon stripe — rightball only */
.bs-hero__stripe {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    z-index: 4;
}

.bs-hero__inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2.5rem 3.5rem;
}

.bs-hero__content { max-width: 860px; width: 100%; }

.bs-hero__kicker {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    padding: 4px 10px;
}

.bs-hero__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 12vw, 8rem);
    line-height: 0.88;
    letter-spacing: 0.01em;
    margin-bottom: 1.25rem;
}

.bs-hero__title em  { font-style: normal; }
.bs-hero__title mark { padding: 0 6px; display: inline; }

.bs-hero__tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 400;
    max-width: 560px;
    line-height: 1.55;
    margin-bottom: 0;
}

/* Optional meta row (rightball: tagline + dots side by side) */
.bs-hero__meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Actions row */
.bs-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2rem;
}

/* Footnote */
.bs-hero__footnote {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
}

.bs-hero__fn-line {
    width: 48px;
    height: 1px;
    flex-shrink: 0;
}

.bs-hero__footnote span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ── Ball dots (rightball only) ──────────────── */
.bs-hero__dots {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.bs-hero__dot-wrap,
.bs-hero__dot-pair-wrap {
    position: relative;
    display: flex;
    align-items: center;
    cursor: default;
}

.bs-hero__dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

.bs-hero__dot-wrap:hover > .bs-hero__dot,
.bs-hero__dot-pair-wrap:hover .bs-hero__dot { transform: scale(1.7); }

.bs-hero__dot-label {
    position: absolute;
    bottom: calc(100% + 13px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 2px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s 0.06s;
    z-index: 20;
}

.bs-hero__dot-label::after {
    content: '';
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
}

.bs-hero__dot-wrap:hover .bs-hero__dot-label,
.bs-hero__dot-pair-wrap:hover .bs-hero__dot-label { opacity: 1; }

.bs-hero__dot-pair { display: flex; gap: 4px; align-items: center; }

.bs-hero__dot-sep {
    width: 1px; height: 20px;
    flex-shrink: 0;
    margin: 0 2px;
}

/* ── Animations ──────────────────────────────── */
@keyframes heroUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bs-hero__kicker  { animation: heroUp 0.45s 0.05s both; }
.bs-hero__title   { animation: heroUp 0.55s 0.15s both; }
.bs-hero__tagline { animation: heroUp 0.55s 0.28s both; }
.bs-hero__meta    { animation: heroUp 0.55s 0.28s both; }
.bs-hero__actions { animation: heroUp 0.55s 0.38s both; }
.bs-hero__footnote { animation: heroUp 0.55s 0.48s both; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
    .bs-hero { min-height: 380px; align-items: center; }
    .bs-hero__inner { padding: 4rem 1.5rem 3rem; }
    .bs-hero__dots  { display: none; }
    .bs-hero__ghost { font-size: clamp(100px, 28vw, 180px); }
}

@media (max-width: 600px) {
    .bs-hero { min-height: 320px; }
}

/* ════════════════════════════════════════════════
   RIGHTBALL THEME — tokens + colour overrides
   ════════════════════════════════════════════════ */

/* ================================================
   rightball.css
   Rightball theme: concrete grey + chartreuse neon
   Covers: header, hero, body, footer colours + layout
   Load order: gbl-reset.css → gbl-layout.css → rightball.css
   ================================================ */

/* ── TOKENS ──────────────────────────────────── */
:root {
    /* Palette */
    --neon:                #c8f000;
    --neon-dim:            rgba(200,240,0,0.10);
    --c0:                  #f5f4f2;
    --c1:                  #ebebea;
    --c2:                  #d8d6d2;
    --c3:                  #b8b5b0;
    --c4:                  #7a7772;
    --c5:                  #3d3c3a;
    --c6:                  #1e1d1b;
    --c7:                  #0f0e0d;
    --dot-blue:            #1a6ed8;
    --dot-red:             #cc2222;
    --dot-yellow:          #d4a800;
    --rule:                1px solid var(--c2);
    --max-w:               860px;
    --font-d:              'Bebas Neue', sans-serif;
    --font-c:              'Barlow Condensed', sans-serif;
    --font-b:              'DM Sans', sans-serif;

    /* Header */
    --h-bg:                #f5f4f2;
    --h-border:            #d8d6d2;
    --h-brand:             #BE0F17;
    --h-brand-hover:       #1e1d1b;
    --h-accent:            #c8f000;
    --h-nav-link:          #7a7772;
    --h-nav-hover:         #1e1d1b;
    --h-nav-hover-bg:      rgba(200,240,0,0.10);
    --h-dropdown-bg:       #f5f4f2;
    --h-dropdown-divider:  #d8d6d2;
    --h-dropdown-link:     #3d3c3a;
    --h-dropdown-hover:    #1e1d1b;
    --h-dropdown-hover-bg: rgba(200,240,0,0.10);
    --h-cta-bg:            #c8f000;
    --h-cta-text:          #0f0e0d;
    --h-cta-hover-bg:      #1e1d1b;
    --h-cta-hover-text:    #c8f000;
    --h-burger-border:     #d8d6d2;
    --h-burger-bar:        #1e1d1b;

    /* Footer */
    --ft-top-bg:           #1e2a14;
    --ft-bottom-bg:        #141c0d;
    --ft-accent:           #c8f000;
    --ft-border:           rgba(200,240,0,0.35);
    --ft-divider:          rgba(255,255,255,0.07);
    --ft-bottom-divider:   rgba(255,255,255,0.07);
    --ft-heading:          #ffffff;
    --ft-text:             rgba(255,255,255,0.55);
    --ft-text-strong:      rgba(255,255,255,0.85);
    --ft-link:             rgba(255,255,255,0.60);
    --ft-link-hover:       #ffffff;
    --ft-copy:             rgba(255,255,255,0.35);
    --ft-copy-link:        rgba(255,255,255,0.45);
    --ft-copy-hover:       #c8f000;
    --ft-nav-link:         rgba(255,255,255,0.35);
    --ft-nav-hover:        #c8f000;
    --ft-separator:        rgba(255,255,255,0.80);
    --ft-soon-bg:          rgba(200,240,0,0.12);
    --ft-soon-text:        rgba(200,240,0,0.60);
}

/* ── HEADER ──────────────────────────────────── */
.nav-container {
    background: var(--h-bg);
    border-bottom-color: var(--h-accent);
    box-shadow: 0 1px 0 var(--h-border);
}
.nav-logo        { filter: none; }
.nav-brand       { color: var(--h-brand); }
.nav-brand:hover { color: var(--h-brand-hover); }
.nav-links a { color: var(--h-nav-link); }
.nav-links a:hover { color: var(--h-nav-hover); background: var(--h-nav-hover-bg); }
.nav-cta       { background: var(--h-cta-bg); color: var(--h-cta-text); }
.nav-cta:hover { background: var(--h-cta-hover-bg); color: var(--h-cta-hover-text); }
.menu-icon { border-color: var(--h-burger-border); }
.menu-icon span,
.menu-icon span::before,
.menu-icon span::after       { background: var(--h-burger-bar); }
.menu-icon:hover             { border-color: var(--h-accent); }
.menu-icon:hover span,
.menu-icon:hover span::before,
.menu-icon:hover span::after { background: var(--h-accent); }

@media (max-width: 900px) {
    .nav-links {
        background: var(--h-dropdown-bg);
        border-top-color: var(--h-accent);
        border-bottom-color: var(--h-border);
    }
    .nav-links li      { border-bottom-color: var(--h-dropdown-divider); }
    .nav-links a       { color: var(--h-dropdown-link); }
    .nav-links a:hover { color: var(--h-dropdown-hover); background: var(--h-dropdown-hover-bg); }
}

/* ── BODY BASELINE ───────────────────────────── */
body { background: var(--c1); color: var(--c5); font-family: var(--font-b); }
a       { color: var(--c6); }
a:hover { color: var(--c5); }

/* ── HERO ────────────────────────────────────── */
.bs-hero                { background-color: var(--c6); border-bottom: var(--rule); }
.bs-hero::before        { background: rgba(30,29,27,0.80); }
.bs-hero__ghost         { -webkit-text-stroke: 1px rgba(255,255,255,0.08); }
.bs-hero__stripe        { background: var(--neon); }
.bs-hero__kicker        { color: var(--c7); background: var(--neon); font-family: var(--font-c); }
.bs-hero__title         { color: #ffffff; font-family: var(--font-d); }
.bs-hero__title em      { color: var(--neon); font-family: var(--font-d); }
.bs-hero__title mark    { background: var(--neon); color: var(--c6); -webkit-text-stroke: 0; }
.bs-hero__tagline       { color: rgba(255,255,255,0.75); font-family: var(--font-c); }
.bs-hero__fn-line       { background: var(--neon); }
.bs-hero__footnote span { color: var(--neon); }
.bs-hero__dot-sep       { background: var(--c3); }
.bs-hero__dot-label     { background: var(--c6); color: var(--c0); }
.bs-hero__dot-label::after { border-top-color: var(--c6); }
.btn-primary       { background: var(--neon); color: var(--c7); font-weight: 700; }
.btn-primary:hover { background: #ffffff; color: var(--c7); }
.btn-ghost-text       { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.3); }
.btn-ghost-text:hover { color: var(--neon); border-bottom-color: var(--neon); }



/* ── Ball dots (rightball only) ──────────────── */
.bs-hero__dots {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}
 
.bs-hero__dot-wrap,
.bs-hero__dot-pair-wrap {
    position: relative;
    display: flex;
    align-items: center;
    cursor: default;
}
 
.bs-hero__dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
 
.bs-hero__dot-wrap:hover > .bs-hero__dot,
.bs-hero__dot-pair-wrap:hover .bs-hero__dot { transform: scale(1.7); }
 
.bs-hero__dot-label {
    position: absolute;
    bottom: calc(100% + 13px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 2px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s 0.06s;
    z-index: 20;
}
 
.bs-hero__dot-label::after {
    content: '';
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
}
 
.bs-hero__dot-wrap:hover .bs-hero__dot-label,
.bs-hero__dot-pair-wrap:hover .bs-hero__dot-label { opacity: 1; }
 
.bs-hero__dot-pair { display: flex; gap: 4px; align-items: center; }
 
.bs-hero__dot-sep {
    width: 1px; height: 20px;
    flex-shrink: 0;
    margin: 0 2px;
}

/* ── SECTION NAV ─────────────────────────────── */
.section-nav {
    background: var(--c0);
    border-bottom: var(--rule);
    border-top: var(--rule);
    position: sticky;
    top: 68px;
    z-index: 100;
}

.section-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}
.section-nav__inner::-webkit-scrollbar { display: none; }

.section-nav__link {
    font-family: var(--font-c);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 11px 14px;
    white-space: nowrap;
    border-right: var(--rule);
    transition: color 0.15s, background 0.15s;
    color: var(--c4);
}
.section-nav__link:first-child { border-left: var(--rule); }
.section-nav__link:hover       { color: var(--c6); background: var(--neon-dim); }

.section-nav__toggle {
    display: none;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 2.5rem;
    font-family: var(--font-c);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    width: 100%;
    justify-content: space-between;
    color: var(--c5);
}
.section-nav__toggle:hover { background: var(--neon-dim); }
.section-nav__toggle-icon  { font-size: 1rem; line-height: 1; }
.section-nav__dropdown     { display: none; flex-direction: column; border-top: var(--rule); background: var(--c0); }
.section-nav__dropdown .section-nav__link { border-bottom-color: var(--c2); }

/* ── PAGE WRAP ───────────────────────────────── */
.page-wrap    { max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }
.content-col  { padding: 0 0 80px; }

/* ── CONTENT SECTIONS ────────────────────────── */
.sec { padding: 52px 0; border-bottom: var(--rule); }
.sec:last-child { border-bottom: none; }

.sec__head {
    display: grid;
    grid-template-columns: 52px 1fr;
    margin-bottom: 28px;
    border-bottom: 2px solid var(--c6);
    padding-bottom: 10px;
}

.sec__num {
    font-family: var(--font-c);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    margin-right: 14px;
    color: var(--neon);
    background: var(--c6);
}

.sec__title { font-family: var(--font-d); font-size: clamp(2.2rem,4.5vw,3.4rem); line-height: 0.92; letter-spacing: 0.02em; color: var(--c6); }
.sec__sub   { font-family: var(--font-c); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 22px; color: var(--c4); }
.sec p      { margin-bottom: 18px; color: var(--c5); }
.sec p:last-child { margin-bottom: 0; }
.sec strong { font-weight: 700; color: var(--c6); }

.sec li              { color: var(--c5); border-bottom-color: var(--c2); }
.sec li::before      { background: var(--neon); }
.sec li::after       { color: var(--neon); }
.sec li:hover        { background: rgba(200,240,0,0.06); }
.ref-list li a       { color: var(--c5); }
.ref-list li a:hover { color: var(--c6); }

/* ── CALLOUTS ────────────────────────────────── */
.callout        { border-left: 4px solid; padding: 18px 22px; margin: 22px 0; background: var(--c0); }
.callout p      { font-size: 0.95rem; margin: 0; color: var(--c5); }
.callout--alert { border-color: var(--dot-red); }
.callout--info  { border-color: var(--dot-blue); }
.callout--neon  { border-color: var(--neon); background: var(--neon-dim); }

/* ── BALL FINDER ─────────────────────────────── */
.finder         { padding: 36px; position: relative; overflow: hidden; background: var(--c5); }
.finder::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--neon); }
.finder__heading { font-family: var(--font-d); font-size: 2.4rem; line-height: 1; margin-bottom: 4px; color: var(--c0); }
.finder__sub    { font-family: var(--font-c); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 28px; color: var(--c3); }
.finder__label  { font-family: var(--font-c); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-bottom: 10px; color: var(--neon); }
.finder__row    { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.finder__btn              { background: transparent; font-family: var(--font-c); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 8px 18px; cursor: pointer; transition: all 0.12s; border: 1px solid rgba(255,255,255,0.2); color: var(--c3); }
.finder__btn:hover        { border-color: var(--neon); color: var(--neon); }
.finder__btn.active       { background: var(--neon); border-color: var(--neon); color: var(--c7); }
.finder__result           { display: none; margin-top: 20px; padding: 22px; border-radius: 2px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); }
.finder__result.show      { display: block; }
.finder__result-row       { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.finder__dot-single       { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.finder__dot-double       { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.finder__dot-double span  { width: 36px; height: 36px; border-radius: 50%; display: block; }
.finder__ball-name        { font-family: var(--font-d); font-size: 2rem; line-height: 1; color: #ffffff; }
.finder__why              { font-size: 0.92rem; line-height: 1.7; margin-bottom: 16px; color: var(--c0); }
.finder__reset            { background: none; font-family: var(--font-c); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 14px; cursor: pointer; transition: all 0.12s; display: inline-block; border: 1px solid rgba(255,255,255,0.2); color: var(--c3); }
.finder__reset:hover      { border-color: var(--dot-red); color: var(--dot-red); }

/* ── BALL CARDS ──────────────────────────────── */
.ball-grid { display: grid; grid-template-columns: 1fr 1fr; border: var(--rule); margin: 24px 0; }
.ball-card { padding: 22px; border-right: var(--rule); border-bottom: var(--rule); position: relative; transition: background 0.15s; background: var(--c0); }
.ball-card:hover { background: #ffffff; }
.ball-card:nth-child(even) { border-right: none; }
.ball-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--bcard-color, var(--c2)); }
.ball-card__top   { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ball-card__dot   { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.ball-card__dot-pair { display: flex; gap: 5px; align-items: center; }
.ball-card__tag   { font-family: var(--font-c); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 2px 7px; border: var(--rule); color: var(--c3); background: var(--c1); }
.ball-card__name  { font-family: var(--font-d); font-size: 1.55rem; line-height: 1; margin-bottom: 8px; color: var(--c6); }
.ball-card__desc  { font-size: 0.82rem; line-height: 1.6; color: var(--c4); }
.bounce-bar       { margin-top: 14px; height: 3px; background: var(--c2); }
.bounce-bar__fill { height: 100%; background: var(--bcard-color, var(--c4)); }
.bounce-label     { font-family: var(--font-c); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; display: flex; justify-content: space-between; color: var(--c3); }
.ball-grid--spec .ball-card       { background: var(--c1); }
.ball-grid--spec .ball-card:hover { background: var(--c0); }

/* ── TESTS ───────────────────────────────────── */
.test-block { display: grid; grid-template-columns: 72px 1fr; border: var(--rule); border-bottom: none; }
.test-block:last-child { border-bottom: var(--rule); }
.test-block__num  { font-family: var(--font-d); font-size: 3rem; display: flex; align-items: center; justify-content: center; border-right: var(--rule); padding: 16px 0; line-height: 1; color: var(--neon); background: var(--c5); }
.test-block__body { padding: 18px 22px; background: var(--c0); }
.test-block__name { font-family: var(--font-d); font-size: 1.4rem; margin-bottom: 6px; color: var(--c6); }
.test-block__desc { font-size: 0.88rem; line-height: 1.65; color: var(--c5); }

/* ── SENTENCES ───────────────────────────────── */
.sentence { display: grid; grid-template-columns: 52px 1fr; border: var(--rule); border-bottom: none; overflow: hidden; }
.sentence:last-child { border-bottom: var(--rule); }
.sentence__n    { font-family: var(--font-d); font-size: 2.2rem; line-height: 1; display: flex; align-items: center; justify-content: center; border-right: 2px solid; color: var(--c6); background: var(--neon); border-right-color: var(--c6); }
.sentence__text { padding: 20px 24px; font-family: var(--font-c); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.5; color: var(--c5); background: var(--c0); }

.img-rule { width: 100%; height: auto; display: block; margin: 22px 0; border: var(--rule); }

/* ── FOOTER ──────────────────────────────────── */
.bs-ft { background: var(--ft-top-bg); border-top-color: var(--ft-border); }
.bs-ft__col { border-right-color: var(--ft-divider); border-bottom-color: var(--ft-divider); }
.bs-ft__name { color: var(--ft-accent); }
.bs-ft__logo-group:hover .bs-ft__name { color: #ffffff; }
.bs-ft__bio        { color: var(--ft-text); }
.bs-ft__bio strong { color: var(--ft-text-strong); }
.bs-ft__bio a      { color: var(--ft-accent); }
.bs-ft__bio a:hover { color: var(--ft-link-hover); }
.bs-ft__heading    { color: var(--ft-heading); }
.bs-ft__link       { color: var(--ft-link); }
.bs-ft__link:hover { color: var(--ft-link-hover); }
.bs-ft__soon { background: var(--ft-soon-bg); color: var(--ft-soon-text); }
.bs-ft__bottom { background: var(--ft-bottom-bg); border-top-color: var(--ft-bottom-divider); }
.bs-ft__copy         { color: var(--ft-copy); }
.bs-ft__copy a       { color: var(--ft-copy-link); }
.bs-ft__copy a:hover { color: var(--ft-copy-hover); }
.bs-ft__nav-link       { color: var(--ft-nav-link); }
.bs-ft__nav-link:hover { color: var(--ft-nav-hover); }
.bs-ft__nav-item + .bs-ft__nav-item::before { background: var(--ft-separator); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
    .section-nav__inner  { display: none; }
    .section-nav__toggle { display: flex; }
    .section-nav__dropdown .section-nav__link { border-right: none; border-left: none; border-bottom: var(--rule); padding: 12px 2.5rem; }
    .section-nav__dropdown .section-nav__link:last-child { border-bottom: none; }
    .hero__dots    { display: none; }
    .hero__content { padding: 40px 1.5rem 44px; }
}

@media (max-width: 600px) {
    .sec { padding: 36px 0; }
    .ball-grid { grid-template-columns: 1fr; }
    .ball-card:nth-child(even) { border-right: var(--rule); }
    .hero__ghost { display: none; }
    .finder { padding: 24px 20px; }
    .page-wrap { padding: 0 1rem; }
}

/* ── Footer brand column modifier ── */
.bs-ft__col--brand { padding-right: 3rem; }


/* ════════════════════════════════════════════════
   RIGHTBALL — MISSING RULES
   ════════════════════════════════════════════════ */

/* ── Dot colour variables (missing from :root) ── */
:root {
    --dot-white:  #cccccc;
    --dot-green:  #2a7a2a;
}

/* ── Ball card colour modifiers ── */
.ball-card--blue   { --bcard-color: var(--dot-blue); }
.ball-card--red    { --bcard-color: var(--dot-red); }
.ball-card--white  { --bcard-color: var(--dot-white); }
.ball-card--yellow { --bcard-color: var(--dot-yellow); }
.ball-card--green  { --bcard-color: var(--dot-green); }
.ball-card--grey   { --bcard-color: #999; }
.ball-card--span   { grid-column: 1 / -1; }

/* ── Ball dot colours ── */
.ball-card__dot.dot--blue   { background: var(--dot-blue); }
.ball-card__dot.dot--red    { background: var(--dot-red); }
.ball-card__dot.dot--white  { background: var(--dot-white); border: 1px solid #aaa; }
.ball-card__dot.dot--yellow { background: var(--dot-yellow); }
.ball-card__dot.dot--green  { background: var(--dot-green); }

/* ── Ball card dot sizes ── */
.ball-card__dot--lg { width: 30px; height: 30px; }
.ball-card__dot--md { width: 28px; height: 28px; }

/* ── Bounce bar fills ── */
.bounce-bar__fill--95 { width: 95%; }
.bounce-bar__fill--78 { width: 78%; }
.bounce-bar__fill--58 { width: 58%; }
.bounce-bar__fill--42 { width: 42%; }
.bounce-bar__fill--26 { width: 26%; }

/* ── Finder result text — must be light against dark bg ── */
.finder__why  { color: rgba(255,255,255,0.85) !important; }

/* ── Poster grid ── */
.poster-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 24px;
}

.poster-grid__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poster-grid__item img {
    display: block;
    width: 200px;
    height: auto;
    border: 1px solid var(--c2);
    transition: opacity 0.2s;
}

.poster-grid__item a:hover img { opacity: 0.85; }

.poster-grid__caption {
    font-size: 0.82rem;
    font-style: italic;
    margin: 0;
    width: 200px;
    color: var(--c4);
}