/* Summit Capital Partners premium single-page theme */

/* Mobile Performance Optimizations */
* {
    -webkit-tap-highlight-color: rgba(246, 173, 85, 0.2);
    -webkit-touch-callout: none;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Smooth scrolling with reduced motion support */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

:root {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
    --color-navy-800: #102347;
    --color-navy-700: #152d5a;
    --color-navy-600: #1a366d;
    --color-navy-500: #23437f;
    --color-gold-500: #f6ad55;
    --color-gold-400: #f9c27f;
    --color-gold-300: #fbd8a9;
    --color-warm-100: #f7f4ef;
    --color-cool-050: #f4f7fb;
    --color-text: #253046;
    --color-text-muted: #51607b;
    max-width: 100%;
    --color-border: rgba(21, 45, 90, 0.08);
    --shadow-soft: 0 18px 40px rgba(13, 29, 55, 0.18);
    --shadow-card: 0 24px 60px rgba(9, 20, 42, 0.22);
    --shadow-gold: 0 16px 40px rgba(246, 173, 85, 0.32);
    --radius-sm: 14px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --max-width: 1180px;
    --transition: all 0.32s ease;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-title: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

*::selection {
    background: rgba(246, 173, 85, 0.28);
    color: var(--color-navy-900);
}

html {
    scroll-behavior: smooth;
    background: var(--color-cool-050);
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: radial-gradient(circle at 15% 5%, rgba(255, 255, 255, 0.9), transparent 55%),
                radial-gradient(circle at 85% 10%, rgba(246, 173, 85, 0.18), transparent 40%),
                var(--color-cool-050);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover,
[a]:focus-visible {
    color: var(--color-gold-400);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-title);
    margin: 0;
    color: var(--color-navy-900);
    letter-spacing: -0.01em;
}

p {
    margin: 0;
    color: var(--color-text-muted);
}

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

.page-shell {
    position: relative;
    overflow: visible;
    padding-top: 5.5rem; /* Offset for fixed header */
    max-width: 100%;
}

.page-shell::before {
    content: '';
    position: absolute;
    inset: -240px -60px auto;
    height: 420px;
    background: radial-gradient(circle at 40% 60%, rgba(21, 45, 90, 0.35), transparent 55%);
    pointer-events: none;
    opacity: 0.7;
}

.container {
    width: min(calc(100% - 2.5rem), var(--max-width));
    margin: 0 auto;
}

.section {
    padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.section-light {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
}

.section-contrast {
    background: linear-gradient(140deg, rgba(11, 27, 51, 0.94) 0%, rgba(21, 45, 90, 0.96) 100%);
    color: var(--color-cool-050);
    position: relative;
    overflow: hidden;
}

.section-contrast::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 20%, rgba(246, 173, 85, 0.2), transparent 55%),
                radial-gradient(circle at 82% 15%, rgba(124, 175, 255, 0.18), transparent 50%);
    opacity: 0.7;
    pointer-events: none;
}

.section-dark {
    background: linear-gradient(135deg, rgba(11, 27, 51, 0.96), rgba(21, 45, 90, 0.94));
    color: var(--color-cool-050);
    position: relative;
    overflow: hidden;
}

.section-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(246, 173, 85, 0.2), transparent 55%);
    pointer-events: none;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2.1rem, 4.4vw, 2.9rem);
}

.section-heading p {
    font-size: 1.05rem;
    margin-top: 1rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(246, 173, 85, 0.16);
    color: var(--color-gold-400);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pill--accent {
    background: rgba(246, 173, 85, 0.22);
    color: var(--color-navy-900);
}

.pill--outline {
    background: transparent;
    border: 1px solid rgba(21, 45, 90, 0.18);
    color: var(--color-gold-500);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: var(--radius-pill);
    padding: 0.85rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-300));
    color: var(--color-navy-900);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(246, 173, 85, 0.5);
    color: var(--color-gold-400);
    background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: rgba(246, 173, 85, 0.12);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-cool-050);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.18);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--color-cool-050);
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav:hover,
.btn-nav:focus-visible {
    background: rgba(255, 255, 255, 0.14);
}

.btn-nav--visible {
    display: inline-flex !important;
}

.btn-light {
    background: var(--color-cool-050);
    color: var(--color-navy-900);
    border: 1px solid rgba(21, 45, 90, 0.12);
    box-shadow: var(--shadow-soft);
}

.btn-light:hover,
.btn-light:focus-visible {
    background: #ffffff;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-gold-500);
    font-weight: 600;
}

.link-arrow::after {
    content: '→';
    transition: transform 0.3s ease;
}

.link-arrow:hover::after,
.link-arrow:focus-visible::after {
    transform: translateX(4px);
}

/* Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 44, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    transition: padding 0.3s ease;
}

.site-header.is-condensed {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(21, 45, 90, 0.08);
    box-shadow: 0 22px 36px rgba(8, 18, 36, 0.08);
}

.site-header.is-condensed .header-inner {
    padding: 0.7rem 0;
}

.site-header.is-condensed .brand-mark {
    background: rgba(21, 45, 90, 0.06);
    box-shadow: 0 8px 20px rgba(21, 45, 90, 0.16);
}

.site-header.is-condensed .brand-text strong {
    color: var(--color-navy-900);
}

.site-header.is-condensed .brand-text span {
    color: var(--color-text-muted);
}

.site-header.is-condensed .nav-list a {
    color: var(--color-text);
}

.site-header.is-condensed .nav-list a.is-active {
    color: var(--color-gold-500);
}

.site-header.is-condensed .btn-nav {
    border: 1px solid rgba(21, 45, 90, 0.12);
    color: var(--color-navy-900);
    background: rgba(21, 45, 90, 0.04);
}

.site-header.is-condensed .btn-nav:hover,
.site-header.is-condensed .btn-nav:focus-visible {
    background: rgba(21, 45, 90, 0.08);
}

.site-header.is-condensed .nav-toggle {
    background: rgba(21, 45, 90, 0.04);
    color: var(--color-navy-900);
    border: 1px solid rgba(21, 45, 90, 0.15);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px;
    object-fit: contain;
    display: block;
    box-shadow: 0 12px 28px rgba(7, 17, 34, 0.25);
    transition: transform 0.3s ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
    transform: translateY(-2px);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.brand-text strong {
    font-size: 1.32rem;
    color: var(--color-cool-050);
    letter-spacing: 0.06em;
}

.brand-text span {
    font-size: 0.78rem;
    color: rgba(249, 194, 127, 0.8);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.2rem 0;
}

.nav-list--open {
    display: flex;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold-500), var(--color-gold-300));
    transition: width 0.32s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
    width: 100%;
}

.nav-list a.is-active {
    color: var(--color-gold-300);
}

.nav-list a.is-active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-cool-050);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.nav-cta {
    display: inline-flex;
}

/* Hero */

.hero {
    position: relative;
    min-height: 0;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    padding: calc(4rem + env(safe-area-inset-top)) 0 3rem;
    color: var(--color-cool-050);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Video background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 15, 30, 0.72) 0%,
        rgba(10, 22, 44, 0.6) 40%,
        rgba(10, 22, 44, 0.65) 60%,
        rgba(8, 15, 30, 0.85) 100%
    );
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.15;
    z-index: 1;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a162c 0%, #102347 50%, #081224 100%);
    z-index: 0;
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.hero-glow--left {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(246, 173, 85, 0.25), transparent 70%);
}

.hero-glow--right {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(83, 133, 214, 0.2), transparent 70%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: clamp(3rem, 8vw, 5rem);
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
}

/* Centered hero layout for video variant */
.hero-inner--centered {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-copy--centered {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-copy--centered p {
    max-width: 640px;
}

.hero-copy--centered .hero-actions {
    justify-content: center;
}

.hero-copy--centered .hero-stats {
    justify-content: center;
}

.hero-copy {
    max-width: 720px;
}

.hero-copy h1 {
    font-size: clamp(3.2rem, 6.5vw, 4.2rem);
    line-height: 1.1;
    color: var(--color-cool-050);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.hero-copy p {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(243, 245, 250, 0.9);
    max-width: 90%;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats .stat {
    padding: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
}

.hero-stats dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(243, 245, 250, 0.6);
    margin-bottom: 0.2rem;
}

.hero-stats dd {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-cool-050);
    line-height: 1;
}

.hero-highlight {
    position: relative;
}

.hero-card {
    padding: 2.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-5px);
    border-color: rgba(246, 173, 85, 0.3);
}

.hero-card h2 {
    color: var(--color-cool-050);
    font-size: 1.6rem;
    margin-top: 1.2rem;
    line-height: 1.3;
}

.hero-card p {
    margin-top: 1rem;
    color: rgba(243, 245, 250, 0.8);
    font-size: 1rem;
}

.hero-card ul {
    margin: 1.5rem 0 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 1rem;
}

.hero-card li {
    position: relative;
    padding-left: 1.5rem;
    color: rgba(243, 245, 250, 0.9);
    font-size: 0.95rem;
}

.hero-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gold-400);
    font-weight: bold;
}

/* About / Focus */
.section-light {
    background: #ffffff;
    position: relative;
}

.section-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
}

.about-grid {
    display: grid;
    gap: clamp(3rem, 8vw, 6rem);
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

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

.about-content {
    max-width: 580px;
}

.about-content h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.about-content .lead {
    font-size: 1.25rem;
    color: var(--color-navy-800);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(246, 173, 85, 0.15);
    color: var(--color-gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--color-navy-900);
}

.feature p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--color-text-muted);
}

.about-visual {
    position: relative;
}

.image-stack {
    position: relative;
    padding-bottom: 3rem;
    padding-right: 2rem;
}

.image-stack__item--top {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.image-stack__item--top img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-stack:hover .image-stack__item--top img {
    transform: scale(1.03);
}

.image-stack__item--bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.stat-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-navy-900);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    font-weight: 600;
}

.focus-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Secondary panels */
.focus-panels {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: clamp(2.5rem, 5vw, 3rem);
}

.focus-panel {
    padding: 2.2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.focus-panel h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Activities */
.activity-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.activity-card {
    position: relative;
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.activity-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(246, 173, 85, 0.15);
    color: var(--color-gold-500);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.activity-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent 40%, rgba(246, 173, 85, 0.2));
    opacity: 0;
    transition: opacity 0.32s ease;
}

.activity-card:hover::before {
    opacity: 1;
}

.activity-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.activity-card p {
    font-size: 0.9rem;
}

/* Events marquee */
.events-marquee {
    position: relative;
    overflow: hidden;
    width: min(calc(100% - 2.5rem), var(--max-width));
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    border-radius: var(--radius-lg);
    padding: 2.75rem 0;
    background: linear-gradient(135deg, rgba(11, 27, 51, 0.95), rgba(21, 45, 90, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-card);
}

.events-marquee::before,
.events-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 160px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.events-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(11, 27, 51, 0.96), transparent);
}

.events-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(21, 45, 90, 0.96), transparent);
}

.events-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: events-scroll 60s linear infinite;
}

.events-track:hover {
    animation-play-state: paused;
}

.events-item {
    flex: 0 0 auto;
    width: min(280px, 80vw);
}

.events-item iframe {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 22px 48px rgba(9, 20, 42, 0.35);
}

@keyframes events-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .events-marquee {
        padding: 1.8rem 0;
    }

    .events-item iframe {
        height: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .events-track {
        animation-duration: 0.001ms;
        animation-iteration-count: 1;
        transform: translateX(0);
    }
}

/* Partners */
.partner-grid {
    position: relative;
}

.partner-marquee {
    --partner-marquee-duration: 36s;
    overflow-x: auto;
    overflow-y: visible;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 1.75rem 0 9rem;
    position: relative;
    z-index: 120;
    isolation: isolate;
}

.partner-marquee::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0) 88%, rgba(255, 255, 255, 0.96) 100%);
    z-index: 80;
}

.partner-track {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    width: max-content;
    will-change: transform;
    position: relative;
    z-index: 140;
}

/* Hide native scrollbar when overflow needed for pointer-drag fallback */
.partner-marquee::-webkit-scrollbar { height: 0; }
.partner-marquee { -ms-overflow-style: none; scrollbar-width: none; }

.partner-marquee:hover .partner-track,
.partner-marquee:focus-within .partner-track {
    animation-play-state: paused;
}

.partner-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.8rem 1.5rem 2.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    min-width: 260px;
    max-width: 260px;
    flex: 0 0 auto;
    outline: none;
    position: relative;
    z-index: 0;
}

.partner-card:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 26px 60px rgba(9, 20, 42, 0.24);
    border-color: var(--color-gold-400);
}

.partner-card:focus-visible {
    border-color: var(--color-gold-400);
    box-shadow: 0 0 0 4px rgba(246, 173, 85, 0.22), 0 26px 60px rgba(9, 20, 42, 0.24);
    transform: translateY(-8px) scale(1.01);
}

.partner-card:hover,
.partner-card:focus-visible {
    z-index: 160;
}

.partner-logo {
    width: auto;
    height: 56px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(5%) opacity(0.92);
    transition: filter 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
}

.partner-card span {
    font-weight: 600;
    color: var(--color-navy-800);
    letter-spacing: 0.02em;
}

.partner-description {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translate(-50%, -12px) scale(0.96);
    transform-origin: top center;
    margin: 0;
    width: clamp(220px, 22vw, 260px);
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(13, 29, 55, 0.22);
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.2, 0.68, 0.18, 1), opacity 0.25s ease;
    backdrop-filter: blur(8px);
    z-index: 220;
}

.partner-card:hover .partner-description,
.partner-card:focus-visible .partner-description {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
    pointer-events: auto;
}

@keyframes partner-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 640px) {
    .partner-card {
        min-width: 210px;
        max-width: 210px;
    }

    .partner-description {
        position: static;
        transform: none !important;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        margin-top: 0.85rem;
        box-shadow: none;
        background: transparent;
        padding: 0;
        backdrop-filter: none;
        left: auto;
    }
    
    /* Prevent hover transforms on mobile */
    .partner-card:hover .partner-description,
    .partner-card:focus-visible .partner-description {
        transform: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-track {
        animation: none;
        transform: none;
    }

    .partner-card,
    .partner-description {
        transition: none;
    }
}

@media (max-width: 480px) {
    .brand {
        gap: 0.5rem;
    }

    .brand-mark {
        width: 28px;
        height: 28px;
        padding: 3px;
    }

    .brand-text span {
        font-size: 0.66rem;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .hero-copy p {
        font-size: 0.94rem;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        padding: 0.75rem 1.1rem;
    }

    .hero-stats .stat {
        padding: 0.95rem 1rem;
    }

    .events-item iframe {
        height: 240px;
    }

    .partner-card {
        min-width: 185px;
    }

    .contact-panel {
        padding: 1.8rem 1.4rem;
    }

    .contact-form {
        padding: 1.6rem 1.2rem;
    }
}

/* Team */
.team-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-card {
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.team-image {
    position: relative;
    padding-top: 68%;
    background: linear-gradient(140deg, rgba(246, 173, 85, 0.2), rgba(21, 45, 90, 0.3));
}

.team-photo {
    position: relative;
    padding-top: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 0;
}

.team-email,
.team-linkedin {
    position: absolute;
    bottom: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    text-decoration: none;
}

.team-email {
    right: 56px;
    color: #f6ad55;
}

.team-linkedin {
    right: 12px;
    color: #0A66C2;
}

.team-photo:hover .team-email,
.team-photo:hover .team-linkedin,
.team-card:focus-within .team-email,
.team-card:focus-within .team-linkedin {
    opacity: 1;
    transform: translateY(0);
}

.team-email:hover {
    background: #f6ad55;
    color: white;
    transform: scale(1.1);
}

.team-linkedin:hover {
    background: #0A66C2;
    color: white;
    transform: scale(1.1);
}

.team-email svg,
.team-linkedin svg {
    width: 18px;
    height: 18px;
}



.team-image span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.team-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.team-body h3 {
    font-size: 1.25rem;
}

.team-body span {
    font-size: 0.95rem;
    color: var(--color-gold-500);
    letter-spacing: 0.02em;
}

.team-body p {
    font-size: 0.95rem;
}

.recruitment-banner {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding: 2.2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(246, 173, 85, 0.16), rgba(21, 45, 90, 0.08));
    border: 1px solid rgba(21, 45, 90, 0.12);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.recruitment-banner h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

/* Placements Grid */
.placements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.placement-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    min-height: 120px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

/* Trigger animation when parent is visible */
.placements-grid.is-visible .placement-logo {
    animation: unfold-logo 0.6s ease forwards;
}

/* Staggered animation delays for each logo */
.placements-grid.is-visible .placement-logo:nth-child(1) { animation-delay: 0.05s; }
.placements-grid.is-visible .placement-logo:nth-child(2) { animation-delay: 0.1s; }
.placements-grid.is-visible .placement-logo:nth-child(3) { animation-delay: 0.15s; }
.placements-grid.is-visible .placement-logo:nth-child(4) { animation-delay: 0.2s; }
.placements-grid.is-visible .placement-logo:nth-child(5) { animation-delay: 0.25s; }
.placements-grid.is-visible .placement-logo:nth-child(6) { animation-delay: 0.3s; }
.placements-grid.is-visible .placement-logo:nth-child(7) { animation-delay: 0.35s; }
.placements-grid.is-visible .placement-logo:nth-child(8) { animation-delay: 0.4s; }
.placements-grid.is-visible .placement-logo:nth-child(9) { animation-delay: 0.45s; }
.placements-grid.is-visible .placement-logo:nth-child(10) { animation-delay: 0.5s; }
.placements-grid.is-visible .placement-logo:nth-child(11) { animation-delay: 0.55s; }
.placements-grid.is-visible .placement-logo:nth-child(12) { animation-delay: 0.6s; }
.placements-grid.is-visible .placement-logo:nth-child(13) { animation-delay: 0.65s; }
.placements-grid.is-visible .placement-logo:nth-child(14) { animation-delay: 0.7s; }
.placements-grid.is-visible .placement-logo:nth-child(15) { animation-delay: 0.75s; }
.placements-grid.is-visible .placement-logo:nth-child(16) { animation-delay: 0.8s; }
.placements-grid.is-visible .placement-logo:nth-child(17) { animation-delay: 0.85s; }
.placements-grid.is-visible .placement-logo:nth-child(18) { animation-delay: 0.9s; }
.placements-grid.is-visible .placement-logo:nth-child(19) { animation-delay: 0.95s; }
.placements-grid.is-visible .placement-logo:nth-child(20) { animation-delay: 1s; }
.placements-grid.is-visible .placement-logo:nth-child(21) { animation-delay: 1.05s; }
.placements-grid.is-visible .placement-logo:nth-child(22) { animation-delay: 1.1s; }
.placements-grid.is-visible .placement-logo:nth-child(23) { animation-delay: 1.15s; }
.placements-grid.is-visible .placement-logo:nth-child(24) { animation-delay: 1.2s; }
.placements-grid.is-visible .placement-logo:nth-child(25) { animation-delay: 1.25s; }
.placements-grid.is-visible .placement-logo:nth-child(26) { animation-delay: 1.3s; }
.placements-grid.is-visible .placement-logo:nth-child(27) { animation-delay: 1.35s; }
.placements-grid.is-visible .placement-logo:nth-child(28) { animation-delay: 1.4s; }
.placements-grid.is-visible .placement-logo:nth-child(29) { animation-delay: 1.45s; }
.placements-grid.is-visible .placement-logo:nth-child(30) { animation-delay: 1.5s; }

@keyframes unfold-logo {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.placement-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.placement-logo:hover {
    transform: translateY(-8px) scale(1);
    box-shadow: 0 12px 28px rgba(21, 45, 90, 0.15);
    border-color: rgba(246, 173, 85, 0.3);
}

.placement-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Apply */
.apply-section {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(11, 27, 51, 0.95), rgba(21, 45, 90, 0.92));
    padding: clamp(2.5rem, 6vw, 3.5rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.apply-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(246, 173, 85, 0.18), transparent 55%);
    pointer-events: none;
}

.apply-section h2 {
    color: var(--color-cool-050);
    font-size: clamp(2.2rem, 4.5vw, 2.8rem);
}

.apply-content {
    position: relative;
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    z-index: 1;
}

.apply-grid {
    position: relative;
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    z-index: 1;
}

.apply-list {
    margin: 1.6rem 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.85rem;
    color: rgba(243, 245, 250, 0.82);
}

.apply-list li::marker {
    color: var(--color-gold-400);
}

.contact-board {
    list-style: none;
    margin: 1.6rem 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.contact-board a {
    color: var(--color-gold-400);
}

.contact-note {
    margin-top: 1.4rem;
    color: rgba(243, 245, 250, 0.76);
}

.apply-contacts {
    display: grid;
    gap: 1.2rem;
}

.apply-contacts li {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.4rem 1.6rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(243, 245, 250, 0.88);
}

.apply-contacts strong {
    font-size: 1rem;
}

.apply-contacts span {
    font-size: 0.95rem;
    color: rgba(243, 245, 250, 0.7);
}

/* Contact */
.contact-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
}

.contact-panel {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.section-dark .contact-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(243, 245, 250, 0.88);
    box-shadow: none;
}

.section-dark .contact-panel h3 {
    color: var(--color-cool-050);
}

.section-dark .contact-panel p,
.section-dark .contact-panel li {
    color: rgba(243, 245, 250, 0.8);
}

.contact-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-details {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.4rem;
}

.contact-details li {
    list-style: none;
    display: grid;
    gap: 0.35rem;
}

.contact-details strong {
    font-size: 1rem;
    color: var(--color-navy-800);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.8rem 0 0;
    display: grid;
    gap: 1rem;
}

.contact-link {
    color: var(--color-gold-500);
    font-weight: 600;
}

.form-row {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-weight: 600;
    color: var(--color-navy-700);
}

.contact-form select {
    border-radius: var(--radius-sm);
    border: 1px solid rgba(21, 45, 90, 0.16);
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.92);
    font: inherit;
    color: var(--color-text);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(21, 45, 90, 0.4) 50%),
                      linear-gradient(135deg, rgba(21, 45, 90, 0.4) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(1.1em + 2px), calc(100% - 13px) calc(1.1em + 2px);
    background-size: 5px 5px;
    background-repeat: no-repeat;
}

.contact-form select:focus-visible {
    outline: none;
    border-color: var(--color-gold-400);
    box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.25);
}

.contact-form {
    display: grid;
    gap: 1.4rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--color-navy-700);
}

.contact-form input,
.contact-form textarea {
    border-radius: var(--radius-sm);
    border: 1px solid rgba(21, 45, 90, 0.16);
    padding: 0.85rem 1rem;
    font: inherit;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.92);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: none;
    border-color: var(--color-gold-400);
    box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.25);
}

.contact-form textarea {
    resize: vertical;
    min-height: 160px;
}

/* Footer */
.site-footer {
    padding: 3rem 0;
    background: rgba(10, 22, 44, 0.95);
    color: rgba(243, 245, 250, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner {
    display: grid;
    gap: 2rem;
    justify-items: center;
    text-align: center;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    color: rgba(243, 245, 250, 0.75);
}

.footer-grid h3 {
    color: var(--color-cool-050);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.6rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
}

.footer-nav a {
    color: rgba(243, 245, 250, 0.72);
    font-size: 0.95rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: var(--color-gold-400);
}

.footer-bottom {
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 2rem;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(243, 245, 250, 0.6);
}

.footer-legal-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-copyright,
.footer-org {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.footer-legal {
    display: flex;
    align-items: center;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem 1rem;
    font-size: 0.875rem;
}

.footer-legal-links li {
    position: relative;
}

.footer-legal-links li:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -0.625rem;
    color: rgba(243, 245, 250, 0.3);
}

.footer-legal-links a {
    color: rgba(243, 245, 250, 0.6);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
    color: var(--color-gold-400);
}

@media (max-width: 768px) {
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

.back-to-top {
    color: var(--color-gold-400);
    font-weight: 600;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.back-to-top::after {
    content: '↑';
    font-size: 0.85rem;
}

.back-to-top.back-to-top--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Reveal animations */
[data-animate] {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
    /* Stack header vertically on mobile */
    .header-inner {
        flex-direction: column;
        gap: 0.55rem;
        padding: 0.65rem 0;
    }
    
    .brand {
        width: auto;
        justify-content: center;
        margin: 0 auto;
        flex-wrap: nowrap;
    }
    
    .brand-text {
        display: inline-flex;
        align-items: center;
        gap: 0.15rem;
        white-space: nowrap;
    }
    
    /* Hide subtitle on mobile to save space */
    .brand-text span {
        display: none;
    }
    
    .site-nav {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: 1 1 auto;
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        transition: none;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav.is-open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: nowrap;
        justify-content: flex-start;
        white-space: nowrap;
    }
    
    .nav-list li {
        border-bottom: none;
        flex-shrink: 0;
    }
    
    .nav-list a {
        padding: 0.4rem 0.65rem;
        font-size: 0.8rem;
        display: inline-block;
        white-space: nowrap;
    }

    .btn-nav {
        display: inline-flex;
        padding: 0.4rem 0.85rem;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .nav-cta {
        width: auto;
        justify-content: center;
        flex-shrink: 0;
    }

    .nav-toggle {
        display: none;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        padding: 4px;
    }

    .brand-text strong {
        font-size: 1.02rem;
        line-height: 1;
        white-space: nowrap;
    }

    .page-shell {
        overflow: visible;
        padding-top: 6.5rem;
        max-width: 100%;
    }

    .site-header.is-condensed .header-inner {
        gap: 0.3rem;
        padding: 0.5rem 0;
    }

    .site-header.is-condensed .brand {
        gap: 0.45rem;
    }

    .site-header.is-condensed .brand-mark {
        width: 26px;
        height: 26px;
        padding: 2px;
    }

    .site-header.is-condensed .brand-text strong {
        font-size: 0.92rem;
    }

    .site-header.is-condensed .nav-list {
        gap: 0.3rem;
    }

    .site-header.is-condensed .nav-list a {
        padding: 0.28rem 0.45rem;
        font-size: 0.72rem;
    }

    .site-header.is-condensed .btn-nav {
        padding: 0.28rem 0.58rem;
        font-size: 0.72rem;
    }

    .container {
        width: min(calc(100% - 1.8rem), var(--max-width));
    }

    .section {
        padding: clamp(3.5rem, 9vw, 5rem) 0;
    }

    .section-heading {
        margin: 0 auto clamp(1.8rem, 6vw, 3rem);
    }

    .hero {
        aspect-ratio: auto;
        min-height: 100vh;
        min-height: 100dvh;
        align-items: center;
        padding: calc(4.75rem + env(safe-area-inset-top)) 0 3rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 6vw, 2.8rem);
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-copy h1 {
        font-size: clamp(2.4rem, 7.2vw, 2.9rem);
    }

    .hero-copy p {
        margin-top: 1rem;
        font-size: 1.05rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-highlight {
        max-width: 100%;
    }

    .hero-card {
        padding: 1.9rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 2rem;
    }

    .hero-stats .stat {
        padding: 1.05rem 1.15rem;
    }

    .about-grid {
        gap: 2.5rem;
    }

    .activity-card {
        padding: 1.8rem;
    }

    .team-grid {
        gap: 1.5rem;
    }

    .contact-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 720px) {
    .hero {
        padding: calc(4.25rem + env(safe-area-inset-top)) 0 3.5rem;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stats .stat {
        padding: 1rem 1.1rem;
    }

    .section-heading {
        text-align: left;
    }

    .section-heading p {
        font-size: 1rem;
    }

    .events-marquee {
        overflow-x: auto;
        padding: 2.2rem 1.4rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .events-marquee::before,
    .events-marquee::after {
        display: none;
    }

    .events-track {
        animation: none;
        gap: 1rem;
    }

    .events-item {
        scroll-snap-align: center;
    }

    .partner-marquee {
        overflow-x: auto;
        padding-bottom: 7rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .partner-marquee::before {
        display: none;
    }

    .partner-track {
        animation: none;
        gap: 1rem;
    }

    .partner-card {
        scroll-snap-align: center;
    }

    .recruitment-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .brand {
        gap: 0.6rem;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        padding: 4px;
        box-shadow: 0 8px 18px rgba(7, 17, 34, 0.2);
    }

    .brand-text strong {
        font-size: 1.05rem;
    }

    .brand-text span {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

    .container {
        width: min(calc(100% - 1.2rem), var(--max-width));
    }

    .section {
        padding: 3.2rem 0;
    }

    .header-inner {
        gap: 1rem;
    }

    .hero {
        padding: calc(4rem + env(safe-area-inset-top)) 0 3rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-copy h1 {
        font-size: clamp(2.05rem, 9vw, 2.35rem);
    }

    .hero-copy p {
        font-size: 0.98rem;
    }

    .hero-card {
        padding: 1.7rem;
    }

    .hero-stats {
        gap: 0.75rem;
    }

    .hero-stats dd {
        font-size: 1.25rem;
    }

    .section-heading h2 {
        font-size: clamp(1.9rem, 8vw, 2.25rem);
    }

    .hero-stat {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-heading p {
        font-size: 0.98rem;
    }

    .focus-grid,
    .activity-grid,
    .team-grid,
    .partner-grid,
    .focus-panels,
    .contact-grid,
    .apply-grid {
        grid-template-columns: 1fr;
    }

    .activity-card {
        padding: 1.65rem;
    }

    .activity-card p {
        font-size: 0.95rem;
    }

    .events-item iframe {
        height: 260px;
    }

    .partner-marquee {
        padding-bottom: 6rem;
    }

    .partner-card {
        min-width: 200px;
        max-width: 220px;
    }

    .partner-description {
        margin-top: 0.6rem;
    }

    .team-body {
        align-items: center;
        text-align: center;
        padding: 1.8rem;
    }

    .team-body h3 {
        font-size: 1.15rem;
    }

    .contact-grid {
        gap: 2rem;
    }

    .contact-panel {
        padding: 2.1rem 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.8rem 1.5rem;
    }

    .apply-section h2 {
        font-size: clamp(2rem, 8vw, 2.3rem);
    }

    .apply-list {
        margin: 1.2rem 0;
    }

    .contact-board {
        margin: 1.2rem 0;
    }

    .apply-section {
        border-radius: 0;
    }

    .site-footer {
        border-radius: 0;
    }
}

@supports (padding: clamp(1rem, 2vw, 2rem)) {
    .hero,
    .section,
    .apply-section {
        padding-left: clamp(1.5rem, 4vw, 3rem);
        padding-right: clamp(1.5rem, 4vw, 3rem);
    }
}

/* ===================================
   Legal Pages
   =================================== */

body.legal-body {
    background: var(--color-navy-950);
}

.legal-page {
    background: var(--color-navy-950);
    min-height: 100vh;
    padding-top: 80px;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gold-400);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.legal-back-link:hover,
.legal-back-link:focus-visible {
    color: var(--color-gold-300);
    transform: translateX(-4px);
}

.legal-back-link span {
    font-size: 1.25rem;
    line-height: 1;
}

.legal-hero {
    background: linear-gradient(135deg, var(--color-navy-900) 0%, var(--color-navy-950) 100%);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--color-text-primary);
}

.legal-updated {
    color: rgba(243, 245, 250, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

.legal-content {
    padding: 4rem 0 6rem;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.legal-text h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 3rem 0 1.25rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-gold-500);
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 2rem 0 1rem 0;
}

.legal-text p {
    margin: 0 0 1.25rem 0;
}

.legal-text ul,
.legal-text ol {
    margin: 0 0 1.25rem 0;
    padding-left: 1.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.legal-text a {
    color: var(--color-gold-400);
    text-decoration: underline;
    transition: color 0.25s ease;
}

.legal-text a:hover,
.legal-text a:focus-visible {
    color: var(--color-gold-300);
}

.legal-text strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.legal-notice {
    background: rgba(212, 162, 87, 0.1);
    border-left: 4px solid var(--color-gold-500);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.legal-notice p {
    margin: 0;
    color: var(--color-text-primary);
}

.legal-back-bottom {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.legal-back-bottom .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 3rem 0 2rem;
    }

    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-content {
        padding: 3rem 0 4rem;
    }

    .legal-text h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }

    .legal-text h3 {
        font-size: 1.125rem;
    }
}

/* ===================================
   Enhanced Mobile Optimization
   =================================== */

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .btn:hover,
    .partner-card:hover,
    .team-member:hover,
    a:hover {
        transform: none;
    }
    
    /* Increase tap targets */
    .btn,
    .nav-list a,
    .footer-nav a,
    .footer-legal-links a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Mobile-first breakpoints */
@media (max-width: 768px) {
    /* Optimize body font size */
    body {
        font-size: 16px; /* Prevents iOS zoom on input focus */
        line-height: 1.6;
    }
    
    /* Header optimization */
    .site-header {
        padding: 0.75rem 0;
    }
    
    .header-inner {
        padding: 0 1rem;
    }
    
    .brand {
        max-width: 200px;
    }
    
    .brand-text span {
        font-size: 0.7rem;
    }
    
    /* Hero section mobile */
    .hero {
        padding: 6rem 1.5rem 4rem;
        text-align: center;
    }
    
    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-lead {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .stat {
        min-width: auto;
    }
    
    /* Section spacing */
    .section {
        padding: 3rem 1.5rem;
    }
    
    /* About section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-panel {
        padding: 1.5rem;
    }
    
    .about-metrics {
        gap: 1.5rem;
        justify-content: space-around;
    }
    
    /* Activities cards */
    .activity-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .activity-card {
        padding: 1.5rem;
    }
    
    /* Partner cards - optimize scrolling */
    .partner-card {
        min-width: 240px;
        padding: 1.25rem;
    }
    
    .partner-logo {
        height: 48px;
    }
    
    /* Team grid */
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .team-member {
        padding: 1rem;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .team-name {
        font-size: 0.9rem;
    }
    
    .team-role {
        font-size: 0.75rem;
    }
    
    /* Apply section / Contact form */
    .apply-section {
        padding: 3rem 1.5rem;
    }
    
    .apply-container {
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 0.875rem 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Footer optimization */
    .footer {
        padding: 2.5rem 1.5rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal-links {
        justify-content: center;
        gap: 0.5rem 0.75rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    /* Tighter spacing */
    .section {
        padding: 2.5rem 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .hero-lead {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .stat {
        width: 100%;
        max-width: 200px;
    }
    
    /* Single column layouts */
    .about-metrics {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-metrics > div {
        text-align: center;
    }
    
    /* Form optimizations */
    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .btn-nav {
        width: auto;
    }
    
    /* Navigation improvements - removed conflicting styles */
    
    /* Partner cards smaller */
    .partner-card {
        min-width: 200px;
    }
    
    /* Team grid tighter */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Landscape mobile optimization */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        padding: 4rem 1.5rem 3rem;
    }
    
    .hero-lead {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 2.5rem 1.5rem;
    }
}

/* Tablet optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 720px;
        padding: 0 2rem;
    }
    
    .hero-lead {
        font-size: 2.5rem;
    }
    
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Show placements logos in full color on tablets too */
    .placement-logo img {
        filter: grayscale(0%) opacity(1);
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles if needed */
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .partner-card,
    .activity-card,
    .team-member {
        border: 2px solid var(--color-border);
    }
}

/* Mobile optimizations for team section */
@media (max-width: 768px) {
    /* Remove section padding for team to allow full-width scroll */
    #team.section {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Create horizontal scrollable team grid */
    .team-grid {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        overflow-x: scroll;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding: 0 1.5rem 1rem 1.5rem;
        margin: 0;
        scroll-padding: 1.5rem;
    }
    
    /* Style scrollbar for better UX */
    .team-grid::-webkit-scrollbar {
        height: 8px;
    }
    
    .team-grid::-webkit-scrollbar-track {
        background: rgba(21, 45, 90, 0.1);
        border-radius: 4px;
    }
    
    .team-grid::-webkit-scrollbar-thumb {
        background: rgba(246, 173, 85, 0.5);
        border-radius: 4px;
    }
    
    .team-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(246, 173, 85, 0.7);
    }
    
    /* Much wider cards - 80% of viewport width */
    .team-card {
        flex: 0 0 80vw;
        max-width: 80vw;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        min-height: 500px;
    }
    
    /* Square photos that fill the card properly */
    .team-photo {
        padding-top: 100%;
        background-size: cover;
        background-position: center center;
        width: 100%;
        height: 0;
        position: relative;
    }
    
    /* Always show contact icons on mobile (no hover on touch devices) */
    .team-email,
    .team-linkedin {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Make icons larger and easier to tap on mobile */
    .team-email,
    .team-linkedin {
        width: 42px;
        height: 42px;
        bottom: 12px;
    }
    
    .team-email {
        right: 62px;
    }
    
    .team-linkedin {
        right: 12px;
    }
    
    .team-email svg,
    .team-linkedin svg {
        width: 20px;
        height: 20px;
    }
    
    /* Improve touch target size for accessibility */
    .team-email,
    .team-linkedin {
        -webkit-tap-highlight-color: rgba(246, 173, 85, 0.3);
    }
    
    /* Add slight shadow for better visibility on mobile */
    .team-email,
    .team-linkedin {
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    }
    
    /* Adjust body padding */
    .team-body {
        padding: 1.5rem;
    }
    
    .team-body h3 {
        font-size: 1.125rem;
        line-height: 1.3;
    }
    
    .team-body span {
        font-size: 0.875rem;
    }
    
    /* Placements grid on mobile */
    .placements-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.25rem;
        padding: 1.5rem 1.5rem;
        margin-top: 2rem;
    }
    
    .placement-logo {
        padding: 1.25rem;
        min-height: 100px;
    }
    
    .placement-logo img {
        max-height: 50px;
        /* Show logos in full color on mobile since there's no hover */
        filter: grayscale(0%) opacity(1);
    }
    
    /* Add subtle tap highlight for better mobile UX */
    .placement-logo {
        -webkit-tap-highlight-color: rgba(246, 173, 85, 0.2);
    }
}

/* ── Disclaimer Gate Modal ── */
.disclaimer-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 27, 51, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.25rem;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.disclaimer-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.disclaimer-modal {
    background: linear-gradient(165deg, #1a2d50 0%, #152443 60%, #0f1c36 100%);
    border: 1px solid rgba(246, 173, 85, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(246, 173, 85, 0.08);
    max-width: 560px;
    width: 100%;
    padding: 2.5rem 2.25rem 2rem;
    text-align: center;
    color: #e2e8f0;
    animation: disclaimerSlideIn 0.5s ease;
}

@keyframes disclaimerSlideIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.disclaimer-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.disclaimer-modal h2 {
    font-family: var(--font-title);
    font-size: 1.55rem;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.disclaimer-body {
    text-align: left;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.disclaimer-body p {
    margin-bottom: 1rem;
}

.disclaimer-body p:last-child {
    margin-bottom: 0;
}

.disclaimer-highlight {
    background: rgba(246, 173, 85, 0.08);
    border-left: 3px solid var(--color-gold-500);
    padding: 0.85rem 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #f0dcc0;
}

.disclaimer-highlight strong {
    color: var(--color-gold-400);
}

.disclaimer-body a {
    color: var(--color-gold-400);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.disclaimer-body a:hover {
    color: var(--color-gold-300);
}

.disclaimer-consent {
    margin-bottom: 1.5rem;
}

.disclaimer-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    text-align: left;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #c5cfe0;
    cursor: pointer;
    user-select: none;
}

.disclaimer-checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    min-width: 20px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(246, 173, 85, 0.4);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    margin-top: 1px;
    transition: all 0.2s ease;
    position: relative;
}

.disclaimer-checkbox-label input[type="checkbox"]:checked {
    background: var(--color-gold-500);
    border-color: var(--color-gold-500);
}

.disclaimer-checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-navy-800);
}

.disclaimer-checkbox-label input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--color-gold-400);
    outline-offset: 2px;
}

.disclaimer-accept {
    width: 100%;
    padding: 1rem 1.6rem;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.disclaimer-accept:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

@media (max-width: 600px) {
    .disclaimer-modal {
        padding: 2rem 1.25rem 1.5rem;
    }

    .disclaimer-modal h2 {
        font-size: 1.3rem;
    }

    .disclaimer-body {
        font-size: 0.85rem;
    }

    .disclaimer-checkbox-label {
        font-size: 0.82rem;
    }
}

/* Print styles */
@media print {
    .site-header,
    .btn,
    .back-to-top,
    .nav-toggle,
    .disclaimer-overlay {
        display: none;
    }
    
    .hero,
    .section {
        page-break-inside: avoid;
    }
}
