/* ================================================
   glossary.css — SELF-CONTAINED
   Oxford Ink palette: navy #1a2744 + gold #c9a84c
   Loads: reset.css → glossary.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; }
}

/* ════════════════════════════════════════════════
   GLOSSARY PAGE STYLES — tokens + layout + colour
   ════════════════════════════════════════════════ */

        /* ── DESIGN TOKENS — Oxford Ink palette ── */
        :root {
            --gl-cream-light: #f8f7f4;
            --gl-cream-mid:   #f0ede8;
            --gl-cream-dark:  #e2ddd6;
            --gl-olive-light: #c9a84c;
            --gl-olive-dark:  #1a2744;
            --gl-ink:         #0f1620;
            --gl-ink-mid:     #1a2744;
            --gl-ink-soft:    #4a5568;
            --gl-rule:        rgba(26,39,68,0.18);
            --gl-accent:      #1a2744;

            --font-d: 'Bebas Neue', sans-serif;
            --font-c: 'Barlow Condensed', sans-serif;
            --font-b: 'DM Sans', sans-serif;
            --font-serif: Georgia, 'Times New Roman', serif;
            --font-mono: 'Courier New', Courier, monospace;

            --max-width: 860px;
        }

        /* ── BODY OVERRIDES ── */
        body {
            background: var(--gl-cream-light);
            color: var(--gl-ink);
            overflow-x: hidden;
        }

        a       { color: #BE0F17; text-decoration: underline; text-underline-offset: 2px; }
        a:hover { color: #8a0b10; }

        /* ── HERO ── */
        .hero {
            position: relative;
            width: 100%;
            min-height: 420px;
            padding-top: 68px;
            background-image: url('rightball.avif');
            background-attachment: scroll;
            background-position: center 35%;
            background-size: cover;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            overflow: hidden;
        }

        .hero::before { display: none; }

        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(20,24,10,0.50);
            z-index: 1;
        }

        .hero__ghost {
            position: absolute;
            top: -10px;
            right: -10px;
            font-family: var(--font-d);
            font-size: clamp(160px, 24vw, 300px);
            line-height: 1;
            color: transparent;
            -webkit-text-stroke: 1px rgba(254,250,224,0.07);
            pointer-events: none;
            user-select: none;
            z-index: 2;
        }

        .hero__stripe {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 4px;
            background: var(--gl-olive-dark);
            z-index: 4;
        }

        .hero__content {
            position: relative;
            z-index: 3;
            padding: 56px 2.5rem 52px;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        .hero__kicker {
            display: inline-flex;
            align-items: center;
            font-family: var(--font-c);
            font-weight: 700;
            font-size: 0.72rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            padding: 4px 10px;
            margin-bottom: 20px;
            background: var(--gl-olive-light);
            color: #0f1620;
            animation: slideUp 0.4s 0.05s both;
        }

        .hero__title {
            font-family: var(--font-d);
            font-size: clamp(3.5rem, 10vw, 8rem);
            line-height: 0.88;
            letter-spacing: 0.01em;
            margin-bottom: 28px;
            color: #ffffff;
            animation: slideUp 0.5s 0.15s both;
        }

        .hero__title mark {
            background: var(--gl-olive-light);
            color: #0f1620;
            -webkit-text-stroke: 0;
            padding: 0 6px;
            display: inline;
        }

        .hero__tagline {
            font-family: var(--font-c);
            font-size: 1.05rem;
            font-weight: 400;
            letter-spacing: 0.02em;
            max-width: 520px;
            line-height: 1.5;
            color: rgba(254,250,224,0.82);
            animation: slideUp 0.5s 0.28s both;
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(14px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        /* ── STICKY CONTROLS ── */
        #controls {
            position: sticky;
            top: 68px;
            z-index: 100;
            background: var(--gl-cream-mid);
            border-bottom: 3px solid var(--gl-olive-dark);
            padding: 10px 20px;
        }

        #controls-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            display: flex;
            gap: 10px;
            align-items: center;
        }

        #controls-label {
            font-family: var(--font-d);
            font-size: 1.05rem;
            letter-spacing: 0.1em;
            color: var(--gl-olive-dark);
            white-space: nowrap;
            flex-shrink: 0;
        }

        #search-input {
            flex: 1;
            font-family: var(--font-mono);
            font-size: 0.85em;
            padding: 8px 12px;
            border: 1.5px solid var(--gl-olive-dark);
            outline: none;
            background: var(--gl-cream-light);
            color: var(--gl-ink);
            border-radius: 0;
            -webkit-appearance: none;
        }

        #search-input:focus {
            border-color: var(--gl-olive-light);
            box-shadow: 0 0 0 2px rgba(121,134,69,0.2);
        }

        #search-input::placeholder { color: var(--gl-ink-soft); opacity: 1; }

        #search-clear {
            display: none;
            background: none;
            border: 1.5px solid var(--gl-rule);
            color: var(--gl-ink-soft);
            font-family: var(--font-mono);
            font-size: 0.75em;
            padding: 7px 10px;
            cursor: pointer;
            white-space: nowrap;
            border-radius: 0;
        }

        #search-clear:hover { border-color: var(--gl-olive-dark); color: var(--gl-olive-dark); }

        #search-count {
            font-size: 0.72em;
            color: var(--gl-ink-soft);
            white-space: nowrap;
            letter-spacing: 0.05em;
            min-width: 60px;
            text-align: right;
            font-family: var(--font-mono);
        }

        #entry-count {
            font-family: var(--font-mono);
            font-size: 0.68em;
            color: var(--gl-ink-soft);
            letter-spacing: 0.08em;
            white-space: nowrap;
            border: 1px solid var(--gl-rule);
            padding: 2px 8px;
            flex-shrink: 0;
        }

        .is-searching #entry-count { display: none; }

        /* ── ALPHABET NAV ── */
        #alpha-nav {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 14px 20px 0;
            display: flex;
            flex-wrap: wrap;
            gap: 3px;
        }

        .nav-letter {
            display: inline-block;
            width: 28px;
            height: 28px;
            line-height: 26px;
            text-align: center;
            font-family: var(--font-mono);
            font-size: 0.72em;
            font-weight: bold;
            border: 1px solid var(--gl-rule);
            text-decoration: none;
            color: var(--gl-ink);
            background: var(--gl-cream-light);
            transition: background 0.12s, color 0.12s, border-color 0.12s;
        }

        a.nav-letter:hover {
            background: var(--gl-olive-dark);
            color: var(--gl-cream-light);
            border-color: var(--gl-olive-dark);
        }

        .nav-inactive {
            color: var(--gl-rule);
            border-color: var(--gl-cream-dark);
            cursor: default;
        }

        .is-searching #alpha-nav { display: none; }

        /* ── GLOSSARY WRAP ── */
        #glossary-wrap {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px 60px;
        }

        /* ── LETTER SECTIONS ── */
        .letter-section { margin-top: 40px; }

        .letter-heading {
            font-family: var(--font-d);
            font-size: 2.6rem;
            font-weight: normal;
            color: var(--gl-olive-light);
            border-bottom: 2px solid var(--gl-olive-dark);
            padding-bottom: 4px;
            margin-bottom: 4px;
            line-height: 1;
            scroll-margin-top: 110px;
        }

        .is-searching .letter-heading { display: none; }
        .is-searching .letter-section { margin-top: 0; }

        /* ── ENTRY LIST ── */
        .letter-section ul { list-style: none; padding: 0; }

        .letter-section li {
            padding: 14px 0;
            border-bottom: 1px solid var(--gl-cream-dark);
            display: grid;
            grid-template-columns: 220px 1fr;
            gap: 0 24px;
            align-items: baseline;
        }


        .letter-section li:last-child { border-bottom: none; }

        .letter-section li .term {
            font-family: var(--font-b);
            font-size: 0.85em;
            font-weight: 700;
            color: var(--gl-ink);
            display: block;
            padding-top: 2px;
            word-break: break-word;
            letter-spacing: 0.02em;
        }

        .letter-section li > span:not(.term):not(.example-box) {
            font-family: var(--font-b);
            font-size: 0.88em;
            color: var(--gl-ink-mid);
            line-height: 1.75;
            display: block;
        }

        .example-box {
            display: block;
            margin-top: 8px;
            padding: 6px 12px;
            background: var(--gl-cream-dark);
            border-left: 3px solid var(--gl-olive-light);
            font-size: 0.85em;
            font-style: italic;
            color: var(--gl-ink-soft);
            font-family: var(--font-b);
        }

        mark {
            background: rgba(201,168,76,0.28);
            color: var(--gl-ink);
            border-radius: 2px;
            padding: 0 1px;
        }

        li.hidden { display: none; }

        #no-results {
            display: none;
            padding: 40px 0;
            color: var(--gl-ink-soft);
            font-size: 0.9em;
            letter-spacing: 0.06em;
            font-family: var(--font-mono);
        }

        /* ── BACK TO TOP ── */
        #back-to-top {
            text-align: right;
            padding: 24px 0 8px;
            font-size: 0.78em;
            letter-spacing: 0.08em;
            font-family: var(--font-mono);
        }

        #back-to-top a {
            color: var(--gl-ink-soft);
            text-decoration: none;
            border-bottom: 1px solid var(--gl-rule);
            padding-bottom: 1px;
        }

        #back-to-top a:hover { color: var(--gl-olive-dark); border-color: var(--gl-olive-dark); }
        .is-searching #back-to-top { display: none; }

        /* ── GLOSSARY FOOTER NOTE ── */
        #glossary-note {
            border-top: 2px solid var(--gl-olive-dark);
            margin-top: 40px;
            padding-top: 20px;
            font-size: 0.78em;
            color: var(--gl-ink-soft);
            font-family: var(--font-mono);
            line-height: 1.8;
        }

        .note { color: var(--gl-olive-dark); font-style: italic; }

        /* ── RESPONSIVE ── */
        @media (max-width: 640px) {
            .letter-section li { grid-template-columns: 1fr; gap: 4px 0; }
            #controls-inner { flex-wrap: wrap; }
            #search-count { min-width: unset; }
            .nav-letter { width: 24px; height: 24px; line-height: 22px; font-size: 0.65em; }
            .hero__ghost { display: none; }
            .hero__content { padding: 40px 1.5rem 44px; }
        }
    

/* ════════════════════════════════════════════════
   GLOSSARY COLOUR OVERRIDES — nav + footer
   ════════════════════════════════════════════════ */

/* ================================================
   glossary.css — COLOUR OVERRIDES ONLY
   Palette: Oxford Ink — navy #1a2744 + gold #c9a84c
   Load order: reset.css → global.css → default.css → glossary.css
   ================================================ */

/* ── HEADER ──────────────────────────────────── */
.nav-container {
    background: #f0ede8;
    border-bottom-color: #1a2744;
    box-shadow: 0 1px 0 #ddd8d0;
}

.nav-logo        { filter: none; }
.nav-brand       { color: #BE0F17; }
.nav-brand:hover { color: #1a2744; }

.nav-links a       { color: #4a5568; }
.nav-links a:hover { color: #1a2744; background: rgba(26,39,68,0.08); }

.nav-cta       { background: #1a2744; color: #f8f7f4; }
.nav-cta:hover { background: #c9a84c; color: #0f1620; }

.menu-icon             { border-color: rgba(26,39,68,0.25); }
.menu-icon span,
.menu-icon span::before,
.menu-icon span::after { background: #1a2744; }
.menu-icon:hover                   { border-color: #1a2744; }
.menu-icon:hover span,
.menu-icon:hover span::before,
.menu-icon:hover span::after       { background: #c9a84c; }

@media (max-width: 900px) {
    .nav-links             { background: #f0ede8; border-top-color: #1a2744; border-bottom-color: rgba(26,39,68,0.15); }
    .nav-links li          { border-bottom-color: rgba(26,39,68,0.10); }
    .nav-links a           { color: #1a2744; }
    .nav-links a:hover     { color: #1a2744; background: rgba(26,39,68,0.06); }
}

/* ── FOOTER ──────────────────────────────────── */
.bs-ft                              { background: #0f1620; border-top-color: #c9a84c; }
.bs-ft__col                         { border-right-color: rgba(255,255,255,0.07); border-bottom-color: rgba(255,255,255,0.07); }
.bs-ft__name                        { color: #c9a84c; }
.bs-ft__logo-group:hover .bs-ft__name { color: #f8f7f4; }
.bs-ft__bio                         { color: rgba(248,247,244,0.55); }
.bs-ft__bio strong                  { color: #f8f7f4; }
.bs-ft__bio a                       { color: #c9a84c; }
.bs-ft__bio a:hover                 { color: #f8f7f4; }
.bs-ft__heading                     { color: #ffffff; }
.bs-ft__link                        { color: rgba(248,247,244,0.55); }
.bs-ft__link:hover                  { color: #c9a84c; }
.bs-ft__soon                        { background: rgba(201,168,76,0.14); color: rgba(201,168,76,0.70); }
.bs-ft__bottom                      { background: #080d14; border-top-color: rgba(255,255,255,0.07); }
.bs-ft__copy                        { color: rgba(248,247,244,0.35); }
.bs-ft__copy a                      { color: rgba(248,247,244,0.45); }
.bs-ft__copy a:hover                { color: #c9a84c; }
.bs-ft__nav-link                    { color: rgba(248,247,244,0.35); }
.bs-ft__nav-link:hover              { color: #c9a84c; }
.bs-ft__nav-item + .bs-ft__nav-item::before { background: rgba(255,255,255,1); }
/* ── Per-letter back to top ── */
.letter-back-to-top {
    text-align: right;
    padding: 12px 0 6px;
}

.letter-back-to-top a {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gl-olive-dark);
    background: var(--gl-cream-dark, #e8e3da);
    border: 1px solid var(--gl-olive-dark);
    padding: 0.3rem 0.9rem;
    transition: background 0.15s, color 0.15s;
}

.letter-back-to-top a:hover {
    background: var(--gl-olive-dark);
    color: #ffffff;
    text-decoration: none;
}

.is-searching .letter-back-to-top { display: none; }