/* Core & Navigation */

/* ==========================================================================
   1. CORE FONTS (LOCAL SELF-HOSTED)
   ========================================================================== */

/* Local self-hosted fonts for Lumière: Playfair Display & Source Sans Pro */

/* cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/playfair-display-italic-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/playfair-display-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/playfair-display-italic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/playfair-display-italic-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/playfair-display-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/playfair-display-italic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/playfair-display-normal-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/playfair-display-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/playfair-display-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/playfair-display-normal-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/playfair-display-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/playfair-display-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/source-sans-pro-italic-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/source-sans-pro-italic-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/source-sans-pro-italic-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/source-sans-pro-italic-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-300-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-300-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/source-sans-pro-normal-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   2. THEME TOKENS & CSS VARIABLES
   ========================================================================== */

/* Theme variables */

:root {
    --font-sans: 'Source Sans Pro', 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

    --grid-gap: 20px;
    --landing-section-y: 65px;
    --container-max-width: 1200px;
    --results-dashboard-max-width: min(1020px, 88vw);

    --bg-page-base: #f6f4f2;
    --bg-primary: #f6f4f2;

    --color-brand: #0D1B2A;
    --text-primary: #0D1B2A;
    --text-secondary: #2C353F;

    --nav-link: #2C353F;
    --nav-link-hover: #0D1B2A;

    --accent: #0D1B2A;
    --milk-white: #FFFFFF;

    --bg-secondary: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.92);
    --section-alt-bg: rgba(255, 255, 255, 0.75);
    --section-alt-text: #0D1B2A;

    --header-height: 80px;
    --hero-header-offset: var(--header-height);
    --hero-split-media: 45%;
    --hero-media-col: 45%;
    --hero-image-object-position: right top;
    --hero-content-w: 648px;
    --hero-content-h: 512px;
    --hero-aspect-w: 648;
    --hero-aspect-h: 512;
    --hero-section-viewport-h: 100vh;
    --hero-section-height-trim: 0px;
    --hero-image-bottom-gradient-h: 215px;
    --hero-image-bottom-gradient: linear-gradient(to top, #0D1B2A 0%, rgba(13, 27, 42, 0) 70%);

    --home-about-panel-bg: #f6f4f2;
    --home-about-split-card-text-bg: #fefaf8;
    --home-about-brand-logo-size: clamp(64px, 11vw, 88px);
    --home-about-story-logo-to-title-gap: clamp(18px, 3vw, 26px);
    --metrics-heading-font-size: 32px;

    --case-studies-gap: 10px;
    --income-growth-card-radius: 24px;
    --income-topic-icon-slot: 40px;
    --income-body-icon-slot: 44px;
    --income-body-icon-graphic-max: 26px;
    --income-grow-visual-max-w: min(272px, 88%);
    --income-grow-visual-max-h: min(240px, 52vw);

    --models-results-accent: #2f6fed;
    --models-results-pill-bg: rgba(47, 111, 237, 0.12);

    --results-dashboard-badge-bg: #e8f5e9;
    --results-dashboard-badge-text: #1b5e20;
    --results-dashboard-metric-border: rgba(13, 27, 42, 0.12);
    --results-dashboard-platform-track: #e3eaf2;

    --empire-cta-bg: #0D1B2A;
    --empire-cta-text-muted: #b4bcc8;
    --empire-cta-section-height: 611px;
    --empire-cta-content-w: 536px;
    --empire-cta-image-w: 648px;
    --empire-cta-column-gap: 65px;
    --empire-cta-inner-max: 1249px;
    --empire-cta-image-object-position: center top;

    --footer-cta-bg: #0D1B2A;
    --cta-club-text-muted: #b4bcc8;
    --home-about-eyebrow: #666666;
    --home-about-lead: #5c6670;

    --cta-on-light-section-hover: #667382;
    --cta-on-dark-section-hover: #2D4156;
    --cta-surface-gradient-light-bg: linear-gradient(to right, var(--cta-on-light-section-hover) 50%, var(--color-brand) 50%);
    --cta-surface-gradient-dark-bg: linear-gradient(to right, var(--cta-on-dark-section-hover) 50%, var(--milk-white) 50%);

    --button-bg: transparent;
    --button-border: #0D1B2A;
    --button-color: #0D1B2A;
    --button-hover-bg: #0D1B2A;
    --button-hover-border: #0D1B2A;
    --button-hover-color: #FFFFFF;

    --cta-radius: 4px;

    --header-bg: var(--milk-white);
    --header-border: rgba(13, 27, 42, 0.12);
    --footer-bg: #121212;
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-text: rgba(255, 255, 255, 0.88);
    --footer-text-muted: rgba(255, 255, 255, 0.55);
    --cookie-banner-bg: rgba(18, 18, 18, 0.7);

    --divider-color: rgba(13, 27, 42, 0.2);
    --card-border-gradient: linear-gradient(to top, rgba(13, 27, 42, 0.35) 0%, transparent 80%);

    --input-bg: rgba(255, 255, 255, 0.95);
    --input-border: rgba(13, 27, 42, 0.2);
    --input-color: #0D1B2A;
    --input-placeholder: rgba(13, 27, 42, 0.45);
    --form-container-bg: rgba(255, 255, 255, 0.96);
    --form-section-overlay: linear-gradient(rgba(255, 255, 255, 0.45), rgba(229, 232, 236, 0.95));

    --hero-overlay: linear-gradient(rgba(13, 27, 42, 0.25), rgba(255, 255, 255, 0.88));
    --hero-text-color: #0D1B2A;
    --hero-text-shadow: 0 2px 12px rgba(255, 255, 255, 0.85);

    --caramel: #2C353F;
    --modal-overlay: rgba(13, 27, 42, 0.65);
    --modal-close-color: #2C353F;
}

@supports (height: 100svh) {
    :root {
        --hero-section-viewport-h: 100svh;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 68px;
        --hero-header-offset: var(--header-height);
        --landing-section-y: clamp(48px, 9vw, 65px);
        --income-grow-visual-max-w: min(220px, 78%);
        --income-grow-visual-max-h: min(200px, 46vw);
    }
}


/* ==========================================================================
   3. BASE & RESET STYLES
   ========================================================================== */

/* Base */

html {
    overflow-x: hidden;
    background-color: var(--bg-page-base);
    font-size: 16px;
}

/* 2K / QHD displays */
@media (min-width: 2200px) {
    html {
        font-size: 18px;
    }
    :root {
        --header-max-width: 1240px;
    }
}

/* 4K / Ultra-wide displays */
@media (min-width: 3200px) {
    html {
        font-size: 21px;
    }
    :root {
        --header-max-width: 1440px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
    font-family: var(--font-sans);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    font-weight: 600;
}

/* Display heading font synthesis */
.hero-split .hero-intro-heading,
.section-title,
.metrics-section__heading,
.metrics-section__heading-lead,
.metrics-section__heading-accent,
.metrics-section__value {
    font-synthesis: none;
}

section[id] {
    scroll-margin-top: calc(var(--hero-header-offset, 80px) - 2px);
}


/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */

/* Header styles */

:root {
    --header-bg: #1D1D1D;
    --header-border: rgba(255, 255, 255, 0.08);
    --header-text-active: #FFFFFF;
    --header-text-muted: #A0A0A0;
    --header-peach: #FFB696;
    --header-btn-bg: #FFFFFF;
    --header-btn-text: #1D1D1D;
    --header-btn-curtain: #FFB696;
    --header-height: 80px;
    --header-max-width: 1040px;
}

/* Header container */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(14px, 2vw, 32px);
    width: 100%;
    max-width: var(--header-max-width, 1040px);
    margin: 0 auto;
    padding: 0 clamp(16px, 3.5vw, 32px);
    height: var(--header-height);
    box-sizing: border-box;
}

/* Brand logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo-img {
    height: 30px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

/* Desktop navigation */
.nav-menu--desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.8vw, 30px);
    margin: 0;
    padding: 0;
}

.nav-menu--desktop a {
    position: relative;
    color: var(--header-text-muted);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.2px;
    padding: 8px 0;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.nav-menu--desktop a:hover {
    color: var(--header-text-active);
}

.nav-menu--desktop a.active {
    color: var(--header-text-active);
    font-weight: 600;
}

/* Header actions */
.header-actions,
.header-actions--desktop {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.6vw, 22px);
    justify-self: end;
}

/* Header social link */
.header-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--header-text-active, #FFFFFF);
    background: transparent;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.header-social-link:hover,
.header-social-link:focus-visible {
    color: var(--header-peach, #FFB696);
    background-color: rgba(255, 255, 255, 0.08);
}

.header-social-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    display: block;
}

/* Language dropdown */
.lang-switcher {
    margin: 0;
    position: relative;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown__summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--header-text-active);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
}

.lang-dropdown__summary::-webkit-details-marker {
    display: none;
}

.lang-dropdown__summary::marker {
    content: '';
}

.lang-dropdown__summary:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.lang-dropdown__chevron {
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -0.2em;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.lang-dropdown[open] .lang-dropdown__chevron {
    transform: rotate(225deg);
    margin-top: 0.1em;
}

.lang-dropdown__panel {
    position: absolute;
    z-index: 1100;
    right: 0;
    top: calc(100% + 8px);
    min-width: 120px;
    padding: 6px;
    margin: 0;
    background: #252525;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
}

.lang-dropdown__option {
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px 12px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    color: var(--header-text-muted);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-dropdown__option:hover {
    color: var(--header-text-active);
    background: rgba(255, 255, 255, 0.08);
}

.lang-dropdown__option--active {
    color: var(--header-peach);
    background: rgba(255, 182, 150, 0.12);
    font-weight: 600;
}

.lang-dropdown__option + .lang-dropdown__option {
    margin-top: 2px;
}

/* Call to action button with curtain animation */
.main-header .header-book-cta {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 28px;
    min-height: 44px;
    box-sizing: border-box;
    border-radius: 9999px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.2px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    outline: none;
    overflow: hidden;
    color: var(--header-btn-text);
    background-color: transparent;
    background-image: linear-gradient(to right, var(--header-btn-curtain) 50%, var(--header-btn-bg) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    box-shadow: none;
    transition: background-position 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-header .header-book-cta:hover {
    background-position: 0 0;
    color: var(--header-btn-text);
}

.main-header .header-book-cta .cta-text {
    position: relative;
    z-index: 2;
    color: inherit;
}

.main-header .header-book-cta:active {
    transform: scale(0.97);
}

/* Mobile nav toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    margin: 0;
    background: rgba(29, 29, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background-color: #FFFFFF;
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease;
}

/* State 2: Open (symmetrical X) */
.mobile-nav-toggle--open .mobile-nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle--open .mobile-nav-toggle__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-nav-toggle--open .mobile-nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1200;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-nav.mobile-nav--open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transition: opacity 0.32s ease, visibility 0s 0s;
}

.mobile-nav__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mobile-nav__panel {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 100%;
    background: var(--header-bg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--header-height, 80px) 0 clamp(24px, 4vh, 36px) 0;
    box-sizing: border-box;
}

.mobile-nav__top {
    display: none;
}

.mobile-nav__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vh, 26px);
    flex: none;
    margin: auto 0;
    overflow-y: auto;
}

.mobile-nav__link {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    text-align: center;
    padding: 6px 14px;
    transition: color 0.2s ease;
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
    color: #FFFFFF;
    font-weight: 700;
}

.mobile-nav__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(18px, 2.8vh, 24px);
    width: 100%;
    margin-top: auto;
    padding-top: clamp(20px, 3.5vh, 32px);
    box-sizing: border-box;
}

.mobile-nav .header-book-cta,
.mobile-nav__cta {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 200px;
    max-width: 260px;
    min-height: 44px;
    padding: 12px 32px;
    box-sizing: border-box;
    border-radius: 9999px !important;
    font-family: var(--font-sans, 'Source Sans Pro', sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    border: none !important;
    outline: none;
    overflow: hidden;
    box-shadow: none !important;
    background: var(--header-peach, #FFB696) !important;
    background-color: var(--header-peach, #FFB696) !important;
    background-image: none !important;
    color: #1D1D1D !important;
    transition: opacity 0.15s ease, transform 0.15s ease !important;
}

.mobile-nav .header-book-cta .cta-text,
.mobile-nav__cta .cta-text {
    position: relative;
    z-index: 2;
    color: #1D1D1D !important;
    text-decoration: none !important;
}

.mobile-nav .header-book-cta:hover,
.mobile-nav .header-book-cta:focus,
.mobile-nav .header-book-cta:focus-visible,
.mobile-nav__cta:hover,
.mobile-nav__cta:focus,
.mobile-nav__cta:focus-visible {
    background: var(--header-peach, #FFB696) !important;
    background-color: var(--header-peach, #FFB696) !important;
    background-image: none !important;
    color: #1D1D1D !important;
    text-decoration: none !important;
}

.mobile-nav .header-book-cta:active,
.mobile-nav__cta:active {
    opacity: 0.88 !important;
    transform: scale(0.98) !important;
}

.lang-switcher--mobile {
    margin: 0;
    display: flex;
    justify-content: center;
}

.lang-switcher--mobile .lang-dropdown__summary {
    color: #FFFFFF;
    font-size: 0.98rem;
    font-weight: 600;
    gap: 8px;
    padding: 6px 16px;
    background: transparent;
}

.lang-switcher--mobile .lang-dropdown__panel {
    top: calc(100% + 8px);
    bottom: auto;
    right: 50%;
    transform: translateX(50%);
    background: #252525;
}

.mobile-nav__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav__social-link:hover {
    color: var(--header-peach, #FFB696);
    background: rgba(255, 255, 255, 0.14);
}

body.mobile-nav-open {
    overflow: hidden;
    touch-action: none;
}

/* Tablet and mobile breakpoint (<= 1100px, including iPad Pro 13 1032px) */
@media (max-width: 1100px) {
    .main-header {
        z-index: 1300;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    body.mobile-nav-open .main-header {
        background-color: var(--header-bg);
        border-bottom-color: transparent;
        box-shadow: none;
    }

    body.mobile-nav-open .header-actions .header-book-cta {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }

    .nav-menu--desktop {
        display: none;
    }

    .header-social-link {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .header-lang-switcher,
    .header-actions .header-book-cta {
        display: none !important;
    }

    .mobile-nav__link:active {
        opacity: 0.7;
    }
}

@media (max-width: 640px) {
    .header-container,
    .mobile-nav__top {
        padding: 0 clamp(16px, 4vw, 24px);
    }

    .header-lang-switcher {
        display: none;
    }

    .header-actions .header-book-cta {
        display: none;
    }

    .header-actions {
        gap: 0;
    }

    .mobile-nav-toggle {
        width: 42px;
        height: 42px;
        padding: 9px;
    }
}


/* 5. Footer */

.main-footer {
    position: relative;
    width: 100%;
    background-color: #141414;
    color: #FFFFFF;
    box-sizing: border-box;
    padding: 0 clamp(16px, 3.5vw, 32px) clamp(36px, 5vw, 56px);
    overflow: hidden;
}

.main-footer .footer-container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: clamp(38px, 4.5vw, 54px);
    box-sizing: border-box;
}

.main-footer .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(36px, 5.5vw, 84px);
    box-sizing: border-box;
}

/* Brand Column (Left) */
.footer-brand {
    flex: 0 0 auto;
    width: auto;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-sizing: border-box;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.footer-logo:hover {
    opacity: 0.85;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    max-width: 124px;
    object-fit: contain;
    display: block;
}

.footer-tagline {
    font-family: var(--font-sans, 'Source Sans Pro', sans-serif);
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.52);
    margin: 0;
    max-width: 260px;
}

/* Navigation Menu Columns (Right-aligned in counterbalance to Brand) */
.footer-nav {
    display: flex;
    align-items: flex-start;
    gap: clamp(40px, 6vw, 80px);
    margin-left: auto;
    box-sizing: border-box;
}

.footer-nav__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-nav__link {
    font-family: var(--font-sans, 'Source Sans Pro', sans-serif);
    font-size: 0.92rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.footer-nav__link:hover,
.footer-nav__link:focus-visible {
    color: #FFFFFF;
}

/* Footer bottom */
.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: clamp(36px, 4.5vw, 54px);
    padding-top: clamp(20px, 2.5vw, 28px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    text-align: right;
}

.footer-copyright {
    font-family: var(--font-sans, 'Source Sans Pro', sans-serif);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.42);
    margin: 0;
    text-align: right;
    line-height: 1.4;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

/* 4K and Ultra-Wide screens */
@media (min-width: 2200px) {
    .main-footer .footer-container {
        max-width: 1240px;
    }

    .footer-brand {
        flex: 0 1 340px;
    }

    .footer-logo-img {
        height: 36px;
        max-width: 140px;
    }

    .footer-tagline {
        font-size: 0.95rem;
        max-width: 280px;
    }

    .footer-nav__link {
        font-size: 1rem;
    }

    .footer-social-link {
        font-size: 1.02rem;
    }

    .footer-copyright {
        font-size: 0.85rem;
    }
}

@media (min-width: 3200px) {
    .main-footer .footer-container {
        max-width: 1440px;
    }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .main-footer .footer-inner {
        flex-wrap: wrap;
        row-gap: 36px;
    }

    .footer-brand {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .footer-tagline {
        max-width: 480px;
    }

    .footer-nav {
        margin-left: 0;
        gap: clamp(32px, 8vw, 64px);
    }

    .footer-bottom {
        justify-content: flex-start;
        text-align: left;
    }

    .footer-copyright {
        text-align: left;
    }
}

/* Mobile (max-width: 640px) */
@media (max-width: 640px) {
    .main-footer {
        padding: 0 16px clamp(28px, 6vw, 40px);
    }

    .main-footer .footer-container {
        padding-top: 32px;
    }

    .main-footer .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .footer-brand {
        width: 100%;
        gap: 12px;
    }

    .footer-tagline {
        max-width: 100%;
        font-size: 0.84rem;
    }

    .footer-nav {
        width: auto;
        justify-content: flex-start;
        gap: clamp(48px, 14vw, 76px);
        padding: 4px 0;
    }

    .footer-nav__col {
        gap: 12px;
    }

    .footer-nav__link {
        font-size: 0.9rem;
        padding: 4px 0;
    }

    .footer-bottom {
        margin-top: 28px;
        padding-top: 18px;
        justify-content: flex-start;
        text-align: left;
    }

    .footer-copyright {
        font-size: 0.76rem;
        text-align: left;
    }
}


/* ==========================================================================
   6. SCROLL ANIMATIONS
   ========================================================================== */

/* Form animations */

@keyframes loadingBlink {

    0%,
    100% {
        opacity: 0.2;
    }

    20% {
        opacity: 1;
    }
}

.loading-dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-dots-container span {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    animation: loadingBlink 1.4s infinite both;
}

.loading-dots-container span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots-container span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-8px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-8px);
    }

    80% {
        transform: translateX(8px);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shake {
    animation: shake 0.3s cubic-bezier(.36, .07, .19, .97) both;
}

.form-group {
    opacity: 0;
}

.form-container.visible .form-group,
.form-page-wrapper.visible .form-container .form-group {
    animation: slideUpFade 0.5s ease forwards;
}

.form-group:nth-child(2) {
    animation-delay: 0.1s;
}

.form-group:nth-child(3) {
    animation-delay: 0.15s;
}

.form-group:nth-child(4) {
    animation-delay: 0.2s;
}

.form-group:nth-child(5) {
    animation-delay: 0.25s;
}

.form-group:nth-child(6) {
    animation-delay: 0.3s;
}

.form-container .cta-button {
    opacity: 0;
}

.form-container.visible .cta-button,
.form-page-wrapper.visible .form-container .cta-button {
    animation: slideUpFade 0.5s ease forwards;
    animation-delay: 0.35s;
}


/* ==========================================================================
   7. COOKIE CONSENT BANNER
   ========================================================================== */

/* 6. Cookie Banner */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 72px;
    background: rgba(18, 18, 18, 0.92);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
    color: #FFFFFF;
    padding: 16px clamp(20px, 4vw, 40px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    width: 100%;
    gap: clamp(16px, 3vw, 32px);
    box-sizing: border-box;
}

.cookie-banner p {
    margin: 0;
    font-family: var(--font-sans, 'Source Sans Pro', sans-serif);
    font-size: clamp(0.9rem, 1.1vw, 0.96rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

/* Peach brand link for privacy policy */
.cookie-banner .privacy-link {
    color: var(--hero-peach, #FFB696);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(255, 182, 150, 0.6);
    text-underline-offset: 3px;
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.cookie-banner .privacy-link:hover,
.cookie-banner .privacy-link:focus-visible {
    color: #FFFFFF;
    text-decoration-color: #FFFFFF;
}

/* Brand pill button with straight vertical light curtain animation */
.cookie-banner .cookie-accept-btn,
.cookie-banner .cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    min-height: 42px;
    box-sizing: border-box;
    border-radius: 9999px;
    font-family: var(--font-sans, 'Source Sans Pro', sans-serif);
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    outline: none;
    overflow: hidden;
    color: #1D1D1D;
    background-color: var(--hero-peach, #FFB696);
    background-image: linear-gradient(to right, #FFFFFF 50%, var(--hero-peach, #FFB696) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    background-repeat: no-repeat;
    box-shadow: none;
    transform: none;
    flex-shrink: 0;
    transition: background-position 0.45s cubic-bezier(0.25, 1, 0.5, 1),
                color 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.cookie-banner .cookie-accept-btn:hover,
.cookie-banner .cookie-accept-btn:focus-visible,
.cookie-banner .cta-button:hover,
.cookie-banner .cta-button:focus-visible {
    background-position: 0 0;
    color: #1D1D1D;
    transform: none;
}

.cookie-banner .cookie-accept-btn .cta-text,
.cookie-banner .cta-button .cta-text {
    position: relative;
    z-index: 2;
    color: inherit;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (TABLETS & SMARTPHONES)
   ========================================================================== */

@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px 20px;
        min-height: auto;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }

    .cookie-banner p {
        font-size: 0.88rem;
    }

    .cookie-banner .cookie-accept-btn,
    .cookie-banner .cta-button {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        min-height: 42px;
    }
}

