/*
 * GOLAZZO CASINO - DESIGN SYSTEM
 * Stadium-energy aesthetic. Anton scoreboard headlines + Barlow body.
 * Dark charcoal arena, electric-lime + trophy-gold accents.
 */

/* ============================================
   DESIGN TOKENS
   :root = light | .dark = night-match arena (default on <body>)
   ============================================ */
:root {
    --background: #fafaf9;
    --foreground: #1c1917;
    --card: #f1f0ee;
    --card-foreground: #1c1917;
    --popover: #ffffff;
    --popover-foreground: #1c1917;
    --primary: #3d7a14;
    --primary-foreground: #ffffff;
    --secondary: #e7e5e4;
    --secondary-foreground: #1c1917;
    --muted: #e7e5e4;
    --muted-foreground: #57606a;
    --accent: #8a6608;
    --accent-foreground: #ffffff;
    --destructive: #dc2626;
    --destructive-foreground: #ffffff;
    --border: #d6d3d1;
    --input: #d6d3d1;
    --ring: #3d7a14;

    /* Spacing rhythm - 8px base grid */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 100px;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;

    --maxw: 1200px;
    --header-h: 68px;

    --ease: 220ms ease-out;

    --font-head: "Anton", "Arial Narrow", sans-serif;
    --font-body: "Barlow", system-ui, -apple-system, sans-serif;
}

.dark {
    --background: #0c0c0d;
    --foreground: #f5f5f4;
    --card: #1a1a1c;
    --card-foreground: #f5f5f4;
    --popover: #1a1a1c;
    --popover-foreground: #f5f5f4;
    --primary: #a3e635;
    --primary-foreground: #0c0c0d;
    --secondary: #26262a;
    --secondary-foreground: #f5f5f4;
    --muted: #26262a;
    --muted-foreground: #b7b3ad;
    --accent: #e0b544;
    --accent-foreground: #0c0c0d;
    --destructive: #ea0d33;
    --destructive-foreground: #ffffff;
    --border: #3a3a3e;
    --input: #26262a;
    --ring: #a3e635;
}

/* ============================================
   OVERFLOW PREVENTION
   ============================================ */
*, *::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
   ============================================ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

h1 { font-size: clamp(40px, 8vw, 64px); }
h2 { font-size: clamp(30px, 5vw, 44px); }
h3 { font-size: clamp(22px, 3vw, 30px); line-height: 1.2; }
h4 { font-size: 20px; }

p { margin: 0 0 var(--space-md); }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent); }

ul, ol { margin: 0 0 var(--space-md); padding-left: 1.4em; }
li { margin-bottom: var(--space-xs); }

strong { font-weight: 700; }

/* In-content anchors get an underline for clarity */
main p a, main li a { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

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

.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 WRAPPERS
   .wrap - 1200px centered text column
   .section - vertical rhythm
   .full-bleed - edge-to-edge sections
   ============================================ */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--space-sm);
}

.section { padding-block: var(--space-2xl); }
@media (min-width: 1024px) { .section { padding-block: var(--space-3xl); } }

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

.section__head { max-width: 780px; margin-bottom: var(--space-lg); }
.section__eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

/* Signature diagonal lime→gold slash divider */
.slash-divider {
    height: 6px;
    background: linear-gradient(100deg, var(--primary) 0%, var(--primary) 45%, var(--accent) 55%, var(--accent) 100%);
    border: none;
    margin: 0;
    transform: skewY(-0.6deg);
}

/* ============================================
   HEADER + NAV
   Sticky header, horizontal nav on desktop,
   slide-in drawer on mobile.
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}
.site-header__inner {
    max-width: var(--maxw);
    margin-inline: auto;
    padding: 0 var(--space-sm);
    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: 10px;
    flex-shrink: 0;
    text-decoration: none;
}
.site-brand__mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-family: var(--font-head);
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 0 18px rgba(163, 230, 53, 0.35);
}
.site-brand__text {
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: 26px;
    letter-spacing: 1px;
    color: var(--foreground);
}

/* Theme toggle */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--foreground);
    transition: border-color var(--ease), color var(--ease);
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.theme-toggle__icon {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: inset -6px -6px 0 0 var(--card);
}
.dark .theme-toggle__icon {
    box-shadow: none;
    background: var(--accent);
}

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

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

.primary-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
}
.primary-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-sm);
    color: var(--foreground);
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 18px;
    text-decoration: none;
}
.primary-nav__list a:hover { background: var(--secondary); color: var(--primary); }

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 17px;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
    line-height: 1;
    text-align: center;
}
.btn--primary {
    background: var(--primary);
    color: var(--primary-foreground);
}
.btn--primary:hover {
    color: var(--primary-foreground);
    transform: scale(1.03);
    box-shadow: 0 0 24px rgba(163, 230, 53, 0.5);
}
.btn--ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}
.btn--ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.03);
}
.btn--gold {
    background: var(--accent);
    color: var(--accent-foreground);
}
.btn--gold:hover {
    color: var(--accent-foreground);
    transform: scale(1.03);
    box-shadow: 0 0 24px rgba(224, 181, 68, 0.45);
}
.btn--large { min-height: 56px; padding: 16px 40px; font-size: 20px; }
.btn--block { width: 100%; }

/* ============================================
   HERO - full-bleed banner with model imagery
   ============================================ */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 78vh;
    padding-block: var(--space-2xl);
    overflow: clip;
    background: var(--card);
}
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12,12,13,0.94) 0%, rgba(12,12,13,0.78) 45%, rgba(12,12,13,0.35) 100%);
    z-index: 1;
}
.hero__slash {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 8px;
    z-index: 2;
    background: linear-gradient(100deg, var(--primary) 0%, var(--primary) 45%, var(--accent) 55%, var(--accent) 100%);
    transform: skewY(-0.8deg);
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}
.hero h1, .hero h2 { color: #f5f5f4; }
.hero__lead {
    font-size: clamp(17px, 2.4vw, 20px);
    color: #d8d5cf;
    margin-bottom: var(--space-lg);
    max-width: 60ch;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}
.hero .accent-word { color: var(--primary); }
.hero .gold-word { color: var(--accent); }

/* Hero sits on a dark overlay in every theme, so the ghost CTA must
   always use light text/border to stay readable (fixes invisible
   "Bonus ansehen" label in light theme). */
.hero__actions .btn--ghost {
    color: #f5f5f4;
    border-color: rgba(245, 245, 244, 0.6);
}
.hero__actions .btn--ghost:hover {
    color: var(--primary);
    border-color: var(--primary);
}

@media (min-width: 768px) {
    .hero { min-height: 84vh; }
}

/* ============================================
   INFO CARD - reusable grid card
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
}
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card-grid--4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card-grid--2 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.info-card {
    position: relative;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    overflow: clip;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 20px rgba(163, 230, 53, 0.2);
}
.info-card__slash {
    position: absolute;
    top: -30px; right: -30px;
    width: 90px; height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: rotate(45deg);
    opacity: 0.14;
    pointer-events: none;
}
.info-card__media {
    margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) var(--space-md);
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: clip;
}
.info-card__media img { width: 100%; display: block; aspect-ratio: 8 / 5; object-fit: cover; }
.info-card__icon {
    width: 64px; height: 64px;
    margin-bottom: var(--space-sm);
    display: grid; place-items: center;
}
.info-card__icon img { width: 64px; height: 64px; object-fit: contain; }
.info-card__title { font-size: 22px; margin-bottom: var(--space-xs); }
.info-card__text { color: var(--muted-foreground); font-size: 16px; margin-bottom: var(--space-sm); }
.info-card__link {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 15px;
    color: var(--primary);
    text-decoration: none;
}
.info-card__link:hover { color: var(--accent); }

/* ============================================
   STAT HIGHLIGHT - oversized quotable figures
   ============================================ */
.stat-highlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    text-align: center;
}
@media (min-width: 768px) {
    .stat-highlight { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
}
.stat-highlight__item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.stat-highlight__number {
    font-family: var(--font-head);
    font-size: clamp(48px, 9vw, 76px);
    line-height: 1;
    color: var(--primary);
}
.stat-highlight__label {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
    color: var(--accent);
}
.stat-highlight__note { font-size: 13px; color: var(--muted-foreground); }

/* ============================================
   CALLOUT / TL;DR BOX - gold left border
   ============================================ */
.callout-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 5px solid var(--accent);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-block: var(--space-lg);
}
.callout-box__label {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: 8px;
}
.callout-box__title { font-size: 22px; margin-bottom: var(--space-xs); }
.callout-box__text { color: var(--foreground); margin: 0; }
.callout-box ul { margin-top: var(--space-sm); margin-bottom: 0; }

/* ============================================
   FAQ ACCORDION - native details/summary
   ============================================ */
.faq-accordion { max-width: var(--maxw); }
.faq-accordion__heading { margin-bottom: var(--space-md); }
.faq-item {
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
    transition: border-color var(--ease);
}
.faq-item[open] { border-left-color: var(--accent); }
.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    min-height: 56px;
    padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-md);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-size: 18px;
    color: var(--foreground);
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__icon {
    position: relative;
    flex-shrink: 0;
    width: 22px; height: 22px;
}
.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    background: var(--primary);
    border-radius: 2px;
    transition: transform var(--ease);
}
.faq-item__icon::before { top: 10px; left: 0; width: 22px; height: 3px; }
.faq-item__icon::after { top: 0; left: 10px; width: 3px; height: 22px; }
.faq-item[open] .faq-item__icon::after { transform: scaleY(0); }
.faq-item__answer {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--muted-foreground);
}
.faq-item__answer p { margin: 0; }

/* ============================================
   CTA BANNER - full-bleed conversion band
   ============================================ */
.cta-banner {
    position: relative;
    overflow: clip;
    padding-block: var(--space-3xl);
    text-align: center;
    background: var(--card);
}
.cta-banner__bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.cta-banner::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12,12,13,0.82), rgba(12,12,13,0.9));
    z-index: 1;
}
.cta-banner__slash {
    position: absolute; left: 0; right: 0; top: 0;
    height: 8px;
    z-index: 2;
    background: linear-gradient(100deg, var(--primary) 0%, var(--primary) 45%, var(--accent) 55%, var(--accent) 100%);
    transform: skewY(-0.8deg);
}
.cta-banner__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin-inline: auto;
    padding-inline: var(--space-sm);
}
.cta-banner__title { color: #f5f5f4; }
.cta-banner__accent { color: var(--primary); }
.cta-banner__subtext {
    color: #d8d5cf;
    font-size: 18px;
    margin-bottom: var(--space-lg);
}
.cta-banner__reassurance {
    margin-top: var(--space-sm);
    font-size: 14px;
    color: #c3c0ba;
}

/* ============================================
   SPLIT / MEDIA LAYOUT
   ============================================ */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split__media img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}
.split__list { list-style: none; padding: 0; }
.split__list li {
    display: flex;
    gap: 10px;
    padding-left: 0;
    margin-bottom: var(--space-sm);
    color: var(--foreground);
}
.split__list li::before {
    content: "▸";
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   TABLES - recommended column highlight
   ============================================ */
.table-wrapper { margin-block: var(--space-lg); border-radius: var(--radius); border: 1px solid var(--border); }
table.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
    background: var(--card);
}
.data-table th, .data-table td {
    padding: 14px var(--space-sm);
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
}
.data-table thead th {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    color: var(--accent);
    background: var(--secondary);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table .col-recommended {
    background: rgba(163, 230, 53, 0.1);
    border-left: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

/* ============================================
   TRUST BADGES + PAYMENT STRIP
   ============================================ */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    min-height: 32px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    color: var(--muted-foreground);
}
.trust-badge--age {
    color: var(--accent-foreground);
    background: var(--accent);
    border-color: var(--accent);
}

.payment-strip {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    padding: 0;
    margin: 0 0 var(--space-sm);
}
.payment-strip li {
    padding: 8px 14px;
    background: var(--secondary);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--secondary-foreground);
    margin: 0;
}

/* ============================================
   SITEMAP LIST
   ============================================ */
.sitemap-list { list-style: none; padding: 0; margin: 0; }
.sitemap-list li {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
    margin: 0;
}
.sitemap-list__title {
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: 22px;
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 6px;
}
.sitemap-list__title:hover { color: var(--accent); }
.sitemap-list p { color: var(--muted-foreground); margin: 0; }

/* ============================================
   BONUS BUTTON WRAP (plain body CTA to bonus.html)
   ============================================ */
.bonus-inline {
    text-align: center;
    padding: var(--space-md);
    margin-block: var(--space-lg);
    background: var(--secondary);
    border-radius: var(--radius);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding-top: var(--space-2xl);
    margin-top: var(--space-2xl);
}
.site-footer__inner {
    max-width: var(--maxw);
    margin-inline: auto;
    padding: 0 var(--space-sm) var(--space-xl);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
}
@media (min-width: 640px) { .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .site-footer__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.site-brand--footer { margin-bottom: var(--space-sm); }
.site-footer__tagline { color: var(--muted-foreground); font-size: 15px; margin: 0; }
.site-footer__title {
    font-size: 18px;
    margin-bottom: var(--space-sm);
    color: var(--foreground);
}
.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: var(--space-xs); }
.site-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted-foreground);
    font-size: 15px;
}
.site-footer__links a:hover { color: var(--primary); }

.site-footer__legal {
    border-top: 1px solid var(--border);
    padding: var(--space-md) var(--space-sm);
    max-width: var(--maxw);
    margin-inline: auto;
}
.site-footer__legal p {
    color: var(--muted-foreground);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 6px;
    text-align: center;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    font-size: 14px;
    color: var(--muted-foreground);
    padding-block: var(--space-sm);
}
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}
.breadcrumbs li { margin: 0; display: flex; gap: 6px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--border); }
.breadcrumbs a { color: var(--muted-foreground); }
.breadcrumbs a:hover { color: var(--primary); }

/* ============================================
   PROSE - readable article width for body copy
   ============================================ */
.prose { max-width: 72ch; }
.prose p, .prose li { font-size: 17px; }

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 480ms ease-out, transform 480ms ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* staggered children */
.card-grid .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.card-grid .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.card-grid .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.stat-highlight .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.stat-highlight .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.stat-highlight .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }

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

/* ============================================
   DESKTOP NAV
   ============================================ */
@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .theme-toggle { order: 3; margin-left: var(--space-sm); }
    .primary-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: var(--space-md);
        padding: 0;
        background: transparent;
        overflow: visible;
        flex: 1;
    }
    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: var(--space-xs);
    }
    .primary-nav__list a {
        min-height: 44px;
        font-size: 15px;
        white-space: nowrap;
    }
    .primary-nav__actions {
        flex-direction: row;
        margin-left: var(--space-sm);
    }
    .primary-nav__actions .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
}
