/* ============================================================
   MADDIE BAEHR — Theme CSS
   Design System: The Emerald & Gold
   ============================================================ */

/* Custom Properties ----------------------------------------- */
:root {
    --bg:              #121414;
    --surface:         #1e2020;
    --surface-high:    #282a2b;
    --text:            #e2e2e2;
    --text-muted:      #bdcaba;
    --primary:         #009A44;
    --primary-dim:     #006e2e;
    --gold:            #FFD200;
    --orange:          #FF8200;
    --blue:            #004F9F;
    --border:          #3e4a3e;
    --border-subtle:   #262828;

    --font-display:    'Lexend', sans-serif;
    --font-label:      'Space Grotesk', sans-serif;

    --radius:          4px;
    --container:       1280px;
    --gutter:          24px;
    --header-h:        80px;
    --stack-sm:        16px;
    --stack-md:        32px;
    --stack-lg:        64px;
    --stack-xl:        100px;
}

/* Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* Container ------------------------------------------------- */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 200;
    height: var(--header-h);
    transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(10, 14, 20, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: rgba(255, 210, 0, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    gap: 40px;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s;
}
.site-logo:hover { color: var(--primary); }

/* Primary Nav */
.primary-nav { margin-inline-start: auto; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-list a {
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.2s;
    padding-block: 4px;
    position: relative;
}
.nav-list a::after {
    content: '';
    position: absolute;
    inset-block-end: -2px;
    inset-inline-start: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}
.nav-list a:hover,
.nav-list a.active { color: var(--text); }
.nav-list a:hover::after,
.nav-list a.active::after { width: 100%; }

/* Social Icons */
.header-social {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.social-link {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
}
.social-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Nav Partner Button */
.nav-partner-btn {
    flex-shrink: 0;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.nav-partner-btn:hover {
    background: var(--primary-dim);
    transform: scale(1.04);
}
.nav-partner-btn:active { transform: scale(0.97); }

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 6px;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dim);
    border-color: var(--primary-dim);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 154, 68, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn-ghost:hover {
    background: rgba(255, 210, 0, 0.08);
    transform: translateY(-2px);
}

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
    position: relative;
    height: 100svh;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
    padding-block-end: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: #0a0e14;
    background-size: cover;
    background-position: 90% 50%;
    background-repeat: no-repeat;
}
/* Pseudo-element no longer used for gradient — real .hero-overlay div handles it */
.hero-bg::after { content: none; }

/* Desktop overlay: left-to-right fade + gentle top + bottom darkening */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(10, 14, 20, 1.0) 0%, rgba(10, 14, 20, 1.0) 15%, rgba(10, 14, 20, 0.4) 48%, rgba(10, 14, 20, 0.0) 72%),
        linear-gradient(to bottom, rgba(10, 14, 20, 0.45) 0%, transparent 22%, transparent 65%, rgba(10, 14, 20, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-eyebrow {
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-block-end: 16px;
}
.hero-name {
    font-family: var(--font-display);
    font-size: clamp(56px, 9vw, 104px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-block-end: 24px;
}
.hero-name .accent {
    color: var(--primary);
    font-style: italic;
}
.hero-tagline {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 400;
    color: var(--text-muted);
    margin-block-end: 40px;
    max-width: 460px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   HOME — INTRO SECTION
   ============================================================ */
.home-intro {
    padding-block: var(--stack-xl);
    border-bottom: 1px solid var(--border-subtle);
}
.home-intro-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 80px;
    align-items: center;
}
.home-intro-label {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-block-end: 14px;
}
.home-intro-heading {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin-block-end: 20px;
}
.home-intro-text {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.75;
    margin-block-end: 32px;
}
.home-intro-image {
    position: relative;
}
.home-intro-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.home-intro-image::before {
    content: '';
    position: absolute;
    inset: -2px;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    transform: translate(10px, 10px);
    z-index: -1;
    opacity: 0.5;
}
.home-intro-video {
    position: relative;
}
.home-intro-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.home-intro-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.home-intro-video::before {
    content: '';
    position: absolute;
    inset: -2px;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    transform: translate(10px, 10px);
    z-index: -1;
    opacity: 0.5;
}

/* ============================================================
   HOME — STATS SECTION
   ============================================================ */
.home-stats {
    padding-block: 0;
    border-block: 1px solid var(--border-subtle);
    background: var(--surface);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    text-align: center;
    padding: 48px var(--gutter);
    border-right: 1px solid var(--border-subtle);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.04em;
    display: block;
    margin-block-end: 10px;
}
.stat-number.color-primary  { color: var(--primary); }
.stat-number.color-gold     { color: var(--gold); }
.stat-number.color-blue     { color: #aac7ff; }
.stat-number.color-white    { color: var(--text); }
.stat-label {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================================
   HOME — LATEST NEWS
   ============================================================ */
.home-news {
    padding-block: var(--stack-xl);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-block-end: 48px;
    gap: 24px;
}
.section-label {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-block-end: 10px;
}
.section-title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.1;
}

/* ============================================================
   NEWS GRID & CARD
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.news-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.news-card-link-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.news-card-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-high);
    flex-shrink: 0;
}
.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .news-card-thumb img { transform: scale(1.05); }

.news-card-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.news-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-card-source {
    font-family: var(--font-label);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-block-end: 10px;
}
.news-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text);
    flex: 1;
}
.news-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-block-start: 16px;
    padding-block-start: 16px;
    border-top: 1px solid var(--border-subtle);
    transition: gap 0.2s;
}
.news-card:hover .news-card-cta { gap: 10px; }

/* ============================================================
   HOME — SOCIAL CTA
   ============================================================ */
.home-social {
    padding-block: var(--stack-xl);
    text-align: center;
}
.home-social-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-block-end: 16px;
}
.home-social-sub {
    color: var(--text-muted);
    font-size: 18px;
    margin-block-end: 40px;
}
.home-social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   HOME — PARTNER CTA SECTION
   ============================================================ */
.home-cta-section {
    padding-block: var(--stack-xl);
    position: relative;
    overflow: hidden;
    background: var(--blue);
    text-align: center;
}
.home-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    pointer-events: none;
}
.home-cta-title {
    position: relative;
    z-index: 1;
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-block-end: 20px;
}
.home-cta-title .accent {
    color: var(--gold);
    font-style: italic;
}
.home-cta-body {
    position: relative;
    z-index: 1;
    color: rgba(226, 226, 226, 0.75);
    font-size: 17px;
    line-height: 1.75;
    max-width: 560px;
    margin-inline: auto;
    margin-block-end: 40px;
}
.home-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding-block-end: 60px;
    overflow: hidden;
    margin-block-start: var(--header-h);
}
.about-hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--surface);
    background-size: cover;
    background-position: 50% 25%; /* overridden by mb_dynamic_image_css() */
    background-repeat: no-repeat;
}
.about-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(18,20,20,0.3) 0%, rgba(18,20,20,0.88) 100%);
}
.about-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}
.about-hero-label {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-block-end: 12px;
}
.about-hero-name {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.025em;
}

/* About Sections */
.about-section {
    padding-block: 80px;
    border-bottom: 1px solid var(--border-subtle);
}
.about-section:last-of-type { border-bottom: none; }

.about-section-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: start;
}
.about-section-number {
    font-family: var(--font-label);
    font-size: 64px;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
    margin-block-end: 8px;
    user-select: none;
}
.about-section-label {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-block-end: 12px;
}
.about-section-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}
.about-section-body {
    padding-block-start: 8px;
}
.about-section-body p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}
.about-section-body p + p { margin-block-start: 18px; }

/* Achievements — grouped layout */
.achievements-groups {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.achievement-group {
    border-left: 3px solid var(--gold);
    padding-left: 20px;
}
.achievement-group-heading {
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-block-end: 12px;
}
.achievement-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.achievement-items li {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.5;
    padding-left: 14px;
    position: relative;
}
.achievement-items li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Brands grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.brand-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    letter-spacing: 0.03em;
    transition: border-color 0.2s, color 0.2s;
}
.brand-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* About CTA strip */
.about-cta {
    padding-block: 80px;
    background: var(--surface);
    border-top: 1px solid var(--border-subtle);
}
.about-cta-inner {
    text-align: center;
}
.about-cta-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin-block: 12px 32px;
}

/* ============================================================
   PAGE HERO (News, generic pages)
   ============================================================ */
.page-hero {
    padding-block-start: calc(var(--header-h) + 80px);
    padding-block-end: 64px;
    text-align: center;
}
.page-hero-label {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-block-end: 16px;
}
.page-hero-title {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.025em;
}

/* News Page grid */
.news-page-grid { padding-block-end: 100px; }
.news-page-grid .news-grid { grid-template-columns: repeat(3, 1fr); }

.no-news {
    text-align: center;
    padding-block: 80px;
    color: var(--text-muted);
    font-size: 17px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
    padding-block-start: calc(var(--header-h) + 80px);
    padding-block-end: 100px;
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-info-label {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-block-end: 14px;
}
.contact-info-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-block-end: 20px;
}
.contact-info-text {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.75;
    margin-block-end: 36px;
}
.contact-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Form */
.contact-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}
.form-group { margin-block-end: 24px; }
.form-label {
    display: block;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-block-end: 8px;
}
.form-input,
.form-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 15px;
    padding-block: 10px;
    outline: none;
    transition: border-color 0.2s;
    border-radius: 0;
    -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus { border-bottom-color: var(--primary); }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--border); }
.form-textarea {
    resize: vertical;
    min-height: 120px;
    display: block;
}
.form-submit { width: 100%; padding-block: 16px; margin-block-start: 8px; }

.form-success {
    background: rgba(0, 154, 68, 0.1);
    border: 1px solid rgba(0, 154, 68, 0.4);
    border-radius: var(--radius);
    padding: 16px 20px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    margin-block-end: 24px;
}
.form-error {
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.3);
    border-radius: var(--radius);
    padding: 14px 18px;
    color: #ff8f8f;
    margin-block-end: 24px;
}
.form-error p { font-size: 14px; line-height: 1.5; }
.form-error p + p { margin-block-start: 4px; }

/* ============================================================
   GENERIC PAGE CONTENT
   ============================================================ */
.page-content {
    padding-block: calc(var(--header-h) + 60px) 80px;
}
.page-content-inner {
    max-width: 800px;
    margin-inline: auto;
}
.page-content h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-block-end: 32px;
}
.entry-content p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
    margin-block-end: 18px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    border-top: 2px solid var(--primary);
    padding-block: 60px;
    background: #080a0a;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    transition: color 0.2s;
}
.footer-logo:hover { color: var(--primary); }
.footer-social { display: flex; gap: 20px; }
.footer-nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-nav a {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }
.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE — 1024px and below
   ============================================================ */
@media (max-width: 1024px) {
    :root { --stack-xl: 80px; }

    .home-intro-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .home-intro-image { order: -1; }
    .home-intro-image img { aspect-ratio: 16 / 7; }
    .home-intro-image::before { display: none; }
    .home-intro-video { max-width: 320px; margin-inline: auto; }
    .home-intro-video::before { display: none; }

    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-page-grid .news-grid { grid-template-columns: repeat(2, 1fr); }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
    .stat-item:nth-child(2n) { border-right: none; }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-bottom: none; }

    .about-section-inner { grid-template-columns: 1fr; gap: 32px; }

    .contact-inner { grid-template-columns: 1fr; gap: 48px; }

    .brands-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — 768px and below (mobile)
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --gutter:    20px;
        --stack-xl:  64px;
        --header-h:  68px;
    }

    /* Mobile nav */
    .primary-nav {
        position: fixed;
        inset-block-start: var(--header-h);
        inset-inline: 0;
        background: rgba(12, 14, 14, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 40px 24px;
        border-bottom: 1px solid var(--border-subtle);
        transform: translateY(-110%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 199;
    }
    .primary-nav.open { transform: translateY(0); }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 28px; }
    .nav-list a { font-size: 22px; letter-spacing: 0.06em; }

    .menu-toggle { display: flex; }
    .header-social { display: none; }
    .nav-partner-btn { display: none; }

    /* Mobile header starts transparent — same as desktop, darkens on scroll */
    .site-header {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom-color: transparent;
    }

    .news-grid { grid-template-columns: 1fr; }
    .news-page-grid .news-grid { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 32px 16px; }

    /* achievements-groups is already single-column by default */
    .brands-grid { grid-template-columns: repeat(2, 1fr); }

    .about-section { padding-block: 56px; }
    .about-cta { padding-block: 56px; }

    .contact-form-wrap { padding: 24px; }
    .contact-social { flex-direction: column; }

    .home-social-links { flex-direction: column; align-items: center; }

    .section-header { flex-direction: column; align-items: flex-start; }

    .hero { padding-block-end: 56px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    /* On mobile: bottom-up fade only — photo shows bright at top */
    .hero-overlay {
        background: linear-gradient(to top, rgba(10, 14, 20, 0.97) 0%, rgba(10, 14, 20, 0.70) 30%, transparent 58%);
    }

    /* Logo and hamburger get drop-shadows so they're readable against any photo */
    .site-logo {
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
    }
    .menu-toggle {
        filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.85));
    }

    /* Lift hero content above the overlay */
    .hero-content { z-index: 2; }

    .footer-nav { gap: 20px; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 2px;
}
.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;
}

/* Print */
@media print {
    .site-header, .site-footer { display: none; }
    body { background: white; color: black; }
}
