@font-face {
    font-family: 'Modern Grotesk';
    src: url('assets/modern-grotesk-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Modern Grotesk';
    src: url('assets/modern-grotesk-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Modern Grotesk';
    src: url('assets/modern-grotesk-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #0A0A0A;
    --dark: #111111;
    --card: #1c1c1c;
    --border: rgba(255,255,255,0.1);
    --gold: #C9A96E;
    --gold-light: #E0C992;
    --gold-dim: rgba(201,169,110,0.15);
    --cream: #F5F0E8;
    --text: #ffffff;
    --text-muted: #aaaaaa;
    --text-dim: #777777;
    --radius: 20px;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Modern Grotesk', sans-serif;
    background: var(--black);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ===== TYPOGRAPHY ===== */

h1, h2, h3, .display {
    font-family: 'Modern Grotesk', sans-serif;
    font-weight: 300;
}

h1 { font-size: clamp(2.8rem, 7vw + 0.5rem, 7.5rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw + 0.5rem, 4.2rem); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.8rem); line-height: 1.2; }

.label {
    font-family: 'Modern Grotesk', sans-serif;
    font-size: clamp(0.6rem, 0.5vw + 0.3rem, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.body-lg { font-size: clamp(1rem, 1vw + 0.5rem, 1.3rem); line-height: 1.7; color: var(--text-muted); font-weight: 400; }
.body { font-size: clamp(0.85rem, 0.8vw + 0.3rem, 1.05rem); line-height: 1.7; color: var(--text-muted); font-weight: 400; }
.body-sm { font-size: clamp(0.75rem, 0.5vw + 0.3rem, 0.88rem); line-height: 1.6; color: var(--text-dim); font-weight: 400; }

/* Line reveal animation */
.line-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: lineReveal 0.8s var(--ease-out) forwards;
}
@keyframes lineReveal {
    to { opacity: 1; transform: translateY(0); }
}

/* Parallax section */
.parallax-section {
    will-change: transform;
}

/* Hero canvas */
#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.5;
}

/* Magnetic hover */
.magnetic {
    transition: transform 0.3s var(--ease);
}

/* Smooth section scale-in */
.scale-in {
    transform: scale(0.96);
    opacity: 0;
    transition: transform 1s var(--ease-out), opacity 0.8s var(--ease-out);
}
.scale-in.visible {
    transform: scale(1);
    opacity: 1;
}

/* Horizontal scroll text */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 300;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    padding: 2rem 0;
    user-select: none;
}
.marquee-inner {
    display: inline-block;
    animation: marquee 25s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

/* ===== LAYOUT ===== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.section { padding: 8rem 0; position: relative; }
.section-border { border-top: 1px solid var(--border); }

/* ===== COMPONENTS ===== */

/* Gold accent line */
.gold-line {
    width: 48px;
    height: 1.5px;
    background: var(--gold);
    margin-bottom: 1.5rem;
}

/* Glass card */
.glass {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.5s var(--ease);
}
.glass:hover {
    border-color: rgba(201,169,110,0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* CTA button */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    background: var(--gold);
    color: var(--black);
    font-family: 'Modern Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}
.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(201,169,110,0.25);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Modern Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.4s var(--ease);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--text);
}

/* ===== NAVIGATION ===== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(10,10,10,0.7);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease);
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}
.nav-logo { height: 2.2rem; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-link {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color 0.3s;
    position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
}

/* Mobile nav */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.nav-mobile-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 5rem;
        left: 0;
        right: 0;
        background: rgba(10,10,10,0.95);
        backdrop-filter: blur(24px);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
    }
}

/* ===== ANIMATIONS ===== */

.reveal {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { }
.reveal-delay-2 { }
.reveal-delay-3 { }
.reveal-delay-4 { }

/* Staggered hero load */
.hero-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s var(--ease-out) forwards;
}
.hero-stagger > *:nth-child(1) { animation-delay: 0.2s; }
.hero-stagger > *:nth-child(2) { animation-delay: 0.4s; }
.hero-stagger > *:nth-child(3) { animation-delay: 0.6s; }
.hero-stagger > *:nth-child(4) { animation-delay: 0.8s; }
.hero-stagger > *:nth-child(5) { animation-delay: 1.0s; }

@keyframes heroReveal {
    to { opacity: 1; transform: translateY(0); }
}

/* Counter */
.counter { font-variant-numeric: tabular-nums; }

/* Floating */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.float { animation: float 6s ease-in-out infinite; }

/* Pulse ring */
@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(201,169,110,0.15); }
    70% { box-shadow: 0 0 0 20px rgba(201,169,110,0); }
    100% { box-shadow: 0 0 0 0 rgba(201,169,110,0); }
}
.pulse-ring { animation: pulseRing 3s ease-in-out infinite; }

/* ===== FOOTER ===== */

.footer {
    border-top: 1px solid var(--border);
    padding: 5rem 0 3rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-heading {
    font-family: 'Modern Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1rem;
}
.footer-link {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 0.6rem;
    transition: color 0.3s;
}
.footer-link:hover { color: var(--text); }
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-dim);
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; }
    .section { padding: 5rem 0; }
}

/* ===== PAGE-SPECIFIC ===== */

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201,169,110,0.06) 0%, transparent 50%);
}
.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    mask-image: linear-gradient(to right, transparent 0%, black 40%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

/* Quote */
.quote-card {
    position: relative;
    padding: 3rem;
}
.quote-mark {
    font-family: Georgia, serif;
    font-size: 8rem;
    line-height: 0.8;
    color: rgba(201,169,110,0.15);
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
}

/* Event card image */
.event-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.event-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.glass:hover .event-img-wrap img {
    transform: scale(1.05);
}
.event-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--card) 0%, transparent 60%);
}
.event-date {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    font-family: 'Modern Grotesk', sans-serif;
    font-size: 3.5rem;
    color: rgba(201,169,110,0.5);
    line-height: 1;
}

/* Metric card */
.metric-val {
    font-family: 'Modern Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.metric-gold { border-color: rgba(201,169,110,0.15); }

/* Advantage illustration */
.advantage-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    transition: opacity 0.4s;
}
.glass:hover .advantage-img { opacity: 1; }

/* Think tank card */
.tt-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    cursor: pointer;
}
.tt-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Criteria dots */
.criteria-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Social icon */
.social-icon {
    width: 16px;
    height: 16px;
    opacity: 0.4;
    transition: opacity 0.3s;
}
.footer-link:hover .social-icon { opacity: 1; }
