/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
:root {
    --color-bg-page: #f1f5f9;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #f8fafc;
    --color-accent: #ea580c;
    --color-accent-hover: #c2410c;
    --color-accent-translucent: rgba(234, 88, 12, 0.12);
    --color-accent-border: rgba(234, 88, 12, 0.35);
    --color-accent-glow: rgba(234, 88, 12, 0.25);
    --color-border: rgba(15, 23, 42, 0.12);
    --color-text-main: #0f172a;
    --color-text-muted: #334155;
    --color-glass-dark: rgba(10, 13, 10, 0.85);

    --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

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

    --transition: all 0.3s ease;
    --box-shadow: 0 14px 30px -6px rgba(15, 23, 42, 0.10), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
    --box-shadow-hover: 0 20px 35px -8px rgba(15, 23, 42, 0.16), 0 6px 14px -3px rgba(15, 23, 42, 0.08);
}

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

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-page);
    color: var(--color-text-main);
    line-height: 1.5;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hidden { display: none !important; }

.text-accent {
    background: linear-gradient(135deg, #f97316 0%, #ff7828 50%, #ea580c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
    line-height: 1.15;
}

.text-muted { color: var(--color-text-muted); }
.font-mono { font-family: var(--font-mono); }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg-page); }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.25); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary { background-color: var(--color-accent); color: #ffffff; }
.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-light-secondary {
    background-color: #ffffff;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.btn-light-secondary:hover {
    background-color: #e2e8f0;
    border-color: rgba(15, 23, 42, 0.25);
}

.btn-black { background-color: #0f172a; color: #ffffff; }
.btn-black:hover { background-color: #1e293b; transform: translateY(-2px); }

.btn-accent { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); color: #ffffff; }
.btn-accent:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.25);
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: rgba(234, 88, 12, 0.12);
    border: 1px solid rgba(234, 88, 12, 0.35);
    color: #c2410c;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 13, 10, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: clamp(16px, 3vw, 40px);
}

.navbar-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0; margin: 0;
}

.navbar-logo-img {
    height: clamp(20px, 2.5vw, 26px);
    max-height: 26px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar-logo:hover .navbar-logo-img {
    opacity: 0.88;
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.2vw, 36px);
    list-style: none;
    margin: 0 auto;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-links a:hover { color: #f97316; }

.nav-cta { flex-shrink: 0; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav {
    display: none;
    background: #0a0d0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
}

.mobile-nav.active { display: flex; flex-direction: column; gap: 16px; }
.mobile-nav a {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 960px) {
    .nav-links, .nav-cta { display: none; }
    .menu-toggle { display: block; }
}

.section {
    padding: 96px 0;
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    width: 100%;
}

.section-header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 680px;
}

.section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 4px;
    color: var(--color-text-main);
    line-height: 1.15;
}

.section-subtitle {
    color: var(--color-text-muted);
    margin-top: 8px;
    font-size: 15px;
    font-weight: 500;
}

.header-controls {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.scroll-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    user-select: none;
}

.scroll-btn * { pointer-events: none; }

.scroll-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: #e2e8f0;
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 60px;
    background-image: linear-gradient(
        to right, 
        rgba(10, 13, 10, 0.92) 0%, 
        rgba(10, 13, 10, 0.68) 50%, 
        rgba(10, 13, 10, 0.88) 100%
    ), 
    url(./galleryphotos/noelHero.PNG);
    background-size: cover;
    background-position: center 30%;
    color: #ffffff;
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 180px);
    width: 100%;
}

.hero-content { max-width: 680px; text-align: left; }

.hero-accent-line {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #ffaa40);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.6;
}

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

.hero-attributes {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 700px;
}

.attribute-item { flex: 1; text-align: left; }
.attribute-title { font-size: 14px; font-weight: 700; color: #ffffff; margin-bottom: 4px; }
.attribute-desc { font-size: 12px; color: rgba(255, 255, 255, 0.7); line-height: 1.4; }
.attribute-divider { width: 1px; height: 40px; background-color: rgba(255, 255, 255, 0.15); align-self: center; }

.sponsors-section {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.sponsors-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.sponsors-label {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sponsors-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    width: 100%;
}

.sponsor-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #334155;
    transition: var(--transition);
}
.sponsor-logo:hover { color: var(--color-accent); }

/* HOTSPOT LAYOUT (DESKTOP & GENERAL) */
.hotspot-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .hotspot-layout { grid-template-columns: 7fr 5fr; }
}

.hotspot-canvas {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 18px;
    position: relative;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hotspot-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #0f172a;
}

.hotspot-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hotspot-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.hotspot-pulse {
    position: absolute;
    width: 36px; height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-accent-glow);
    animation: pulse-ring 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.9; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.9; }
}

.hotspot-number {
    position: relative;
    width: 28px; height: 28px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
    transition: var(--transition);
}

.hotspot-pin.active .hotspot-number {
    transform: scale(1.25);
    background: #ffffff;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: var(--box-shadow);
    text-align: left;
}

.feature-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.feature-card-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--color-text-main);
    line-height: 1.25;
}

.feature-card-desc {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.hotspot-feature-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* DESKTOP BEHAVIOR FOR FEATURE BREAKDOWN */
@media (min-width: 1024px) {
    .features-track-wrapper { width: 100%; min-width: 0; max-width: 100%; }
    .features-track { display: block; }
    .feature-card { display: none; }
    .feature-card.active { display: block; }
    .features-footer-controls { display: none; }
    #features .section-header .header-controls { display: flex; }
}

/* MOBILE BEHAVIOR FOR FEATURE BREAKDOWN */
@media (max-width: 1023px) {
    #features .section-header .header-controls { display: none; }

    .hotspot-layout {
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .hotspot-canvas {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 132px;
        height: 92px;
        z-index: 20;
        padding: 4px;
        border-radius: var(--radius-md);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
        border: 2px solid var(--color-accent);
        background: #0f172a;
    }

    .hotspot-image-container { min-height: 100%; height: 100%; }
    .hotspot-number { width: 18px; height: 18px; font-size: 10px; border-width: 1.5px; }
    .hotspot-pulse { width: 24px; height: 24px; }

    .features-track-wrapper { width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
    .features-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding-bottom: 4px;
    }
    .features-track::-webkit-scrollbar { display: none; }

    .feature-card {
        display: block !important;
        flex: 0 0 100%;
        scroll-snap-align: start;
        box-sizing: border-box;
        padding: 16px;
        min-height: unset;
    }

    .feature-card-top {
        min-height: 84px;
        padding-right: 140px;
        margin-bottom: 10px;
        align-items: center;
    }

    .feature-card-top .badge {
        margin-bottom: 0;
    }

    .hotspot-feature-img {
        height: 145px;
        margin-bottom: 12px;
    }

    .feature-card-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .feature-card-desc {
        font-size: 13.5px;
        line-height: 1.45;
    }

    .features-footer-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-top: 14px;
    }

    .features-progress-container {
        flex: 1;
        height: 4px;
        background: rgba(15, 23, 42, 0.12);
        border-radius: var(--radius-full);
        overflow: hidden;
        position: relative;
    }

    .features-progress-bar {
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, #f97316, #ea580c);
        border-radius: var(--radius-full);
        transition: width 0.15s ease-out;
    }

    .features-scroll-btns { display: flex; gap: 8px; flex-shrink: 0; }
}

@media (max-width: 580px) {
    .hotspot-canvas { width: 114px; height: 80px; top: 10px; right: 10px; }
    .feature-card { padding: 14px; }
    .feature-card-top { min-height: 74px; padding-right: 122px; margin-bottom: 8px; }
    .hotspot-feature-img { height: 132px; margin-bottom: 10px; }
}

/* DEVELOPMENT TIMELINE SECTION (RESPONSIVE STICKY SCROLL FOR DESKTOP & MOBILE) */
.timeline-section {
    position: relative;
    height: 350vh;
    border-bottom: 1px solid var(--color-border);
    background: #f8fafc;
}

.timeline-sticky-wrapper {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 32px 0;
}

.timeline-nav-wrapper {
    position: relative;
    width: 100%;
    max-width: 640px;
    padding: 10px 0;
    margin-top: 16px;
    margin-bottom: 20px;
}

.timeline-line-bg {
    position: absolute;
    top: 22px; left: 0;
    width: 100%; height: 3px;
    background: rgba(15, 23, 42, 0.1);
    z-index: 1;
    border-radius: var(--radius-full);
}

.timeline-line-progress {
    position: absolute;
    top: 22px; left: 0;
    width: 0%; height: 3px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    z-index: 2;
    border-radius: var(--radius-full);
    transition: width 0.15s ease-out;
}

.timeline-nodes {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.timeline-node-circle {
    width: 28px; height: 28px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 2px solid var(--color-border);
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: var(--transition);
}

.timeline-node.active .timeline-node-circle {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.timeline-track-container {
    width: 100%;
    overflow: hidden;
    padding: 10px 0 20px;
}

.timeline-track {
    display: flex;
    gap: 32px;
    padding-left: max(24px, calc((100vw - 1280px)/2 + 24px));
    padding-right: 50vw;
    will-change: transform;
}

.timeline-card-wrapper {
    flex: 0 0 clamp(320px, 58vw, 680px);
    max-width: 680px;
}

.timeline-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    text-align: left;
}

.timeline-card:hover {
    border-color: var(--color-accent-border);
    box-shadow: var(--box-shadow-hover);
}

.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.timeline-card-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--color-text-main);
    line-height: 1.25;
}

.timeline-card-desc {
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.timeline-card-image-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    position: relative;
    background-color: var(--color-bg-page);
}

.timeline-card-image {
    width: 125%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    transform: translate3d(0, 0, 0) scale(1.15);
}

@media (max-width: 768px) {
    .timeline-section {
        height: 280vh;
    }
    .timeline-sticky-wrapper {
        top: 80px;
        height: calc(100vh - 80px);
        height: calc(100dvh - 80px);
        justify-content: center;
        padding: 12px 0;
    }
    .timeline-nav-wrapper {
        margin-top: 8px;
        margin-bottom: 10px;
        padding: 6px 0;
    }
    .timeline-line-bg,
    .timeline-line-progress {
        top: 17px;
    }
    .timeline-node-circle {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    .timeline-track-container {
        padding: 4px 0 8px;
    }
    .timeline-track {
        padding-left: 20px;
        padding-right: 40vw;
        gap: 16px;
    }
    .timeline-card-wrapper {
        flex: 0 0 calc(100vw - 40px);
        max-width: calc(100vw - 40px);
    }
    .timeline-card {
        padding: 16px;
    }
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .timeline-card .badge {
        margin-bottom: 6px;
        padding: 3px 10px;
        font-size: 11px;
    }
    .timeline-card-title {
        font-size: 17px;
        margin-bottom: 6px;
    }
    .timeline-card-desc {
        font-size: 12.5px;
        line-height: 1.4;
        margin-bottom: 0;
    }
    .timeline-card-image-wrap {
        height: 125px;
    }
    .timeline-card-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: none !important;
    }
}

.featured-stories {
    padding: 96px 0;
    border-bottom: 1px solid var(--color-border);
}

.stories-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 16px;
    min-width: 0;
    max-width: 100%;
}

.stories-track::-webkit-scrollbar { display: none; }

.story-card {
    flex: 0 0 420px;
    scroll-snap-align: start;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--box-shadow);
    text-align: left;
}

.story-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
}

.story-card-image { width: 100%; height: 220px; object-fit: cover; }

.story-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.story-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.story-card-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 500;
}

.story-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    font-size: 12px;
}

.story-link { display: flex; align-items: center; gap: 6px; color: var(--color-accent); font-weight: 700; }
.story-partner { color: var(--color-text-muted); font-family: var(--font-mono); font-weight: 600; }

.stories-footer-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
}

.stories-progress-container {
    flex: 1;
    height: 4px;
    background: rgba(15, 23, 42, 0.12);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.stories-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f97316, #ea580c);
    border-radius: var(--radius-full);
    transition: width 0.15s ease-out;
}

.stories-scroll-btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.story-actions {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: left;
}

.faq-header {
    width: 100%;
    padding: 20px;
    background: none; border: none;
    color: var(--color-text-main);
    font-size: 16px; font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-body {
    padding: 0 20px 20px;
    color: var(--color-text-muted);
    font-size: 15px; font-weight: 500;
    line-height: 1.6;
}

.floating-gallery-section {
    position: relative;
    padding: 80px 24px;
    background: #0d1117;
    color: #ffffff;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.gallery-canvas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.floating-card {
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.f-card-2 { transform: translateY(28px); }
.f-card-4 { transform: translateY(16px); }
.f-card-5 { transform: translateY(-18px); }
.f-card-7 { transform: translateY(22px); }
.f-card-9 { transform: translateY(-12px); }

.floating-card:hover {
    transform: scale(1.03) translateY(-4px);
    z-index: 10;
}

.floating-card-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: block;
}

.floating-card-caption {
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.35;
    background: rgba(10, 13, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.floating-card-title { color: #ffffff; font-weight: 600; }
.floating-card-sub { color: rgba(255, 255, 255, 0.65); font-size: 10px; }

.gallery-overlay-content {
    grid-column: 1 / span 2;
    align-self: end;
    padding: 24px 0;
    background: transparent;
    border: none; box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 5;
    margin-top: 16px;
    text-align: left;
}

.gallery-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--color-accent-translucent);
    border: 1px solid var(--color-accent-border);
    color: #ffaa40;
    font-family: var(--font-mono);
    font-size: 12px;
    margin-bottom: 16px;
}

.gallery-overlay-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #ffffff;
}

.gallery-overlay-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 24px;
}

.gallery-overlay-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1200px) {
    .gallery-canvas { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .gallery-overlay-content { grid-column: 1 / span 2; }
    .f-card-2 { transform: translateY(18px); }
    .f-card-4 { transform: translateY(12px); }
    .f-card-5 { transform: translateY(-12px); }
    .f-card-7 { transform: translateY(14px); }
    .f-card-9 { transform: translateY(-8px); }
}

@media (max-width: 768px) {
    .floating-gallery-section {
        padding: 48px 16px;
    }
    .gallery-canvas {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .f-card-2 { transform: translateY(14px); }
    .f-card-4 { transform: translateY(10px); }
    .f-card-5 { transform: translateY(-10px); }
    .f-card-7 { transform: translateY(12px); }
    .f-card-8 { transform: translateY(-6px); }
    .f-card-9 { transform: translateY(8px); }

    .floating-card-img {
        border-radius: 10px;
    }
    .floating-card-caption {
        margin-top: 5px;
        padding: 4px 7px;
        border-radius: 6px;
        font-size: 9px;
        line-height: 1.25;
        display: block;
    }
    .floating-card-title {
        font-size: 9.5px;
    }
    .floating-card-sub {
        font-size: 8.5px;
    }
    .gallery-overlay-content {
        grid-column: 1 / -1;
        margin-top: 20px;
        padding: 12px 0 0;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 480px; width: 100%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    text-align: left;
}

/* TEAM PAGE GRID STYLES */
.team-hero {
    padding: 140px 0 60px;
    background: #0a0d0a;
    color: #ffffff;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-grid-section {
    padding: 80px 0;
    background: var(--color-bg-page);
}

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

.team-member-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    text-align: left;
}

.team-member-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent);
    box-shadow: var(--box-shadow-hover);
}

.team-member-img-wrap {
    width: 140px;
    height: 140px;
    margin: 24px auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-accent);
}

.team-member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.team-member-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.team-member-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 4px;
}

.team-member-role {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.team-member-bio {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.team-member-socials {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.team-social-link {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--color-bg-page);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 12px;
    transition: var(--transition);
}

.team-social-link:hover {
    background: var(--color-accent);
    color: #ffffff;
    border-color: var(--color-accent);
}

.story-actions {
        margin-top: 32px;
        padding-top: 24px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }
    .story-actions .btn {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        max-width: 260px;
    }

@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .team-grid { grid-template-columns: 1fr; }
}

.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 72px 0 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    max-width: 340px;
}

.footer-logo { display: inline-block; margin-bottom: 24px; }
.footer-logo-img { height: 24px; width: auto; display: block; object-fit: contain; }

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px; font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.footer-credit { color: rgba(255, 255, 255, 0.5); font-size: 13px; font-weight: 400; }
.footer-credit-bold { color: rgba(255, 255, 255, 0.9); font-weight: 500; }

.footer-nav-group { display: flex; gap: 80px; }
.footer-column { display: flex; flex-direction: column; }

.footer-title {
    font-size: 16px; font-weight: 500;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px; font-weight: 400;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: #ffffff; }

/* ==========================================================================
   MOBILE VIEWPORT & COMPACT SECTION ADJUSTMENTS
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Hero: Right-justify image so subject on right stays in frame */
    /* Hero: Frame at the 3/4 mark so subject and biker stay visible */
    .hero {
        padding: 104px 0 40px;
        background-image: linear-gradient(
            to right,
            rgba(10, 13, 10, 0.90) 0%,
            rgba(10, 13, 10, 0.62) 55%,
            rgba(10, 13, 10, 0.45) 100%
        ),
        url(./galleryphotos/noelHero.PNG);
        background-position: 75% 30%;
    }
    .hero-container {
        min-height: calc(100dvh - 144px);
    }
    .hero-accent-line {
        margin-bottom: 16px;
    }
    .hero p {
        margin-bottom: 24px;
    }
    .hero-attributes {
        flex-direction: column;
        gap: 14px;
        margin-top: 32px;
        padding-top: 18px;
    }
    .attribute-divider {
        width: 100%;
        height: 1px;
    }

    /* Compact Section Spacing & Headers */
    .section,
    .featured-stories {
        padding: 44px 0;
    }
    .section-header {
        margin-bottom: 18px;
    }
    .section-header .badge {
        margin-bottom: 6px;
        padding: 4px 10px;
        font-size: 11px;
    }
    .section-title {
        font-size: clamp(1.5rem, 6.5vw, 2rem);
    }
    .section-subtitle {
        font-size: 13.5px;
        margin-top: 4px;
    }
    .scroll-btn {
        width: 36px;
        height: 36px;
    }

    /* Compact Featured Stories */
    .stories-track {
        gap: 16px;
        padding-bottom: 6px;
    }
    .story-card {
        flex: 0 0 min(290px, calc(100vw - 48px));
    }
    .story-card-image {
        height: 135px;
    }
    .story-card-body {
        padding: 16px;
    }
    .story-card-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    .story-card-desc {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 12px;
    }
    .story-card-footer {
        padding-top: 10px;
        font-size: 11.5px;
    }
    .stories-footer-controls {
        margin-top: 14px;
        gap: 16px;
    }

    /* Footer */
    .footer-container { flex-direction: column; gap: 48px; }
    .footer-nav-group { gap: 60px; width: 100%; }
}