/* The Next Level — Modern Design System (photo-free, logo-forward) */
:root {
    --navy: #060d1a;
    --navy-2: #0a1730;
    --navy-3: #0e2145;
    --sky: #3BA3E0;
    --orange: #F36C1A;
    --gold: #F5B400;
    --ink: #0b1220;
    --paper: #f5f7fb;
    --white: #ffffff;
    --muted: #64748b;
    --muted-d: rgba(255,255,255,.6);
    --border: rgba(11, 20, 40, 0.08);
    --border-d: rgba(255,255,255,.1);
    --radius: 16px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    --shadow: 0 30px 60px rgba(6, 13, 26, 0.12);
    --shadow-glow: 0 0 80px rgba(243,108,26,.25);
    --font-display: 'Syne', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --header-h: 72px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--navy);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--orange); color: #fff; }

/* Loader */
.page-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--navy);
    display: grid; place-items: center;
    transition: opacity .55s var(--ease), visibility .55s;
}
.page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark img { width: 110px; filter: drop-shadow(0 0 40px rgba(243,108,26,.5)); }
.loader-bar {
    width: 110px; height: 2px; background: rgba(255,255,255,.12);
    border-radius: 99px; margin: 1.5rem auto 0; overflow: hidden;
}
.loader-bar span {
    display: block; height: 100%; width: 40%;
    background: linear-gradient(90deg, var(--orange), var(--gold));
    animation: loadSlide 1s var(--ease) infinite;
}
@keyframes loadSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* Header */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.site-header.scrolled, .site-header.solid {
    background: rgba(6, 13, 26, 0.72);
    backdrop-filter: blur(20px) saturate(140%);
    border-bottom-color: rgba(255,255,255,.07);
}
.header-inner {
    width: 100%; max-width: none; margin: 0;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
    height: 100%; display: flex; align-items: center; gap: 1.25rem;
}
.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; filter: drop-shadow(0 2px 12px rgba(243,108,26,.35)); }
.brand-word {
    font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
    color: #fff; letter-spacing: -0.01em; white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.nav-link {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .5rem .9rem; border-radius: 99px;
    color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 500;
    transition: color .2s, background .2s;
    background: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.09); }
.nav-student { color: var(--gold) !important; }
.nav-caret { opacity: .7; transition: transform .2s; flex-shrink: 0; }

/* Nav dropdowns */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { width: 100%; }
.nav-dropdown-menu {
    position: absolute; top: calc(100% + .45rem); left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 180px; padding: .45rem;
    background: rgba(8, 16, 32, 0.96);
    backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 120;
}
.nav-dropdown-menu--wide { min-width: 200px; left: 0; transform: translateX(0) translateY(6px); }
.nav-dropdown-menu::before {
    content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.nav-dropdown-link {
    display: block; padding: .55rem .85rem; border-radius: 10px;
    color: rgba(255,255,255,.7); font-size: .88rem; font-weight: 500;
    white-space: nowrap; transition: color .15s, background .15s;
}
.nav-dropdown-link:hover, .nav-dropdown-link.active {
    color: #fff; background: rgba(255,255,255,.08);
}
.nav-dropdown-link--featured {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(120deg, rgba(243,108,26,.22), rgba(245,180,0,.12));
    border: 1px solid rgba(243,108,26,.35);
    margin-bottom: .35rem;
    border-radius: 10px;
}
.nav-dropdown-link--featured:hover,
.nav-dropdown-link--featured.active {
    background: linear-gradient(120deg, rgba(243,108,26,.32), rgba(245,180,0,.18));
    border-color: rgba(243,108,26,.5);
    color: #fff;
}
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu,
.nav-dropdown.open > .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover > .nav-dropdown-menu--wide,
.nav-dropdown:focus-within > .nav-dropdown-menu--wide,
.nav-dropdown.open > .nav-dropdown-menu--wide {
    transform: translateX(0) translateY(0);
}
.nav-dropdown:hover > .nav-dropdown-toggle,
.nav-dropdown:focus-within > .nav-dropdown-toggle,
.nav-dropdown.open > .nav-dropdown-toggle,
.nav-dropdown:has(.nav-dropdown-link.active) > .nav-dropdown-toggle {
    color: #fff; background: rgba(255,255,255,.09);
}
.nav-dropdown.open > .nav-dropdown-toggle .nav-caret,
.nav-dropdown:hover > .nav-dropdown-toggle .nav-caret {
    transform: rotate(180deg);
}

.header-actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: .5rem;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
    border: 1.5px solid transparent; cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s, background .2s, border-color .2s, color .2s;
    white-space: nowrap; max-width: 100%;
}
.btn-sm { padding: .5rem 1.05rem; font-size: .84rem; }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }
.btn-primary {
    background: linear-gradient(120deg, var(--orange), var(--gold));
    color: #fff; box-shadow: 0 12px 30px rgba(243,108,26,.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(243,108,26,.55); }
.btn-ghost {
    background: rgba(255,255,255,.06); color: #fff;
    border-color: rgba(255,255,255,.24); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); }
.btn-block { width: 100%; border-radius: 14px; }

/* Layout */
.app-main { min-height: 100vh; }
.page-enter { animation: pageIn .5s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-light { background: var(--paper); color: var(--ink); }
.section-light .section-head p { color: var(--muted); }

.section-head { margin-bottom: 2.5rem; max-width: 560px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3.2vw, 2.25rem);
    font-weight: 800; margin: 0 0 .65rem; letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
}
.section-light .section-head h2 { color: var(--ink); }
.section-head p { color: var(--muted-d); margin: 0; font-size: 1rem; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
    color: var(--gold); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 26px; height: 1.5px; background: var(--orange); }
.grad-text {
    background: linear-gradient(115deg, var(--gold) 10%, var(--orange) 55%, var(--sky) 110%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ─── HERO ─── */
.hero {
    position: relative; min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center; overflow: hidden;
    color: #fff;
    background: var(--navy);
}
.aurora { position: absolute; inset: -20%; z-index: 0; filter: blur(70px); opacity: .9; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora .a1 { width: 46vw; height: 46vw; left: -6%; top: -8%; background: radial-gradient(circle, rgba(243,108,26,.55), transparent 62%); animation: float1 16s ease-in-out infinite; }
.aurora .a2 { width: 40vw; height: 40vw; right: -8%; top: 4%; background: radial-gradient(circle, rgba(245,180,0,.4), transparent 62%); animation: float2 20s ease-in-out infinite; }
.aurora .a3 { width: 52vw; height: 52vw; left: 22%; bottom: -24%; background: radial-gradient(circle, rgba(59,163,224,.4), transparent 62%); animation: float3 24s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6%,5%) scale(1.12); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-5%,7%) scale(1.08); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(4%,-6%) scale(1.14); } }
.hero-grid-overlay {
    position: absolute; inset: 0; z-index: 1; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
}
.hero-inner {
    position: relative; z-index: 3;
    max-width: var(--max); margin: 0 auto; width: 100%;
    padding: calc(var(--header-h) + 2rem) 1.25rem 3rem;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
}
.hero-mark-wrap { position: relative; margin-bottom: 1.25rem; }
.hero-mark-wrap::before {
    content: ''; position: absolute; inset: -30% -20%;
    background: radial-gradient(circle, rgba(243,108,26,.4), transparent 65%);
    filter: blur(30px); z-index: -1;
}
.hero-brand-mark {
    width: min(160px, 42vw);
    filter: drop-shadow(0 18px 50px rgba(0,0,0,.5));
    animation: markIn 1s var(--ease) both;
}
@keyframes markIn { from { opacity: 0; transform: translateY(24px) scale(.95); } to { opacity: 1; transform: none; } }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 800; line-height: 1.12; letter-spacing: -0.03em;
    margin: 0 0 1rem; max-width: 18ch;
}
.hero-tagline {
    font-size: clamp(.95rem, 1.8vw, 1.1rem);
    color: rgba(255,255,255,.72); max-width: 42ch; margin: 0 auto 1.75rem;
    line-height: 1.6;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero-trust {
    margin-top: 2rem; display: flex; gap: 1.75rem; flex-wrap: wrap; justify-content: center;
    color: rgba(255,255,255,.5); font-size: .75rem; letter-spacing: .04em;
}
.hero-trust b { color: #fff; font-family: var(--font-display); font-size: 1.15rem; display: block; }
.hero-scroll {
    position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 4;
    width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 99px; display: flex; justify-content: center; padding-top: 8px;
}
.hero-scroll i { width: 3px; height: 8px; border-radius: 99px; background: var(--gold); animation: scrollDot 1.6s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }

/* ─── Marquee ─── */
.marquee {
    background: linear-gradient(90deg, var(--orange), var(--gold));
    overflow: hidden; padding: .9rem 0; white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1);
}
.marquee-track { display: inline-flex; gap: 2.5rem; animation: marquee 28s linear infinite; }
.marquee-track span {
    font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
    color: #fff; text-transform: uppercase; letter-spacing: .06em;
    display: inline-flex; align-items: center; gap: 2.5rem;
}
.marquee-track span::after { content: '✦'; opacity: .7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Stats ─── */
.stats-strip { background: var(--navy-2); padding: 4rem 1.5rem; }
.stats-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat-card {
    padding: 1.75rem; border-radius: var(--radius);
    background: rgba(255,255,255,.03); border: 1px solid var(--border-d);
}
.stat-num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1; }
.stat-num em { font-style: normal; color: var(--gold); }
.stat-label { color: rgba(255,255,255,.5); font-size: .9rem; margin-top: .5rem; }

/* ─── Bento / feature grid ─── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.bento-card {
    position: relative; overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border-d);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.bento-card:hover { transform: translateY(-5px); border-color: rgba(243,108,26,.45); background: rgba(255,255,255,.05); }
.bento-card h3 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 .6rem; color: #fff; }
.bento-card p { margin: 0; color: rgba(255,255,255,.6); font-size: .96rem; }
.bento-icon {
    width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.2rem;
    display: grid; place-items: center; font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(243,108,26,.25), rgba(245,180,0,.15));
    border: 1px solid rgba(245,180,0,.25);
}
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }
.col-4 { grid-column: span 4; }
.bento-card.feature-big {
    background: linear-gradient(135deg, rgba(243,108,26,.16), rgba(59,163,224,.1));
    border-color: rgba(243,108,26,.3);
}
.bento-huge-num { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1; color: #fff; }

/* ─── Event type tiles (no photos) ─── */
.type-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.type-tile {
    position: relative; overflow: hidden;
    border-radius: var(--radius-lg); padding: 1.75rem;
    min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end;
    color: #fff; transition: transform .35s var(--ease); isolation: isolate;
}
.type-tile:hover { transform: translateY(-6px); }
.type-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .95; }
.type-tile.t-online::before { background: linear-gradient(150deg, #0e2145, #3BA3E0); }
.type-tile.t-tech::before { background: linear-gradient(150deg, #0a1730, #F5B400); }
.type-tile.t-art::before { background: linear-gradient(150deg, #2a0f38, #F36C1A); }
.type-tile .type-num {
    position: absolute; top: 1rem; right: 1.15rem;
    font-family: var(--font-display); font-weight: 800; font-size: 2.5rem;
    opacity: .25; line-height: 1;
}
.type-tile h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 .45rem; }
.type-tile p { margin: 0 0 1rem; color: rgba(255,255,255,.85); font-size: .92rem; }
.type-tile .btn { align-self: flex-start; }

/* ─── Steps ─── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step-card {
    padding: 2rem; border-radius: var(--radius-lg);
    background: #fff; border: 1px solid var(--border); position: relative;
}
.step-card::before {
    counter-increment: step; content: '0' counter(step);
    font-family: var(--font-display); font-weight: 800; font-size: 2.5rem;
    color: var(--orange); display: block; margin-bottom: .75rem;
}
.step-card h3 { font-family: var(--font-display); margin: 0 0 .5rem; font-size: 1.25rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ─── Events grid (photo-free cards) ─── */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }
.event-card {
    border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
    background: rgba(255,255,255,.03); border: 1px solid var(--border-d);
    transition: transform .3s var(--ease), border-color .3s;
    display: flex; flex-direction: column;
}
.section-light .event-card { background: #fff; border-color: var(--border); }
.event-card:hover { transform: translateY(-5px); border-color: rgba(243,108,26,.4); }
.event-card-head {
    height: 120px; padding: 1.25rem; position: relative; overflow: hidden;
    display: flex; align-items: flex-start; justify-content: space-between;
}
.event-card-head.h-online { background: linear-gradient(140deg, #0e2145, #3BA3E0); }
.event-card-head.h-technical { background: linear-gradient(140deg, #0a1730, #F5B400); }
.event-card-head.h-artistic { background: linear-gradient(140deg, #2a0f38, #F36C1A); }
.event-card-head.h-other { background: linear-gradient(140deg, #0a1730, #64748b); }
.event-card-initial { font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: rgba(255,255,255,.85); line-height: 1; }
.event-card-body { padding: 1.25rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.event-badge {
    display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; padding: .28rem .6rem; border-radius: 99px;
    background: rgba(255,255,255,.15); color: #fff;
}
.event-card-body h3 { font-family: var(--font-display); margin: .75rem 0 .5rem; font-size: 1.15rem; color: #fff; }
.section-light .event-card-body h3 { color: var(--ink); }
.event-meta { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: auto; }
.section-light .event-meta { color: var(--muted); }

/* Filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-btn {
    padding: .5rem 1.1rem; border-radius: 99px; cursor: pointer; font-size: .85rem; font-weight: 500;
    background: rgba(255,255,255,.05); border: 1px solid var(--border-d); color: rgba(255,255,255,.8);
    transition: all .2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* CTA band */
.cta-band {
    position: relative; overflow: hidden; text-align: center;
    padding: 4.5rem 1.5rem; color: #fff;
    background: linear-gradient(120deg, var(--navy-3), var(--navy));
}
.cta-band .aurora { filter: blur(90px); opacity: .8; }
.cta-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.35rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 .85rem; line-height: 1.15; }
.cta-inner p { color: rgba(255,255,255,.7); font-size: 1rem; margin: 0 0 1.75rem; }

/* Quote */
.quote-block { max-width: 720px; margin: 0 auto; text-align: center; }
.quote-block p {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.2rem, 2.8vw, 1.75rem); line-height: 1.35;
    letter-spacing: -0.015em; color: #fff; margin: 0;
}
.quote-block .grad-text { display: inline; }
.quote-author { margin-top: 1.25rem; color: rgba(255,255,255,.5); font-size: .9rem; }

/* Gallery */
.gallery-masonry { columns: 3; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1rem; border-radius: 16px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; border-radius: 16px; transition: transform .45s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }

/* About */
.about-hero { padding: calc(var(--header-h) + 3.5rem) 1.25rem 3rem; text-align: center; position: relative; overflow: hidden; color: #fff; }
.about-hero .aurora { opacity: .6; }
.about-hero-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.about-hero h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.03em; margin: .75rem 0 .85rem; line-height: 1.12; }
.about-hero p { font-size: 1.05rem; color: rgba(255,255,255,.72); line-height: 1.65; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem; }
.contact-cards { display: grid; gap: .85rem; align-content: start; }
.contact-card {
    padding: 1.25rem; border-radius: var(--radius); display: flex; gap: 1rem; align-items: center;
    background: rgba(255,255,255,.04); border: 1px solid var(--border-d); color: #fff;
}
.contact-card small { color: rgba(255,255,255,.55); }
.contact-icon {
    width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
    font-size: 1.3rem; background: linear-gradient(135deg, rgba(243,108,26,.3), rgba(245,180,0,.15));
}
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.form-card h3 { color: var(--ink); }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; font-size: .84rem; margin-bottom: .35rem; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: 12px;
    background: var(--paper); color: var(--ink); transition: border .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,108,26,.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Auth */
.auth-page {
    min-height: 100vh; min-height: 100dvh; display: grid; place-items: center;
    padding: calc(var(--header-h) + 2rem) 1.25rem 3rem; position: relative; overflow: hidden;
}
.auth-page .aurora { opacity: .6; }
.auth-card {
    position: relative; z-index: 2; width: 100%; max-width: 440px; background: #fff;
    border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: 0 50px 90px rgba(0,0,0,.4);
}
.auth-card h1 { font-family: var(--font-display); margin: 0 0 .4rem; font-size: 1.75rem; color: var(--ink); }
.auth-card .sub { color: var(--muted); margin-bottom: 1.75rem; }
.auth-switch { text-align: center; margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }
.auth-switch a { color: var(--orange); font-weight: 600; }

/* Student Corner */
.student-layout { max-width: 1080px; margin: 0 auto; padding: calc(var(--header-h) + 2.5rem) 1.5rem 6rem; }
.student-header { margin-bottom: 2rem; }
.student-header h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; color: #fff; }
.student-header p { color: rgba(255,255,255,.6); }
.student-grid { display: grid; grid-template-columns: 270px 1fr; gap: 1.25rem; }
.student-sidebar {
    background: rgba(255,255,255,.04); border: 1px solid var(--border-d);
    border-radius: var(--radius-lg); padding: 1.25rem; height: fit-content;
    position: sticky; top: calc(var(--header-h) + 1rem); color: #fff;
}
.student-sidebar p { color: rgba(255,255,255,.5); }
.student-nav a { display: block; padding: .65rem .95rem; border-radius: 10px; font-weight: 500; color: rgba(255,255,255,.65); margin-bottom: .2rem; }
.student-nav a.active, .student-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.student-panel { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; }
.student-panel h3 { font-family: var(--font-display); color: var(--ink); }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 99px; font-size: .8rem; font-weight: 600; }
.status-pending { background: rgba(245,180,0,.18); color: #b8860b; }
.status-approved { background: rgba(46,125,50,.15); color: #2e7d32; }
.status-rejected { background: rgba(198,40,40,.12); color: #c62828; }
.notif-item { padding: 1rem; border-bottom: 1px solid var(--border); }
.notif-item.unread { border-left: 3px solid var(--orange); }

/* Event detail */
.event-detail { max-width: 820px; margin: 0 auto; padding: calc(var(--header-h) + 2.5rem) 1.5rem 6rem; color: #fff; }
.event-detail-hero { border-radius: var(--radius-lg); height: 220px; margin-bottom: 1.75rem; display: grid; place-items: center; }
.event-detail-hero .event-card-initial { font-size: 5rem; }
.event-detail h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); margin: 1rem 0; letter-spacing: -0.03em; }
.event-detail-body { color: rgba(255,255,255,.72); line-height: 1.8; margin-bottom: 2rem; font-size: 1.05rem; }

/* Partner / co-host tags */
.partner-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: .65rem 0 .35rem; }
.partner-tag {
    display: inline-flex; align-items: center;
    font-size: .72rem; font-weight: 600; letter-spacing: .02em;
    padding: .28rem .65rem; border-radius: 8px;
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.85);
    border: 1px solid rgba(255,255,255,.14);
}
.partner-tag.role-cohost { background: rgba(243,108,26,.18); border-color: rgba(243,108,26,.4); color: #ffc49a; }
.partner-tag.role-sponsor { background: rgba(245,180,0,.14); border-color: rgba(245,180,0,.35); color: #f5d76e; }
.partner-tag.role-partner { background: rgba(59,163,224,.14); border-color: rgba(59,163,224,.35); color: #9ad4f5; }
.section-light .partner-tag { background: rgba(11,31,58,.06); color: var(--ink); border-color: var(--border); }
.section-light .partner-tag.role-cohost { background: rgba(243,108,26,.1); color: #c44e0a; }
.section-light .partner-tag.role-sponsor { background: rgba(245,180,0,.12); color: #9a6b00; }
.section-light .partner-tag.role-partner { background: rgba(59,163,224,.1); color: #1a6fa0; }

/* Countdown timers */
.countdown {
    display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .85rem;
    margin: .75rem 0 .25rem;
}
.countdown-label {
    font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
    color: rgba(255,255,255,.5);
}
.section-light .countdown-label, .event-card-body .countdown-label { color: rgba(255,255,255,.45); }
.section-light .event-card-body .countdown-label { color: var(--muted); }
.countdown-units { display: flex; gap: .4rem; }
.countdown-units span {
    display: flex; flex-direction: column; align-items: center; min-width: 2.4rem;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px; padding: .35rem .4rem .3rem;
}
.countdown-units b {
    font-family: var(--font-display); font-weight: 800; font-size: .95rem;
    color: #fff; line-height: 1.1;
}
.countdown-units small { font-size: .62rem; color: rgba(255,255,255,.45); text-transform: uppercase; }
.countdown-lg .countdown-units span { min-width: 3.25rem; padding: .55rem .5rem; }
.countdown-lg .countdown-units b { font-size: 1.35rem; }
.countdown-lg .countdown-label { font-size: .8rem; width: 100%; }
.countdown-done {
    font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.45);
    padding: .3rem .65rem; border-radius: 8px; background: rgba(255,255,255,.06);
}
.countdown.is-past .countdown-label { color: rgba(255,255,255,.35); }
.section-light .countdown-units span,
.event-card .countdown-units span {
    background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15);
}
.section-light .event-card .countdown-units span {
    background: rgba(11,31,58,.05); border-color: var(--border);
}
.section-light .event-card .countdown-units b { color: var(--ink); }
.section-light .event-card .countdown-units small,
.section-light .event-card .countdown-done { color: var(--muted); }

.results-link {
    display: inline-block; margin-top: .65rem; font-size: .85rem; font-weight: 600;
    color: var(--gold); text-decoration: none;
}
.results-link:hover { color: #fff; }
.section-light .results-link:hover { color: var(--orange); }

/* Results reveal page */
.results-page {
    min-height: 70vh;
    padding: calc(var(--header-h) + 3rem) 1.5rem 5rem;
    color: #fff;
}
.results-inner { max-width: 720px; margin: 0 auto; }
.results-inner h1 {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.03em;
    margin: .5rem 0 0.75rem; line-height: 1.1;
}
.results-wait, .results-sub { color: rgba(255,255,255,.6); margin: 0 0 1.5rem; max-width: 40ch; }
.results-stage { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.result-card {
    display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
    padding: 1.25rem 1.35rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    opacity: 0; transform: translateY(18px) scale(.98);
    transition: opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1), border-color .3s, background .3s;
}
.result-card.revealed { opacity: 1; transform: translateY(0) scale(1); }
.result-card.is-winner {
    background: linear-gradient(135deg, rgba(243,108,26,.22), rgba(245,180,0,.12));
    border-color: rgba(243,108,26,.45);
    box-shadow: 0 0 0 1px rgba(243,108,26,.15), 0 16px 40px rgba(243,108,26,.15);
}
.result-rank {
    font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
    color: var(--gold); min-width: 2.5rem; text-align: center;
}
.result-rank-special { color: var(--orange); }
.result-body .result-title {
    display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: rgba(255,255,255,.45); margin-bottom: .2rem;
}
.result-body .result-cat {
    display: inline-block; font-size: .7rem; font-weight: 600;
    padding: .15rem .45rem; border-radius: 6px; margin-bottom: .35rem;
    background: rgba(59,163,224,.15); color: #9ad4f5;
}
.result-body h2 {
    font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 .2rem;
    letter-spacing: -0.02em;
}
.result-body p { margin: 0; color: rgba(255,255,255,.55); font-size: .9rem; }
.result-score {
    font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
    color: #fff; background: rgba(255,255,255,.08);
    padding: .5rem .85rem; border-radius: 12px;
}
.result-card.is-winner .result-score {
    background: rgba(243,108,26,.35); color: #fff;
}

/* Footer */
.site-footer { background: #030812; color: rgba(255,255,255,.7); padding: 5rem 1.5rem 2rem; }
.footer-grid { max-width: var(--max); margin: 0 auto 3rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { height: 54px; width: auto; margin-bottom: 1rem; filter: drop-shadow(0 0 24px rgba(243,108,26,.3)); }
.footer-brand p { color: rgba(255,255,255,.5); max-width: 280px; margin: 0; }
.social-row { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social-icon {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover {
    color: #fff; background: rgba(243,108,26,.2);
    border-color: rgba(243,108,26,.45); transform: translateY(-2px);
}
.footer-contact { list-style: none; margin: 1.35rem 0 0; padding: 0; }
.footer-contact li { margin-bottom: .7rem; }
.footer-contact a {
    display: flex; align-items: flex-start; gap: .7rem;
    color: rgba(255,255,255,.6); font-size: .88rem; transition: color .2s; line-height: 1.4;
}
.footer-contact a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-family: var(--font-display); margin: 0 0 1rem; font-size: 1.05rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a {
    display: inline-block;
    color: rgba(255,255,255,.6); font-size: .9rem; transition: color .2s; line-height: 1.4;
}
.footer-col a:hover { color: #fff; }
.footer-ico {
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    display: grid; place-items: center;
    color: var(--gold);
    background: rgba(245,180,0,.1);
    border: 1px solid rgba(245,180,0,.2);
    margin-top: 1px;
}
.footer-ico svg { width: 14px; height: 14px; }
.footer-bottom {
    max-width: var(--max); margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: rgba(255,255,255,.45);
}
.endeavour-credit a { color: var(--gold); font-weight: 600; }

/* Light-section impact stats (readable on white) */
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.impact-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
}
.impact-card .impact-num {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1;
    color: var(--orange); margin: 0 0 .65rem;
}
.impact-card p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }

/* Dual photo strip */
.dual-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dual-photos figure {
    margin: 0; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 4/3; position: relative;
}
.dual-photos img { width: 100%; height: 100%; object-fit: cover; }
.dual-photos figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1rem 1.1rem; font-size: .85rem; color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
}

/* FAQ */
.faq-list { display: grid; gap: .85rem; max-width: 760px; }
.faq-item {
    background: rgba(255,255,255,.03); border: 1px solid var(--border-d);
    border-radius: var(--radius); padding: 1.15rem 1.35rem;
}
.faq-item h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 .4rem; color: #fff; }
.faq-item p { margin: 0; color: rgba(255,255,255,.6); font-size: .95rem; }

/* Timeline / story */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.story-card {
    background: rgba(255,255,255,.03); border: 1px solid var(--border-d);
    border-radius: var(--radius-lg); padding: 1.75rem;
}
.story-card .year { color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .5rem; }
.story-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 .5rem; color: #fff; }
.story-card p { margin: 0; color: rgba(255,255,255,.6); font-size: .95rem; }

/* Corner preview band */
.corner-preview {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center;
}
.corner-preview-visual {
    border-radius: var(--radius-lg); padding: 2rem;
    background: linear-gradient(145deg, rgba(243,108,26,.2), rgba(59,163,224,.12));
    border: 1px solid rgba(243,108,26,.3);
}
.corner-preview-visual ul { margin: 1rem 0 0; padding: 0; }
.corner-preview-visual li {
    color: rgba(255,255,255,.8); padding: .55rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08); font-size: .95rem;
}
.corner-preview-visual li:last-child { border-bottom: 0; }

/* Mobile bar removed — hamburger nav only */

/* Toast */
.toast-stack { position: fixed; top: calc(var(--header-h) + .75rem); right: 1rem; z-index: 200; display: flex; flex-direction: column; gap: .5rem; }
.toast { padding: .85rem 1.2rem; border-radius: 12px; color: #fff; font-size: .88rem; box-shadow: var(--shadow); animation: toastIn .35s var(--ease); max-width: 300px; }
.toast-success { background: #2e7d32; }
.toast-error { background: #c62828; }
.toast-info { background: var(--navy-3); }
@keyframes toastIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.94); display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 80vh; max-width: 90vw; border-radius: var(--radius); }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 2rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
#lightboxCaption { position: absolute; bottom: 2rem; color: rgba(255,255,255,.8); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.empty-state { text-align: center; padding: 4rem 2rem; color: rgba(255,255,255,.6); }
.empty-state h3 { font-family: var(--font-display); color: #fff; }

/* Placement drives */
.placement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.25rem;
}
.placement-card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border-d);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.placement-card:hover {
    transform: translateY(-4px);
    border-color: rgba(243,108,26,.45);
    background: rgba(255,255,255,.05);
}
.placement-card.is-featured { border-color: rgba(245,180,0,.35); }
.placement-card-top { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.placement-company-mark {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff;
    background: linear-gradient(135deg, var(--sky), var(--orange));
    flex-shrink: 0;
}
.placement-company-mark.lg { width: 64px; height: 64px; font-size: 1.5rem; border-radius: 18px; }
.placement-company { margin: 0; color: rgba(255,255,255,.7); font-size: .88rem; font-weight: 600; }
.placement-featured {
    display: inline-block; margin-top: .25rem;
    font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--gold);
}
.placement-card h3 {
    font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 .55rem;
    color: #fff; letter-spacing: -0.02em; line-height: 1.25;
}
.placement-excerpt { margin: 0 0 1rem; color: rgba(255,255,255,.58); font-size: .92rem; line-height: 1.5; }
.placement-meta-row {
    display: flex; flex-wrap: wrap; gap: .45rem .85rem;
    font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: .65rem;
}
.placement-branches {
    margin: 0; font-size: .8rem; color: var(--sky); font-weight: 600;
}
.placement-prep-band {
    margin-top: 2.75rem; padding: 1.5rem 1.75rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, rgba(59,163,224,.12), rgba(243,108,26,.1));
    border: 1px solid rgba(59,163,224,.25);
}
.placement-prep-band h3 { font-family: var(--font-display); margin: 0 0 .35rem; color: #fff; }
.placement-prep-band p { margin: 0; color: rgba(255,255,255,.6); font-size: .92rem; }

.placement-detail {
    max-width: 760px; margin: 0 auto;
    padding: calc(var(--header-h) + 3rem) 1.5rem 5rem;
}
.placement-back {
    display: inline-block; margin-bottom: 1.5rem;
    color: rgba(255,255,255,.55); font-size: .9rem; font-weight: 500;
}
.placement-back:hover { color: var(--gold); }
.placement-detail-hero {
    display: flex; align-items: center; gap: 1.15rem; margin-bottom: 1.75rem;
}
.placement-detail-hero h1 {
    font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 800; letter-spacing: -0.03em; color: #fff; margin: 0; line-height: 1.15;
}
.placement-detail-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .85rem; margin-bottom: 2rem;
}
.placement-detail-stats > div {
    background: rgba(255,255,255,.04); border: 1px solid var(--border-d);
    border-radius: var(--radius); padding: 1rem 1.1rem;
}
.placement-detail-stats span {
    display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: .35rem;
}
.placement-detail-stats strong { color: #fff; font-size: .95rem; font-weight: 600; }
.placement-detail-body h3 {
    font-family: var(--font-display); font-size: 1.1rem; color: #fff; margin: 1.5rem 0 .5rem;
}
.placement-detail-body p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.6; }
.placement-detail-actions {
    display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem;
}

/* Open Day microsite */
.openday-hero {
    position: relative; min-height: 88vh;
    display: flex; align-items: center; overflow: hidden;
    padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
}
.openday-hero-inner {
    position: relative; z-index: 2;
    max-width: 720px; margin: 0 auto; text-align: center;
}
.openday-hero-inner .hero-brand-mark {
    width: min(110px, 28vw); margin: 0 auto 1.25rem;
    filter: drop-shadow(0 0 40px rgba(243,108,26,.45));
}
.openday-hero-inner h1 {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2.1rem, 5.5vw, 3.4rem); letter-spacing: -0.035em;
    color: #fff; margin: 0 0 1rem; line-height: 1.08;
}
.openday-hero-inner .hero-tagline {
    color: rgba(255,255,255,.68); font-size: 1.08rem; max-width: 48ch;
    margin: 0 auto 1.5rem; line-height: 1.55;
}
.openday-hero-inner .hero-ctas { justify-content: center; }
.openday-meta-pills {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem;
    margin-bottom: 1.75rem;
}
.openday-meta-pills span {
    padding: .45rem 1rem; border-radius: 999px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.85); font-size: .88rem; font-weight: 600;
}

.openday-timeline { display: grid; gap: 0; max-width: 720px; }
.openday-slot {
    display: grid; grid-template-columns: 110px 1fr; gap: 1.25rem;
    padding: 1.35rem 0; border-bottom: 1px solid var(--border-d);
    position: relative;
}
.openday-slot:last-child { border-bottom: 0; }
.openday-time {
    font-family: var(--font-display); font-weight: 700; font-size: .95rem;
    color: var(--gold); padding-top: .15rem;
}
.openday-slot-body h3 {
    font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 .4rem; color: #fff;
}
.openday-slot-body p { margin: 0; color: rgba(255,255,255,.6); font-size: .95rem; }

.openday-perks {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
}
.openday-perk {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.5rem 1.35rem;
}
.openday-perk h3 {
    font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 .45rem; color: var(--ink);
}
.openday-perk p { margin: 0; color: var(--muted); font-size: .94rem; }

@media (max-width: 1024px) {
    .openday-perks { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .placement-detail { padding: calc(var(--header-h) + 1.5rem) 1rem 5rem; }
    .placement-detail-actions { flex-direction: column; }
    .placement-detail-actions .btn { width: 100%; }
    .openday-hero { min-height: auto; padding-bottom: 2.5rem; }
    .openday-hero-inner { padding-left: 1rem; padding-right: 1rem; }
    .openday-slot { grid-template-columns: 1fr; gap: .35rem; }
    .openday-time { font-size: .85rem; }
    .placement-prep-band { flex-direction: column; align-items: flex-start; }
    .placement-prep-band .btn { width: 100%; }
}

@media (max-width: 1180px) {
    .main-nav { gap: 0; }
    .nav-link { padding: .45rem .65rem; font-size: .84rem; }
}

@media (max-width: 1024px) {
    .section { padding: 4rem 1.25rem; }
    .type-tiles { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-card, .col-3, .col-2, .col-4 { grid-column: span 1; }
    .contact-grid { grid-template-columns: 1fr; }
    .student-grid { grid-template-columns: 1fr; }
    .student-sidebar { position: static; }
    .gallery-masonry { columns: 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stats-strip { padding: 3rem 1.25rem; }
    .impact-grid { grid-template-columns: 1fr 1fr; }
    .dual-photos { grid-template-columns: 1fr 1fr; }
    .placement-detail-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Collapse header nav on tablet / mobile */
@media (max-width: 980px) {
    .header-inner { padding: 0 1.15rem; gap: .75rem; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        background: rgba(6,13,26,.98); flex-direction: column; align-items: stretch;
        padding: 1rem 1rem 1.25rem;
        transform: translateY(-135%); transition: transform .35s var(--ease);
        border-bottom: 1px solid rgba(255,255,255,.08); z-index: 99;
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        gap: .15rem;
    }
    .main-nav.open { transform: translateY(0); }
    .nav-link { padding: .7rem 1rem; font-size: .95rem; border-radius: 12px; justify-content: space-between; }
    .header-actions { margin-left: auto; }
    .nav-toggle { display: flex; }
    .header-actions .btn-sm:not(.nav-toggle):not(#authBtn) { display: none; }
    .header-actions #authBtn { display: inline-flex; padding: .4rem .85rem; font-size: .8rem; }

    /* Accordion dropdowns inside mobile nav */
    .nav-dropdown { width: 100%; }
    .nav-dropdown-menu {
        position: static; left: auto; top: auto;
        transform: none !important; min-width: 0; width: 100%;
        margin: .15rem 0 .35rem; padding: .25rem 0 .25rem .5rem;
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.06);
        border-radius: 12px;
        box-shadow: none; backdrop-filter: none;
        opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
        display: none;
    }
    .nav-dropdown-menu::before { display: none; }
    .nav-dropdown.open > .nav-dropdown-menu { display: block; }
    .nav-dropdown-link { white-space: normal; padding: .6rem .85rem; }
}

@media (max-width: 768px) {
    :root {
        --header-h: calc(64px + env(safe-area-inset-top, 0px));
    }
    .header-inner { padding: 0 1rem; gap: .75rem; height: 64px; }
    .site-header {
        padding-top: env(safe-area-inset-top, 0px);
        height: var(--header-h);
    }
    .main-nav {
        max-height: calc(100dvh - var(--header-h));
    }
    .app-main { padding-bottom: 0; }
    .site-footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }

    .hero { min-height: auto; padding-bottom: 1rem; }
    .hero-inner { padding: calc(var(--header-h) + 1.25rem) 1rem 2rem; }
    .hero-brand-mark { width: min(110px, 36vw); }
    .hero h1 { max-width: 16ch; font-size: clamp(1.55rem, 7vw, 2.1rem); }
    .hero-tagline { font-size: .95rem; margin-bottom: 1.35rem; }
    .hero-ctas { width: 100%; flex-direction: column; align-items: stretch; gap: .65rem; }
    .hero-ctas .btn { width: 100%; }
    .hero-trust { gap: 1.25rem; width: 100%; justify-content: space-around; margin-top: 1.5rem; }
    .hero-scroll { display: none; }
    .marquee { padding: .75rem 0; }
    .marquee-track { gap: 1.75rem; }
    .marquee-track span { font-size: .88rem; gap: 1.75rem; }

    .section { padding: 3rem 1rem; }
    .section-head { margin-bottom: 1.5rem; }
    .section-head h2 { font-size: clamp(1.4rem, 6vw, 1.85rem); }
    .section-head p { font-size: .92rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
    .stat-card { padding: 1.25rem 1rem; }
    .stat-num { font-size: clamp(1.75rem, 8vw, 2.25rem); }

    .bento { grid-template-columns: 1fr; gap: .85rem; }
    .bento-card { padding: 1.35rem; }
    .bento-card h3 { font-size: 1.2rem; }
    .type-tile { min-height: 180px; padding: 1.25rem; }
    .type-tile .type-num { font-size: 2rem; }
    .type-tile .btn { width: 100%; justify-content: center; }
    .events-grid { grid-template-columns: 1fr; gap: 1rem; }
    .gallery-masonry { columns: 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 1.35rem; }
    .auth-card { padding: 1.75rem 1.25rem; max-width: 100%; }
    .auth-page { padding-left: 1rem; padding-right: 1rem; }
    .student-layout { padding: calc(var(--header-h) + 1.25rem) 1rem 5rem; }
    .student-nav {
        display: flex; flex-wrap: nowrap; gap: .35rem;
        overflow-x: auto; -webkit-overflow-scrolling: touch;
        scrollbar-width: none; margin: .85rem -.15rem 0; padding-bottom: .25rem;
    }
    .student-nav::-webkit-scrollbar { display: none; }
    .student-nav a {
        flex: 0 0 auto; white-space: nowrap; margin-bottom: 0;
        padding: .55rem .85rem; background: rgba(255,255,255,.06);
    }
    .student-panel { padding: 1.15rem; overflow-x: auto; }
    .event-detail { padding: calc(var(--header-h) + 1.25rem) 1rem 5rem; }
    .event-detail-hero { height: 140px; }
    .event-detail-hero .event-card-initial { font-size: 3.25rem; }
    .event-actions { flex-direction: column; align-items: stretch; }
    .event-actions .btn { width: 100%; }
    .cta-band { padding: 2.75rem 1rem; }
    .cta-inner .hero-ctas { flex-direction: column; align-items: stretch; }
    .cta-inner .hero-ctas .btn { width: 100%; }
    .btn-lg { padding: .9rem 1.35rem; font-size: .95rem; }
    .impact-grid, .dual-photos, .story-grid, .corner-preview { grid-template-columns: 1fr; }
    .impact-card { padding: 1.5rem 1.25rem; }
    .dual-photos figure { aspect-ratio: 16/10; }
    .faq-item { padding: 1rem 1.15rem; }
    .countdown-lg .countdown-units { flex-wrap: wrap; }
    .countdown-lg .countdown-units span { min-width: 2.75rem; }
    .countdown-lg .countdown-units b { font-size: 1.15rem; }
    .results-page { padding: calc(var(--header-h) + 2rem) 1rem 5rem; }
    .result-card {
        grid-template-columns: auto 1fr;
        gap: .75rem 1rem;
        padding: 1.1rem 1.15rem;
    }
    .result-score { grid-column: 2; justify-self: start; font-size: 1.25rem; padding: .4rem .7rem; }
    .result-body h2 { font-size: 1.1rem; }
    .filter-bar { gap: .4rem; margin-bottom: 1.5rem; }
    .placement-grid { grid-template-columns: 1fr; }
    .placement-card { padding: 1.25rem; }
    .placement-detail-hero { flex-wrap: wrap; }
    .placement-detail-stats { grid-template-columns: 1fr 1fr; }
    .openday-hero-inner h1 { font-size: clamp(1.75rem, 8vw, 2.4rem); }
    .openday-hero-inner .hero-tagline { font-size: .98rem; }
    .openday-meta-pills { gap: .4rem; }
    .openday-meta-pills span { font-size: .8rem; padding: .4rem .85rem; }
    .openday-hero-inner .hero-ctas { flex-direction: column; align-items: stretch; }
    .openday-hero-inner .hero-ctas .btn { width: 100%; }
    .toast-stack { left: 1rem; right: 1rem; max-width: none; }
    .toast { max-width: none; }
    .lightbox { padding: 1rem; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.5rem; }
    .lightbox-close { top: max(0.75rem, env(safe-area-inset-top, 0px)); }
    #lightboxCaption { bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); padding: 0 1rem; text-align: center; }
    .hub-article { padding: calc(var(--header-h) + 2rem) 1rem 4rem; }
    .hub-card-body { padding: 1.1rem; }
    .hub-actions .btn { flex: 1 1 auto; justify-content: center; }
    .digest-hero { padding: 1.25rem; }
    .playlist-card { padding: 1.15rem; }
    .playlist-embed { aspect-ratio: 16 / 10; }
    .eng-overview-card, .onboard-banner { flex-direction: column; align-items: stretch; }
    .eng-overview-card .btn, .onboard-banner .btn { width: 100%; }
    .eng-list-row { align-items: flex-start; }
    .referral-box { flex-direction: column; align-items: stretch; }
    .referral-box .btn { width: 100%; }
    .referral-box code { word-break: break-all; font-size: 1rem; }
    .public-profile-head { gap: 1rem; }
}

@media (max-width: 480px) {
    .brand-word { display: none; }
    .brand-logo { height: 34px; }
    .hero-trust {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: .35rem .5rem;
        justify-content: space-between;
        font-size: .62rem;
        letter-spacing: .02em;
    }
    .hero-trust > div { flex: 1 1 0; min-width: 0; text-align: center; }
    .hero-trust b { font-size: .88rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: .65rem; }
    .stat-card { padding: 1rem .85rem; }
    .filter-bar { gap: .35rem; }
    .filter-btn { padding: .4rem .75rem; font-size: .78rem; }
    .placement-detail-stats { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr; }
    .dir-filters { grid-template-columns: 1fr; }
    .result-card { grid-template-columns: 1fr; text-align: left; }
    .result-rank { text-align: left; min-width: 0; }
    .result-score { grid-column: 1; }
    .countdown-units span { min-width: 2.15rem; padding: .3rem .28rem; }
    .empty-state { padding: 2.5rem 1rem; }
    .step-card { padding: 1.35rem; }
    .corner-preview-visual { padding: 1.35rem; }
    .btn { white-space: normal; line-height: 1.25; padding-left: 1.25rem; padding-right: 1.25rem; }
    .hub-article-body, .event-detail-body, .placement-detail-body p { overflow-wrap: anywhere; }
}

/* ─── Content Hub ─── */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1.25rem; }
.hub-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.hub-card-media {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: var(--navy-3);
}
.hub-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.hub-card-body h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0; line-height: 1.25; }
.hub-card-body h3 a { color: inherit; text-decoration: none; }
.hub-card-body h3 a:hover { color: var(--gold); }
.hub-meta { color: rgba(255,255,255,.5); font-size: .85rem; margin: 0; }
.hub-list { display: grid; gap: 1rem; }
.hub-list-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
}
.hub-list-item h3 { margin: 0 0 .35rem; font-family: var(--font-display); font-size: 1.1rem; }
.hub-ep-num {
    width: 64px; height: 64px; border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(243,108,26,.35), rgba(59,163,224,.25));
    font-weight: 700; font-size: .85rem; text-align: center;
}
.hub-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.hub-back {
    display: inline-block; margin-bottom: 1rem;
    color: rgba(255,255,255,.55); text-decoration: none; font-size: .9rem;
}
.hub-back:hover { color: var(--gold); }
.hub-article {
    max-width: 760px; margin: 0 auto;
    padding: calc(var(--header-h) + 3rem) 1.25rem 4rem;
}
.hub-article h1 {
    font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: .5rem 0 1rem; line-height: 1.15;
}
.hub-article-cover {
    width: 100%; max-height: 360px; object-fit: cover;
    border-radius: 16px; margin: 1.5rem 0;
}
.hub-article-body { color: rgba(255,255,255,.78); line-height: 1.7; font-size: 1.05rem; }
.digest-hero {
    padding: 1.75rem; border-radius: 18px;
    background: linear-gradient(145deg, rgba(59,163,224,.12), rgba(243,108,26,.08));
    border: 1px solid rgba(255,255,255,.1);
}
.digest-summary { font-size: 1.05rem; color: rgba(255,255,255,.75); }
.digest-highlights { margin: 1rem 0 1.25rem; padding-left: 1.2rem; color: var(--gold); }
.meme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.meme-card {
    margin: 0; border-radius: 14px; overflow: hidden;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.meme-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.meme-card figcaption { padding: .9rem 1rem 1.1rem; font-size: .9rem; color: rgba(255,255,255,.75); }
.playlist-grid { display: grid; gap: 1.5rem; }
.playlist-card {
    padding: 1.5rem; border-radius: 16px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.playlist-platform { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--gold); margin-bottom: .5rem; }
.playlist-embed { margin: 1rem 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.playlist-embed iframe { width: 100%; height: 100%; border: 0; }
.hof-year { margin-bottom: 2.5rem; }
.hof-year-label {
    font-family: var(--font-display); font-size: 1.75rem;
    margin: 0 0 1rem; color: var(--gold);
}
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 1rem 0 2rem; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(243,108,26,.5), rgba(59,163,224,.5), transparent);
    transform: translateX(-50%);
}
.timeline-item { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; align-items: start; }
.timeline-item.left .timeline-card { grid-column: 1; text-align: right; }
.timeline-item.left .timeline-year { grid-column: 2; }
.timeline-item.right .timeline-year { grid-column: 1; text-align: right; }
.timeline-item.right .timeline-card { grid-column: 2; }
.timeline-year {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
    color: var(--gold); padding-top: .35rem;
}
.timeline-card {
    padding: 1.15rem 1.25rem; border-radius: 14px;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.timeline-card h3 { margin: 0 0 .4rem; font-family: var(--font-display); font-size: 1.05rem; }
.explore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 1rem; }
.explore-card {
    padding: 1.35rem; border-radius: 14px; text-decoration: none; color: inherit;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.explore-card:hover {
    transform: translateY(-3px);
    border-color: rgba(243,108,26,.45);
    background: rgba(243,108,26,.08);
}
.explore-card h3 { margin: 0 0 .35rem; font-family: var(--font-display); font-size: 1.1rem; }
.explore-card p { margin: 0; color: rgba(255,255,255,.55); font-size: .9rem; }
.forum-topics { display: grid; gap: .85rem; }
.forum-topic-card {
    display: block; padding: 1.25rem 1.35rem; border-radius: 14px;
    text-decoration: none; color: inherit;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.forum-topic-card:hover { border-color: rgba(59,163,224,.45); }
.forum-topic-card h3 { margin: 0 0 .4rem; font-family: var(--font-display); }
.forum-posts { margin-top: 2rem; display: grid; gap: 1rem; }
.forum-post {
    padding: 1rem 1.15rem; border-radius: 12px;
    background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
}
.contest-entry figcaption { display: grid; gap: .45rem; }
.hub-submit.form-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }

@media (max-width: 768px) {
    .timeline::before { left: 12px; }
    .timeline-item, .timeline-item.left, .timeline-item.right {
        grid-template-columns: 28px 1fr; gap: 1rem;
    }
    .timeline-item.left .timeline-year,
    .timeline-item.right .timeline-year { grid-column: 1; text-align: left; font-size: 1rem; padding-top: .5rem; }
    .timeline-item.left .timeline-card,
    .timeline-item.right .timeline-card { grid-column: 2; text-align: left; }
    .hub-list-item { grid-template-columns: 1fr; gap: .85rem; }
    .hub-ep-num { width: 48px; height: 48px; }
    .hub-grid, .meme-grid, .explore-grid { grid-template-columns: 1fr; }
    .forum-topic-card { padding: 1.1rem; }
    .contest-entry figcaption .hub-actions { flex-direction: column; }
    .contest-entry figcaption .hub-actions .btn { width: 100%; }
}


/* ── Student engagement (wishlist, calendar, directory, profiles, points) ── */
.event-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .5rem; }
.eng-stat-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.eng-stat {
    background: rgba(255,255,255,.04); border: 1px solid var(--border);
    border-radius: 12px; padding: .65rem 1rem; min-width: 88px;
}
.eng-stat b { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--gold, #d4a017); }
.eng-stat span { font-size: .75rem; color: var(--muted); }
.eng-overview-card, .onboard-banner {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
    padding: 1rem 1.15rem; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(59,163,224,.08), rgba(243,108,26,.06));
}
.eng-list-row {
    display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap;
    padding: .9rem 0; border-bottom: 1px solid var(--border);
}
.year-hero { padding: 1rem 0 .25rem; }
.onboard-progress { height: 8px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; margin-bottom: .75rem; }
.onboard-progress > div { height: 100%; background: linear-gradient(90deg, var(--sky, #3BA3E0), var(--orange, #F36C1A)); border-radius: 99px; }
.onboard-list { display: flex; flex-direction: column; gap: .65rem; }
.onboard-step {
    display: flex; gap: .85rem; align-items: flex-start; padding: .85rem 1rem;
    border: 1px solid var(--border); border-radius: 12px;
}
.onboard-step.done { opacity: .75; border-color: rgba(105,240,174,.35); }
.onboard-check { font-size: 1.1rem; width: 1.5rem; text-align: center; color: var(--gold, #d4a017); }
.onboard-step p { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }
.referral-box {
    display: flex; flex-wrap: wrap; gap: .65rem; align-items: center;
    padding: 1rem; border-radius: 12px; border: 1px dashed var(--border); margin: 1rem 0;
}
.referral-box code { font-size: 1.15rem; letter-spacing: .08em; color: var(--gold, #d4a017); }
.cert-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 1rem; }
.cert-card {
    position: relative; padding: 1.25rem 1rem 1rem; border-radius: 14px;
    border: 1px solid var(--border); background: rgba(255,255,255,.03);
}
.cert-seal {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem; border-radius: 50%; font-size: .7rem; font-weight: 800;
    background: var(--orange, #F36C1A); color: #fff; margin-bottom: .5rem;
}
.cert-card h4 { margin: 0 0 .35rem; font-family: var(--font-display); font-size: 1rem; }
.cert-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.skill-picker { display: flex; flex-wrap: wrap; gap: .5rem; }
.skill-chip {
    display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .75rem;
    border-radius: 999px; border: 1px solid var(--border); font-size: .85rem; cursor: pointer;
}
.skill-chip:has(input:checked) { border-color: var(--sky, #3BA3E0); background: rgba(59,163,224,.12); }
.skill-chip input { accent-color: var(--sky, #3BA3E0); }
.skill-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .65rem 0; }
.skill-tags span {
    font-size: .75rem; padding: .25rem .55rem; border-radius: 999px;
    background: rgba(59,163,224,.12); color: var(--sky, #3BA3E0);
}
.dir-filters {
    display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) auto; gap: .65rem;
    margin-bottom: 1.75rem; align-items: center;
}
.dir-filters input, .dir-filters select {
    width: 100%; padding: .65rem .85rem; border-radius: 10px;
    border: 1px solid var(--border); background: rgba(255,255,255,.04); color: inherit;
}
.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.member-card {
    padding: 1.25rem; border-radius: 16px; border: 1px solid var(--border);
    background: rgba(255,255,255,.03); display: flex; flex-direction: column; gap: .35rem;
}
.member-avatar {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
    background: linear-gradient(135deg, #3BA3E0, #F36C1A); color: #fff; margin-bottom: .35rem;
}
.member-avatar.lg { width: 72px; height: 72px; font-size: 1.75rem; border-radius: 18px; }
.member-card h3 { margin: 0; font-size: 1.05rem; font-family: var(--font-display); }
.member-meta, .member-pts, .member-private { color: var(--muted); font-size: .85rem; margin: 0; }
.member-headline { margin: 0; font-size: .9rem; }
.public-profile-head { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.public-profile h1 { margin: 0 0 .35rem; font-family: var(--font-display); }
.public-bio { max-width: 60ch; color: rgba(255,255,255,.75); line-height: 1.6; }
.eng-checks { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: .5rem; }
.eng-checks .chk { font-size: .85rem; color: var(--muted); display: inline-flex; gap: .35rem; align-items: center; }
.eng-hr { border: 0; border-top: 1px solid var(--border); margin: 1.5rem 0; }
@media (max-width: 768px) {
    .dir-filters { grid-template-columns: 1fr 1fr; }
    .dir-filters button { grid-column: 1 / -1; width: 100%; }
    .members-grid, .cert-wall { grid-template-columns: 1fr; }
    .eng-stat-row { gap: .55rem; }
    .eng-stat { flex: 1 1 calc(50% - .55rem); min-width: 0; }
}
