/* ============================================================
   UETians Alumni Chapter UK — Design System
   Navy + Gold brand. Shared across all pages.
   ============================================================ */

:root {
  --navy-900: #07142e;
  --navy-800: #0a1f44;
  --navy-700: #0e2a5c;
  --navy-600: #143a7a;
  --gold-500: #f0b429;
  --gold-400: #f6c453;
  --gold-300: #ffd97a;
  --gold-deep: #d4a017;
  --ink: #0a1226;
  --paper: #f6f8fc;
  --paper-2: #eef2f9;
  --muted: #6b7894;
  --white: #ffffff;
  --line: #e7ecf5;
  --shadow-lg: 0 30px 60px -20px rgba(7, 20, 46, 0.45);
  --shadow-md: 0 18px 40px -18px rgba(7, 20, 46, 0.35);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.12; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, 92%); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.72rem; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); }
.eyebrow.light { color: var(--gold-300); }
.eyebrow.center { justify-content: center; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.9rem; padding: 0.72rem 1.4rem;
  border-radius: 999px; cursor: pointer; border: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-deep)); color: var(--navy-900); box-shadow: 0 10px 24px -8px rgba(240,180,41,0.6); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(240,180,41,0.7); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: var(--gold-300); color: var(--gold-300); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 0.98rem; }

/* ---------- NAV ---------- */
header.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 20, 46, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(240, 180, 41, 0.18);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: 0.8rem; color: #fff; }
.brand img { width: 48px; height: 48px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4)); }
.brand .bt { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.05rem; line-height: 1; }
.brand .bs { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-300); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { color: #d7e0f2; font-weight: 500; font-size: 0.92rem; transition: color 0.2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-300); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }

/* mobile slide menu */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 82%); z-index: 70;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  transform: translateX(100%); transition: transform 0.3s ease;
  padding: 1.4rem; display: flex; flex-direction: column; gap: 0.4rem;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mobile-menu .mm-top button { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
.mobile-menu a { color: #d7e0f2; font-weight: 600; padding: 0.85rem 0.6rem; border-radius: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold-300); background: rgba(255,255,255,0.04); }
.scrim { position: fixed; inset: 0; background: rgba(7,20,46,0.6); backdrop-filter: blur(2px); z-index: 65; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.scrim.open { opacity: 1; pointer-events: auto; }

/* ---------- HERO (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 540px at 78% -10%, rgba(240,180,41,0.20), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(20,58,122,0.55), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.5; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: center; padding: 5rem 0 5.5rem; }
/* prevent the video's intrinsic width from blowing out its grid track */
.hero-inner > * { min-width: 0; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); font-weight: 800; margin: 1.1rem 0 0.4rem; }
.hero h1 .gold { background: linear-gradient(120deg, var(--gold-300), var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #c4d0e8; font-size: 1.1rem; max-width: 33rem; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.95rem;
  background: rgba(240,180,41,0.12); border: 1px solid rgba(240,180,41,0.35);
  border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--gold-300); margin-bottom: 0.6rem;
}
.hero-badge i { font-size: 0.7rem; }
.crest { position: relative; display: grid; place-items: center; }
.crest::before { content: ""; position: absolute; width: 118%; height: 118%; background: radial-gradient(circle, rgba(240,180,41,0.28), transparent 62%); filter: blur(8px); }
.crest img { position: relative; width: min(380px, 80%); filter: drop-shadow(0 26px 50px rgba(0,0,0,0.55)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* hero photo (replaces crest on home) */
.hero-photo { position: relative; display: grid; place-items: center; }
.hero-photo::before { content: ""; position: absolute; width: 112%; height: 112%; background: radial-gradient(circle, rgba(240,180,41,0.28), transparent 62%); filter: blur(8px); }
.hero-photo .frame { position: relative; width: 100%; aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(240,180,41,0.16); animation: float 6s ease-in-out infinite; }
.hero-photo .frame img, .hero-photo .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; filter: saturate(1.22) contrast(1.1) brightness(1.06); transform: scale(1.05) translateX(-2%); transition: filter 0.4s ease, transform 0.6s ease; }
.hero-photo .frame:hover img, .hero-photo .frame:hover video { filter: saturate(1.32) contrast(1.14) brightness(1.1); transform: scale(1.09) translateX(-2%); }
/* feathered vignette merges the photo edges into the navy hero background */
.hero-photo .frame::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(125% 125% at 50% 42%, transparent 52%, rgba(7,20,46,0.55) 82%, rgba(7,20,46,0.95) 100%),
    linear-gradient(180deg, rgba(240,180,41,0.07) 0%, transparent 30%); }
.hero-photo .photo-badge { position: absolute; left: -14px; bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 0.6rem; background: rgba(255,255,255,0.97); padding: 0.55rem 0.9rem 0.55rem 0.6rem; border-radius: 14px; box-shadow: 0 16px 34px -14px rgba(0,0,0,0.5); }
.hero-photo .photo-badge img { width: 38px; height: 38px; }
.hero-photo .photo-badge b { font-family: 'Playfair Display', serif; font-size: 0.92rem; color: var(--navy-800); line-height: 1.1; display: block; }
.hero-photo .photo-badge small { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }

/* sparkles — subtle 4-point twinkles around the hero photo */
.spark { position: absolute; z-index: 4; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #ffe9a8 32%, rgba(240,180,41,0.55) 52%, transparent 70%);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 6px rgba(255,214,120,0.85)); opacity: 0;
  animation: twinkle 3.4s ease-in-out infinite; }
.spark.s1 { width: 24px; top: -12px; left: 10%; animation-delay: 0s; }
.spark.s2 { width: 15px; top: 16%; right: -10px; animation-delay: 0.9s; }
.spark.s3 { width: 19px; bottom: 16%; left: -12px; animation-delay: 1.7s; }
.spark.s4 { width: 11px; top: 40%; left: 24%; animation-delay: 2.4s; }
.spark.s5 { width: 17px; bottom: -6px; right: 26%; animation-delay: 1.2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.35) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}
@media (prefers-reduced-motion: reduce) { .spark { animation: none; opacity: 0.55; } }

.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border-top: 1px solid rgba(255,255,255,0.08); }
.stat { background: linear-gradient(180deg, rgba(7,20,46,0.2), transparent); padding: 1.6rem 1rem; text-align: center; }
.stat .n { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; color: var(--gold-300); }
.stat .l { font-size: 0.78rem; letter-spacing: 0.06em; color: #b9c5de; text-transform: uppercase; }

/* ---------- PAGE HEADER (interior pages) ---------- */
.page-header {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(800px 400px at 80% -30%, rgba(240,180,41,0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
}
.page-header::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 26px 26px; opacity: 0.5; }
.page-header .inner { position: relative; z-index: 2; }
.page-header h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 800; margin: 0.8rem 0 0.5rem; }
.page-header p { color: #c4d0e8; max-width: 40rem; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { margin-top: 1.2rem; font-size: 0.85rem; color: #9fb0d0; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb i { font-size: 0.6rem; margin: 0 0.5rem; }

/* ---------- SECTIONS ---------- */
section { padding: 5.5rem 0; }
.sec-head { text-align: center; max-width: 46rem; margin: 0 auto 3.2rem; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; margin: 0.7rem 0 0.6rem; color: var(--navy-800); }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.bg-white { background: var(--white); }
.bg-paper { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.bg-navy { background: var(--navy-900); color: #fff; }
.bg-navy .sec-head h2 { color: #fff; }
.bg-navy .sec-head p { color: #aebbd8; }

/* ---------- GRID ---------- */
.grid { display: grid; gap: 1.5rem; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.mb-xl { margin-bottom: 3.5rem; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-grid .lead-txt { font-size: 1.05rem; color: #3a4663; }
.about-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--navy-800); margin: 0.7rem 0 1.1rem; }
.pill-list { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.pill-list li { display: flex; gap: 0.85rem; align-items: flex-start; font-weight: 500; color: #2c3754; }
.pill-list i { color: var(--gold-deep); margin-top: 0.25rem; }
.about-visual { border-radius: 26px; padding: 2.5rem; color: #fff; position: relative; overflow: hidden; background: linear-gradient(155deg, var(--navy-800), var(--navy-600)); box-shadow: var(--shadow-lg); }
.about-visual::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(240,180,41,0.4), transparent 70%); }
.about-visual h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.about-visual .quote { font-style: italic; color: #cdd8ef; font-size: 1.02rem; }
.about-visual .sig { margin-top: 1.6rem; font-weight: 700; color: var(--gold-300); }
.about-visual .sig span { display: block; font-weight: 400; font-size: 0.85rem; color: #aebbd8; font-style: normal; }

/* value cards */
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.7rem; box-shadow: var(--shadow-md); transition: transform 0.22s, box-shadow 0.22s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; color: var(--navy-900); background: linear-gradient(140deg, var(--gold-300), var(--gold-deep)); margin-bottom: 1.1rem; box-shadow: 0 10px 22px -10px rgba(212,160,23,0.7); }
.value-card h3 { font-size: 1.25rem; color: var(--navy-800); margin-bottom: 0.5rem; }
.value-card p { color: var(--muted); font-size: 0.96rem; }

/* timeline */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--gold-400), rgba(240,180,41,0.15)); }
.tl-item { position: relative; padding: 0 0 2.2rem 1.8rem; }
.tl-item::before { content: ""; position: absolute; left: -2.05rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 5px rgba(240,180,41,0.18); }
.tl-item .yr { font-family: 'Playfair Display'; font-weight: 800; color: var(--gold-deep); font-size: 1.1rem; }
.tl-item h4 { color: var(--navy-800); font-size: 1.2rem; margin: 0.1rem 0 0.3rem; }
.tl-item p { color: var(--muted); font-size: 0.96rem; }

/* ---------- LEADERSHIP CARDS ---------- */
.tier-label { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.8rem; }
.tier-label h3 { font-size: 1.45rem; color: var(--navy-800); white-space: nowrap; }
.tier-label .line { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(20,58,122,0.25), transparent); }
.tier-label .count { font-size: 0.8rem; font-weight: 700; color: var(--gold-deep); background: rgba(240,180,41,0.14); padding: 0.2rem 0.7rem; border-radius: 999px; }

.card { background: var(--white); border-radius: var(--radius); padding: 1.7rem; border: 1px solid var(--line); box-shadow: var(--shadow-md); position: relative; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: linear-gradient(180deg, var(--gold-400), var(--gold-deep)); opacity: 0; transition: opacity 0.22s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -22px rgba(7,20,46,0.5); border-color: rgba(240,180,41,0.5); }
.card:hover::before { opacity: 1; }
.card.lead-card { padding-top: 2rem; }

.avatar { width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.6rem; color: var(--navy-900); background: linear-gradient(140deg, var(--gold-300), var(--gold-deep)); box-shadow: 0 10px 22px -10px rgba(212,160,23,0.8); flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.card.president .avatar { width: 92px; height: 92px; font-size: 2rem; border-radius: 22px; }
.role-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-700); background: #eaf0fb; padding: 0.28rem 0.7rem; border-radius: 999px; margin-bottom: 0.7rem; }
.card.president .role-badge { background: linear-gradient(135deg, var(--gold-400), var(--gold-deep)); color: var(--navy-900); }
.card .name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.22rem; color: var(--navy-800); margin-bottom: 0.15rem; }
.card .meta { font-size: 0.86rem; color: var(--muted); margin-bottom: 0.1rem; }
.card-foot { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.1rem; }
.li-link { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; font-weight: 600; color: #0a66c2; background: #eef5fc; padding: 0.4rem 0.85rem; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.li-link:hover { background: #0a66c2; color: #fff; }
.region-tag { font-size: 0.78rem; font-weight: 600; color: var(--gold-deep); }
.president-row { display: flex; gap: 1.6rem; align-items: center; }
.president-row .ptxt { flex: 1; }
.card.president { background: linear-gradient(150deg, #fff, #fbf6e8); border: 1px solid rgba(240,180,41,0.4); }
.card.open { background: repeating-linear-gradient(135deg, #fbfcfe, #fbfcfe 12px, #f4f7fc 12px, #f4f7fc 24px); border: 1.5px dashed #c4cfe2; box-shadow: none; }
.card.open:hover { border-color: var(--gold-deep); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card.open .avatar { background: #e6ecf7; color: #9aa7c2; box-shadow: none; }
.card.open .name { color: var(--muted); }
.open-pill { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #b8860b; }

/* ---------- REGIONS ---------- */
.region-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 1.5rem; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.region-card:hover { background: rgba(240,180,41,0.08); border-color: rgba(240,180,41,0.4); transform: translateY(-4px); }
.region-card .rhead { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.region-card .rhead i { color: var(--gold-300); font-size: 1.1rem; }
.region-card .rhead h4 { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 1.05rem; }
.region-person { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.5rem 0; border-top: 1px solid rgba(255,255,255,0.07); }
.region-person:first-of-type { border-top: none; }
.region-person .rp-who { display: flex; align-items: center; gap: 0.65rem; }
.region-person .rp-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(240,180,41,0.55); flex-shrink: 0; }
.region-person .rp-name { font-weight: 600; font-size: 0.92rem; color: #e7edf9; }
.region-person .rp-open { font-size: 0.78rem; color: #8a99bb; font-style: italic; }
.region-person a { color: var(--gold-300); font-size: 0.95rem; }
.region-person a:hover { color: #fff; }

/* ---------- EVENTS ---------- */
.event-row { display: flex; gap: 1.5rem; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-md); transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; margin-bottom: 1.3rem; }
.event-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(240,180,41,0.45); }
.date-badge { flex-shrink: 0; width: 90px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: linear-gradient(160deg, var(--navy-700), var(--navy-600)); padding: 0.8rem; }
.date-badge .d { font-family: 'Playfair Display'; font-weight: 800; font-size: 2rem; line-height: 1; }
.date-badge .m { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-300); margin-top: 0.2rem; }
.date-badge .y { font-size: 0.72rem; color: #aebbd8; }
.event-body { flex: 1; }
.event-body .tag { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-deep); background: rgba(240,180,41,0.14); padding: 0.2rem 0.65rem; border-radius: 999px; margin-bottom: 0.5rem; }
.event-body h3 { font-size: 1.3rem; color: var(--navy-800); margin-bottom: 0.35rem; }
.event-body .meta-row { display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--muted); font-size: 0.88rem; margin: 0.5rem 0; }
.event-body .meta-row span { display: inline-flex; align-items: center; gap: 0.4rem; }
.event-body .meta-row i { color: var(--gold-deep); }
.event-cta { display: flex; align-items: center; padding-left: 0.5rem; }
.event-past { opacity: 0.94; }
.event-past .date-badge { background: linear-gradient(160deg, #69748f, #515970); }

/* ---------- GALLERY ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.gallery-grid figure { position: relative; overflow: hidden; border-radius: 16px; cursor: pointer; box-shadow: var(--shadow-md); }
.gallery-grid figure.tall { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid figure:hover img { transform: scale(1.08); }
.gallery-grid figcaption { position: absolute; inset: auto 0 0 0; padding: 1.4rem 1rem 0.9rem; color: #fff; font-weight: 600; font-size: 0.95rem; background: linear-gradient(180deg, transparent, rgba(7,20,46,0.85)); transform: translateY(8px); opacity: 0; transition: opacity 0.3s, transform 0.3s; }
.gallery-grid figure:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-ph { display: grid; place-items: center; background: linear-gradient(150deg, var(--navy-700), var(--navy-600)); color: rgba(255,255,255,0.5); min-height: 220px; font-size: 2rem; }

/* masonry gallery */
.masonry { column-count: 3; column-gap: 1rem; }
.masonry figure { position: relative; break-inside: avoid; margin: 0 0 1rem; border-radius: 14px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow-md); }
.masonry img { width: 100%; display: block; transition: transform 0.5s ease, filter 0.3s ease; background: var(--paper-2); }
.masonry figure:hover img { transform: scale(1.06); filter: brightness(0.92); }
.masonry figure::after { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; background: linear-gradient(0deg, rgba(7,20,46,0.35), rgba(7,20,46,0.05)); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.masonry figure:hover::after { opacity: 1; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; background: rgba(4, 10, 24, 0.92); backdrop-filter: blur(4px); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb-btn { position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; transition: background 0.2s, transform 0.2s; }
.lb-btn:hover { background: var(--gold-500); color: var(--navy-900); }
.lb-close { top: 1.4rem; right: 1.4rem; }
.lb-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }
.lb-count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: #cdd8ef; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em; }
@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 560px) { .masonry { column-count: 1; } .lb-prev { left: 0.5rem; } .lb-next { right: 0.5rem; } }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: start; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; box-shadow: var(--shadow-md); margin-bottom: 1.2rem; transition: transform 0.2s, border-color 0.2s; }
.info-card:hover { transform: translateY(-3px); border-color: rgba(240,180,41,0.45); }
.info-card .ic { width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; color: var(--navy-900); background: linear-gradient(140deg, var(--gold-300), var(--gold-deep)); font-size: 1.1rem; }
.info-card h4 { color: var(--navy-800); font-size: 1.05rem; margin-bottom: 0.15rem; }
.info-card p, .info-card a { color: var(--muted); font-size: 0.92rem; }
.info-card a:hover { color: var(--gold-deep); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--navy-800); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: #fbfcfe; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(240,180,41,0.18); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.phone-group { display: flex; gap: 0.5rem; }
.phone-group select { flex: 0 0 auto; width: auto; max-width: 140px; padding-left: 0.7rem; padding-right: 0.5rem; }
.phone-group input { flex: 1; min-width: 0; }
.form-status { font-size: 0.88rem; font-weight: 600; margin-top: 0.9rem; text-align: center; min-height: 1.1rem; }
.form-status.ok { color: #1f9d55; }
.form-status.err { color: #d64545; }
.form-success { text-align: center; padding: 1rem 0.5rem; }
.form-success .fs-icon { font-size: 3.2rem; color: var(--gold-deep); margin-bottom: 0.6rem; }
.form-success h3 { font-size: 1.6rem; color: var(--navy-800); margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); margin-bottom: 1.4rem; }

/* ---------- JOIN CTA ---------- */
.join-card { position: relative; overflow: hidden; border-radius: 30px; text-align: center; padding: 4.5rem 2rem; color: #fff; background: radial-gradient(700px 380px at 80% -20%, rgba(240,180,41,0.28), transparent 60%), linear-gradient(150deg, var(--navy-800), var(--navy-700)); box-shadow: var(--shadow-lg); }
.join-card h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 0.8rem; }
.join-card p { color: #c4d0e8; max-width: 36rem; margin: 0 auto 2rem; font-size: 1.08rem; }
.join-card .hero-cta { justify-content: center; }
.email-line { margin-top: 1.6rem; font-size: 0.95rem; color: #aebbd8; }
.email-line a { color: var(--gold-300); font-weight: 600; }

/* ---------- FOOTER ---------- */
footer.site { background: var(--navy-900); color: #b9c5de; padding: 3.5rem 0 2rem; border-top: 1px solid rgba(240,180,41,0.18); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.foot-brand { display: flex; gap: 0.9rem; align-items: center; margin-bottom: 1rem; }
.foot-brand img { width: 54px; }
.foot-brand .bt { font-family: 'Playfair Display'; font-weight: 800; color: #fff; font-size: 1.1rem; }
.foot-brand .bs { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-300); }
footer.site h5 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; font-family: 'Plus Jakarta Sans'; }
footer.site ul { list-style: none; display: grid; gap: 0.6rem; }
footer.site ul a { font-size: 0.92rem; transition: color 0.2s; }
footer.site ul a:hover { color: var(--gold-300); }
.socials { display: flex; gap: 0.7rem; margin-top: 1rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.07); color: #d7e0f2; transition: background 0.2s, color 0.2s, transform 0.2s; }
.socials a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: #8a99bb; }

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 3.5rem 0 4rem; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .crest { order: -1; }
  .crest img { width: 240px; }
  .hero-photo { width: 100%; max-width: 440px; margin-inline: auto; }
  .hero-photo::before { display: none; }
  .hero-photo .photo-badge { left: 4px; }
  .hero-photo .spark.s2 { right: 0; }
  .hero-photo .spark.s3 { left: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .g-4, .g-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .president-row { flex-direction: column; text-align: center; }
  .event-row { flex-direction: column; }
  .date-badge { width: 100%; flex-direction: row; gap: 0.6rem; }
}
@media (max-width: 560px) {
  .g-4, .g-3, .g-2, .field-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
