/* WCI shared shell: fixed header, dropdown nav, outer footer.
   Namespaced .wci-* so per-page section CSS coexists untouched. */

:root {
    --wci-shell-bg: #0b101d;
    --wci-gold: #c9a961;
    --wci-shell-text: #ffffff;
}

/* ---------- Header ---------- */
.wci-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--wci-shell-bg);
    height: 116px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px 0 0;
}

.wci-header-logo img {
    height: 92px;
    width: auto;
    display: block;
}

.wci-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-family: 'Inter', Arial, sans-serif;
}

.wci-nav-item {
    position: relative;
}

.wci-nav-item > a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
    padding: 12px 2px;
    display: inline-block;
    white-space: nowrap;
}

.wci-nav-item > a:hover,
.wci-nav-item > a.wci-active {
    color: var(--wci-gold);
}

.wci-nav-item > a.wci-active {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.wci-nav-caret {
    font-size: 9px;
    opacity: 0.8;
    margin-left: 4px;
    display: inline-block;
    transform: translateY(-1px);
}

.wci-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--wci-shell-bg);
    min-width: 280px;
    padding: 14px 0;
    display: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    border-top: 2px solid var(--wci-gold);
}

.wci-nav-item:hover .wci-dropdown,
.wci-nav-item:focus-within .wci-dropdown {
    display: block;
}

.wci-dropdown a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    padding: 11px 26px;
    white-space: nowrap;
}

.wci-dropdown a:hover {
    color: var(--wci-gold);
    background: rgba(255, 255, 255, 0.05);
}

.wci-contact-pill {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wci-contact-pill:hover {
    background: var(--wci-gold);
    border-color: var(--wci-gold);
    color: #121317;
}

/* Mobile nav */
.wci-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    padding: 8px 14px;
    line-height: 1;
}

@media (max-width: 1180px) {
    .wci-nav { display: none; }
    .wci-nav-toggle { display: block; }
    .wci-header { padding-right: 16px; }
    .wci-header-logo img { height: 74px; }

    .wci-nav.wci-nav-open {
        display: flex;
        position: fixed;
        top: 116px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--wci-shell-bg);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 20px 30px;
        overflow-y: auto;
    }
    .wci-nav.wci-nav-open .wci-nav-item { width: 100%; }
    .wci-nav.wci-nav-open .wci-nav-item > a {
        font-size: 17px;
        padding: 14px 0;
        width: 100%;
    }
    .wci-nav.wci-nav-open .wci-dropdown {
        display: block;
        position: static;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-left: 2px solid var(--wci-gold);
        margin: 0 0 8px 10px;
        padding: 0;
        min-width: 0;
    }
    .wci-nav.wci-nav-open .wci-contact-pill {
        margin-top: 24px;
        display: inline-block;
    }
}

/* ---------- Outer footer ---------- */
.wci-footer-outer {
    background: var(--wci-shell-bg);
    color: #ffffff;
    padding: 90px 60px 50px;
    font-family: 'Inter', Arial, sans-serif;
}

.wci-footer-outer-content {
    max-width: 1280px;
    margin: 0 auto;
}

.wci-footer-outer-logo img {
    height: 96px;
    width: auto;
    margin-bottom: 50px;
}

.wci-footer-outer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 60px;
    margin-bottom: 70px;
}

.wci-footer-outer-cols h5 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.25em;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 22px;
    color: #ffffff;
}

.wci-footer-outer-cols a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.wci-footer-outer-cols a:hover { color: var(--wci-gold); }

.wci-footer-outer-cols p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.wci-footer-email {
    text-decoration: underline !important;
}

.wci-footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 36px;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 900px;
    margin-bottom: 36px;
}

.wci-footer-legal {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.wci-footer-tagline {
    font-style: italic;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
    .wci-footer-outer { padding: 60px 30px 40px; }
    .wci-footer-outer-cols { grid-template-columns: 1fr; gap: 40px; }
}

/* Small inline tag */
.wci-flag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a6d2f;
    background: rgba(201, 169, 97, 0.14);
    border: 1px solid rgba(201, 169, 97, 0.55);
    border-radius: 3px;
    padding: 3px 10px;
    margin: 0 0 12px;
    font-weight: 600;
    vertical-align: middle;
}

.wci-flag-dark {
    color: #e8d5a8;
    background: rgba(201, 169, 97, 0.18);
    border-color: rgba(201, 169, 97, 0.5);
}

/* Standing disclaimer band used inside page sections */
.wci-disclaimer-band {
    font-size: 0.9em;
    line-height: 1.8;
    padding: 26px 32px;
    border-left: 3px solid #c9a961;
    background: rgba(201, 169, 97, 0.08);
    max-width: 950px;
}

/* Hero background video layers. */
.wci-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.wci-hero-video--lowres {
    filter: blur(4px) brightness(0.9);
    transform: scale(1.06);
}

.wci-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(8, 10, 16, 0.55), rgba(8, 10, 16, 0.72));
    z-index: 1;
}

/* Contain decorative pseudo-elements that extend past the viewport on some pages */
.emphasis-section, .hero, .hero-section, .wci-shell-hero {
    overflow: hidden;
}

/* Utility: pages built from shell only (contact, terms) */
.wci-plain-page {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background: #fafaf8;
    color: #2b2d33;
    line-height: 1.8;
}
