@font-face{font-family:'Fraunces Variable';font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/fraunces-latin-wght-normal.woff2) format('woff2-variations');}
@font-face{font-family:'Fraunces Variable';font-style:italic;font-display:swap;font-weight:100 900;src:url(../fonts/fraunces-latin-wght-italic.woff2) format('woff2-variations');}
@font-face{font-family:'Plus Jakarta Sans Variable';font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2-variations');}
@font-face{font-family:'Plus Jakarta Sans Variable';font-style:italic;font-display:swap;font-weight:100 900;src:url(../fonts/plus-jakarta-sans-latin-wght-italic.woff2) format('woff2-variations');}
@font-face{font-family:'Lora Variable';font-style:normal;font-display:swap;font-weight:400 700;src:url(../fonts/lora-latin-wght-normal.woff2) format('woff2-variations');}
@font-face{font-family:'Lora Variable';font-style:italic;font-display:swap;font-weight:400 700;src:url(../fonts/lora-latin-wght-italic.woff2) format('woff2-variations');}
@font-face{font-family:'Noto Sans Variable';font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/noto-sans-latin-wght-normal.woff2) format('woff2-variations');}
@font-face{font-family:'Noto Sans Variable';font-style:italic;font-display:swap;font-weight:100 900;src:url(../fonts/noto-sans-latin-wght-italic.woff2) format('woff2-variations');}

/* ─────────────────────────  Tokens  ───────────────────────── */
:root {
  /* Round Table look (October 2026): the emblem's royal blue, gold and red. The main colour, accent, highlight,
     header and background can be changed in Settings → Site settings → Colours & fonts; lighter and darker
     shades follow them automatically. */
  --navy-900: #1f3c74;
  --navy-950: color-mix(in srgb, var(--navy-900) 78%, black);
  --navy-800: color-mix(in srgb, var(--navy-900) 88%, white);
  --navy-700: color-mix(in srgb, var(--navy-900) 76%, white);
  --navy-100: color-mix(in srgb, var(--navy-900) 10%, white);
  --gold: #f7c546;
  --gold-600: #a97a08;
  --gold-100: color-mix(in srgb, var(--gold) 22%, white);
  --header: var(--gold);
  --red: #d0343a;
  --red-100: color-mix(in srgb, var(--red) 11%, white);
  --green: #2f8a5a;
  --paper: #ffffff;
  --paper-2: #f7f2e7;
  --sky: color-mix(in srgb, var(--navy-900) 7%, white);
  --gold-soft: color-mix(in srgb, var(--gold) 16%, white);
  --white: #ffffff;
  --ink: #1c2533;
  --ink-2: #384354;
  --muted: #5b6677;
  --line: #e3e6eb;

  --tone-blue: #1f4f99;
  --tone-blue-bg: #e4ecf8;
  --tone-green: #256b45;
  --tone-green-bg: #e1f1e7;
  --tone-red: #a8262c;
  --tone-red-bg: #f9e3e4;
  --tone-gold: #7c5a00;
  --tone-gold-bg: #fcefc9;
  --font-display: 'Lora Variable', Georgia, 'Times New Roman', serif;
  --font-body: 'Noto Sans Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgb(20 35 70 / 0.05), 0 4px 14px -6px rgb(20 35 70 / 0.1);
  --shadow-lg: 0 2px 4px rgb(20 35 70 / 0.05), 0 16px 32px -14px rgb(20 35 70 / 0.18);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(40px, 5vw, 72px);
}

/* ─────────────────────────  Base  ───────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  height: auto;   /* keeps the photo's shape when it is shown smaller */
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.16;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy-900);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

/* ─────────────────────────  Layout  ───────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: var(--section) 0;
}
.section--tight {
  padding: calc(var(--section) * 0.6) 0;
}
.section--navy {
  background: var(--navy-900);
  color: #fff;
}
.section--paper2 {
  background: var(--paper-2);
}
.section--white {
  background: var(--white);
}
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
}
.stack > * + * {
  margin-top: 1rem;
}

/* ─────────────────────────  Type helpers  ───────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
}
.section--navy .eyebrow {
  color: var(--gold);
}
.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-2);
  max-width: 62ch;
}
.section--navy .lede {
  color: rgb(255 255 255 / 0.78);
}
.muted {
  color: var(--muted);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 {
  margin: 0;
  max-width: 18ch;
}
.section-head p {
  margin: 0;
  max-width: 46ch;
}
.italic-accent {   /* words between *stars* in headings – look chosen in Site settings (body class hl-…) */
  font-style: normal;
  color: inherit;
}
.hl-italic .italic-accent { font-style: italic; color: var(--gold-600); }
.hl-gold .italic-accent { color: var(--gold-600); }
.hl-bold .italic-accent { font-weight: 700; }
.hl-italic .section--navy .italic-accent, .hl-gold .section--navy .italic-accent,
.hl-italic .site-footer .italic-accent, .hl-gold .site-footer .italic-accent,
.hl-italic .involve--navy .italic-accent, .hl-gold .involve--navy .italic-accent { color: var(--gold); }

/* ─────────────────────────  Buttons  ───────────────────────── */
.btn {
  --bg: var(--navy-900);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid var(--bg);
  font: 700 0.95rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn--gold {
  --bg: var(--gold);
  --fg: var(--navy-950);
}
.btn--gold:hover {
  --bg: #ffb814;
}
.btn--red {
  --bg: var(--red);
}
.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: rgb(11 23 48 / 0.25);
}
.btn--ghost:hover {
  border-color: var(--navy-900);
}
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.35);
}
.btn--ghost-light:hover {
  border-color: #fff;
}
.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy-700);
}
.link-arrow svg {
  transition: transform 0.15s ease;
}
.link-arrow:hover svg {
  transform: translateX(4px);
}
.section--navy .link-arrow {
  color: var(--gold);
}

/* ─────────────────────────  Header  ───────────────────────── */
.announce {
  background: var(--navy-950);
  color: rgb(255 255 255 / 0.85);
  font-size: 0.86rem;
  text-align: center;
  padding: 9px var(--gutter);
}
.announce a {
  color: var(--gold);
  font-weight: 700;
  text-underline-offset: 3px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(250 247 241 / 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgb(11 23 48 / 0.07);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}
.brand__text span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 5px;
}
.nav {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}
.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.nav a:hover {
  background: rgb(11 23 48 / 0.05);
  color: var(--ink);
}
.nav a[aria-current='page'] {
  color: var(--navy-900);
  background: rgb(242 169 0 / 0.16);
}
.header-cta {
  display: flex;
  gap: 10px;
}
.menu-toggle {
  display: none;
}
@media (max-width: 1080px) {
  .nav,
  .header-cta .btn--ghost {
    display: none;
  }
  .header-cta {
    margin-left: auto;
  }
  .menu-toggle {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1.5px solid rgb(11 23 48 / 0.18);
    background: transparent;
    cursor: pointer;
    color: var(--ink);
  }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--navy-900);
  color: #fff;
  padding: 20px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  margin-bottom: 24px;
}
.mobile-menu nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.mobile-menu .btn {
  margin-top: 16px;
}

/* ─────────────────────────  Hero  ───────────────────────── */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 110px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 36px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__facts div {
  display: flex;
  flex-direction: column;
}
.hero__facts strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 560;
  line-height: 1;
}
.hero__facts span {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}
.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-800);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__wheel {
  position: absolute;
  right: -120px;
  top: -120px;
  width: 540px;
  height: auto;
  opacity: 0.06;
  filter: grayscale(1);
  pointer-events: none;
}
.section--navy .hero__wheel { filter: grayscale(1) invert(1); opacity: 0.07; }
.spotlight {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.spotlight__pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgb(215 38 47 / 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgb(215 38 47 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(215 38 47 / 0);
  }
}
.spotlight small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
}
.spotlight strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
}
.spotlight p {
  margin: 2px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__media {
    aspect-ratio: 4 / 3.4;
  }
}

/* ─────────────────────────  Impact  ───────────────────────── */
.impact {
  position: relative;
  overflow: hidden;
}
.impact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.impact__item {
  padding: 36px 28px 36px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.impact__item:not(:nth-child(3n + 1)) {
  padding-left: 28px;
  border-left: 1px solid rgb(255 255 255 / 0.12);
}
.impact__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.impact__num em {
  font-style: normal;
  color: var(--gold);
}
.impact__label {
  margin-top: 12px;
  color: rgb(255 255 255 / 0.72);
  font-size: 0.98rem;
}
.impact__note {
  margin-top: 28px;
  font-size: 0.82rem;
  color: rgb(255 255 255 / 0.5);
}
@media (max-width: 760px) {
  .impact__grid {
    grid-template-columns: 1fr 1fr;
  }
  .impact__num {
    font-size: clamp(1.9rem, 8.4vw, 2.6rem);
  }
  .impact__item,
  .impact__item:not(:nth-child(3n + 1)) {
    padding: 24px 16px;
    border-left: 0;
  }
  .impact__item:nth-child(even) {
    border-left: 1px solid rgb(255 255 255 / 0.12);
  }
}

/* ─────────────────────────  Pillars  ───────────────────────── */
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.pillar ul {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  border-top: 1px solid var(--line);
}
.pillar li a {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}
.pillar li a:hover {
  color: var(--navy-700);
}

/* ─────────────────────────  Cards  ───────────────────────── */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card__media {
  aspect-ratio: 16 / 10;
  background: var(--navy-800);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card__media img {
  transform: scale(1.04);
}
.card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card__body h3 {
  margin: 0;
}
.card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--navy-100);
  color: var(--navy-700);
}
.tag--education {
  background: #e3ecfb;
  color: #1a4ea8;
}
.tag--environment {
  background: #e1f3e8;
  color: #1f6e44;
}
.tag--health {
  background: var(--red-100);
  color: #a61c24;
}
.tag--relief {
  background: var(--gold-100);
  color: #8a5a00;
}
.tag--event {
  background: var(--gold-100);
  color: #8a5a00;
}

/* feature grid: 1 big + 3 */
.feature-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 24px;
}
.feature-grid > :first-child {
  grid-row: span 3;
}
.feature-grid > :first-child .card__media {
  aspect-ratio: auto;
  flex: 1;
  min-height: 320px;
}
.feature-grid > :first-child h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}
.feature-grid > :not(:first-child) {
  flex-direction: row;
}
.feature-grid > :not(:first-child) .card__media {
  aspect-ratio: 1;
  width: 38%;
  flex-shrink: 0;
}
.feature-grid > :not(:first-child) .card__body {
  padding: 18px 20px;
}
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid > :first-child {
    grid-row: auto;
  }
}
@media (max-width: 520px) {
  .feature-grid > :not(:first-child) {
    flex-direction: column;
  }
  .feature-grid > :not(:first-child) .card__media {
    width: 100%;
    aspect-ratio: 16/10;
  }
}

/* ─────────────────────────  President quote  ───────────────────────── */
.quote {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.quote__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-800);
}
.quote__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote__theme {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--navy-950);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 0.8rem;
}
.quote blockquote {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.18;
  font-weight: 440;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.quote blockquote::before {
  content: '“';
  display: block;
  color: var(--gold);
  font-size: 4rem;
  line-height: 0.6;
  margin-bottom: 12px;
}
.quote cite {
  font-style: normal;
  display: block;
  margin-bottom: 24px;
}
.quote cite strong {
  display: block;
  font-size: 1.05rem;
}
@media (max-width: 800px) {
  .quote {
    grid-template-columns: 1fr;
  }
  .quote__photo {
    max-width: 280px;
  }
}

/* ─────────────────────────  Map  ───────────────────────── */
.map-wrap {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.nepal-map {
  width: 100%;
  height: auto;
}
.nepal-map .land {
  fill: rgb(255 255 255 / 0.06);
  stroke: rgb(255 255 255 / 0.35);
  stroke-width: 1.5;
}
.nepal-map--light {
  max-width: 980px;
  margin: 0 auto;
  display: block;
}
.nepal-map--light .land {
  fill: #e9e3d6;
  stroke: #c9bfa9;
}
.nepal-map .dot {
  fill: var(--gold);
}
.nepal-map .ring {
  fill: var(--gold);
  opacity: 0.18;
}
.nepal-map a:hover .ring {
  opacity: 0.35;
}
.nepal-map text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  fill: #fff;
}
.nepal-map--light text {
  fill: var(--ink);
}
.nepal-map .count {
  font-size: 12px;
  fill: var(--navy-950);
  font-weight: 800;
}
.city-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.city-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  text-decoration: none;
  font-weight: 600;
}
.city-list li a:hover {
  color: var(--gold);
}
.city-list .n {
  font-family: var(--font-display);
  font-size: 1.3rem;
}
@media (max-width: 900px) {
  .map-wrap {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────  List rows (news)  ───────────────────────── */
.row-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.row-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.row-item:hover h3 {
  color: var(--navy-700);
}
.row-item h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}
.row-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.date-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  line-height: 1;
}
.date-chip b {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 560;
}
.date-chip span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.date-chip--event {
  background: var(--gold-100);
  border-color: #f4d98f;
}
@media (max-width: 640px) {
  .row-item {
    grid-template-columns: 84px 1fr;
  }
  .row-item > :last-child {
    display: none;
  }
}

/* ─────────────────────────  Get involved  ───────────────────────── */
.involve {
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.involve:hover {
  transform: translateY(-3px);
}
.involve h3 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
}
.involve p {
  opacity: 0.85;
}
.involve .link-arrow {
  margin-top: auto;
  color: inherit;
}
.involve--navy {
  background: var(--navy-800);
  color: #fff;
}
.involve--gold {
  background: var(--gold);
  color: var(--navy-950);
}
.involve--white {
  background: var(--white);
  border: 1px solid var(--line);
}

/* ─────────────────────────  Page header  ───────────────────────── */
.page-hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  max-width: 18ch;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}
.breadcrumbs li + li::before {
  content: '/';
  margin-right: 8px;
  opacity: 0.5;
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.media-hero {
  position: relative;
  margin-top: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--navy-800);
}
.media-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 700px) {
  .media-hero {
    aspect-ratio: 4 / 3;
  }
}
/* News & events: the photo keeps its own shape (portrait or landscape), nothing is cut off */
.media-hero--natural { aspect-ratio: auto; background: var(--paper-2); display: flex; justify-content: center; }
.media-hero--natural img { width: auto; height: auto; max-width: 100%; max-height: min(85vh, 1000px); object-fit: contain; }
.media-hero--natural .img-fallback { width: 100%; aspect-ratio: 16 / 9; }

/* ─────────────────────────  Article  ───────────────────────── */
.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.prose {
  font-size: 1.12rem;
  max-width: 68ch;
}
.prose p {
  margin-bottom: 1.2em;
}
.prose h2 {
  font-size: 1.9rem;
  margin-top: 1.6em;
}
.prose h3 {
  margin-top: 1.4em;
}
.prose a {
  color: var(--navy-700);
  text-underline-offset: 3px;
}
.prose > p:first-child::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 4.2em;
  line-height: 0.85;
  margin: 0.06em 0.1em 0 0;
  color: var(--navy-700);
}
.aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.aside-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.aside-box h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.dl dt {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}
.dl dd {
  margin: 2px 0 0;
  font-weight: 600;
}
@media (max-width: 900px) {
  .article {
    grid-template-columns: 1fr;
  }
  .aside {
    position: static;
  }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  margin-top: clamp(24px, 4vw, 40px);
}
.stats-row > div {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}
.stats-row > div:last-child {
  border-right: 0;
}
.stats-row b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 540;
  line-height: 1;
  color: var(--navy-800);
}
.stats-row span {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

/* ─────────────────────────  Filters / tabs  ───────────────────────── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.chip:hover {
  border-color: var(--navy-700);
}
.chip[aria-current='true'] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

/* ─────────────────────────  People  ───────────────────────── */
.person {
  text-align: left;
}
.person__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  margin-bottom: 14px;
}
.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person h3 {
  font-size: 1.2rem;
  margin: 0 0 2px;
}
.person p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
table.data th,
table.data td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data th {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
}
table.data tr:last-child td {
  border-bottom: 0;
}
table.data td:first-child {
  font-weight: 700;
}

/* Tables (clubs) */
.club {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}
.club:hover {
  box-shadow: var(--shadow);
}
.club__logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--paper-2);
}
.club__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center !important;
  padding: 4px;
  background: #fff;
}
.club h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.club p {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.city-group + .city-group {
  margin-top: 48px;
}
.city-group h2 {
  font-size: 1.8rem;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.city-group h2 small {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

/* ─────────────────────────  Forms  ───────────────────────── */
.form {
  display: grid;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
/* The field being typed in is easy to see (keyboard users too): a dark blue edge and a gold ring around it */
.field input:not([type=checkbox]):not([type=radio]):focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--navy-900);
  box-shadow: inset 0 0 0 1px var(--navy-900);
}
.field--check input:focus-visible,
.choice input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--navy-900);
}
.hp {
  position: absolute;
  left: -9999px;
}
.form-status {
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 600;
}
.form-status--ok {
  background: #e1f3e8;
  color: #1f6e44;
}
.form-status--err {
  background: var(--red-100);
  color: #a61c24;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline li {
  position: relative;
  padding: 0 0 32px 44px;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline b {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy-700);
}

/* ─────────────────────────  Footer  ───────────────────────── */
.site-footer {
  background: var(--navy-950);
  color: rgb(255 255 255 / 0.72);
  padding: clamp(56px, 8vw, 96px) 0 32px;
  font-size: 0.95rem;
}
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.footer-cta h2 {
  color: #fff;
  margin: 0;
  max-width: 16ch;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--gold);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.85rem;
}
.motto {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
}
.social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.2);
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 480px) {   /* up to 480 px: large phones (iPhone Plus / Pro Max are 428–440 px) get the compact header too */
  .site-header__inner {
    gap: 10px;
    height: 68px;
  }
  .brand {
    gap: 8px;
  }
  .brand svg {
    width: 34px;
    height: 34px;
  }
  .brand__text strong {
    font-size: 1.05rem;
  }
  .header-cta {
    gap: 6px;
  }
  .header-cta .btn--gold {
    padding: 0 12px;
    font-size: 0.82rem;
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
  }
}

/* ───────────── CMS-driven additions ───────────── */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn-row { gap: 12px; }
.btn--light { --bg: #fff; --fg: var(--navy-900); }
.header-cta .btn { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }
.header-cta .btn-row { gap: 10px; flex-wrap: nowrap; }
@media (max-width: 1080px) {
  .header-cta .btn-row > :not(:last-child) { display: none; }
}
@media (max-width: 480px) {
  .header-cta .btn { padding: 0 12px; font-size: 0.82rem; }
}
.brand__logo { height: 46px; width: auto; max-width: 230px; object-fit: contain; }
@media (max-width: 480px) { .brand__logo { height: 36px; max-width: 150px; } }
.footer-brand .brand__text span { color: rgb(255 255 255 / 0.6); }
.footer-brand .brand__text strong { color: #fff; }
.footer-contact { display: flex; gap: 10px; }
.footer-contact svg { margin-top: 4px; flex-shrink: 0; }
.draft-bar { background: var(--red); color: #fff; text-align: center; padding: 8px 16px; font-weight: 700; font-size: 0.88rem; }
.draft-bar a { color: #fff; }
.menu-toggle--light { display: inline-flex !important; color: #fff; border-color: rgb(255 255 255 / 0.3) !important; }
.mobile-menu__sub { font-family: var(--font-body) !important; font-size: 1.05rem !important; padding: 8px 0 8px 16px !important; opacity: 0.8; }

/* dropdown menus */
.nav__drop { position: relative; }
.nav__caret { font-size: 0.7em; opacity: 0.6; }
.nav__menu {
  position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; z-index: 60;
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { display: flex; }
.nav__menu a { border-radius: 8px; }

/* image placeholder until a photo is uploaded */
.img-fallback {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px;
  background: var(--paper-2);
}
.img-fallback .img-fallback__wheel { opacity: 0.22; filter: grayscale(1); width: 34% !important; height: auto !important; max-width: 140px; aspect-ratio: 1; object-fit: contain !important; }

/* tags by cause colour */
.tag--blue { background: var(--tone-blue-bg); color: var(--tone-blue); }
.tag--green { background: var(--tone-green-bg); color: var(--tone-green); }
.tag--red { background: var(--tone-red-bg); color: var(--tone-red); }
.tag--gold { background: var(--tone-gold-bg); color: var(--tone-gold); }
.tag--navy { background: var(--navy-100); color: var(--navy-700); }
.card__media--square { aspect-ratio: 1; }

/* hero slides */
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.hero__slide[data-active='true'] { opacity: 1; }
.hero__slide img, .hero__slide .img-fallback { width: 100%; height: 100%; object-fit: cover; }
.hero__copy { animation: fadeUp 0.6s ease both; }
@keyframes fadeUp { from { opacity: 0.2; transform: translateY(10px); } }
.hero__dots { position: absolute; top: 16px; right: 16px; display: flex; gap: 6px; z-index: 2; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.5); cursor: pointer; padding: 0; }
.hero__dots button[aria-selected='true'] { background: var(--gold); width: 26px; border-radius: 6px; }
.section--navy.hero, .hero.section--navy { color: #fff; }

/* layout helpers */
.narrow { max-width: 860px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split--flip > :first-child { order: 2; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-800); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }
.latest-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; }
.list-label { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.section--navy .list-label, .section--navy .muted { color: rgb(255 255 255 / 0.65); }
.banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.banner h2 { margin: 0; }
.points { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.points li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.section--navy .points, .section--navy .points li { border-color: rgb(255 255 255 / 0.12); }
.prose--plain > p:first-child::first-letter { all: unset; }
.prose--columns { max-width: none; columns: 2 320px; column-gap: 48px; }
.prose--wide { max-width: none; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.section--navy .prose, .section--navy .lede { color: rgb(255 255 255 / 0.85); }
.lede p { margin: 0; }
.table-intro { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.table-intro .prose { flex: 1; min-width: 260px; margin: 0; }
.club__logo--lg { width: 120px !important; height: 120px !important; border-radius: 24px !important; }
.club__logo--icon { display: grid; place-items: center; background: var(--gold-100) !important; color: var(--gold-600); }
.aside-box--navy { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.aside-box--navy h4 { color: var(--gold); }
.aside-box--gold { background: var(--gold-100); border-color: #f4d98f; }
.dl__big { font-family: var(--font-display); font-size: 1.6rem; }
.partners { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.partners li { display: flex; align-items: center; gap: 10px; }
.partners img { width: 48px; height: 48px; object-fit: contain; }
.facet { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.facet h3 { margin: 0; }
.facet img { border-radius: 12px; }
.map-embed { width: 100%; min-height: 380px; border: 0; border-radius: var(--radius); background: var(--paper-2); }
.city-list--light li a { border-color: var(--line); }
.city-list--light li a:hover { color: var(--navy-700); }
.impact--light .impact__num { color: var(--navy-800); }
.impact--light .impact__label { color: var(--muted); }
.impact--light .impact__grid, .impact--light .impact__item, .impact--light .impact__item:not(:nth-child(3n + 1)) { border-color: var(--line); }
.impact--light .impact__note { color: var(--muted); }

/* forms from the form builder */
.form-fields { display: flex; flex-wrap: wrap; gap: 16px; }
.form-fields .field { flex: 1 1 100%; min-width: min(100%, 200px); }
.field--check label { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.field--check input { width: 20px; height: 20px; min-height: 0; }
.form-message { flex-basis: 100%; color: var(--muted); }

/* video, faq */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* calendar */
.calendar__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.calendar__head h2 { margin: 0; font-size: 1.8rem; min-width: 10ch; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.calendar__dow { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 4px 6px; }
.calendar__cell { min-height: 104px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.calendar__cell--empty { background: transparent; border-color: transparent; }
.calendar__cell--today { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-100); }
.calendar__num { font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.calendar__event { font-size: 0.75rem; line-height: 1.25; padding: 3px 6px; border-radius: 6px; background: var(--gold-100); color: #6b4700; text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .calendar__cell { min-height: 64px; padding: 4px; }
  .calendar__event { font-size: 0; padding: 0; height: 6px; background: var(--gold); }
}

/* album + lightbox */
.gallery--album { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery__item { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.gallery__item img { transition: transform 0.4s ease; }
.gallery__item:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgb(7 15 34 / 0.94); display: grid; place-items: center; padding: 48px 16px; }
.lightbox img { max-height: 82vh; max-width: 100%; width: auto; border-radius: 10px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.3); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__cap { color: rgb(255 255 255 / 0.8); margin-top: 12px; text-align: center; }
.nav { align-items: center; }
.nav__drop { display: flex; align-items: center; }
.brand__logo { height: 44px; }
.footer-brand .brand__logo { height: 48px; }

/* ── Additions for the Laravel build ───────────────────────── */
[hidden] { display: none !important; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.filter-bar__search, .filter-bar__select { min-height: 48px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: inherit; color: var(--ink); }
.filter-bar__search { flex: 1 1 280px; }
.filter-bar__select { flex: 0 1 220px; }
.filter-bar__search:focus, .filter-bar__select:focus { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--navy-900); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; border-radius: 12px; background: rgb(255 255 255 / 0.12); color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }
.lightbox__nav:hover { background: rgb(255 255 255 / 0.24); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.choice { display: inline-flex; align-items: center; gap: 8px; font-weight: 500 !important; }
.choice input { width: 18px; height: 18px; min-height: 0; }
.field__help { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.field__err { display: block; color: var(--red); font-size: 0.85rem; font-weight: 600; margin-top: 4px; }
.search-toggle { color: inherit; }
.hero__copies { display: flex; flex-direction: column; }

/* ── Menu: each item on one line; tidy at laptop widths ───── */
.nav { flex-wrap: nowrap; min-width: 0; }
.nav a, .nav__drop > a { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.nav__caret { display: inline-block; line-height: 1; }
@media (max-width: 1400px) {
  .nav a { padding: 10px 11px; font-size: 0.92rem; }
  .header-cta .btn-row > :not(:last-child) { display: none; }
}
@media (max-width: 1200px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: inline-flex; width: 48px; height: 48px; }
}

/* ── Map of Nepal (accurate outline, provinces, districts) ─── */
.nepal-map { margin: 0; width: 100%; }
.nepal-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.nepal-map .nm-land { fill: rgb(255 255 255 / 0.11); stroke: none; }
.nepal-map .nm-districts { fill: none; stroke: rgb(255 255 255 / 0.1); stroke-width: 0.7; }
.nepal-map .nm-provinces { fill: none; stroke: rgb(255 255 255 / 0.28); stroke-width: 1.1; stroke-dasharray: 4 3; }
.nepal-map .nm-outline { fill: none; stroke: rgb(255 255 255 / 0.55); stroke-width: 1.8; stroke-linejoin: round; }
.nepal-map .nm-halo { opacity: 0.25; transition: opacity 0.2s; }
.nepal-map .nm-dot { stroke: #fff; stroke-width: 2.5; }
.nepal-map .nm-point:hover .nm-halo, .nepal-map .nm-point:focus .nm-halo { opacity: 0.5; }
.nepal-map .nm-count { font-family: var(--font-body); font-size: 15px; font-weight: 800; fill: #fff; pointer-events: none; }
.nepal-map .nm-label { font-family: var(--font-body); font-size: 19px; font-weight: 700; fill: #fff; paint-order: stroke; stroke: var(--navy-900); stroke-width: 4px; stroke-linejoin: round; }
.nepal-map--light .nm-land { fill: #e8ecdf; }
.nepal-map--light .nm-districts { stroke: rgb(94 120 80 / 0.22); }
.nepal-map--light .nm-provinces { stroke: rgb(70 95 60 / 0.5); }
.nepal-map--light .nm-outline { stroke: #7e9a72; }
.nepal-map--light .nm-label { fill: var(--ink); stroke: #fff; }
.nm-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: 20px; }
.nm-legend__item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.92rem; color: var(--ink); background: var(--white); }
.nm-legend__item small { font-weight: 500; color: var(--muted); }
.nm-legend__dot, .chip__dot, .area-list__dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; box-shadow: 0 0 0 2px #fff; }
.chip__dot { margin-right: 6px; vertical-align: -1px; }

/* homepage: list of Areas beside the map */
.area-list { list-style: none; margin: 0; padding: 0; }
.area-list li a { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / 0.12); text-decoration: none; }
.area-list li a > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.area-list small { opacity: 0.7; font-size: 0.86rem; }
.area-list .n { font-family: var(--font-display); font-size: 1.5rem; }
.area-list li a:hover strong { color: var(--gold); }
.area-list--light li a { border-color: var(--line); }
.area-list__total { margin-top: 18px; opacity: 0.8; font-size: 0.95rem; }
.area-list__dot { box-shadow: 0 0 0 2px rgb(255 255 255 / 0.9); }

/* Tables page: Areas */
.family-line { margin-top: 12px; font-weight: 700; color: var(--navy-700); }
.chips--inline { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips--inline .chip { cursor: pointer; font: inherit; font-weight: 600; }
.area-group { border-left: 5px solid var(--area, var(--gold)); padding-left: clamp(16px, 3vw, 32px); margin-bottom: 56px; scroll-margin-top: 100px; }
.area-group__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: flex-end; margin-bottom: 20px; }
.area-group__head h2 { margin: 0; color: var(--area, var(--ink)); }
.area-group__head h2 small { display: block; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
.area-group__coord { display: flex; flex-direction: column; gap: 2px; font-size: 0.95rem; text-align: right; }
.area-group__coord .muted { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.city-group__title { font-size: 1.35rem; margin: 28px 0 14px; }
.city-group__title small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-left: 6px; }
@media (max-width: 700px) { .area-group__coord { text-align: left; } }

/* Facets & conveners */
.facet { padding: clamp(20px, 3vw, 32px) !important; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.facet__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: baseline; margin-bottom: 20px; }
.facet__head h3 { margin: 0; font-size: 1.6rem; }
.facet__body { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 32px; align-items: start; }
.facet__body--full { grid-template-columns: 1fr; }
.facet__poster { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px; }
.facet__poster .gallery__item { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.facet__poster img { width: 100%; height: auto; display: block; }
.data--compact th, .data--compact td { padding: 10px 12px; font-size: 0.92rem; vertical-align: top; }
.data--compact td a { white-space: nowrap; }
.person__contact { margin-top: 4px; font-size: 0.88rem; }
.person__contact a { color: var(--navy-700); }
@media (max-width: 800px) { .facet__body { grid-template-columns: 1fr; } .facet__poster { position: static; max-width: 320px; } }

/* Downloads: shelves of publications */
.shelf { margin: 8px 0 56px; scroll-margin-top: 100px; }
.shelf__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.shelf__head h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.shelf__head h2 small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-left: 8px; }
.shelf__head p { margin: 0; }
.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px; }
.pub-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.pub-card__cover { position: relative; aspect-ratio: 1 / 1.35; border-radius: 12px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.pub-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.pub-card:hover .pub-card__cover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pub-card__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; text-align: center; color: #fff; background: radial-gradient(circle at 30% 20%, #1a3470, var(--navy-900) 70%); font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.pub-card__open { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgb(11 23 48 / 0.8); color: #fff; }
.pub-card__body h3 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 700; margin: 0 0 6px; }
.pub-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.pub-card__badge { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 6px; background: var(--red-100); color: var(--red); }
.pub-card__badge--soon { background: var(--paper-2); color: var(--muted); }
.pub-card--soon .pub-card__cover { opacity: 0.88; }
.page-hero--compact { padding-bottom: 32px; }
.reader__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.reader__head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.reader { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: #525659; }
.reader__frame { display: block; width: 100%; height: min(88vh, 1100px); border: 0; }
.reader__fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 320px; color: #fff; padding: 32px; text-align: center; }
@media (max-width: 600px) { .pub-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .reader__frame { height: 70vh; } }

/* Events calendar image */
.cal-image__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 24px; }
.cal-image__head h2 { margin: 0 0 6px; }
.cal-image__frame { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.cal-image__frame img { display: block; width: 100%; height: auto; }
.cal-image__empty { padding: 48px 24px; text-align: center; border: 2px dashed var(--line); border-radius: 18px; }

/* PDF reader */
.pdf-reader { border-radius: 18px; overflow: clip; background: #3b3f45; box-shadow: var(--shadow-lg); }
.pdf-reader__bar { position: sticky; top: 76px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: rgb(11 23 48 / 0.92); color: #fff; font-weight: 700; font-size: 0.92rem; }
.pdf-reader__zoom { display: inline-flex; align-items: center; gap: 10px; }
.pdf-reader__zoom button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.35); background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; }
.pdf-reader__status { color: #dfe3ea; text-align: center; padding: 64px 16px; margin: 0; }
.pdf-reader__pages { --pdf-zoom: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px; overflow-x: auto; }
.pdf-page { width: calc(min(100%, 900px) * var(--pdf-zoom)); max-width: none; background: #fff; box-shadow: 0 4px 18px rgb(0 0 0 / 0.35); }
.pdf-page canvas { display: block; width: 100%; height: auto; }
.pdf-reader__native, .pdf-reader__bar { display: none; }
.pdf-reader--ready .pdf-reader__bar { display: flex; }
.pdf-reader--fallback .pdf-reader__native { display: block; }
.pdf-reader--fallback .pdf-reader__pages, .pdf-reader--fallback .pdf-reader__status { display: none; }
@media (max-width: 420px) { .pdf-reader__bar { top: 68px; } .pdf-reader__pages { padding: 8px; gap: 8px; } }

/* Legacy: Past National Presidents */
.presidents { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 32px 22px; }
.president { text-align: center; min-width: 0; }
.president__frame { border: 2px solid var(--gold); padding: 5px; background: var(--white); border-radius: 14px; box-shadow: 0 22px 14px -18px rgb(11 23 48 / 0.28); transition: transform 0.2s; }
.president:hover .president__frame { transform: translateY(-4px); }
.president__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: linear-gradient(45deg, var(--navy-900) 0%, var(--red) 100%); display: grid; place-items: center; }
.president__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.president__initials { font-family: var(--font-display); font-size: clamp(2rem, 7vw, 2.8rem); font-weight: 600; color: #fff; letter-spacing: 0.02em; }
.president__no { position: absolute; left: 0; top: 10px; background: var(--gold); color: var(--navy-950); font-size: 0.72rem; font-weight: 800; padding: 3px 10px 3px 8px; border-radius: 0 6px 6px 0; }
.president__founder { position: absolute; right: 0; top: 10px; background: var(--red); color: #fff; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px 0 0 6px; }
.president__name { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 14px 0 0; line-height: 1.3; overflow-wrap: anywhere; }
.president__year { display: inline-block; margin: 6px 0 0; font-size: 0.84rem; font-weight: 700; color: var(--navy-700); border-bottom: 2px solid var(--gold); padding-bottom: 2px; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .presidents { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } .president__name { font-size: 0.92rem; margin-top: 10px; } }
@media (prefers-reduced-motion: reduce) { .president__frame { transition: none; } .president:hover .president__frame { transform: none; } }
/* Names on one line, one size for every card in a list (Nov 2026, asked by IT): the size leaves room for a 25-character
   name at the card's width (7.5cqi ≈ 25 letters of Noto Sans bold; 7.9cqi of Lora); if a longer name comes, site.js
   ([data-fit-names]) makes every name in that list smaller by the same amount (--fit). */
.president, .grid--people .person { container-type: inline-size; }
.president__name, .grid--people .person h3, .officer__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.president__name { font-size: calc(min(1rem, 7.5cqi) * var(--fit, 1)); }
.grid--people .person h3 { font-size: calc(min(1.2rem, 7.9cqi) * var(--fit, 1)); }
.officer__name { font-size: calc(1rem * var(--fit, 1)); }
[data-fit-names].fit-wrap .president__name, [data-fit-names].fit-wrap .person h3, [data-fit-names].fit-wrap .officer__name { white-space: normal; text-overflow: clip; }
@media (max-width: 600px) {
  .president__name { font-size: calc(min(0.92rem, 7.5cqi) * var(--fit, 1)); }
  .grid--people .person h3 { font-size: calc(min(1rem, 7.9cqi) * var(--fit, 1)); }
}

/* Legacy: Our Journey */
.journey { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; position: relative; }
.journey::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: linear-gradient(var(--navy-700), var(--red)); border-radius: 3px; }
.journey__item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: start; margin-bottom: 22px; }
.journey__dot { grid-column: 2; grid-row: 1; justify-self: center; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 4px solid var(--gold); margin-top: 18px; position: relative; z-index: 1; }
.journey__item--milestone .journey__dot { width: 22px; height: 22px; background: var(--red); margin-top: 16px; }
.journey__card { grid-row: 1; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); border-bottom: 3px solid var(--gold); padding: 14px 18px; overflow: hidden; }
.journey__item:nth-child(odd) .journey__card { grid-column: 1; text-align: right; }
.journey__item:nth-child(even) .journey__card { grid-column: 3; }
.journey__item--milestone .journey__card { border-bottom-color: var(--red); }
.journey__photo { margin: -14px -18px 12px; aspect-ratio: 16 / 9; background: var(--paper-2); }
.journey__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.journey__year { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.journey__title { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; margin: 2px 0 0; }
.journey__text { font-size: 0.9rem; color: var(--muted); margin: 4px 0 0; }
.journey__pres { font-size: 0.84rem; font-weight: 600; color: var(--navy-700); margin: 6px 0 0; }
.journey__projects { text-align: center; margin-top: 48px; }
.journey__projects h3 { margin: 0 0 16px; }
.journey__projects .chips { justify-content: center; margin: 0; padding: 0; list-style: none; }
.journey__projects .chips a { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--gold); background: var(--white); color: var(--ink); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.journey__projects .chips a:hover { background: var(--gold-100); }
@media (max-width: 700px) {
  .journey::before { left: 8px; margin-left: 0; }
  .journey__item { grid-template-columns: 34px minmax(0, 1fr); margin-bottom: 16px; }
  .journey__dot { grid-column: 1; justify-self: start; margin-left: 0.5px; }
  .journey__item--milestone .journey__dot { margin-left: -1.5px; }
  .journey__item:nth-child(n) .journey__card { grid-column: 2; text-align: left; }
}

/* Impact figures in rows of four (4 or 8 figures): 2 × 2 on tablets, 4 across on computers */
@media (min-width: 761px) {
  .impact__grid--4 { grid-template-columns: 1fr 1fr; }
  .impact__grid--4 .impact__item:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .impact__grid--4 .impact__item:nth-child(even) { padding-left: 28px; border-left: 1px solid rgb(255 255 255 / 0.12); }
  .impact--light .impact__grid--4 .impact__item { border-color: var(--line); }
}
@media (min-width: 1000px) {
  .impact__grid--4 { grid-template-columns: repeat(4, 1fr); }
  .impact__grid--4 .impact__item:nth-child(even) { padding-left: 0; border-left: 0; }
  .impact__grid--4 .impact__item:not(:nth-child(4n + 1)) { padding-left: 28px; border-left: 1px solid rgb(255 255 255 / 0.12); }
  .impact__grid--4 .impact__num { font-size: clamp(2.4rem, 3.3vw, 3.6rem); }
}
/* Journey: let the alternating cards tuck in beside each other */
@media (min-width: 701px) {
  .journey__item:not(:first-child) { margin-top: -44px; }
}
@media (max-width: 760px) { .impact__num--long { font-size: clamp(1.5rem, 6.6vw, 2.2rem); } }

/* ─────────────────────────  Phones (most visitors)  ───────────────────────── */
/* Header: logo, search, "Support us" and the menu button always fit, down to 320 px */
@media (max-width: 480px) {
  .menu-toggle { width: 42px; height: 42px; }
  .site-header__inner { gap: 8px; }
}
@media (max-width: 374px) {
  .site-header__inner { gap: 6px; }
  .brand__text strong { font-size: 0.95rem; }
  .brand__text span { letter-spacing: 0.2em; }
  .brand svg { width: 30px; height: 30px; }
  .brand__logo { height: 32px; max-width: 124px; }
  .menu-toggle { width: 38px; height: 38px; }
  .header-cta .btn { padding: 0 10px; font-size: 0.78rem; min-height: 38px; }
}
@media (max-width: 340px) { .header-cta .btn-row { display: none; } }

@media (max-width: 600px) {
  /* People: two to a row instead of one huge photo each */
  .grid--people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .grid--people .person__photo { margin-bottom: 10px; border-radius: 14px; }
  .grid--people .person h3 { line-height: 1.25; }   /* size: see "Names on one line" */
  .grid--people .person p { font-size: 0.82rem; }
  .grid--people .person__contact a { overflow-wrap: anywhere; }
  .grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

  /* Tables of people and past boards become cards */
  .table-wrap--stack { border: 0; background: transparent; overflow: visible; border-radius: 0; }
  .data--stack, .data--stack tbody, .data--stack tr, .data--stack td { display: block; width: 100%; }
  .data--stack thead { display: none; }
  .data--stack tr { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
  .data--stack td { padding: 2px 0 !important; border: 0 !important; }
  .data--stack td:empty { display: none; }
  .data--stack td[data-label]::before { content: attr(data-label); display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .data--stack .stack-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
  .data--stack .stack-title { font-size: 1.02rem; font-weight: 700; color: var(--navy-800); }
  .data--stack .stack-link { display: inline-block; width: auto; margin-right: 14px; font-size: 0.9rem; }
  .data--stack .stack-link a { display: inline-block; padding: 4px 0; overflow-wrap: anywhere; }
  .data--years tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; }
  .data--years .stack-title { grid-column: 1 / -1; }

  /* Map: city names are too small to read on a phone – the list under the map names them */
  .nepal-map .nm-label, .nepal-map .nm-count { display: none; }
  .nm-legend { flex-direction: column; align-items: stretch; gap: 8px; }
  .nm-legend__item { border-radius: 14px; align-items: flex-start; flex-wrap: wrap; row-gap: 2px; }
  .nm-legend__dot { margin-top: 4px; }


  /* Project figures: two per row */
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row > div { padding: 18px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stats-row > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .stats-row b { font-size: 1.8rem; }

  /* Call-to-action cards: no empty space on small screens */
  .involve { min-height: 0; padding: 26px 22px; gap: 4px; }
  .involve .link-arrow { margin-top: 14px; }

  /* Comfortable tap targets */
  .chip { min-height: 42px; display: inline-flex; align-items: center; }
  .site-footer a:not(.btn) { display: inline-block; padding: 3px 0; }
  .site-footer .social a { display: grid; place-items: center; padding: 0; }
  .crumbs { font-size: 0.8rem; }
}

/* Tables without a logo show their number */
.club__no { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--gold); background: var(--navy-900); }
.show-more { display: flex; margin: 16px auto 0; }

/* Donation QR code / photo under "Support a project": any shape, never stretched */
.donate-qr { max-width: 280px; margin-top: 16px; }
.donate-qr img { width: 100%; height: auto; border-radius: var(--radius-sm); background: #fff; }

/* Hero without the photo panel (switch in the hero section) */
.hero--text .hero__grid { grid-template-columns: minmax(0, 780px); }
.hero--text .hero__dots { position: static; margin-top: 28px; }
.hero--text .hero__dots button { background: var(--line); }
.hero--text .hero__dots button[aria-selected='true'] { background: var(--gold); }
.grid-3.grid--people { max-width: 1000px; }

/* ─────────────────────  Soft blue look (September 2026): calmer, fewer effects  ───────────────────── */
h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.18rem); }
.eyebrow { letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.eyebrow::before { display: none; }
.section--navy .eyebrow { color: rgb(255 255 255 / 0.72); }
.hero__facts strong { font-size: 1.7rem; }
.impact__num { font-size: clamp(2.2rem, 3.2vw, 2.9rem) !important; }
@media (max-width: 760px) { .impact__num { font-size: clamp(1.45rem, 6.2vw, 1.85rem) !important; } }
.impact__num, .hero__facts strong, .dl__big { font-variant-numeric: lining-nums proportional-nums; }
.impact--light .impact__num { color: var(--navy-900); }
.impact--light .impact__num em { color: var(--gold-600); }
.pillar__icon { display: none; }
.btn { font-weight: 600; }
.hero__media { box-shadow: none; }
.card, .pillar, .journey__card { box-shadow: none; }
.journey__card { border: 1px solid var(--line); border-bottom: 3px solid var(--gold); }
.journey::before { background: var(--navy-100); }
.president__photo { background: var(--navy-800); }
.pub-card__placeholder { background: var(--navy-900); }
.site-header { background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom-color: var(--line); }

.involve--navy .eyebrow { color: rgb(255 255 255 / 0.75); }
.involve--gold .eyebrow { color: inherit; opacity: 0.8; }
@media (max-width: 600px) { .gallery--album { grid-template-columns: 1fr 1fr; gap: 8px; } .gallery__item { border-radius: 8px; } }

/* ─────────────────────  Round Table look (October 2026): brand colours, gold header, clear section breaks  ───────────────────── */
.section--gold { background: var(--gold-soft); }
.section--sky { background: var(--sky); }
.section--paper2 { background: var(--paper-2); }

/* Header in the brand gold, full width */
.site-header { background: var(--header); border-bottom: 1px solid color-mix(in srgb, var(--header) 70%, black); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .nav a { color: var(--navy-950); }
.site-header .nav a:hover { background: rgb(255 255 255 / 0.35); color: var(--navy-950); }
.site-header .nav a[aria-current='page'] { background: rgb(255 255 255 / 0.55); color: var(--navy-950); }
.site-header .brand__text span { color: var(--navy-950); opacity: 0.8; }
.site-header .btn--gold { --bg: var(--navy-900); --fg: #fff; }
.site-header .btn--ghost { border-color: rgb(20 35 70 / 0.35); color: var(--navy-950); }
.site-header .menu-toggle { border-color: rgb(20 35 70 / 0.3); color: var(--navy-950); background: rgb(255 255 255 / 0.25); }
.announce { background: var(--navy-950); }

/* Dark bands in royal blue with gold numbers */
.section--navy { background: var(--navy-900); }
.section--navy .impact__num em, .impact__num em { color: var(--gold); }
.impact--light .impact__num em { color: var(--gold-600); }
.section--navy .impact__item, .section--navy .impact__grid { border-color: rgb(255 255 255 / 0.14); }

/* Section headings: a short gold bar before the small label */
.eyebrow { color: var(--navy-800); }
.eyebrow::before { display: inline-block; content: ''; width: 22px; height: 3px; border-radius: 2px; background: var(--gold); }
.section--navy .eyebrow { color: rgb(255 255 255 / 0.8); }

/* Buttons */
.btn--gold { --bg: var(--gold); --fg: var(--navy-950); }

/* Cards sit on white with a soft border; on white sections they get a light fill */
.section--white .pillar, .section--white .card { background: var(--paper-2); border-color: transparent; }

/* Photos in cards are shown whole (banners and logos are not cut) – set in Site settings → Colours & fonts */
.photos-whole .card__media { position: relative; background: var(--paper-2); }
.photos-whole .card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.photos-whole .card:hover .card__media > img { transform: none; }

/* Footer: royal blue with a gold edge */
.site-footer { background: var(--navy-950); border-top: 4px solid var(--gold); }
.footer-cta h2 { max-width: none; }
.footer-bottom { align-items: center; }
.footer-bottom__left { display: flex; flex-direction: column; gap: 4px; }
.footer-credit { font-size: 0.82rem; color: rgb(255 255 255 / 0.6); }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(255 255 255 / 0.3); }

/* Hero: slide photos shown whole */
.hero--whole .hero__media { aspect-ratio: auto; background: transparent; box-shadow: none; }
.hero--whole .hero__media { display: grid; align-items: center; }
.hero--whole .hero__slide { position: relative; inset: auto; grid-area: 1 / 1; visibility: hidden; }
.hero--whole .hero__slide[data-active='true'] { visibility: visible; }
.hero--whole .hero__media > .spotlight, .hero--whole .hero__media > .hero__dots { grid-area: auto; }
.hero--whole .hero__slide img { height: auto; object-fit: contain; border-radius: var(--radius-lg); }
.hero--whole .spotlight { position: relative; left: auto; right: auto; bottom: auto; margin-top: 14px; }
.hero--whole .hero__dots { position: static; justify-content: flex-end; margin-top: 12px; }
.hero--whole .hero__dots button { background: var(--line); }
.hero--whole .hero__dots button[aria-selected='true'] { background: var(--gold); }
.stats-row > div:only-child { grid-column: 1 / -1; border-right: 0 !important; }

/* ─────────────────────  Facets & Conveners page (/about/conveners): compact lists  ───────────────────── */
.roster-link { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.roster-link h2 { margin-bottom: 6px; }
.roster-link p { margin: 0; }
.roster-tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.roster-tools .chips { margin: 0; }
.roster-tabs .chip[aria-selected='true'] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.roster-tabs .chip[aria-selected='true'] .muted { color: rgb(255 255 255 / 0.7); }
.roster-tabs .chip .muted { margin-left: 6px; font-weight: 500; }
.roster-search { flex: 1 1 260px; max-width: 360px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; background: var(--white); }
.js .roster[data-hidden-by-tab] { display: none; }
.roster { margin-bottom: 40px; }
.roster__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.roster__head h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0; }
.roster__head p { margin: 4px 0 0; }
.roster__poster .gallery__item { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-weight: 600; font-size: 0.9rem; color: var(--navy-800); cursor: zoom-in; }
.roster__poster img { width: 44px; height: 56px; object-fit: cover; border-radius: 6px; }
.roster__table { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.roster__table th { text-align: left; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--paper-2); padding: 10px 14px; }
.roster__table td { padding: 9px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.roster__table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--paper-2) 45%, white); }
.roster__post { color: var(--ink-2); }
.roster__name { font-weight: 700; color: var(--navy-900); }
.roster__table a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--navy-800); overflow-wrap: anywhere; }
.roster__table a:hover span { text-decoration: underline; }
.roster__table a svg { width: 15px; height: 15px; flex: none; color: var(--gold-600); }
.roster__table td.roster__phone { white-space: nowrap; }
@media (max-width: 1000px) {
  .roster__table td, .roster__table th { padding: 8px 10px; }
  .roster__email span { display: none; }   /* tablets: email as an icon button */
  .roster__email a { width: 36px; height: 36px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
  .roster__table th:nth-child(3) { font-size: 0; }
}
@media (max-width: 640px) {
  /* Phones: two short lines per person (post above name) with round email / call buttons – no sideways scrolling */
  .roster__table, .roster__table tbody { display: block; }
  .roster__table thead { display: none; }
  .roster__table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: 'post email phone' 'name email phone'; column-gap: 8px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line); }
  .roster__table tbody tr:first-child { border-top: 0; }
  .roster__table td { display: block; padding: 0; border: 0; background: none !important; }
  .roster__post { grid-area: post; font-size: 0.74rem; color: var(--muted); line-height: 1.3; }
  .roster__name { grid-area: name; font-size: 0.95rem; line-height: 1.3; }
  .roster__email { grid-area: email; }
  .roster__phone { grid-area: phone; }
  .roster__phone span { display: none; }
  .roster__phone a { width: 36px; height: 36px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
  .roster__table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--paper-2) 45%, white); }
  .roster-search { max-width: none; }
  .roster-tools .chips { gap: 6px; }
  .roster-tools .chip { font-size: 0.88rem; padding: 7px 12px; min-height: 38px; }
}

/* Compact page headings on inner pages: title on one line, content starts higher up */
.page-hero { padding: clamp(24px, 3.6vw, 44px) 0 clamp(20px, 2.6vw, 30px); }
.page-hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); max-width: none; margin-bottom: 8px; }
.page-hero .breadcrumbs { margin-bottom: 14px; }
.page-hero .eyebrow { margin-bottom: 8px; }
.page-hero .lede { font-size: clamp(1rem, 1.3vw, 1.1rem); }
.page-hero .lede p { margin: 0; }
.page-hero + .section--tight { padding-top: clamp(20px, 3vw, 32px); }
.shelf { margin-bottom: 40px; }
.shelf__head { margin-bottom: 16px; padding-bottom: 10px; }
.page-hero + .section--tight > .container > .chips { margin-bottom: 20px; }

/* Hero slides: every slide takes the height of the tallest one, so the page never jumps */
.hero__stack { display: grid; }
.hero__stack > .hero__copy { grid-area: 1 / 1; }
.hero__stack > .hero__copy[hidden] { display: block !important; visibility: hidden; }
.hero__arrows { display: none; align-items: center; gap: 12px; margin-top: 26px; }
.hero__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy-900); display: grid; place-items: center; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.hero__arrow:hover { background: var(--gold); border-color: var(--gold); }
.hero__count { font-size: 0.9rem; color: var(--muted); min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.hero__count b { color: var(--navy-900); }
.section--navy .hero__arrow { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.35); }
@media (min-width: 900px) {
  .hero__arrows { display: flex; }
  .hero .hero__dots { display: none; }
}

/* ─────────────────────  Table profile (/tables/…)  ───────────────────── */
.table-profile { padding: clamp(24px, 3.6vw, 44px) 0 clamp(28px, 4vw, 48px); background: var(--sky); }
.table-profile__card { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 2.6vw, 30px); }
.table-profile__logo { width: 150px; height: 150px; border-radius: 20px; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.table-profile__logo img { width: 100%; height: 100%; object-fit: contain; }
.table-profile__no { font-family: var(--font-display); font-size: 3.2rem; font-weight: 600; color: var(--navy-900); }
.table-profile h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 12px; }
.table-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 14px; }
.table-facts dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.table-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--navy-950); }
.area-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; }
.table-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 0.95rem; }
.table-contact > a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--navy-800); }
.table-contact > a:hover { text-decoration: underline; }
.table-contact svg { width: 16px; height: 16px; color: var(--gold-600); }
.table-social { display: inline-flex; gap: 8px; }
.table-social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy-900); }
.table-social a:hover { background: var(--gold); border-color: var(--gold); }
.table-profile__actions { display: flex; flex-direction: column; gap: 10px; }
.table-profile__actions .btn { white-space: nowrap; }
.table-about { max-width: 72ch; margin-top: 22px; }
.officer-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.officer { display: flex; align-items: center; gap: 14px; background: var(--paper-2); border-radius: var(--radius); padding: 12px 14px; }
.officer__photo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; background: var(--navy-900); display: grid; place-items: center; }
.officer__photo img { width: 100%; height: 100%; object-fit: cover; }
.officer__photo span { color: #fff; font-weight: 700; font-family: var(--font-display); }
.officer__role { font-size: 0.78rem; color: var(--muted); }
.officer__name { font-weight: 700; color: var(--navy-900); }
.table-board { margin-top: 28px; max-width: 600px; }
@media (max-width: 900px) {
  .table-profile__card { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }
  .table-profile__logo { width: 96px; height: 96px; border-radius: 16px; }
  .table-profile__no { font-size: 2.2rem; }
  .table-profile__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .table-profile__actions .btn { flex: 1 1 180px; }
}
@media (max-width: 560px) {
  .table-profile__card { grid-template-columns: 72px minmax(0, 1fr); align-items: start; }
  .table-profile__logo { width: 72px; height: 72px; }
  .table-facts { gap: 8px 18px; }
  .table-contact { font-size: 0.9rem; }
}
.charter-board { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.charter-board h3 { margin: 0 0 4px; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.charter-board > p { margin: 0 0 16px; }
.officer--charter { background: var(--gold-soft); }
.officer--charter .officer__photo { background: var(--gold-600); }

/* Later slides use h2 (only one main heading per page) but look the same as the first */
.hero h2.hero__title { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.16; margin-bottom: 24px; }

/* Spacing (compact but airy): sections that follow one with the same background start closer,
   so two blocks of text never sit 200px+ apart; the first block after a page heading starts close to it. */
.section-head { margin-bottom: clamp(22px, 2.8vw, 36px); }
.prose > :last-child, .section > .container > :last-child { margin-bottom: 0; }
.section:not([class*="section--"]) + .section:not([class*="section--"]),
.paper-white .section:is(:not([class*="section--"]), .section--white) + .section:is(:not([class*="section--"]), .section--white),
.section--white + .section--white, .section--gold + .section--gold, .section--sky + .section--sky,
.section--paper2 + .section--paper2, .section--navy + .section--navy { padding-top: calc(var(--section) * 0.3); }
.page-hero + .section:not(.section--navy, .section--gold, .section--sky, .section--paper2) { padding-top: clamp(26px, 3.2vw, 44px); }
.page-hero { padding: clamp(22px, 3vw, 38px) 0 clamp(18px, 2.2vw, 28px); }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 4.6vw, 64px); }
.prose p:empty, .prose > p:has(> br:only-child) { display: none; }   /* stray empty lines from the editor add no extra space */
.split > div > .office-box { margin-top: 20px; }
.map-embed--wide { display: block; min-height: 0; height: clamp(260px, 32vw, 380px); }

/* Tablets: flagship projects – the big one on top, the other three side by side with their photos on top;
   rows of exactly three cards stay three across instead of leaving one alone */
@media (min-width: 701px) and (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
  .feature-grid > :first-child { grid-column: 1 / -1; grid-row: auto; }
  .feature-grid > :first-child .card__media { min-height: 0; aspect-ratio: 16 / 8; flex: none; }
  .feature-grid > :not(:first-child) { flex-direction: column; }
  .feature-grid > :not(:first-child) .card__media { width: 100%; aspect-ratio: 4 / 3; }
  .grid-3:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 521px) and (max-width: 700px) {
  .feature-grid > :not(:first-child) { align-items: stretch; }
  .feature-grid > :not(:first-child) .card__media { width: 36%; aspect-ratio: 4 / 3; align-self: center; }
}

/* Slider dots: same look, but each dot is a 32px tap area so it is easy to hit with a thumb */
.hero__dots { gap: 0; }
.hero__dots button, .hero--text .hero__dots button, .hero--whole .hero__dots button,
.hero__dots button[aria-selected='true'] { position: relative; width: 32px; height: 32px; border-radius: 0; background: transparent; }
.hero__dots button[aria-selected='true'] { width: 42px; }
.hero__dots button::before { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; transform: translate(-50%, -50%); border-radius: 50%; background: rgb(255 255 255 / 0.5); }
.hero--text .hero__dots button::before, .hero--whole .hero__dots button::before { background: var(--line); }
.hero__dots button[aria-selected='true']::before { width: 26px; border-radius: 6px; background: var(--gold); }
.hero__dots button:focus-visible { outline: 2px solid var(--navy-700); outline-offset: -4px; }
@media (max-width: 1000px) { .roster__table--no-email th:nth-child(3) { font-size: 0.72rem; } }
.roster__post a { color: inherit; display: inline; }
.roster__post a:hover { text-decoration: underline; }
.filter-none { margin: 8px 0 24px; font-size: 1.05rem; }
@media (min-width: 1201px) {   /* search icon on computers too (when switched on in Menus & footer) */
  .header-cta .search-toggle { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid rgb(11 23 48 / 0.18); color: var(--ink); flex: none; }
  .header-cta .search-toggle svg { width: 18px; height: 18px; }
}
.header-cta { align-items: center; }
.header-cta { flex-shrink: 0; }
.header--tight .nav a { padding-left: 10px; padding-right: 10px; }
.header--tight .header-cta .btn--ghost { display: none; }
.donate-qr { max-width: 380px; }
.donate-qr .gallery__item { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 10px; cursor: zoom-in; }
.donate-qr img { border-radius: var(--radius-sm); }
.donate-qr__hint { font-size: 0.85rem; margin: 8px 0 0; }

/* ───────────────────── RTN Shop ───────────────────── */
.shop-hero__grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .shop-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); } }
.shop-hero .lede { max-width: 58ch; }

.shop-contact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.shop-contact__who { display: flex; gap: 14px; align-items: center; }
.shop-contact__photo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; background: var(--navy-900); color: var(--gold); display: grid; place-items: center; font: 700 1.1rem/1 var(--font-display); }
.shop-contact__photo img { width: 100%; height: 100%; object-fit: cover; }
.shop-contact__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); }
.shop-contact__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); line-height: 1.25; }
.shop-contact__title, .shop-contact__hours { font-size: 0.88rem; color: var(--muted); }
.shop-contact__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-contact__buttons .btn { min-height: 42px; padding: 0 16px; font-size: 0.9rem; gap: 8px; flex: 1 1 auto; }
.shop-contact__num { font-weight: 500; opacity: 0.85; }
.btn--whatsapp { --bg: #1f9e55; --fg: #fff; }
.btn--whatsapp:hover { --bg: #178246; }
.btn--navy { --bg: var(--navy-900); --fg: #fff; }

.shop-bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.shop-bar__cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.shop-bar__cats .chip { display: inline-flex; align-items: center; gap: 6px; }
.chip__count { font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.chip[aria-current='true'] .chip__count { color: inherit; opacity: 0.75; }
.shop-bar__tools { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-search { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); }
.shop-search:focus-within { border-color: var(--navy-900); outline: 3px solid var(--gold); outline-offset: 2px; }
.shop-search input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); width: 180px; min-height: 0; padding: 0; }
.shop-sort select { min-height: 44px; padding: 0 36px 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6677' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font: 600 0.9rem var(--font-body); color: var(--ink); cursor: pointer; }
.shop-count { margin: 0 0 16px; font-size: 0.9rem; }
.shop-none { padding: 24px 0; font-size: 1.05rem; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.shop-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.shop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.shop-card__media { position: relative; aspect-ratio: 1 / 1; background: #f3f4f6; display: grid; place-items: center; overflow: hidden; }
.shop-card__media > img, .shop-card__media > .img-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform 0.35s ease; }
.shop-card:hover .shop-card__media > img { transform: scale(1.04); }
.shop-card__ribbon { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--navy-950, #0b1730); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.shop-card__out { position: absolute; top: 12px; right: 12px; background: rgb(28 37 51 / 0.82); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.shop-card--out .shop-card__media > img { opacity: 0.55; filter: grayscale(0.5); }
.shop-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.shop-card__cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); }
.shop-card h3 { font-size: 1.05rem; line-height: 1.3; margin: 0; }
.shop-card__sub { margin: 0; font-size: 0.85rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.shop-card__price { font-weight: 800; font-size: 1.08rem; color: var(--navy-900); }
.shop-card__price--ask { font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.swatches { display: inline-flex; gap: 4px; }
.swatches i, .opt-chip__sw { display: inline-block; width: 13px; height: 13px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.18); }

.shop-steps { margin-top: clamp(32px, 4vw, 48px); padding: clamp(20px, 3vw, 28px); background: var(--gold-soft); border-radius: var(--radius-lg); }
.shop-steps h2 { font-size: 1.25rem; margin: 0 0 14px; }
.shop-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.shop-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.shop-steps li span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; }

/* Item page */
.product-page .breadcrumbs { margin-bottom: 18px; }
.product { display: grid; gap: clamp(24px, 4vw, 52px); align-items: start; }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); } .product__gallery { position: sticky; top: 96px; } }
.product__main { position: relative; display: block; aspect-ratio: 1 / 1; background: #f3f4f6; border-radius: var(--radius-lg); overflow: hidden; }
.product__main > img, .product__main > .img-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5%; }
.gallery__item.product__main:hover img { transform: none; }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product__thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 12px; background: #f3f4f6; overflow: hidden; cursor: pointer; }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb[aria-current='true'] { border-color: var(--navy-900); }
.product__cat { text-decoration: none; }
.product__info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 8px; }
.product__info .lede { margin: 0 0 14px; font-size: 1.05rem; }
.product__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font: 800 clamp(1.5rem, 2.4vw, 1.9rem)/1.2 var(--font-body); color: var(--navy-900); }
.product__price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.product__price--ask { font-size: 1.15rem; font-weight: 700; color: var(--muted); }
.product__stock { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.85rem; font-weight: 700; }
.product__stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.product__stock.is-in { color: #1f7a45; }
.product__stock.is-out { color: #a8262c; }
.product__option { border: 0; padding: 0; margin: 20px 0 0; }
.product__option legend { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.product__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip { position: relative; cursor: pointer; }
.opt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.opt-chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 600; font-size: 0.9rem; }
.opt-chip input:checked + span { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.opt-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--navy-900); }
.order-box { margin-top: 24px; padding: 20px; background: var(--gold-soft); border-radius: var(--radius-lg); scroll-margin-top: 96px; }
.order-box h2 { font-size: 1.2rem; margin: 0 0 6px; }
.order-box > p { margin: 0 0 14px; font-size: 0.93rem; color: var(--ink-2, #3b4555); }
.order-box .shop-contact { box-shadow: none; }
.order-box__pickup { display: flex; gap: 6px; align-items: center; margin: 12px 0 0 !important; font-size: 0.88rem; }
.product__about { margin-top: 26px; }
.product__code { font-size: 0.85rem; margin-top: 14px; }
.product__enquiry { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.product__enquiry summary { cursor: pointer; font-weight: 700; color: var(--navy-800); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.product__enquiry summary::-webkit-details-marker { display: none; }
.product__enquiry summary::after { content: '▾'; font-size: 0.8em; }
.product__enquiry[open] summary { margin-bottom: 14px; }
.shop-grid--related { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.product-bar { display: none; }
@media (max-width: 700px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-card__body { padding: 10px 12px 12px; }
  .shop-card h3 { font-size: 0.95rem; }
  .shop-card__price { font-size: 0.98rem; }
  .shop-bar__tools, .shop-search { width: 100%; }
  .shop-search input { width: 100%; }
  .shop-sort { width: 100%; }
  .shop-sort select { width: 100%; }
  .shop-bar__cats { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .shop-bar__cats .chip { flex: none; }
  .product-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -6px 20px rgb(20 35 70 / 0.12); transition: transform 0.2s ease; }
  .product-bar[data-hidden] { transform: translateY(110%); }
  .product-bar div { display: grid; min-width: 0; }
  .product-bar strong { color: var(--navy-900); }
  .product-bar span { font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .product-page { padding-bottom: 80px; }
}
/* photos show whole; the space around them takes a soft, blurred version of the same photo */
.shop-card__media::before, .product__main::before { content: ''; position: absolute; inset: -30px; background: var(--bg, none) center / cover no-repeat; filter: blur(26px) saturate(1.1); opacity: 0.35; }
.shop-card__media > img, .product__main > img { z-index: 1; }
.shop-card__media > img { padding: 4%; }
.shop-card__ribbon, .shop-card__out { z-index: 2; }

/* ── Hero: "Big banner" layout – designed banners shown whole, a caption under each, action cards below ── */
.hbn { position: relative; padding: clamp(14px, 2vw, 24px) 0 clamp(22px, 2.6vw, 32px); }
.hbn:not([class*='section--']) { background: linear-gradient(180deg, var(--sky), var(--paper) 62%); }
.hbn__card { background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgb(15 30 62 / 0.07), 0 30px 60px -34px rgb(10 25 60 / 0.45); }
.hbn__stage { position: relative; aspect-ratio: var(--hbn-ratio, 3); overflow: hidden; background: var(--sky); }
.hbn__slide { position: absolute; inset: 0; background: var(--hbn-fill, transparent); opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0s linear 0.8s; }
.hbn__slide[data-active='true'] { opacity: 1; visibility: visible; transition: opacity 0.8s ease; }
.hbn__slide picture, .hbn__hit { display: block; width: 100%; height: 100%; }
.hbn__slide img, .hbn__slide .img-fallback { display: block; width: 100%; height: 100%; object-fit: contain; }
.hbn__slide--cover img { object-fit: cover; }
.hbn__hit:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.hbn__bar { display: flex; align-items: center; gap: 22px; padding: 16px 22px; border-top: 1px solid var(--line); }
.hbn__caps { flex: 1; min-width: 0; display: grid; }
.hbn__cap { grid-area: 1 / 1; display: flex; align-items: center; gap: 22px; animation: fadeUp 0.5s ease both; }
.hbn__cap[hidden] { display: flex !important; visibility: hidden; animation: none; }
.hbn__words { flex: 1; min-width: 0; }
.hbn__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 3px; }
.hbn__title { margin: 0; font: 500 1.1rem/1.4 var(--font-display); color: var(--navy-900); }
.hbn__title em { color: var(--gold-600); font-style: normal; }
.hbn__links { display: flex; gap: 18px; align-items: center; flex: none; }
.hbn__more { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--navy-900); text-decoration: none; white-space: nowrap; }
.hbn__more:hover { color: var(--gold-600); }
.hbn__more--quiet { font-weight: 600; color: var(--muted); }
.hbn__nav { display: flex; align-items: center; gap: 14px; flex: none; }
.hbn__dots { display: flex; }
.hbn__dots button { position: relative; width: 30px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hbn__dots button::before { content: ''; position: absolute; left: 3px; right: 3px; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--line); transition: background 0.2s; }
.hbn__dots button[aria-selected='true'] { width: 50px; }
.hbn__dots button[aria-selected='true']::before { background: var(--gold-600); }
.hbn__dots button:focus-visible { outline: 2px solid var(--navy-700); outline-offset: -2px; border-radius: 6px; }
.hbn__arrows { display: flex; gap: 8px; }
.hbn__tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.hbn__tiles--facts { grid-template-columns: repeat(var(--hbn-tiles, 2), minmax(0, 1fr)) minmax(0, 1.25fr); }
.hbn__tiles--0.hbn__tiles--facts { --hbn-tiles: 0; grid-template-columns: minmax(0, 1fr); }
.hbn__tiles--1 { --hbn-tiles: 1; } .hbn__tiles--3 { --hbn-tiles: 3; }
.hbn__tile { display: grid; align-content: center; gap: 4px; margin: 0; padding: 20px 22px; border-radius: 18px; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
a.hbn__tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hbn__tile small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hbn__tile strong { font: 600 1.4rem/1.15 var(--font-display); }
.hbn__tile span { display: inline-flex; gap: 6px; align-items: center; font-size: 0.92rem; font-weight: 600; }
.hbn__tile--navy { background: var(--navy-900); color: #fff; }
.hbn__tile--navy small { color: var(--gold); }
.hbn__tile--gold { background: var(--gold); color: var(--navy-950); }
.hbn__tile--gold small { color: rgb(15 30 62 / 0.72); }
.hbn__tile--white { background: var(--white); color: var(--navy-900); border: 1px solid var(--line); }
.hbn__tile--white small { color: var(--gold-600); }
.hbn__tile--facts { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); }
.hbn__tile--facts dt { font: 600 1.5rem/1 var(--font-display); color: var(--navy-900); font-variant-numeric: lining-nums proportional-nums; }
.hbn__tile--facts dd { margin: 4px 0 0; font-size: 0.82rem; color: var(--muted); }
.section--navy .hbn__card { box-shadow: none; }
@media (max-width: 1000px) {
  .hbn__cap { flex-wrap: wrap; gap: 6px 18px; }
  .hbn__words { flex-basis: 100%; }
}
@media (max-width: 800px) {
  .hbn__card { border-radius: 14px; }
  .hbn__bar { flex-wrap: wrap; gap: 8px 16px; padding: 14px 16px; }
  .hbn__caps { flex-basis: 100%; }
  .hbn__nav { margin-left: auto; }
  .hbn__arrows { display: none; }
  .hbn__title { font-size: 1rem; }
  .hbn__tiles, .hbn__tiles--facts { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
  .hbn__tiles--1:not(.hbn__tiles--facts) { grid-template-columns: minmax(0, 1fr); }
  .hbn__tile { padding: 16px; border-radius: 14px; }
  .hbn__tile strong { font-size: 1.1rem; }
  .hbn__tile span { font-size: 0.8rem; }
  .hbn__tile--facts { grid-column: 1 / -1; }
  .hbn__tile--facts dt { font-size: 1.2rem; }
  .hbn__tiles--3 .hbn__tile:nth-child(3):not(.hbn__tile--facts) { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .hbn__stage { aspect-ratio: var(--hbn-ratio-sm, var(--hbn-ratio, 3)); }
  .hbn__slide { background: var(--hbn-fill-sm, var(--hbn-fill, transparent)); }
  .hbn__slide--sm-contain img { object-fit: contain; }
  .hbn__slide--sm-cover img { object-fit: cover; }
}
@media (prefers-reduced-motion: reduce) { .hbn__slide, .hbn__slide[data-active='true'] { transition: none; } .hbn__cap { animation: none; } }

/* Text aligned in the admin's text boxes (left / centre / right / justified) */
.prose [style*='justify'] { hyphens: auto; -webkit-hyphens: auto; }   /* fewer wide gaps in justified lines, especially on phones */
.prose > p[style*='center']:first-child::first-letter, .prose > p[style*='right']:first-child::first-letter { all: unset; }   /* no big first letter on centred or right-aligned text */

/* ── Phones: the important things first, sideways rows instead of long stacks, compact lists ── */
.person-strip, .phone-only { display: none; }
.tables-page { display: flex; flex-direction: column; }
.tables-page__map { order: 1; }
.tables-page__search { order: 2; padding-bottom: 0; }
.tables-page__search .filter-bar { margin-bottom: 0; }
.tables-page__list { order: 3; padding-top: 28px; }
@media (max-width: 900px) {
  /* President: photo, name and title above the message (the side column is not repeated below it) */
  .person-strip { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 10px 14px 10px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .person-strip__photo { flex: none; width: 64px; height: 80px; border-radius: 10px; overflow: hidden; background: var(--sky); }
  .person-strip__photo img, .person-strip__photo .img-fallback { width: 100%; height: 100%; object-fit: cover; }
  .person-strip strong { display: block; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.25; color: var(--navy-900); }
  .person-strip span { display: block; font-size: 0.86rem; color: var(--muted); }
  .article--president > .aside { display: none; }
  /* News & events: the "At a glance" / event details box before the story */
  .article--aside-first > .aside { order: -1; }
  /* Projects: a Support button under the title that jumps to the box after the story */
  .phone-only { display: inline-flex; }
  .project-jump { margin-top: 18px; }
  #support { scroll-margin-top: 90px; }
  /* Tables: search first, then the map (without its list – the area buttons do the same), then the Tables */
  .tables-page__search { order: 0; padding: 20px 0 0; }
  .tables-page__map { order: 1; padding-top: 20px !important; padding-bottom: 8px !important; background: transparent; }
  .tables-page__map .nm-legend { display: none; }
  .tables-page.is-filtering .tables-page__map { display: none; }
  .tables-page__list { order: 2; padding-top: 16px; }
}
@media (max-width: 700px) {
  /* rows you swipe sideways (homepage flagship projects and the "seat at the table" cards) */
  .swipe-sm { display: grid !important; grid-auto-flow: column; grid-auto-columns: 80%; grid-template-columns: none !important; grid-template-rows: none !important;
    gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scroll-padding: 0 var(--gutter); }
  .swipe-sm::-webkit-scrollbar { display: none; }
  .swipe-sm > * { scroll-snap-align: start; min-width: 0; }
  .feature-grid.swipe-sm > * { grid-row: auto !important; flex-direction: column !important; }
  .feature-grid.swipe-sm > * .card__media { width: 100% !important; aspect-ratio: 16 / 10 !important; min-height: 0 !important; flex: none !important; }
  .feature-grid.swipe-sm > :first-child h3 { font-size: 1.2rem; }
  .feature-grid.swipe-sm > * .card__body { padding: 14px 16px 16px; }
  /* filter buttons: one line you can swipe, instead of 2–4 lines */
  .chips--swipe { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding: 2px var(--gutter) 4px; scroll-padding: 0 var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .chips--swipe::-webkit-scrollbar { display: none; }
  .chips--swipe > * { flex: none; white-space: nowrap; }
  .shop-bar .chips--swipe, .filter-bar .chips--swipe { width: calc(100% + 2 * var(--gutter)); }
  /* project lists: two cards per row */
  .grid--pair-sm { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .grid--pair-sm .card__body { padding: 12px 12px 14px; }
  .grid--pair-sm .card h3 { font-size: 1rem; line-height: 1.3; margin: 4px 0 4px; }
  .grid--pair-sm .card p { font-size: 0.84rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
  .grid--pair-sm .card .tag { font-size: 0.66rem; padding: 2px 8px; }
  /* homepage "Three pillars": tighter boxes */
  .pillars { gap: 12px; }
  .pillars .pillar { padding: 18px 18px 8px; }
  .pillars .pillar h3 { font-size: 1.12rem; margin-bottom: 6px; }
  .pillars .pillar p { font-size: 0.9rem; line-height: 1.5; margin-bottom: 10px; }
  .pillars .pillar li a { padding: 9px 0; font-size: 0.92rem; }
  .pillars .pillar li:last-child a { border-bottom: 0; }
}

/* "Computer view" / "Phone view" switch (footer) – only on phones; the choice is kept in the phone's browser */
.view-switch { display: none; align-items: center; gap: 6px; border: 1px solid rgb(255 255 255 / 0.3); background: transparent; color: inherit; font: inherit; font-size: 0.85rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
@media (max-width: 900px) { html:not(.view-wide) .view-switch--wide { display: inline-flex; } }
/* in the wide layout on a phone everything is shown smaller, so the way back is a big button that stays in the corner */
html.view-wide .view-switch--phone { display: inline-flex; position: fixed; left: 24px; bottom: 24px; z-index: 80; font-size: 34px; padding: 18px 34px; border: 0; background: var(--navy-900); color: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / 0.3); }

/* safety net: the header's logo may shrink a little rather than push the buttons off the screen */
.site-header .brand { min-width: 0; flex-shrink: 1; }
.site-header .brand__logo { max-width: 100%; }

/* Site settings → Colours & fonts → "First letter of the text": smaller, or the same size as the text */
.dropcap-small .prose > p:first-child::first-letter { font-size: 2.7em; line-height: 0.9; margin: 0.04em 0.08em 0 0; }
.dropcap-off .prose > p:first-child::first-letter { all: unset; }

/* News & event rows: a small photo with the date under it (the date box is used when there is no photo) */
.row-photo { display: grid; gap: 7px; width: 110px; }
.row-photo__img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--sky); border: 1px solid var(--line); }
.row-photo__img img, .row-photo__img .img-fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
.row-photo__date { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.03em; color: var(--navy-900); text-align: center; white-space: nowrap; }
.row-photo--event .row-photo__date { color: var(--gold-600); }
@media (max-width: 640px) {
  .row-photo { width: 84px; gap: 5px; }
  .row-photo__img { border-radius: 10px; }
  .row-photo__date { font-size: 0.7rem; }
}
@media (max-width: 640px) { .row-item { align-items: start; } .row-item > .row-photo, .row-item > .date-chip { margin-top: 4px; } }

/* ── Review brief, Oct 2026: Table profiles, de-chartered Tables, Publications, In the media ── */
.data .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data--fte td:first-child, .data--events td:first-child { font-weight: 600; color: var(--navy-800); }
.data--events td:first-child a { color: inherit; }
.data--events td:first-child a:hover { color: var(--red); }
/* long school names, places and event titles wrap instead of running off (tables keep cells on one line otherwise) */
table.data.data--fte th, table.data.data--fte td:not(.num), table.data.data--events th, table.data.data--events td:first-child { white-space: normal; }
table.data.data--fte th, table.data.data--fte td { padding: 12px 14px; }
table.data.data--fte th { vertical-align: bottom; }
/* FTE schools has six columns: it becomes cards already on small tablets (up to 760 px), the others from 600 px */
@media (max-width: 760px) {
  .table-wrap--stack-md { border: 0; background: transparent; overflow: visible; border-radius: 0; }
  .data--stack-md, .data--stack-md tbody, .data--stack-md tr, .data--stack-md td { display: block; width: 100%; }
  .data--stack-md thead { display: none; }
  .data--stack-md tr { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
  .data--stack-md td { padding: 2px 0 !important; border: 0 !important; }
  .data--stack-md td:empty { display: none; }
  .data--stack-md td[data-label]::before { content: attr(data-label); display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .data--stack-md .stack-title { font-size: 1.02rem; font-weight: 700; color: var(--navy-800); }
  .data--stack-md td, .data--stack-md .num { white-space: normal !important; min-width: 0; overflow-wrap: anywhere; text-align: left; }
  .data--stack-md.data--fte tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 14px; }
  .data--stack-md.data--fte .stack-title, .data--stack-md.data--fte td[data-label]:nth-child(2) { grid-column: 1 / -1; }
  .data--stack-md.data--years tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; }
  .data--stack-md.data--years .stack-title { grid-column: 1 / -1; }
  .data--stack-md .ipp-iro-same { display: none !important; }   /* cards: one "IPP / IRO" line for the years when it was one post */
}
/* Past National Boards: eight columns since IPP and IRO were added (Oct 2026) – names wrap so it fits */
table.data.data--years th, table.data.data--years td { white-space: normal; padding: 12px 12px; }
table.data.data--years td:first-child { white-space: nowrap; }   /* the year stays on one line */
table.data.data--years th abbr { text-decoration: none; cursor: help; }
@media (max-width: 1000px) { table.data.data--years th, table.data.data--years td { padding: 10px 6px; font-size: 0.86rem; } table.data.data--years th { letter-spacing: 0.04em; } }
@media (max-width: 600px) {   /* the same width at which the other tables turn into cards */
  .data--stack td, .data--stack .num { white-space: normal !important; min-width: 0; overflow-wrap: anywhere; }
  .data--stack.data--fte .num, .data--stack.data--events td { text-align: left; }
  .data--stack.data--fte tr, .data--stack.data--events tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 14px; }
  .data--stack.data--fte .stack-title, .data--stack.data--fte td[data-label]:nth-child(2), .data--stack.data--events .stack-title { grid-column: 1 / -1; }
}
.badge-former { display: inline-block; white-space: nowrap; padding: 2px 10px; border-radius: 999px; background: var(--line); color: var(--ink); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; text-transform: none; }
.table-former-note { margin: 4px 0 14px; }
.area-group--former { --area: var(--muted); margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.club--former { opacity: 0.78; }
.club--former:hover { opacity: 1; }
.club--former .club__no { background: var(--muted); color: var(--white); }
.shelf__years { margin: -6px 0 18px; }
.shelf__year { margin: 26px 0 14px; font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; color: var(--navy-800); scroll-margin-top: 100px; }
.shelf__year:first-of-type { margin-top: 4px; }
.shelf__year:empty { display: none; }
.press-source { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.press-source p { margin: 0 0 14px; }
.charter-board--alone { margin-top: 0; padding-top: 0; border-top: 0; }
.charter-board--alone h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
/* Page heading with "Small logo above the heading": the logo whole and small, the words follow at once */
.page-hero__logo { margin: 0 0 clamp(14px, 2vw, 22px); }
.page-hero__logo img { display: block; height: clamp(54px, 8vw, 96px); width: auto; max-width: min(100%, 460px); object-fit: contain; object-position: left center; }
.page-hero__logo--below { margin: clamp(18px, 3vw, 28px) 0 0; }   /* "Small logo under the intro" */

/* Swipe rows on phones: dots under the row (added by site.js) – the active one is wider */
.swipe-dots { display: none; }
@media (max-width: 700px) {
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .swipe-dots[hidden] { display: none; }
  .swipe-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: color-mix(in srgb, var(--navy-700) 28%, transparent); cursor: pointer; transition: width .2s, background .2s; }
  .swipe-dots button.is-on { width: 22px; background: var(--navy-700); }
}

/* Past National Boards (National Board page) on computers: navy header, zebra rows, thin column lines (style 6, Oct 2026) */
@media (min-width: 761px) {
  table.data.data--years thead th { background: var(--navy-900); color: #fff; border-bottom: 0; border-right: 1px solid rgb(255 255 255 / 0.22); padding-top: 14px; padding-bottom: 14px; }
  table.data.data--years thead th:last-child, table.data.data--years td:last-child { border-right: 0; }
  table.data.data--years thead th abbr { color: inherit; }
  table.data.data--years td { border-right: 1px solid var(--line); }
  table.data.data--years tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--navy-900) 4%, var(--white)); }
  table.data.data--years tbody tr:hover td { background: color-mix(in srgb, var(--gold, #f7c546) 14%, var(--white)); }
  table.data.data--years td:first-child { color: var(--navy-900); font-weight: 700; }
}
@media (min-width: 761px) and (max-width: 860px) { table.data.data--years th, table.data.data--years td { padding-left: 4px; padding-right: 4px; } }
