/* WI Alumni — public website styles (from the approved Claude Design). */
:root {
  --navy: #0B1C33;
  --navy-2: #1F2D44;
  --navy-deep: #07152A;
  --gold: #F2B705;
  --gold-hover: #E0A800;
  --gold-text: #8A6700;   /* gold for text on light backgrounds (WCAG AA 4.5:1+) */
  --gold-soft: #FEF3C7;
  --ink: #111827;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --bg-alt: #F5F7FA;
  --radius: 4px;
  --shadow-hover: 0 14px 34px rgba(11,28,51,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: #fff; color: var(--ink); font-family: 'Manrope', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
input, select, textarea, button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Reveal on scroll (site.js adds .is-visible) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.anim-1 { animation: fadeUp .7s ease both; }
.anim-2 { animation: fadeUp .7s ease .1s both; }
.anim-3 { animation: fadeUp .7s ease .2s both; }
.anim-4 { animation: fadeUp .7s ease .3s both; }
.anim-5 { animation: fadeUp .7s ease .45s both; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 12px; font-weight: 500; }
.topbar .container { padding-top: 9px; padding-bottom: 9px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-group { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 7px; }
.topbar-social { display: flex; gap: 12px; align-items: center; font-weight: 800; font-size: 12px; }
.topbar-social a { min-width: 16px; text-align: center; display: inline-flex; justify-content: center; }

/* ---------- Navigation ---------- */
.site-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 20; transition: box-shadow .3s ease; }
.site-nav.is-scrolled { box-shadow: 0 6px 24px rgba(11,28,51,.08); }
.site-nav .container { padding-top: 14px; padding-bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logos { display: flex; align-items: center; gap: 10px; }
.brand-logos img { width: auto; display: block; }
.brand-logos .coat { height: 40px; }
.brand-logos .wi { height: 42px; }
.brand-divider { width: 1px; height: 36px; background: var(--gray-200); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: .5px; color: var(--navy); }
.brand-tag { font-size: 9px; font-weight: 700; letter-spacing: 2.4px; color: var(--gray-700); margin-top: 3px; }
.brand:hover .brand-name { color: var(--navy); }

.nav-desktop { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: flex-end; }
.nav-links { display: flex; gap: 16px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .3px; color: var(--navy); white-space: nowrap; }
.nav-links a { padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav-links a.is-active { border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--gray-200); border-radius: var(--radius); width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; border-top: 1px solid var(--gray-200); background: #fff; padding: 12px 24px 20px; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; letter-spacing: .6px; color: var(--navy); animation: fadeUp .3s ease both; }
.nav-mobile a { padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.nav-mobile a.btn { border-bottom: 0; margin-top: 10px; justify-content: center; }
.nav-open .nav-mobile { display: flex; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .6px; padding: 13px 20px; border-radius: var(--radius); border: 0; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, gap .2s; text-transform: uppercase; }
.btn .arrow { font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hover); color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid #fff; padding: 12px 20px; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline-gold { background: transparent; color: var(--navy); border: 1.5px solid var(--gold); padding: 10px 24px; }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .4px; color: var(--navy); padding-bottom: 4px; border-bottom: 2px solid var(--gold); transition: gap .2s; }
.link-arrow:hover { gap: 14px; color: var(--navy); }

/* ---------- Sections ---------- */
.section { background: #fff; padding: 88px 24px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head > div { max-width: 620px; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--gold-text); font-size: 11px; font-weight: 800; letter-spacing: 1.4px; margin-bottom: 12px; text-transform: uppercase; }
.kicker::before { content: ""; width: 24px; height: 2px; background: var(--gold); }
.section-dark .kicker { color: var(--gold); }
.h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -.5px; color: var(--navy); text-wrap: pretty; }
.section-dark .h2 { color: #fff; }
.lead { margin: 14px 0 0; font-size: 15px; line-height: 1.7; color: var(--gray-600); text-wrap: pretty; }
.section-dark .lead { color: var(--gray-300); }
.card { border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; }
.card-hover { transition: all .25s ease; }
.card-hover:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); color: inherit; }
.empty-state { border: 1px dashed var(--gray-300); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--gray-500); font-size: 13px; background: #fff; }

/* ---------- Inner page banner ---------- */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,28,51,.95) 0%, rgba(11,28,51,.75) 55%, rgba(11,28,51,.45) 100%); }
.page-hero .crumbs { font-size: 11px; font-weight: 700; letter-spacing: .6px; color: var(--gray-300); margin-bottom: 18px; }
.page-hero .crumbs a:hover { color: var(--gold); }
.page-hero h1 { margin: 0 0 14px; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; font-weight: 700; letter-spacing: -.5px; max-width: 760px; text-wrap: pretty; }
.page-hero p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--gray-200); max-width: 600px; }
.page-hero .kicker { color: var(--gold); }

/* ---------- Home: hero ---------- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 560px); min-height: clamp(600px, calc(100vh - 120px), 820px); }
.hero-copy { padding: 96px 24px 120px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero-kicker { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 1px; margin-bottom: 16px; }
.hero h1 { margin: 0 0 22px; font-size: clamp(38px, 5vw, 64px); line-height: 1.1; font-weight: 700; letter-spacing: -.5px; text-wrap: pretty; }
.hero-text { margin: 0 0 32px; font-size: 16px; line-height: 1.7; color: var(--gray-200); max-width: 480px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; font-size: 11px; font-weight: 600; line-height: 1.4; }
.hero-badge { display: flex; align-items: center; gap: 10px; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: 46%; animation: fadeUp 1s ease .2s both; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; transition: opacity 1.2s ease; opacity: 0; animation: kenburns 9s ease-in-out infinite alternate; }
.hero-slide.is-active { opacity: 1; }
.hero-dots { position: absolute; right: 24px; bottom: 70px; display: flex; gap: 8px; z-index: 3; }
.dot { width: 8px; height: 8px; border-radius: 4px; border: none; cursor: pointer; background: rgba(255,255,255,.5); transition: all .3s; padding: 0; }
.dot.is-active { width: 28px; background: var(--gold); }
.dots-dark .dot { background: var(--gray-300); }
.dots-dark .dot.is-active { background: var(--gold); }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11,28,51,0) 30%); pointer-events: none; }

.select, .input-soft { width: 100%; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 12px; font-size: 13px; color: var(--navy); background: var(--gray-50); outline: none; }
.select:focus, .input-soft:focus { border-color: var(--gold); }

/* ---------- Marquee ---------- */
.marquee-band { background: #fff; border-bottom: 1px solid var(--gray-200); padding: 40px 0 28px; overflow: hidden; }
.marquee-band .container { display: flex; align-items: center; gap: 24px; }
.marquee-label { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; color: var(--gray-500); white-space: nowrap; flex-shrink: 0; }
.marquee-viewport { flex: 1; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-size: 15px; font-weight: 800; letter-spacing: .4px; color: var(--navy); white-space: nowrap; opacity: .75; }
.marquee-track img { height: 34px; width: auto; opacity: .8; filter: grayscale(1); }

/* ---------- Offer cards ---------- */
.offer { padding-top: 120px; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.offer-card { display: flex; flex-direction: column; padding: 28px 24px; text-align: left; color: inherit; }
.offer-card:hover { border-color: var(--gold); }
.icon-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--gold-soft); margin: 0 0 22px; display: flex; align-items: center; justify-content: center; color: var(--navy); }
.offer-card h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin: 0 0 10px; }
.offer-card p { font-size: 13px; line-height: 1.65; color: var(--gray-600); margin: 0; text-wrap: pretty; flex: 1; }
.offer-card .more { font-size: 11px; font-weight: 800; letter-spacing: .4px; color: var(--navy); margin-top: 20px; }

/* ---------- About ---------- */
.about { background: var(--bg-alt); }
.about-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.about-media { position: relative; min-height: 300px; }
.about-copy { padding: 80px 56px; }
.about-copy .h2 { margin-bottom: 18px; }
.about-copy p { margin: 0 0 36px; font-size: 15px; line-height: 1.75; color: var(--gray-700); max-width: 520px; text-wrap: pretty; }
.stats { display: flex; gap: 28px; flex-wrap: wrap; }
.stat { display: flex; align-items: center; gap: 12px; }
.stat-icon { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.stat-value { font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-label { font-size: 11px; color: var(--gray-700); font-weight: 600; margin-top: 4px; }

/* ---------- Events ---------- */
.next-event { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.next-event .label { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: 1.2px; margin-bottom: 6px; }
.next-event .title { font-size: 20px; font-weight: 800; }
.next-event .meta { font-size: 12px; color: var(--gray-300); margin-top: 4px; }
.countdown { display: flex; gap: 10px; }
.countdown div { text-align: center; background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 10px 14px; min-width: 64px; }
.countdown b { display: block; font-size: 24px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown div:last-child b { color: var(--gold); }
.countdown small { display: block; font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--gray-300); margin-top: 6px; }
.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.event-card { overflow: hidden; display: block; color: inherit; }
.event-card .media { height: 200px; position: relative; overflow: hidden; background: var(--gray-100); }
.date-badge { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: var(--radius); padding: 8px 10px; text-align: center; min-width: 52px; box-shadow: 0 6px 16px rgba(11,28,51,.18); }
.date-badge b { display: block; font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1; }
.date-badge small { display: block; font-size: 9px; font-weight: 800; letter-spacing: 1px; color: var(--gold-text); margin-top: 3px; }
.kind-badge { position: absolute; right: 14px; top: 14px; background: var(--navy); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .8px; padding: 5px 8px; border-radius: 3px; }
.event-card .body { padding: 18px 18px 20px; }
.event-card h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin: 0 0 8px; line-height: 1.35; }
.meta-line { font-size: 11px; color: var(--gray-500); display: flex; align-items: center; gap: 6px; }

/* ---------- Stories carousel ---------- */
.stories-viewport { overflow: hidden; margin: 0 -10px; }
.stories-track { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.story-slot { flex: 0 0 33.3333%; padding: 10px; }
.story { position: relative; height: 100%; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 10px rgba(11,28,51,.05); display: flex; flex-direction: column; }
.story p { margin: 0 0 24px; font-size: 14px; line-height: 1.75; color: var(--gray-700); text-wrap: pretty; flex: 1; }
.story-person { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--gray-100); padding-top: 18px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.story-person .name { font-size: 13px; font-weight: 800; color: var(--navy); }
.story-person .role { font-size: 11px; color: var(--gray-500); margin-top: 2px; }
.pill { font-size: 10px; font-weight: 800; color: var(--navy); background: var(--gold-soft); padding: 4px 8px; border-radius: 3px; white-space: nowrap; }
.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 20px; }
.round-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--gray-300); background: #fff; cursor: pointer; color: var(--navy); display: flex; align-items: center; justify-content: center; transition: all .2s; font-size: 18px; line-height: 1; }
.round-btn:hover { border-color: var(--gold); background: var(--gold); }

/* ---------- Jobs list ---------- */
.jobs-split { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.job-list { display: flex; flex-direction: column; gap: 10px; }
.job-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px 18px; flex-wrap: wrap; background: #fff; transition: border-color .2s; }
.job-row:hover { border-color: var(--gold); }
.job-row .t { font-size: 13px; font-weight: 800; color: var(--navy); }
.job-row .o { font-size: 11px; color: var(--gray-500); margin-top: 4px; }
.job-row .r { display: flex; align-items: center; gap: 14px; }
.type-tag { font-size: 10px; font-weight: 800; color: var(--gold); background: var(--gray-100); padding: 5px 9px; border-radius: 3px; text-transform: uppercase; }
.job-row .apply { font-size: 11px; font-weight: 800; color: var(--navy); letter-spacing: .4px; }

/* ---------- Gallery grid ---------- */
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); transition: transform .3s ease; background: var(--gray-100); }
.gallery-item:hover { transform: scale(1.03); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 48px 24px; }
.cta-band .section-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band .lhs { display: flex; align-items: center; gap: 18px; }
.cta-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; animation: floatY 3s ease-in-out infinite; color: var(--navy); flex-shrink: 0; }
.cta-band .t { font-size: 22px; font-weight: 800; }
.cta-band .s { font-size: 12px; color: var(--gray-300); margin-top: 4px; }

/* ---------- Lightbox ---------- */

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(11,28,51,.25); transition: opacity .3s ease, transform .3s ease; opacity: 0; transform: translateY(12px); pointer-events: none; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold-hover); color: var(--navy); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; min-width: 0; font-size: 11px; font-weight: 700; color: var(--gray-700); }
.input { width: 100%; min-width: 0; border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 12px 14px; font-size: 13px; outline: none; font-weight: 400; background: #fff; color: var(--ink); }
.input:focus { border-color: var(--gold); }
textarea.input { min-height: 110px; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; color: var(--gray-700); line-height: 1.5; cursor: pointer; font-weight: 500; }
.check input { accent-color: var(--navy); margin-top: 2px; }
.alert { border-radius: var(--radius); padding: 12px 14px; font-size: 12px; line-height: 1.5; margin-bottom: 16px; }
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-info { background: var(--gold-soft); color: #78350F; border: 1px solid #FDE68A; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--gray-300); font-size: 11px; }
.newsletter { border-bottom: 1px solid var(--navy-2); }
.newsletter .container { padding-top: 40px; padding-bottom: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.newsletter .t { color: #fff; font-size: 20px; font-weight: 800; }
.newsletter .s { font-size: 13px; color: var(--gray-400); margin-top: 4px; }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; max-width: 460px; }
.newsletter input { flex: 1; min-width: 200px; background: var(--navy); border: 1px solid var(--navy-2); border-radius: var(--radius); padding: 13px 14px; font-size: 13px; color: #fff; outline: none; }
.newsletter input:focus { border-color: var(--gold); }
.newsletter .done { font-size: 13px; color: #fff; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.newsletter .done span { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.footer-grid { padding-top: 44px; padding-bottom: 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logos { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 6px; padding: 6px 10px; }
.footer-logos .coat { height: 38px; width: auto; display: block; }
.footer-logos .wi { height: 40px; width: auto; display: block; }
.footer-logos .brand-divider { height: 30px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text b { font-size: 17px; font-weight: 800; letter-spacing: .5px; }
.footer-brand .brand-text small { font-size: 7px; font-weight: 700; letter-spacing: 2px; margin-top: 3px; }
.footer-about { margin: 0 0 18px; line-height: 1.7; max-width: 260px; text-wrap: pretty; }
.socials { display: flex; gap: 10px; }
.socials a { width: 24px; height: 24px; border-radius: 50%; background: var(--navy-2); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 11px; }
.socials a:hover { background: var(--gold); color: var(--navy); }
.footer-col h4 { color: #fff; font-weight: 800; letter-spacing: 1px; font-size: 10px; margin: 0 0 14px; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-contact { display: flex; flex-direction: column; gap: 9px; }
.footer-contact span { display: flex; gap: 8px; align-items: center; }
.footer-bottom { border-top: 1px solid var(--navy-2); }
.footer-bottom .container { padding-top: 14px; padding-bottom: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 10px; color: var(--gray-400); }

/* ---------- Auth (login / register) ---------- */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-nav { background: #fff; border-bottom: 1px solid var(--gray-200); }
.auth-nav .container { padding-top: 14px; padding-bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .6px; color: var(--navy); }
.auth-split { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: var(--navy); color: #fff; position: relative; overflow: hidden; min-height: 420px; }
.auth-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,28,51,.15) 0%, rgba(11,28,51,.9) 100%); }
.auth-side .copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 48px 56px; z-index: 2; }
.auth-side .k { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 1px; margin-bottom: 14px; }
.auth-side h1 { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; font-weight: 700; letter-spacing: -.5px; text-wrap: pretty; }
.auth-side p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--gray-200); max-width: 400px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 56px 24px; background: var(--bg-alt); }
.auth-card { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 30px rgba(11,28,51,.06); }
.tabs { display: flex; border-bottom: 1px solid var(--gray-200); margin-bottom: 24px; }
.tab { background: none; border: none; cursor: pointer; font-size: 11px; font-weight: 800; letter-spacing: .6px; padding: 10px 16px; color: var(--gray-500); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.is-active { color: var(--navy); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.auth-card h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--navy); }
.auth-card .sub { margin: 0 0 22px; font-size: 12px; color: var(--gray-500); line-height: 1.6; }
.link-btn { background: none; border: none; cursor: pointer; font-size: 12px; color: var(--navy); font-weight: 800; padding: 0; }
.auth-foot { background: var(--navy-deep); color: var(--gray-400); font-size: 10px; }
.auth-foot .container { padding-top: 14px; padding-bottom: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 64px 24px 96px; }
  .hero-media { position: relative; left: 0; height: 320px; }
  .hero-fade { background: linear-gradient(180deg, var(--navy) 0%, rgba(11,28,51,0) 30%); }
  .about-grid, .jobs-split, .auth-split { grid-template-columns: 1fr; }
  .about-copy { padding: 56px 24px; }
  .story-slot { flex-basis: 50%; }
  .auth-side { min-height: 280px; }
  .auth-side .copy { padding: 32px 24px; }
}
@media (max-width: 640px) {
  .topbar .topbar-group .topbar-item:nth-child(2) { display: none; }
  .brand-logos .coat { height: 32px; }
  .brand-logos .wi { height: 34px; }
  .brand-name { font-size: 18px; }
  .brand-tag { font-size: 7px; letter-spacing: 1.6px; }
  .section { padding: 64px 16px; }
  .offer { padding-top: 96px; }
  .story-slot { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid.two { grid-template-columns: 1fr; }
  .auth-card { padding: 24px 18px; }
  .countdown div { min-width: 54px; padding: 8px 10px; }
  .container { padding: 0 16px; }
}

/* ---------- Home: gallery (bento mosaic) ---------- */
.home-gallery { background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%); }
.hg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.hg-intro { max-width: 620px; }
.hg-intro .h2 { margin-bottom: 12px; }
.hg-intro p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--gray-600); }
.hg-side { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hg-stats { display: flex; gap: 26px; }
.hg-stats div { display: flex; flex-direction: column; }
.hg-stats b { font-size: 34px; line-height: 1; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.hg-stats span { margin-top: 6px; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-text); }
.hg-cta { white-space: nowrap; }

.hg-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.hg-tile { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: var(--navy); box-shadow: 0 10px 30px rgba(11,28,51,.10); isolation: isolate; }
.hg-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s; }
.hg-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,21,42,0) 45%, rgba(7,21,42,.82) 100%); opacity: .55; transition: opacity .4s; pointer-events: none; z-index: 1; }
.hg-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 22px 20px; color: #fff; display: flex; flex-direction: column; gap: 6px; transform: translateY(10px); opacity: 0; transition: all .45s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.hg-album { font-size: 10px; font-weight: 800; letter-spacing: 1.4px; color: var(--gold); }
.hg-cap { font-size: 15px; font-weight: 700; line-height: 1.35; text-wrap: balance; }
.hg-open { position: absolute; inset: 0; z-index: 3; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.hg-zoom { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.35); opacity: 0; transform: scale(.85); transition: all .35s; }
.hg-tile:hover img, .hg-tile:focus-within img { transform: scale(1.07); }
.hg-tile:hover::after, .hg-tile:focus-within::after { opacity: 1; }
.hg-tile:hover figcaption, .hg-tile:focus-within figcaption { transform: none; opacity: 1; }
.hg-tile:hover .hg-zoom, .hg-tile:focus-within .hg-zoom { opacity: 1; transform: none; }
.hg-open:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 16px; }
/* the large first photo always shows its caption, in a bigger size */
.hg-t1 { grid-column: span 2; grid-row: span 2; }
.hg-t1::after { opacity: 1; }
.hg-t1 figcaption { opacity: 1; transform: none; padding: 30px 32px 28px; }
.hg-t1 .hg-cap { font-size: clamp(20px, 2vw, 28px); font-weight: 800; letter-spacing: -.3px; }
.hg-t3 { grid-row: span 2; }
.hg-n6 .hg-t5, .hg-n6 .hg-t6 { grid-column: span 2; }
.hg-n5 .hg-t5 { grid-column: span 2; }
.hg-n4 .hg-t4 { grid-column: span 1; }

@media (max-width: 980px) {
  .hg-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .hg-n6 .hg-t5, .hg-n5 .hg-t5 { grid-column: span 1; }
  .hg-t3 { grid-row: span 1; }
  /* 2 columns: an odd photo left over at the end takes the whole row (no gap) */
  .hg-n6 .hg-t6, .hg-n4 .hg-t4, .hg-n2 .hg-t2 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .hg-head { margin-bottom: 24px; gap: 20px; }
  .hg-side { width: 100%; justify-content: space-between; }
  .hg-stats b { font-size: 28px; }
  .hg-bento { grid-auto-rows: 150px; gap: 10px; }
  .hg-tile { border-radius: 12px; }
  .hg-t1 figcaption { padding: 18px; }
  .hg-tile figcaption { opacity: 1; transform: none; padding: 14px; }
  .hg-tile::after { opacity: .9; }
  .hg-cap { font-size: 12px; }
  .hg-zoom { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hg-tile img, .hg-tile figcaption, .hg-zoom { transition: none; } }


/* ---------- Photo viewer (lightbox) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; display: none; grid-template-columns: 72px minmax(0, 1fr) 72px; grid-template-rows: auto minmax(0, 1fr) auto; align-items: center; background: rgba(4,12,26,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 14px 18px 18px; }
.lightbox.is-open { display: grid; animation: lbIn .3s ease both; }
.lb-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 12px; }
.lb-counter { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; color: rgba(255,255,255,.7); }
.lightbox .lb-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.lightbox .lb-close:hover { background: var(--gold); color: var(--navy); transform: rotate(90deg); }
.lb-stage { grid-column: 2; grid-row: 2; margin: 0; height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.lb-img { max-width: 100%; max-height: calc(100% - 64px); object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transition: opacity .35s ease, transform .35s ease; }
.lightbox.is-loading .lb-img { opacity: 0; transform: scale(.985); }
.lb-caption { text-align: center; color: #fff; display: flex; flex-direction: column; gap: 4px; max-width: 760px; }
.lb-album { font-size: 10px; font-weight: 800; letter-spacing: 1.6px; color: var(--gold); }
.lb-album:empty { display: none; }
.lb-text { font-size: 16px; font-weight: 700; line-height: 1.4; }
.lightbox .lb-prev, .lightbox .lb-next { grid-row: 2; justify-self: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: all .2s; }
.lightbox .lb-prev { grid-column: 1; }
.lightbox .lb-next { grid-column: 3; }
.lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.lb-thumbs { grid-column: 1 / -1; grid-row: 3; display: flex; gap: 8px; justify-content: center; overflow-x: auto; padding: 16px 4px 2px; scrollbar-width: none; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumb { flex: 0 0 auto; width: 72px; height: 50px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #000; cursor: pointer; opacity: .45; transition: all .2s; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb:hover { opacity: .85; }
.lb-thumb.is-active { opacity: 1; border-color: var(--gold); transform: translateY(-2px); }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-thumbs { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 0 minmax(0, 1fr) 0; padding: 10px 10px 14px; }
  .lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; width: 40px; height: 40px; font-size: 22px; background: rgba(4,12,26,.55); }
  .lightbox .lb-prev { left: 8px; }
  .lightbox .lb-next { right: 8px; }
  .lb-text { font-size: 13px; }
  .lb-thumb { width: 54px; height: 40px; }
}

/* Small centred pages (e.g. unsubscribe) */
.lead-muted { font-size: 15px; line-height: 1.7; color: var(--gray-600); margin: 14px auto 0; max-width: 560px; }

/* ---------- Event cards (bento, full-bleed photo) — site/inc/event_card.php ---------- */
.evx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 20px; }
.evx { position: relative; display: block; overflow: hidden; border-radius: 18px; background: var(--navy); color: #fff; isolation: isolate;
  box-shadow: 0 10px 30px rgba(11,28,51,.14); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; }
.evx:hover, .evx:focus-visible { color: #fff; transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11,28,51,.28); }
.evx--hero { grid-column: span 2; grid-row: span 2; }
.evx--wide { grid-column: span 2; }
.evx--full { grid-column: 1 / -1; }
.evx-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.evx:hover .evx-img { transform: scale(1.07); }
.evx-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(7,21,42,.5) 0%, rgba(7,21,42,0) 26%, rgba(7,21,42,.35) 42%, rgba(7,21,42,.88) 66%, rgba(7,21,42,.97) 100%); transition: opacity .4s; }
.evx--hero .evx-shade, .evx--full .evx-shade { background:
  linear-gradient(180deg, rgba(7,21,42,.45) 0%, rgba(7,21,42,0) 22%, rgba(7,21,42,.05) 48%, rgba(7,21,42,.8) 75%, rgba(7,21,42,.96) 100%); }
.evx-when, .evx h3, .evx-place { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.evx-top { position: absolute; left: 18px; right: 18px; top: 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.evx-date { background: rgba(255,255,255,.96); color: var(--navy); border-radius: 14px; padding: 9px 12px 8px; min-width: 58px; text-align: center; line-height: 1;
  box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.evx-date b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.evx-date small { display: block; margin-top: 4px; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; color: var(--gold-text); }
.evx-date i { display: block; margin-top: 3px; font-style: normal; font-size: 9px; font-weight: 700; color: var(--gray-500); }
.evx-kind { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; padding: 7px 12px; border-radius: 999px; color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.evx-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px; }
.evx-when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.82); }
.evx-when > span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.evx-pill { font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--navy); }
.evx-pill.is-past { background: rgba(255,255,255,.18); color: #fff; }
.evx h3 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -.2px; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.evx-sum { margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.8);
  transition: max-height .45s ease, opacity .35s ease, margin .45s ease; }
.evx:hover .evx-sum, .evx:focus-visible .evx-sum { max-height: 66px; opacity: 1; margin-top: 8px; }
.evx-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); }
.evx-place { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.86); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evx-place svg { flex: 0 0 auto; color: var(--gold); }
.evx-go { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 800;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; transition: background .3s, color .3s, transform .45s cubic-bezier(.2,.7,.2,1); }
.evx:hover .evx-go { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: rotate(-45deg); }
/* large cards: bigger type, the summary always shown */
.evx--hero .evx-body { padding: 30px 30px 26px; }
.evx--hero h3 { font-size: 30px; line-height: 1.15; letter-spacing: -.6px; }
.evx--hero .evx-sum, .evx--full .evx-sum { max-height: 72px; opacity: 1; margin-top: 10px; font-size: 15px; max-width: 560px; }
.evx--hero .evx-date { padding: 12px 15px 10px; min-width: 70px; }
.evx--hero .evx-date b { font-size: 32px; }
.evx--wide h3, .evx--full h3 { font-size: 22px; }
.evx--full { min-height: 320px; }
/* past events: calmer */
.evx.is-past .evx-img { filter: grayscale(.55) brightness(.92); }
.evx.is-past:hover .evx-img { filter: none; }
.evx-grid--past { grid-auto-rows: 250px; }
/* when a filter chip is active, every card is the same size */
.evx-grid.is-filtered .evx { grid-column: auto; grid-row: auto; }
.evx-grid.is-filtered .evx-sum { max-height: 0; opacity: 0; margin-top: 0; }
.evx-grid.is-filtered .evx h3 { font-size: 19px; }

/* Next-event banner with the event photo */
.evx-next { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; padding: 34px 38px; gap: 28px; margin-bottom: 32px;
  background: linear-gradient(105deg, #07152A 0%, #0B1C33 55%, #142a4d 100%); box-shadow: 0 18px 44px rgba(11,28,51,.22); }
.evx-next-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; opacity: .75; }
.evx-next::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7,21,42,.97) 0%, rgba(7,21,42,.88) 42%, rgba(7,21,42,.45) 100%); }
.evx-next-main { flex: 1 1 320px; min-width: 0; }
.evx-next .label { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 1.6px; }
.evx-live { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242,183,5,.7); animation: evx-pulse 1.8s infinite; }
@keyframes evx-pulse { 70% { box-shadow: 0 0 0 10px rgba(242,183,5,0); } 100% { box-shadow: 0 0 0 0 rgba(242,183,5,0); } }
.evx-next .title { font-size: 30px; line-height: 1.15; letter-spacing: -.5px; margin-top: 4px; }
.evx-next .title a { color: #fff; }
.evx-next .title a:hover { color: var(--gold); }
.evx-next .meta { display: flex; align-items: center; gap: 6px; font-size: 14px; margin-top: 10px; color: rgba(255,255,255,.78); }
.evx-next .meta svg { color: var(--gold); flex: 0 0 auto; }
.evx-next .countdown { gap: 12px; }
.evx-next .countdown div { min-width: 82px; padding: 14px 12px 12px; border-radius: 14px; background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.evx-next .countdown b { font-size: 34px; letter-spacing: -.5px; }
.evx-next .btn { border-radius: 999px; padding: 16px 28px; }

@media (max-width: 1100px) {
  .evx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evx--full { grid-column: 1 / -1; }
  .evx--hero { grid-column: 1 / -1; grid-row: span 2; }
  .evx--wide { grid-column: span 1; }
  /* two columns: a lone last card takes the whole row (the large card already fills its own row) */
  .evx-grid:not(:has(> .evx--hero)) > .evx:last-child:nth-child(odd),
  .evx-grid:has(> .evx--hero) > .evx:last-child:nth-child(even) { grid-column: 1 / -1; }
  .evx-grid.is-filtered > .evx:last-child { grid-column: auto; }
}
@media (max-width: 640px) {
  .evx-grid, .evx-grid--past { grid-template-columns: 1fr; grid-auto-rows: 320px; gap: 16px; }
  .evx--hero, .evx--wide, .evx--full { grid-column: auto; grid-row: span 1; }
  .evx--hero h3 { font-size: 23px; }
  .evx--hero .evx-body { padding: 22px; }
  .evx-next { padding: 24px 20px; border-radius: 16px; }
  .evx-next .title { font-size: 23px; }
  .evx-next .countdown { width: 100%; justify-content: space-between; gap: 8px; }
  .evx-next .countdown div { min-width: 0; flex: 1; padding: 10px 6px; }
  .evx-next .countdown b { font-size: 24px; }
  .evx-next .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .evx, .evx-img, .evx-go, .evx-sum { transition: none; }
  .evx-live { animation: none; }
}
/* small (1×1) cards: the date is already on the badge, keep only the "In 3 weeks" pill */
.evx:not(.evx--hero):not(.evx--wide):not(.evx--full) .evx-when > span:last-child,
.evx-grid.is-filtered .evx .evx-when > span:last-child { display: none; }
.evx.is-past .evx-pill { display: none; }
.evx.is-past .evx-when:not(:has(> span:last-child:not(:empty))) { margin: 0; }
.evx-grid--past { grid-auto-rows: 290px; }
.evx-grid--past .evx:not(.evx--wide):not(.evx--full) .evx-when { display: none; }
@media (max-width: 640px) {
  /* phones: each card grows with its text, the date badge never overlaps it */
  .evx-grid, .evx-grid--past { grid-auto-rows: auto; }
  .evx { display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; }
  .evx--hero { min-height: 430px; }
  .evx-body { position: relative; padding-top: 104px; }
  .evx--hero .evx-body { padding-top: 120px; }
  .evx--hero .evx-sum { max-height: 92px; }
}

/* ---------- Where our alumni are today (live tracer-study figures) ---------- */
.ao-lead { margin: 12px 0 0; max-width: 640px; font-size: 15px; line-height: 1.7; color: var(--gray-600); }
.ao-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 22px; align-items: stretch; }
.ao-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ao-kpi { background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; padding: 24px 22px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px;
  box-shadow: 0 10px 28px rgba(11,28,51,.06); transition: transform .35s ease, box-shadow .35s ease; }
.ao-kpi:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11,28,51,.12); }
.ao-kpi b { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -1.5px; color: var(--navy); }
.ao-kpi span { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--navy); }
.ao-kpi small { margin-top: 4px; font-size: 12.5px; color: var(--gray-500); }
.ao-kpi.is-main { background: var(--navy); border-color: transparent; }
.ao-kpi.is-main b { color: var(--gold); font-size: 56px; }
.ao-kpi.is-main span { color: #fff; }
.ao-kpi.is-main small { color: rgba(255,255,255,.7); }
.ao-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; padding: 28px; box-shadow: 0 10px 28px rgba(11,28,51,.06); }
.ao-card h3 { margin: 0 0 16px; font-size: 18px; font-weight: 800; color: var(--navy); }
.ao-card h4 { margin: 24px 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--gray-500); }
.ao-stack { display: flex; height: 18px; border-radius: 999px; overflow: hidden; background: var(--gray-100); gap: 3px; }
.ao-stack i { display: block; height: 100%; }
.ao-stack i:first-child { border-radius: 999px 0 0 999px; }
.ao-stack i:last-child { border-radius: 0 999px 999px 0; }
.is-water { background: #0B1C33; } .is-other { background: #3B6EA8; } .is-experience { background: #F2B705; } .is-looking { background: #CBD5E1; }
.ao-legend { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ao-legend li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-700); }
.ao-legend .dot { width: 12px; height: 12px; border-radius: 4px; flex: 0 0 12px; }
.ao-legend b { margin-left: auto; font-size: 15px; color: var(--navy); }
.ao-legend em { font-style: normal; width: 44px; text-align: right; font-size: 13px; font-weight: 700; color: var(--gray-500); }
.ao-prog { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ao-prog li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 42px; gap: 12px; align-items: center; font-size: 13px; color: var(--gray-700); }
.ao-prog li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ao-bar { height: 8px; border-radius: 999px; background: var(--gray-100); overflow: hidden; }
.ao-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0B1C33, #3B6EA8); }
.ao-prog b { text-align: right; color: var(--navy); }
.ao-orgs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.ao-orgs > span { font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--gray-500); margin-right: 4px; }
.ao-orgs em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--gray-200); border-radius: 999px; padding: 7px 14px; }
.ao-orgs small { color: var(--gold-text); }
.ao-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.ao-cta-item { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 26px 28px; border-radius: 18px; background: var(--navy); color: #fff; }
.ao-cta-item b { font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.ao-cta-item span { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.75); margin-bottom: 10px; }
.ao-cta-item.is-light { background: #fff; border: 1px solid var(--gray-200); color: var(--navy); }
.ao-cta-item.is-light span { color: var(--gray-600); }
.ao-cta-item .btn { border-radius: 999px; }
@media (max-width: 1000px) { .ao-grid, .ao-cta { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .ao-kpis { gap: 10px; }
  .ao-kpi { padding: 18px 16px; min-height: 140px; border-radius: 14px; }
  .ao-kpi b { font-size: 34px; } .ao-kpi.is-main b { font-size: 40px; }
  .ao-card { padding: 20px; }
  .ao-prog li { grid-template-columns: 1fr 42px; } .ao-prog .ao-bar { grid-column: 1 / -1; grid-row: 2; }
  .ao-cta-item { padding: 22px 20px; }
}

/* Visitor count in the footer bar */
.visit-count { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.visit-count b { color: var(--gold); font-weight: 800; }

/* Employer registration: verification documents */
.er-docs { border: 1px dashed var(--gray-300); border-radius: 10px; padding: 14px 16px 6px; margin: 4px 0 0; }
.er-docs legend { width: auto; padding: 0 6px; font-size: 12px; font-weight: 800; color: var(--navy); letter-spacing: .3px; }
.er-docs-note { margin: 0 0 10px; font-size: 12px; font-weight: 500; color: var(--gray-500); line-height: 1.5; }
.er-doc { display: grid; gap: 6px; margin: 0 0 12px; font-size: 12px; font-weight: 700; color: var(--gray-700); }
.er-doc small { font-weight: 500; color: var(--gray-500); }
.er-req { color: #B91C1C; }
.er-doc input[type=file] { font-size: 12.5px; padding: 8px; border: 1px solid var(--gray-200); border-radius: 8px; background: var(--gray-50); max-width: 100%; }

/* Track my requests (track.php) */
.tr-wrap { max-width: 820px; }
.tr-ask { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; }
.tr-ask .input { flex: 1 1 280px; }
.tr-small { font-size: 13px; color: var(--gray-500); }
.tr-account { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between; margin: 18px 0; padding: 16px 18px; border-radius: 14px; background: #FFFBEB; border: 1px solid #FDE68A; font-size: 14px; }
.tr-list { display: grid; gap: 14px; margin-top: 18px; }
.tr-item { background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; padding: 20px 22px; box-shadow: 0 8px 22px rgba(11,28,51,.05); }
.tr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tr-kind { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--gold-text); }
.tr-item h3 { margin: 4px 0 0; font-size: 17px; color: var(--navy); }
.tr-pill { flex: 0 0 auto; font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: #E0E7FF; color: #3730A3; }
.tr-pill.is-new { background: #FEF3C7; color: #92400E; }
.tr-pill.is-done { background: #DCFCE7; color: #15803D; }
.tr-pill.is-off { background: #F3F4F6; color: #6B7280; }
.tr-msg { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--gray-600); }
.tr-reply { margin-top: 12px; padding: 12px 14px; border-left: 4px solid var(--gold); background: var(--gray-50); border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.6; }
.tr-reply b { display: block; font-size: 12px; color: var(--navy); margin-bottom: 4px; }
.tr-next { margin-top: 14px; }
.tr-actions { margin-top: 12px; }
.tr-actions summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--navy); }
.tr-actions form { display: grid; gap: 8px; margin-top: 8px; }
.tr-withdraw { margin-top: 6px; }
.tr-link { background: none; border: 0; padding: 0; font-size: 12.5px; color: var(--gray-500); text-decoration: underline; cursor: pointer; }

/* "← Back to home" (login, registration): readable on hover — gold text is too light on white */
.back-link:hover, .back-link:focus { color: var(--gold-text); }

/* Contrast review (Nov 2026): bright gold (#F2B705) is only readable on dark backgrounds.
   On the light page body, link hovers use the darker text gold; the top menu hover keeps navy
   text with a gold underline. Dark sections keep their own gold hover rules (more specific). */
main a:hover { color: var(--gold-text); }
.nav-links a:hover, .nav-links a:focus { color: var(--navy); border-bottom-color: var(--gold); }
.ao-cta-item .btn span { color: inherit; margin: 0; font-size: 14px; }
