/* =============================================================
   NIM Digital Induction Brochure · style.css
   Author: NIM Communications
   Version: 1.0
   Design language: editorial, minimal, Apple/Stripe inspired
   ============================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Primary palette */
  --c-blue: #33348F;
  --c-blue-deep: #1F2078;
  --c-blue-darker: #1B1B57;
  --c-blue-soft: #ECECF7;
  --c-red: #EA1F29;
  --c-red-dark: #C7141D;

  /* Neutrals */
  --c-bg: #FFFFFF;
  --c-bg-soft: #F7F7F7;
  --c-bg-tint: #FAFAFB;
  --c-line: #E7E7EC;
  --c-line-strong: #D5D5DE;
  --c-text: #1B1B1B;
  --c-text-muted: #5A5A6A;
  --c-text-soft: #8A8A99;
  --c-white: #FFFFFF;
  --c-black: #0A0A0A;

  /* Typography */
  --f-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radii */
  --r-1: 6px;
  --r-2: 12px;
  --r-3: 18px;
  --r-4: 28px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.04);
  --sh-2: 0 4px 12px rgba(0, 0, 0, 0.06);
  --sh-3: 0 20px 60px rgba(27, 27, 87, 0.12);
  --sh-4: 0 30px 90px rgba(27, 27, 87, 0.20);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 200ms;
  --t-med: 400ms;
  --t-slow: 700ms;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

a { color: inherit; text-decoration: none; }

ol, ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; margin: 0; color: var(--c-text); }

p { margin: 0; }

input, button, textarea, select { font: inherit; }

::selection { background: var(--c-blue); color: #fff; }

/* ---------- 3. Reading progress ---------- */
.progress-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--c-red);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1000;
  transition: transform 100ms linear;
}

/* ---------- 4. Floating nav ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 1180px);
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: 10px 14px 10px 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-2);
  z-index: 100;
  transition: top var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 14px;
  color: var(--c-blue);
  padding: 4px 6px;
}
.nav-brand img { width: 120px; height: 45px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  margin: 0 var(--s-2);
  overflow: hidden;
}
.nav-links li a {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-text-muted);
  border-radius: var(--r-pill);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.nav-links li a:hover { color: var(--c-blue); }
.nav-links li a.active {
  color: var(--c-blue);
  background: var(--c-blue-soft);
}
.nav-links li a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--c-red);
  border-radius: 2px;
}
.nav-search-btn,
.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--c-blue);
  transition: background var(--t-fast) var(--ease);
}
.nav-search-btn:hover,
.nav-menu-btn:hover { background: var(--c-blue-soft); }
.nav-menu-btn { display: none; flex-direction: column; gap: 4px; padding: 10px; }
.nav-menu-btn span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. Sections / pages ---------- */
.section {
  position: relative;
  min-height: 100vh;
  padding: clamp(96px, 12vh, 160px) clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  scroll-snap-align: start;
}
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--c-red);
  border-radius: 2px;
  opacity: 0.6;
}
.section:first-child::before { display: none; }
html, body { scroll-snap-type: y proximity; }

.section-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--s-8);
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: var(--s-4);
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--c-red);
  border-radius: 1px;
}
.section-title {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-4);
  color: var(--c-blue-darker);
}
.section-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--c-text-muted);
  line-height: 1.55;
  max-width: 60ch;
}
.subsection { margin-top: var(--s-9); }
.subsection-title {
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
.subsection-lede { color: var(--c-text-muted); margin-bottom: var(--s-6); max-width: 60ch; }

.subsection + .subsection { margin-top: var(--s-8); }

/* ---------- 6. Cover ---------- */
.cover {
  color: var(--c-white);
  padding: 0;
  min-height: 100vh;
  overflow: hidden;
}
.cover-bg { position: absolute; inset: 0; z-index: 0; }
.cover-bg img { width: 100%; height: 100%; object-fit: cover; }
.cover-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(140px, 18vh, 200px) clamp(20px, 5vw, 64px) clamp(80px, 10vh, 120px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  gap: var(--s-7);
}
.cover-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--c-red);
  border-radius: 50%;
  display: inline-block;
}
.cover-title {
  font-size: clamp(60px, 11vw, 168px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: var(--s-4) 0 var(--s-3);
}
.cover-line { display: block; }
.cover-line-red {
  color: var(--c-red);
  -webkit-text-stroke: 0;
}
.cover-line-accent {
  background: linear-gradient(90deg, #ffffff 0%, #f5f5ff 40%, #ffd9dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.cover-organization {
  font-family: var(--f-head);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--s-7);
}
.cover-chartered {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}
.cover-theme {
  font-family: var(--f-head);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.4;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--s-7);
}
.cover-theme-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-right: 12px;
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}
.cover-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: var(--s-5) var(--s-8);
  margin-bottom: var(--s-7);
  font-family: var(--f-head);
}
.cover-meta-item { display: flex; flex-direction: column; gap: 4px; }
.cover-meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.cover-meta-value { font-size: 16px; font-weight: 600; color: #fff; }
.cover-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-7); }
.cover-foot {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--s-5);
}
.cover-emblem {
  margin-bottom: var(--s-4);
}
.cover-emblem img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}
.cover-logos {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.cover-logo { width: 56px; height: 56px; }
.cover-logo-65th { height: 56px; width: auto; }
.cover-tagline {
  font-family: var(--f-head);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--c-white); color: var(--c-blue); font-weight: 700; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); background: var(--c-blue-soft); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); font-weight: 600; }
.btn-ghost:hover { background: rgba(234, 31, 41, 0.2); border-color: var(--c-red); }

/* ---------- 8. Pledge ---------- */
.pledge { background: var(--c-bg); }
.pledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}
.pledge-card {
  padding: var(--s-6) var(--s-5);
  border-radius: var(--r-3);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  overflow: hidden;
}
.pledge-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #008751 33.33%, #fff 33.33%, #fff 66.66%, #008751 66.66%);
}
.pledge-card-emblem {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  opacity: 0.06;
}
.pledge-card-accent {
  background: var(--c-blue);
  color: var(--c-white);
  border-color: var(--c-blue);
}
.pledge-card-accent::before {
  background: linear-gradient(90deg, #008751 33.33%, #fff 33.33%, #fff 66.66%, #008751 66.66%);
}
.pledge-card-label {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #008751;
}
.pledge-card-accent .pledge-card-label { color: #ffd9dc; }
.pledge-card-text {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
  font-style: italic;
  color: var(--c-text);
}
.pledge-card-accent .pledge-card-text { color: rgba(255, 255, 255, 0.92); }

.dignitaries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.dignitary-card {
  padding: 0;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-3);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
}
.dignitary-portrait {
  width: 100%;
  height: 100%;
  min-height: 180px;
  overflow: hidden;
}
.dignitary-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dignitary-text {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-2);
}
.dignitary-title {
  font-family: var(--f-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}
.dignitary-name {
  font-family: var(--f-head);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.dignitary-role {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* ---------- 9. Table of contents ---------- */
.contents { background: var(--c-bg-soft); }
.toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.toc-item {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  background: var(--c-bg);
  transition: background var(--t-fast) var(--ease);
}
.toc-item:hover { background: var(--c-blue-soft); }
.toc-num {
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: 0.1em;
  min-width: 36px;
}
.toc-label {
  font-family: var(--f-head);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: -0.01em;
  flex: 1;
}
.toc-item::after {
  content: "→";
  color: var(--c-text-soft);
  font-size: 18px;
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.toc-item:hover::after { color: var(--c-red); transform: translateX(4px); }

/* ---------- 9. President ---------- */
.president { background: var(--c-bg); }
.president-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.president-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--c-blue-soft);
  box-shadow: var(--sh-3);
}
.president-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.president-portrait-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: calc(var(--r-3) - 6px);
  pointer-events: none;
}
.president-content { max-width: 60ch; }
.president-name {
  font-family: var(--f-head);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: var(--s-5);
}
.president-credentials {
  color: var(--c-red);
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s-5);
}
.prose p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
  color: var(--c-text);
  margin-bottom: var(--s-4);
}
.prose p:first-of-type::first-letter {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 3.6em;
  float: left;
  line-height: 0.9;
  margin: 6px 10px 0 0;
  color: var(--c-blue);
}
.signature {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
}
.signature img { width: 48px; height: 48px; }
.signature-name {
  font-family: var(--f-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.signature-title {
  font-size: 13px;
  color: var(--c-text-muted);
}

/* ---------- 10. Officers ---------- */
.officers { background: var(--c-bg-soft); }
.principal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-5);
}
.officer-card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-3);
  padding: var(--s-5);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.officer-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.officer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
  border-color: var(--c-blue);
}
.officer-card:hover::after { transform: scaleX(1); }
.officer-card-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-2);
  overflow: hidden;
  background: var(--c-blue-soft);
  margin-bottom: var(--s-4);
}
.officer-card-portrait img { width: 100%; height: 100%; object-fit: cover; }
.officer-card-name {
  font-family: var(--f-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}
.officer-card-credentials {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 4px 0 var(--s-2);
}
.officer-card-title {
  font-size: 13.5px;
  color: var(--c-text-muted);
  margin-bottom: var(--s-3);
}
.officer-card-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.past-presidents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-2);
  overflow: hidden;
}
.past-president {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: var(--c-bg);
}
.past-president-num {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text-soft);
  min-width: 32px;
}
.past-president-name {
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  color: var(--c-text);
}
.past-president-credentials {
  font-size: 12px;
  color: var(--c-text-muted);
  font-weight: 500;
  margin-top: 2px;
}
.past-president-tenure {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.council-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-2);
  overflow: hidden;
}
.council-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s-4) var(--s-5);
  background: var(--c-bg);
  border-left: 3px solid transparent;
}
.council-list li.council-gold { border-left-color: #D4AF37; background: #FFFBF0; }
.council-list li.council-blue { border-left-color: var(--c-blue); background: var(--c-blue-soft); }
.council-list li.council-grey { border-left-color: #8A8A99; background: #F5F5F7; }
.council-list li.council-red { border-left-color: var(--c-red); background: #FFF5F5; }
.council-name { font-family: var(--f-head); font-weight: 600; font-size: 15px; }
.council-credentials { font-size: 12px; color: var(--c-red); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.council-role { font-size: 13px; color: var(--c-text-muted); }

/* ---------- 11. Speaker ---------- */
.speaker { background: var(--c-bg); }
.speaker-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.speaker-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--c-blue-soft);
  box-shadow: var(--sh-3);
  position: sticky;
  top: 120px;
}
.speaker-portrait img { width: 100%; height: 100%; object-fit: cover; }
.speaker-content { max-width: 70ch; }
.speaker-role {
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-top: var(--s-2);
  margin-bottom: var(--s-6);
}
.speaker-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-line);
}
.speaker-meta-block h4 {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: var(--s-3);
}
.speaker-meta-block ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--c-text);
}
.speaker-meta-block li {
  position: relative;
  padding-left: 16px;
  line-height: 1.5;
}
.speaker-meta-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 1px;
  background: var(--c-blue);
}

/* ---------- 12. Programme ---------- */
.programme { background: var(--c-bg-soft); }
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  border-left: 2px solid var(--c-line);
  padding-left: var(--s-7);
  margin-left: 8px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  align-items: baseline;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 28px;
  width: 14px;
  height: 14px;
  background: var(--c-bg);
  border: 3px solid var(--c-blue);
  border-radius: 50%;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.timeline-item:hover::before {
  background: var(--c-red);
  border-color: var(--c-red);
  transform: scale(1.15);
}
.timeline-time {
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-red);
  text-transform: uppercase;
}
.timeline-body { max-width: 70ch; }
.timeline-title {
  font-family: var(--f-head);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}
.timeline-speaker {
  font-size: 13.5px;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.presentation-card {
  margin-top: var(--s-7);
  padding: var(--s-7);
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-darker) 100%);
  color: var(--c-white);
  border-radius: var(--r-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  box-shadow: var(--sh-3);
  position: relative;
  overflow: hidden;
}
.presentation-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 240px;
  height: 240px;
  background: var(--c-red);
  opacity: 0.12;
  border-radius: 50%;
  pointer-events: none;
}
.presentation-eyebrow {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffd9dc;
}
.presentation-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 28ch;
}
.presentation-speaker {
  font-family: var(--f-head);
  font-size: 16px;
  font-weight: 600;
}
.presentation-role { font-size: 14px; color: rgba(255, 255, 255, 0.8); }

/* ---------- 13. Mission ---------- */
.mission { background: var(--c-bg); }
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: var(--s-4);
}
.mission-card {
  padding: var(--s-7) var(--s-6);
  border-radius: var(--r-3);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.mission-card-accent {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-deep) 100%);
  color: var(--c-white);
  border-color: var(--c-blue);
  position: relative;
  overflow: hidden;
}
.mission-card-accent::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: var(--c-red);
  opacity: 0.1;
  border-radius: 50%;
  pointer-events: none;
}
.mission-card-label {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-red);
}
.mission-card-accent .mission-card-label { color: #ffd9dc; }
.mission-card-title {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.mission-card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
}
.mission-card-accent .mission-card-text { color: rgba(255, 255, 255, 0.92); }

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--s-2);
}
.values-list li {
  padding: 8px 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-family: var(--f-head);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--c-text);
}
.values-list li:nth-child(3n) { border-color: var(--c-red); color: var(--c-red); }
.values-list li:nth-child(4n) { background: var(--c-blue-soft); color: var(--c-blue); }

/* ---------- 14. Benefits ---------- */
.benefits { background: var(--c-bg-soft); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-4);
}
.benefit-card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-3);
  padding: var(--s-6) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  position: relative;
}
.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--s-5);
  right: var(--s-5);
  height: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-red));
  border-radius: 1px;
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.benefit-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-blue);
  box-shadow: var(--sh-2);
}
.benefit-card:hover::before { opacity: 1; }
.benefit-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-blue-soft), #dde0f7);
  border-radius: var(--r-2);
  color: var(--c-blue);
}
.benefit-icon img { width: 28px; height: 28px; }
.benefit-title {
  font-family: var(--f-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.benefit-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--c-text-muted);
}

/* ---------- 15. Inductees ---------- */
.inductees { background: var(--c-bg); }
.inductees-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  justify-content: space-between;
  margin-bottom: var(--s-5);
}
.inductees-tabs {
  display: inline-flex;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  padding: 4px;
  flex-wrap: wrap;
  gap: 2px;
}
.inductees-tab {
  padding: 9px 16px;
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-muted);
  border-radius: var(--r-pill);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.inductees-tab:hover { color: var(--c-blue); }
.inductees-tab.active {
  background: var(--c-blue);
  color: #fff;
}
.inductees-tab .count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
}
.inductees-tab:not(.active) .count {
  background: var(--c-blue-soft);
  color: var(--c-blue);
}
.inductees-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 14px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  min-width: 260px;
  color: var(--c-text-muted);
}
.inductees-search input {
  border: 0;
  background: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  color: var(--c-text);
}
.inductees-search input::placeholder { color: var(--c-text-soft); }
.inductees-search:focus-within { border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(51, 52, 143, 0.1); }

.inductees-count {
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-bottom: var(--s-4);
  letter-spacing: 0.04em;
}
.inductees-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-2);
  overflow: hidden;
}
.inductee {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s-4) var(--s-5);
  background: var(--c-bg);
  transition: background var(--t-fast) var(--ease);
  border-left: 3px solid transparent;
}
.inductee:hover { background: var(--c-blue-soft); }
.inductee.inductee-graduate { border-left-color: #fff; background: var(--c-bg); }
.inductee.inductee-associate { border-left-color: #A8A8A8; background: #F5F5F5; }
.inductee.inductee-member { border-left-color: var(--c-blue); background: var(--c-blue-soft); }
.inductee-sno {
  font-family: var(--f-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-text-soft);
  text-transform: uppercase;
}
.inductee-name {
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--c-text);
}
.inductee-empty { color: var(--c-text-muted); padding: var(--s-7) 0; text-align: center; }

/* ---------- 16. Contacts ---------- */
.contacts { background: var(--c-bg-soft); padding-bottom: var(--s-7); }
.contacts-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: var(--s-4);
}
.contacts-card {
  padding: var(--s-7) var(--s-6);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  overflow: hidden;
}
.contacts-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-red));
}
.contacts-card h3 {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: var(--s-2);
}
.contacts-name {
  font-family: var(--f-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.contacts-address { color: var(--c-text-muted); line-height: 1.6; }
.contacts-list { display: flex; flex-direction: column; gap: var(--s-3); }
.contacts-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--c-line);
  font-size: 14.5px;
}
.contacts-list li:first-child { border-top: 0; }
.contacts-list .label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}
.contacts-list .value { color: var(--c-text); font-weight: 500; }
.contacts-support li { flex-direction: row; align-items: baseline; justify-content: space-between; gap: var(--s-3); }
.contacts-support .name { font-family: var(--f-head); font-weight: 600; }
.contacts-support .category { color: var(--c-text-muted); font-size: 12.5px; }
.contacts-support .phone { font-family: var(--f-head); font-weight: 600; color: var(--c-blue); }
.contacts-card-qr p { color: var(--c-text-muted); font-size: 14.5px; }
.contacts-link {
  font-family: var(--f-head);
  color: var(--c-blue);
  font-weight: 600;
  font-size: 14px;
  word-break: break-all;
}
.contacts-qr {
  margin-top: var(--s-3);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 96px;
  height: 96px;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--c-line);
}
.qr-tile { background: var(--c-blue); border-radius: 1.5px; }
.qr-1 { grid-column: 1; grid-row: 1; }
.qr-3 { grid-column: 3; grid-row: 1; }
.qr-7 { grid-column: 1; grid-row: 3; }
.qr-9 { grid-column: 3; grid-row: 3; }
.qr-2 { grid-column: 2; grid-row: 1; background: transparent; }
.qr-4 { grid-column: 1; grid-row: 2; background: transparent; }
.qr-5 { grid-column: 2; grid-row: 2; background: var(--c-blue); }
.qr-6 { grid-column: 3; grid-row: 2; background: transparent; }
.qr-8 { grid-column: 2; grid-row: 3; background: transparent; }

/* ---------- 16. Footer ---------- */
.footer {
  position: relative;
  margin-top: var(--s-9);
  background: var(--c-blue-darker);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

/* Top accent line */
.footer-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-red) 0%, var(--c-red) 35%, var(--c-blue) 65%, var(--c-blue) 100%);
}

.footer-inner {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

/* Main grid */
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.85fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 72px 0 56px;
}

/* Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-institute {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.footer-motto {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
  margin-top: 4px;
}

/* Columns */
.footer-heading {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 24px 0;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

/* Contact list */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-contact-list li a:hover {
  color: #fff;
}

.footer-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--c-red);
  opacity: 0.85;
}

/* Links list */
.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-list li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding-bottom: 2px;
  transition: color 200ms ease, transform 200ms ease;
}

.footer-links-list li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-red);
  transition: width 250ms ease;
}

.footer-links-list li a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-links-list li a:hover::after {
  width: 100%;
}

/* Social */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-2px);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 clamp(24px, 5vw, 80px);
}

.footer-bottom-inner {
  width: min(100%, 1440px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  gap: 24px;
}

.footer-flag {
  height: 24px;
  width: auto;
  border-radius: 3px;
  flex-shrink: 0;
  opacity: 0.8;
}

.footer-copyright {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
}

.footer-edition {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* ---------- Responsive footer ---------- */
@media (max-width: 1200px) {
  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 600px;
  }
}
@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    padding: 56px 0 44px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}
@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 36px;
  }
  .footer-institute { font-size: 19px; }
  .footer-desc { max-width: none; }
  .footer-heading { margin-bottom: 18px; }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    padding: 24px 0;
    text-align: center;
  }
  .footer-copyright { text-align: center; }
  .footer-edition { text-align: center; }
}

/* ---------- 17. Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 30, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
}
.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.search-box {
  width: min(100%, 640px);
  background: var(--c-bg);
  border-radius: var(--r-3);
  box-shadow: var(--sh-4);
  padding: var(--s-5);
  transform: translateY(-12px) scale(0.98);
  transition: transform var(--t-med) var(--ease);
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.search-overlay.open .search-box { transform: translateY(0) scale(1); }
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--s-3) var(--s-4);
  background: var(--c-bg-soft);
  border-radius: var(--r-2);
  color: var(--c-text-muted);
}
.search-input-wrap input {
  flex: 1;
  border: 0;
  background: none;
  outline: none;
  font-size: 16px;
  color: var(--c-text);
}
.search-input-wrap kbd {
  font-family: var(--f-head);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--c-bg);
  color: var(--c-text-muted);
  border: 1px solid var(--c-line);
}
.search-results {
  margin-top: var(--s-4);
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-2);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.search-result:hover,
.search-result.active { background: var(--c-blue-soft); }
.search-result-kind {
  font-family: var(--f-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-red);
  min-width: 110px;
}
.search-result-text { font-size: 15px; font-weight: 500; color: var(--c-text); }
.search-result-text mark {
  background: rgba(234, 31, 41, 0.18);
  color: var(--c-text);
  padding: 0 2px;
  border-radius: 2px;
}
.search-hint {
  margin-top: var(--s-3);
  font-size: 12.5px;
  color: var(--c-text-muted);
  text-align: center;
}

/* ---------- 18. Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1080px) {
  .pledge-grid { grid-template-columns: 1fr 1fr; }
  .pledge-card:last-child { grid-column: 1 / -1; }
  .mission-grid { grid-template-columns: 1fr 1fr; }
  .mission-card-values { grid-column: 1 / -1; }
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .contacts-card-qr { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .contacts-card-qr > * { flex: 1 1 200px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: var(--r-3);
    box-shadow: var(--sh-3);
    align-items: stretch;
  }
  .nav-links.open li a { padding: 12px 14px; }
  .nav-links.open li a.active::after { display: none; }
  .president-grid,
  .speaker-grid { grid-template-columns: 1fr; }
  .speaker-portrait { position: static; max-width: 360px; }
  .toc { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .pledge-grid { grid-template-columns: 1fr; }
  .dignitaries-grid { grid-template-columns: 1fr; }
  .mission-card-values { grid-column: auto; }
  .contacts-grid { grid-template-columns: 1fr; }
  .contacts-card-qr { flex-direction: column; }
  .inductees-toolbar { flex-direction: column; align-items: stretch; }
  .inductees-search { width: 100%; }
  .inductees-tabs { justify-content: center; }
  .cover-actions .btn { flex: 1 1 220px; justify-content: center; }
  .cover-meta { grid-template-columns: 1fr; }
  .timeline { padding-left: var(--s-6); }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .timeline-item::before { left: -27px; top: 18px; }
}
@media (max-width: 600px) {
  .section { padding: 120px 16px; }
  .cover-title { font-size: clamp(48px, 16vw, 80px); }
  .cover-organization { font-size: 15px; }
  .cover-theme { font-size: 17px; }
  .cover-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cover-actions { flex-direction: column; align-items: stretch; }
  .cover-actions .btn { justify-content: center; }
  .nav { top: 10px; padding: 8px 10px 8px 14px; }
  .nav-brand-text { display: none; }
  .section-head { margin-bottom: var(--s-6); }
  .inductees-list { grid-template-columns: 1fr 1fr; }
  .past-presidents,
  .council-list { grid-template-columns: 1fr; }
  .dignitary-card { grid-template-columns: 1fr; }
  .dignitary-portrait { min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 20. Focus states ---------- */
:focus-visible {
  outline: 3px solid var(--c-red);
  outline-offset: 2px;
  border-radius: 4px;
}
.nav-links a:focus-visible,
.btn:focus-visible { outline-offset: 4px; }

/* ---------- 21. Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: var(--sh-3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), background var(--t-fast) var(--ease);
  z-index: 90;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--c-blue-deep);
  transform: translateY(-2px);
}

/* ---------- 22. Past presidents image ---------- */
.past-presidents-image {
  margin-bottom: var(--s-6);
  border-radius: var(--r-3);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-2);
}
.past-presidents-image img {
  width: 100%;
  height: auto;
  display: block;
}

.empty-note {
  color: var(--c-text-muted);
  font-style: italic;
  font-size: 14px;
  padding: var(--s-4) 0;
}
