/*
 * GOLAZZO CASINO - DESIGN SYSTEM
 * Dark stadium-at-night aesthetic, lime + gold football palette.
 * Fonts: Anton (display), Barlow (body).
 */

:root {
    --background: #0d0f0a;
    --foreground: #f5f7f2;
    --card: #161a12;
    --card-foreground: #f5f7f2;
    --popover: #161a12;
    --popover-foreground: #f5f7f2;
    --primary: #a3e635;
    --primary-foreground: #0d0f0a;
    --secondary: #d4af37;
    --secondary-foreground: #0d0f0a;
    --muted: #2a2f22;
    --muted-foreground: #b3bca6;
    --accent: #d9f99d;
    --accent-foreground: #0d0f0a;
    --destructive: #f43f5e;
    --destructive-foreground: #0d0f0a;
    --border: #3a4030;
    --input: #2a2f22;
    --ring: #a3e635;

    /* Brand tokens */
    --lime: #a3e635;
    --lime-bright: #b6f13f;
    --gold: #e0bb46;
    --gold-deep: #d4af37;

    /* Spacing scale (8px grid) */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --section-gap: 4rem;
    --pad-comp: 1.25rem;
    --max-w: 1200px;
    --header-h: 68px;

    --font-display: "Anton", "Barlow", sans-serif;
    --font-body: "Barlow", system-ui, sans-serif;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }

[class*="grid"] > *, [class*="flex"] > * { min-width: 0; }

pre, code, .code-block, [class*="code"] { max-width: 100%; overflow-x: auto; }
pre code, .code-block code { display: block; min-width: 0; }

.table-wrapper, [class*="table-"] { max-width: 100%; overflow-x: auto; }

p, li, td, th { overflow-wrap: break-word; }

input, textarea, select { max-width: 100%; }

section { overflow: clip; }

/* ============================================
   BASE / RESET
   ============================================ */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(circle at 15% -5%, rgba(163,230,53,0.08), transparent 45%),
        radial-gradient(circle at 90% 0%, rgba(212,175,55,0.06), transparent 40%),
        var(--background);
    background-attachment: fixed;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin: 0 0 var(--space-sm);
    color: var(--foreground);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.875rem); }

p { margin: 0 0 var(--space-md); max-width: 72ch; }

ul, ol { padding-left: 1.25rem; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: var(--space-xs) var(--space-sm);
    z-index: 2000;
    border-radius: 6px;
}
.skip-link:focus { left: var(--space-sm); top: var(--space-sm); }

.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;
}

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container, .wrap {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--space-sm);
}

.section { padding-block: var(--section-gap); }

.section--tight { padding-block: var(--space-xl); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: var(--space-xs);
}

.lead { font-size: 1.15rem; color: var(--muted-foreground); }

.text-lime { color: var(--primary); }
.text-gold { color: var(--secondary); }

/* Reusable image frame - keeps images from reserving oversized grid rows */
.media-frame {
    max-width: 520px;
    margin-top: var(--space-lg);
}
.media-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* Diagonal energy streak - reusable decorative accent */
.energy-streak {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 42%, rgba(163,230,53,0.16) 49%, rgba(212,175,55,0.16) 53%, transparent 60%);
    z-index: 0;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: color-mix(in srgb, var(--background) 92%, transparent);
    border-bottom: 1px solid var(--border);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.site-header__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: 0 var(--space-sm);
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--foreground);
    flex-shrink: 0;
}
.site-brand:hover { text-decoration: none; }

.site-brand__mark {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--primary-foreground);
    background: linear-gradient(135deg, var(--lime), var(--gold));
    box-shadow: 0 0 14px rgba(163,230,53,0.35);
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
}
.site-brand__accent { color: var(--secondary); margin-left: 0.25rem; }

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav { display: none; }

.primary-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    background: var(--background);
    padding: var(--space-lg) var(--space-sm);
    overflow-y: auto;
}

.primary-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.primary-nav__list li { border-bottom: 1px solid var(--border); }
.primary-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 1.1rem;
    color: var(--foreground);
}
.primary-nav__list a:hover { color: var(--primary); text-decoration: none; }

.primary-nav__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 1rem;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease;
}
.btn:hover { text-decoration: none; }

.btn--primary {
    background: var(--primary);
    color: var(--primary-foreground);
}
.btn--primary:hover {
    transform: scale(1.03);
    box-shadow: 0 0 22px rgba(163,230,53,0.55);
}

.btn--gold {
    background: var(--secondary);
    color: var(--secondary-foreground);
}
.btn--gold:hover { transform: scale(1.03); box-shadow: 0 0 22px rgba(212,175,55,0.5); }

.btn--ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn--lg { min-height: 56px; padding: 1rem 2.25rem; font-size: 1.15rem; }

/* Plain inline body link to bet.html */
.bet-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 10px;
    background: var(--secondary);
    color: var(--secondary-foreground);
}
.bet-link:hover { text-decoration: none; transform: scale(1.03); box-shadow: 0 0 18px rgba(212,175,55,0.5); }

/* ============================================
   HERO - full-bleed dark stadium banner
   ============================================ */
.hero {
    position: relative;
    padding-block: var(--section-gap);
    background: var(--background);
    overflow: clip;
}
.hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--space-sm);
    display: grid;
    gap: var(--space-lg);
    align-items: center;
}
.hero__content { position: relative; z-index: 2; }
.hero__media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hero__media img { display: block; width: 100%; height: auto; }
.hero h1 { margin-bottom: var(--space-sm); }
.hero__sub { font-size: 1.15rem; color: var(--muted-foreground); max-width: 56ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }

/* ============================================
   CARD GRIDS
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    align-items: start;
}

/* When a grid pairs text with a shorter image, keep both vertically centered
   so the image cell doesn't leave a tall empty gap on desktop. */
.card-grid--middle { align-items: center; }
.card-grid--middle .media-frame { margin-top: 0; }
.card-grid--middle .callout { margin-block: 0; }

/* ============================================
   BONUS CARD (component)
   ============================================ */
.bonus-card {
    position: relative;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: var(--pad-comp);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bonus-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 0 24px rgba(163,230,53,0.2);
}
.bonus-card__streak {
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    background: linear-gradient(135deg, var(--lime), var(--gold));
    transform: rotate(45deg);
    opacity: 0.85;
    filter: blur(0.5px);
}
.bonus-card__media {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--space-sm);
}
.bonus-card__media img { display: block; width: 100%; height: auto; }
.bonus-card__body { position: relative; z-index: 1; }
.bonus-card__title { color: var(--primary); margin-bottom: var(--space-xs); }
.bonus-card__figure { display: flex; flex-direction: column; margin: 0 0 var(--space-sm); }
.bonus-card__figure-value {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3rem);
    color: var(--secondary);
    line-height: 1;
}
.bonus-card__figure-label {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.bonus-card__text { color: var(--card-foreground); margin-bottom: var(--space-sm); }
.bonus-card__rich { color: var(--card-foreground); }
.bonus-card__rich ul { margin: 0 0 var(--space-sm); }
.bonus-card__cta { margin-top: var(--space-xs); }

/* ============================================
   STAT HIGHLIGHT (component)
   ============================================ */
.stat-highlight {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: var(--space-lg) var(--pad-comp);
}
.stat-highlight__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
    text-align: center;
}
.stat-highlight__item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--space-xs);
}
.stat-highlight__number {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 7vw, 3rem);
    color: var(--primary);
    line-height: 1;
}
.stat-highlight__label {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.stat-highlight__source {
    margin: var(--space-md) 0 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

/* ============================================
   FAQ ACCORDION (component)
   ============================================ */
.faq-accordion__title { margin-bottom: var(--space-md); }
.faq-accordion__list {
    border-top: 1px solid var(--border);
}
.faq-item {
    border-bottom: 1px solid var(--border);
    background: var(--card);
}
.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    min-height: 48px;
    padding: var(--space-sm) var(--space-xs);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 1.05rem;
    color: var(--foreground);
    cursor: pointer;
    list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__chevron {
    flex-shrink: 0;
    width: 12px; height: 12px;
    border-right: 3px solid var(--secondary);
    border-bottom: 3px solid var(--secondary);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}
.faq-item[open] .faq-item__chevron { transform: rotate(-135deg); }
.faq-item__a {
    padding: 0 var(--space-xs) var(--space-md);
    border-left: 3px solid var(--primary);
    margin-left: var(--space-xs);
    background: color-mix(in srgb, var(--muted) 30%, transparent);
}
.faq-item__a p { margin: var(--space-sm) 0 0; color: var(--card-foreground); }

/* ============================================
   CTA BAND (component)
   ============================================ */
.cta-band {
    position: relative;
    text-align: center;
    padding-block: var(--section-gap);
    background: var(--card);
    border-block: 1px solid var(--border);
    overflow: clip;
}
.cta-band__streak {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 40%, rgba(163,230,53,0.15) 48%, rgba(212,175,55,0.15) 54%, transparent 62%);
    pointer-events: none;
}
.cta-band__inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin-inline: auto;
    padding-inline: var(--space-sm);
}
.cta-band__title { color: var(--foreground); }
.cta-band__text { color: var(--muted-foreground); font-size: 1.1rem; margin-inline: auto; }
.cta-band__micro { margin-top: var(--space-sm); font-size: 0.9rem; color: var(--muted-foreground); }

/* ============================================
   CALLOUT / SUMMARY / PULL QUOTE
   ============================================ */
.callout {
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    background: color-mix(in srgb, var(--muted) 35%, transparent);
    border-radius: 10px;
    padding: var(--pad-comp);
    margin-block: var(--space-lg);
}
.callout--gold { border-left-color: var(--secondary); }
.callout__title {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.summary-box {
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 12px;
    padding: var(--pad-comp);
    margin-block: var(--space-lg);
}
.summary-box__title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    color: var(--secondary);
    margin-bottom: var(--space-xs);
}
.summary-box ul { margin: 0; }

.pull-quote {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--secondary);
    border: 0;
    margin: var(--space-xl) 0;
    padding-left: var(--space-md);
    border-left: 4px solid var(--secondary);
}
.pull-quote cite {
    display: block;
    font-size: 0.95rem;
    font-style: normal;
    color: var(--muted-foreground);
    margin-top: var(--space-xs);
}

/* Feature strip / tiles */
.tile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    align-items: start;
}
.tile {
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.tile:hover { transform: translateY(-3px); border-color: var(--secondary); }
.tile img { display: block; width: 100%; height: auto; }
.tile__body { padding: var(--pad-comp); }
.tile__body h3 { font-size: 1.25rem; color: var(--primary); }

/* Logo / trust badge strip */
.logo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    align-items: center;
    padding: var(--space-md);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-top: var(--space-md);
}
.logo-strip img {
    width: 100%;
    max-width: 960px;
    height: auto;
    max-height: none;
    border-radius: 10px;
    mix-blend-mode: luminosity;
    opacity: 0.92;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}
.trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.compare-table { width: 100%; border-collapse: collapse; margin-block: var(--space-lg); }
.compare-table th, .compare-table td {
    padding: var(--space-sm);
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.compare-table thead th {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--secondary);
    background: var(--card);
}
.compare-table .is-recommended { background: color-mix(in srgb, var(--primary) 14%, transparent); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    margin-top: var(--section-gap);
}
.site-footer__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: var(--space-xl) var(--space-sm);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}
.site-brand--footer { color: var(--foreground); margin-bottom: var(--space-sm); }
.site-footer__heading {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}
.site-footer__links, .site-footer__pay {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.site-footer__pay { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
.site-footer__pay li {
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--muted-foreground);
}
.site-footer__links a { color: var(--muted-foreground); }
.site-footer__links a:hover { color: var(--primary); }
.site-footer__note { color: var(--muted-foreground); font-size: 0.9rem; }
.site-footer__badge { display: flex; align-items: center; gap: 0.5rem; color: var(--muted-foreground); font-size: 0.85rem; }
.age-badge {
    display: inline-grid;
    place-items: center;
    min-width: 34px; height: 34px;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: var(--destructive);
    color: var(--destructive-foreground);
    font-family: var(--font-display);
    font-size: 0.9rem;
}
.site-footer__bottom {
    border-top: 1px solid var(--border);
    text-align: center;
    padding: var(--space-md) var(--space-sm);
}
.site-footer__bottom p { margin: 0; color: var(--muted-foreground); font-size: 0.85rem; }

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    max-width: var(--max-w);
    margin-inline: auto;
    padding: var(--space-sm);
    font-size: 0.9rem;
    color: var(--muted-foreground);
}
.breadcrumbs a { color: var(--muted-foreground); }
.breadcrumbs a:hover { color: var(--primary); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
/* Only hide elements up-front when JS is available to reveal them again.
   Without JS (or if the observer never fires) content stays fully visible
   so no section leaves a blank vertical gap. */
.js .animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.js .animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: if JS/observer never reveals an element, don't leave a blank hole */
.no-js .animate-on-scroll { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .animate-on-scroll { opacity: 1; transform: none; }
}

/* ============================================
   RESPONSIVE - TABLET 768px+
   ============================================ */
@media (min-width: 768px) {
    :root { --pad-comp: 2rem; }

    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .stat-highlight__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .hero__inner { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }

    .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
}

/* ============================================
   RESPONSIVE - DESKTOP 1024px+
   ============================================ */
@media (min-width: 1024px) {
    :root { --section-gap: 4.5rem; }

    .nav-toggle { display: none; }

    .primary-nav {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
        position: static;
        background: transparent;
        padding: 0;
        flex-direction: row;
    }
    .primary-nav__list { flex-direction: row; gap: var(--space-md); }
    .primary-nav__list li { border-bottom: 0; }
    .primary-nav__list a { min-height: auto; font-size: 1rem; }
    .primary-nav__actions { flex-direction: row; margin-top: 0; }

    .tile-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Disable header backdrop-filter on mobile (containing-block trap safety) */
@media (max-width: 1023px) {
    .site-header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: var(--background);
    }
}
