:root {
    --bs-primary: #000000;
    --bs-primary-rgb: 0, 0, 0;
    --bs-secondary: #a73b00;
    --bs-secondary-rgb: 167, 59, 0;
    --bs-success: #05a357;
    --bs-danger: #ba1a1a;
    --bs-warning: #FF5F05;
    --bs-body-bg: #f9f9f9;
    --bs-body-color: #1a1c1c;
    --bs-border-color: #e2e2e2;
    --bs-body-font-family: 'Hanken Grotesk', system-ui, sans-serif;
    --fx-primary: #000000;
    --fx-primary-dark: #1b1b1b;
    --fx-on-primary: #ffffff;
    --fx-ink: var(--fx-text);
    --fx-muted: #4c4546;
    --fx-surface: #ffffff;
    --fx-panel: var(--fx-surface);
    --fx-line: #e2e2e2;
    --fx-green: var(--fx-primary);
    --fx-green-strong: var(--fx-primary-dark);
    --fx-mint: #dff4e6;
    --fx-coral: #e4664f;
    --fx-gold: #f2c94c;
    --fx-orange: #FF5F05;
    --fx-orange-container: #fe5f04;
    --fx-blue: #276EF1;
    --fx-success: #05a357;
    --fx-danger: #ba1a1a;
    --fx-bg: #f9f9f9;
    --fx-surface-low: #f3f3f3;
    --fx-surface-container: #eeeeee;
    --fx-text: #1a1c1c;
    --fx-border: var(--fx-line);
    --fx-outline: var(--fx-line);
    --fx-font: 'Hanken Grotesk', system-ui, sans-serif;
    --fx-font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

* {
    box-sizing: border-box;
}

body.fx-public {
    margin: 0;
    color: var(--fx-ink);
    background: var(--fx-bg);
    font-family: var(--fx-font);
    letter-spacing: 0;
}

.btn-primary {
    --bs-btn-bg: #000000;
    --bs-btn-border-color: #000000;
    --bs-btn-hover-bg: #1b1b1b;
    --bs-btn-hover-border-color: #1b1b1b;
    --bs-btn-active-bg: #1b1b1b;
    --bs-btn-active-border-color: #1b1b1b;
    --bs-btn-color: #ffffff;
}

.btn-outline-primary {
    --bs-btn-color: #000000;
    --bs-btn-border-color: #000000;
    --bs-btn-hover-bg: #000000;
    --bs-btn-hover-border-color: #000000;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-bg: #000000;
    --bs-btn-active-border-color: #000000;
    --bs-btn-active-color: #ffffff;
}

.btn-orange {
    background-color: var(--fx-orange);
    border-color: var(--fx-orange);
    color: #ffffff;
    font-weight: 600;
}

.btn-orange:hover,
.btn-orange:active {
    background-color: #e55504;
    border-color: #e55504;
    color: #ffffff;
}

.material-symbols-outlined {
    display: inline-block;
    font-family: 'Material Symbols Outlined';
    font-feature-settings: 'liga';
    font-size: 20px;
    font-style: normal;
    font-variation-settings:
        'FILL' 0,
        'wght' 100,
        'GRAD' 0,
        'opsz' 24;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1;
    text-rendering: optimizeLegibility;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.fx-site-header,
.fx-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.fx-site-header {
    min-height: 76px;
}

.fx-brand,
.fx-nav,
.fx-footer nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fx-brand {
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
}

.fx-brand img {
    border-radius: 8px;
}

.fx-nav,
.fx-footer {
    font-size: 0.95rem;
}

.fx-nav a,
.fx-footer a {
    color: var(--fx-muted);
    text-decoration: none;
}

.fx-nav a:hover,
.fx-footer a:hover {
    color: var(--fx-ink);
}

.fx-nav-action {
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--fx-line);
    border-radius: 8px;
    background: var(--fx-panel);
}

.fx-page {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto 5rem;
}

.fx-hero,
.fx-location-hero {
    display: grid;
    align-items: center;
    min-height: clamp(420px, 72vh, 720px);
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.fx-hero-with-media {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
}

.fx-hero-copy,
.fx-location-hero {
    max-width: 760px;
}

.fx-eyebrow {
    margin: 0 0 0.9rem;
    color: var(--fx-coral);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.fx-hero h1,
.fx-location-hero h1 {
    margin: 0;
    color: var(--fx-ink);
    font-size: clamp(2.6rem, 8vw, 5.7rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.fx-lede {
    max-width: 720px;
    margin: 1.35rem 0 0;
    color: var(--fx-muted);
    font-size: clamp(1.12rem, 2vw, 1.45rem);
    line-height: 1.55;
}

.fx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.fx-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.fx-button-primary {
    color: #ffffff;
    background: var(--fx-primary);
}

.fx-button-primary:hover {
    color: #ffffff;
    background: var(--fx-primary-dark);
}

.fx-button-secondary {
    color: var(--fx-ink);
    border: 1px solid var(--fx-line);
    background: var(--fx-panel);
}

.fx-hero-media {
    margin: 0;
}

.fx-hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(23, 32, 27, 0.16);
}

.fx-content {
    width: min(820px, 100%);
    margin: 0 auto;
    color: var(--fx-ink);
    font-size: 1.06rem;
    line-height: 1.75;
}

.fx-content h2,
.fx-content h3 {
    margin-top: 2.2rem;
    line-height: 1.15;
    letter-spacing: 0;
}

.fx-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.fx-location-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: -2rem 0 4rem;
    overflow: hidden;
    border: 1px solid var(--fx-line);
    border-radius: 8px;
    background: var(--fx-line);
}

.fx-location-facts div {
    min-width: 0;
    padding: 1.1rem;
    background: var(--fx-panel);
}

.fx-location-facts span {
    display: block;
    color: var(--fx-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.fx-location-facts strong {
    display: block;
    margin-top: 0.3rem;
    overflow-wrap: anywhere;
    font-size: 1rem;
}

.fx-footer {
    min-height: 120px;
    border-top: 1px solid var(--fx-line);
    color: var(--fx-muted);
}

.fx-footer div {
    display: grid;
    gap: 0.25rem;
}

.fx-footer strong {
    color: var(--fx-ink);
}

.fx-public-support {
    max-width: min(1080px, calc(100% - 32px));
    margin: 0 auto 56px;
    padding: 24px 0 0;
}

.fx-privacy-banner {
    position: fixed;
    inset: auto 0 0;
    z-index: 1080;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.fx-privacy-banner[hidden],
.fx-privacy-modal[hidden],
.modal-backdrop[hidden] {
    display: none !important;
}

.fx-privacy-modal {
    z-index: 1090;
}

.fx-privacy-modal + .modal-backdrop {
    z-index: 1085;
}

@media (max-width: 760px) {
    .fx-site-header,
    .fx-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem 0;
    }

    .fx-nav,
    .fx-footer nav {
        flex-wrap: wrap;
    }

    .fx-hero,
    .fx-location-hero {
        min-height: 0;
        padding: 3.5rem 0;
    }

    .fx-hero-with-media {
        grid-template-columns: 1fr;
    }

    .fx-hero-media img {
        aspect-ratio: 16 / 10;
    }

    .fx-location-facts {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .fx-privacy-modal .modal-dialog {
        align-items: end;
        min-height: calc(100% - 0.5rem);
        margin: 0.5rem 0 0;
    }

    .fx-privacy-modal .modal-content {
        border-radius: 0.5rem 0.5rem 0 0;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
}
