/* 
    Fab Private Expeditions - V1 Design System
    Theme: Horizon Bound (Dark luxury expedition)
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:wght@600;700&family=Manrope:wght@400;500&family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
    /* Colors */
    --black: #050505;
    --anthracite: #111111;
    --surface-bright: #3d3933;
    --warm-sand: #C6A66A;
    --ivory: #F4EFE6;
    --metallic-gray: #8A8A8A;
    --border-gray: rgba(138, 138, 138, 0.3);
    --alert-red: #A6382E;

    /* Typography */
    --font-heading: 'Noto Serif', serif;
    --font-body: 'Manrope', sans-serif;
    --font-tech: 'Space Grotesk', sans-serif;

    /* Spacing */
    --section-gap: 128px;
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--ivory);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-gap) 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.label {
    font-family: var(--font-tech);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 12px;
    color: var(--warm-sand);
    display: block;
    margin-bottom: 16px;
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(5,5,5,0.8), transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    padding: 16px 0;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid var(--border-gray);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--ivory);
}

.brand-icon {
    width: 39px;
    height: 39px;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--ivory);
    font-family: var(--font-tech);
    font-size: 14px;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--warm-sand);
}

/* Language switch pill — discreet, premium */
.nav-links .lang-switch,
.footer-links .lang-switch {
    border: 1px solid rgba(138, 138, 138, 0.4);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 0.08em;
    opacity: 0.65;
    transition: var(--transition);
}

.nav-links .lang-switch:hover,
.footer-links .lang-switch:hover {
    opacity: 1;
    border-color: var(--warm-sand);
    color: var(--warm-sand);
}

.cta-btn {
    font-family: var(--font-tech);
    font-weight: 600;
    padding: 12px 24px;
    background: var(--warm-sand);
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cta-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.cta-btn.ghost {
    background: transparent;
    border: 1px solid var(--metallic-gray);
    color: var(--ivory);
}

.cta-btn.ghost:hover {
    border-color: var(--warm-sand);
    color: var(--warm-sand);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ivory);
}

/* Mobile nav — revealed when JS adds .nav-open */
@media (max-width: 768px) {
    .nav-links.nav-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.97);
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 999;
    }
    .nav-links.nav-open a {
        font-size: 20px;
        opacity: 1;
    }
}

/* --- Hero --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    /* Solid fallback if all images fail */
    background-color: var(--anthracite);
}

/* --- Hero Slideshow --- */

/*
 * .hero-slideshow: full-bleed container behind all hero content.
 * z-index: 0 keeps it below the hero text (z-index: 1).
 * Background color = visible while first image loads.
 */
.hero-slideshow {
    position: absolute;
    inset: 0; /* shorthand for top/right/bottom/left: 0 */
    z-index: 0;
    background-color: var(--anthracite);
}

/*
 * Dark cinematic overlay — placed via ::after so it sits above
 * the slides but below the hero text container.
 * Gradient: slightly lighter at top (header reads), denser at bottom.
 */
.hero-slideshow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(5, 5, 5, 0.55) 0%,
        rgba(5, 5, 5, 0.72) 60%,
        rgba(5, 5, 5, 0.82) 100%
    );
    z-index: 2; /* above slides (z-index: 1), below hero text */
}

/*
 * Each .hero-slide is stacked on top of each other (absolute).
 * Default state: invisible (opacity: 0).
 * Active state: visible (opacity: 1).
 * Transition: 2s soft ease-in-out fade.
 */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

/* Active slide is fully visible */
.hero-slide.active {
    opacity: 1;
}

/*
 * Ensure hero text content sits above the overlay (z-index: 2).
 * The .container inside .hero must stack above .hero-slideshow::after.
 */
.hero > .container {
    position: relative;
    z-index: 3;
}

/* Hero coordinates badge — also above the overlay */
.hero-coords {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 3;
    font-family: var(--font-tech);
    font-size: 11px;
    color: var(--metallic-gray);
    text-align: right;
    letter-spacing: 0.2em;
}

/* --- Hero Content --- */
.hero-content {
    max-width: 800px;
    transform: translateY(36px);
}

.hero h1 {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero .subtitle {
    font-size: 24px;
    color: var(--warm-sand);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.trailer-trigger {
    background: rgba(5, 5, 5, 0.24);
    border-color: rgba(198, 166, 106, 0.55);
    color: var(--ivory);
}

.trailer-trigger:hover {
    background: rgba(198, 166, 106, 0.08);
    border-color: var(--warm-sand);
    color: var(--warm-sand);
}

/* --- Reduced Motion: disable slideshow, keep first image --- */
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
    /* JS will detect this and skip the interval entirely */
}

/* --- Manifesto --- */
.manifesto {
    background: var(--anthracite);
    text-align: center;
}

.manifesto-header {
    max-width: 800px;
    margin: 0 auto 64px;
}

.manifesto h2 {
    font-size: 48px;
    margin-bottom: 32px;
}

.manifesto-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* --- Client Mirror / Why Companion --- */
.client-mirror {
    background: var(--black);
    border-bottom: 1px solid var(--border-gray);
}

.mirror-copy,
.companion-intro {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.mirror-copy h2,
.companion-intro h2 {
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 28px;
}

.mirror-copy p,
.companion-intro p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 22px;
}

.mirror-copy p:last-child,
.companion-intro p:last-child {
    margin-bottom: 0;
}

.mirror-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.mirror-item {
    background: var(--anthracite);
    border: 1px solid var(--border-gray);
    color: var(--ivory);
    font-family: var(--font-tech);
    font-size: 14px;
    line-height: 1.5;
    padding: 24px;
    transition: var(--transition);
}

.mirror-item:hover {
    border-color: rgba(198, 166, 106, 0.5);
}

.why-companion {
    background: var(--black);
    border-top: 1px solid var(--border-gray);
}

.companion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.companion-card {
    background: var(--anthracite);
    border: 1px solid var(--border-gray);
    padding: 32px;
    transition: var(--transition);
}

.companion-card:hover {
    border-color: rgba(198, 166, 106, 0.5);
}

.companion-card h3 {
    color: var(--warm-sand);
    font-family: var(--font-tech);
    font-size: 16px;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.companion-card p {
    font-size: 15px;
    opacity: 0.75;
    margin: 0;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.manifesto-item {
    background: var(--black);
    border: 1px solid var(--border-gray);
    padding: 40px;
    position: relative;
    transition: var(--transition);
}

.manifesto-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.manifesto-num {
    display: block;
    font-family: var(--font-tech);
    font-size: 12px;
    color: var(--warm-sand);
    opacity: 0.6;
    margin-bottom: 32px;
    letter-spacing: 0.1em;
}

.manifesto-item h3 {
    font-size: 18px;
    font-family: var(--font-tech);
    color: var(--warm-sand);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.manifesto-item p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

/* --- Cards Grid (What I Do) --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--anthracite);
    border: 1px solid var(--border-gray);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--warm-sand);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.card p {
    font-size: 15px;
    opacity: 0.7;
}

.section-support {
    font-size: 18px;
    opacity: 0.75;
    max-width: 680px;
    margin: 0 0 56px;
}

.zero-to-hero-note {
    margin-top: 32px;
    padding: 32px;
    border: 1px solid rgba(198, 166, 106, 0.35);
    background: linear-gradient(to bottom, rgba(198, 166, 106, 0.06), rgba(255, 255, 255, 0.02));
    max-width: 820px;
}

.zero-to-hero-note h3 {
    color: var(--warm-sand);
    font-family: var(--font-tech);
    font-size: 16px;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.zero-to-hero-note p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.78;
    margin: 0;
}

/* --- Pillars --- */
.pillars {
    background: var(--black);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
}

.pillar h3 {
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pillar h3::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--warm-sand);
}

/* --- Why Fab --- */
.why-fab {
    background: var(--anthracite);
}

/* --- Field Proof / Credentials Teaser --- */
.field-proof {
    background: var(--black);
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.field-proof-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.why-fab-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 24px;
}

.stats-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stats-list li {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-gray);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--metallic-gray);
    transition: var(--transition);
}

.stats-list li:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.stats-list li b {
    font-family: var(--font-tech);
    color: var(--ivory);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Experiences --- */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* --- Gallery --- */
.gallery {
    padding-bottom: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--anthracite);
    border: 1px solid var(--border-gray);
    overflow: hidden;
    cursor: zoom-in;
    padding: 0;
    margin: 0;
    appearance: none;
    outline: none;
    display: block;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.gallery-title {
    font-family: var(--font-tech);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ivory);
    margin-bottom: 6px;
    text-align: left;
    display: block;
}

.gallery-caption {
    font-size: 13px;
    opacity: 0.8;
    color: var(--ivory);
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

.gallery-trailer-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.gallery-trailer-link {
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(198, 166, 106, 0.45);
    color: var(--ivory);
    cursor: pointer;
    font-family: var(--font-tech);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.4;
    padding: 0 0 8px;
    text-transform: uppercase;
    transition: var(--transition);
}

.gallery-trailer-link:hover,
.gallery-trailer-link:focus-visible {
    border-color: var(--warm-sand);
    color: var(--warm-sand);
    outline: none;
}

/* --- Pricing --- */
.pricing {
    background: var(--anthracite);
    padding-top: 100px;
    padding-bottom: 100px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.price-card {
    text-align: center;
    border: 1px solid var(--border-gray);
    padding: 48px;
}

.price-card.featured {
    border-color: var(--warm-sand);
    background: linear-gradient(to bottom, rgba(198, 166, 106, 0.05), transparent);
}

.price-card h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

.price {
    font-family: var(--font-tech);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-sub {
    font-family: var(--font-tech);
    font-size: 12px;
    color: var(--metallic-gray);
    margin-bottom: 32px;
}

/* --- FAQ --- */
.faq {
    padding-top: 100px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-gray);
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--ivory);
    font-family: var(--font-heading);
    font-size: 18px;
    text-align: left;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 360px;
    padding-bottom: 24px;
    opacity: 0.8;
}

/* --- Footer --- */
footer {
    padding: 80px 0 40px;
    background: var(--black);
    border-top: 1px solid var(--border-gray);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-gray);
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--metallic-gray);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-family: var(--font-tech);
    font-size: 12px;
    color: var(--metallic-gray);
    text-decoration: none;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(138, 138, 138, 0.2);
    color: var(--ivory);
    border-radius: 4px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 90;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    border-color: var(--warm-sand);
    color: var(--warm-sand);
    transform: translateY(-2px);
}

/* --- Content Page (Why Fab) --- */
.content-page {
    padding: 160px 0 80px;
}

.content-page .hero-content h1 {
    font-size: 48px;
    margin-bottom: 24px;
}

.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: var(--anthracite);
}

.content-section h2 {
    font-size: 32px;
    margin-bottom: 32px;
    max-width: 800px;
}

.content-section p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.8;
    max-width: 800px;
}

.credentials-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
}

.credentials-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-gray);
    font-size: 16px;
}

.credentials-list li:last-child {
    border-bottom: none;
}

/* --- Lightbox --- */
.field-lightbox {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.field-lightbox[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 2;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: var(--ivory);
    font-size: 32px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close:hover {
    opacity: 1;
    color: var(--warm-sand);
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-info {
    margin-top: 24px;
    text-align: center;
    max-width: 600px;
}

.lightbox-title {
    font-family: var(--font-tech);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm-sand);
    margin-bottom: 8px;
}

.lightbox-caption {
    font-size: 15px;
    color: var(--ivory);
    opacity: 0.9;
    line-height: 1.5;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(18,18,18,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--ivory);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
}

.lightbox-nav:hover {
    background: var(--black);
    border-color: var(--warm-sand);
    color: var(--warm-sand);
}

.lightbox-prev { left: 32px; }
.lightbox-next { right: 32px; }

/* Disable scrolling when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}

/* --- Trailer Modal --- */
.trailer-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.36s ease;
}

.trailer-modal[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.trailer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 2, 2, 0.98);
}

.trailer-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 18px 28px 28px;
}

.trailer-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: min(var(--container-width), calc(100vw - 48px));
    margin: 0 auto;
}

.trailer-brand {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-tech);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(244, 239, 230, 0.54);
    opacity: 1;
    text-shadow: 0 0 24px rgba(244, 239, 230, 0.06);
}

.trailer-brand-icon {
    width: 39px;
    height: 39px;
    display: block;
    object-fit: contain;
    opacity: 0.72;
}

.trailer-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(138, 138, 138, 0.26);
    border-radius: 4px;
    color: var(--ivory);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.trailer-close:hover,
.trailer-close:focus-visible {
    border-color: var(--warm-sand);
    color: var(--warm-sand);
    opacity: 1;
}

.trailer-frame {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0 0;
}

.trailer-video {
    width: min(92vw, calc(82vh * 16 / 9), 1480px);
    max-height: 82vh;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid rgba(198, 166, 106, 0.28);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68);
    object-fit: contain;
    display: block;
}

body.trailer-open {
    overflow: hidden;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 56px; }
    .why-fab-wrapper, .pillars-grid, .field-proof-inner { grid-template-columns: 1fr; gap: 48px; }
    .mirror-grid, .companion-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-gap: 80px; }
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .hero-content { transform: translateY(28px); }
    .hero h1 { font-size: 42px; }
    .manifesto-grid, .cards-grid, .pricing-grid, .gallery-grid, .mirror-grid, .companion-grid { grid-template-columns: 1fr; }
    .mirror-copy h2, .companion-intro h2 { font-size: 34px; }
    .mirror-copy, .companion-intro { text-align: left; margin-bottom: 40px; }
    .section-support { margin-bottom: 40px; }
    .field-proof-inner { grid-template-columns: 1fr; gap: 40px; }
    .stats-list { grid-template-columns: 1fr; }
    .stats-list li { padding: 16px; }
    .hero-btns { flex-direction: column; }
    .footer-top { flex-direction: column; gap: 40px; }
    
    .lightbox-content { padding: 20px; }
    .lightbox-nav { width: 40px; height: 40px; }
    .lightbox-prev { left: 16px; }
    .lightbox-next { right: 16px; }
    .lightbox-image { max-height: 60vh; }
    .trailer-modal {
        height: 100dvh;
    }
    .trailer-shell {
        height: 100dvh;
        padding: calc(16px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));
    }
    .trailer-brand {
        font-size: 18px;
        letter-spacing: 0.05em;
        line-height: 1.2;
    }
    .trailer-topbar {
        width: 100%;
    }
    .trailer-close {
        width: 36px;
        height: 36px;
        font-size: 21px;
        opacity: 0.74;
    }
    .trailer-frame {
        padding-top: 14px;
    }
    .trailer-video {
        width: 100%;
        height: auto;
        max-width: 100vw;
        max-height: 70vh;
    }
}
