/* ==========================================================================
   TED UK Representative Office — Design System
   ========================================================================== */

:root {
  /* Color */
  --navy-900: #0A1830;
  --navy-800: #0F2245;
  --navy-700: #16305E;
  --navy-600: #1F3E78;
  --royal-500: #3B62B0;
  --gold-300: #F5D869;
  --gold-500: #F0BE31;
  --gold-600: #C99615;
  --red-300: #F19097;
  --red-500: #DA2A38;
  --red-600: #B71C28;
  --white: #FFFFFF;
  --gray-25: #FBFBFC;
  --gray-50: #F5F6F8;
  --gray-100: #EBEDF1;
  --gray-200: #DDE1E8;
  --gray-400: #9AA3B2;
  --gray-500: #6B7484;
  --gray-700: #3D4452;
  --gray-900: #171A21;

  /* Type */
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(10, 24, 48, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 24, 48, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 24, 48, 0.16);

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
*::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-800);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Type scale ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
h1 { font-size: clamp(36px, 5.2vw, 58px); }
h2 { font-size: clamp(28px, 3.6vw, 38px); }
h3 { font-size: 20.5px; }
.lede {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 620px;
}
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 14px; }

/* ---------- Sections ---------- */
.section { padding: 108px 0; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--gray-50); }
.section-navy { background: var(--navy-800); color: #C9D2E4; }
.section-navy h2, .section-navy h3 { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }
.btn-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--navy-900); }
.btn-gold:hover { box-shadow: 0 10px 26px rgba(198,161,91,.4); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline-navy { border-color: var(--navy-700); color: var(--navy-800); }
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.navbar.on-dark { background: transparent; }
.navbar.on-light { background: transparent; }
.navbar.solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 13px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; }
.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--white);
  transition: color .3s var(--ease);
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: .05em;
  color: rgba(255,255,255,.65);
}
.navbar.solid .brand-text, .navbar.on-light .brand-text { color: var(--navy-800); }
.navbar.solid .brand-text small, .navbar.on-light .brand-text small { color: var(--gray-500); }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  /* Shrink-wrap the pill to its links so the frame always hugs the labels,
     whatever their length (EN vs TR); auto margins centre it in the bar. */
  flex: 0 1 auto;
  min-width: 0;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 5px;
  background: rgba(255,255,255,.04);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.navbar.solid .nav-links, .navbar.on-light .nav-links {
  border-color: var(--gray-100);
  background: var(--gray-25);
}
.nav-links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  padding: 9px 11px;
  white-space: nowrap;
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.navbar.solid .nav-links a, .navbar.on-light .nav-links a { color: var(--gray-700); }
.nav-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
.navbar.solid .nav-links a:hover, .navbar.on-light .nav-links a:hover { background: var(--white); color: var(--navy-800); box-shadow: var(--shadow-sm); }
.nav-links a.active { color: var(--gold-300); background: rgba(255,255,255,.08); }
.navbar.solid .nav-links a.active, .navbar.on-light .nav-links a.active { color: var(--navy-800); background: var(--white); box-shadow: var(--shadow-sm); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.navbar-left { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  border-right: 1px solid rgba(255,255,255,.2);
  padding-right: 16px;
}
.navbar.solid .lang-switcher, .navbar.on-light .lang-switcher { border-color: var(--gray-200); }
.lang-switcher .flag { font-size: 13px; margin-right: 4px; }
.lang-switcher .lang-opt, .lang-switcher .lang-current {
  display: flex; align-items: center;
  padding: 6px 8px;
  border-radius: 6px;
  color: rgba(255,255,255,.5);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-switcher .lang-current { color: #fff; background: rgba(255,255,255,.1); }
.lang-switcher .lang-opt:hover { background: rgba(255,255,255,.1); color: #fff; }
.navbar.solid .lang-switcher .lang-opt, .navbar.on-light .lang-switcher .lang-opt { color: var(--gray-400); }
.navbar.solid .lang-switcher .lang-current, .navbar.on-light .lang-switcher .lang-current { color: var(--navy-800); background: var(--gray-100); }
.navbar.solid .lang-switcher .lang-opt:hover, .navbar.on-light .lang-switcher .lang-opt:hover { background: var(--gray-100); color: var(--navy-800); }
.nav-toggle {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  border: none;
  background: rgba(255,255,255,.12);
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.navbar.solid .nav-toggle, .navbar.on-light .nav-toggle { background: var(--gray-100); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  color: #fff;
  position: relative;
}
.navbar.solid .nav-toggle span, .navbar.solid .nav-toggle::before, .navbar.solid .nav-toggle::after,
.navbar.on-light .nav-toggle span, .navbar.on-light .nav-toggle::before, .navbar.on-light .nav-toggle::after { color: var(--navy-800); }
.nav-toggle::before { top: -6px; position: absolute; }
.nav-toggle::after { top: 6px; position: absolute; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 22% 24%, rgba(198,161,91,.16), transparent 44%),
    radial-gradient(circle at 78% 76%, rgba(59,98,176,.30), transparent 48%),
    linear-gradient(160deg, rgba(10,24,48,.94) 0%, rgba(15,34,69,.86) 55%, rgba(22,48,94,.82) 100%),
    url(assets/photos/annual-gathering.jpg) center / cover no-repeat,
    var(--navy-900);
  overflow: hidden;
}
.hero-logo-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 760px;
  max-width: 80vw;
  opacity: .06;
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 168px 28px 100px;
  text-align: center;
  color: #fff;
}
.hero .eyebrow { color: var(--gold-300); justify-content: center; }
.hero .eyebrow::before { background: var(--gold-300); }
.hero h1 { color: #fff; margin-top: 18px; }
.hero p.lede { color: rgba(255,255,255,.72); max-width: 560px; margin: 22px auto 0; font-size: 18.5px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.5); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 30px; background: rgba(255,255,255,.35);
  animation: scrollpulse 2s var(--ease) infinite;
}
@keyframes scrollpulse { 0%,100%{opacity:.2} 50%{opacity:1} }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(240,190,49,.16), transparent 38%),
    radial-gradient(circle at 70% 110%, rgba(218,42,56,.16), transparent 42%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  padding: 168px 0 72px;
  color: #fff;
}
/* Decorative rings echoing the round TED UK emblem */
.page-banner::before, .page-banner::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(245,216,105,.14);
}
.page-banner::before { width: 520px; height: 520px; right: -140px; top: -120px; }
.page-banner::after { width: 340px; height: 340px; right: -50px; top: -30px; border-color: rgba(255,255,255,.08); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner .eyebrow { color: var(--gold-300); }
.page-banner .eyebrow::before { background: var(--gold-300); }
.page-banner h1 { color: #fff; margin-top: 14px; font-size: clamp(30px,4vw,44px); }
.page-banner p { color: rgba(255,255,255,.68); max-width: 600px; margin-top: 14px; font-size: 16.5px; }
.breadcrumb { font-size: 12.5px; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-cell {
  background: var(--navy-800);
  padding: 40px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(30px,3.4vw,42px);
  font-weight: 800;
  color: var(--gold-300);
}
.stat-label {
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}

.stats-grid-3 { grid-template-columns: repeat(3, 1fr); }
.stat-num .stat-sep { color: rgba(255,255,255,.3); font-weight: 600; }

/* Light stat cells (used on white/gray sections, e.g. homepage) */
.stats-light-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-light-cell {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  padding: 32px 20px;
}
.stat-light-cell .icon-badge { margin: 0 auto 16px; }
.stat-light-cell .stat-num { color: var(--navy-800); }
.stat-light-cell .stat-label {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gray-500);
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  padding: 30px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.icon-badge {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-badge svg { width: 22px; height: 22px; stroke: var(--gold-300); }
.icon-badge.badge-red { background: linear-gradient(135deg, var(--red-500), var(--red-600)); }
.icon-badge.badge-red svg { stroke: #fff; }
.icon-badge.badge-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); }
.icon-badge.badge-gold svg { stroke: var(--navy-900); }

.card h3 { margin-bottom: 8px; }
.card p { color: var(--gray-500); font-size: 15.5px; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 16px;
}
.gallery-tile {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery-tile:hover { transform: scale(1.015); box-shadow: var(--shadow-lg); }
.gallery-tile svg { width: 26px; height: 26px; stroke: rgba(255,255,255,.55); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tile.variant-red { background: linear-gradient(135deg, var(--red-500), var(--red-600)); }
.gallery-tile.variant-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); }
.gallery-tile.variant-gold svg { stroke: rgba(10,24,48,.5); }
.gallery-tile.big { grid-column: span 2; grid-row: span 2; }
.gallery-tile.wide { grid-column: span 2; }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  font-size: 11.5px; font-weight: 600; color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.45), transparent);
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .gallery-tile.big { grid-column: span 2; grid-row: span 1; }
}

/* Big interactive calendar */
.calendar-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 28px;
  align-items: start;
}
.calendar-main {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.calendar-nav h3 {
  font-size: 20px;
  min-width: 200px;
  text-align: center;
}
.cal-nav-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.cal-nav-btn:hover { background: var(--gray-50); border-color: var(--gold-500); }
.calendar-main { position: relative; }
.cal-label-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid transparent; background: none;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.cal-label-btn:hover, .cal-label-btn[aria-expanded="true"] { background: var(--gray-50); border-color: var(--gray-200); }
.cal-label-btn h3 { min-width: 0; }
.cal-label-btn svg { width: 16px; height: 16px; stroke: var(--gold-600); transition: transform .2s var(--ease); }
.cal-label-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.cal-picker {
  position: absolute; z-index: 20; top: 84px; left: 50%; width: 300px; transform: translate(-50%, -6px);
  padding: 18px; border-radius: var(--r-md); background: var(--white);
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.cal-picker.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cal-picker-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-picker-head strong { font-family: var(--font-heading); font-size: 18px; color: var(--navy-800); }
.cal-picker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cal-pick-month {
  position: relative; padding: 10px 0; border-radius: var(--r-sm); border: none; background: none;
  font-size: 14px; font-weight: 600; color: var(--gray-700); text-transform: capitalize;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.cal-pick-month:hover { background: var(--gray-50); color: var(--navy-800); }
.cal-pick-month.has-event::after {
  content: ''; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--gold-500);
}
.cal-pick-month.is-current { background: var(--navy-800); color: #fff; }
.cal-today {
  width: 100%; margin-top: 12px; padding: 10px; border-radius: var(--r-sm);
  border: 1px solid var(--gray-200); background: var(--white);
  font-family: var(--font-heading); font-size: 13.5px; font-weight: 700; color: var(--navy-800);
}
.cal-today:hover { border-color: var(--gold-500); background: var(--gray-50); }
.cal-nav-btn svg { width: 16px; height: 16px; stroke: var(--navy-800); }

.cal-table-lg { width: 100%; border-collapse: collapse; }
.cal-table-lg th {
  font-size: 11.5px; font-weight: 700; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: .04em;
  padding-bottom: 16px;
}
.cal-table-lg td { text-align: center; padding: 3px 0; height: 52px; }
.cal-cell {
  width: 44px; height: 44px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 14.5px;
  color: var(--gray-700);
  position: relative;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cal-cell.has-event { cursor: pointer; font-weight: 700; color: var(--navy-800); }
.cal-cell.has-event::after {
  content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--navy-700);
}
.cal-cell.has-event:hover { background: var(--gray-50); }
.cal-cell.is-selected { background: var(--navy-800); color: #fff; }
.cal-cell.is-selected::after { display: none; }

.calendar-detail {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  min-height: 340px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}
.calendar-detail h3 { font-size: 19px; margin-bottom: 4px; }
.detail-meta-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--gray-500);
}
.detail-meta-row svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; stroke: var(--gold-600); }
.event-detail-empty {
  color: var(--gray-400);
  font-size: 14px;
  text-align: center;
  padding: 60px 8px;
}

@media (max-width: 900px) {
  .calendar-layout { grid-template-columns: 1fr; }
  .calendar-detail { position: static; }
  .calendar-main { padding: 24px 18px; }
  .cal-cell { width: 36px; height: 36px; font-size: 13px; }
}

/* Mini calendar */
.mini-calendar {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  padding: 22px 22px 18px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.mini-calendar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mini-calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; }
.mini-calendar-head h3 { font-size: 15.5px; }
.mini-cal-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--red-600);
  background: rgba(218,42,56,.09);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.mini-cal-table { width: 100%; border-collapse: collapse; }
.mini-cal-table th {
  font-size: 11px; font-weight: 700; color: var(--gray-400);
  padding-bottom: 8px; text-transform: uppercase;
}
.mini-cal-table td { text-align: center; padding: 2px 0; }
.cal-day {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 13px;
  color: var(--gray-700);
}
.cal-day.is-event {
  background: var(--navy-800);
  color: var(--gold-300);
  font-weight: 700;
}

/* Event card */
.event-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-date {
  background: var(--navy-800);
  color: #fff;
  padding: 18px 24px;
  display: flex; align-items: baseline; gap: 8px;
}
.event-date .day { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--gold-300); }
.event-date .month { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.event-body { padding: 24px; }
.event-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--gray-500); margin-bottom: 10px; }
.event-body h3 { margin-bottom: 8px; }
.event-body p { color: var(--gray-500); font-size: 15px; margin-bottom: 20px; }

/* Sponsor grid */
.sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sponsor-box {
  height: 96px;
  border: 1px dashed var(--gray-200);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.sponsor-box:hover { border-color: var(--gold-500); color: var(--gold-600); }

/* News card */
.news-card { background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--gray-100); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-thumb { height: 150px; background: linear-gradient(135deg, var(--navy-700), var(--royal-500)); position: relative; }
.news-thumb::after { content:''; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 18px 18px; }
.news-tag { position:absolute; top:14px; left:14px; background: rgba(255,255,255,.92); color: var(--navy-800); font-size: 11px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding: 5px 10px; border-radius: 999px; }
.news-body { padding: 22px; }
.news-date { font-size: 12px; color: var(--gray-400); margin-bottom: 8px; }
.news-body h3 { font-size: 17.5px; margin-bottom: 8px; }
.news-body p { color: var(--gray-500); font-size: 14.5px; }

/* Timeline */
.timeline { position: relative; padding-left: 36px; }
.timeline::before { content:''; position:absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--gray-200); }
.timeline-item { position: relative; padding-bottom: 42px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -36px; top: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--gold-500);
}
.timeline-item .tl-year { font-family: var(--font-heading); font-weight: 700; color: var(--gold-600); font-size: 13px; letter-spacing: .04em; }
.timeline-item h3 { margin: 6px 0 6px; }
.timeline-item p { color: var(--gray-500); font-size: 15.5px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--navy-800); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14.5px;
  background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(198,161,91,.14);
}
.note-box {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--gray-500);
}

/* ---------- Committees icon grid ---------- */
.committee-card { text-align: left; }

/* Highlights */
.highlight-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.highlight-tag {
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-700); background: var(--gray-50); border: 1px solid var(--gray-100);
  padding: 5px 10px; border-radius: 999px;
}

/* ---------- Committees page ---------- */
/* Per-committee theme: accent gradient, avatar ink, soft tint */
.cmt-royal { --c1: #3B62B0; --c2: #16305E; --ink: #fff; --soft: rgba(59,98,176,.09); }
.cmt-red   { --c1: #DA2A38; --c2: #B71C28; --ink: #fff; --soft: rgba(218,42,56,.08); }
.cmt-gold  { --c1: #F5D869; --c2: #C99615; --ink: #0A1830; --soft: rgba(240,190,49,.14); }
.cmt-sky   { --c1: #2BAAE2; --c2: #0E6FA8; --ink: #fff; --soft: rgba(43,170,226,.12); }

.cmt-banner { padding-bottom: 56px; }
.cmt-banner-stats, .banner-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 36px; }
.cmt-banner-stats div, .banner-stats div { display: flex; flex-direction: column; }
.cmt-banner-stats strong, .banner-stats strong {
  font-family: var(--font-heading); font-size: 40px; font-weight: 800; line-height: 1;
  color: var(--gold-300);
}
.cmt-banner-stats span, .banner-stats span { margin-top: 8px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cmt-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.cmt-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 10px 9px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.cmt-chip:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.cmt-chip-dot { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 0 0 3px rgba(255,255,255,.1); }
.cmt-chip-count {
  min-width: 24px; padding: 2px 8px; border-radius: 999px; text-align: center;
  font-size: 12px; font-weight: 700; color: var(--navy-900); background: rgba(255,255,255,.88);
}

.cmt-hint {
  display: flex; align-items: center; gap: 10px;
  padding-top: 28px; padding-bottom: 0;
  font-size: 13px; color: var(--gray-500);
}

.cmt-block { position: relative; overflow: hidden; padding: 96px 0; scroll-margin-top: 70px; }
.cmt-block-alt { background: var(--gray-50); }
.cmt-layout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start;
}
.cmt-intro { position: sticky; top: 110px; }
.cmt-index {
  display: block; margin-bottom: 18px;
  font-family: var(--font-heading); font-size: 76px; font-weight: 800; line-height: .9; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px var(--c1);
  opacity: .55;
}
.cmt-icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 12px 28px -10px var(--c2);
}
.cmt-icon svg { width: 26px; height: 26px; stroke: var(--ink); }
.cmt-intro h2 { font-size: clamp(26px, 3vw, 34px); }
.cmt-intro p { margin-top: 14px; font-size: 16.5px; color: var(--gray-500); max-width: 440px; }
.cmt-count {
  display: inline-flex; align-items: baseline; gap: 8px; margin-top: 26px;
  padding: 10px 18px; border-radius: 999px; background: var(--soft);
  font-size: 14px; font-weight: 600; color: var(--navy-800);
}
.cmt-count strong { font-family: var(--font-heading); font-size: 20px; font-weight: 800; }

.cmt-members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.member-card {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--gray-100);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.member-card::before {
  content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  opacity: 0; transition: opacity .25s var(--ease);
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.member-card:hover::before { opacity: 1; }
.m-avatar {
  flex-shrink: 0;
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 16px; font-weight: 700; letter-spacing: .02em;
  color: var(--ink); background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--gray-100);
  transition: box-shadow .25s var(--ease);
}
.member-card:hover .m-avatar { box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--c1); }
.m-info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.m-name { font-family: var(--font-heading); font-size: 15.5px; font-weight: 700; color: var(--navy-800); line-height: 1.3; }
.m-role {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; color: var(--c2); background: var(--soft);
}
.cmt-gold .m-role { color: #8A6608; }
.m-dots { display: inline-flex; gap: 4px; margin-left: auto; flex-shrink: 0; }
.m-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); }

.cmt-cta { padding: 96px 0 108px; }
.cmt-cta-inner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 56px 60px; border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 85% 20%, rgba(240,190,49,.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(218,42,56,.18), transparent 45%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
}
.cmt-cta-inner h2 { color: #fff; margin-top: 12px; }
.cmt-cta-inner p { color: rgba(255,255,255,.68); margin-top: 12px; max-width: 560px; }
.cmt-cta-inner .eyebrow { color: var(--gold-300); }

@media (max-width: 980px) {
  .cmt-layout { grid-template-columns: 1fr; gap: 36px; }
  .cmt-intro { position: static; }
  .cmt-index { font-size: 60px; }
  .cmt-cta-inner { flex-direction: column; align-items: flex-start; padding: 44px 32px; }
}
@media (max-width: 560px) {
  .cmt-members { grid-template-columns: 1fr; }
  .cmt-block { padding: 72px 0; }
  .cmt-banner-stats { gap: 28px; }
  .cmt-banner-stats strong { font-size: 32px; }
}

/* Closing statement */
.closing-note {
  max-width: 820px; margin: 0 auto; text-align: center;
  font-family: var(--font-heading); font-size: clamp(18px, 2vw, 22px); line-height: 1.6;
  color: rgba(255,255,255,.85);
}
.closing-note em { font-style: normal; color: var(--gold-300); }

/* ---------- Contact / Newsletter ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.contact-item h4 { font-family: var(--font-heading); font-size: 14.5px; color: var(--navy-800); margin-bottom: 4px; }
.contact-item p { color: var(--gray-500); font-size: 15px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.6); }
.footer-top { padding-top: 72px; padding-bottom: 48px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 38px; height: 38px; }
.footer-brand span { font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 15px; }
.footer p.desc { font-size: 14.5px; max-width: 280px; }
.footer h4 { color: #fff; font-family: var(--font-heading); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul li { margin-bottom: 11px; }
.footer ul li a { font-size: 14.5px; transition: color .2s var(--ease); }
.footer ul li a:hover { color: var(--gold-300); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); }
.footer-social a svg { width: 15px; height: 15px; stroke: #fff; }
.newsletter-form { display: flex; gap: 8px; margin-top: 4px; }
.newsletter-form input {
  flex: 1; padding: 11px 14px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font-size: 13.5px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px; padding-bottom: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
  flex-wrap: wrap; gap: 10px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
.d-1 { transition-delay: .08s; } .d-2 { transition-delay: .16s; } .d-3 { transition-delay: .24s; } .d-4 { transition-delay: .32s; }

/* ---------- About page ---------- */
.intro-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.intro-split h2 { margin: 10px 0 20px; }
.intro-split p { color: var(--gray-500); font-size: 16.5px; }
.intro-split p + p { margin-top: 16px; }
.intro-split .intro-lead { color: var(--gray-700); font-size: 18.5px; line-height: 1.6; }
.fact-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,.08); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.fact { background: var(--navy-800); padding: 34px 28px; display: flex; flex-direction: column; gap: 8px; }
.fact:nth-child(1) { background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); }
.fact:nth-child(4) { background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); }
.fact strong { font-family: var(--font-heading); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: var(--gold-300); line-height: 1.1; }
.fact span { font-size: 13.5px; color: rgba(255,255,255,.68); line-height: 1.45; }

.mv-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.mv-panel { padding: 56px 52px; }
.mv-panel h2 { font-size: clamp(26px, 3vw, 34px); margin: 22px 0 14px; }
.mv-panel p { font-size: 17px; line-height: 1.7; }
.mv-mission { background: var(--navy-800); }
.mv-mission h2 { color: #fff; }
.mv-mission p { color: rgba(255,255,255,.72); }
.mv-vision { background: var(--white); }
.mv-vision p { color: var(--gray-500); }
.mv-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.mv-icon svg { width: 26px; height: 26px; }
.mv-mission .mv-icon { background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); }
.mv-mission .mv-icon svg { stroke: var(--navy-900); }
.mv-vision .mv-icon { background: linear-gradient(135deg, var(--red-500), var(--red-600)); }
.mv-vision .mv-icon svg { stroke: #fff; }

/* Centre-line timeline, alternating sides */
.tl2 { position: relative; max-width: 980px; margin: 0 auto; }
.tl2::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: linear-gradient(180deg, var(--gold-500), var(--gray-200) 85%); }
.tl2-item { position: relative; width: 50%; padding: 0 48px 36px 0; }
.tl2-item:nth-child(even) { margin-left: 50%; padding: 0 0 36px 48px; }
.tl2-item::before {
  content: ''; position: absolute; top: 26px; right: -9px; width: 18px; height: 18px; border-radius: 50%;
  box-sizing: border-box;
  background: var(--white); border: 4px solid var(--gold-500); box-shadow: 0 0 0 5px var(--white);
}
.tl2-item:nth-child(even)::before { right: auto; left: -9px; }
.tl2-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--r-md); padding: 26px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tl2-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tl2-year {
  display: inline-block; font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--navy-800); background: var(--gold-300); padding: 4px 12px; border-radius: 999px;
}
.tl2-card h3 { margin: 12px 0 8px; font-size: 19px; }
.tl2-card p { color: var(--gray-500); font-size: 15px; }

.quote-band {
  position: relative; overflow: hidden; text-align: center; padding: 112px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(218,42,56,.18), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(240,190,49,.16), transparent 40%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
}
.quote-mark { display: block; font-family: Georgia, serif; font-size: 120px; line-height: .6; color: var(--gold-500); opacity: .9; }
.quote-big { margin-top: 18px; font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 4vw, 46px); line-height: 1.2; color: #fff; letter-spacing: -.01em; }
.quote-text { max-width: 720px; margin: 26px auto 0; font-size: 17.5px; line-height: 1.7; color: rgba(255,255,255,.7); }
.quote-sig { margin-top: 22px; font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }

/* ---------- Mentoring page ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.steps::before { content: ''; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gray-200) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { font-family: var(--font-heading); font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--gold-600); }
.step-icon {
  position: relative; z-index: 1;
  width: 64px; height: 64px; margin: 14px auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-800); box-shadow: 0 0 0 8px var(--white), 0 14px 30px -12px var(--navy-800);
  transition: transform .25s var(--ease);
}
.step:hover .step-icon { transform: scale(1.08); }
.step-icon svg { width: 26px; height: 26px; stroke: var(--gold-300); }
.step h3 { font-size: 18.5px; margin-bottom: 8px; }
.step p { color: var(--gray-500); font-size: 15px; }

.pillar-card { border-top: 3px solid transparent; }
.pillar-card:hover { border-top-color: var(--gold-500); }

.story-band {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding: 60px 64px; border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(240,190,49,.18), transparent 45%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
}
.story-band h2 { color: #fff; margin-top: 12px; }
.story-band p { color: rgba(255,255,255,.7); margin-top: 14px; font-size: 16.5px; }
.story-stats { display: grid; gap: 16px; }
.story-stats div { padding: 22px 26px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.story-stats strong { display: block; font-family: var(--font-heading); font-size: 30px; font-weight: 800; color: var(--gold-300); }
.story-stats span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 980px; margin: 0 auto; }
.role-card {
  position: relative; overflow: hidden; padding: 44px 40px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--gray-100);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.role-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.role-card::after { content: ''; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: var(--gold-300); opacity: .18; }
.role-mentor::after { background: var(--royal-500); opacity: .12; }
.role-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); margin-bottom: 22px; }
.role-icon svg { width: 26px; height: 26px; stroke: var(--navy-900); }
.role-mentor .role-icon { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); }
.role-mentor .role-icon svg { stroke: var(--gold-300); }
.role-card h3 { font-size: 24px; }
.role-card p { color: var(--gray-500); margin: 10px 0 28px; font-size: 15.5px; }
.role-card .btn svg, .text-link svg { width: 16px; height: 16px; stroke: currentColor; }

/* ---------- Constitution page ---------- */
.doc-card {
  position: relative; overflow: hidden;
  padding: 52px 56px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-md);
}
.doc-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--navy-800), var(--royal-500), var(--gold-500), var(--red-500)); }
.doc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.doc-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); }
.doc-icon svg { width: 28px; height: 28px; stroke: var(--gold-300); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(240,190,49,.15); color: #8A6608; font-size: 12.5px; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(240,190,49,.6); } 50% { box-shadow: 0 0 0 6px rgba(240,190,49,0); } }
.doc-card h2 { font-size: clamp(24px, 3vw, 30px); }
.doc-card > p { color: var(--gray-500); margin-top: 12px; font-size: 16.5px; max-width: 680px; }
.progress-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; counter-reset: none; }
.pstep { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.pstep::before { content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--gray-200); z-index: 0; }
.pstep:first-child::before { display: none; }
.pstep.done::before, .pstep.current::before { background: var(--navy-800); }
.pstep-dot {
  position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
  background: var(--white); border: 2px solid var(--gray-200); color: var(--gray-400);
}
.pstep-dot svg { width: 16px; height: 16px; stroke: var(--gold-300); stroke-width: 3; }
.pstep.done .pstep-dot { background: var(--navy-800); border-color: var(--navy-800); }
.pstep.current .pstep-dot { border-color: var(--gold-500); color: var(--navy-800); box-shadow: 0 0 0 5px rgba(240,190,49,.2); }
.pstep-label { font-size: 13.5px; font-weight: 600; color: var(--gray-500); }
.pstep.done .pstep-label, .pstep.current .pstep-label { color: var(--navy-800); }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--navy-800); }
.text-link:hover { color: var(--red-600); }

/* ---------- Register page ---------- */
.reg-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 40px; align-items: stretch; }
.reg-panel {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 44px 40px; border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(240,190,49,.2), transparent 45%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
}
.reg-panel h2 { color: #fff; font-size: 26px; }
.reg-list { margin-top: 28px; display: grid; gap: 22px; }
.reg-list li { display: flex; gap: 16px; }
.reg-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.reg-ic svg { width: 20px; height: 20px; stroke: var(--gold-300); }
.reg-list h4 { color: #fff; font-family: var(--font-heading); font-size: 16px; }
.reg-list p { color: rgba(255,255,255,.62); font-size: 14px; margin-top: 2px; }
.reg-proof { margin-top: auto; padding-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reg-proof div { padding: 18px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.reg-proof strong { display: block; font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--gold-300); }
.reg-proof span { font-size: 12.5px; color: rgba(255,255,255,.62); }
.reg-form { padding: 44px; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.reg-form:hover { transform: none; box-shadow: var(--shadow-md); border-color: var(--gray-100); }
.reg-form-head { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--gray-100); }
.reg-form-head h2 { font-size: 24px; }
.reg-form-head p { color: var(--gray-500); margin-top: 6px; font-size: 15px; }

@media (max-width: 980px) {
  .intro-split, .story-band, .reg-layout { grid-template-columns: 1fr; gap: 40px; }
  .mv-split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .story-band { padding: 44px 32px; }
}
@media (max-width: 760px) {
  .tl2::before { left: 9px; transform: none; }
  .tl2-item, .tl2-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 26px 40px; }
  .tl2-item::before, .tl2-item:nth-child(even)::before { left: 0; right: auto; }
  .role-grid { grid-template-columns: 1fr; }
  .mv-panel { padding: 40px 28px; }
  .doc-card { padding: 40px 26px; }
  .progress-steps { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .pstep::before { display: none; }
  .page-banner::before { width: 320px; height: 320px; right: -160px; }
  .page-banner::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .reg-form { padding: 28px 22px; }
  .reg-panel { padding: 36px 26px; }
}

/* ---------- Photos ---------- */
.gallery-tile.photo { background: var(--navy-900); cursor: zoom-in; margin: 0; }
.gallery-tile.photo img { transition: transform .6s var(--ease); }
.gallery-tile.photo:hover img { transform: scale(1.05); }
.gallery-tile.photo:hover { transform: none; }
.gallery-tile.photo .gallery-caption {
  padding: 40px 16px 14px; font-size: 13px;
  background: linear-gradient(0deg, rgba(10,24,48,.82), transparent);
  opacity: .92; transition: opacity .3s var(--ease);
}
.gallery-tile.tall { grid-row: span 2; }
.gallery-page { grid-auto-rows: 210px; }
.gallery-follow { margin-top: 32px; text-align: center; color: var(--gray-500); font-size: 15px; }
.gallery-follow a { color: var(--navy-800); font-weight: 700; border-bottom: 2px solid var(--gold-500); }
.gallery-follow a:hover { color: var(--red-600); }

.highlight-card { padding: 0; overflow: hidden; }
.highlight-card h3, .highlight-card p { padding: 0 28px; }
.highlight-card h3 { margin-top: 24px; }
.highlight-card p { padding-bottom: 28px; }
.highlight-media { position: relative; height: 210px; overflow: hidden; background: var(--navy-800); }
.highlight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.highlight-card:hover .highlight-media img { transform: scale(1.06); }
.highlight-media .highlight-tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); border: none; }
.highlight-media-brand {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background:
    radial-gradient(circle at 80% 20%, rgba(240,190,49,.28), transparent 50%),
    radial-gradient(circle at 15% 90%, rgba(59,98,176,.45), transparent 50%),
    linear-gradient(135deg, var(--navy-700), var(--navy-900));
}
.highlight-media-brand svg { width: 40px; height: 40px; stroke: var(--gold-300); }
.brand-word { font-family: var(--font-heading); font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -.01em; }

.about-photo { position: relative; margin: 72px 0 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.about-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 28px 20px;
  font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: #fff;
  background: linear-gradient(0deg, rgba(10,24,48,.8), transparent);
}

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 32px; background: rgba(6,14,30,.92); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
  cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1200px, 100%); max-height: 80vh; width: auto; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox p { color: rgba(255,255,255,.85); font-family: var(--font-heading); font-weight: 600; font-size: 15px; text-align: center; }
.lightbox-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; line-height: 1; }

@media (max-width: 760px) {
  .gallery-page { grid-auto-rows: 150px; }
  .gallery-tile.tall { grid-row: span 2; }
  .about-photo { margin-top: 48px; }
  .about-photo img { aspect-ratio: 4 / 3; }
}

/* ---------- Press ---------- */
.press-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--r-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.press-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.press-thumb { position: relative; height: 190px; overflow: hidden; background: var(--navy-800); }
.press-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.press-card:hover .press-thumb img { transform: scale(1.06); }
.press-pub {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--navy-800);
  font-family: var(--font-heading); font-size: 12px; font-weight: 700;
}
.press-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.press-date { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-600); }
.press-body h3 { font-size: 18.5px; margin: 8px 0 10px; }
.press-body p { color: var(--gray-500); font-size: 14.5px; flex: 1; }
.press-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--navy-800); }
.press-link svg { width: 15px; height: 15px; stroke: currentColor; transition: transform .2s var(--ease); }
.press-card:hover .press-link { color: var(--red-600); }
.press-card:hover .press-link svg { transform: translate(2px, -2px); }

/* Gallery filters */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.gfilter {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--gray-200); background: var(--white);
  font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: var(--gray-700);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.gfilter:hover { border-color: var(--navy-800); color: var(--navy-800); }
.gfilter.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.gallery-tile.is-hidden { display: none; }
/* Gallery page: masonry columns — photos keep their own proportions, no gaps under any filter */
.gallery-grid.gallery-page { display: block; columns: 3; column-gap: 16px; }
.gallery-page .gallery-tile { display: block; break-inside: avoid; margin: 0 0 16px; height: auto; }
.gallery-page .gallery-tile.is-hidden { display: none; }
.gallery-page .gallery-tile img { height: auto; }
@media (max-width: 900px) { .gallery-grid.gallery-page { columns: 2; } }
@media (max-width: 520px) { .gallery-grid.gallery-page { columns: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1180px) {
  .nav-links {
    position: fixed; top: 68px; left: 16px; right: 16px; margin: 0;
    background: #fff; border: none; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; padding: 10px;
    transform: none; opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .2s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; visibility: visible; }
  .nav-links a { color: var(--gray-700); padding: 12px 14px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline-light, .nav-cta .btn-outline-navy { display: none; }
  .navbar-left { gap: 10px; }
  .lang-switcher { padding-right: 10px; gap: 0; }
  .lang-switcher .lang-opt, .lang-switcher .lang-current { padding: 5px 6px; font-size: 11px; }
  .brand-text small { display: none; }
}

@media (max-width: 760px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 36px; }
  .sponsor-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .hero-inner { padding-top: 130px; }
}

@media (max-width: 480px) {
  .nav-cta .btn { display: none; }
  .navbar-left { gap: 6px; }
  .lang-switcher { padding-right: 6px; }
  .brand img { width: 32px; height: 32px; }
  .brand-text { font-size: 12.5px; }
}
