/* ==========================================================================
   Jammu Society of Anesthesiologists — custom design layer
   Loaded after tailwind.css. Component classes, tokens and animations.
   ========================================================================== */

/* Palette follows the ISA logo's royal blue (#1424C4). Token names are historical:
   --navy-* = deep blues, --teal-* = logo blue (primary), --gold-* = light-blue accent. */
:root {
  --navy: #0A1250;
  --navy-950: #060B33;
  --navy-900: #08104A;
  --navy-800: #142070;
  --navy-700: #1D2C8F;
  --teal: #1424C4;
  --teal-700: #0F1C9A;
  --teal-300: #7F95FF;
  --teal-50: #ECEFFE;
  --gold: #8EA2FF;
  --gold-text: #2A3BCB;
  --gold-50: #EEF1FF;
  --off: #F6F8FE;
  --slate: #1E2547;
  --muted: #545C80;
  --line: #DDE2F3;
  --line-soft: #EBEEF8;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 18, 80, .06), 0 1px 1px rgba(10, 18, 80, .03);
  --shadow: 0 14px 34px -16px rgba(10, 18, 80, .22), 0 2px 6px -2px rgba(10, 18, 80, .06);
  --shadow-lg: 0 34px 70px -28px rgba(6, 11, 51, .45);

  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
[hidden] { display: none !important; }
#top:focus { outline: none; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--off);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); letter-spacing: -0.02em; line-height: 1.12; font-weight: 750; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
::selection { background: var(--teal); color: #fff; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container-x { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .container-x { padding-inline: 24px; } }
@media (min-width: 1024px) { .container-x { padding-inline: 40px; } }

.section { padding-block: 72px; }
@media (min-width: 1024px) { .section { padding-block: 112px; } }
.section-tight { padding-block: 56px; }
@media (min-width: 1024px) { .section-tight { padding-block: 80px; } }
.bg-white-panel { background: var(--white); }
.bg-off { background: var(--off); }
.border-y-soft { border-block: 1px solid var(--line-soft); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-700);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; flex: none; }
.on-dark .eyebrow { color: var(--gold); }
.on-dark .eyebrow::before { background: var(--teal-300); }

.h-display { font-size: clamp(2.35rem, 6.2vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.h-page { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
.h-section { font-size: clamp(1.75rem, 3.6vw, 2.75rem); letter-spacing: -0.028em; font-weight: 780; }
.h-card { font-size: 1.15rem; letter-spacing: -0.01em; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.7; color: var(--muted); }
.on-dark .lead { color: rgba(255, 255, 255, .78); }
.text-muted { color: var(--muted); }
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold-text); }
.serif-accent { font-style: italic; font-weight: 600; color: var(--teal); }
.on-dark .serif-accent { color: var(--teal-300); }

.prose-jsa p { margin-top: 1.15em; font-size: 1.075rem; line-height: 1.8; color: var(--slate); }
.prose-jsa p:first-child { margin-top: 0; }
.prose-jsa strong { color: var(--navy); font-weight: 650; }
.dropcap::first-letter {
  float: left; font-family: var(--font-head); font-weight: 800; color: var(--teal);
  font-size: 3.6em; line-height: .86; margin: .08em .12em 0 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .005em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.icon-arrow { transform: translateX(3px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -10px rgba(20, 36, 196, .7); }
.btn-primary:hover { background: var(--teal-700); color: #fff; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: #B0BDFF; color: var(--navy-950); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .32); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--font-head); font-weight: 700; color: var(--teal-700); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--teal-300); }
.on-dark .link-arrow:hover { color: #fff; }

/* ---------- Top strip & header ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.topbar-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .8; }
.topbar a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

/* "Registered in 2014" highlight in the top strip */
.topbar-since {
  display: inline-flex; align-items: center; gap: 7px; margin-block: 5px; padding: 4px 12px 4px 8px; border-radius: 999px;
  background: linear-gradient(100deg, #FFD978, #F5B82E); color: #2A1A00;
  font-size: .78rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 0 16px -3px rgba(245, 184, 46, .6);
}
.topbar-since svg { width: 14px; height: 14px; flex: none; fill: currentColor; stroke: none; }
.topbar-since b { font-family: var(--font-head); font-weight: 800; }
/* Two badges side by side don't fit on small phones: stack them. */
@media (max-width: 479px) {
  .topbar-inner { flex-wrap: wrap; justify-content: center; gap: 0 10px; padding-block: 2px; }
}

/* Registration badge in the top strip */
.topbar-reg {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 9px; margin-block: 5px; padding: 4px 14px 4px 5px; border-radius: 999px;
  background:
    linear-gradient(var(--navy-950), var(--navy-950)) padding-box,
    linear-gradient(100deg, rgba(142, 162, 255, .9), rgba(20, 36, 196, .9) 45%, rgba(142, 162, 255, .9)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 18px -4px rgba(127, 149, 255, .55);
  white-space: nowrap;
}
.topbar-reg::after { /* periodic shimmer sweep */
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(142, 162, 255, .28), transparent);
  transform: skewX(-20deg); animation: reg-shine 6s ease-in-out 1.5s infinite;
}
.reg-icon {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: linear-gradient(145deg, var(--teal), var(--navy-700)); color: #fff;
  box-shadow: 0 0 0 2px rgba(142, 162, 255, .35);
}
.reg-icon svg { width: 14px; height: 14px; }
.reg-label {
  display: none; padding-right: 9px; border-right: 1px solid rgba(255, 255, 255, .18);
  font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-300);
}
@media (min-width: 640px) { .reg-label { display: inline; } }
.reg-num { font-size: .8rem; color: rgba(255, 255, 255, .78); letter-spacing: .01em; }
.reg-num b {
  margin-left: 2px; font-family: var(--font-head); font-weight: 800; font-size: .86rem; letter-spacing: .02em;
  background: linear-gradient(100deg, #fff 0%, #CBD4FF 60%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes reg-shine { 0%, 70% { left: -40%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .topbar-reg::after { animation: none; display: none; } }
@media (max-width: 359px) { .reg-num { font-size: .74rem; } .reg-num b { font-size: .8rem; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10, 18, 80, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-width: 0; }
.wordmark-logo { width: 46px; height: 46px; flex: none; object-fit: contain; transition: transform .4s var(--ease); }
@media (min-width: 400px) { .wordmark-logo { width: 52px; height: 52px; } }
.wordmark:hover .wordmark-logo { transform: rotate(-6deg) scale(1.04); }
/* On dark backgrounds the blue seal sits on a white disc so it stays legible */
.wordmark--light .wordmark-logo { width: 56px; height: 56px; padding: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(142, 162, 255, .55); }
@media (prefers-reduced-motion: reduce) { .wordmark:hover .wordmark-logo { transform: none; } }
.wordmark-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.wordmark-top { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-700); }
.wordmark-main { font-family: var(--font-head); font-size: 1.18rem; font-weight: 800; letter-spacing: -0.015em; color: var(--navy); margin-top: 4px; }
@media (min-width: 400px) { .wordmark-main { font-size: 1.3rem; } }
.wordmark:hover .wordmark-main { color: var(--teal-700); }
.wordmark--light .wordmark-main { color: #fff; }
.wordmark--light .wordmark-top { color: var(--gold); }

.primary-nav { display: none; }
@media (min-width: 1024px) { .primary-nav { display: block; } }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 10px 14px; border-radius: 10px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 650; font-size: .95rem; color: var(--slate); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--navy); background: var(--off); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--teal-700); }
.nav-link[aria-current="page"]::after, .nav-link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold);
}
.nav-trigger svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 290px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dropdown.is-open .dropdown-menu,
html:not(.js) .nav-dropdown:hover .dropdown-menu,
html:not(.js) .nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
}
.nav-dropdown.is-open .nav-trigger svg { transform: rotate(180deg); }
.dropdown-link { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--slate); }
.dropdown-link:hover, .dropdown-link:focus-visible { background: var(--off); }
.dropdown-link[aria-current="page"] { background: var(--teal-50); }
.dropdown-title { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.dropdown-desc { display: block; font-size: .84rem; color: var(--muted); margin-top: 2px; }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }
/* Six nav items leave no room for the CTA on small laptops; Contact is still in the nav. */
@media (min-width: 1024px) and (max-width: 1279px) { .header-cta { display: none; } }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
html:not(.js) .menu-toggle { display: none; }

.mobile-panel { border-top: 1px solid var(--line-soft); background: #fff; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.js .mobile-panel:not(.is-open) { display: none; }
@media (min-width: 1024px) { .mobile-panel { display: none !important; } }
html:not(.js) .site-header { position: relative; }
.mobile-list { padding-block: 12px 20px; }
.mobile-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 12px 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-link[aria-current="page"] { color: var(--teal-700); }
.mobile-link[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.mobile-group-label { display: block; padding: 18px 4px 6px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mobile-sublink { padding-left: 16px; font-weight: 600; font-size: 1rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(1000px 520px at 85% 10%, rgba(20, 36, 196, .45), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(20, 36, 196, .22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 70%);
}
.hero-lines { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero-inner { display: grid; gap: 56px; align-items: center; padding-block: 64px 80px; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.08fr .92fr; gap: 48px; padding-block: 96px 112px; } }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-est {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; color: rgba(255, 255, 255, .72);
}
.hero-est strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--gold); letter-spacing: -0.02em; }

.hero-stage { position: relative; width: 100%; max-width: 480px; margin-inline: auto; aspect-ratio: 1 / 1.02; }
.hero-frame {
  position: absolute; margin: 0; overflow: hidden; border-radius: 22px; background: var(--navy-800);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .14);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-frame--main { right: 0; top: 0; width: 64%; aspect-ratio: 4 / 5; }
.hero-frame--second { left: 0; bottom: 4%; width: 40%; aspect-ratio: 4 / 5; border: 4px solid var(--navy); }
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(6, 11, 51, .88));
  font-size: .76rem; line-height: 1.35; color: rgba(255, 255, 255, .9);
}
.hero-caption b { display: block; font-family: var(--font-head); font-size: .9rem; color: #fff; }
.hero-frame--main .hero-caption { text-align: right; padding-bottom: 14px; }
.hero-badge {
  position: absolute; right: 6%; bottom: 0; width: 46%; padding: 18px 20px; border-radius: 18px;
  background: var(--gold-50); color: var(--navy); box-shadow: var(--shadow-lg);
}
.hero-badge .k { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.hero-badge .v { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; line-height: 1.25; margin-top: 4px; }
.hero-ring { position: absolute; left: 6%; top: 4%; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(142, 162, 255, .55); }
.hero-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
@media (max-width: 420px) {
  .hero-badge { width: 56%; padding: 14px 14px; }
  .hero-badge .v { font-size: .92rem; }
  .hero-caption { font-size: .7rem; padding: 28px 10px 10px; }
  .hero-caption b { font-size: .8rem; }
}

/* ---------- Home hero (banner) ---------- */
.hero2 {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--navy-950);
  display: flex; flex-direction: column; min-height: 660px;
}
@media (min-width: 1024px) { .hero2 { min-height: min(880px, calc(100vh - 116px)); } }
.hero2-inner { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; padding-block: 56px 36px; width: 100%; }
@media (min-width: 1024px) { .hero2-inner { padding-block: 64px 40px; } }
.hero2-copy { min-width: 0; max-width: 54rem; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero2 .hero2-title { font-size: clamp(2.4rem, 6vw, 4.6rem); }

.hero2-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(142, 162, 255, .38);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: rise .8s var(--ease) both;
}
.hero2-pill .sep { color: var(--gold); }
.hero2-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.hero2-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--gold); animation: pulse-ring 2.4s ease-out infinite; }

.hero2-title {
  margin-top: 26px; color: #fff; font-size: clamp(2.55rem, 6.4vw, 5.1rem); font-weight: 800;
  letter-spacing: -0.042em; line-height: 1.02;
}
.hero2-title .line { display: block; animation: rise .9s var(--ease) both; }
.hero2-title .l1 { animation-delay: .1s; }
.hero2-title .l2 { animation-delay: .22s; }
.hero2-title .l3 { animation-delay: .34s; }
.hero2-title .accent {
  background: linear-gradient(100deg, #5468F0 0%, #E0E6FF 22%, #8EA2FF 45%, #CBD4FF 70%, #5468F0 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .14em; margin-bottom: -.14em; /* keep the "g" descender inside the clipped gradient */
  animation: rise .9s var(--ease) .22s both, shimmer 7s linear 1.2s infinite;
}
.hero2-lead { margin-top: 24px; max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.7; color: rgba(255, 255, 255, .78); animation: rise .9s var(--ease) .46s both; }
.hero2-actions { animation: rise .9s var(--ease) .58s both; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1rem; }

/* Landmark slider: crossfading full-bleed photos with a slow zoom; autoplay is driven by the
   progress-bar animation (its animationend advances the slide, see main.js). */
.hero-slides { position: absolute; inset: 0; z-index: -2; background: var(--navy-950); }
.hero-slide { position: absolute; inset: 0; margin: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease), visibility 0s linear 1.4s; }
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity 1.4s var(--ease), visibility 0s; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.02);
  transition: transform 0s 1.4s; /* hold the zoom while fading out, then reset unseen */
}
[data-hero-slider].is-ready .hero-slide.is-active img { transform: scale(1.14); transition: transform 9s linear; }
.hero-slide:nth-child(1) img { transform-origin: 50% 40%; }
.hero-slide:nth-child(2) img { transform-origin: 70% 30%; }
.hero-slide:nth-child(3) img { transform-origin: 60% 45%; }
.hero-slide:nth-child(4) img { transform-origin: 75% 55%; }
.hero-slide:nth-child(5) img { transform-origin: 55% 35%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(5, 9, 40, .95) 0%, rgba(5, 9, 40, 0) 42%),
    linear-gradient(180deg, rgba(5, 9, 40, .55) 0%, rgba(5, 9, 40, 0) 22%),
    linear-gradient(90deg, rgba(5, 9, 40, .8) 0%, rgba(5, 9, 40, .62) 55%, rgba(5, 9, 40, .45) 100%);
}
@media (min-width: 1024px) {
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(5, 9, 40, .92) 0%, rgba(5, 9, 40, 0) 34%),
      linear-gradient(180deg, rgba(5, 9, 40, .5) 0%, rgba(5, 9, 40, 0) 20%),
      linear-gradient(90deg, rgba(5, 9, 40, .92) 0%, rgba(5, 9, 40, .72) 36%, rgba(5, 9, 40, .2) 66%, rgba(5, 9, 40, .1) 100%);
  }
}

.hero-ui { position: relative; z-index: 2; width: 100%; padding-bottom: 26px; }
.hero-ui-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.hero-caps { display: grid; min-width: 0; }
.hero-cap {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: 3px; padding-left: 16px; border-left: 2px solid var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}
.hero-cap.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease) .35s, transform .7s var(--ease) .35s, visibility 0s; }
.hero-cap .num { font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .16em; color: var(--gold); }
.hero-cap .num i { font-style: normal; color: rgba(255, 255, 255, .5); }
.hero-cap b { font-family: var(--font-head); font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.hero-cap .where { font-size: .9rem; color: rgba(255, 255, 255, .82); }

.hero-ctrls { display: flex; gap: 10px; flex: none; }
.hero-btn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.hero-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.hero-btn:active { transform: scale(.94); }
.hero-btn svg { width: 20px; height: 20px; }
.hero-btn .i-play, .is-stopped .hero-btn .i-pause { display: none; }
.is-stopped .hero-btn .i-play { display: block; }

.hero-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 22px; }
.hero-tab {
  display: flex; flex-direction: column-reverse; gap: 10px; padding: 12px 0 4px; text-align: left; cursor: pointer;
  background: none; border: 0; font: inherit; font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .58);
  transition: color .3s var(--ease);
}
.hero-tab:hover, .hero-tab.is-active { color: #fff; }
.hero-tab .bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hero-tab .bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-tab.is-active .bar span { animation: hero-progress 7s linear forwards; }
.is-paused .hero-tab.is-active .bar span, .is-stopped .hero-tab.is-active .bar span, .is-hidden .hero-tab.is-active .bar span { animation-play-state: paused; }
html:not(.js) .hero-ctrls, html:not(.js) .hero-tabs { display: none; }
@media (max-width: 639px) {
  .hero-tabs { gap: 6px; margin-top: 16px; }
  .hero-tab .t { display: none; }
  .hero-ctrls { gap: 8px; }
  .hero-btn { width: 42px; height: 42px; }
  .hero-btn[data-hero-prev], .hero-btn[data-hero-next] { display: none; } /* swipe instead */
}

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 220% 0; } }
@keyframes pulse-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes hero-progress { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .hero2-dot::after, .hero2-title .accent { animation: none !important; }
  .hero-slide, .hero-slide.is-active { transition-duration: .01s; }
  .hero-slide img, [data-hero-slider].is-ready .hero-slide.is-active img { transform: none; transition: none; }
  .hero-tab.is-active .bar span { animation: none; transform: scaleX(1); }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background:
    radial-gradient(800px 380px at 92% 0%, rgba(20, 36, 196, .5), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 80%);
}
.page-hero-inner { padding-block: 56px 64px; }
@media (min-width: 1024px) { .page-hero-inner { padding-block: 88px 96px; } }
.page-hero h1 { color: #fff; margin-top: 18px; max-width: 18ch; }
.page-hero .lead { max-width: 62ch; margin-top: 20px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:not(.card-static):hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C8D0F0; }
.card-pad { padding: 24px; }
@media (min-width: 768px) { .card-pad { padding: 32px; } }

/* ---------- Portraits ---------- */
.portrait {
  position: relative; margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #E3E8FA, #C9D2F2);
}
.portrait::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(10, 18, 80, .1);
  background: linear-gradient(180deg, transparent 70%, rgba(10, 18, 80, .12));
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; transition: transform .6s var(--ease); }
.card:not(.card-static):hover .portrait img { transform: scale(1.035); }
.portrait--initials { display: grid; place-items: center; background: linear-gradient(150deg, var(--navy) 0%, var(--teal-700) 130%); }
.portrait--initials span {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.2rem); color: var(--gold); letter-spacing: .02em;
}
.portrait--initials::after { background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

/* Sized frames that keep low-resolution source photos small */
.portrait-sm { width: 104px; flex: none; }
@media (min-width: 640px) { .portrait-sm { width: 128px; } }
.portrait-md { width: 100%; max-width: 230px; }

/* ---------- Person cards ---------- */
.person-card { display: flex; flex-direction: column; height: 100%; padding: 12px; }
.person-card .portrait { width: 100%; }
.person-body { padding: 16px 6px 6px; }
.person-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 750; color: var(--navy); line-height: 1.25; letter-spacing: -0.01em; }
.person-role { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.isa-chip {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 10px; border-radius: 999px;
  background: var(--off); border: 1px solid var(--line); font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.isa-chip b { color: var(--navy); font-weight: 700; letter-spacing: .02em; }

.contact-list { display: grid; gap: 4px; margin-top: 16px; }
.contact-line {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 10px 6px 6px; border-radius: 12px;
  color: var(--slate); text-decoration: none; font-size: .93rem; overflow-wrap: anywhere; word-break: break-word;
  transition: background-color .2s, color .2s;
}
.contact-line:hover { background: var(--teal-50); color: var(--navy); }
.contact-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); flex: none; }
.contact-icon svg { width: 17px; height: 17px; }
.contact-line:hover .contact-icon { background: var(--teal); color: #fff; }
.contact-text { min-width: 0; }

/* Feature (president / general secretary) */
.feature-card { display: grid; gap: 24px; padding: 16px; overflow: hidden; }
@media (min-width: 640px) { .feature-card { grid-template-columns: minmax(170px, 230px) 1fr; padding: 20px; align-items: start; } }
.feature-card .portrait { width: 100%; max-width: 260px; }
.feature-card .feature-body { padding: 4px 4px 4px 0; min-width: 0; }
.feature-card .person-name { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 6px; }
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}
.role-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--gold-50); color: var(--gold-text); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}

/* Compact (other office bearers) */
.compact-card { display: flex; gap: 18px; padding: 16px; align-items: flex-start; height: 100%; }
.compact-card .portrait { border-radius: 12px; }
.compact-body { min-width: 0; flex: 1; }
.compact-body .person-name { margin-top: 4px; }
.compact-body .contact-list { margin-top: 10px; }
.compact-body .contact-line { font-size: .86rem; padding-right: 4px; }
@media (max-width: 400px) {
  .compact-card { flex-direction: column; }
}

/* ---------- Stats ---------- */
.stat { padding: 28px 24px; height: 100%; }
.stat-value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.04em; color: var(--navy); line-height: 1; }
.stat-value small { font-size: .45em; letter-spacing: 0; font-weight: 700; color: var(--teal-700); }
.stat-label { margin-top: 14px; font-weight: 600; color: var(--slate); }
.stat-note { margin-top: 4px; font-size: .86rem; color: var(--muted); }
.stat-accent { position: absolute; top: 24px; right: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }

/* ---------- Editorial blocks ---------- */
.quote-rule { border-left: 3px solid var(--gold); padding-left: 20px; }
.fact-panel { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; }
.fact-panel h3, .fact-panel h2 { color: #fff; }
.fact-row { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; }
.fact-row:last-child { border-bottom: 0; }
.fact-row dt { color: rgba(255, 255, 255, .66); }
.fact-row dd { font-family: var(--font-head); font-weight: 700; text-align: right; color: #fff; }

.source-note {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px;
  background: var(--gold-50); border: 1px solid #CDD5FA; color: #1E2A7A; font-size: .9rem; line-height: 1.55;
}
.source-note svg { width: 20px; height: 20px; color: var(--gold-text); flex: none; margin-top: 1px; }
.draft-panel { border: 1.5px dashed #C8D0F0; background: #fff; border-radius: var(--radius); padding: 24px; }
.draft-tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--off); border: 1px solid var(--line);
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--teal), var(--gold)); border-radius: 2px; }
.timeline-item { position: relative; }
.timeline-node {
  position: absolute; left: -36px; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 2px solid var(--teal); box-shadow: 0 0 0 5px var(--off);
}
.timeline-node::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--teal); }
.timeline-item:last-child .timeline-node { border-color: var(--gold); }
.timeline-item:last-child .timeline-node::after { background: var(--gold); }
.timeline-when {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-700);
}
.timeline-when--undated { color: var(--muted); }
.timeline-title { margin-top: 6px; font-family: var(--font-head); font-weight: 750; font-size: 1.15rem; color: var(--navy); }
.timeline-text { margin-top: 6px; color: var(--muted); }
.bg-white-panel .timeline-node { box-shadow: 0 0 0 5px #fff; }

/* Horizontal timeline on wide screens (home preview) */
@media (min-width: 1024px) {
  .timeline--h { grid-template-columns: repeat(4, 1fr); gap: 28px; padding-left: 0; padding-top: 44px; }
  .timeline--h::before { left: 0; right: 0; top: 11px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); }
  .timeline--h .timeline-node { left: 0; top: -44px; }
}

/* ---------- Home "At a glance" numbers panel ---------- */
.glance { padding-block: 56px; background: linear-gradient(180deg, #fff 0%, var(--off) 100%); }
@media (min-width: 1024px) { .glance { padding-block: 72px 88px; } }
.glance-panel {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 28px;
  padding: 36px 22px 14px;
  background:
    radial-gradient(640px 320px at 100% 0%, rgba(142, 162, 255, .2), transparent 62%),
    radial-gradient(700px 360px at 0% 100%, rgba(20, 36, 196, .5), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
  box-shadow: 0 40px 80px -40px rgba(6, 11, 51, .6);
}
@media (min-width: 768px) { .glance-panel { padding: 48px 40px 20px; } }
@media (min-width: 1024px) { .glance-panel { padding: 56px 56px 24px; } }
.glance-panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(142, 162, 255, .22);
}
.glance-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.glance-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.glance-title { margin-top: 16px; color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.glance-title span {
  background: linear-gradient(100deg, #D5DCFF, var(--gold) 50%, #5468F0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glance-source {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .84rem; color: rgba(255, 255, 255, .78);
}
.glance-source svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

.glance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 1024px) { .glance-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; } }
.glance-grid > li { position: relative; }
/* hairline dividers */
.glance-grid > li:nth-child(odd)::after,
.glance-grid > li:nth-child(-n+2)::before { content: ""; position: absolute; pointer-events: none; }
.glance-grid > li:nth-child(odd)::after { right: 0; top: 22px; bottom: 22px; width: 1px; background: linear-gradient(180deg, transparent, rgba(142, 162, 255, .4), transparent); }
.glance-grid > li:nth-child(-n+2)::before { left: 12px; right: 12px; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent); }
@media (min-width: 1024px) {
  .glance-grid > li:nth-child(-n+2)::before { display: none; }
  .glance-grid > li:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 26px; bottom: 26px; width: 1px; background: linear-gradient(180deg, transparent, rgba(142, 162, 255, .4), transparent); }
}

.glance-stat {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 26px 12px 28px; border-radius: 18px; color: #fff; text-decoration: none;
  transition: background-color .3s var(--ease);
}
@media (min-width: 768px) { .glance-stat { padding: 32px 22px 34px; } }
.glance-stat:hover { color: #fff; }
.glance-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  background: rgba(20, 36, 196, .28); color: var(--teal-300); border: 1px solid rgba(127, 149, 255, .25);
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.glance-icon svg { width: 22px; height: 22px; }
.glance-value {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 22px;
  font-family: var(--font-head); font-weight: 800; line-height: .95; letter-spacing: -0.045em;
  font-size: clamp(2.7rem, 7.5vw, 4.4rem); font-variant-numeric: tabular-nums;
}
.glance-value > span {
  background: linear-gradient(180deg, #E6EAFF 0%, var(--gold) 55%, #5468F0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glance-value small { font-size: .9rem; letter-spacing: .02em; font-weight: 700; color: var(--teal-300); }
.glance-label { margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.35; color: #fff; }
.glance-note { margin-top: 6px; font-size: .84rem; line-height: 1.45; color: rgba(255, 255, 255, .62); }
.glance-go {
  position: absolute; top: 28px; right: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(142, 162, 255, .4); color: var(--gold);
  opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .3s, color .3s;
}
.glance-go svg { width: 16px; height: 16px; }
@media (max-width: 420px) {
  .glance-stat { padding-inline: 8px; }
  .glance-icon { width: 38px; height: 38px; }
  .glance-label { font-size: .92rem; }
  .glance-value small { font-size: .78rem; }
}
.glance-stat:focus-visible .glance-go { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .glance-stat:hover { background: rgba(255, 255, 255, .05); }
  .glance-stat:hover .glance-icon { transform: rotate(-8deg) scale(1.08); background: var(--gold); color: var(--navy); border-color: var(--gold); }
  .glance-stat:hover .glance-go { opacity: 1; transform: none; background: var(--gold); color: var(--navy); }
  .glance-stat:hover .glance-value > span { filter: drop-shadow(0 0 18px rgba(142, 162, 255, .45)); }
}
@media (prefers-reduced-motion: reduce) {
  .glance-stat:hover .glance-icon, .glance-go { transform: none !important; }
}

/* ---------- Home "Leadership" showcase ---------- */
.leaders {
  position: relative; overflow: hidden; isolation: isolate; padding-block: 80px; background: #fff;
}
@media (min-width: 1024px) { .leaders { padding-block: 112px; } }
.leaders::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -10%; top: 10%; width: 60%; height: 80%;
  background: radial-gradient(closest-side, rgba(20, 36, 196, .08), transparent);
}
.leaders::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: 0; top: 0; width: 46%; height: 70%;
  background-image: radial-gradient(rgba(10, 18, 80, .12) 1.2px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%);
}
.leaders-head { display: grid; gap: 20px; align-items: end; }
@media (min-width: 1024px) { .leaders-head { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.leaders-title { margin-top: 18px; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.leaders-title span {
  background: linear-gradient(100deg, var(--teal) 0%, var(--teal-700) 55%, #5468F0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.leaders-intro { font-size: 1.06rem; line-height: 1.7; color: var(--muted); max-width: 48ch; }

.leaders-grid { display: grid; gap: 22px; margin-top: 48px; }
@media (min-width: 640px) { .leaders-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team-panel { grid-column: span 2; } }
@media (min-width: 1024px) {
  .leaders-grid { grid-template-columns: 1fr 1fr 1.12fr; gap: 24px; margin-top: 60px; }
  .team-panel { grid-column: auto; }
}

/* Spotlight cards (President / General Secretary) */
.spot-card {
  position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: 26px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.spot-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(150deg, var(--gold), transparent 40%, transparent 60%, var(--teal));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55; transition: opacity .45s var(--ease);
}
.spot-photo { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 4.4; background: linear-gradient(160deg, #E3E8FA, #C9D2F2); }
.spot-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .7s var(--ease); }
.spot-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 11, 51, .35) 0%, transparent 28%, transparent 70%, rgba(6, 11, 51, .25) 100%);
}
.spot-role {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  padding: 7px 13px; border-radius: 999px; background: rgba(10, 18, 80, .82); color: var(--gold);
  border: 1px solid rgba(142, 162, 255, .5);
  font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.spot-body { display: flex; flex-direction: column; flex: 1; padding: 20px 10px 8px; }
.spot-name { font-family: var(--font-head); font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; color: var(--navy); transition: color .3s; }
.spot-isa { margin-top: 6px; font-size: .86rem; color: var(--muted); }
.spot-isa b { color: var(--navy); font-weight: 700; letter-spacing: .03em; }
.spot-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 20px; }
.spot-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 14px;
  background: var(--off); border: 1px solid var(--line); color: var(--navy); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.spot-btn svg { width: 17px; height: 17px; color: var(--teal-700); transition: color .25s; }
.spot-btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.spot-btn:hover svg { color: #fff; }

/* "Also serving" panel */
.team-panel {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  padding: 30px 22px 24px; border-radius: 26px; color: #fff;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(142, 162, 255, .2), transparent 62%),
    radial-gradient(420px 300px at 0% 100%, rgba(20, 36, 196, .45), transparent 62%),
    linear-gradient(160deg, var(--navy), var(--navy-900));
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .team-panel { padding: 34px 30px 28px; } }
.team-panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(142, 162, 255, .22); pointer-events: none; }
.team-title { margin-top: 14px; color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.team-list { display: grid; gap: 4px; margin-top: 18px; }
@media (min-width: 640px) and (max-width: 1023px) { .team-list { grid-template-columns: 1fr 1fr; gap: 4px 16px; } }
.team-row {
  display: flex; align-items: center; gap: 14px; padding: 10px; margin-inline: -10px; border-radius: 16px;
  color: #fff; text-decoration: none; transition: background-color .25s;
}
.team-row:hover { color: #fff; }
.team-avatar {
  width: 54px; height: 54px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 22%;
  border: 2px solid var(--navy-900); box-shadow: 0 0 0 2px var(--gold);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.team-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.team-role { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.team-name { margin-top: 3px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.3; color: #fff; }
.team-go { width: 18px; height: 18px; flex: none; color: var(--gold); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); }
.team-row:focus-visible .team-go { opacity: 1; transform: none; }
.team-cta { margin-top: auto; align-self: flex-start; }
.team-list + .team-cta { margin-top: 22px; }
@media (min-width: 1024px) { .team-list + .team-cta { margin-top: auto; } .team-list { margin-bottom: 22px; } }

@media (hover: hover) and (pointer: fine) {
  .spot-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .spot-card:hover::before { opacity: 1; }
  .spot-card:hover .spot-photo img { transform: scale(1.05); }
  .spot-card:hover .spot-name { color: var(--teal-700); }
  .team-row:hover { background: rgba(255, 255, 255, .07); }
  .team-row:hover .team-avatar { transform: scale(1.08); box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgba(142, 162, 255, .5); }
  .team-row:hover .team-go { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .spot-card:hover, .spot-card:hover .spot-photo img, .team-row:hover .team-avatar { transform: none !important; }
}

/* ---------- Home "Messages from ISA National" ---------- */
.isa-msgs {
  position: relative; overflow: hidden; isolation: isolate; padding-block: 80px;
  background:
    radial-gradient(700px 380px at 100% 0%, rgba(142, 162, 255, .16), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(20, 36, 196, .1), transparent 62%),
    linear-gradient(180deg, #F7F8FF 0%, #F6F8FE 100%);
  border-block: 1px solid var(--line-soft);
}
@media (min-width: 1024px) { .isa-msgs { padding-block: 112px; } }
.isa-msgs-head { max-width: 760px; margin-inline: auto; text-align: center; }
.isa-msgs-head .eyebrow { justify-content: center; }
.isa-msgs-title { margin-top: 18px; font-size: clamp(2.1rem, 4.8vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
.isa-msgs-title span {
  background: linear-gradient(100deg, var(--teal) 0%, var(--teal-700) 50%, #5468F0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.isa-msgs-intro { margin-top: 16px; font-size: 1.04rem; line-height: 1.7; color: var(--muted); }

.isa-msgs-grid { display: grid; gap: 24px; margin-top: 52px; align-items: start; }
@media (min-width: 1024px) { .isa-msgs-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 64px; } }

.msg-card {
  position: relative; overflow: hidden; padding: 26px 22px 22px; border-radius: 26px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
@media (min-width: 768px) { .msg-card { padding: 34px 36px 28px; } }
.msg-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--teal), var(--gold)); }
.msg-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; }
.msg-photo {
  width: 92px; height: 92px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 20%;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold), 0 14px 30px -12px rgba(10, 18, 80, .45);
}
@media (min-width: 768px) { .msg-photo { width: 112px; height: 112px; } }
.msg-id { min-width: 0; }
.msg-role { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.msg-name { margin-top: 6px; font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.msg-cred { margin-top: 4px; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.msg-quote {
  position: absolute; right: 22px; top: 6px; font-family: Georgia, "Times New Roman", serif; font-size: 9rem; line-height: 1;
  color: rgba(142, 162, 255, .18); pointer-events: none;
}
.msg-body { position: relative; margin-top: 22px; }
.msg-body p { margin-top: .9em; font-size: 1rem; line-height: 1.75; color: var(--slate); }
.msg-body p:first-child { margin-top: 0; }
.msg-greet { font-family: var(--font-head); font-weight: 700; color: var(--navy) !important; }
.msg-full { margin-top: 16px; padding-top: 18px; border-top: 1px dashed var(--line); }
.msg-full h4 { margin-top: 1.4em; font-family: var(--font-head); font-size: 1.02rem; font-weight: 750; color: var(--teal-700); letter-spacing: -0.01em; }
.msg-full h4:first-child { margin-top: 0; }
.msg-full ul { margin-top: .8em; display: grid; gap: 8px; }
.msg-full li { position: relative; padding-left: 20px; line-height: 1.65; color: var(--slate); }
.msg-full li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.msg-note { font-size: .86rem !important; font-style: italic; color: var(--muted) !important; }
.msg-sign { padding-left: 14px; border-left: 3px solid var(--gold); font-size: .92rem !important; line-height: 1.6 !important; }

.msg-more { margin-top: 16px; }
.msg-more summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  list-style: none; background: var(--teal-50); color: var(--teal-700); font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  transition: background-color .25s, color .25s;
}
.msg-more summary::-webkit-details-marker { display: none; }
.msg-more summary svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.msg-more summary:hover { background: var(--teal); color: #fff; }
.msg-more[open] summary svg { transform: rotate(180deg); }
.msg-more .when-open { display: none; }
.msg-more[open] .when-open { display: inline; }
.msg-more[open] .when-closed { display: none; }
.msg-more[open] > summary { order: 2; }
.msg-more[open] { display: flex; flex-direction: column; align-items: flex-start; }
.msg-more[open] .msg-full { order: 1; width: 100%; margin-top: 0; margin-bottom: 16px; }

@media (max-width: 639px) {
  .isa-msgs-head .eyebrow::before { display: none; }
  .msg-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .msg-photo { width: 84px; height: 84px; }
  .msg-quote { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  .msg-card:hover { box-shadow: var(--shadow-lg); border-color: #C8D0F0; }
}

/* ---------- Home "Our journey" milestones ---------- */
.journey {
  position: relative; overflow: hidden; isolation: isolate; padding-block: 88px;
  border-block: 1px solid var(--line-soft);
  background:
    radial-gradient(720px 420px at 0% 0%, rgba(20, 36, 196, .1), transparent 62%),
    radial-gradient(640px 400px at 100% 100%, rgba(142, 162, 255, .14), transparent 62%),
    var(--off);
}
@media (min-width: 1024px) { .journey { padding-block: 120px; } }
.journey::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(10, 18, 80, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 18, 80, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
}
.journey-head { display: grid; gap: 28px; align-items: end; }
@media (min-width: 1024px) { .journey-head { grid-template-columns: 1.25fr 1fr; gap: 64px; } }
.journey-title { margin-top: 18px; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.journey-title span {
  background: linear-gradient(100deg, var(--teal) 0%, var(--teal-700) 55%, #5468F0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.journey-intro p { font-size: 1.06rem; line-height: 1.7; color: var(--muted); max-width: 46ch; }
.journey-intro .btn { margin-top: 22px; }

.journey-track { position: relative; display: grid; gap: 22px; margin-top: 56px; padding-left: 72px; }
.journey-track::before, .journey-track::after {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px;
}
.journey-track::before { background: #D3DAF5; }
.journey-track::after {
  background: linear-gradient(180deg, var(--teal), var(--gold));
  transform-origin: top; transition: transform 1.8s var(--ease);
}
.js .journey-track:not(.is-drawn)::after { transform: scaleY(0); }

.journey-step { position: relative; }
.journey-marker {
  position: absolute; left: -72px; top: 22px; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--teal); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  box-shadow: 0 0 0 6px var(--off), 0 10px 24px -10px rgba(10, 18, 80, .4);
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.journey-step--featured .journey-marker { background: var(--navy); border-color: var(--gold); color: var(--gold); }

.journey-card {
  position: relative; overflow: hidden; height: 100%; padding: 26px 24px 76px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.journey-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(.22); transform-origin: left; transition: transform .5s var(--ease);
}
.journey-bg-num {
  position: absolute; right: 12px; bottom: -22px; pointer-events: none;
  font-family: var(--font-head); font-weight: 800; font-size: 7rem; line-height: 1; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(10, 18, 80, .08);
}
.journey-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.journey-icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px;
  background: var(--teal-50); color: var(--teal-700);
  transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.journey-icon svg { width: 24px; height: 24px; }
.journey-when { font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-700); }
.journey-when--undated {
  padding: 5px 11px; border-radius: 999px; background: var(--off); border: 1px solid var(--line);
  font-size: .68rem; color: var(--muted);
}
.journey-card-title { position: relative; margin-top: 22px; font-family: var(--font-head); font-weight: 750; font-size: 1.25rem; color: var(--navy); letter-spacing: -0.015em; }
.journey-text { position: relative; margin-top: 10px; font-size: .97rem; line-height: 1.65; color: var(--muted); }

/* Featured first milestone (1993) */
.journey-step--featured .journey-card {
  border-color: transparent; color: #fff;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(20, 36, 196, .55), transparent 65%),
    linear-gradient(160deg, var(--navy), var(--navy-900));
  box-shadow: var(--shadow-lg);
}
.journey-step--featured .journey-bg-num { -webkit-text-stroke-color: rgba(142, 162, 255, .28); }
.journey-step--featured .journey-icon { background: rgba(142, 162, 255, .16); color: var(--gold); }
.journey-step--featured .journey-when { font-size: 2rem; letter-spacing: -0.03em; color: var(--gold); line-height: 1; }
.journey-step--featured .journey-card-title { color: #fff; }
.journey-step--featured .journey-text { color: rgba(255, 255, 255, .76); }

@media (min-width: 1024px) {
  .journey-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-left: 0; padding-top: 96px; margin-top: 64px; }
  .journey-track::before, .journey-track::after { left: 28px; right: 28px; top: 27px; bottom: auto; width: auto; height: 2px; }
  .journey-track::after { background: linear-gradient(90deg, var(--teal), var(--gold)); transform-origin: left; }
  .js .journey-track:not(.is-drawn)::after { transform: scaleX(0); }
  .journey-marker { left: 24px; top: -96px; }
}

@media (hover: hover) and (pointer: fine) {
  .journey-step:hover .journey-card { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #C8D0F0; }
  .journey-step--featured:hover .journey-card { border-color: transparent; }
  .journey-step:hover .journey-card::before { transform: scaleX(1); }
  .journey-step:hover .journey-marker { transform: scale(1.1); background: var(--teal); border-color: var(--teal); color: #fff; }
  .journey-step--featured:hover .journey-marker { background: var(--gold); border-color: var(--gold); color: var(--navy); }
  .journey-step:hover .journey-icon { transform: rotate(-8deg) scale(1.06); background: var(--teal); color: #fff; }
  .journey-step--featured:hover .journey-icon { background: var(--gold); color: var(--navy); }
}
@media (prefers-reduced-motion: reduce) {
  .journey-step:hover .journey-card, .journey-step:hover .journey-marker, .journey-step:hover .journey-icon { transform: none !important; }
  .js .journey-track:not(.is-drawn)::after { transform: none; }
}

/* ---------- Past presidents: home "Honouring previous leadership" band ---------- */
.honour-band {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding-block: 88px;
  background:
    radial-gradient(900px 460px at 50% -6%, rgba(142, 162, 255, .2), transparent 62%),
    radial-gradient(700px 420px at 100% 100%, rgba(20, 36, 196, .32), transparent 60%),
    radial-gradient(600px 380px at 0% 85%, rgba(20, 36, 196, .18), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy) 55%, var(--navy-900) 100%);
}
@media (min-width: 1024px) { .honour-band { padding-block: 128px 112px; } }
.honour-band::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6;
}
.honour-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.honour-head { display: grid; gap: 40px; align-items: end; }
@media (min-width: 1024px) { .honour-head { grid-template-columns: 1.35fr 1fr; gap: 64px; } }
.honour-title {
  margin-top: 18px; color: #fff; font-size: clamp(2.6rem, 7vw, 4.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: .98;
}
.honour-title span {
  background: linear-gradient(100deg, #CBD4FF 0%, var(--gold) 45%, #5468F0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.honour-quote { margin-top: 28px; padding-left: 22px; border-left: 2px solid var(--gold); max-width: 560px; }
.honour-quote p {
  font-family: var(--font-head); font-weight: 500; font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, .86);
}
.honour-quote figcaption { margin-top: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

.honour-aside { display: grid; gap: 24px; justify-items: start; }
@media (min-width: 1024px) { .honour-aside { justify-items: end; text-align: right; } }
.honour-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 440px; }
.honour-stats > div {
  padding: 20px 20px 18px; border-radius: 18px; text-align: left;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(142, 162, 255, .28);
}
.honour-stats dd { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.04em; color: var(--gold); }
.honour-stats dt { margin-top: 10px; font-size: .84rem; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.honour-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

/* Continuous portrait ribbon */
.pp-marquee {
  position: relative; margin-top: 64px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
@media (min-width: 1024px) { .pp-marquee { margin-top: 80px; } }
.pp-track { display: flex; width: max-content; animation: pp-scroll 46s linear infinite; padding-block: 14px 10px; }
.pp-marquee:hover .pp-track, .pp-marquee:focus-within .pp-track { animation-play-state: paused; }
.pp-set { display: flex; gap: 22px; padding-right: 22px; }
@keyframes pp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.pp-card {
  flex: none; width: 196px; padding: 12px 12px 18px; border-radius: 22px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  border: 1px solid rgba(142, 162, 255, .26);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), background-color .4s;
}
@media (min-width: 1024px) { .pp-card { width: 212px; } }
.pp-frame {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden;
  background: var(--navy-800); box-shadow: inset 0 0 0 1px rgba(142, 162, 255, .5);
}
.pp-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(142, 162, 255, .55), inset 0 0 0 5px rgba(6, 11, 51, .35);
  background: linear-gradient(180deg, transparent 62%, rgba(6, 11, 51, .45));
}
.pp-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s var(--ease); }
.pp-card-name { margin-top: 16px; font-family: var(--font-head); font-weight: 750; font-size: 1rem; line-height: 1.3; color: #fff; transition: color .25s; }
.pp-card-role { margin-top: 6px; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(142, 162, 255, .9); }

/* Reduced motion: a still, swipeable row showing each president once */
@media (prefers-reduced-motion: reduce) {
  .pp-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: 16px; }
  .pp-track { animation: none; width: auto; justify-content: flex-start; }
  .pp-set[aria-hidden="true"] { display: none; }
}

.honour-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px 24px; height: 100%; }
.honour-card .portrait { width: 100%; max-width: 168px; border-radius: 999px 999px 16px 16px; }
.honour-card .person-name { margin-top: 18px; font-size: 1.1rem; }
.honour-index { position: absolute; top: 16px; left: 18px; font-family: var(--font-head); font-weight: 800; font-size: .8rem; color: var(--gold-text); letter-spacing: .08em; }

.honour-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.honour-grid > li { flex: 0 1 calc(50% - 8px); }
@media (min-width: 768px) { .honour-grid { gap: 24px; } .honour-grid > li { flex-basis: calc(33.333% - 16px); } }
@media (min-width: 1024px) { .honour-grid > li { flex-basis: calc(25% - 18px); } }
@media (max-width: 400px) { .honour-card { padding: 20px 12px 18px; } .honour-card .person-name { font-size: 1rem; } }

/* ---------- Data table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.data-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .94rem; }
.data-table th, .data-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.data-table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.data-table tbody th { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:nth-child(even) { background: var(--off); }
.data-table td:first-child { color: var(--teal-700); font-weight: 600; }
.data-table a { display: inline-block; padding-block: 4px; }

/* ---------- Search ---------- */
.search-wrap { position: relative; }
.search-wrap svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search-input {
  width: 100%; min-height: 56px; padding: 14px 18px 14px 50px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 1rem;
  box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
}
.search-input::placeholder { color: #7880A6; }
.search-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20, 36, 196, .18); }
.search-input::-webkit-search-cancel-button { cursor: pointer; }
.empty-state { text-align: center; padding: 48px 24px; border: 1.5px dashed #C8D0F0; border-radius: var(--radius); background: #fff; }
.empty-state svg { width: 40px; height: 40px; color: var(--teal); margin-inline: auto; }
.result-count { font-size: .92rem; color: var(--muted); }
mark.hl { background: rgba(142, 162, 255, .35); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- Documents ---------- */
.doc-card { display: grid; gap: 28px; padding: 24px; overflow: hidden; }
@media (min-width: 768px) { .doc-card { grid-template-columns: 200px 1fr; padding: 36px; align-items: center; } }
.doc-thumb {
  position: relative; aspect-ratio: 3 / 4; width: 100%; max-width: 200px; border-radius: 12px;
  background: linear-gradient(160deg, #fff, var(--off)); border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 22px 18px; display: flex; flex-direction: column; gap: 9px; overflow: hidden;
}
.doc-thumb .bar { height: 7px; border-radius: 4px; background: var(--line); }
.doc-thumb .bar.t { height: 10px; width: 70%; background: var(--navy); }
.doc-thumb .bar.s { width: 55%; }
.doc-thumb .bar.m { width: 85%; }
.doc-thumb .tag { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 6px; background: #B42318; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--muted); }
.doc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.doc-meta svg { width: 16px; height: 16px; color: var(--teal); }
.doc-toc { display: grid; gap: 8px; margin-top: 18px; }
.doc-toc li { display: flex; gap: 12px; align-items: baseline; font-size: .95rem; }
.doc-toc .pg { font-family: var(--font-head); font-weight: 700; color: var(--teal-700); font-size: .8rem; min-width: 64px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); color: #fff; padding: 40px 24px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(20, 36, 196, .55), transparent 60%),
    linear-gradient(150deg, var(--navy), var(--navy-900));
}
@media (min-width: 768px) { .cta-band { padding: 56px; } }
.cta-band h2 { color: #fff; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 8px; }
.field .req { color: #B42318; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--navy); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20, 36, 196, .18); }
.field [aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.field-hint { margin-top: 6px; font-size: .84rem; color: var(--muted); }
.field-error { margin-top: 6px; font-size: .86rem; color: #B42318; font-weight: 600; }
.field-error:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: 12px; font-size: .93rem; }
.form-status:empty { display: none; }
.form-status.is-info { background: var(--teal-50); color: #0F1C7A; border: 1px solid #C6CEF8; }
.form-status.is-error { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }

/* Captcha */
.captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; }
.captcha-challenge {
  position: relative; display: grid; place-items: center; min-width: 200px; height: 60px; border-radius: 12px; overflow: hidden;
  border: 1.5px solid var(--line); background: linear-gradient(135deg, #F2F4FE, #E3E8FB);
}
.captcha-canvas { display: block; width: 200px; height: 60px; user-select: none; -webkit-user-select: none; }
.captcha-question { padding: 0 16px; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: .01em; white-space: nowrap; }
.captcha-refresh {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; color: var(--teal-700); cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s, transform .4s var(--ease);
}
.captcha-refresh svg { width: 20px; height: 20px; }
.captcha-refresh:hover { border-color: var(--teal); background: var(--teal); color: #fff; }
.captcha-refresh:hover svg { transform: rotate(90deg); transition: transform .4s var(--ease); }
.field .captcha-input { flex: 1 1 160px; width: auto; min-width: 140px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; }
.field .captcha-input.is-numeric { text-transform: none; letter-spacing: normal; }
.captcha-switch {
  margin-top: 8px; min-height: 40px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font-size: .86rem; font-weight: 600; color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px;
}
.captcha-switch:hover { color: var(--navy); }
.captcha.is-verified .captcha-challenge { border-color: #12B76A; }
html:not(.js) .captcha { display: none; }
/* Honeypot: hidden from people, visible to naive bots */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.contact-primary { position: relative; overflow: hidden; }
.contact-primary::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--gold)); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; color: rgba(255, 255, 255, .74); font-size: .94rem;
  background:
    radial-gradient(700px 360px at 8% 0%, rgba(20, 36, 196, .45), transparent 60%),
    radial-gradient(600px 320px at 100% 100%, rgba(142, 162, 255, .16), transparent 60%),
    linear-gradient(170deg, var(--navy) 0%, var(--navy-950) 70%);
}
.site-footer::before { /* gradient hairline across the top */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
}
.site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Call-to-action card at the top of the footer */
.footer-cta {
  position: relative; z-index: 1; margin-top: 56px;
  display: grid; gap: 24px; align-items: center; padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-700) 55%, #3B4FE0 100%);
  box-shadow: 0 30px 60px -28px rgba(6, 11, 51, .7); overflow: hidden;
}
.footer-cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04), 0 0 0 80px rgba(255, 255, 255, .03);
  pointer-events: none;
}
@media (min-width: 900px) { .footer-cta { grid-template-columns: minmax(0, 1.6fr) auto; padding: 40px 48px; } }
.footer-cta .eyebrow { color: var(--gold); }
.footer-cta-title { margin-top: 10px; font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: #fff; }
.footer-cta-lead { margin-top: 10px; max-width: 58ch; color: rgba(255, 255, 255, .82); }
.footer-cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }

.footer-main { position: relative; overflow: hidden; }
.footer-rings { position: absolute; right: -160px; top: -40px; width: 600px; height: 600px; pointer-events: none; }
.footer-grid { position: relative; display: grid; gap: 40px; padding-block: 56px 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand, .footer-contact-card { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr 1.5fr; gap: 40px; }
  .footer-brand, .footer-contact-card { grid-column: auto; }
}
.footer-about { margin-top: 20px; max-width: 42ch; line-height: 1.7; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer-badges li {
  display: flex; flex-direction: column; min-width: 92px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.footer-badges b { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.1; }
.footer-badges span { font-size: .74rem; color: rgba(255, 255, 255, .62); }
.footer-title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.footer-title::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--gold); }
.footer-links { display: grid; gap: 0; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; }
.footer-links a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(142, 162, 255, .5); transition: background-color .2s; }
.footer-links a:hover::before { background: var(--gold); }
.footer-contact-card { padding: 22px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); align-self: start; }
.footer-person { display: flex; flex-direction: column; margin-bottom: 10px; }
.footer-person b { font-family: var(--font-head); color: #fff; font-size: 1.05rem; }
.footer-person span { font-size: .84rem; color: rgba(255, 255, 255, .62); }
.footer-contact { display: grid; gap: 2px; }
.footer-contact a, .footer-place { display: inline-flex; align-items: center; gap: 12px; min-height: 42px; overflow-wrap: anywhere; }
.fc-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex: none; background: rgba(142, 162, 255, .14); color: var(--teal-300); transition: background-color .2s, color .2s; }
.fc-icon svg { width: 16px; height: 16px; }
.footer-contact a:hover .fc-icon { background: var(--gold); color: var(--navy); }
.footer-bottom-wrap { background: rgba(0, 0, 0, .22); }
.footer-bottom { padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .84rem; color: rgba(255, 255, 255, .6); }
.footer-reg { white-space: nowrap; margin-left: 6px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .2); }

.footer-credit a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(142, 162, 255, .6); text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--gold); text-decoration-color: currentColor; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: var(--shadow); text-decoration: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { background: var(--teal); color: #fff; }
.js .to-top { opacity: 0; transform: translateY(12px); pointer-events: none; }
.js .to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Decorative ---------- */
.grid-lines { background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 56px 56px; }
.ornament { display: block; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--gold)); }
.icon-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--teal-700); }
.icon-tile svg { width: 22px; height: 22px; }

/* ---------- Site-wide hover effects ----------
   Only on devices with a real hover pointer, so touch screens don't get "stuck" hover states. */
@media (hover: hover) and (pointer: fine) {
  /* Cards: name, chip, icon and accent respond with the lift */
  .card .person-name, .card .h-card, .card .stat-value, .timeline-title { transition: color .25s var(--ease); }
  .card:not(.card-static):hover .person-name,
  .card:not(.card-static):hover .h-card { color: var(--teal-700); }
  .isa-chip { transition: border-color .25s, background-color .25s; }
  .card:not(.card-static):hover .isa-chip { border-color: #C6CEF8; background: var(--teal-50); }
  .icon-tile { transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
  .card:hover .icon-tile { background: var(--teal); color: #fff; transform: rotate(-6deg); }
  .feature-card::before { transition: height .3s var(--ease); }
  .feature-card:hover::before { height: 6px; }
  .portrait--initials span { transition: transform .4s var(--ease), color .3s; }
  .card:hover .portrait--initials span { transform: scale(1.08); color: #B8C4FF; }

  /* Stats */
  .stat-accent { transition: transform .35s var(--ease), background-color .35s; }
  .stat:hover .stat-value { color: var(--teal-700); }
  .stat:hover .stat-accent { transform: scale(1.8); background: var(--teal); }

  /* Timeline */
  .timeline-node { transition: transform .3s var(--ease), border-color .3s; }
  .timeline-node::after { transition: background-color .3s; }
  .timeline-item:hover .timeline-node { transform: scale(1.18); border-color: var(--gold); }
  .timeline-item:hover .timeline-node::after { background: var(--gold); }
  .timeline-item:hover .timeline-title { color: var(--teal-700); }

  /* Past presidents band (home) */
  .pp-card:hover {
    transform: translateY(-10px); border-color: var(--gold); background-color: rgba(142, 162, 255, .08);
    box-shadow: 0 0 0 1px rgba(142, 162, 255, .4), 0 0 46px -6px rgba(142, 162, 255, .45), 0 30px 60px -28px rgba(0, 0, 0, .9);
  }
  .pp-card:hover .pp-frame img { transform: scale(1.06); }
  .pp-card:hover .pp-card-name { color: var(--gold); }

  /* Hero portraits */
  .hero-frame { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
  .hero-frame img { transition: transform .6s var(--ease); }
  .hero-frame:hover { transform: translateY(-6px); z-index: 2; }
  .hero-frame:hover img { transform: scale(1.04); }
  .hero-badge { transition: transform .4s var(--ease); }
  .hero-badge:hover { transform: translateY(-4px) rotate(-1deg); }

  /* Panels & bands */
  .cta-band { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
  .cta-band:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .fact-row { transition: background-color .2s, padding .25s var(--ease); border-radius: 8px; }
  .fact-row:hover { background: rgba(255, 255, 255, .05); padding-inline: 10px; }
  .source-note, .draft-panel { transition: border-color .25s, box-shadow .25s; }
  .source-note:hover { border-color: var(--gold); }
  .draft-panel:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
  .doc-thumb { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
  .doc-card:hover .doc-thumb { transform: translateY(-6px) rotate(-2deg); box-shadow: var(--shadow-lg); }
  .doc-toc li { transition: transform .2s var(--ease); }
  .doc-toc li:hover { transform: translateX(4px); }

  /* Data table */
  .data-table tbody tr { transition: background-color .2s; }
  .data-table tbody tr:hover { background: var(--teal-50); }

  /* Navigation & links */
  .dropdown-link { transition: background-color .2s, transform .2s var(--ease); }
  .dropdown-link:hover { transform: translateX(4px); }
  .dropdown-link:hover .dropdown-title { color: var(--teal-700); }
  .mobile-link { transition: color .2s, padding .25s var(--ease); }
  .mobile-link:hover { color: var(--teal-700); padding-left: 10px; }
  .mobile-sublink:hover { padding-left: 24px; }
  .footer-links a { transition: color .2s, transform .25s var(--ease); }
  .footer-links a:hover { transform: translateX(4px); text-decoration: none; color: var(--gold); }
  .footer-contact a:hover .fc-icon svg { color: var(--navy); }
  .prose-jsa a, .source-note a, .text-muted a {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    text-decoration: none; transition: background-size .3s var(--ease), color .2s;
  }
  .prose-jsa a:hover, .source-note a:hover, .text-muted a:hover { background-size: 100% 1.5px; }
  .btn-outline:hover { background: var(--off); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
  .btn-ghost-light:hover { transform: translateY(-1px); }
  .menu-toggle { transition: border-color .2s, background-color .2s; }
  .menu-toggle:hover { border-color: var(--navy); background: var(--off); }
  .to-top:hover { transform: translateY(-3px); }

  /* Form controls */
  .search-input:not(:focus):hover,
  .field input:not(:focus):not([aria-invalid="true"]):hover,
  .field textarea:not(:focus):not([aria-invalid="true"]):hover { border-color: #A8B3E0; }
}

/* ---------- News & Events page ---------- */
#news, #gallery, #awards { scroll-margin-top: var(--header-h); }
.page-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24); color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.page-jump a:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold); }
.page-jump a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.upcoming-panel {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 20px 24px; border-radius: var(--radius);
  background: var(--off); border: 1px solid var(--line);
}
.upcoming-panel > .min-w-0 { flex: 1 1 280px; }
.upcoming-icon, .award-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none;
  background: var(--teal-50); color: var(--teal-700);
}
.upcoming-icon svg, .award-icon svg { width: 22px; height: 22px; }

.news-list { display: grid; gap: 20px; }
.news-card { display: grid; gap: 20px; padding: 20px; }
@media (min-width: 640px) { .news-card { grid-template-columns: 132px 1fr; gap: 28px; padding: 28px; } }
.news-date {
  display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px; border-radius: 14px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--teal-700) 130%); color: #fff; text-align: center; align-self: start;
}
.news-date-main { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.news-date-sub { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.news-date--undated { background: var(--off); border: 1px solid var(--line); color: var(--navy); }
.news-date--undated .news-date-main { font-size: 1.15rem; }
.news-date--undated .news-date-sub { color: var(--muted); }
@media (max-width: 639px) { .news-date { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 10px; padding: 10px 14px; } }
.news-body { min-width: 0; }
.news-tag { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.news-title { margin-top: 6px; font-family: var(--font-head); font-weight: 750; font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--navy); letter-spacing: -0.01em; line-height: 1.3; }
.news-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { color: var(--teal-700); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Messages (messages.html + home teaser) ---------- */
.msg-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.msg-jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--navy); font-weight: 600; font-size: .92rem; text-decoration: none;
}
.msg-jump a:hover { border-color: var(--navy); }
.jsa-msg { display: grid; gap: 28px; padding-block: 48px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.jsa-msg:last-of-type { border-bottom: 0; }
@media (min-width: 900px) { .jsa-msg { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; } }
.jsa-msg-side { display: grid; grid-template-columns: 112px 1fr; gap: 4px 18px; align-items: center; }
.jsa-msg-side .jsa-msg-photo { grid-row: span 3; }
@media (min-width: 900px) {
  .jsa-msg-side { display: block; position: sticky; top: calc(var(--header-h) + 24px); }
}
.jsa-msg-photo { margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--off); box-shadow: var(--shadow); }
.jsa-msg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.jsa-msg-role { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
@media (min-width: 900px) { .jsa-msg-role { margin-top: 20px; } }
.jsa-msg-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 780; color: var(--navy); letter-spacing: -0.015em; line-height: 1.2; }
.jsa-msg-title { color: var(--muted); font-size: .92rem; }
.prose-jsa .jsa-msg-salutation { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.prose-jsa .jsa-msg-signoff { font-style: italic; }
.prose-jsa .jsa-msg-sign { display: flex; flex-direction: column; margin-top: 1.6em; padding-left: 16px; border-left: 3px solid var(--gold); line-height: 1.4; }
.jsa-msg-sign b { font-family: var(--font-head); color: var(--navy); }
.jsa-msg-sign span { font-size: .92rem; color: var(--muted); }

.home-msgs { display: grid; gap: 24px; }
@media (min-width: 768px) { .home-msgs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-msg { display: flex; flex-direction: column; padding: 24px; height: 100%; }
.home-msg-head { display: flex; align-items: center; gap: 14px; }
.home-msg-photo { width: 64px; height: 80px; flex: none; overflow: hidden; border-radius: 12px; background: var(--off); }
.home-msg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.home-msg-quote { margin-top: 18px; color: var(--slate); line-height: 1.7; }
.home-msg-quote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 2.6rem; line-height: .6; color: var(--gold); margin-bottom: 6px; }
.home-msg .link-arrow { margin-top: auto; padding-top: 18px; }

/* ---------- Memorandum & Constitution ---------- */
.doc-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .doc-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: start; } }
.doc-side { display: grid; gap: 24px; }
@media (min-width: 1024px) { .doc-side { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; } }
.doc-download { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--off); }
.doc-toc-nav ol { margin-top: 10px; display: grid; gap: 2px; font-size: .92rem; }
.doc-toc-nav ol ol { margin: 4px 0 6px 12px; padding-left: 10px; border-left: 1px solid var(--line); font-size: .86rem; }
.doc-toc-nav a { display: block; padding: 5px 8px; border-radius: 8px; color: var(--slate); text-decoration: none; }
.doc-toc-nav a:hover { background: var(--teal-50); color: var(--navy); }
.doc-body h2, .doc-body h3, .doc-body h4 { scroll-margin-top: calc(var(--header-h) + 16px); font-family: var(--font-head); color: var(--navy); letter-spacing: -0.01em; }
.doc-body h2 { margin-top: 2.2em; padding-top: 1em; border-top: 1px solid var(--line); font-size: 1.6rem; font-weight: 780; }
.doc-body h2:first-of-type { border-top: 0; padding-top: 0; }
.doc-body h3 { margin-top: 1.8em; font-size: 1.2rem; font-weight: 750; }
.doc-body h4 { margin-top: 1.4em; font-size: 1.02rem; font-weight: 700; }
.doc-body .source-note { margin-bottom: 1.5em; }
.doc-list { margin-top: 1em; padding-left: 1.6em; list-style: decimal; display: grid; gap: .6em; color: var(--slate); line-height: 1.75; }
.doc-list--alpha { list-style: lower-alpha; }
.doc-list--roman { list-style: lower-roman; }
.doc-list--upper { list-style: upper-alpha; }
@media (min-width: 640px) { .doc-list--cols { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.doc-signatories { margin-top: 1em; display: grid; gap: 8px; counter-reset: sig; }
@media (min-width: 640px) { .doc-signatories { grid-template-columns: 1fr 1fr; } }
.doc-signatories li { counter-increment: sig; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); font-weight: 600; }
.doc-signatories li::before { content: counter(sig); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: .8rem; font-weight: 800; flex: none; }
.prose-jsa .doc-signed { margin-top: 1.6em; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--off); border-radius: 0 12px 12px 0; }

/* ---------- Activities ---------- */
.act-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.act-stats div { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--off); }
.act-stats dt { font-size: .78rem; color: var(--muted); }
.act-stats dd { margin-top: 4px; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--navy); letter-spacing: -0.02em; }
.act-year { margin-top: 48px; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); display: flex; align-items: center; gap: 14px; }
.act-year::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.act-list { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 768px) { .act-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.act-card {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; height: 100%;
  padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
@media (min-width: 1024px) { .act-card { grid-template-columns: 168px minmax(0, 1fr); } }
.act-card:hover { box-shadow: var(--shadow); border-color: #C8D0F0; }
.act-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--off); }
.act-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.act-card:hover .act-photo img { transform: scale(1.05); }
.act-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 6px; }
.act-title { font-family: var(--font-head); font-weight: 750; color: var(--navy); line-height: 1.3; }
.act-venue { font-size: .88rem; color: var(--muted); }
.act-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .84rem; font-weight: 700; color: var(--teal-700); }
.act-more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.act-card:hover .act-more svg { transform: translateX(3px); }
/* Linked-to album (from the activities page) */
.album-card { scroll-margin-top: calc(var(--header-h) + 24px); }
.album-card:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(142, 162, 255, .45), var(--shadow); }

/* ---------- News detail pages ---------- */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.article-tag {
  padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--navy);
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.page-hero .article-h1 { max-width: 24ch; margin-top: 14px; }
.article-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; align-items: start; } }
.article-body h2 { margin-top: 2em; font-family: var(--font-head); font-size: 1.3rem; font-weight: 750; color: var(--navy); letter-spacing: -0.01em; }
.article-people { display: grid; gap: 12px; margin-top: 1em; }
@media (min-width: 560px) { .article-people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .article-people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.article-people li { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ap-photo { width: 52px; height: 64px; flex: none; overflow: hidden; border-radius: 10px; background: linear-gradient(160deg, #E3E8FA, #C9D2F2); }
.ap-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.ap-photo--initials { display: grid; place-items: center; background: linear-gradient(150deg, var(--navy) 0%, var(--teal-700) 130%); }
.ap-photo--initials span { font-family: var(--font-head); font-weight: 800; color: var(--gold); }
.ap-text { display: flex; flex-direction: column; min-width: 0; }
.ap-name { font-family: var(--font-head); font-weight: 750; font-size: .95rem; color: var(--navy); line-height: 1.3; }
.ap-role { font-size: .78rem; color: var(--muted); }
.prose-jsa .article-source { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.article-pager { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .article-pager { grid-template-columns: 1fr 1fr; } }
.pager-link {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.pager-link:hover { border-color: #C8D0F0; box-shadow: var(--shadow-sm); }
.pager-link--next { text-align: right; align-items: flex-end; }
.pager-dir { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager-dir svg { width: 15px; height: 15px; }
.pager-link b { font-family: var(--font-head); font-weight: 750; color: var(--navy); line-height: 1.35; }
.article-aside { display: grid; gap: 24px; }
@media (min-width: 1024px) { .article-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.more-news { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--off); }
.more-news-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 750; color: var(--navy); }
.more-news ul { margin-top: 8px; }
.more-news li + li { border-top: 1px solid var(--line); }
.more-news li a { display: flex; flex-direction: column; gap: 4px; padding-block: 14px; text-decoration: none; }
.more-news-link { font-weight: 650; color: var(--navy); line-height: 1.4; }
.more-news li a:hover .more-news-link { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.more-news .btn svg { width: 16px; height: 16px; }
/* Stacked variant for the home-page preview */
.news-card.news-card--compact { grid-template-columns: 1fr; gap: 18px; padding: 20px; height: 100%; }
.news-card--compact .news-date { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 10px; padding: 10px 14px; text-align: left; }
.news-card--compact .news-date-main { font-size: 1.15rem; }
.news-card--compact .news-body { display: flex; flex-direction: column; }
.news-card--compact .link-arrow { margin-top: auto; padding-top: 16px; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  color: var(--navy); font: 600 .9rem var(--font-body); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.filter-chip:hover { border-color: var(--navy); }
.filter-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.gallery-item[hidden] { display: none; }
.gallery-btn {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, #E3E8FA, #C9D2F2); cursor: zoom-in; box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.gallery-btn img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; transition: transform .6s var(--ease); }
.gallery-item--place .gallery-btn img { object-position: 50% 50%; }
.gallery-btn:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.gallery-btn:hover img { transform: scale(1.04); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 12px 12px; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(6, 11, 51, .86)); color: rgba(255, 255, 255, .8); font-size: .76rem; line-height: 1.35;
}
.gallery-cap b { display: block; color: #fff; font-family: var(--font-head); font-size: .9rem; font-weight: 750; }

/* Event albums: cover photo + three thumbnails; the rest open in the lightbox */
#albums { scroll-margin-top: var(--header-h); }
.album-total { font-family: var(--font-head); font-weight: 700; color: var(--muted); }
.album-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
/* Awards page: the JSA Awards album spans the full row on wide screens */
@media (min-width: 1024px) {
  .album-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: center; }
  .album-card--feature .album-body { padding: 8px 16px; }
  .album-card--feature .album-title { font-size: 1.5rem; }
}
/* Home preview: one row of three albums from tablet width up */
@media (min-width: 768px) { .album-grid--row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.album-card {
  display: flex; flex-direction: column; padding: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.album-card:hover { box-shadow: var(--shadow); border-color: #C8D0F0; }
.album-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.album-mosaic .gallery-item:nth-child(n+5) { display: none; }
.album-mosaic .gallery-item:first-child { grid-column: 1 / -1; }
.album-mosaic--2 .gallery-item:nth-child(2) { grid-column: 1 / -1; }
.album-tile { aspect-ratio: 1 / 1; border-radius: 10px; box-shadow: none; }
.album-mosaic .gallery-item:first-child .album-tile { aspect-ratio: 16 / 10; border-radius: 14px; }
.album-mosaic--2 .gallery-item:nth-child(2) .album-tile { aspect-ratio: 16 / 7; }
.album-tile img { object-position: 50% 35%; }
.album-tile:hover { transform: none; box-shadow: none; }
.album-mosaic [data-more]::after {
  content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; border-radius: 10px;
  background: rgba(6, 11, 51, .6); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; pointer-events: none;
}
.album-mosaic .gallery-item { position: relative; }
.album-body { padding: 16px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.album-title { margin-top: 6px; font-family: var(--font-head); font-weight: 750; font-size: 1.08rem; line-height: 1.3; color: var(--navy); letter-spacing: -0.01em; }
.album-sub { margin-top: 6px; font-size: .9rem; color: var(--muted); }
.album-count { margin-top: auto; padding-top: 12px; font-size: .82rem; font-weight: 600; color: var(--teal-700); }

.lightbox {
  width: min(92vw, 1100px); max-width: none; max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--navy-900); color: #fff; overflow: visible;
}
.lightbox::backdrop { background: rgba(6, 11, 51, .82); }
.lightbox-figure { margin: 0; padding: 56px 64px 20px; display: grid; justify-items: center; gap: 14px; }
.lightbox-figure img { max-width: 100%; max-height: calc(92vh - 140px); width: auto; height: auto; border-radius: 12px; }
.lightbox-cap { text-align: center; color: rgba(255, 255, 255, .78); font-size: .92rem; }
.lightbox-cap b { display: block; color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.lightbox-btn {
  position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; transition: background-color .2s;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox-btn svg { width: 22px; height: 22px; }
.lightbox-close { top: 10px; right: 10px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
@media (max-width: 639px) {
  .lightbox-figure { padding: 56px 12px 72px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 14px; transform: none; }
  .lightbox-prev { left: calc(50% - 54px); }
  .lightbox-next { right: calc(50% - 54px); }
}

.awards-intro { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .awards-intro { grid-template-columns: 7fr 5fr; gap: 64px; } }
.award-steps { display: grid; gap: 18px; }
.award-steps li { display: flex; gap: 16px; align-items: flex-start; }
.award-step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--navy); color: var(--gold); font-family: var(--font-head); font-weight: 800;
}
.award-collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(320px, 52vw, 480px); }
.award-photo { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--off); }
.award-photo--tall { grid-row: span 2; }
.award-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.award-photo:hover img { transform: scale(1.04); }

/* Home awards teaser: real JSA Awards photos, linking to awards.html */
.award-collage--link { position: relative; text-decoration: none; }
.award-collage--link:hover .award-photo img { transform: scale(1.04); }
.award-badge {
  position: absolute; left: 16px; bottom: 16px; display: flex; flex-direction: column; padding: 10px 16px; border-radius: 14px;
  background: rgba(6, 11, 51, .82); backdrop-filter: blur(6px); color: rgba(255, 255, 255, .78); font-size: .78rem;
  box-shadow: 0 12px 24px -12px rgba(6, 11, 51, .6);
}
.award-badge b { font-family: var(--font-head); font-size: 1rem; color: var(--gold); }
/* Home awards teaser */
.home-awards { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .home-awards { grid-template-columns: 5fr 7fr; gap: 64px; } }
.home-awards .award-collage { height: clamp(280px, 44vw, 400px); }

.awards-grid { display: grid; gap: 20px; }
.awards-grid:empty { display: none; }
@media (min-width: 768px) { .awards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.award-card { padding: 24px; }
.award-card .award-icon { margin-bottom: 16px; background: var(--gold-50); color: var(--gold-text); }
.awards-empty { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 40px; }
.awards-grid:not(:empty) + .awards-empty { display: none; }
.awards-empty .award-icon { background: var(--gold-50); color: var(--gold-text); }
.awards-empty > .min-w-0 { flex: 1 1 280px; }

/* ---------- Scroll reveal ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
.reveal-ready .reveal[data-delay="1"] { transition-delay: .08s; }
.reveal-ready .reveal[data-delay="2"] { transition-delay: .16s; }
.reveal-ready .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .card:hover, .btn:hover, .cta-band:hover, .hero-frame:hover, .pp-card:hover,
  .doc-card:hover .doc-thumb, .footer-links a:hover, .dropdown-link:hover { transform: none !important; }
  .card:hover .portrait img, .hero-frame:hover img, .pp-card:hover .pp-frame img { transform: none !important; }
}

@media print {
  .topbar, .site-header, .to-top, .site-footer, .hero-lines { display: none !important; }
  .hero, .page-hero { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
