:root {
    color-scheme: light;
    --site-header-offset: 7rem;
    --mobile-bottom-nav-height: 5.75rem;
    --theme-midnight: #0D0D0D;
    --theme-midnight-rgb: 13 13 13;
    --theme-cobalt: #8B111E;
    --theme-cobalt-rgb: 139 17 30;
    --theme-amber: #D62828;
    --theme-amber-rgb: 214 40 40;
    --theme-cloud: #FFFFFF;
    --theme-cloud-rgb: 255 255 255;
    --theme-ink: #161616;
    --theme-ink-rgb: 22 22 22;
    --theme-steel: #575757;
    --theme-steel-rgb: 87 87 87;
    --theme-frost: #F3F3F3;
    --theme-frost-rgb: 243 243 243;
    --theme-surface-soft: color-mix(in srgb, var(--theme-cloud) 76%, white 24%);
    --theme-surface-muted: color-mix(in srgb, var(--theme-cloud) 88%, white 12%);
    --theme-surface-accent: color-mix(in srgb, var(--theme-amber) 20%, white 80%);
    --theme-border: color-mix(in srgb, var(--theme-frost) 72%, var(--theme-cloud) 28%);
    --theme-border-strong: color-mix(in srgb, var(--theme-frost) 82%, var(--theme-midnight) 18%);
    --theme-amber-hover: color-mix(in srgb, var(--theme-amber) 78%, white 22%);
    --theme-midnight-hover: color-mix(in srgb, var(--theme-midnight) 86%, white 14%);
    --theme-cobalt-deep: color-mix(in srgb, var(--theme-cobalt) 72%, var(--theme-midnight) 28%);
    --theme-cobalt-bright: color-mix(in srgb, var(--theme-cobalt) 82%, white 18%);
    --theme-cloud-rich: color-mix(in srgb, var(--theme-cloud) 82%, white 18%);
}

body {
    background: var(--theme-cloud);
    color: var(--theme-midnight);
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01" 1, "cv01" 1;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-padding-top: var(--site-header-offset);
}

::selection {
    background: rgb(var(--theme-amber-rgb) / 0.18);
    color: var(--theme-midnight);
}

a,
button,
summary,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

section[id] {
    scroll-margin-top: var(--site-header-offset);
}

.site-header {
    pointer-events: none;
}

.site-header > div {
    pointer-events: auto;
}

.section-outline {
    position: absolute;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: transparent;
    pointer-events: none;
    user-select: none;
    -webkit-text-stroke: 1px rgb(var(--theme-frost-rgb) / 0.13);
}

.section-outline {
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(4rem, 13vw, 9rem);
    white-space: nowrap;
    -webkit-text-stroke: 1px rgb(var(--theme-cobalt-rgb) / 0.12);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--theme-cobalt);
}

.section-label::before {
    content: "";
    display: inline-block;
    width: 2.2rem;
    height: 1px;
    background: color-mix(in srgb, currentColor 78%, white 22%);
}

.about-quote-block {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
    border: 1px solid rgb(var(--theme-cobalt-rgb) / 0.12);
    border-radius: 1.75rem;
    background: var(--theme-cloud);
    box-shadow: 0 28px 76px -46px rgb(var(--theme-midnight-rgb) / 0.16);
    padding: 1.7rem 1.6rem 1.8rem;
}

.about-quote-block::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.35rem;
    background: var(--theme-cobalt);
}

.about-quote-kicker {
    padding-left: 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--theme-cobalt);
}

.about-quote-title {
    margin-top: 0.95rem;
    padding-left: 0.65rem;
    font-family: "Satoshi", "Poppins", sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.94;
    letter-spacing: -0.03em;
    color: var(--theme-midnight);
}

.about-quote-copy {
    margin-top: 1.05rem;
    max-width: 32rem;
    padding-left: 0.65rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--theme-steel);
}

.panel-dark {
    background: rgb(var(--theme-midnight-rgb) / 0.98);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 70px -48px rgb(var(--theme-midnight-rgb) / 0.7);
}

.panel-surface {
    background: var(--theme-cloud-rich);
    border: 1px solid color-mix(in srgb, var(--theme-border) 82%, white 18%);
    box-shadow: 0 30px 76px -42px rgb(var(--theme-midnight-rgb) / 0.12);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.panel-surface:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 84px -40px rgb(var(--theme-midnight-rgb) / 0.18);
    border-color: rgb(var(--theme-cobalt-rgb) / 0.18);
}

.theme-soft-section {
    background: var(--theme-surface-soft);
}

.theme-outline-card {
    border: 1px solid var(--theme-border);
    background: rgba(255, 255, 255, 0.92);
}

.theme-outline-button {
    border: 1px solid var(--theme-border);
    background: rgb(var(--theme-cloud-rgb) / 0.9);
    color: var(--theme-midnight);
    transition:
        border-color 180ms ease,
        color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.theme-outline-button:hover {
    border-color: var(--theme-cobalt);
    color: var(--theme-cobalt);
    background: rgb(var(--theme-cloud-rgb) / 1);
    box-shadow: 0 18px 34px -24px rgb(var(--theme-midnight-rgb) / 0.18);
    transform: translateY(-1px);
}

.theme-accent-pill {
    background: var(--theme-surface-accent);
    color: var(--theme-cobalt);
}

.theme-muted-pill {
    border: 1px solid color-mix(in srgb, var(--theme-border) 92%, white 8%);
    background: var(--theme-surface-muted);
    color: var(--theme-steel);
}

.theme-accent-button {
    background: var(--theme-amber);
    color: #fff;
    box-shadow: 0 20px 42px -26px rgb(var(--theme-amber-rgb) / 0.48);
    transition:
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.theme-accent-button:hover {
    background: var(--theme-amber-hover);
    transform: translateY(-2px);
    box-shadow: 0 24px 48px -24px rgb(var(--theme-amber-rgb) / 0.56);
}

.theme-dark-button {
    background: var(--theme-midnight);
    color: #fff;
    box-shadow: 0 20px 42px -28px rgb(var(--theme-midnight-rgb) / 0.42);
    transition:
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.theme-dark-button:hover {
    background: var(--theme-midnight-hover);
    transform: translateY(-2px);
    box-shadow: 0 24px 48px -26px rgb(var(--theme-midnight-rgb) / 0.5);
}

.theme-footer-border {
    border-color: var(--theme-border);
}

.hero-fallback-surface {
    background: var(--theme-midnight);
}

.speaker-ticker {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    min-width: max-content;
    animation: marquee-scroll 34s linear infinite;
}

.marquee-track span {
    position: relative;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.marquee-track span::after {
    content: "";
    position: absolute;
    right: -1.6rem;
    top: 50%;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: rgb(var(--theme-amber-rgb) / 0.9);
    transform: translateY(-50%);
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--theme-border);
    background: color-mix(in srgb, white 92%, var(--theme-cloud) 8%);
    padding: 0.9rem 1.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--theme-ink);
    box-shadow: 0 16px 36px -28px rgb(var(--theme-midnight-rgb) / 0.28);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.trust-pill:hover {
    transform: translateY(-2px);
    border-color: rgb(var(--theme-cobalt-rgb) / 0.3);
    box-shadow: 0 20px 40px -28px rgb(var(--theme-midnight-rgb) / 0.34);
}

.cta-band {
    background: var(--theme-midnight);
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    background: var(--theme-midnight);
}

.hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.66;
    filter: saturate(0.9) brightness(0.72) contrast(1.06);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: rgb(var(--theme-midnight-rgb) / 0.56);
}

.hero-viewport {
    position: relative;
    min-height: clamp(35rem, 88vh, 57rem);
    display: flex;
    align-items: flex-end;
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 74rem;
    margin: 0 auto;
    padding: clamp(7.5rem, 18vh, 11.5rem) 1.5rem 3.4rem;
}

.hero-copy-text {
    max-width: 12ch;
    font-family: "Satoshi", "Poppins", sans-serif;
    font-size: clamp(2.5rem, 5vw, 5.2rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
    color: #fff;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.header-shell {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgb(var(--theme-midnight-rgb) / 0.88);
    box-shadow: 0 26px 64px -42px rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(16px);
}

.nav-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.78rem 1.05rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    white-space: nowrap;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
    transition:
        background-color 180ms ease,
        color 180ms ease,
        transform 180ms ease,
        border-color 180ms ease;
}

.nav-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-1px);
}

.mobile-nav {
    position: relative;
    flex-shrink: 0;
}

.mobile-nav-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1rem;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
    backdrop-filter: blur(10px);
}

.mobile-nav-summary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.mobile-nav-summary::-webkit-details-marker {
    display: none;
}

.mobile-nav-toggle-icon {
    position: relative;
    display: inline-flex;
    width: 1rem;
    height: 0.9rem;
}

.mobile-nav-toggle-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
        transform 180ms ease,
        opacity 180ms ease,
        top 180ms ease;
}

.mobile-nav-toggle-icon span:nth-child(1) {
    top: 0;
}

.mobile-nav-toggle-icon span:nth-child(2) {
    top: calc(50% - 1px);
}

.mobile-nav-toggle-icon span:nth-child(3) {
    top: calc(100% - 2px);
}

.mobile-nav[open] .mobile-nav-toggle-icon span:nth-child(1) {
    top: calc(50% - 1px);
    transform: rotate(45deg);
}

.mobile-nav[open] .mobile-nav-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-nav[open] .mobile-nav-toggle-icon span:nth-child(3) {
    top: calc(50% - 1px);
    transform: rotate(-45deg);
}

.mobile-nav-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.8rem);
    width: min(21rem, calc(100vw - 3rem));
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgb(var(--theme-midnight-rgb) / 0.95);
    padding: 1.1rem;
    box-shadow: 0 30px 72px -42px rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(16px);
}

.mobile-nav-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgb(var(--theme-frost-rgb) / 0.68);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.95rem 1rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.mobile-nav-link:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

.mobile-bottom-nav {
    position: fixed;
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.4rem;
    border: 1px solid rgb(var(--theme-midnight-rgb) / 0.08);
    border-radius: 1.45rem;
    background: rgb(var(--theme-cloud-rgb) / 0.98);
    box-shadow: 0 24px 52px -32px rgb(var(--theme-midnight-rgb) / 0.22);
    backdrop-filter: blur(18px);
    padding: 0.5rem;
}

.mobile-bottom-link {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 1.1rem;
    padding: 0.7rem 0.35rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--theme-steel);
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.mobile-bottom-link:hover {
    transform: translateY(-1px);
    background: rgb(var(--theme-midnight-rgb) / 0.05);
    color: var(--theme-midnight);
}

.mobile-bottom-link-accent {
    background: rgb(var(--theme-amber-rgb) / 0.14);
    color: var(--theme-cobalt);
}

.mobile-bottom-link-accent:hover {
    background: rgb(var(--theme-amber-rgb) / 0.2);
    color: var(--theme-cobalt-deep);
}

.mobile-bottom-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.btn-primary,
.btn-secondary,
.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 1rem 1.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.btn-primary {
    background: var(--theme-amber);
    color: #fff;
    box-shadow: 0 22px 44px -24px rgb(var(--theme-amber-rgb) / 0.44);
}

.btn-primary:hover {
    background: var(--theme-amber-hover);
    transform: translateY(-2px);
    box-shadow: 0 26px 50px -24px rgb(var(--theme-amber-rgb) / 0.68);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.12);
}

.btn-light {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 0.8rem 1.15rem;
    font-size: 0.6rem;
    backdrop-filter: blur(10px);
}

.btn-light:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.85rem 1.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.9rem 1rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
}

.signature-mark {
    font-family: "Satoshi", "Poppins", sans-serif;
    font-size: clamp(1.85rem, 3vw, 2.3rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    color: var(--theme-midnight);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-light:focus-visible,
.theme-accent-button:focus-visible,
.theme-outline-button:focus-visible,
.theme-dark-button:focus-visible,
.nav-chip:focus-visible,
.mobile-nav-summary:focus-visible,
.mobile-nav-link:focus-visible,
.mobile-bottom-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgb(var(--theme-amber-rgb) / 0.18);
}

.reveal-up {
    animation: reveal-up 0.7s ease-out both;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1023px) {
    .section-outline {
        display: none;
    }

    .cta-band {
        background: var(--theme-midnight);
    }

    .marquee-track {
        gap: 2rem;
    }

    .marquee-track span {
        letter-spacing: 0.18em;
    }

    .header-shell {
        border-radius: 1.5rem;
    }

    .hero-viewport {
        min-height: clamp(28rem, 74vh, 40rem);
    }
}

@media (max-width: 639px) {
    :root {
        --site-header-offset: 6.5rem;
        --mobile-bottom-nav-height: 5.55rem;
    }

    body {
        padding-bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom) + 1.25rem);
    }

    .mobile-nav-panel {
        width: min(20rem, calc(100vw - 2rem));
        right: -0.2rem;
    }

    .mobile-bottom-nav {
        left: max(0.65rem, env(safe-area-inset-left));
        right: max(0.65rem, env(safe-area-inset-right));
        bottom: max(0.65rem, env(safe-area-inset-bottom));
        gap: 0.25rem;
        border-radius: 1.35rem;
        padding: 0.45rem;
    }

    .mobile-bottom-link {
        gap: 0.28rem;
        border-radius: 0.95rem;
        padding: 0.62rem 0.2rem;
        font-size: 0.52rem;
        letter-spacing: 0.12em;
    }

    .mobile-bottom-icon {
        width: 1.1rem;
        height: 1.1rem;
    }

    .hero-background-video {
        object-position: 58% center;
    }

    .hero-viewport {
        min-height: 27rem;
    }

    .hero-copy {
        padding: 7.3rem 1.25rem 2.2rem;
    }

    .hero-copy-text {
        max-width: 12ch;
        font-size: clamp(2rem, 10vw, 3rem);
    }
}

@media (min-width: 640px) and (max-width: 1279px) {
    body {
        padding-bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom) + 1.4rem);
    }
}

@media (min-width: 1280px) {
    body {
        padding-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-background-video {
        display: none;
    }
}
