﻿/* YMWA-inspired palette (from theme: bcse — blues, gold accent, deep brown text) */
:root {
  --color-ink: #2e1e13;
  --color-primary: #154a70;
  --color-accent: #efbb20;
  --color-white: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.88);
  --header-h: 72px;
  /* Full block height: safe-area + bar + bottom padding (must match .site-header__inner) */
  --header-pad-top: max(0.3rem, env(safe-area-inset-top, 0px));
  --header-pad-bottom: 1.2rem;
  --header-outer-h: calc(var(--header-pad-top) + var(--header-h) + var(--header-pad-bottom));
  --header-bg: #ffffff;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  margin: 0;
  background-color: #f0f4f8;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-ink);
  background: #f0f4f8;
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Unified heading font ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

p, li, label, input, textarea, button {
  font-family: var(--font-sans);
}

/* Sliding EN ↔ العربية toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}

.lang-toggle:hover {
  background: rgba(21, 74, 112, 0.12);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.lang-toggle__viewport {
  display: block;
  height: 26px;
  overflow: hidden;
  border-radius: 7px;
  min-width: 4.5rem;
}

.lang-toggle__rail {
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@media (prefers-reduced-motion: reduce) {
  .lang-toggle__rail {
    transition: transform 0.15s ease;
  }
}

.lang-toggle.is-ar .lang-toggle__rail {
  transform: translateY(-50%);
}

.lang-toggle__opt {
  flex: 0 0 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  line-height: 1;
}

.site-header .lang-toggle {
  flex-shrink: 0;
}

/* ——— Hero banner (normal scroll); transparent header only on .page-home ——— */
.hero {
  position: relative;
  min-height: clamp(300px, 65vh, 800px);
  min-height: clamp(300px, 65dvh, 800px);
  display: flex;
  flex-direction: column;
  margin-top: calc(-1 * var(--header-outer-h));
  padding-top: var(--header-outer-h);
  background-color: #0000003d;
  isolation: isolate;
  overflow: visible;
}

/* Translucent wash over imagery (hero bg alone sits under the photos) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #0000003d;
  pointer-events: none;
}

/* Dual-layer hero imagery — crossfade; cover = full hero width & height (no side letterboxing) */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #0f172a;
}

.hero__media-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero__media-layer.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__media-layer:not(.is-active) {
  z-index: 0;
}

.hero.hero--media-busy .hero__media-layer.is-active {
  transition-duration: 0.7s;
}

@media (prefers-reduced-motion: reduce) {
  .hero__media-layer {
    transition-duration: 0.2s;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

/* WordPress admin bar is 32px on desktop, 46px on mobile — push sticky header below it */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Home only: overlap top banner — transparent until scroll (JS adds .site-header--solid) */
.page-home .site-header:not(.site-header--solid) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Mobile drawer needs a real surface */
.site-header.is-menu-open {
  background: var(--header-bg);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 max(1.25rem, env(safe-area-inset-right, 0px)) 0
    max(1.25rem, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-outer-h);
}

/* Home, top of page only: white links over the hero (hidden once scrolled or menu open) */
.page-home .site-header:not(.is-menu-open):not(.site-header--solid) .nav-main__list > li > a,
.page-home .site-header:not(.is-menu-open):not(.site-header--solid) .nav-main__list > li > .nav-main__row .nav-main__link--top {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.page-home .site-header:not(.is-menu-open):not(.site-header--solid) .nav-main__list > li > a:hover,
.page-home .site-header:not(.is-menu-open):not(.site-header--solid) .nav-main__list > li > .nav-main__row .nav-main__link--top:hover {
  color: #e0f2fe;
}

.page-home .site-header:not(.is-menu-open):not(.site-header--solid) .lang-toggle__opt {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.page-home .site-header:not(.is-menu-open):not(.site-header--solid) .nav-toggle {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.page-home .site-header:not(.is-menu-open):not(.site-header--solid) .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.28);
}

.site-header.is-menu-open .nav-main__list > li > a,
.site-header.is-menu-open .nav-main__list > li > .nav-main__row .nav-main__link--top {
  color: var(--color-ink);
  text-shadow: none;
}

.site-header.is-menu-open .nav-main__list > li > a:hover,
.site-header.is-menu-open .nav-main__list > li > .nav-main__row .nav-main__link--top:hover {
  color: var(--color-primary);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-home .site-header:not(.site-header--solid):not(.is-menu-open) .brand {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.brand__logo {
  height: clamp(44px, 6.2vw, 66px);
  width: auto;
  max-width: 40vw;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 1px 3px rgba(15, 23, 42, 0.18));
  transform: scale(1.2);
  transform-origin: left center;
}

.nav-main__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.75rem;
}

.nav-main a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.nav-main a:hover {
  color: var(--color-primary);
}

.nav-main__item--has-sub > .nav-main__row .nav-main__link--top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-main__link--top:not([href]) {
  cursor: default;
}

.nav-main__item--has-sub > .nav-main__row .nav-main__link--top::after {
  content: "";
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 0.28rem solid transparent;
  border-right: 0.28rem solid transparent;
  border-top: 0.34rem solid currentColor;
  opacity: 0.82;
  transform-origin: 50% 35%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-main__item--has-sub.is-sub-open > .nav-main__row .nav-main__link--top::after {
  transform: rotate(180deg);
}

.nav-main__item--has-sub {
  position: relative;
}

.nav-main__row {
  display: contents;
}

@media (max-width: 767px) {
  .nav-main__row {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
  }

  .nav-main__row .nav-main__link--top {
    flex: 1;
    min-width: 0;
  }
}

.nav-main__expand {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(21, 74, 112, 0.12);
  color: var(--color-ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.nav-main__expand:hover {
  background: rgba(21, 74, 112, 0.2);
}

.nav-main__expand:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-main__expand-icon {
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.1rem);
  transition: transform 0.2s ease;
}

.nav-main__item--has-sub.is-sub-open .nav-main__expand-icon {
  transform: rotate(225deg) translateY(0.05rem);
}

@media (min-width: 768px) {
  .nav-main__item--has-sub .nav-main__sub::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 0.45rem;
  }

  .nav-main__item--has-sub .nav-main__sub {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 16.5rem;
    max-width: min(20rem, 85vw);
    margin: 0;
    padding: 0.4rem 0;
    list-style: none;
    background: var(--header-bg);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    z-index: 160;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -4px);
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .nav-main__item--has-sub:hover .nav-main__sub,
  .nav-main__item--has-sub:focus-within .nav-main__sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .nav-main__item--has-sub:hover > .nav-main__row .nav-main__link--top::after,
  .nav-main__item--has-sub:focus-within > .nav-main__row .nav-main__link--top::after {
    transform: rotate(180deg);
    opacity: 1;
  }

  .nav-main__sub a {
    display: block;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .nav-main__sub a:hover {
    background: rgba(21, 74, 112, 0.08);
    color: var(--color-primary);
  }

  .nav-main__sub-text {
    display: block;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--color-ink);
    border-radius: 0;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .nav-main__sub li:first-child a {
    padding-top: 0.55rem;
  }

  .nav-main__sub li:last-child a {
    padding-bottom: 0.55rem;
  }

  .nav-main__sub-item--has-nested {
    position: relative;
  }

  /* General assembly row: same hover / open treatment as submenu links */
  .nav-main__sub-item--has-nested:hover .nav-main__sub-text,
  .nav-main__sub-item--has-nested:focus-within .nav-main__sub-text {
    background: rgba(21, 74, 112, 0.08);
    color: var(--color-primary);
  }

  .nav-main__sub-item--has-nested .nav-main__expand--nested {
    display: none;
  }

  .nav-main__sub-row {
    display: block;
  }

  .nav-main__nested {
    position: absolute;
    left: 100%;
    top: 0;
    margin: 0 0 0 2px;
    padding: 0.4rem 0;
    min-width: 15rem;
    max-width: min(18rem, 55vw);
    list-style: none;
    background: var(--header-bg);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    z-index: 170;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-6px);
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .nav-main__nested::before {
    content: "";
    position: absolute;
    left: -0.35rem;
    top: 0;
    bottom: 0;
    width: 0.35rem;
  }

  .nav-main__sub-item--has-nested:hover .nav-main__nested,
  .nav-main__sub-item--has-nested:focus-within .nav-main__nested {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-main__nested a {
    display: block;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.82rem;
    line-height: 1.35;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .nav-main__nested a:hover {
    background: rgba(21, 74, 112, 0.08);
    color: var(--color-primary);
  }

  .nav-main__nested-text {
    display: block;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--color-ink);
  }

  .nav-main__nested li:first-child a {
    padding-top: 0.55rem;
  }

  .nav-main__nested li:last-child a {
    padding-bottom: 0.55rem;
  }

  .nav-main__nested li:first-child .nav-main__nested-text {
    padding-top: 0.55rem;
  }

  .nav-main__nested li:last-child .nav-main__nested-text {
    padding-bottom: 0.55rem;
  }
}

@media (max-width: 767px) {
  .nav-main__expand {
    display: inline-flex;
  }

  .nav-main__item--has-sub .nav-main__sub {
    display: none;
    margin: 0;
    padding: 0 0 0.35rem 0.75rem;
    list-style: none;
    border-left: 2px solid rgba(21, 74, 112, 0.25);
    margin-left: 0.35rem;
  }

  .nav-main__item--has-sub.is-sub-open .nav-main__sub {
    display: block;
  }

  .nav-main__sub a {
    display: block;
    padding: 0.55rem 0.35rem;
    font-weight: 500;
    font-size: 0.92rem;
  }

  .nav-main__sub-row {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
  }

  .nav-main__sub-row > a,
  .nav-main__sub-row > .nav-main__sub-text {
    flex: 1;
    min-width: 0;
  }

  .nav-main__sub-item--has-nested .nav-main__nested {
    display: none;
    margin: 0;
    padding: 0 0 0.35rem 0.65rem;
    list-style: none;
    border-left: 2px solid rgba(21, 74, 112, 0.2);
    margin-left: 0.5rem;
  }

  .nav-main__sub-item--has-nested.is-nested-open .nav-main__nested {
    display: block;
  }

  .nav-main__nested a {
    padding: 0.55rem 0.35rem;
    font-weight: 500;
    font-size: 0.92rem;
  }

  .nav-main__nested a:hover {
    color: var(--color-primary);
  }

  .nav-main__sub-text {
    display: block;
    padding: 0.55rem 0.35rem;
    font-weight: 500;
    font-size: 0.92rem;
    line-height: 1.35;
    color: var(--color-ink);
    transition: color 0.15s ease;
  }

  .nav-main__sub-item--has-nested.is-nested-open > .nav-main__sub-row .nav-main__sub-text {
    color: var(--color-primary);
  }

  .nav-main__nested-text {
    display: block;
    padding: 0.55rem 0.35rem;
    font-weight: 500;
    font-size: 0.92rem;
    line-height: 1.35;
    color: var(--color-ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-main__item--has-sub .nav-main__sub {
    transition-duration: 0.01ms;
  }

  .nav-main__expand-icon,
  .nav-main__item--has-sub > .nav-main__row .nav-main__link--top::after {
    transition-duration: 0.01ms;
  }
}

/* Mobile menu control (hidden on wider viewports) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(21, 74, 112, 0.14);
  color: var(--color-ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(21, 74, 112, 0.22);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.25rem;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.site-header.is-menu-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bar {
    transition-duration: 0.01ms;
  }
}

/* Hero main area + slider arrows (reference layout) */
.hero__main {
  flex: 1;
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 2;
  min-height: 0;
  width: 100%;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero__arrow:hover {
  background: rgba(15, 23, 42, 0.65);
  transform: translateY(-50%) scale(1.05);
}

.hero__arrow--prev {
  left: 0.75rem;
}

.hero__arrow--next {
  right: 0.75rem;
}

@media (min-width: 900px) {
  .hero__arrow--prev {
    left: 1.25rem;
  }

  .hero__arrow--next {
    right: 1.25rem;
  }
}

/* Teal accent bar under section headings (same dimensions as Message us) */
.section-title-rule {
  width: 2.75rem;
  height: 3px;
  margin: 0 auto 0.5rem;
  background: #154a70;
  border-radius: 1px;
}

/* About Us — professional editorial layout */
.about-intro {
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.about-intro__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 2.25rem;
}

.about-intro__header {
  max-width: 58rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
  text-align: center;
}

.about-intro__kicker {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.about-intro__title-row {
  margin: 0 auto 1.5rem;
  width: 100%;
  max-width: 100%;
}

.about-intro__title-wrap .section-title-rule {
  margin-bottom: 0;
}

.about-intro__title-wrap {
  min-width: 0;
  text-align: center;
}

.about-intro__title {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: clamp(1.875rem, 3.5vw, 2.375rem);
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 auto 0.85rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 12ch;
}

.about-intro__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: #3d3834;
  font-weight: 400;
}

.about-intro__lead strong {
  font-weight: 600;
  color: var(--color-ink);
}

.about-intro__see-more {
  display: inline;
  margin-left: 0.3em;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, gap 0.2s ease;
}

.about-intro__see-more:hover {
  color: #18aa9d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Split image + quote — full viewport width (home: replaces former .hero) */
.about-quote {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  max-width: none;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

/* Home: band under transparent header — image + teal extend beneath it; quote padded below nav */
.page-home .about-quote--home-hero {
  margin-top: calc(-1 * var(--header-outer-h));
  padding-top: 0;
  margin-bottom: 0;
  min-height: clamp(150px, 22vh, 300px);
  min-height: clamp(150px, 22dvh, 300px);
}

.page-home .about-quote--home-hero .about-quote__media {
  min-height: clamp(110px, 17vw, 165px);
}

.page-home .about-quote--home-hero .about-quote__panel {
  justify-content: center;
  padding-top: calc(var(--header-outer-h) + clamp(1.15rem, 3.25vw, 2.5rem) + 0.4rem);
  padding-right: clamp(1.15rem, 3.25vw, 2.5rem);
  padding-bottom: clamp(1.15rem, 3.25vw, 2.5rem);
  padding-left: clamp(1.15rem, 3.25vw, 2.5rem);
}

/* Centered vertically, then nudged a touch downward */
.page-home .about-quote--home-hero .about-quote__blockquote,
.page-home .about-quote--home-hero .about-quote__attribution {
  transform: translateY(clamp(0.45rem, 1.2vh, 1rem));
}

/* Portrait source: bias crop toward face when the column is wide/short */
.page-home .about-quote--home-hero .about-quote__img {
  object-position: center 28%;
}

.page-home .about-quote--home-hero .about-quote__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.about-quote__media {
  flex: 1 1 50%;
  min-width: 0;
  min-height: clamp(240px, 34vw, 400px);
  position: relative;
}

.about-quote__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.about-quote__panel {
  flex: 1 1 50%;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.65rem, 1.6vw, 0.95rem);
  padding: clamp(1.4rem, 3.5vw, 2.65rem) clamp(1.15rem, 3.25vw, 2.5rem) clamp(1.15rem, 3.25vw, 2.5rem)
    clamp(1.15rem, 3.25vw, 2.5rem);
  background: #11436b;
  color: #fff;
  overflow: hidden;
}

.about-quote__logo {
  width: clamp(110px, 16vw, 170px);
  height: clamp(110px, 16vw, 170px);
  object-fit: contain;
  background: #fff;
  padding: clamp(0.5rem, 1.2vw, 0.85rem);
  border-radius: 50%;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.about-quote__blockquote {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(0.5rem, 2vw, 1rem);
  border: none;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(52ch, 100%);
  text-align: left;
  font-size: clamp(0.9375rem, 2.1vw, 1.0625rem);
  line-height: 1.68;
  font-weight: 400;
  font-style: italic;
  overflow: visible;
}

.about-quote__blockquote::before,
.about-quote__blockquote::after {
  content: none;
}

.about-quote__blockquote p {
  position: relative;
  z-index: 1;
  margin: 0 0 0.85rem;
}

.about-quote__blockquote p:last-of-type {
  margin-bottom: 0;
}

.about-quote__attribution {
  margin: 0;
  padding-top: clamp(0.35rem, 1vw, 0.65rem);
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(52ch, 100%);
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.95vw, 1.0625rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95);
}

/* Video embed: iframe is position:absolute — box needs explicit height (aspect-ratio) or it collapses */
.about-quote__panel .ytp-error,
.about-intro__inner .ytp-error {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(8rem, 22vw, 11rem);
  border-radius: 10px;
  overflow: hidden;
  background: #0b1220;
}

.about-quote__panel .ytp-error {
  flex: 0 0 auto;
  align-self: stretch;
  max-height: min(50vh, 20rem);
  margin-top: clamp(0.5rem, 2vw, 1rem);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.about-intro__inner .ytp-error {
  flex: none;
  max-width: min(58rem, 100%);
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(1.25rem, 3.25vw, 1.85rem);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.about-intro__cta {
  margin: clamp(1.1rem, 3vw, 1.65rem) 0 0;
  padding: 0;
  text-align: center;
  color: #009990;
}

.about-quote__panel .ytp-error iframe,
.about-intro__inner .ytp-error iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* About us page: quote block without side image */
.about-quote--no-photo .about-quote__panel {
  flex: 1 1 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  .about-quote {
    flex-direction: column;
    margin-top: 1.5rem;
    border-radius: 0;
  }

  .page-home .about-quote--home-hero {
    margin-top: calc(-1 * var(--header-outer-h));
    padding-top: 0;
  }

  .page-home .about-quote--home-hero .about-quote__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: min(32vh, 230px);
  }

  .page-home .about-quote--home-hero .about-quote__panel {
    padding: clamp(1.35rem, 3.45vw, 2.65rem) clamp(1.15rem, 3.25vw, 2.5rem) clamp(1.25rem, 3.25vw, 2.5rem);
  }

  .about-quote__media {
    flex: none;
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: 46vh;
  }

  .about-quote__img {
    min-height: 180px;
    object-position: center 40%;
  }

  .about-quote__panel {
    flex: none;
    padding: 1.45rem 1.15rem 1.35rem;
  }

  .about-quote__panel .ytp-error {
    min-height: clamp(9.5rem, 52vw, 12rem);
    margin-top: 0.65rem;
  }

  .about-intro__inner .ytp-error {
    min-height: clamp(7.5rem, 42vw, 9.5rem);
    margin-top: clamp(1rem, 3.5vw, 1.35rem);
  }

  .about-quote__blockquote {
    padding: 1.1rem 0.35rem 1.25rem;
  }

  .about-quote__blockquote::after {
    content: none;
  }
}

/* Affiliations — compact cards + expandable detail (no flip; link only on “Read more”) */
.affiliations {
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.affiliations__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.25rem 1.75rem 2.5rem;
}

.affiliations__header {
  text-align: center;
  margin: 0 0 1.5rem;
}

.affiliations__title {
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 2.8vw, 2.125rem);
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.affiliations__intro {
  max-width: 58rem;
  margin: 0 auto clamp(1.35rem, 2.75vw, 1.85rem);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: rgba(46, 30, 19, 0.78);
}

.affiliations__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  text-align: center;
  list-style: none;
  padding: 0;
}

.affiliations__list > li {
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
  display: flex;
}

.affiliations__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  width: 100%;
  min-height: clamp(200px, 22vw, 260px);
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(0.85rem, 2vw, 1.15rem) clamp(1rem, 2.5vw, 1.25rem);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  outline-offset: 3px;
}

.affiliations__card:hover {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  border-color: rgba(13, 148, 136, 0.25);
}

.affiliations__card:focus-visible {
  outline: 2px solid #154a70;
}

.affiliations__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: clamp(4.5rem, 12vw, 6rem);
  margin: 0 0 clamp(0.95rem, 2.25vw, 1.35rem);
}

.affiliations__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92%, 15rem);
  max-height: 5.5rem;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.affiliations__logo--ncld {
  max-width: min(100%, 18rem);
  max-height: 8rem;
}

.affiliations__rule {
  display: block;
  width: 82%;
  max-width: 11rem;
  height: 1px;
  margin: clamp(0.2rem, 0.65vw, 0.4rem) auto clamp(0.85rem, 2vw, 1rem);
  background: rgba(15, 23, 42, 0.12);
  border: none;
}

.affiliations__caption {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 2.05vw, 1.0625rem);
  font-weight: 800;
  color: #18aa9d;
  line-height: 1.35;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.affiliations__detail {
  margin-top: 0;
}

.affiliations__detail[hidden] {
  display: none !important;
}

.affiliations__detail-surface {
  position: relative;
  padding: clamp(1.25rem, 3.5vw, 2rem) clamp(1.1rem, 3vw, 1.75rem);
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
}

.affiliations__detail-surface--enter {
  animation: affiliations-detail-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: opacity, transform;
}

/* Subtle top→down: light fade + ease into place (no clip-path — fewer GPU/layout quirks) */
@keyframes affiliations-detail-in {
  from {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.affiliations__detail--is-exiting .affiliations__detail-surface {
  opacity: 0;
  transform: translate3d(0, -6px, 0);
  transition:
    opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.affiliations__detail-close {
  position: absolute;
  top: clamp(0.65rem, 1.5vw, 0.85rem);
  right: clamp(0.65rem, 1.5vw, 0.85rem);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--color-ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.affiliations__detail-close:hover {
  background: rgba(15, 23, 42, 0.1);
}

.affiliations__detail-close:focus-visible {
  outline: 2px solid #154a70;
  outline-offset: 2px;
}

.affiliations__detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3.5vw, 2.5rem);
  align-items: start;
  padding-right: 2rem;
}

.affiliations__detail-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
}

.affiliations__detail-logo {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 7rem;
  object-fit: contain;
}

.affiliations__detail-copy {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  text-align: left;
}

.affiliations__detail-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: #154a70;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.affiliations__detail-kicker {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.affiliations__detail-body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #3d3834;
}

.affiliations__detail-body--secondary {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #3d3834;
}

.affiliations__detail-body--secondary[hidden] {
  display: none !important;
}

.affiliations__readmore {
  display: inline-flex;
  margin-top: 0.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  border: 2px solid #154a70;
  border-radius: 6px;
  background: #fff;
  color: #154a70;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.affiliations__readmore:hover {
  background: #154a70;
  color: #fff;
}

.affiliations__readmore:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

@keyframes affiliations-detail-in-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

  .affiliations__detail-surface--enter {
    animation: affiliations-detail-in-fade 0.18s ease both;
    will-change: opacity;
  }

  .affiliations__detail--is-exiting .affiliations__detail-surface {
    transform: none;
    transition: opacity 0.16s ease;
  }
}

@media (max-width: 720px) {
  .affiliations__detail-layout {
    grid-template-columns: 1fr;
    padding-right: 0;
    text-align: center;
  }

  .affiliations__detail-copy {
    text-align: center;
  }

  .affiliations__detail-logo-wrap {
    min-height: 6rem;
  }
}

/* News & Events — two feature columns + popular sidebar (equal column heights on desktop) */
.news-events {
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.news-events__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.65rem 1.75rem 2rem;
}

.news-events__header {
  text-align: center;
  margin: 0 0 1.35rem;
}

.news-events__title {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: clamp(1.65rem, 2.8vw, 2.125rem);
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.news-events__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.news-feature {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-popular {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 1.15rem;
}

.news-feature__media {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.news-feature__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7.5;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-feature__media:hover .news-feature__img {
  transform: scale(1.02);
}

.news-feature__headline {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.45rem;
  letter-spacing: -0.015em;
}

.news-feature__headline a {
  color: #009990;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.news-feature__headline a:hover {
  opacity: 0.88;
}

.news-feature__headline a:focus-visible {
  outline: 2px solid #009990;
  outline-offset: 3px;
  border-radius: 2px;
}

.news-feature__media:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 12px;
}

.news-feature__summary {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #6b6560;
  font-weight: 400;
}

.news-feature__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem 1rem;
}

.news-feature__author-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.news-feature__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(145deg, #3370a0 0%, var(--color-primary) 100%);
}

.news-feature__byline {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.news-feature__author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink);
}

.news-feature__date {
  font-size: 0.8125rem;
  color: #9ca3af;
}

.news-popular__heading {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 0.85rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.news-popular__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  flex: 1 1 auto;
  min-height: 0;
}

.news-popular__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.75rem;
  padding: 0.35rem 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.news-popular__item:hover {
  opacity: 0.88;
}

.news-popular__item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 6px;
}

.news-popular__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  text-align: left;
}

.news-popular__item-title {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: #3d3834;
}

.news-popular__item-by {
  font-size: 0.75rem;
  color: #9ca3af;
}

.news-popular__thumb {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.news-events__actions {
  margin-top: 1.35rem;
  text-align: center;
  color: #009990;
}

.btn--news-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.65rem;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  background: transparent;
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--news-all:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.about-intro__cta .btn--news-all,
.news-events__actions .btn--news-all {
  color: #009990;
  border-color: #009990;
}

.about-intro__cta .btn--news-all:hover,
.news-events__actions .btn--news-all:hover {
  background: #009990;
  border-color: #009990;
  color: var(--color-white);
}

.btn--news-all:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .news-feature__img,
  .news-feature__media,
  .btn--news-all,
  .news-popular__item {
    transition-duration: 0.01ms;
  }

  .news-feature__media:hover .news-feature__img {
    transform: none;
  }
}

@media (min-width: 961px) {
  .news-events__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(220px, 270px);
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: stretch;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .news-feature {
    height: 100%;
  }

  .news-popular {
    height: 100%;
    border-top: none;
    padding-top: 0;
    gap: 0;
  }

  .news-feature__meta {
    margin-top: auto;
    padding-top: 0.25rem;
  }
}

@media (max-width: 720px) {
  .about-intro__inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .about-intro__title {
    max-width: none;
  }

  .affiliations__inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .affiliations__list {
    grid-template-columns: 1fr;
  }

  .news-events__inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Impact statistics — editorial split (image + steps) + four metric cards */
.impact-stats {
  --impact-accent: #18aa9d;
  --impact-accent-dark: #0f3654;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.impact-stats__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 1.75rem 3rem;
}

.impact-stats__intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.impact-stats__title {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

.impact-stats__subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  color: #5c5650;
  line-height: 1.55;
}

.impact-stats__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.impact-stats__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: min(420px, 52vh);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.06),
    0 16px 40px rgba(15, 23, 42, 0.1);
}

.impact-stats__photo {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.impact-stats__nav {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.38) 40%, rgba(15, 23, 42, 0.62) 100%);
}

.impact-stats__nav-btn {
  width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.25rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.impact-stats__nav-btn:hover {
  color: #fff;
}

.impact-stats__nav-btn.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 800;
}

.impact-stats__nav-btn:focus-visible {
  outline: 2px solid var(--impact-accent);
  outline-offset: 2px;
}

.impact-stats__panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.impact-stats__featured {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.06),
    0 12px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.impact-stats__featured-value {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--color-ink);
  margin: 0 0 1rem;
}

.impact-stats__featured-label {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 500;
  line-height: 1.5;
  color: #3d3834;
  max-width: 32ch;
}

.impact-stats__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  flex: 1;
  align-content: start;
}

.impact-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.15rem 0.9rem 1.3rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 3px solid var(--impact-accent);
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.impact-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.impact-card.is-active {
  box-shadow:
    0 0 0 2px var(--impact-accent),
    0 10px 28px rgba(46, 184, 188, 0.18);
}

.impact-card:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.impact-card__value {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 800;
  color: var(--impact-accent-dark);
  letter-spacing: -0.02em;
}

.impact-card__rule {
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 0 auto 0.6rem;
  background: #d1d5db;
}

.impact-card__label {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #5c5650;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .impact-card:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .impact-stats__layout {
    grid-template-columns: 1fr;
  }

  .impact-stats__media {
    min-height: 260px;
  }

  .impact-stats__photo {
    min-height: 260px;
  }

  .impact-stats__nav {
    flex-direction: row;
    width: 100%;
    height: auto;
    top: auto;
    bottom: 0;
    right: 0;
    justify-content: center;
    padding: 0.65rem 0.5rem;
    gap: 0.45rem;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.35) 65%, transparent 100%);
  }
}

@media (max-width: 520px) {
  .impact-stats__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .impact-stats__inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Home — gallery marquee (below impact stats) */
.home-gallery-marquee {
  background: #f0f4f8;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}

.home-gallery-marquee__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(1.25rem, env(safe-area-inset-right, 0px)) 0 max(1.25rem, env(safe-area-inset-left, 0px));
}

.home-gallery-marquee__header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.home-gallery-marquee__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.03em;
}

.home-gallery-marquee__cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.home-gallery-marquee__cta:hover {
  text-decoration: underline;
}

.home-gallery-marquee__cta:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.home-gallery-marquee__viewport {
  overflow: hidden;
  margin: 0 calc(-1 * max(1.25rem, env(safe-area-inset-left, 0px)));
  padding: 0.25rem 0;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}

.home-gallery-marquee__track {
  display: flex;
  width: max-content;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  animation: home-gallery-marquee-scroll 42s linear infinite;
  will-change: transform;
}

.home-gallery-marquee__chunk {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  flex-shrink: 0;
}

.home-gallery-marquee__card {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(200px, 26vw, 280px);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.08),
    0 2px 4px rgba(15, 23, 42, 0.04);
}

.home-gallery-marquee__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@keyframes home-gallery-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .home-gallery-marquee__chunk--clone {
    display: none;
  }

  .home-gallery-marquee__viewport {
    mask-image: none;
    overflow-x: auto;
    margin: 0;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .home-gallery-marquee__chunk {
    flex-wrap: wrap;
    justify-content: center;
    scroll-snap-align: start;
  }

  .home-gallery-marquee__card {
    scroll-snap-align: start;
  }
}

/* Message us */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.message-us {
  padding: clamp(2.25rem, 5vw, 3.5rem) 1.25rem clamp(2.5rem, 5vw, 3.75rem);
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.message-us__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.message-us__inner > .message-us__contact-strip {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.message-us__header {
  text-align: center;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.message-us__kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #154a70;
}

.message-us__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  color: #0a0a0a;
}

.message-us__header .section-title-rule {
  margin-bottom: 0;
}

.message-us__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
}

.message-us__field {
  flex: 1 1 0;
  min-width: 0;
}

.message-us__field--span-row {
  grid-column: 1 / -1;
}

.message-us__input {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 4px;
  background: #f5f5f5;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #1e293b;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.message-us__input::placeholder {
  color: #94a3b8;
}

.message-us__input:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(13, 148, 136, 0.35);
}

.message-us__textarea {
  display: block;
  width: 100%;
  min-height: 7.5rem;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 4px;
  background: #f5f5f5;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.45;
  color: #1e293b;
  outline: none;
  resize: vertical;
  transition: box-shadow 0.2s ease;
}

.message-us__textarea::placeholder {
  color: #94a3b8;
}

.message-us__textarea:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(13, 148, 136, 0.35);
}

.message-us__actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0.15rem;
  width: 100%;
}

.message-us__actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 1.75rem);
  width: 100%;
}

.message-us__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.message-us__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  border: 1px solid rgba(13, 148, 136, 0.35);
  color: #154a70;
  background: rgba(13, 148, 136, 0.06);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.message-us__social-link:hover {
  color: #fff;
  background: #154a70;
  border-color: #154a70;
  transform: translateY(-1px);
}

.message-us__social-link:focus-visible {
  outline: 2px solid #154a70;
  outline-offset: 2px;
}

.message-us__social-link svg {
  flex-shrink: 0;
}

.message-us__contact-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.25rem, 4vw, 2.75rem);
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

.message-us__contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  max-width: min(100%, 14rem);
}

.message-us__contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  color: #154a70;
}

.message-us__contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.message-us__contact-text {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.45;
  color: #334155;
  font-style: normal;
}

.message-us__contact-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: #154a70;
  text-decoration: none;
  word-break: break-word;
}

.message-us__contact-link:hover {
  text-decoration: underline;
}

.message-us__contact-link:focus-visible {
  outline: 2px solid #154a70;
  outline-offset: 2px;
  border-radius: 2px;
}

.message-us__actions .message-us__send {
  align-self: auto;
  flex-shrink: 0;
}

.message-us__send {
  padding: 0.9rem 2rem;
  margin: 0;
  border: none;
  border-radius: 4px;
  background: #154a70;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.message-us__send:hover {
  background: #0f3654;
  color: #fff;
}

.message-us__send:focus-visible {
  outline: 2px solid #154a70;
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .message-us {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .message-us__form {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .message-us__field--span-row {
    grid-column: 1;
  }

  .message-us__contact-strip {
    flex-direction: column;
    align-items: center;
    gap: 1.35rem;
  }

  .message-us__contact-item {
    max-width: 18rem;
  }

  .message-us__actions {
    justify-content: flex-start;
  }

  .message-us__actions-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }

  .message-us__actions .message-us__send {
    width: auto;
    align-self: center;
  }

  .message-us__send {
    width: auto;
    padding: 0.85rem 1.5rem;
    text-align: center;
  }
}

/* Site footer — modern slate/teal, floating bubble backdrop */
@keyframes site-footer-bubble-large {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-90px); }
}

@keyframes site-footer-bubble-small {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(90px); }
}

.site-footer {
  --footer-fg: #ffffff;
  --footer-muted: rgba(255, 255, 255, 0.78);
  --footer-line: rgba(255, 255, 255, 0.2);
  --footer-teal: #ffffff;
  --footer-teal-soft: rgba(255, 255, 255, 0.28);
  position: relative;
  overflow: hidden;
  color: var(--footer-fg);
  font-size: 0.9375rem;
  border-top: 3px solid #154a70;
  background: linear-gradient(135deg, #18aa9d 0%, #154a70 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 55% at 15% -10%, rgba(13, 51, 82, 0.45), transparent 52%),
    radial-gradient(ellipse 70% 45% at 92% 105%, rgba(24, 170, 157, 0.18), transparent 48%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(21, 74, 112, 0.25), transparent 65%);
}

.site-footer__bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.site-footer__bubble {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
}

.site-footer__bubble--large {
  width: clamp(220px, 32vw, 440px);
  height: clamp(220px, 32vw, 440px);
  right: -80px;
  top: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(24, 170, 157, 0.32), rgba(15, 136, 128, 0.16) 55%, transparent 72%);
  border: 1px solid rgba(24, 170, 157, 0.28);
  animation: site-footer-bubble-large 9s ease-in-out infinite;
}

.site-footer__bubble--small {
  width: clamp(110px, 17vw, 240px);
  height: clamp(110px, 17vw, 240px);
  left: -50px;
  top: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(21, 74, 112, 0.45), rgba(13, 51, 82, 0.22) 55%, transparent 72%);
  border: 1px solid rgba(21, 74, 112, 0.35);
  animation: site-footer-bubble-small 11s ease-in-out infinite;
  animation-delay: -4s;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.1rem) 1.25rem clamp(1rem, 2vw, 1.35rem);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  align-items: stretch;
}

.site-footer__brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
}

.site-footer__logo-link {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  border-radius: 6px;
  transition: opacity 0.2s ease;
  line-height: 0;
  overflow: hidden;
}

.site-footer__logo-link:hover {
  opacity: 0.92;
}

.site-footer__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 190px);
  max-height: 104px;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

@media (min-width: 961px) {
  .site-footer__logo-link {
    justify-content: center;
    align-items: center;
    flex: 1 1 auto;
    width: 100%;
    min-height: clamp(110px, 12vw, 160px);
  }

  .site-footer__logo {
    width: 100%;
    max-width: min(100%, 240px);
    max-height: 140px;
  }
}

.site-footer__heading {
  margin: 0 0 1.1rem;
  padding-bottom: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--footer-teal);
  border-bottom: 1px solid var(--footer-line);
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.site-footer__list a {
  color: var(--footer-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__list a:hover {
  color: #ffffff;
}

.site-footer__list--contact .site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.site-footer__contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.08rem;
  color: var(--footer-teal);
}

.site-footer__contact-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.site-footer__list--contact a {
  flex: 1;
  min-width: 0;
}

.site-footer__address {
  color: var(--footer-muted);
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.55;
  flex: 1;
  min-width: 0;
  max-width: none;
}

.site-footer__col--cta {
  display: flex;
  flex-direction: column;
}

.site-footer__social {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(2, auto);
  gap: 0.85rem;
  justify-content: center;
  justify-items: center;
  width: fit-content;
  max-width: 100%;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--footer-muted);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.site-footer__social-link:hover {
  color: #ffffff;
  border-color: var(--footer-teal-soft);
  background: rgba(24, 170, 157, 0.18);
  transform: translateY(-2px);
}

.site-footer__social-link svg {
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
}

.site-footer__rule {
  height: 1px;
  margin: clamp(1.15rem, 2.5vw, 1.6rem) 0 clamp(0.85rem, 1.8vw, 1.15rem);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25) 15%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.25) 85%,
    transparent
  );
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem 1.25rem;
}

.site-footer__copyright {
  margin: 0;
  justify-self: start;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__credit {
  margin: 0;
  justify-self: center;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__credit a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__credit a:hover {
  color: var(--footer-teal);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 1.5rem;
  font-size: 0.8125rem;
  justify-self: end;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__legal a:hover {
  color: var(--footer-teal);
}

.site-footer__legal-sep {
  color: rgba(255, 255, 255, 0.3);
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__bubble {
    animation: none;
    opacity: 0.18;
  }
}

@media (max-width: 960px) {
  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__logo {
    max-width: min(100%, 170px);
    max-height: 92px;
  }

}

@media (max-width: 560px) {
  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .site-footer__logo-link {
    width: 100%;
  }

  .site-footer__logo {
    max-width: min(100%, 145px);
    max-height: 78px;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer__legal {
    justify-self: start;
    justify-content: flex-start;
  }

}

@media (max-width: 900px) {
  .nav-main {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-header .lang-toggle {
    order: 2;
  }
}

/* ——— Mobile navigation + fine-grained breakpoints ——— */
@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-header .brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 5.75rem);
  }

  .site-header .lang-toggle {
    order: 2;
  }

  .site-header .nav-toggle {
    order: 3;
  }

  .site-header .nav-main {
    order: 4;
    display: none;
    width: 100%;
    padding: 0.35rem 0 0.85rem;
    margin-top: 0.1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  .site-header.is-menu-open .nav-main {
    display: block;
  }

  .nav-main__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 0.2rem;
  }

  .nav-main__list > li {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .nav-main__list > li:last-child {
    border-bottom: none;
  }

  .nav-main__list > li > a {
    display: block;
    padding: 0.8rem 0.2rem;
    font-size: 1rem;
  }

  .nav-main__list > li > .nav-main__row .nav-main__link--top {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.8rem 0.2rem;
    font-size: 1rem;
  }

  .nav-main__list > li > .nav-main__row .nav-main__expand {
    margin-right: 0.15rem;
  }

  .nav-main a {
    font-size: 1rem;
  }

  .hero__arrow {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.6rem;
  }

  .impact-stats__featured-label {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero__arrow--prev {
    left: 0.35rem;
  }

  .hero__arrow--next {
    right: 0.35rem;
  }

  .site-footer__logo-link {
    width: 100%;
  }

  .site-footer__logo {
    max-width: min(100%, 124px);
    max-height: 68px;
  }

  .site-footer__bottom {
    gap: 0.85rem;
  }
}

/* —— Chairperson’s letter ——————————————————————————————————————————— */

.letter-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(280px, 52vw, 480px);
  margin: 0;
  overflow: hidden;
  color: #fff;
}

.page-about-us .letter-hero,
.page-board-of-directors .letter-hero,
.page-top-management .letter-hero,
.page-gallery .letter-hero {
  min-height: clamp(220px, 40vw, 360px);
}

.letter-hero__media {
  position: absolute;
  inset: 0;
  background:
    url("../assets/chairperson-hero.png") center 22% / cover no-repeat;
}

.letter-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.2) 45%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
}

.letter-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 3.25rem max(1.25rem, env(safe-area-inset-right, 0px)) 3.5rem
    max(1.25rem, env(safe-area-inset-left, 0px));
}

.page-about-us .letter-hero__inner,
.page-board-of-directors .letter-hero__inner,
.page-top-management .letter-hero__inner,
.page-gallery .letter-hero__inner {
  padding-top: 2.35rem;
  padding-bottom: 2.6rem;
}

.letter-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--footer-teal, #60a5fa);
}

.letter-hero__title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(1.65rem, 4.5vw, 3.15rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.letter-body {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.5rem) max(1.25rem, env(safe-area-inset-right, 0px))
    clamp(2.75rem, 6vw, 4.5rem) max(1.25rem, env(safe-area-inset-left, 0px));
  background: var(--color-white, #fff);
}

/* ── Chairperson Letter Page ─────────────────────────────────────── */
/* ══ CHAIRPERSON'S LETTER ══════════════════════════════════════════════════ */
.page-chairperson-letter #main-content {
  background: #f5f8fb;
}

.chair-msg-page {
  padding: 2.5rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.chair-msg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 2rem;
}

.chair-msg-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.chair-msg-breadcrumb a:hover {
  color: var(--color-ink);
  text-decoration: underline;
}

.chair-msg-breadcrumb__sep {
  color: #cbd5e1;
}

.chair-msg-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

/* Left: message */
.chair-msg-content {
  min-width: 0;
}

.chair-msg-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.chair-msg-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.chair-msg-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.chair-msg-body {
  font-size: 1rem;
  line-height: 1.85;
  color: #1e293b;
}

.chair-msg-body p {
  margin: 0 0 1.4rem;
}

.chair-msg-body p:last-child {
  margin-bottom: 0;
}

.chair-msg-salutation {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-ink);
}

.chair-msg-signature {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.chair-msg-signoff {
  font-size: 0.95rem;
  font-style: italic;
  color: #5a6a7a;
  margin: 0 0 0.75rem;
}

.chair-msg-sig-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 0.2rem;
}

.chair-msg-sig-role {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

/* Right: portrait */
.chair-msg-photo-col {
  position: sticky;
  top: calc(var(--header-outer-h, 80px) + 1.5rem);
}

.chair-msg-photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #3370a0 0%, var(--color-primary) 100%);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(21, 74, 112, 0.18);
}

.chair-msg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.chair-msg-photo-placeholder {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
  user-select: none;
}

.chair-msg-photo-caption {
  margin-top: 0.75rem;
  text-align: center;
}

.chair-msg-photo-caption__name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
}

.chair-msg-photo-caption__role {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
}

@media (max-width: 860px) {
  .chair-msg-layout {
    grid-template-columns: 1fr;
  }

  .chair-msg-photo-col {
    position: static;
    order: -1;
  }

  .chair-msg-photo-wrap {
    aspect-ratio: 16 / 9;
    max-height: 280px;
  }

  .chair-msg-photo-placeholder {
    font-size: 2.5rem;
  }
}

/* —— About us (mission / vision / values — editorial bands) ——————————— */

/* Long intro: anchor to top so copy reads like a column (layers match other board heroes) */
.board-hero:has(.about-page-hero__lead) {
  align-items: flex-start;
}

/* Intro copy in board-style hero (matches Top Management / Board heroes) */
.board-hero .about-page-hero__lead {
  margin: clamp(1rem, 2.5vw, 1.65rem) 0 0;
  width: 100%;
  max-width: none;
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.65vw, 1.05rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.65;
  letter-spacing: normal;
  text-transform: none;
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.18);
}

.board-hero .about-page-hero__lead > p {
  margin: 0;
}

.board-hero .about-page-hero__lead > p + p {
  margin-top: 1rem;
}

.board-hero .about-page-hero__institutions {
  margin: 1rem 0 0;
  padding-left: 1.35rem;
  list-style: disc;
}

.board-hero .about-page-hero__institutions li + li {
  margin-top: 0.65rem;
}

.about-split {
  --about-band-blue: var(--color-primary);
}

.about-split__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 22%) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: center;
  padding: clamp(2.75rem, 7vw, 4.75rem) max(1.5rem, env(safe-area-inset-right, 0px))
    clamp(2.75rem, 7vw, 4.75rem) max(1.5rem, env(safe-area-inset-left, 0px));
}

.about-split__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-split__body {
  min-width: 0;
}

.about-split__body p {
  margin: 0 0 1.1rem;
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.85vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
}

.about-split__body p:last-child {
  margin-bottom: 0;
}

.about-split--mission {
  background: #fff;
  color: var(--color-ink);
}

.about-split--mission .about-split__title {
  color: var(--about-band-blue);
}

.about-split--mission .about-split__body p {
  color: var(--color-ink);
}

.about-split--vision {
  background: #009990;
  color: #fff;
}

.about-split--vision .about-split__title,
.about-split--vision .about-split__body p {
  color: #fff;
}

.about-split--values {
  background: #fff;
  color: var(--color-ink);
}

.about-split--values .about-split__title {
  color: var(--about-band-blue);
}

.about-split--values .about-split__body p,
.about-split__list--dash {
  color: var(--color-ink);
}

.about-split__list--dash {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.85vw, 1.0625rem);
  line-height: 1.65;
}

.about-split__list--dash li {
  position: relative;
  margin: 0 0 0.65rem;
  padding-left: 1.1em;
}

.about-split__list--dash li:last-child {
  margin-bottom: 0;
}

.about-split__list--dash li::before {
  content: "–";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--color-ink);
}

@media (max-width: 720px) {
  .about-split__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .about-split__title {
    margin-bottom: 0.15rem;
  }
}

/* —— About intro / founding story ————————————————————————————————————— */

.about-intro {
  background: #fff;
  padding: clamp(3rem, 7vw, 5rem) max(1.5rem, env(safe-area-inset-right, 0px));
}

.about-intro__inner {
  max-width: 860px;
  margin: 0 auto;
}

/* Grid only on the About Us page */
.page-about-us .about-intro__inner {
  max-width: 1140px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 768px) {
  .page-about-us .about-intro__inner {
    grid-template-columns: 1fr;
  }
}

/* Home page: paragraph on the left, video on the right */
.page-home .about-intro__inner {
  max-width: 1140px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  row-gap: clamp(1.5rem, 3.5vw, 2.25rem);
  column-gap: clamp(0.85rem, 2vw, 1.5rem);
  align-items: center;
}

.page-home .about-intro__header {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
  text-align: center;
}

.page-home .about-intro__title-row,
.page-home .about-intro__title-wrap {
  margin-left: 0;
  margin-right: 0;
}

.page-home .about-intro__kicker,
.page-home .about-intro__title {
  text-align: center;
}

.page-home .about-intro__title {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}

.page-home .about-intro__title-wrap .section-title-rule {
  margin-left: auto;
  margin-right: auto;
}

.page-home .about-intro__inner .ytp-error {
  margin: 0;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(17, 67, 107, 0.18);
  /* Match the lead paragraph's height (the lead drives the row height) */
  align-self: stretch;
  aspect-ratio: auto;
  min-height: 0;
}

/* Home about intro — editorial lead paragraph */
.page-home .about-intro__lead {
  padding-left: clamp(1rem, 1.8vw, 1.5rem);
  border-left: 3px solid var(--color-primary);
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  line-height: 1.85;
  color: #463f3a;
}

.page-home .about-intro__lead p {
  margin: 0;
}

.page-home .about-intro__lead strong {
  font-weight: 700;
  color: var(--color-ink);
}

.page-home .about-intro__see-more {
  font-weight: 700;
}

.page-home .about-intro__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.about-intro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.9rem;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  background: transparent;
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.about-intro__btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.about-intro__btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .page-home .about-intro__inner {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 4vw, 1.85rem);
  }

  .page-home .about-intro__header,
  .page-home .about-intro__kicker,
  .page-home .about-intro__title-row,
  .page-home .about-intro__title-wrap,
  .page-home .about-intro__title {
    text-align: center;
  }

  .page-home .about-intro__title-wrap .section-title-rule {
    margin-left: auto;
  }

  /* Stacked layout: restore the video's normal 16:9 frame */
  .page-home .about-intro__inner .ytp-error {
    align-self: auto;
    aspect-ratio: 16 / 9;
    min-height: clamp(7.5rem, 42vw, 9.5rem);
  }
}

.about-intro__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #009990;
}

.about-intro__text p {
  margin: 0 0 1.1rem;
  font-size: clamp(0.94rem, 1.8vw, 1.05rem);
  line-height: 1.75;
  color: #4b5563;
}

.about-intro__text p:last-child {
  margin-bottom: 0;
}

.about-intro__institutions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-intro__inst-card {
  background: #f8fafb;
  border-left: 4px solid #009990;
  border-radius: 0 10px 10px 0;
  padding: 1.5rem 1.75rem;
}

.about-intro__inst-year {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #009990;
  text-transform: uppercase;
}

.about-intro__inst-name {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.3;
}

.about-intro__inst-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #6b7280;
}

/* —— Mission ————————————————————————————————————————————————————————— */

/* ── About Us stat hero ──────────────────────────────────────────── */
.about-stat-hero {
  background: linear-gradient(135deg, #18aa9d 0%, #154a70 100%);
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-stat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.about-stat-hero__inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-stat-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 0.75rem;
}

.about-stat-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.about-stat-hero__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1.75rem;
}

.about-stat-hero__rule {
  width: 3rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  margin: 0 auto 2.25rem;
  border-radius: 2px;
}

.about-stat-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-stat-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.about-stat-hero__num {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.about-stat-hero__label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-stat-hero__divider {
  width: 1px;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .about-stat-hero__stats {
    flex-wrap: wrap;
    gap: 1.5rem 0;
  }

  .about-stat-hero__divider {
    display: none;
  }

  .about-stat-hero__stat {
    flex: 0 0 50%;
  }
}

.about-mission {
  background: #009990;
  padding: clamp(3rem, 7vw, 5rem) max(1.5rem, env(safe-area-inset-right, 0px));
}

.about-mission__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: center;
}

.about-mission__label {
  display: inline-block;
  justify-self: center;
  margin-bottom: 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

@media (max-width: 640px) {
  .about-mission__inner,
  .about-vision__content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-mission__label,
  .about-vision__label {
    margin-bottom: 0.5rem;
  }
}

.about-mission__text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

/* —— Vision ————————————————————————————————————————————————————————— */

.about-vision {
  background: #f3f4f6;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  padding: clamp(3rem, 7vw, 5rem) max(1.5rem, env(safe-area-inset-right, 0px));
}

.about-vision__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.about-vision__content {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: center;
}

.about-vision__label {
  display: inline-block;
  justify-self: center;
  margin-bottom: 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #009990;
}

.about-vision__text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-ink);
}

/* —— Values ————————————————————————————————————————————————————————— */

.about-values {
  background: #fff;
  padding: clamp(3rem, 7vw, 5rem) max(1.5rem, env(safe-area-inset-right, 0px));
}

.about-values__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.about-values__header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.about-values__title {
  margin: 0.4rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-ink);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-values__card {
  background: #f8fafb;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 3px solid #009990;
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-values__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 177, 169, 0.12);
}

.about-values__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 177, 169, 0.1);
  color: #009990;
  margin-bottom: 1rem;
}

.about-values__card-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-ink);
}

.about-values__card-body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6b7280;
}

@media (max-width: 900px) {
  .about-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .about-values__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Board of Directors ——————————————————————————————————————————— */

.board-hero .letter-hero__media {
  background: #5f819a;
}

/* ── Top Management cinematic hero ──────────────────────────────── */
.mgmt-hero {
  position: relative;
  min-height: clamp(220px, 30vw, 340px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0c1c2a;
}

.mgmt-hero__bg {
  position: absolute;
  inset: 0;
  background: url('../images/about-quote-audience.png') center 30% / cover no-repeat;
  opacity: 0.28;
  transform: scale(1.04);
}

.mgmt-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(21, 74, 112, 0.95) 0%,
    rgba(15, 55, 85, 0.80) 45%,
    rgba(24, 170, 157, 0.55) 100%
  );
}

/* Decorative glowing rings */
.mgmt-hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(24, 170, 157, 0.18);
  pointer-events: none;
}

.mgmt-hero__ring--1 {
  width: 420px;
  height: 420px;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
}

.mgmt-hero__ring--2 {
  width: 260px;
  height: 260px;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  border-color: rgba(24, 170, 157, 0.28);
  background: rgba(24, 170, 157, 0.04);
}

.mgmt-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 2.5rem);
}

.mgmt-hero__content {
  max-width: 620px;
}

.mgmt-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #18aa9d;
  margin: 0 0 0.85rem;
}

.mgmt-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 1.1rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.mgmt-hero__sub {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin: 0 0 1.75rem;
  max-width: 52ch;
}

.mgmt-hero__accent {
  width: 3.5rem;
  height: 3px;
  background: linear-gradient(to right, #18aa9d, rgba(255,255,255,0.3));
  border-radius: 2px;
}

@media (max-width: 600px) {
  .mgmt-hero__ring {
    display: none;
  }
}

/* Board of Directors variant — different bg image & overlay */
.mgmt-hero--board .mgmt-hero__bg {
  background-image: url('../images/gallery-hero.png');
  background-position: center 40%;
}

.mgmt-hero--board .mgmt-hero__overlay {
  background: linear-gradient(
    115deg,
    rgba(15, 55, 85, 0.95) 0%,
    rgba(21, 74, 112, 0.75) 50%,
    rgba(24, 170, 157, 0.50) 100%
  );
}

/* Support page variant — teal-led gradient */
.mgmt-hero--support .mgmt-hero__bg {
  background-image: url('../images/gallery-grid-2.png');
  background-position: center 40%;
  opacity: 0.22;
}

.mgmt-hero--support .mgmt-hero__overlay {
  background: linear-gradient(
    130deg,
    rgba(14, 100, 92, 0.96) 0%,
    rgba(21, 74, 112, 0.90) 55%,
    rgba(8, 18, 30, 0.82) 100%
  );
}

/* Frosted-glass pills inside support hero */
.support-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1.65rem 0 0;
  padding: 0;
}

.support-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 0.4rem 1rem 0.4rem 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.025em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.support-hero__pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.38);
}

/* ── White-hero pages: board, top-management, contact, about, support, gallery ──────── */
.page-board-of-directors .letter-hero,
.page-top-management .letter-hero,
.page-contact .letter-hero,
.page-about-us .letter-hero,
.page-support .letter-hero,
.page-gallery .letter-hero {
  background: #fff;
  min-height: clamp(120px, 18vw, 180px);
  color: var(--color-ink);
}

.page-board-of-directors .letter-hero__overlay,
.page-top-management .letter-hero__overlay,
.page-contact .letter-hero__overlay,
.page-about-us .letter-hero__overlay,
.page-support .letter-hero__overlay,
.page-gallery .letter-hero__overlay {
  background: transparent;
}

/* Eyebrow: DM Sans, teal, spaced uppercase */
.page-board-of-directors .letter-hero__eyebrow,
.page-top-management .letter-hero__eyebrow,
.page-contact .letter-hero__eyebrow,
.page-about-us .letter-hero__eyebrow,
.page-support .letter-hero__eyebrow,
.page-gallery .letter-hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: normal;
  color: #009990;
}

/* Hero title: large clean Fraunces serif — distinct from body headings */
.page-board-of-directors .letter-hero__title,
.page-top-management .letter-hero__title,
.page-contact .letter-hero__title,
.page-about-us .letter-hero__title,
.page-support .letter-hero__title,
.page-gallery .letter-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.1;
  color: var(--color-ink);
  text-shadow: none;
  max-width: none;
}

.page-board-of-directors .board-hero__curve-svg path,
.page-top-management .board-hero__curve-svg path,
.page-contact .board-hero__curve-svg path,
.page-about-us .board-hero__curve-svg path,
.page-support .board-hero__curve-svg path,
.page-gallery .board-hero__curve-svg path {
  stroke: #009990;
  opacity: 0.2;
}

/* Hero subtitle line (white-hero pages) */
.page-board-of-directors .letter-hero__sub,
.page-top-management .letter-hero__sub,
.page-support .letter-hero__sub,
.page-about-us .letter-hero__sub {
  margin: 0.85rem 0 0;
  max-width: 60ch;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.6;
  color: #4a5763;
}

/* Support hero pills recoloured for the light hero */
.page-support .letter-hero .support-hero__pills {
  margin-top: 1.35rem;
}

.page-support .letter-hero .support-hero__pill {
  background: rgba(0, 153, 144, 0.08);
  border-color: rgba(0, 153, 144, 0.32);
  color: #0b6b64;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* About hero stats recoloured + left-aligned for the light hero */
.page-about-us .letter-hero .about-stat-hero__stats {
  justify-content: flex-start;
  margin-top: 1.4rem;
}

.page-about-us .letter-hero .about-stat-hero__stat:first-child {
  padding-left: 0;
}

.page-about-us .letter-hero .about-stat-hero__num {
  color: #009990;
}

.page-about-us .letter-hero .about-stat-hero__label {
  color: rgba(46, 30, 19, 0.6);
}

.page-about-us .letter-hero .about-stat-hero__rule {
  background: rgba(0, 153, 144, 0.35);
  margin-left: 0;
}

.page-about-us .letter-hero .about-stat-hero__divider {
  background: rgba(15, 23, 42, 0.12);
}

/* No photo — keep hero colour clean (default overlay would darken the flat fill) */
.board-hero .letter-hero__overlay {
  background: transparent;
}

/* About hero: darken behind copy + ribbon for readability */
.board-hero:has(.about-page-hero__lead) .letter-hero__overlay {
  background: linear-gradient(
    125deg,
    rgba(12, 28, 42, 0.72) 0%,
    rgba(20, 45, 58, 0.48) 42%,
    rgba(8, 22, 32, 0.68) 100%
  );
}

/* Full-hero ribbon: top-right → bottom-left (Board & Top Management) */
.board-hero .letter-hero__inner {
  z-index: 2;
}

.board-hero__curve {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.22));
}

.board-hero__curve-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.board-hero__curve-svg path {
  stroke: #009990;
}

@media (prefers-reduced-motion: no-preference) {
  .board-hero__curve {
    animation: board-hero-curve-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes board-hero-curve-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.board-page .board {
  max-width: 1140px;
  margin: 0 auto;
}

.letter-body.board-page {
  max-width: 100%;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.board__heading {
  margin: 0 0 clamp(1.25rem, 3vw, 1.85rem);
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-ink);
  text-align: center;
}

.board__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Exactly three headshots: keep row balanced and centered on wide screens */
.board__grid--three:not(.board__grid--accordion) {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Top management: horizontal accordion (narrow strips → expand on hover) */
.board__grid.board__grid--accordion {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: min(960px, 100%);
  margin-left: auto;
  margin-right: auto;
  height: min(420px, 52vh);
  min-height: 280px;
}

.board__grid--accordion .board-acc__item {
  flex: 0 0 clamp(3.25rem, 9vw, 5.25rem);
  min-width: 0;
  transition: flex 1.1s cubic-bezier(0.33, 1, 0.65, 1);
}

.board__grid--accordion .board-acc__item:nth-child(1) {
  flex: 1 1 58%;
}

.board__grid--accordion:has(.board-acc__item:nth-child(1):hover) > .board-acc__item:nth-child(1),
.board__grid--accordion:has(.board-acc__item:nth-child(1):focus-within) > .board-acc__item:nth-child(1),
.board__grid--accordion:has(.board-acc__item:nth-child(2):hover) > .board-acc__item:nth-child(2),
.board__grid--accordion:has(.board-acc__item:nth-child(2):focus-within) > .board-acc__item:nth-child(2),
.board__grid--accordion:has(.board-acc__item:nth-child(3):hover) > .board-acc__item:nth-child(3),
.board__grid--accordion:has(.board-acc__item:nth-child(3):focus-within) > .board-acc__item:nth-child(3) {
  flex: 1 1 58%;
}

.board__grid--accordion:has(.board-acc__item:nth-child(1):hover) > .board-acc__item:nth-child(2),
.board__grid--accordion:has(.board-acc__item:nth-child(1):hover) > .board-acc__item:nth-child(3),
.board__grid--accordion:has(.board-acc__item:nth-child(1):focus-within) > .board-acc__item:nth-child(2),
.board__grid--accordion:has(.board-acc__item:nth-child(1):focus-within) > .board-acc__item:nth-child(3),
.board__grid--accordion:has(.board-acc__item:nth-child(2):hover) > .board-acc__item:nth-child(1),
.board__grid--accordion:has(.board-acc__item:nth-child(2):hover) > .board-acc__item:nth-child(3),
.board__grid--accordion:has(.board-acc__item:nth-child(2):focus-within) > .board-acc__item:nth-child(1),
.board__grid--accordion:has(.board-acc__item:nth-child(2):focus-within) > .board-acc__item:nth-child(3),
.board__grid--accordion:has(.board-acc__item:nth-child(3):hover) > .board-acc__item:nth-child(1),
.board__grid--accordion:has(.board-acc__item:nth-child(3):hover) > .board-acc__item:nth-child(2),
.board__grid--accordion:has(.board-acc__item:nth-child(3):focus-within) > .board-acc__item:nth-child(1),
.board__grid--accordion:has(.board-acc__item:nth-child(3):focus-within) > .board-acc__item:nth-child(2) {
  flex: 0 0 clamp(3.25rem, 9vw, 5.25rem);
}

.board-acc__card {
  position: relative;
  height: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  background: linear-gradient(165deg, #f3f0ff 0%, #ffffff 42%, #faf8ff 100%);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  outline: none;
}

.board-acc__card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.board-acc__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.board-acc__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
  transition:
    filter 0.85s ease,
    transform 1.1s cubic-bezier(0.33, 1, 0.65, 1);
}

.board__grid--accordion .board-acc__item:nth-child(1) .board-acc__img {
  filter: grayscale(0);
}

.board__grid--accordion .board-acc__item:nth-child(2) .board-acc__img,
.board__grid--accordion .board-acc__item:nth-child(3) .board-acc__img {
  filter: grayscale(1);
}

.board__grid--accordion:has(.board-acc__item:nth-child(2):hover) > .board-acc__item:nth-child(1) .board-acc__img,
.board__grid--accordion:has(.board-acc__item:nth-child(2):focus-within) > .board-acc__item:nth-child(1) .board-acc__img,
.board__grid--accordion:has(.board-acc__item:nth-child(3):hover) > .board-acc__item:nth-child(1) .board-acc__img,
.board__grid--accordion:has(.board-acc__item:nth-child(3):focus-within) > .board-acc__item:nth-child(1) .board-acc__img {
  filter: grayscale(1);
}

.board__grid--accordion:has(.board-acc__item:nth-child(1):hover) > .board-acc__item:nth-child(2) .board-acc__img,
.board__grid--accordion:has(.board-acc__item:nth-child(1):hover) > .board-acc__item:nth-child(3) .board-acc__img,
.board__grid--accordion:has(.board-acc__item:nth-child(1):focus-within) > .board-acc__item:nth-child(2) .board-acc__img,
.board__grid--accordion:has(.board-acc__item:nth-child(1):focus-within) > .board-acc__item:nth-child(3) .board-acc__img {
  filter: grayscale(1);
}

.board__grid--accordion:has(.board-acc__item:nth-child(2):hover) > .board-acc__item:nth-child(2) .board-acc__img,
.board__grid--accordion:has(.board-acc__item:nth-child(2):focus-within) > .board-acc__item:nth-child(2) .board-acc__img,
.board__grid--accordion:has(.board-acc__item:nth-child(3):hover) > .board-acc__item:nth-child(3) .board-acc__img,
.board__grid--accordion:has(.board-acc__item:nth-child(3):focus-within) > .board-acc__item:nth-child(3) .board-acc__img {
  filter: grayscale(0);
}

.board-acc__meta {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  padding: clamp(0.85rem, 2.2vw, 1.15rem) clamp(0.75rem, 2vw, 1.1rem) 2rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.5) 55%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.board__grid--accordion .board-acc__item:nth-child(1) .board-acc__meta {
  opacity: 1;
}

.board__grid--accordion:has(.board-acc__item:hover) .board-acc__item:nth-child(1) .board-acc__meta {
  opacity: 0;
}

.board__grid--accordion:has(.board-acc__item:nth-child(1):hover) .board-acc__item:nth-child(1) .board-acc__meta,
.board__grid--accordion:has(.board-acc__item:nth-child(1):focus-within) .board-acc__item:nth-child(1) .board-acc__meta,
.board__grid--accordion:has(.board-acc__item:nth-child(2):hover) .board-acc__item:nth-child(2) .board-acc__meta,
.board__grid--accordion:has(.board-acc__item:nth-child(2):focus-within) .board-acc__item:nth-child(2) .board-acc__meta,
.board__grid--accordion:has(.board-acc__item:nth-child(3):hover) .board-acc__item:nth-child(3) .board-acc__meta,
.board__grid--accordion:has(.board-acc__item:nth-child(3):focus-within) .board-acc__item:nth-child(3) .board-acc__meta {
  opacity: 1;
}

.board-acc__role {
  margin: 0 0 0.2rem;
  font-size: clamp(0.7rem, 1.5vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.board-acc__name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-ink);
}

@media (prefers-reduced-motion: reduce) {
  .board__grid--accordion .board-acc__item {
    transition-duration: 0.01ms;
  }

  .board-acc__img,
  .board-acc__meta {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 700px) {
  .board__grid.board__grid--accordion {
    flex-direction: column;
    height: auto;
    min-height: 0;
    gap: 1rem;
  }

  .board__grid--accordion .board-acc__item,
  .board__grid--accordion:has(.board-acc__item:nth-child(1):hover) > .board-acc__item:nth-child(2),
  .board__grid--accordion:has(.board-acc__item:nth-child(1):hover) > .board-acc__item:nth-child(3),
  .board__grid--accordion:has(.board-acc__item:nth-child(1):focus-within) > .board-acc__item:nth-child(2),
  .board__grid--accordion:has(.board-acc__item:nth-child(1):focus-within) > .board-acc__item:nth-child(3),
  .board__grid--accordion:has(.board-acc__item:nth-child(2):hover) > .board-acc__item:nth-child(1),
  .board__grid--accordion:has(.board-acc__item:nth-child(2):hover) > .board-acc__item:nth-child(3),
  .board__grid--accordion:has(.board-acc__item:nth-child(2):focus-within) > .board-acc__item:nth-child(1),
  .board__grid--accordion:has(.board-acc__item:nth-child(2):focus-within) > .board-acc__item:nth-child(3),
  .board__grid--accordion:has(.board-acc__item:nth-child(3):hover) > .board-acc__item:nth-child(1),
  .board__grid--accordion:has(.board-acc__item:nth-child(3):hover) > .board-acc__item:nth-child(2),
  .board__grid--accordion:has(.board-acc__item:nth-child(3):focus-within) > .board-acc__item:nth-child(1),
  .board__grid--accordion:has(.board-acc__item:nth-child(3):focus-within) > .board-acc__item:nth-child(2) {
    flex: none !important;
    width: 100%;
    min-height: 260px;
  }

  .board__grid--accordion .board-acc__item:nth-child(1) .board-acc__img,
  .board__grid--accordion .board-acc__item:nth-child(2) .board-acc__img,
  .board__grid--accordion .board-acc__item:nth-child(3) .board-acc__img {
    filter: grayscale(0) !important;
  }

  .board__grid--accordion .board-acc__item .board-acc__meta {
    opacity: 1 !important;
  }
}

/* Top management — three fixed portrait cards; hover / focus flips to name, role, bio */
.board__hint--top-mgmt {
  margin: -0.25rem 0 1.35rem;
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
}

.board__grid--top-mgmt-flip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}

.board__grid--top-mgmt-flip .mgmt-flip {
  min-width: 0;
}

.mgmt-flip {
  perspective: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mgmt-flip__card {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  outline: none;
}

.mgmt-flip__card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.mgmt-flip__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
}

.mgmt-flip__card:hover .mgmt-flip__inner {
  transform: rotateY(180deg);
}

.mgmt-flip__face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.mgmt-flip__face--front {
  z-index: 2;
  background: #e8eef3;
}

.mgmt-flip__face--front img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.mgmt-flip__face--back {
  transform: rotateY(180deg);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 1.1rem;
  text-align: center;
  background: linear-gradient(135deg, #18aa9d 0%, #154a70 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mgmt-flip__name {
  margin: 0.75rem 0 0.25rem;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  text-align: center;
}

.mgmt-flip__role {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-align: center;
}

.mgmt-flip__bio {
  margin: 0;
  width: 100%;
  flex: 0 1 auto;
  min-height: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .mgmt-flip__inner {
    transition-duration: 0.01ms;
  }
}

.mgmt-flip__card--has-bio {
  cursor: pointer;
}

/* Manager bio popup */
.mgmt-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.mgmt-modal[hidden] {
  display: none;
}

.mgmt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 32, 0.62);
  backdrop-filter: blur(2px);
}

.mgmt-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  max-height: 82vh;
  overflow-y: auto;
  padding: 2.25rem 1.85rem 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #18aa9d 0%, #154a70 100%);
  color: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.mgmt-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.8rem;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
}

.mgmt-modal__name {
  margin: 0 0 0.3rem;
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mgmt-modal__role {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.mgmt-modal__bio {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  white-space: pre-line;
}

/* Justify long-form body paragraphs (left-aligned prose only) */
.chair-msg-body p,
.about-intro__text p,
.about-intro__inst-desc,
.team-featured__bio,
.affiliations__detail-body,
.support-intro__text,
.support-intro__text p,
.decade-hero__desc,
.mgmt-modal__bio {
  text-align: justify;
}

@media (max-width: 820px) {
  .board__grid--top-mgmt-flip {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}

.board__grid > li {
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.board-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 0.65rem 0.5rem 0.5rem;
  background: #fafbfc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.05);
}

.board-card__media {
  position: relative;
  flex-shrink: 0;
  width: min(100%, clamp(104px, 18vw, 132px));
  aspect-ratio: 1 / 1;
  max-height: clamp(104px, 18vw, 132px);
  background: #e8eef3;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(21, 74, 112, 0.2);
}

.board-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.board-card__name {
  margin: 0;
  padding: 0.5rem 0.35rem 0.15rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-ink);
  text-align: center;
  line-height: 1.25;
}

.board-card__role {
  margin: 0;
  padding: 0 0.5rem 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(46, 30, 19, 0.72);
  text-align: center;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .board__grid:not(.board__grid--accordion):not(.board__grid--top-mgmt-flip) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .board__grid:not(.board__grid--accordion):not(.board__grid--top-mgmt-flip) {
    grid-template-columns: 1fr;
  }
}

/* —— Board of Directors redesign ————————————————————————————————————— */

.team-page {
  background: #fff;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.team-page__header {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 1.25rem clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.team-page__title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

.team-page__title-underline {
  position: relative;
  display: inline-block;
}

.team-page__title-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.team-page__subtitle {
  margin: 0;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: #6b7280;
  line-height: 1.7;
}

/* Featured person */
.team-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.team-featured__photo-wrap {
  position: relative;
  align-self: center;
  border-radius: 16px;
  overflow: hidden;
  background: #e8f0f7;
  line-height: 0;
  box-shadow: 0 18px 44px rgba(17, 67, 107, 0.16);
}

.team-featured__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.team-featured__body {
  align-self: center;
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(17, 67, 107, 0.10);
}

.team-featured__body::before {
  content: "\201C";
  position: absolute;
  top: clamp(0.6rem, 1.5vw, 1rem);
  right: clamp(1rem, 2.5vw, 1.75rem);
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: rgba(0, 153, 144, 0.14);
  pointer-events: none;
}

.team-featured__eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #009990;
}

.team-featured__name {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.2;
}

.team-featured__rule {
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0 0 1.1rem;
  border-radius: 2px;
  background: #009990;
}

.team-featured__bio {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.8;
  color: #4b5563;
}


/* Board grid */
.team-board {
  background: #f3f4f6;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}

.team-board__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
}

.team-board__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.2;
}

.team-board__desc {
  margin: 0;
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.7;
  padding-top: 0.35rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.team-grid__item {
  margin: 0;
}

.team-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.team-card__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.team-card__media--blue  { background: #dbeafe; }
.team-card__media--peach { background: #fde8d8; }
.team-card__media--mint  { background: #d1fae5; }

.team-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.team-card__name {
  margin: 0;
  padding: 0.9rem 1rem 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.25;
}

.team-card__role {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.83rem;
  color: #6b7280;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .team-featured {
    grid-template-columns: 1fr;
  }

  .team-board__header {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Gallery page (3 × 2 image grid) ———————————————————————————————— */

.gallery-page {
  background: #f0f4f8;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.gallery-page__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) max(1.25rem, env(safe-area-inset-right, 0px)) 0
    max(1.25rem, env(safe-area-inset-left, 0px));
}

.gallery-page__header {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.gallery-page__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery-grid__cell {
  margin: 0;
  min-width: 0;
}

.gallery-grid__figure {
  margin: 0;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 4px 24px rgba(46, 30, 19, 0.08);
}

.gallery-grid__img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-decade {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.gallery-decade__title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--color-ink);
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary, #b08c5a);
}

/* ── Gallery Timeline ─────────────────────────────────────────────── */
.gl-tl-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background: #f5f8fb;
}

.gl-tl-section__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.gl-tl-section__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.gl-tl-section__kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #18aa9d;
  margin: 0 0 0.5rem;
}

.gl-tl-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 1rem;
}

/* The timeline container */
.gl-tl {
  position: relative;
  padding: 0.5rem 0 2rem;
}

/* Vertical spine */
.gl-tl__spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #18aa9d 0%, #154a70 100%);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Each decade row */
.gl-tl__entry {
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* Node always in the center column */
.gl-tl__node {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  z-index: 2;
}

.gl-tl__node-ring {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #18aa9d, #154a70);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #18aa9d, 0 4px 12px rgba(24, 170, 157, 0.35);
  flex-shrink: 0;
}

.gl-tl__node-year {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #154a70;
  line-height: 1;
  white-space: nowrap;
}

/* Card on the left side — album left, description right */
.gl-tl__entry--left .gl-tl__card {
  grid-column: 1;
  grid-row: 1;
  margin-right: 1.75rem;
  position: relative;
}

.gl-tl__entry--left .gl-tl__desc-panel {
  grid-column: 3;
  grid-row: 1;
  padding-left: 1.5rem;
  border-left: 3px solid #18aa9d;
  text-align: left;
}

/* Arrow pointing right toward spine */
.gl-tl__entry--left .gl-tl__card::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #18aa9d;
  z-index: 3;
}

/* Card on the right side — album right, description left */
.gl-tl__entry--right .gl-tl__card {
  grid-column: 3;
  grid-row: 1;
  margin-left: 1.75rem;
  position: relative;
}

.gl-tl__entry--right .gl-tl__desc-panel {
  grid-column: 1;
  grid-row: 1;
  padding-right: 1.5rem;
  border-right: 3px solid #18aa9d;
  text-align: right;
}

/* Arrow pointing left toward spine */
.gl-tl__entry--right .gl-tl__card::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #18aa9d;
  z-index: 3;
}

/* The card itself */
.gl-tl__card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 28px rgba(15, 23, 42, 0.09);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.gl-tl__card:hover {
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.15);
}

/* Year header at the top of each card */
.gl-tl__card-year {
  background: linear-gradient(135deg, #18aa9d 0%, #154a70 100%);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.gl-tl__card-year-label {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1;
}

.gl-tl__card-year-range {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Album wrap: the visual photo grid */
.gl-tl__album-wrap {
  line-height: 0;
}

/* 2×2 photo grid */
.gl-tl__album-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.gl-tl__photo-cell {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #cdd6e0;
}

.gl-tl__photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Caption below the album */
/* Description panel — floats on the opposite side from the album */
.gl-tl__desc-panel {
  display: flex;
  align-items: center;
}

.gl-tl__desc-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

/* End marker */
.gl-tl__end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  z-index: 2;
  margin-left: calc(50% - 10px);
  width: 20px;
}

.gl-tl__end-ring {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #154a70;
  box-shadow: 0 0 0 4px rgba(21, 74, 112, 0.18);
}

.gl-tl__end-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #154a70;
  white-space: nowrap;
  margin-left: -0.5rem;
}


/* Mobile: stack vertically */
@media (max-width: 680px) {
  .gl-tl__spine {
    left: 18px;
    transform: none;
  }

  .gl-tl__entry {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    margin-bottom: 2rem;
  }

  .gl-tl__node {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.1rem;
  }

  .gl-tl__node-year {
    font-size: 0.9rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #18aa9d;
  }

  /* Album: full width in second column, first row */
  .gl-tl__entry--left .gl-tl__card,
  .gl-tl__entry--right .gl-tl__card {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 0 1rem;
  }

  /* Description: below the album, spanning second column */
  .gl-tl__entry--left .gl-tl__desc-panel,
  .gl-tl__entry--right .gl-tl__desc-panel {
    grid-column: 2;
    grid-row: 2;
    margin: 0.75rem 0 0 1rem;
    padding: 0.75rem 0 0;
    border-left: 3px solid #18aa9d;
    border-right: none;
    border-top: none;
    padding-left: 0.85rem;
    text-align: left;
  }

  /* Remove card arrows on mobile */
  .gl-tl__entry--left .gl-tl__card::after,
  .gl-tl__entry--right .gl-tl__card::after {
    display: none;
  }

  .gl-tl__end {
    margin-left: 0;
    flex-direction: row;
    gap: 0.5rem;
    width: auto;
  }

  .gl-tl__end-label {
    margin-left: 0;
    font-size: 0.95rem;
  }
}

/* ── Gallery timeline: card-link enhancements ─────────────────── */
a.gl-tl__card {
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.24s ease, transform 0.24s ease;
}
a.gl-tl__card:hover {
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18);
  transform: translateY(-3px);
}
a.gl-tl__card:focus-visible {
  outline: 3px solid #18aa9d;
  outline-offset: 3px;
}

.gl-tl__card-count {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}

.gl-tl__card-cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  padding: 0.7rem 1rem 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: auto;
  transition: color 0.18s ease;
}
a.gl-tl__card:hover .gl-tl__card-cta {
  color: #fff;
}
.gl-tl__card-cta svg {
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
a.gl-tl__card:hover .gl-tl__card-cta svg {
  transform: translateX(3px);
}

/* ── Decade page: hero ─────────────────────────────────────────── */
.decade-page {
  min-height: 60vh;
}

.decade-hero {
  position: relative;
  min-height: clamp(280px, 42vw, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0c1c2a;
}

.decade-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 0.28;
  transform: scale(1.04);
}

.decade-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(14, 100, 92, 0.94) 0%,
    rgba(21, 74, 112, 0.88) 55%,
    rgba(8, 18, 30, 0.80) 100%
  );
}

.decade-hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(24, 170, 157, 0.18);
  pointer-events: none;
}
.decade-hero__ring--1 {
  width: 400px;
  height: 400px;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}
.decade-hero__ring--2 {
  width: 240px;
  height: 240px;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  border-color: rgba(24, 170, 157, 0.28);
  background: rgba(24, 170, 157, 0.04);
}

.decade-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
}

.decade-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}
.decade-hero__back:hover {
  color: #fff;
}

.decade-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #18aa9d;
  margin: 0 0 0.65rem;
}

.decade-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.decade-hero__range {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.decade-hero__desc {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 55ch;
  margin: 0 0 1.25rem;
}

.decade-hero__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.decade-hero__accent {
  width: 3rem;
  height: 3px;
  background: linear-gradient(to right, #18aa9d, rgba(255,255,255,0.3));
  border-radius: 2px;
  flex-shrink: 0;
}

.decade-hero__count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  backdrop-filter: blur(6px);
}

/* ── Decade page: photo grid ───────────────────────────────────── */
.decade-grid-section {
  background: #f4f7f9;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.decade-grid-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
}

.decade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(0.5rem, 1.5vw, 1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.decade-grid__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #d1d5db;
}

.decade-grid__btn {
  all: unset;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.decade-grid__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.36s ease;
}

.decade-grid__btn:hover .decade-grid__img,
.decade-grid__btn:focus-visible .decade-grid__img {
  transform: scale(1.06);
}

.decade-grid__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 28, 42, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.decade-grid__btn:hover .decade-grid__overlay,
.decade-grid__btn:focus-visible .decade-grid__overlay {
  opacity: 1;
}

.decade-grid__btn:focus-visible {
  outline: 3px solid #18aa9d;
  outline-offset: 2px;
}

.decade-grid__empty {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  color: #6b7280;
}

.decade-grid__empty svg {
  margin: 0 auto 1rem;
  display: block;
  color: #9ca3af;
}

.decade-grid__empty p {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #374151;
}

.decade-grid__empty-hint {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  color: #6b7280 !important;
  max-width: 42ch;
  margin: 0.35rem auto 0 !important;
  line-height: 1.65;
}

/* ── Decade lightbox ───────────────────────────────────────────── */
.decade-lb {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.decade-lb[hidden] {
  display: none !important;
}

.decade-lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.92);
  backdrop-filter: blur(6px);
}

.decade-lb__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  width: 100%;
}

.decade-lb__img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}

.decade-lb__caption {
  margin: 0.75rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  text-align: center;
  max-width: 60ch;
}

.decade-lb__counter {
  margin: 0.35rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}

.decade-lb__close,
.decade-lb__prev,
.decade-lb__next {
  position: fixed;
  z-index: 2;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.decade-lb__close:hover,
.decade-lb__prev:hover,
.decade-lb__next:hover {
  background: rgba(255,255,255,0.22);
}

.decade-lb__close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
}

.decade-lb__prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.decade-lb__next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.decade-lb__prev:disabled,
.decade-lb__next:disabled {
  opacity: 0.25;
  pointer-events: none;
}

@media (max-width: 600px) {
  .decade-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .decade-hero__ring--1,
  .decade-hero__ring--2 { display: none; }
  .decade-lb__prev { left: 0.5rem; }
  .decade-lb__next { right: 0.5rem; }
}

/* —— Contact page hero improvements ————————————————————————————————— */

.contact-hero .letter-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.68) 100%
  );
}

.contact-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.contact-hero__title {
  max-width: none !important;
  letter-spacing: 0.1em;
}

.contact-hero__dots {
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  color: #009990;
  opacity: 0.9;
}

.contact-hero__subtitle {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.55;
  color: #4b5563;
  text-shadow: none;
}

/* —— Contact info cards ——————————————————————————————————————————————— */

.contact-cards {
  background: #fff;
  padding: clamp(3rem, 7vw, 5rem) 1.25rem;
}

.contact-cards__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  border-right: 1px solid #e8ecf0;
}

.contact-card:last-child {
  border-right: none;
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #009990;
  color: #009990;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.contact-card:hover .contact-card__icon {
  background: #009990;
  color: #fff;
  transform: translateY(-4px);
}

.contact-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans, sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.contact-card__desc {
  margin: 0 0 1.25rem;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #6b7280;
  flex: 1;
}

.contact-card__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #009990;
  text-decoration: none;
  word-break: break-word;
}

.contact-card__link:hover {
  text-decoration: underline;
}

/* —— Contact bottom: map + form two-column ——————————————————————————— */

.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.contact-bottom__map {
  position: relative;
  min-height: 400px;
}

.contact-map__frame {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-bottom__form {
  background: #f7f9fb;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
}

.contact-bottom__form-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--color-ink);
}

.contact-bottom__form .message-us__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  flex: 1;
}

.contact-bottom__form .message-us__field--span-row {
  grid-column: 1 / -1;
}

.contact-bottom__form .message-us__send {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: #009990;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-bottom__form .message-us__send:hover {
  background: #007a74;
}

/* ── Contact Success Modal ───────────────────────────────────── */
.contact-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.contact-success-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

.contact-success-modal {
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2.5rem 2.5rem;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-success-overlay.is-active .contact-success-modal {
  transform: translateY(0) scale(1);
}

.contact-success-modal__icon {
  margin-bottom: 1.25rem;
}

.contact-success-modal__icon svg {
  width: 64px;
  height: 64px;
}

.contact-success-modal__title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 0.65rem;
}

.contact-success-modal__body {
  font-size: 0.95rem;
  color: #5a6a7a;
  line-height: 1.65;
  margin: 0 0 2rem;
}

.contact-success-modal__close {
  background: #18aa9d;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  letter-spacing: 0.01em;
}

.contact-success-modal__close:hover {
  background: var(--color-primary);
}

.contact-success-modal__close:active {
  transform: scale(0.97);
}

@media (max-width: 768px) {
  .contact-cards__inner {
    grid-template-columns: 1fr;
  }

  .contact-card {
    border-right: none;
    border-bottom: 1px solid #e8ecf0;
    padding: 2rem 1.5rem;
  }

  .contact-card:last-child {
    border-bottom: none;
  }

  .contact-bottom {
    grid-template-columns: 1fr;
  }

  .contact-bottom__map {
    min-height: 300px;
  }

  .contact-map__frame {
    position: static;
    height: 300px;
  }
}

/* —— Annual membership fees (single pricing card) ——————————————————— */

.fee-pricing-page {
  padding: clamp(2.5rem, 6vw, 4rem) max(1.25rem, env(safe-area-inset-right, 0px))
    clamp(3rem, 8vw, 5rem) max(1.25rem, env(safe-area-inset-left, 0px));
}

.fee-pricing-page__inner {
  max-width: 720px;
  margin: 0 auto;
}

.fee-pricing-page__intro {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.fee-pricing-page__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 auto 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b4ddb;
  background: #ede9fe;
  border-radius: 999px;
}

.fee-pricing-page__badge-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.fee-pricing-page__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 4.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-ink);
}

.fee-pricing-card {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--color-white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}

.fee-pricing-card__name {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--color-ink);
}

.fee-pricing-card__price {
  margin: 0 0 1rem;
  line-height: 1;
  text-align: center;
}

.fee-pricing-card__currency {
  margin-right: 0.15rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  color: rgba(46, 30, 19, 0.55);
  vertical-align: top;
}

.fee-pricing-card__amount {
  font-size: clamp(2.75rem, 7vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}

.fee-pricing-card__period {
  margin-left: 0.1rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  color: rgba(46, 30, 19, 0.55);
}

.fee-pricing-card__desc {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(46, 30, 19, 0.62);
}

.fee-pricing-card__cta {
  display: block;
  width: 100%;
  margin: 0 0 1.75rem;
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
  text-decoration: none;
  background: #154a70;
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(21, 74, 112, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fee-pricing-card__cta:hover {
  color: #fff;
  background: #009e96;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 177, 169, 0.45);
}

.fee-pricing-card__cta:focus-visible {
  outline: 2px solid #009990;
  outline-offset: 3px;
}

.fee-pricing-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fee-pricing-card__features li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0 0 0.85rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--color-ink);
}

.fee-pricing-card__features li:last-child {
  margin-bottom: 0;
}

.fee-pricing-card__check {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #009990;
}

.fee-pricing-card__check svg circle {
  fill: rgba(0, 177, 169, 0.15);
  stroke: #009990;
}

.fee-pricing-card__check svg path {
  stroke: #009990;
}

/* —— Membership participation application ——————————————————————————— */

.membership-page {
  padding: clamp(2.25rem, 5vw, 3.5rem) max(1.25rem, env(safe-area-inset-right, 0px))
    clamp(2.75rem, 6vw, 4rem) max(1.25rem, env(safe-area-inset-left, 0px));
}

.membership-page__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  background: var(--color-white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.membership-page__title {
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-ink);
  text-align: center;
}

.membership-page .message-us__form {
  grid-template-columns: 1fr;
}

.membership-page__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ink);
}

.membership-page__hint {
  font-weight: 400;
  color: #6b7280;
}

.membership-page__file {
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.membership-page__file::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.4rem 0.9rem;
  border: none;
  border-radius: 4px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.membership-page__file::file-selector-button:hover {
  background: #18aa9d;
}

/* Phone field with Jordan country code + flag */
.mship-tel {
  display: flex;
  align-items: center;
  width: 100%;
  padding-left: 0.85rem;
  background: #f5f5f5;
  border-radius: 4px;
  transition: box-shadow 0.2s ease;
}

.mship-tel:focus-within {
  box-shadow: inset 0 0 0 2px rgba(13, 148, 136, 0.35);
}

.mship-tel__flag {
  display: inline-flex;
  width: 24px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.mship-tel__flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mship-tel__code {
  margin: 0 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #1e293b;
}

.mship-tel__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border-radius: 0;
  padding-left: 0;
}

.mship-tel__input:focus-visible {
  box-shadow: none;
}

.membership-page__intro {
  margin: 0 0 1.5rem;
  color: #3d3834;
  line-height: 1.6;
}

.membership-page__actions {
  justify-content: center;
}

/* —— Support page (donation, partners, strategic) ——————————————————— */

.support-page {
  background: #f5f7fa;
}

/* Intro band under hero: copy left, image right */
.support-intro {
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.support-intro__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, min(44%, 460px));
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4rem) max(1.5rem, env(safe-area-inset-right, 0px))
    clamp(2.5rem, 6vw, 4rem) max(1.5rem, env(safe-area-inset-left, 0px));
}

.support-intro__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #009990;
}

.support-intro__title {
  margin: 0 0 clamp(0.9rem, 2vw, 1.2rem);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  line-height: 1.15;
  position: relative;
  padding-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.support-intro__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.75rem;
  height: 2.5px;
  background: #009990;
  border-radius: 2px;
}

.support-intro__text {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(0.9375rem, 1.85vw, 1.0625rem);
  line-height: 1.72;
  color: rgba(46, 30, 19, 0.75);
}

.support-intro__figure {
  margin: 0;
  min-width: 0;
}

.support-intro__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
}

@media (max-width: 768px) {
  .support-intro__inner {
    grid-template-columns: 1fr;
  }

  .support-intro__img {
    max-height: min(52vw, 320px);
  }
}

/* Support impact cards */
.support-impact {
  background: #f4f7f9;
  padding: clamp(2.75rem, 5.5vw, 4.5rem) 0;
}
.support-impact__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.75rem;
}
.support-impact__heading {
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
}
.support-impact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.support-impact__item {
  display: flex;
}
.support-impact__card {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  padding: 0 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.24s ease, transform 0.24s ease;
  position: relative;
  overflow: hidden;
}
.support-impact__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #18aa9d 0%, #154a70 100%);
  border-radius: 14px 14px 0 0;
}
.support-impact__card:hover {
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.11);
  transform: translateY(-4px);
}
.support-impact__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  width: 100%;
  padding: 1.75rem 1rem 0.5rem;
}
.support-impact__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 15rem);
  max-height: 7.5rem;
  object-fit: contain;
}
.support-impact__rule {
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, #18aa9d 0%, #154a70 100%);
  border-radius: 2px;
  margin: 0 auto 1.1rem;
}
.support-impact__card-title {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.75vw, 1.125rem);
  font-weight: 700;
  color: #154a70;
  margin: 0 0 0.7rem;
  line-height: 1.3;
  width: 100%;
  text-align: center;
}
.support-impact__card-body {
  font-size: 0.9375rem;
  line-height: 1.68;
  color: #4b5563;
  margin: 0;
}
@media (max-width: 700px) {
  .support-impact__grid {
    grid-template-columns: 1fr;
  }
  .support-impact__card {
    padding-bottom: 1.75rem;
  }
}

/* Support block shared */
.support-block {
  padding: clamp(2.5rem, 6vw, 4rem) max(1.5rem, env(safe-area-inset-right, 0px))
    clamp(2.5rem, 6vw, 4rem) max(1.5rem, env(safe-area-inset-left, 0px));
}

.support-block--donation {
  background: #f5f7fa;
}

.support-donation__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.support-donation__figure {
  margin: 0;
  min-width: 0;
  position: sticky;
  top: calc(var(--header-outer-h) + 1.5rem);
}

.support-donation__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
}

/* Donation content wrapper */
.support-donation__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  min-width: 0;
}

.support-donation__header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.support-donation__eyebrow {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #009990;
}

.support-donation__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  line-height: 1.15;
}

/* Donation accordion */
.donation-accordion {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.donation-accordion__item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  transition: background 0.15s ease;
}

.donation-accordion__item:last-child {
  border-bottom: none;
}

.donation-accordion__item[open] {
  background: #f9fffe;
  border-left: 3px solid #009990;
}

.donation-accordion__item:not([open]) {
  border-left: 3px solid transparent;
}

.donation-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.1rem, 2.5vw, 1.4rem) clamp(1rem, 2.5vw, 1.5rem);
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease;
}

.donation-accordion__item[open] .donation-accordion__summary {
  color: #009990;
}

.donation-accordion__summary:hover {
  color: #009990;
}

.donation-accordion__summary::-webkit-details-marker {
  display: none;
}

.donation-accordion__summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.donation-accordion__item[open] .donation-accordion__summary::after {
  transform: rotate(225deg);
}

@media (prefers-reduced-motion: reduce) {
  .donation-accordion__summary::after,
  .donation-accordion__item {
    transition: none;
  }
}

.donation-accordion__body {
  padding: 0 clamp(1rem, 2.5vw, 1.5rem) clamp(1.2rem, 2.5vw, 1.5rem);
}

.donation-accordion__placeholder {
  margin: 0;
  max-width: 52ch;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(46, 30, 19, 0.72);
}

.donation-accordion__payee {
  margin: 0.65rem 0 0;
  max-width: 52ch;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-ink);
}

.donation-accordion__cta.btn--news-all {
  color: #009990;
  border-color: #009990;
}

.donation-accordion__cta.btn--news-all:hover {
  background: #009990;
  border-color: #009990;
  color: var(--color-white);
}

.donation-accordion__mailto {
  color: #009990;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.donation-accordion__mailto:hover {
  color: #009688;
}

/* Wire transfer table */
.donation-wire {
  display: grid;
  grid-template-columns: minmax(10rem, max-content) minmax(0, 1fr);
  column-gap: 1.25rem;
  row-gap: 0;
  background: #f0fafa;
  border: 1px solid rgba(0, 177, 169, 0.18);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  margin-top: 0.25rem;
}

.donation-wire__row {
  display: contents;
}

.donation-wire__row:nth-child(even) .donation-wire__label,
.donation-wire__row:nth-child(even) .donation-wire__value {
  background: rgba(0, 177, 169, 0.05);
}

.donation-wire__label {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(46, 30, 19, 0.8);
  padding: 0.6rem 0.85rem 0.6rem 1rem;
  border-right: 1px solid rgba(0, 177, 169, 0.15);
}

.donation-wire__sep {
  display: none;
}

.donation-wire__value {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(46, 30, 19, 0.85);
  padding: 0.6rem 1rem 0.6rem 0.85rem;
}

@media (max-width: 768px) {
  .support-donation__layout {
    grid-template-columns: 1fr;
  }

  .support-donation__figure {
    position: static;
  }
}

/* Payment method badges */
.donation-methods {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
  background: linear-gradient(135deg, rgba(24,170,157,0.05) 0%, rgba(21,74,112,0.06) 100%);
  border: 1px solid rgba(24, 170, 157, 0.15);
  border-radius: 16px;
}
.donation-methods__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(1.1rem, 2.5vw, 1.5rem);
}
.donation-methods__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24,170,157,0.35), transparent);
}
.donation-methods__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0;
  white-space: nowrap;
}
.donation-methods__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.donation-methods__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 50px;
  padding: 0.6rem 1.25rem 0.6rem 0.6rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.donation-methods__item:hover {
  box-shadow: 0 6px 20px rgba(24, 170, 157, 0.18);
  border-color: rgba(24, 170, 157, 0.4);
  transform: translateY(-2px);
}
.donation-methods__icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
.donation-methods__icon-circle--paypal {
  background: #dbeafe;
  color: #1d4ed8;
}
.donation-methods__icon-circle--phone {
  background: #ccfbf1;
  color: #0f766e;
}
.donation-methods__icon-circle--cash {
  background: #fef9c3;
  color: #a16207;
}
.donation-methods__icon-circle--bank {
  background: #e0e7ff;
  color: #3730a3;
}
.donation-methods__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.donation-methods__name {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
  white-space: nowrap;
}
.donation-methods__sub {
  font-size: 0.72rem;
  color: #6b7280;
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .donation-methods__list {
    flex-direction: column;
    align-items: stretch;
  }
  .donation-methods__item {
    border-radius: 12px;
  }
}

/* Partners section */
.support-block--partners {
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.support-block__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.support-block__eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #009990;
}

.support-block__heading {
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  position: relative;
  padding-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.support-block__heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.75rem;
  height: 2.5px;
  background: #009990;
  border-radius: 2px;
}

.support-block__text {
  margin: 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(46, 30, 19, 0.78);
}

.support-partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.support-block--partners .support-partner-grid + .support-partner-grid {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px dashed rgba(0, 177, 169, 0.25);
}

.support-partner-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 210px;
  padding: 1.25rem 1rem 1.1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-top: 3px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-top-color 0.2s ease;
}

.support-partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.11);
  border-top-color: #009990;
}

.support-partner-card--strategic {
  background: #f9fffe;
  border: 1px solid rgba(0, 177, 169, 0.15);
  border-top: 3px solid transparent;
}

.support-partner-card__brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 7rem;
  padding: 0.5rem 0.35rem;
}

.support-partner-card__brand img {
  width: 100%;
  height: 6rem;
  max-width: 210px;
  object-fit: contain;
}

.support-partner-card__rule {
  width: 2rem;
  height: 1.5px;
  margin: 0.75rem auto 0.85rem;
  background: rgba(0, 177, 169, 0.4);
  border-radius: 1px;
}

.support-partner-card__name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.4vw, 0.875rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: rgba(46, 30, 19, 0.75);
}

/* Sheikh (text-only mark) */
.support-partner-card__brand--sheikh {
  gap: 0.35rem;
}

.support-partner-card__sheikh-ar {
  margin: 0;
  font-size: clamp(0.7rem, 1.4vw, 0.82rem);
  font-weight: 600;
  line-height: 1.35;
  color: #d81b85;
}

.support-partner-card__sheikh-en {
  margin: 0;
  font-size: clamp(0.62rem, 1.2vw, 0.72rem);
  font-weight: 600;
  line-height: 1.3;
  color: #d81b85;
}

/* Arab Bank */
.support-logo-arab-bank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
}

.support-logo-arab-bank__mark {
  width: 100%;
  max-width: 5.5rem;
  height: auto;
}

.support-logo-arab-bank__wordmark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.support-logo-arab-bank__en,
.support-logo-arab-bank__ar {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}

.support-logo-arab-bank__tagline {
  margin: 0.15rem 0 0;
  font-size: 0.62rem;
  color: #94a3b8;
}

/* Arab Potash */
.support-logo-potash {
  width: 4.5rem;
  height: auto;
  margin-bottom: 0.35rem;
}

.support-logo-potash__wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.support-logo-potash__en,
.support-logo-potash__ar {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}

/* Hikma */
.support-logo-hikma {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  color: #d3452c;
}

.support-logo-hikma__dot {
  font-weight: 800;
}

/* Van Leer */
.support-logo-vanleer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.5rem;
}

.support-logo-vanleer__sq {
  background: #1976d2;
  border-radius: 2px;
}

.support-logo-vanleer__dia {
  background: #43a047;
  transform: rotate(45deg) scale(0.85);
  border-radius: 2px;
}

.support-logo-vanleer__circ {
  background: #fbc02d;
  border-radius: 50%;
}

.support-logo-vanleer__core {
  background: #e53935;
  border-radius: 50%;
  transform: scale(0.65);
}

.support-logo-vanleer__wordmark {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.25;
}

.support-logo-vanleer__foundation {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Jordan Phosphate */
.support-logo-jpmc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.support-logo-jpmc__ar {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  color: #455a64;
  line-height: 1.3;
}

.support-logo-jpmc__seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #2e7d32, #1b5e20);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

/* Levant */
.support-logo-levant {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.support-logo-levant__wing {
  width: 3.5rem;
  height: auto;
}

.support-logo-levant__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.support-logo-levant__the {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.65rem;
  color: #546e7a;
}

.support-logo-levant__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #37474f;
}

/* BankABC */
.support-logo-abc {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.support-logo-abc__mark {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1565c0;
  text-transform: lowercase;
}

.support-logo-abc__bank {
  font-size: 1rem;
  font-weight: 700;
  color: #455a64;
}

@media (max-width: 1024px) {
  .support-partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .support-partner-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Lightbox ──────────────────────────────────────────────────────────── */
.lbx-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 15, 26, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lbx-overlay--open {
  display: flex;
  animation: lbx-fade 0.22s ease;
}

@keyframes lbx-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lbx-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: min(680px, 100%);
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  animation: lbx-rise 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lbx-rise {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.lbx-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  width: 2.2rem;
  height: 2.2rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lbx-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.lbx-img-wrap {
  width: 100%;
  background: #0b1220;
  line-height: 0;
}

.lbx-img {
  display: block;
  width: 100%;
  max-height: 55vh;
  object-fit: cover;
}

.lbx-caption {
  margin: 0;
  padding: 1.25rem 1.5rem 1.5rem;
  background: #ffffff;
  color: #3d3834;
  font-size: 0.9375rem;
  line-height: 1.65;
  text-align: left;
}

/* Make feature image and popular thumb feel clickable */
.news-feature__media {
  cursor: zoom-in;
}

.news-popular__thumb {
  cursor: zoom-in;
}

/* ══ News & Events Page ════════════════════════════════════════════════════ */

/* Hero */
.ne-hero {
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem clamp(3.5rem, 8vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ne-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 51, 82, 0.88) 0%, rgba(21, 74, 112, 0.82) 55%, rgba(24, 170, 157, 0.45) 100%);
}

.ne-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.ne-hero__kicker {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #18aa9d;
}

.ne-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ne-hero__sub {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

/* Shared section header */
.ne-section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.ne-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

/* ── News Feature + Popular widget ──────────────────────────────────────── */
.ne-nf {
  background: #f0f4f8;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.ne-nf__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.ne-nf__widget {
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(15, 23, 42, 0.1);
  min-height: 380px;
}

/* Featured panel */
.ne-nf__featured {
  flex: 1;
  min-width: 0;
  position: relative;
}

.ne-nf__featured-link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  z-index: 1;
}

.ne-nf__featured-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-primary);
  transition: background-image 0.35s ease;
}

.ne-nf__featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(21, 74, 112, 0.93) 0%,
    rgba(21, 74, 112, 0.45) 50%,
    transparent 100%);
  padding: 1.5rem;
  padding-inline-end: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
}

.ne-nf__featured-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  margin-bottom: 0.15rem;
}

.ne-nf__featured-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ne-nf__featured-excerpt {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.45;
  max-width: 36em;
}

.ne-nf__featured-date {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Prev / Next nav */
.ne-nf__featured-nav {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: flex;
  gap: 0.4rem;
  pointer-events: none;
}

.ne-nf__nav-btn {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.ne-nf__nav-btn:hover {
  background: #ffffff;
  color: var(--color-accent);
}

.ne-nf__nav-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-primary);
}

.ne-nf__nav-btn:active {
  transform: scale(0.94);
}

/* Sidebar (popular list) */
.ne-nf__sidebar {
  width: 36%;
  max-width: 320px;
  flex-shrink: 0;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
}

.ne-nf__sidebar-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.8rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.ne-nf__sidebar-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

/* Sidebar items */
.ne-nf__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.18s;
  cursor: pointer;
}

.ne-nf__item:last-child {
  border-bottom: none;
}

.ne-nf__item:hover,
.ne-nf__item--active {
  background: rgba(255, 255, 255, 0.09);
}

.ne-nf__item--active {
  border-left: 3px solid var(--color-accent);
}

.ne-nf__item-thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.ne-nf__item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ne-nf__item-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ne-nf__item-date {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Responsive */
@media (max-width: 768px) {
  .ne-nf__widget {
    flex-direction: column;
    min-height: unset;
  }

  .ne-nf__featured {
    aspect-ratio: 16 / 9;
    min-height: 220px;
  }

  .ne-nf__sidebar {
    width: 100%;
    max-width: 100%;
  }

  .ne-nf__sidebar-scroll {
    max-height: 260px;
  }
}

/* News grid */
.ne-news {
  background: #ffffff;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.ne-news__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.ne-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

@media (max-width: 900px) {
  .ne-news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ne-news__grid {
    grid-template-columns: 1fr;
  }
}

/* News card */
.ne-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.ne-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
}

.ne-card__img-wrap {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.ne-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ne-card:hover .ne-card__img {
  transform: scale(1.04);
}

.ne-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  background: #18aa9d;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ne-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.35rem 1.35rem;
  gap: 0.5rem;
}

.ne-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.ne-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* stretched link — makes the whole card clickable */
.ne-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}

.ne-card__title a:hover {
  color: var(--color-primary);
}

.ne-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b6560;
  flex: 1;
}

.ne-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.ne-card__date {
  font-size: 0.8125rem;
  color: #9ca3af;
  font-weight: 500;
}

.ne-card__read-more {
  position: relative;
  z-index: 1;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #18aa9d;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ne-card__read-more:hover {
  color: var(--color-primary);
}

/* Events section */
.ne-events {
  background: #f0f4f8;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.ne-events__inner {
  max-width: 860px;
  margin: 0 auto;
}

.ne-events__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ne-event {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: flex-start;
  background: #ffffff;
  border-radius: 14px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ne-event:hover {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.ne-event__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 68px;
  min-height: 72px;
  background: var(--color-primary);
  border-radius: 12px;
  padding: 0.5rem 0.35rem;
  gap: 0;
}

.ne-event__day {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.ne-event__month {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.ne-event__year {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
}

.ne-event__body {
  flex: 1;
  min-width: 0;
}

.ne-event__meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.ne-event__tag {
  display: inline-block;
  padding: 0.18rem 0.65rem;
  border-radius: 20px;
  background: rgba(24, 170, 157, 0.12);
  color: #18aa9d;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ne-event__location {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.ne-event__title {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 600;
  color: var(--color-ink);
  margin: 0 0 0.4rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.ne-event__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #6b6560;
}

.ne-event__thumb-wrap {
  flex-shrink: 0;
  width: clamp(90px, 14vw, 130px);
  align-self: stretch;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}

.ne-event__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 480px) {
  .ne-event {
    flex-direction: column;
    gap: 1rem;
  }

  .ne-event__thumb-wrap {
    width: 100%;
    height: 160px;
    align-self: auto;
  }

  .ne-event__badge {
    flex-direction: row;
    width: auto;
    min-height: unset;
    padding: 0.4rem 0.85rem;
    gap: 0.5rem;
    border-radius: 8px;
  }

  .ne-event__day {
    font-size: 1.35rem;
  }

  .ne-event__month,
  .ne-event__year {
    margin-top: 0;
  }
}

/* ══ Single News Page ═══════════════════════════════════════════════════════ */

/* Hero */
.sn-hero {
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  padding: clamp(5rem, 12vw, 9rem) 1.5rem clamp(4rem, 9vw, 7rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sn-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13, 51, 82, 0.90) 0%, rgba(21, 74, 112, 0.84) 55%, rgba(24, 170, 157, 0.40) 100%);
}

.sn-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.sn-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.sn-hero__back:hover {
  color: #ffffff;
}

.sn-hero__tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(239, 187, 32, 0.18);
  border: 1px solid rgba(239, 187, 32, 0.45);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.sn-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.4rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.sn-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.sn-hero__date,
.sn-hero__author {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.sn-hero__sep {
  color: rgba(255, 255, 255, 0.4);
}

/* Article body */
.sn-body {
  background: #ffffff;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem clamp(3rem, 6vw, 5rem);
}

.sn-body__inner {
  max-width: 780px;
  margin: 0 auto;
}

.sn-body__lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: #3d3028;
  font-weight: 500;
  margin: 0 0 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(21, 74, 112, 0.1);
}

.sn-body__content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-ink);
}

.sn-body__content p {
  margin: 0 0 1.4rem;
}

.sn-body__content h2,
.sn-body__content h3,
.sn-body__content h4 {
  margin: 2rem 0 0.75rem;
  color: var(--color-primary);
}

.sn-body__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sn-body__content a:hover {
  color: var(--color-accent);
}

.sn-body__content ul,
.sn-body__content ol {
  padding-left: 1.5rem;
  margin: 0 0 1.4rem;
}

.sn-body__content li {
  margin-bottom: 0.4rem;
}

.sn-body__content img {
  border-radius: 10px;
  margin: 1.5rem 0;
}

.sn-body__content blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  border-left: 4px solid var(--color-accent);
  background: rgba(21, 74, 112, 0.04);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #3d3028;
}

/* Related news */
.sn-related {
  background: #f0f4f8;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.sn-related__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.sn-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

@media (max-width: 900px) {
  .sn-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sn-related__grid {
    grid-template-columns: 1fr;
  }
}

.sn-related__cta {
  text-align: center;
  margin-top: 2.5rem;
}

.sn-related__all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.2rem;
  transition: color 0.2s, border-color 0.2s;
}

.sn-related__all-link:hover {
  color: var(--color-accent);
  border-color: var(--color-primary);
}

/* Global: justify all paragraph text (explicitly-centered paragraphs keep
   their alignment via higher CSS specificity). */
p {
  text-align: justify;
}
