:root {
    --color-primary: #0A192F;
    /* Deep Navy */
    --color-primary-light: #172A45;
    --color-accent: #FFB347;
    /* Warm Gold/Orange */
    --color-accent-hover: #FFA21A;
    --color-dark: #020C1B;
    --color-light: #F8F9FA;
    --color-warm: #F0EBE1;
    /* Warm Sand */
    --color-warm-dark: #E2D9C8;
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #666666;

    --font-primary: 'Plus Jakarta Sans', system-ui, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 8rem;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);

    --max-width: 1300px;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: initial;
    /* Handled by Lenis */
}

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

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    line-height: 1.1;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 5vw + 1rem, 5.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);
}

.text-accent {
    color: var(--color-accent);
}

.text-white {
    color: var(--color-white);
}

.lead {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--color-text-light);
}

/* Layout & Spacing */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xxl) 0;
    position: relative;
    overflow: hidden;
}

.section--loose {
    padding: calc(var(--space-xxl) * 1.5) 0;
}

.section--tight {
    padding: var(--space-lg) 0;
}

/* Themes */
.theme-dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4 {
    color: var(--color-white);
}

.theme-dark .lead {
    color: rgba(255, 255, 255, 0.7);
}

.theme-warm {
    background-color: var(--color-warm);
    color: var(--color-primary);
}

.theme-warm h1,
.theme-warm h2,
.theme-warm h3,
.theme-warm h4 {
    color: var(--color-primary);
}

.theme-accent {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.theme-light {
    background-color: var(--color-white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.02em;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--accent {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn--accent:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--outline-light {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header--scrolled {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    transition: height 0.4s ease;
}

.site-header--scrolled .site-header__inner {
    height: 85px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand__logo {
    height: 48px;
    width: auto;
    transition: opacity 0.3s ease;
}

.brand__logo--white {
    display: block;
}

.brand__logo--black {
    display: none;
}

.site-header--scrolled .brand__logo--black {
    display: block;
}

.site-header--scrolled .brand__logo--white {
    display: none;
}

.brand:hover .brand__logo {
    opacity: 0.8;
}

.site-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--space-lg);
}

.nav-list {
    display: flex;
    gap: 0.35rem;
    /* Tightened gap for high-end pill-group aesthetic */
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    color: var(--color-white);
    position: relative;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.site-header--scrolled .nav-list a {
    color: var(--color-primary);
}

.nav-list:hover a {
    color: var(--color-text-light);
}

.site-header--scrolled .nav-list:hover a {
    color: rgba(10, 25, 47, 0.6);
}

.nav-list a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    opacity: 1 !important;
}

.site-header--scrolled .nav-list a:hover {
    background: rgba(10, 25, 47, 0.05);
    color: var(--color-primary);
}

.nav-list a.is-active {
    background: var(--color-white);
    color: var(--color-primary);
    font-weight: 600;
    opacity: 1 !important;
}

.site-header--scrolled .nav-list a.is-active {
    background: var(--color-primary);
    color: var(--color-white);
}

.nav-list a::after {
    display: none;
}

.nav-cta {
    padding: 0.75rem 1.75rem;
    letter-spacing: 0.01em;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    position: absolute;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle span:nth-child(1) {
    top: 2px;
}

.nav-toggle span:nth-child(2) {
    top: 11px;
}

.nav-toggle span:nth-child(3) {
    top: 20px;
}

/* Navigation Mobile */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .nav-list a {
        font-size: 1.5rem;
    }

    .nav-cta {
        margin-top: var(--space-lg);
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }

    .nav-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg);
        top: 11px;
    }

    .nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }

    .nav-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 11px;
    }
}

/* Sections & Grids */
/* Hero Redesign */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 25, 47, 0.9) 0%,
            rgba(10, 25, 47, 0.2) 50%,
            rgba(10, 25, 47, 0.8) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 180px;
    /* Offset for transparent header overlap */
    padding-bottom: var(--space-xxl);
}

.hero__inner {
    max-width: 750px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.hero__title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 1;
    margin-bottom: var(--space-md);
    color: var(--color-white);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero__title .text-accent {
    display: block;
    background: linear-gradient(to right, var(--color-accent), #FFD93D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__intro {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    font-weight: 400;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
}

@media (max-width: 768px) {
    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.split-layout--reverse {
    direction: rtl;
}

.split-layout--reverse>* {
    direction: ltr;
}

.split-layout__content .section-title {
    margin-bottom: var(--space-md);
}

.split-layout__content .section-lead {
    margin-bottom: var(--space-md);
}

.split-layout__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.split-layout__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.check-list {
    margin-bottom: var(--space-lg);
}

.check-list li {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: bold;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.feature-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card__icon {
    width: 60px;
    height: 60px;
    background: var(--color-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
    color: var(--color-primary);
}

.feature-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.feature-card__text {
    color: var(--color-text-light);
}

/* Gallery Strip */
.gallery-strip {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding: var(--space-md) var(--space-md);
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 calc(var(--space-md) * -1);
    /* Pull out of container */
}

.gallery-strip::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 400px;
    aspect-ratio: 3/2;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

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

/* Banner Inline */
.cta-banner {
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner__bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    z-index: 1;
}

.cta-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-banner__inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-banner__title {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

/* Footer */
.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding-top: var(--space-xxl);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    height: 50px;
    margin-bottom: var(--space-sm);
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer__title {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.footer__links ul li {
    margin-bottom: var(--space-xs);
}

.footer__links ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer__links ul a:hover {
    color: var(--color-accent);
}

.footer__contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-xs);
}

.footer__contact a {
    color: inherit;
    transition: color 0.3s;
}

.footer__contact a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    padding: var(--space-md) 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    text-align: center;
}

/* Swup Transitions */
.transition-fade {
    will-change: opacity, transform;
    transition: opacity 0.45s ease, transform 0.45s ease;
    opacity: 1;
    transform: translateY(0);
}

html.is-animating .transition-fade {
    opacity: 0;
    transform: translateY(24px) scale(0.99);
}

/* Cards Extras */
.crew-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.crew-card__image {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.crew-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.crew-card:hover .crew-card__image img {
    transform: scale(1.05);
}

.crew-card__body {
    padding: var(--space-md);
    text-align: center;
}

.crew-card__role {
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}

.location-card {
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
    box-shadow: var(--shadow-soft);
    margin-bottom: var(--space-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.location-card__top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.location-card__index {
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 0.9rem;
}

.location-card__title {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.location-card__address {
    flex-grow: 1;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.location-card__actions {
    margin-top: var(--space-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.locations-group__title {
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
    color: var(--color-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.5rem;
}

.contact-meta li {
    margin-bottom: var(--space-sm);
    color: var(--color-text-light);
}

.contact-meta li strong {
    color: var(--color-primary);
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-social li {
    margin-bottom: 0.25rem;
    color: var(--color-text-light);
}

.contact-social strong {
    color: var(--color-primary);
}

/* Utility */
.mt-xl {
    margin-top: var(--space-xl);
}

.text-center {
    text-align: center;
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .split-layout--reverse {
        direction: ltr;
    }
}

@media (max-width: 600px) {
    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .gallery-item {
        flex: 0 0 80vw;
    }
}