/* ═══════════════════════════════════════════════════════════
   CHIP-CTO India | IFACI
   Primary  : #3342A2  (Indigo)
   Secondary: #CE3C33  (Red)
   Fonts    : Satoshi Bold (display) · Inter (body)
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700,900&display=swap');

/* ─── Page transitions (gated by html.js so non-JS users see content normally) ─── */
html.js body {
  opacity: 0;
  transition: opacity 240ms ease;
}
html.js body.is-ready    { opacity: 1; }
html.js body.is-leaving  { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html.js body,
  html.js body.is-ready,
  html.js body.is-leaving {
    opacity: 1;
    transition: none;
  }
}

/* ─── Design Tokens ─── */
:root {
  /* Brand */
  --primary:       #3342A2;
  --primary-dk:    #252f7a;
  --primary-lt:    #EEF0FB;
  --primary-mid:   #4a5bbf;
  --secondary:     #CE3C33;
  --secondary-dk:  #a52e27;
  --secondary-lt:  #FCEEED;
  --secondary-mid: #e05048;

  /* Surface */
  --bg:            #E8EDFF;
  --surface:       #FFFFFF;
  --surface-2:     #F9FAFF;
  --border:        #DDE0EE;
  --border-dk:     #C5C9E0;

  /* Text */
  --text:          #0D0E14;
  --text-2:        #3a3d50;
  --muted:         #5C6075;
  --muted-lt:      #8890A8;

  /* Hero dark */
  --hero:          #13163A;
  --hero-mid:      #1e2558;
  --hero-lt:       #2d3880;

  /* Fonts */
  --ff-display:    'Satoshi', sans-serif;
  --ff-body:       'Inter', sans-serif;

  /* Radii */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs:  0 1px 4px rgba(51,66,162,.07);
  --sh-sm:  0 2px 10px rgba(51,66,162,.09), 0 1px 4px rgba(0,0,0,.04);
  --sh-md:  0 4px 20px rgba(51,66,162,.11), 0 2px 8px rgba(0,0,0,.05);
  --sh-lg:  0 8px 36px rgba(51,66,162,.14), 0 4px 14px rgba(0,0,0,.07);
  --sh-xl:  0 16px 56px rgba(51,66,162,.16), 0 8px 22px rgba(0,0,0,.08);
  --sh-red: 0 4px 18px rgba(206,60,51,.28);

  /* Misc */
  --nav-h:  72px;
  --max-w:  1240px;
  --t-fast: 140ms ease;
  --t-base: 250ms ease;
  --t-slow: 440ms cubic-bezier(.25,.46,.45,.94);
  --z-nav:    1000;
  --z-mobile: 999;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Prevent grid/flex children from overflowing their track */
.grid-2 > *, .grid-3 > *, .grid-4 > *, .grid-5 > *,
.grid-bento > *, .grid-impact-2 > *, .grid-impact-3 > *,
.grid-pillars > *, .two-col > *, .event-card > *,
.directors-grid > *, .workshops-grid > * { min-width: 0; }
/* Long links / email addresses wrap instead of overflowing */
a { overflow-wrap: break-word; word-break: break-word; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section     { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-sm  { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--bg     { background: var(--bg); }
.section--white  { background: var(--surface); }
.section--dark   { background: var(--hero); color: #fff; }
.section--primary { background: var(--primary); color: #fff; }

/* Grid helpers */
.grid-2   { display: grid; grid-template-columns: repeat(2,1fr);  gap: 1.5rem; }
.grid-3   { display: grid; grid-template-columns: repeat(3,1fr);  gap: 1.5rem; }
.grid-4   { display: grid; grid-template-columns: repeat(4,1fr);  gap: 1.5rem; }
.grid-auto{ display: grid; grid-template-columns: repeat(auto-fill,minmax(270px,1fr)); gap: 1.5rem; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px)  { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

/* Flex helpers */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.stack        { display: flex; flex-direction: column; }
.stack-xs     { gap: 0.375rem; }
.stack-sm     { gap: 0.625rem; }
.stack-md     { gap: 1rem; }
.stack-lg     { gap: 1.75rem; }

/* ─── Typography ─── */
.display-xl {
  font-family: var(--ff-display);
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.display-lg {
  font-family: var(--ff-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.025em;
}
.display-md {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.heading-lg {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.heading-md {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.25;
}
.heading-sm {
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}
.body-lg { font-size: 1.125rem; line-height: 1.72; }
.body-md { font-size: 1rem;     line-height: 1.68; }
.body-sm { font-size: 0.875rem; line-height: 1.62; }
.label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-primary   { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted     { color: var(--muted); }
.text-white     { color: #fff; }
.text-center    { text-align: center; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  border-radius: var(--r-full);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
/* Water drop ripple effect */
.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}
.btn:hover::before {
  animation: dropImpact 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.btn:hover::after {
  animation: dropRipple 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s forwards;
}
@keyframes dropImpact {
  0%   { transform: translate(-50%, -50%) scale(0);    opacity: 0.7; }
  40%  { transform: translate(-50%, -50%) scale(1);    opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(8);    opacity: 0; }
}
@keyframes dropRipple {
  0%   { transform: translate(-50%, -50%) scale(0);    opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(14);   opacity: 0; }
}
/* Primary — indigo filled */
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(51,66,162,.28);
}
.btn-primary:hover {
  background: var(--primary-dk);
  box-shadow: 0 6px 24px rgba(51,66,162,.38);
  transform: translateY(-2px);
}
/* Red primary only inside the hero */
.hero .btn-primary,
.hero .btn-primary:hover {
  background: var(--secondary);
  box-shadow: var(--sh-red);
}
.hero .btn-primary:hover {
  background: var(--secondary-dk);
  box-shadow: 0 6px 24px rgba(206,60,51,.38);
}
/* Indigo filled (used where blue is needed explicitly) */
.btn-indigo {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(51,66,162,.28);
}
.btn-indigo:hover {
  background: var(--primary-dk);
  box-shadow: 0 6px 24px rgba(51,66,162,.38);
  transform: translateY(-2px);
}
/* Red alias — kept for backwards compat */
.btn-red {
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--sh-red);
}
.btn-red:hover {
  background: var(--secondary-dk);
  box-shadow: 0 6px 24px rgba(206,60,51,.38);
  transform: translateY(-2px);
}
/* White outline (on dark bg) */
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}
/* Indigo outline */
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(51,66,162,.25);
}
/* Red outline */
.btn-outline-secondary {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn-outline-secondary:hover {
  background: var(--secondary);
  color: #fff;
}
/* White filled (on coloured/dark bg) */
.btn-white {
  background: #fff;
  color: var(--secondary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--secondary-lt);
  border-color: var(--secondary-lt);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.5625rem 1.125rem; font-size: 0.8125rem; }

/* ─── Badges / Pills ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.875rem;
  border-radius: var(--r-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-primary  { background: var(--primary-lt);   color: var(--primary); }
.badge-secondary{ background: var(--secondary-lt); color: var(--secondary-dk); }
.badge-dark     { background: rgba(19,22,58,.65);   color: rgba(255,255,255,.9); }
.badge-white    { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.badge-red      { background: var(--secondary); color: #fff; }
.badge-archived { background: #FFF0EF; color: #a52e27; }
.badge-current  { background: var(--primary-lt); color: var(--primary); }

/* ══════════════════════════════════
   NAVIGATION
══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
  transition: box-shadow var(--t-base);
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.10);
}
.nav .container { height: 100%; }
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo { flex-shrink: 0; height: 56px; }
.nav__logo img { height: 100%; width: auto; object-fit: contain; }

.nav__links { display: flex; align-items: center; gap: 0.125rem; }
.nav__link {
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav__link:hover { color: var(--primary); background: var(--primary-lt); }
.nav__link.active {
  color: var(--primary);
  font-weight: 600;
}
.nav__search {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 0.375rem 0.5rem 0.375rem 1rem;
  gap: 0.375rem;
  transition: border-color var(--t-fast);
  flex-shrink: 0;
}
.nav__search:focus-within {
  border-color: var(--primary);
}
.nav__search-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.8125rem;
  font-family: var(--ff-body);
  width: 140px;
  line-height: 1;
}
.nav__search-input::placeholder { color: var(--muted-lt); }
.nav__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.nav__search-btn:hover { background: var(--primary-dk); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.nav__hamburger:hover { background: var(--bg); }
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t-base);
  transform-origin: center;
}
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--surface);
  padding: 1.5rem 1.5rem 2.5rem;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
  z-index: calc(var(--z-nav) - 1);
  border-top: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  font-size: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--r-md);
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.nav__mobile .nav__link:last-of-type { border-bottom: none; }
.nav__mobile .btn { text-align: center; justify-content: center; }
.nav__mobile .btn:first-of-type { margin-top: 1.25rem; }
.nav__mobile .btn + .btn { margin-top: 0.625rem; }
.nav__mobile-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-lt);
  padding: 0.875rem 1rem 0.25rem;
}
.nav__mobile-sub { padding-left: 1rem; }

/* ─── Dropdown Nav ─── */
.nav__item { position: relative; }
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__link--has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.375rem);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  min-width: 210px;
  padding: 0.375rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  z-index: calc(var(--z-nav) + 1);
}
.nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav__dropdown-item:hover { color: var(--primary); background: var(--primary-lt); }
.nav__dropdown-item-year {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: var(--r-xs);
  background: var(--bg);
  color: var(--muted);
  margin-left: auto;
}

.nav__actions { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
@media (max-width: 960px) {
  .nav__links, .nav__search, .nav__actions { display: none; }
  .nav__hamburger { display: flex; }
}

/* ══════════════════════════════════
   HERO (Homepage)
══════════════════════════════════ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, #080c22 0%, #141a4a 35%, #1e2558 65%, #2a1a52 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 90% 15%, rgba(206,60,51,.32) 0%, transparent 60%),
    radial-gradient(ellipse 50% 55% at 10% 85%, rgba(51,66,162,.45) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 55% 100%, rgba(45,24,90,.55) 0%, transparent 65%);
  pointer-events: none;
}
/* Decorative dot grid — radial vignette fade like reference */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.22) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 25%, black 75%);
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 25%, black 75%);
  pointer-events: none;
}
.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}
.hero__eyebrow { margin-bottom: 1.375rem; }
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.75rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: normal;
  color: var(--secondary-mid);
}
@media (max-width: 700px) {
  .hero__title { white-space: normal; font-size: clamp(2.25rem, 9vw, 3.25rem); }
}
.hero__subtitle {
  color: rgba(255,255,255,.68);
  font-size: 1.125rem;
  line-height: 1.72;
  margin-bottom: 2.25rem;
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.75rem;
}
.hero__actions .btn {
  min-width: 148px;
  justify-content: center;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255,255,255,.68);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero__meta-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

/* Hero right panel */
.hero__panel {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.hero__heart-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  margin: 3rem auto;
}
/* Glowing orb behind the heart */
.hero__heart-wrap::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(206,60,51,.35) 0%, rgba(51,66,162,.2) 50%, transparent 75%);
  filter: blur(28px);
  animation: orbPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.15); opacity: 1; }
}

/* Expanding rings — fixed px so they stay circular */
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(206, 60, 51, 0.55);
  width: 220px;
  height: 220px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: heartRing 5.5s ease-out infinite;
  pointer-events: none;
}
.hero__ring--2 { animation-delay: 1.5s; }
.hero__ring--3 { animation-delay: 3s; }

@keyframes heartRing {
  0%   { transform: translate(-50%, -50%) scale(0.85); opacity: 0.65; }
  75%  { opacity: 0.1; }
  100% { transform: translate(-50%, -50%) scale(3);    opacity: 0; }
}

.hero__heart-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 12px 40px rgba(206,60,51,.5))
    drop-shadow(0 4px 12px rgba(0,0,0,.35));
  animation: none;
  transform-origin: center center;
}
@keyframes heartbeat {
  0%   { transform: scale(1); }
  12%  { transform: scale(1.06); }
  24%  { transform: scale(1); }
  36%  { transform: scale(1.04); }
  50%  { transform: scale(1); }
  100% { transform: scale(1); }
}

@media (max-width: 520px) {
  .hero__heart-wrap { max-width: 320px; }
}
.hero__links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}
.hero__quick-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  color: rgba(255,255,255,.78);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all var(--t-base);
}
.hero__quick-link:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  color: #fff;
  transform: translateY(-1px);
}
.hero__quick-link-icon {
  width: 28px; height: 28px;
  border-radius: var(--r-xs);
  background: rgba(206,60,51,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__panel { order: -1; }
  .hero__subtitle { max-width: 100%; }
}

/* ══════════════════════════════════
   STATS BAR
══════════════════════════════════ */
.stats-bar {
  background: var(--hero);
  border-top: 1px solid rgba(255,255,255,.07);
  padding-block: 2.25rem;
}
.stats-bar__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1.5rem 2rem;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat__num span { color: var(--secondary-mid); }
.stat__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stats-bar__div {
  width: 1px; height: 44px;
  background: rgba(255,255,255,.1);
}
@media (max-width: 600px) { .stats-bar__div { display: none; } }

/* ══════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════ */
.page-hero {
  background: linear-gradient(150deg, var(--hero) 0%, var(--hero-mid) 60%, var(--hero-lt) 100%);
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 4.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 50% 120%, rgba(206,60,51,.15) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(51,66,162,.2) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; text-align: center; }
.page-hero__title { margin-bottom: 1rem; }
.page-hero__desc {
  color: rgba(255,255,255,.68);
  max-width: 56ch;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.72;
}

/* ══════════════════════════════════
   SECTION HEADERS
══════════════════════════════════ */
.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}
.section-header .section-header__desc { margin-inline: auto; }
.section-header--left,
.section-header.section-header--left { text-align: left; }
.section-header--left .section-header__desc { margin-inline: 0; }
.section-header__eyebrow { margin-bottom: 0.75rem; }
.section-header__title { margin-bottom: 1rem; color: var(--primary); }
.section-header__desc {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 58ch;
  line-height: 1.72;
}
/* heading-section is an alias for heading-lg */
.heading-section {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
/* On dark sections, override heading color */
.section--dark .section-header__title,
.section--primary .section-header__title { color: #fff; }

/* ══════════════════════════════════
   CARDS — Feature
══════════════════════════════════ */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: all var(--t-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: rgba(51,66,162,.2);
}
.card-pad { padding: 1.75rem; }

.feature-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: all var(--t-base);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: rgba(51,66,162,.18);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--primary-lt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.feature-icon--red { background: var(--secondary-lt); }
.feature-title {
  font-family: var(--ff-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════
   SPEAKER CARDS
══════════════════════════════════ */
.speaker-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: all var(--t-base);
}
.speaker-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: rgba(51,66,162,.15);
}
.speaker-card__avatar {
  aspect-ratio: 1;
  background: linear-gradient(150deg, var(--hero-mid), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}
.speaker-card__avatar img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Red top border accent */
.speaker-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.speaker-card__body { padding: 1.25rem; }
.speaker-card__name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text);
}
.speaker-card__role {
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.speaker-card__inst { font-size: 0.78rem; color: var(--muted); }
.speaker-card__flag { font-size: 1rem; margin-top: 0.625rem; }

/* Director card */
.director-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  flex: 0 0 calc(25% - 0.9375rem);
  min-width: 190px;
  box-shadow: var(--sh-xs);
  transition: all var(--t-base);
}
.director-card:hover {
  border-color: rgba(51,66,162,.25);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.director-card__avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--hero-mid), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin: 0 auto 1rem;
}
.director-card__name {
  font-family: var(--ff-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.375rem;
}
.director-card__loc {
  font-size: 0.775rem;
  color: var(--muted);
}

/* Filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: 0.5rem 1.125rem;
  border-radius: var(--r-full);
  font-size: 0.84375rem;
  font-weight: 600;
  border: 2px solid var(--border);
  color: var(--muted);
  background: var(--surface);
  transition: all var(--t-fast);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lt);
}

/* ══════════════════════════════════
   SCHEDULE
══════════════════════════════════ */
.day-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.day-tab {
  padding: 0.875rem 1.75rem;
  font-family: var(--ff-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--t-fast);
  cursor: pointer;
}
.day-tab:hover { color: var(--text); }
.day-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.session-list { display: flex; flex-direction: column; }
.session {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.session:last-child { border-bottom: none; }
.session__time {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  padding-top: 0.2rem;
}
.session__title {
  font-family: var(--ff-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.session__desc { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.625rem; }
.session__tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.session__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.625rem;
  border-radius: var(--r-full);
  background: var(--primary-lt);
  color: var(--primary);
}
.session--break {
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 0.875rem 1.25rem;
  margin-block: 0.25rem;
  border: none;
}
.session--break .session__title { color: var(--muted); font-size: 0.9375rem; }
.session--keynote {
  background: linear-gradient(135deg, #EEF0FB 0%, var(--surface) 100%);
  border-radius: var(--r-md);
  padding: 1.25rem;
  margin-block: 0.25rem;
  border: 1px solid rgba(51,66,162,.15);
}
.day-content { display: none; }
.day-content.active { display: block; }
@media (max-width: 640px) {
  .session { grid-template-columns: 1fr; gap: 0.375rem; }
  .session__time { font-size: 0.75rem; }
}

/* ══════════════════════════════════
   REGISTRATION / PRICING
══════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem 2rem;
  position: relative;
  transition: all var(--t-base);
}
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--sh-md); transform: translateY(-4px); }
.pricing-card--featured {
  border-color: var(--primary);
  background: linear-gradient(145deg, var(--primary-lt) 0%, var(--surface) 80%);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.pricing-type {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}
.pricing-amount {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-amount sub { font-size: 1rem; vertical-align: bottom; font-weight: 500; }
.pricing-period { font-size: 0.8125rem; color: var(--muted); margin-bottom: 1.5rem; }
.pricing-features { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.75rem; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.875rem; color: var(--muted);
}
.pricing-feature::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ══════════════════════════════════
   FAQ
══════════════════════════════════ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-family: var(--ff-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  gap: 1rem;
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--t-base);
  color: var(--primary);
}
.faq-answer {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.72;
  padding-bottom: 1.25rem;
  display: none;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { background: var(--primary); border-color: var(--primary); color: #fff; transform: rotate(45deg); }

/* ══════════════════════════════════
   TIMELINE / EDITIONS
══════════════════════════════════ */
.editions-timeline { position: relative; padding-left: 2.5rem; }
.editions-timeline::before {
  content: '';
  position: absolute;
  left: 9px; top: 0.5rem; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--border));
}
.edition-item { position: relative; padding-bottom: 3.5rem; }
.edition-item:last-child { padding-bottom: 0; }
.edition-item::before {
  content: '';
  position: absolute;
  left: -2.175rem; top: 0.375rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-lt), 0 0 0 7px rgba(51,66,162,.08);
  transition: transform var(--t-base);
}
.edition-item:hover::before { transform: scale(1.3); }
.edition-year {
  font-family: var(--ff-display);
  font-size: 0.75rem; font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.edition-title {
  font-family: var(--ff-display);
  font-size: 1.375rem; font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.edition-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 0.875rem; }
.edition-meta-item { font-size: 0.875rem; color: var(--muted); display: flex; align-items: center; gap: 0.375rem; }
.edition-desc { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; max-width: 60ch; }

/* ══════════════════════════════════
   ABOUT SECTIONS — Redesigned stacked layout
══════════════════════════════════ */
.ab-section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.ab-section--white { background: var(--surface); }
.ab-section--tint  { background: var(--bg); }

/* Centered header block */
.ab-section__hdr {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.ab-section__title {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin: 1rem 0 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.ab-section__desc {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 60ch;
  margin-inline: auto;
}

/* Centered body prose */
.ab-section__prose {
  max-width: 820px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 1.25rem;
}
.ab-section__prose p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}
@media (max-width: 640px) {
  .ab-section__prose p { text-align: left; }
}

/* 3-col feature cards */
.ab-section__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.ab-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--sh-xs);
  transition: all var(--t-base);
  text-align: center;
}
.ab-section--tint .ab-feature-card { background: var(--surface-2); }
.ab-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-top-color: var(--secondary);
}
.ab-feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--primary-lt);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.ab-feature-card__title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
}
.ab-feature-card__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .ab-section__cards { grid-template-columns: 1fr; gap: 1rem; }
}

/* Stats strip */
.ab-section__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-md);
  margin-bottom: 2.5rem;
  overflow: hidden;
}
.ab-stat-item {
  flex: 1;
  text-align: center;
  padding: 2rem 1.5rem;
}
.ab-stat-item__num {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.375rem;
}
.ab-stat-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ab-stat-item__sep {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 580px) {
  .ab-section__stats { flex-direction: column; }
  .ab-stat-item { width: 100%; border-bottom: 1px solid var(--border); }
  .ab-stat-item:last-child { border-bottom: none; }
  .ab-stat-item__sep { display: none; }
}

/* CTA row */
.ab-section__cta {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Image frame */
.ab-section__img-wrap {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  border: 1px solid var(--border);
}
.ab-section__img {
  width: 100%;
  height: clamp(320px, 45vw, 560px);
  object-fit: cover;
  display: block;
}
.ab-section__img-badge {
  position: absolute;
  bottom: 1.75rem;
  right: 1.75rem;
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  text-align: center;
  backdrop-filter: blur(8px);
}
.ab-section__img-badge-num {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  margin-bottom: 0.2rem;
}
.ab-section__img-badge-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}
@media (max-width: 580px) {
  .ab-section__img-badge { bottom: 1rem; right: 1rem; padding: 0.75rem 1.125rem; }
  .ab-section__img-badge-num { font-size: 1.375rem; }
}

/* ══════════════════════════════════
   ABOUT IFACI — Text Left / Image Right
══════════════════════════════════ */
.ab1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.ab1__heading { margin-block: 1rem 0; }
.ab1__line {
  width: 48px; height: 3px;
  background: var(--primary);
  border-radius: 3px;
  margin-block: 1.5rem;
}
.ab1__features {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.ab1__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}
.ab1__feature-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 0.3rem;
}

/* Image with offset accent box */
.ab1__img-wrap {
  position: relative;
  padding: 1.5rem 0 0 1.5rem;
}
.ab1__img-accent {
  position: absolute;
  top: 0; left: 0;
  width: 80%; height: 80%;
  background: var(--primary-lt);
  border-radius: var(--r-xl);
  z-index: 0;
}
.ab1__img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  display: block;
}
.ab1__img-tag {
  position: absolute;
  z-index: 2;
  bottom: -1.25rem;
  left: 2.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  text-align: center;
}
.ab1__img-tag-num {
  font-family: var(--ff-display);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.ab1__img-tag-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.75;
}

@media (max-width: 900px) {
  .ab1 { grid-template-columns: 1fr; gap: 3rem; }
  .ab1__img-wrap { padding: 1rem 0 0 1rem; }
}

/* ══════════════════════════════════
   ABOUT CHIP-CTO — Image Left / Text Right
══════════════════════════════════ */
.ab2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.ab2__img-wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.ab2__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  display: block;
}
.ab2__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 2rem;
  box-shadow: var(--sh-sm);
}
.ab2__stat { text-align: center; }
.ab2__stat-num {
  font-family: var(--ff-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.ab2__stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ab2__stat-sep {
  width: 1px; height: 36px;
  background: var(--border);
}
.ab2__heading { margin-block: 1rem 0; }
.ab2__line {
  width: 48px; height: 3px;
  background: var(--secondary);
  border-radius: 3px;
  margin-block: 1.5rem;
}

@media (max-width: 900px) {
  .ab2 { grid-template-columns: 1fr; gap: 3rem; }
  .ab2__stats { padding: 1rem 1.25rem; }
}
@media (max-width: 480px) {
  .ab2__stat-num { font-size: 1.25rem; }
}

/* ══════════════════════════════════
   VISION / MISSION CARDS
══════════════════════════════════ */
.vision-card {
  background: linear-gradient(150deg, var(--hero-mid) 0%, var(--primary) 70%, var(--secondary-dk) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.vision-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none;
}
.mission-card {
  background: linear-gradient(145deg, var(--primary-lt) 0%, var(--surface) 100%);
  border: 2px solid rgba(51,66,162,.2);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  height: 100%;
}

/* ══════════════════════════════════
   VENUE CARD
══════════════════════════════════ */
.venue-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
}
.venue-card__map {
  background: linear-gradient(150deg, var(--hero-mid) 0%, var(--primary) 100%);
  min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.venue-card__map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.venue-card__info { padding: 2.5rem 2.25rem; display: flex; flex-direction: column; gap: 1.25rem; justify-content: center; }
.venue-info-row { display: flex; align-items: flex-start; gap: 0.875rem; }
.venue-info-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--primary-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.venue-info-label { font-size: 0.75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
.venue-info-value { font-family: var(--ff-display); font-size: 1rem; font-weight: 700; color: var(--text); }
@media (max-width: 768px) {
  .venue-card { grid-template-columns: 1fr; }
  .venue-card__map { min-height: 220px; }
}

/* ══════════════════════════════════
   CTA BANNER
══════════════════════════════════ */
.cta-banner {
  background: linear-gradient(150deg, var(--hero) 0%, var(--hero-mid) 40%, var(--primary) 100%);
  border-radius: var(--r-2xl);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(206,60,51,.2) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(255,255,255,.06), transparent 50%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner__title { color: #fff; margin-bottom: 1rem; }
.cta-banner__desc {
  color: rgba(255,255,255,.72);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
  max-width: 54ch;
  margin-inline: auto;
  line-height: 1.72;
}
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ══════════════════════════════════
   EVENT QUICK-LINKS (Resource rows)
══════════════════════════════════ */
.resource-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all var(--t-base);
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}
.resource-link:hover {
  border-color: var(--primary);
  box-shadow: var(--sh-sm);
  transform: translateY(-2px);
}
.resource-link__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--primary-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.resource-link__text { flex: 1; }
.resource-link__title { font-family: var(--ff-display); font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.15rem; }
.resource-link__sub { font-size: 0.8rem; color: var(--muted); }
.resource-link__arrow { color: var(--primary); font-size: 1.125rem; flex-shrink: 0; transition: transform var(--t-fast); }
.resource-link:hover .resource-link__arrow { transform: translateX(3px); }
/* Red variant for primary action */
.resource-link--primary {
  background: var(--secondary);
  border-color: var(--secondary);
}
.resource-link--primary .resource-link__icon { background: rgba(255,255,255,.15); }
.resource-link--primary .resource-link__title,
.resource-link--primary .resource-link__sub { color: rgba(255,255,255,.9); }
.resource-link--primary .resource-link__sub { color: rgba(255,255,255,.7); }
.resource-link--primary .resource-link__arrow { color: #fff; }
.resource-link--primary:hover { background: var(--secondary-dk); border-color: var(--secondary-dk); }

/* ══════════════════════════════════
   SPONSORS
══════════════════════════════════ */
.sponsor-tier { margin-bottom: 2.5rem; }
.sponsor-tier__label {
  font-size: 0.75rem; font-weight: 700;
  color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1rem; text-align: center;
}
.sponsor-logos { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; }
.sponsor-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 2rem;
  font-family: var(--ff-display);
  font-size: 1rem; font-weight: 700;
  color: var(--muted);
  transition: all var(--t-base);
  min-width: 130px; text-align: center;
}
.sponsor-item:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.sponsor-item--lg { font-size: 1.25rem; min-width: 170px; padding: 1.25rem 2.5rem; }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  background: var(--hero);
  color: rgba(255,255,255,.58);
  padding-bottom: 2.25rem;
}
.footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}
.footer__brand img { height: 130px; width: auto; margin-bottom: 1.25rem; border-radius: var(--r-md); }
.footer__tagline { font-size: 1.5rem; line-height: 1.4; max-width: 26ch; color: #fff; font-weight: 600; }
.footer__col-title {
  font-family: var(--ff-display);
  font-weight: 700;
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__link { font-size: 0.875rem; color: rgba(255,255,255,.58); transition: color var(--t-fast); }
.footer__link:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom a { color: rgba(255,255,255,.4); transition: color var(--t-fast); }
.footer__bottom a:hover { color: rgba(255,255,255,.7); }
@media (max-width: 900px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px)  { .footer__grid { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; text-align: center; } }
@media (max-width: 580px)  { .footer__top { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; text-align: center; } }
@media (max-width: 480px)  { .footer__bottom { align-items: flex-start; text-align: left; } }

/* ══════════════════════════════════
   FORM INPUTS
══════════════════════════════════ */
.input {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(51,66,162,.12);
}
label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

/* ══════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
[data-animate].in-view { opacity: 1; transform: none; }
[data-animate][data-delay="100"] { transition-delay: 100ms; }
[data-animate][data-delay="150"] { transition-delay: 150ms; }
[data-animate][data-delay="200"] { transition-delay: 200ms; }
[data-animate][data-delay="250"] { transition-delay: 250ms; }
[data-animate][data-delay="300"] { transition-delay: 300ms; }
[data-animate][data-delay="400"] { transition-delay: 400ms; }
[data-animate][data-delay="500"] { transition-delay: 500ms; }
[data-animate][data-delay="600"] { transition-delay: 600ms; }

/* ══════════════════════════════════
   UTILITIES
══════════════════════════════════ */
.divider      { height: 1px; background: var(--border); }
.divider--dark { height: 1px; background: rgba(255,255,255,.1); }
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.25rem; }
.gap-lg { gap: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ─── Lucide outline icons ─── */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.feature-icon [data-lucide] { width: 24px; height: 24px; }
.icon-inline { width: 15px; height: 15px; vertical-align: -0.15em; }
.icon-sm  { width: 18px; height: 18px; }
.icon-md  { width: 24px; height: 24px; }
.icon-lg  { width: 32px; height: 32px; }
.icon-xl  { width: 40px; height: 40px; }
.icon-2xl { width: 56px; height: 56px; }
.icon-3xl { width: 72px; height: 72px; }

/* ══════════════════════════════════
   RESPONSIVE LAYOUT UTILITIES
══════════════════════════════════ */


/* Two-column layout (about, contact pages) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.two-col--lg-gap { gap: 5rem; }
.two-col > * { min-width: 0; }
@media (max-width: 768px) {
  .two-col, .two-col--lg-gap { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Five-column (trustees / leadership) */
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 580px)  { .grid-5 { grid-template-columns: repeat(2, 1fr); } }

/* Bento grid — 6-col base with span children (mission sections) */
.grid-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.grid-bento > .span-3 { grid-column: span 3; }
.grid-bento > .span-2 { grid-column: span 2; }
@media (max-width: 900px) {
  .grid-bento { grid-template-columns: 1fr 1fr; }
  .grid-bento > .span-3,
  .grid-bento > .span-2 { grid-column: span 1; }
}
@media (max-width: 540px) {
  .grid-bento { grid-template-columns: 1fr; }
}

/* Vision pillars — 3-col */
.grid-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3rem;
}
.grid-pillars > :nth-child(2) { border-left: 1px solid rgba(255,255,255,.1); border-right: 1px solid rgba(255,255,255,.1); }
@media (max-width: 640px) {
  .grid-pillars { grid-template-columns: 1fr; }
  .grid-pillars > :nth-child(2) { border-left: none; border-right: none; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* Impact stat card rows */
.grid-impact-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-bottom: 1.25rem; }
.grid-impact-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 768px) {
  .grid-impact-2 { grid-template-columns: 1fr; }
  .grid-impact-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .grid-impact-3 { grid-template-columns: 1fr; }
  .vision-quote-card.in-view { padding: 2rem 1.5rem; }
  .grid-5 { grid-template-columns: repeat(1, 1fr); }
}

/* Event card — horizontal image + content split */
.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  display: grid;
  grid-template-columns: 2fr 3fr;
}
.event-card__image { position: relative; overflow: hidden; min-height: 300px; }
.event-card__body { padding: 2.25rem; }
.event-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.5rem; margin-bottom: 0.875rem; }
.event-card__title { font-family: var(--ff-display); font-size: 1.625rem; font-weight: 800; color: var(--text); margin-bottom: 0.75rem; line-height: 1.2; }
.event-card__stats { display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
@media (max-width: 768px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card__image { min-height: 220px; }
}
@media (max-width: 490px) {
  .event-card__body { padding: 1.25rem; }
  .event-card__title { font-size: 1.25rem; }
  .event-card__stats { gap: 0.75rem 1.5rem; }
}

/* Gallery photo grid */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.5rem; }
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px)  { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 380px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Archive section header row */
.archive-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }

/* Message card body (responsive padding) */
.msg-body { padding: 3.5rem 4rem; position: relative; }
@media (max-width: 768px) { .msg-body { padding: 2rem 1.5rem; } }
@media (max-width: 480px) { .msg-body { padding: 1.5rem 1.25rem; } }

/* Signature strip */
.sig-strip { display: flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.sig-strip__item { flex: 1; min-width: 140px; padding: 1.25rem 1.5rem; border-right: 1px solid var(--border); }
.sig-strip__item:last-child { border-right: none; }
@media (max-width: 990px) {
  .sig-strip { flex-direction: column; }
  .sig-strip__item { border-right: none; border-bottom: 1px solid var(--border); }
  .sig-strip__item:last-child { border-bottom: none; }
}

/* Hero floating info cards */
.hero__float-top {
  position: absolute;
  top: -2.5rem; right: -2rem;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-xl);
  padding: 0.875rem 1.25rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__float-btm {
  position: absolute;
  bottom: 0; left: 0;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-xl);
  padding: 0.875rem 1.25rem;
  z-index: 3;
}
@media (max-width: 960px) {
  .hero__float-top, .hero__float-btm { display: none; }
}

/* Hero stats row (homepage) */
.hero-stats { display: flex; gap: 2.5rem; padding-top: 1.25rem; }
.hero-stats__div { width: 1px; background: rgba(255,255,255,.1); }
@media (max-width: 480px) {
  .hero-stats { gap: 1.5rem; }
  .hero-stats__div { display: none; }
}

/* Scientific page hero stat grid */
.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-grid > * { padding: 0.75rem 0.5rem; border-right: 1px solid rgba(255,255,255,.12); }
.hero-stat-grid > *:last-child { border-right: none; }
@media (max-width: 520px) {
  .hero-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stat-grid > *:nth-child(2n) { border-right: none; }
  .hero-stat-grid > *:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}

/* Course director / people cards grid (3-col → 2 → 1) */
.directors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
@media (max-width: 768px) { .directors-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .directors-grid { grid-template-columns: 1fr; } }

/* Workshop / program 2-col split */
.workshops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .workshops-grid { grid-template-columns: 1fr; } }

/* Contact page small-screen fixes */
@media (max-width: 480px) {
  .two-col--lg-gap { gap: 2rem; }
}

/* Event calendar featured banner */
.event-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
}
.event-banner__image { background: var(--bg); border-left: 1px solid var(--border); overflow: hidden; min-height: 320px; }
@media (max-width: 768px) {
  .event-banner { grid-template-columns: 1fr; }
  .event-banner__image { border-left: none; border-top: 1px solid var(--border); min-height: 220px; }
  .event-banner > :first-child { padding: 2rem 1.5rem; }
}

/* Event calendar list rows */
.event-list-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base);
}
.event-list-row:last-child { border-bottom: none; }
.event-list-row:hover { background: var(--bg); }
.event-list-row--no-cta { grid-template-columns: 90px 1fr; }
@media (max-width: 640px) {
  .event-list-row { grid-template-columns: 1fr; gap: 0.625rem; }
  .event-list-row--no-cta { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════
   EXTRACTED UTILITY CLASSES
   (replaces all inline style="…" attributes)
══════════════════════════════════ */

/* ─── Eyebrow / Overline text ─── */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow--red   { color: var(--secondary); }
.eyebrow--white { color: rgba(255,255,255,.55); }
.eyebrow--muted { color: var(--muted-lt); }
.eyebrow--sm    { font-size: 0.68rem; letter-spacing: 0.14em; }

/* ─── Info / Mission card ─── */
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--sh-xs);
}
.info-card--red-top { border-top: 3px solid var(--secondary); }

/* ─── Icon box ─── */
.icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--primary-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.icon-box--sm  { width: 40px; height: 40px; margin-bottom: 0; }
.icon-box--red { background: var(--secondary-lt); }

.icon-box__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 0.625rem;
}
.icon-box__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* ─── Avatar circles ─── */
.avatar {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.avatar--lg    { width: 56px; height: 56px; font-size: 1.125rem; margin: 0 auto 1.125rem; }
.avatar--md    { width: 44px; height: 44px; font-size: 1rem; }
.avatar--sm    { width: 36px; height: 36px; }
.avatar--red   { background: linear-gradient(135deg, var(--secondary), var(--secondary-dk)); }
.avatar--white { background: rgba(255,255,255,.2); }
/* Image inside an avatar — cover-fit & round to the container shape */
.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
/* Portrait variant — bigger, neutral surface, soft ring + shadow */
.avatar--photo {
  width: 104px;
  height: 104px;
  background: var(--surface-2);
  border: 3px solid var(--surface);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
@media (max-width: 700px) {
  .avatar--photo { width: 88px; height: 88px; border-width: 2px; }
}

/* ─── Trustee card ─── */
.trustee-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--sh-xs);
}
.trustee-card__name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.trustee-card__role       { font-size: 0.75rem; font-weight: 700; color: var(--secondary); }
.trustee-card__role--muted { font-size: 0.75rem; font-weight: 700; color: var(--muted); }

/* ─── Person card (course directors) ─── */
.person-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--sh-xs);
}
.person-card--intl {
  background: linear-gradient(135deg, var(--secondary-dk), var(--secondary));
  border-radius: var(--r-xl);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.person-card__name {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.person-card--intl .person-card__name { color: #fff; }
.person-card__role {
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.person-card--intl .person-card__role { color: rgba(255,255,255,.65); }
.person-card__loc { font-size: 0.8rem; color: var(--muted); }
.person-card--intl .person-card__loc { color: rgba(255,255,255,.75); }

/* ─── Impact cards ─── */
.impact-card {
  border-radius: var(--r-2xl);
  padding: 2.75rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.impact-card--blue {
  background: linear-gradient(135deg, var(--hero) 0%, var(--hero-mid) 55%, var(--primary) 100%);
}
.impact-card--red {
  background: linear-gradient(135deg, var(--secondary-dk) 0%, var(--secondary) 60%, var(--secondary-mid) 100%);
}
.impact-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
  color: inherit;
}
.impact-card__num {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 1.125rem;
}
.impact-card__line {
  width: 2.5rem;
  height: 2px;
  border-radius: 2px;
  margin-bottom: 1.125rem;
}
.impact-card__desc {
  font-size: 0.9375rem;
  line-height: 1.72;
  max-width: 340px;
}
.impact-card__watermark {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  font-family: var(--ff-display);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.impact-card--blue .impact-card__watermark { font-size: 9rem; color: rgba(255,255,255,.05); }
.impact-card--red  .impact-card__watermark { font-size: 8rem; color: rgba(255,255,255,.07); }
.impact-card__dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.impact-card--red .impact-card__dot-pattern { background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px); }
.impact-card__inner { position: relative; z-index: 1; }
.impact-card--blue .impact-card__label { color: var(--secondary); }
.impact-card--red  .impact-card__label { color: rgba(255,255,255,.55); }
.impact-card--blue .impact-card__line  { background: var(--secondary); }
.impact-card--red  .impact-card__line  { background: rgba(255,255,255,.35); }
.impact-card--blue .impact-card__desc  { color: rgba(255,255,255,.68); }
.impact-card--red  .impact-card__desc  { color: rgba(255,255,255,.75); }

/* Impact info cards (bottom 3) */
.impact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--secondary);
  border-radius: var(--r-xl);
  padding: 1.875rem;
  box-shadow: var(--sh-xs);
}
.impact-info-card__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.625rem;
  line-height: 1.35;
}
.impact-info-card__desc { font-size: 0.875rem; color: var(--muted); line-height: 1.75; }

/* ─── Stat row ─── */
.stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-row--dark-border { border-top-color: var(--border-dk); }
.stat-item__num {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-item__label { font-size: 0.775rem; color: var(--muted); margin-top: 0.25rem; }

/* ─── Decorative accent line ─── */
.divider-accent {
  width: 3rem;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  margin: 0 auto;
}
.divider-accent--left    { margin: 0; }
.divider-accent--primary { background: var(--primary); }

/* ─── Focus pill (hero) ─── */
.focus-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-full);
  padding: 0.375rem 0.875rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,.8);
}
.focus-pill__icon { width: 13px; height: 13px; color: var(--secondary); }

/* ─── Hero focus strip ─── */
.focus-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 0.5rem;
}

/* ─── Hero stat item ─── */
.hero-stat-item__num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-item__label {
  font-size: 0.72rem;
  color: rgba(255,255,255,.5);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ─── Hero page stat number / label (sci pages) ─── */
.hero-page-stat__num {
  font-family: var(--ff-display);
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-page-stat__label {
  font-size: 0.72rem;
  color: rgba(255,255,255,.5);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ─── Section topbar ─── */
.section-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

/* ─── Vision section ─── */
.vision-section {
  background: linear-gradient(135deg, var(--hero) 0%, var(--hero-mid) 60%, var(--primary) 100%);
  padding-block: clamp(5rem, 10vw, 8rem);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.vision-section__dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.11) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 25%, black 75%);
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 25%, black 75%);
  pointer-events: none;
}
.vision-section__blob-tl {
  position: absolute;
  top: -10%; left: -5%;
  width: 45%; height: 70%;
  background: radial-gradient(ellipse, rgba(206,60,51,.18) 0%, transparent 65%);
  pointer-events: none;
}
.vision-section__blob-br {
  position: absolute;
  bottom: -10%; right: -5%;
  width: 40%; height: 60%;
  background: radial-gradient(ellipse, rgba(51,66,162,.3) 0%, transparent 65%);
  pointer-events: none;
}
.vision-section__inner { position: relative; z-index: 1; }
.vision-section__hdr   { text-align: center; margin-bottom: 3.5rem; }
.vision-section__badge-mb { margin-bottom: 1.25rem; display: inline-block; }

/* ─── Vision quote card ─── */
.vision-quote-card {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-2xl);
  padding: 3rem 3.5rem;
  text-align: center;
  position: relative;
}
.vision-quote-card__icon {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vision-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.88);
  list-style: none;
  padding: 0;
  margin: 0;
}
.vision-list__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.vision-list__bullet {
  color: var(--secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.vision-quote-card__rule {
  width: 3rem;
  height: 2px;
  background: var(--secondary);
  margin: 2rem auto 0;
  border-radius: 2px;
}

/* ─── Vision pillar ─── */
.pillar { text-align: center; padding: 1.5rem 1rem; }
.pillar__icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.875rem;
}
.pillar__title {
  font-family: var(--ff-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.375rem;
}
.pillar__desc { font-size: 0.8rem; color: rgba(255,255,255,.5); line-height: 1.55; }

/* ─── Mission section header ─── */
.mission-hdr  { text-align: center; margin-bottom: 3rem; }
.mission-hdr__badge-mb { margin-bottom: 1.25rem; display: inline-block; }

/* ─── Message card ─── */
.msg-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}
.msg-card__accent-bar { height: 4px; background: linear-gradient(90deg, var(--primary) 0%, var(--primary-mid) 50%, var(--secondary) 100%); }
.msg-quote-mark {
  position: absolute;
  top: 1.5rem;
  left: 3rem;
  font-size: 9rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.05;
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}
.msg-body__inner   { position: relative; z-index: 1; }
.msg-para          { font-size: 1.0625rem; line-height: 1.9; color: var(--muted); margin-bottom: 1.5rem; }
.msg-para--strong  { font-size: 1.0625rem; line-height: 1.9; color: var(--text); font-weight: 500; margin-bottom: 2.5rem; }
.msg-sig-border    { border-top: 1px solid var(--border); padding-top: 2rem; }
.msg-salutation    { font-size: 0.9375rem; color: var(--muted); font-style: italic; margin-bottom: 1.75rem; }
.sig-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.sig-role          { font-size: 0.72rem; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.06em; }
.sig-role--muted   { font-size: 0.72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ─── Message section banner image ─── */
.msg-banner-wrap {
  margin-top: 4rem;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 16/6;
}
.msg-banner-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Impact / section header blocks ─── */
.impact-hdr       { text-align: center; margin-bottom: 3rem; }
.impact-hdr__badge-mb { margin-bottom: 1.25rem; display: inline-block; }

/* ─── Events section flex wrapper ─── */
.events-list           { display: flex; flex-direction: column; gap: 1.5rem; }
.events-list--no-gap   { display: flex; flex-direction: column; gap: 0; }

/* ─── Event card image overlays ─── */
.event-card__img-wrap { position: relative; width: 100%; height: 100%; }
.event-card__img-fill { width: 100%; height: 100%; object-fit: cover; }
.event-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,22,58,.55) 0%, transparent 60%);
}
.event-card__img-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}
.event-card__img-year {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255,255,255,.12);
  line-height: 1;
}
.event-card__edition-badge {
  background: var(--secondary);
  color: #fff;
  padding: 0.3rem 0.875rem;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.event-card__meta-text { font-size: 0.8rem; color: var(--muted); }
.event-card__meta-sep  { color: var(--border-dk); }
.event-card__desc      { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.event-card__stat-num  {
  font-family: var(--ff-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.event-card__stat-label {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

/* ─── Footer bottom flex ─── */
.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__bottom-link { color: rgba(255,255,255,.4); }
.footer__communa-logo { height: 52px; width: auto; opacity: 0.7; border-radius: 6px; transition: opacity var(--t-fast); }
.footer__communa-link { display: inline-flex; line-height: 0; text-decoration: none; }
.footer__communa-link:hover .footer__communa-logo { opacity: 1; }

/* ─── About page image block ─── */
.about-img-block {
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
}
.about-img-block img { width: 100%; height: 100%; object-fit: cover; }

/* ─── About flagship banner ─── */
.flagship-banner {
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 21/7;
  margin-bottom: 3rem;
}
.flagship-banner img { width: 100%; height: 100%; object-fit: cover; }

/* ─── About flagship content block ─── */
.flagship-content { max-width: 860px; margin: 0 auto; }

/* ─── Programme focus / contribution card ─── */
.prog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  margin-bottom: 2rem;
}
.prog-card__heading { font-weight: 600; color: var(--text); margin-bottom: 1.125rem; }
.prog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.prog-list__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--muted);
}
.prog-list__bullet {
  color: var(--secondary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ─── Contact person card ─── */
.contact-person-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.contact-person-card__hdr {
  background: var(--bg);
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border);
}
.contact-person-card__name { font-family: var(--ff-display); font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.2rem; }
.contact-person-card__role { font-size: 0.875rem; color: var(--primary); font-weight: 600; }
.contact-person-card__body { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-row--center { align-items: center; }
.contact-row__icon { color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; margin-top: 0.1rem; }
.contact-row--center .contact-row__icon { margin-top: 0; }
.contact-row__body { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.contact-row__org  { font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.contact-row__link { color: var(--primary); font-weight: 600; font-size: 1.0625rem; }
.contact-row__email { color: var(--primary); font-weight: 600; }

/* ─── Contact CTA ─── */
.contact-cta {
  background: linear-gradient(135deg, var(--hero-mid), var(--primary));
  border-radius: var(--r-xl);
  padding: 2rem;
  color: #fff;
}
.contact-cta__hdr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.contact-cta__title { font-family: var(--ff-display); font-size: 1rem; font-weight: 700; }
.contact-cta__desc  { font-size: 0.875rem; color: rgba(255,255,255,.8); margin-bottom: 1.25rem; line-height: 1.65; }

/* ─── Contact form ─── */
.form-col { display: flex; flex-direction: column; gap: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-input {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color var(--t-fast);
  font-family: var(--ff-body);
}
.form-input:focus { border-color: var(--primary); }
textarea.form-input { resize: vertical; }
.btn--full { width: 100%; justify-content: center; }

/* ─── reCAPTCHA wrapper ─── */
.recaptcha-wrapper {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* ─── Form success / error messages ─── */
.form-msg {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form-msg__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}
.form-msg--success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
}
.form-msg--success .form-msg__icon { background: #4caf50; color: #fff; }
.form-msg--error {
  background: #ffebee;
  border: 1px solid #ef9a9a;
  color: #c62828;
}
.form-msg--error .form-msg__icon { background: #e53935; color: #fff; }

/* ─── Archives gallery item ─── */
.gallery-item {
  aspect-ratio: 1;
  background: var(--bg);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Legal pages (Privacy Policy / Terms & Conditions) ─── */
.legal-content {
  max-width: 880px;
  margin: 0 auto;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.75;
}
.legal-content > * + * { margin-top: 1.1rem; }
.legal-content h2 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 1.75rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.legal-content p { margin: 0; }
.legal-content ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
}
.legal-content li { margin-bottom: 0.35rem; }
.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--primary-dk); }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content__updated {
  font-size: 0.8125rem;
  color: var(--muted-lt);
  margin-bottom: 1.5rem !important;
}

/* ─── Tooltip ─── */
.tooltip-wrap {
  position: relative;
  display: inline-block;
}
.tooltip-wrap .tooltip {
  display: block;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--text);
  color: #ffffff;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 20;
  box-shadow: 0 6px 16px rgba(13, 14, 20, 0.18);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.tooltip-wrap .tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--text);
}
.tooltip-wrap:hover .tooltip,
.tooltip-wrap:focus-within .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ─── Archives "Coming Soon" placeholder ─── */
.archives-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem 1rem;
}
.archives-coming-soon__img {
  max-width: 100%;
  width: clamp(220px, 40vw, 420px);
  height: auto;
  display: block;
}
.archives-coming-soon__text {
  color: var(--muted-lt);
  font-size: 1.0625rem;
  font-weight: 500;
  margin: 0;
}

/* ─── Archive subtitle row ─── */
.archive-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.375rem;
}
.archive-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.archive-section {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

/* ─── Event calendar ─── */
.event-cal-row__date { text-align: center; }
.event-cal-row__date-num {
  font-family: var(--ff-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--muted-lt);
  line-height: 1;
}
.event-cal-row__date-num--red { color: var(--secondary); }
.event-cal-row__date-month {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted-lt);
}
.event-cal-row__date-month--red { color: var(--secondary); }
.event-cal-row__name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.event-cal-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.event-cal-row__meta-item { display: flex; align-items: center; gap: 0.3rem; }

/* ─── Event calendar section label ─── */
.section-label-sm {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
}

/* ─── Featured banner text panel ─── */
.event-banner__panel {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
.event-banner__date-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ─── Schedule rows (india-valves-2023.html) ─── */
.sched-row {
  display: flex;
  gap: 0.875rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 0.3rem;
  align-items: flex-start;
}
.sched-row__time {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  min-width: 118px;
  padding-top: 0.125rem;
}
.sched-row__time--red { color: var(--secondary); }
.sched-row__body  { flex: 1; }
.sched-row__title { font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.sched-row__speaker { font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }

.sched-row--highlight {
  background: var(--primary-lt);
  border-color: var(--border-dk);
}
.sched-row--highlight .sched-row__time  { font-weight: 700; }
.sched-row--highlight .sched-row__title { font-size: 0.8125rem; font-weight: 700; color: var(--primary); }
.sched-row--highlight .sched-row__speaker { color: var(--primary); opacity: 0.7; }

.sched-row--award { background: var(--secondary-lt); border-color: var(--border-dk); }
.sched-row--award .sched-row__title { color: var(--text); font-weight: 600; }

.sched-row--break {
  padding: 0.5rem 0.875rem;
  border: 1px dashed var(--border-dk);
  background: var(--bg);
  align-items: center;
}
.sched-row--break .sched-row__time  { font-weight: 600; color: var(--muted); }
.sched-row--break .sched-row__title { font-size: 0.8125rem; color: var(--muted); font-weight: 400; }

.sched-row--symposia {
  padding: 0.5rem 0.875rem;
  background: rgba(51,66,162,.04);
  border-color: rgba(51,66,162,.2);
  align-items: center;
}
.sched-row--symposia .sched-row__title { color: var(--primary); font-weight: 600; }

.sched-badge {
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: var(--r-xs);
  white-space: nowrap;
  align-self: center;
}
.sched-badge--red { background: var(--secondary); }

/* ─── Sub-session rows (2018 indented) ─── */
.sched-sub-row {
  display: flex;
  gap: 0.875rem;
  padding: 0.5rem 0.875rem 0.5rem 1.75rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 0.2rem;
  align-items: flex-start;
}
.sched-sub-row__time {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  min-width: 100px;
  padding-top: 0.1rem;
}
.sched-sub-row__body  { flex: 1; }
.sched-sub-row__title { font-size: 0.8rem; color: var(--text); }
.sched-sub-row__speaker { font-size: 0.72rem; color: var(--muted); margin-top: 0.1rem; }
.sched-sub-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ─── Hall headers (scientific pages) ─── */
.hall-hdr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.hall-hdr--mt   { margin-top: 2rem; }
.hall-hdr__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
}
.hall-hdr__line  { flex: 1; height: 1px; background: var(--border-dk); }
.hall-hdr__note  { font-size: 0.72rem; color: var(--muted); }

/* ─── Day tab buttons (scientific pages) ─── */
.day-btn {
  border-radius: var(--r-lg);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--ff-body);
  text-align: left;
  transition: all var(--t-fast);
  padding: 0.75rem 1.5rem;
}
.day-btn--active   { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
.day-btn--inactive { background: var(--surface); color: var(--text-2); border: 1px solid var(--border); }
.day-btn__sub {
  font-size: 0.65rem;
  margin-bottom: 0.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.day-btn--active   .day-btn__sub { opacity: 0.75; }
.day-btn--inactive .day-btn__sub { color: var(--muted); }

/* Day tab container */
.day-tabs-row { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }

/* ─── Workshop rows ─── */
.ws-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
}
.ws-panel__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.875rem;
}
.ws-list { display: flex; flex-direction: column; gap: 0.375rem; }
.ws-row  { display: flex; gap: 0.625rem; }
.ws-row__time  { color: var(--muted); white-space: nowrap; min-width: 90px; font-size: 0.72rem; }
.ws-row__title { color: var(--text); font-size: 0.8rem; }

/* ─── Training village info bar ─── */
.tv-bar {
  margin-top: 1rem;
  padding: 0.875rem 1.125rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.tv-bar__label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.tv-bar__items { font-size: 0.8rem; color: var(--text-2); }

/* ─── Partner pills (india-valves-2018.html) ─── */
.partner-pill {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-md);
  padding: 0.5rem 1rem;
  font-weight: 700;
  color: #fff;
}
.partner-pill--sm { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,.8); }

/* ─── Hero (scientific pages) shared layout ─── */
.sci-hero {
  background: linear-gradient(135deg, var(--hero) 0%, var(--hero-mid) 55%, var(--primary) 100%);
  padding-top: calc(var(--nav-h) + clamp(4rem,9vw,7rem));
  padding-bottom: clamp(4rem,9vw,7rem);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sci-hero__dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.09) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}
.sci-hero__blob-tr {
  position: absolute;
  top: -10%; right: -5%;
  width: 45%; height: 70%;
  background: radial-gradient(ellipse, rgba(51,66,162,.3) 0%, transparent 65%);
  pointer-events: none;
}
.sci-hero__blob-tl {
  position: absolute;
  top: -10%; left: -5%;
  width: 45%; height: 70%;
  background: radial-gradient(ellipse, rgba(206,60,51,.16) 0%, transparent 65%);
  pointer-events: none;
}
.sci-hero__inner { position: relative; z-index: 1; }
.sci-hero__center { max-width: 740px; margin: 0 auto; text-align: center; }
.sci-hero__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}
.sci-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.25rem,5.5vw,3.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.sci-hero__title--2018 { font-size: clamp(2.5rem,6vw,4rem); }
.sci-hero__accent { color: var(--secondary); }
.sci-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}
.sci-hero__subtitle--plain { font-style: normal; margin-bottom: 2rem; }
.sci-hero__tagline { font-size: 0.9375rem; color: rgba(255,255,255,.55); margin-bottom: 2rem; }
.sci-hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.sci-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,.75);
}
.sci-hero__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

/* Partner strip (2018) */
.partner-strip {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.partner-strip__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 0.875rem;
}
.partner-strip__pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

/* ─── Partners grid (2023) ─── */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.partner-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.partner-card__tier {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.partner-card__name {
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}
.partner-card__name--dark { color: var(--text); }
.partner-card__name--sm {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.partner-assoc-bar {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.partner-assoc-bar__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.partner-assoc-pill {
  border-radius: var(--r-md);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.partner-assoc-pill--primary { background: var(--primary-lt); color: var(--primary); }
.partner-assoc-pill--red     { background: var(--secondary-lt); color: var(--secondary); }

/* ─── Badge spacing ─── */
.badge--spaced { display: inline-block; margin-bottom: 1.25rem; }

/* ─── Inline text accent ─── */
.text-accent-red { color: var(--secondary); }

/* ─── Badge size / colour helpers ─── */
.badge--xs        { font-size: 0.65rem; white-space: nowrap; }
.badge-dark-solid { background: var(--text); color: #fff; }
.badge-ghost      { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.2); }
.badge-red-solid  { background: var(--secondary); color: #fff; border: none; }
.badge-warn       { background: #FFF0F0; color: #CC0000; white-space: nowrap; }

/* ─── Flex center-wrap row (faculty / partner lists) ─── */
.flex-wrap-center { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ─── One-off spacing overrides ─── */
.mb-badge         { margin-bottom: 1.25rem; }
.mb-875           { margin-bottom: 0.875rem; }
.mb-2             { margin-bottom: 2rem; }
.mb-1125          { margin-bottom: 1.125rem; }
.mb-625           { margin-bottom: 0.625rem; }
.mb-0             { margin-bottom: 0; }

/* ─── Icon box with bottom margin variant ─── */
.icon-box--mb-lg  { margin-bottom: 1.125rem; }

/* ─── Section banner/featured padding override ─── */
.section--featured { padding-block: 3rem; }

/* ─── Superscript in sci hero ─── */
.sci-hero__sup { font-size: 0.55em; font-weight: 700; }

/* ─── Hero visual wrapper ─── */
.hero__visual-wrap { position: relative; }

/* ─── Hero float cards inner layout ─── */
.hero-float-inner { display: flex; align-items: center; gap: 0.875rem; }
.hero-float-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float-avatar--globe {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--hero-lt));
}
.hero-float-title {
  font-family: var(--ff-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.hero-float-sub  { font-size: 0.75rem; color: rgba(255,255,255,.55); }
.hero-float-num  { font-family: var(--ff-display); font-size: 1.125rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-float-label { font-size: 0.75rem; color: rgba(255,255,255,.55); margin-top: 0.1rem; }

/* ─── About section text section ─── */
.about-section__bg { background: #f8f4f3; }

/* ─── Events section bg ─── */
.events-section__bg { background: #f8f4f3; }

/* ══════════════════════════════════
   HERO SLIDER (Homepage)
   Centred "card" slider that sits inside .hero__container.
   The .hero's static dotted + gradient background remains
   visible all around the slider card.
══════════════════════════════════ */
.hero-slider {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* The viewport is the visible card — rounded, bordered, with shadow. */
.hero-slider__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: clamp(1rem, 1.6vw, 1.5rem);
  /* border: 1px solid rgba(255,255,255,.08); */
  border: 1px solid #fff;
  box-shadow:
    0 30px 70px rgba(0,0,0,.45),
    0 6px 18px rgba(0,0,0,.25);
  background: linear-gradient(135deg, #080c22 0%, #141a4a 35%, #1e2558 65%, #2a1a52 100%);
}

.hero-slider__track {
  display: flex;
  width: 100%;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hero-slider.is-dragging .hero-slider__track { transition: none; }

.hero-slider__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
}

/* Content slide — wraps the existing .hero__grid.
   The slider card now provides bounds, so this slide just adds
   comfortable inner padding. */
.hero-slider__slide--content {
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
}
.hero-slider__slide--content > .hero__grid {
  width: 100%;
}

/* Image slides — banner image fills the slide; flex stretch makes
   image slides match the height of the (tallest) content slide. */
.hero-slider__slide--image {
  background: #080c22;
  overflow: hidden;
  min-height: 460px;
}
.hero-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-slider__slide--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,34,0) 65%, rgba(8,12,34,.45) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ─── Controls strip (sits below the card) ─── */
.hero-slider__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 2.2vw, 1.75rem);
  flex-wrap: wrap;
}

/* Dot nav — icfi-style horizontal pill segments */
.hero-slider__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
}
.hero-slider__dot {
  width: 26px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}
.hero-slider__dot:hover { background: rgba(255,255,255,.6); }
.hero-slider__dot.is-active {
  background: #fff;
  width: 44px;
}
.hero-slider__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Arrows — sit inline beside dots on the right */
.hero-slider__arrows {
  display: flex;
  gap: 0.5rem;
}
.hero-slider__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.hero-slider__arrow:hover,
.hero-slider__arrow:focus-visible {
  background: var(--secondary, #ce3c33);
  border-color: rgba(255,255,255,.55);
  transform: scale(1.06);
  outline: none;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .hero-slider__slide--image { min-height: 380px; }
}
@media (max-width: 700px) {
  .hero-slider__slide--content {
    padding: clamp(1.5rem, 6vw, 2.5rem) clamp(1.25rem, 5vw, 1.75rem);
  }
  .hero-slider__slide--image { min-height: 320px; }
  .hero-slider__arrow { width: 40px; height: 40px; }
  .hero-slider__dot { width: 22px; }
  .hero-slider__dot.is-active { width: 36px; }
}
@media (max-width: 520px) {
  .hero-slider__controls {
    justify-content: center;
    gap: 0.875rem;
  }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .hero-slider__track { transition: none; }
}

/* ─── Hero content slide: bottom row (subtitle/CTA | focus strip/stats) ─── */
.hero__bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}
.hero__bottom-col { min-width: 0; }
.hero__bottom-col--meta {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
.hero__bottom-divider {
  align-self: stretch;
  width: 3px;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
}
/* Reset legacy spacing that no longer applies inside the bottom-row grid */
.hero__bottom-col--text .hero__subtitle  { max-width: none; margin-bottom: 1.75rem; }
.hero__bottom-col--text .hero__actions   { margin-bottom: 0; }
.hero__bottom-col--meta .focus-strip {
  border-top: 0;
  padding: 0;
  margin-top: 0;
}
.hero__bottom-col--meta .hero-stats { padding-top: 0; }

@media (max-width: 960px) {
  .hero__bottom-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hero__bottom-divider {
    width: 100%;
    height: 3px;
    align-self: stretch;
  }
}
@media (max-width: 480px) {
  .hero__bottom-row { gap: 1.25rem; }
  .hero__bottom-col--text .hero__subtitle { margin-bottom: 1.25rem; }
}

/* On mobile, keep slide 1 minimal — show only badge, logo, title,
   subtitle and CTA. Hide the inline dividers and the meta column
   (focus pills + stats) so the above-the-fold view stays clean. */
@media (max-width: 600px) {
  .hero__title-divider,
  .hero__bottom-divider,
  .hero__bottom-col--meta {
    display: none;
  }
}

/* ─── Hero content slide: logo + divider + title row ─── */
.hero__title-row {
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-bottom: 5.5rem;
}
.hero__title-logo {
  flex-shrink: 0;
  width: clamp(80px, 13vw, 150px);
  height: clamp(80px, 13vw, 150px);
  display: block;
  align-self: center;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}
.hero__title-divider {
  flex-shrink: 0;
  width: 3px;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
}
/* When the title sits inside the row, drop its own bottom margin */
.hero__title-row .hero__title { margin-bottom: 0; }

/* Single-column variant of the hero grid — used when the right-side
   visual is hidden so the text content takes the full row width. */
.hero__grid--single { grid-template-columns: 1fr; }

/* Visual column hidden but kept in DOM */
.hero__visual.is-hidden { display: none; }

@media (max-width: 960px) {
  .hero__title-row { margin-bottom: 1.25rem; }
}
@media (max-width: 700px) {
  .hero__title-logo {
    width: clamp(72px, 14vw, 110px);
    height: clamp(72px, 14vw, 110px);
  }
}
@media (max-width: 480px) {
  .hero__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
  }
  .hero__title-divider {
    width: 72px;
    height: 3px;
  }
  .hero__title-logo {
    width: 72px;
    height: 72px;
    align-self: flex-start;
  }
}

/* ══════════════════════════════════
   ARCHIVES PAGE
   Two-pane layout — editions list (left)
   + photo gallery (right) with custom
   lightbox.
══════════════════════════════════ */
.archives-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: flex-start;
}

/* ─── Left: editions list ─── */
.archives-aside {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  box-shadow: var(--sh-xs);
}
.archives-aside__title {
  font-family: var(--ff-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
  padding-inline: 0.25rem;
}
.archives-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.archives-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.875rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  color: var(--text);
  cursor: pointer;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base), transform var(--t-base);
}
.archives-tab:hover {
  background: var(--surface);
  border-color: var(--border);
}
.archives-tab.is-active {
  background: var(--secondary-lt);
  border-color: rgba(206, 60, 51, 0.18);
}
.archives-tab__text { min-width: 0; flex: 1; }
.archives-tab__title {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.archives-tab__title sup {
  font-size: 0.6em;
  font-weight: 700;
  margin-right: 0.06em;
  top: -0.5em;
}
.archives-tab__meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.archives-tab.is-active .archives-tab__title { color: var(--secondary-dk); }
.archives-tab__count {
  flex-shrink: 0;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--ff-display);
  font-size: 0.8125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.archives-tab.is-active .archives-tab__count {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

/* ─── Right: panel + photo grid ─── */
.archives-main { min-width: 0; }

.archives-panel { display: none; }
.archives-panel.is-active { display: block; }

.archives-panel__hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.archives-panel__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}
.archives-panel__eyebrow sup {
  font-size: 0.7em;
  font-weight: 700;
  top: -0.5em;
}
.archives-panel__title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.15;
}
.archives-panel__title sup {
  font-size: 0.55em;
  font-weight: 700;
  margin-right: 0.06em;
  top: -0.6em;
}
.archives-panel__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.archives-panel__count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
}
.photo-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,14,20,0) 60%, rgba(13,14,20,.35) 100%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.photo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.photo-card:hover img { transform: scale(1.05); }
.photo-card:hover::after { opacity: 1; }
.photo-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
  .archives-wrap {
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
  }
  .photo-grid { gap: 0.75rem; }
}

/* Tablet — aside moves above the gallery and edition tabs stack
   vertically (one below the other), same as the mobile layout. */
@media (max-width: 860px) {
  .archives-wrap {
    grid-template-columns: 1fr;
  }
  .archives-aside {
    position: static;
    padding: 1rem;
  }
  .archives-tabs {
    gap: 0.5rem;
  }
  .archives-tab {
    width: 100%;
  }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile — photo cards drop to a single column so each card occupies
   a full row; panel header items spread to opposite ends. */
@media (max-width: 600px) {
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .photo-card { aspect-ratio: 16 / 10; }
  .archives-panel__hdr { margin-bottom: 1.125rem; }
  .archives-panel__title { font-size: 1.35rem; }
  .archives-panel__actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* ══════════════════════════════════
   LIGHTBOX
══════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 34, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 240ms ease;
  padding: clamp(1rem, 3vw, 2.5rem);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox__figure {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.96);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox.is-open .lightbox__figure { transform: scale(1); }

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--r-md);
  box-shadow:
    0 24px 60px rgba(0,0,0,.55),
    0 8px 24px rgba(0,0,0,.35);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__footer {
  position: absolute;
  left: 50%;
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-full);
  max-width: calc(100vw - 6rem);
}
.lightbox__caption {
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60vw;
}
.lightbox__counter {
  font-family: var(--ff-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* Close + arrows */
.lightbox__close,
.lightbox__arrow {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.lightbox__close:hover,
.lightbox__arrow:hover,
.lightbox__close:focus-visible,
.lightbox__arrow:focus-visible {
  background: var(--secondary);
  border-color: rgba(255,255,255,0.45);
  outline: none;
}
.lightbox__close {
  top: clamp(0.875rem, 2vw, 1.5rem);
  right: clamp(0.875rem, 2vw, 1.5rem);
}
.lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__arrow:hover,
.lightbox__arrow:focus-visible { transform: translateY(-50%) scale(1.06); }
.lightbox__arrow--prev { left: clamp(0.875rem, 2vw, 1.5rem); }
.lightbox__arrow--next { right: clamp(0.875rem, 2vw, 1.5rem); }

@media (max-width: 600px) {
  .lightbox__close,
  .lightbox__arrow { width: 40px; height: 40px; }
  .lightbox__footer { max-width: calc(100vw - 4rem); }
  .lightbox__caption { max-width: 55vw; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox__figure { transition: none; }
}
