/* ADHERI public site, mobile-first.
   Fonts: Outfit (display) + Manrope (body). Brand blues come from the old site, don't change them.
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --brand: #0071BC;
  --brand-deep: #0A4F8A;
  --brand-soft: #F5FBFF;
  --ink: #1a1f26;
  --ink-title: #0e141b;
  --ink-muted: #5a6572;
  --paper: #ffffff;
  --paper-muted: #f4f7fa;
  --paper-band: #eef6fc;
  --pulse: #459647;
  --gold: #E0B252;
  --line: rgba(14, 20, 27, 0.08);
  --ring: #0071BC;
  --danger: #C62828;
  --on-brand: #ffffff;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1180px;
  --pad: clamp(1rem, 4vw, 1.5rem);
  --radius: 1.75rem;
  --radius-sm: 1.15rem;
  --shadow-soft: 0 24px 60px rgba(10, 40, 70, 0.08);
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 1rem;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }

/* Fixed grain — performance safe */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 80; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ——— Policy ——— */
.policy-bar {
  position: relative; z-index: 45;
  background: var(--ink-title);
  color: #f3f6f9;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem var(--pad);
  border-bottom: 2px solid var(--gold);
}
.policy-bar a { color: inherit; text-decoration: none; }

/* ——— Island nav ——— */
.site-header {
  position: sticky;
  top: max(0.85rem, env(safe-area-inset-top));
  z-index: 70;
  display: flex;
  justify-content: center;
  padding: 0 var(--pad);
  /* Float the island — never kiss the policy bar or viewport edge */
  margin-top: 0.85rem;
  margin-bottom: -4.35rem;
  pointer-events: none;
}
.nav-island {
  pointer-events: auto;
  width: min(var(--max), 100%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.4rem;
  padding: 0.35rem 0.4rem 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 10px 40px rgba(8, 30, 55, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  height: 2.65rem;
  text-decoration: none;
  color: var(--ink-title);
  min-width: 0;
  flex-shrink: 0;
  line-height: 0;
}
.brand-lockup img {
  width: auto;
  height: 1.7rem;
  max-width: min(42vw, 9.5rem);
  object-fit: contain;
  object-position: left center;
  display: block;
  /* Optical center — wordmark + green mark sit high in the asset */
  transform: translateY(1px);
}
@media (min-width: 420px) {
  .brand-lockup img {
    height: 1.9rem;
    max-width: 11rem;
  }
}
@media (min-width: 980px) {
  .brand-lockup img {
    height: 2.05rem;
    max-width: 12.5rem;
  }
}
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0.35rem;
  height: 2.65rem;
}
.nav-links {
  display: none; list-style: none; margin: 0; padding: 0;
  flex: 1; justify-content: center; gap: 0.15rem;
}
.nav-links a {
  text-decoration: none; font-size: 0.84rem; font-weight: 650;
  padding: 0.45rem 0.7rem; border-radius: 999px; color: var(--ink);
  transition: background 280ms var(--ease), color 280ms var(--ease);
}
.nav-links a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.nav-cta .btn { display: none; }
@media (min-width: 420px) {
  .nav-cta .btn { display: inline-flex; }
}
.nav-toggle {
  width: 2.65rem; height: 2.65rem; border: 0; border-radius: 999px;
  background: var(--paper-muted); cursor: pointer; position: relative;
  z-index: 1;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute; left: 50%; width: 1.05rem; height: 1.5px;
  background: var(--ink-title); border-radius: 2px;
  transition: transform 400ms var(--ease), opacity 250ms var(--ease), background 250ms var(--ease);
}
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before { content: ""; top: -6px; transform: translateX(-50%); }
.nav-toggle span::after { content: ""; top: 6px; transform: translateX(-50%); }
.nav-toggle.is-open {
  /* Only one close control — the overlay ×; hide the island morph-X */
  display: none;
}

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile overlay — sits under the island so the hamburger→X stays tappable */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  padding:
    max(5.25rem, calc(env(safe-area-inset-top, 0px) + 4.25rem))
    max(var(--pad), env(safe-area-inset-right, 0px))
    0
    max(var(--pad), env(safe-area-inset-left, 0px));
  background: rgba(10, 20, 32, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 400ms var(--ease), visibility 400ms var(--ease);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-nav-close {
  align-self: flex-end;
  position: relative;
  top: auto;
  right: auto;
  margin: 0 0 0.85rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.22); }
.mobile-nav-links {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-bottom: max(2.75rem, calc(env(safe-area-inset-bottom, 0px) + 2rem));
}
.mobile-nav-links a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 7vw, 2.25rem);
  letter-spacing: -0.03em;
  padding: 0.45rem 0;
  transform: translateY(1.2rem);
  opacity: 0;
  transition: transform 500ms var(--ease-out), opacity 500ms var(--ease);
}
.mobile-nav.is-open .mobile-nav-links a { transform: none; opacity: 1; }
.mobile-nav.is-open .mobile-nav-links a:nth-child(1) { transition-delay: 60ms; }
.mobile-nav.is-open .mobile-nav-links a:nth-child(2) { transition-delay: 100ms; }
.mobile-nav.is-open .mobile-nav-links a:nth-child(3) { transition-delay: 140ms; }
.mobile-nav.is-open .mobile-nav-links a:nth-child(4) { transition-delay: 180ms; }
.mobile-nav.is-open .mobile-nav-links a:nth-child(5) { transition-delay: 220ms; }
.mobile-nav.is-open .mobile-nav-links a:nth-child(6) { transition-delay: 260ms; }
.mobile-nav.is-open .mobile-nav-links a:nth-child(7) { transition-delay: 300ms; }
.mobile-nav.is-open .mobile-nav-links a:nth-child(8) { transition-delay: 340ms; }

/* Buttons — equal width + nested arrow CTA */
.btn {
  --btn-w: 16.25rem;
  --btn-pad-x: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: var(--btn-w);
  min-width: var(--btn-w);
  max-width: 100%;
  min-height: 3.15rem;
  padding: 0.4rem 0.4rem 0.4rem var(--btn-pad-x);
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 750;
  font-size: 0.92rem;
  line-height: 1.15;
  text-align: left;
  box-sizing: border-box;
  transition: transform 280ms var(--ease), background 280ms var(--ease), box-shadow 280ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--brand); color: var(--on-brand);
  box-shadow: 0 10px 28px rgba(0, 113, 188, 0.28);
}
.btn-primary:hover { background: var(--brand-deep); color: var(--on-brand); }
.btn-ghost {
  background: rgba(255,255,255,0.16); color: #fff;
  border: 1px solid rgba(255,255,255,0.28); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.28); color: #fff; }
.btn-secondary {
  background: var(--brand-soft);
  color: var(--brand-deep);
  border: 1px solid rgba(0, 113, 188, 0.28);
  box-shadow: 0 8px 22px rgba(0, 113, 188, 0.08);
}
.btn-secondary:hover {
  background: #e4f2fc;
  color: var(--brand-deep);
  border-color: rgba(0, 113, 188, 0.45);
}
.btn-icon {
  flex: 0 0 auto;
  width: 2.15rem; height: 2.15rem; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.2);
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 350ms var(--ease);
}
.btn:hover .btn-icon { transform: translate(2px, -1px) scale(1.05); }
.btn-primary .btn-icon { background: rgba(255,255,255,0.18); }
.btn-ghost .btn-icon { background: rgba(255,255,255,0.18); }
.btn-secondary .btn-icon { background: rgba(0, 113, 188, 0.14); color: var(--brand-deep); }
.nav-cta .btn {
  --btn-w: auto;
  width: auto;
  min-width: 0;
  min-height: 2.65rem;
  padding: 0.25rem 0.3rem 0.25rem 0.95rem;
  font-size: 0.85rem;
  gap: 0.45rem;
}
.nav-cta .btn .btn-icon {
  width: 1.85rem; height: 1.85rem; font-size: 0.8rem;
}
.hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.55rem;
  width: 100%;
  max-width: 34rem;
}
.hero-actions .btn {
  flex: 1 1 0;
  width: auto !important;
  min-width: 0 !important;
  max-width: none;
  padding-left: 0.85rem;
  font-size: 0.86rem;
  gap: 0.4rem;
}
.hero-actions .btn .btn-icon {
  width: 1.85rem;
  height: 1.85rem;
  font-size: 0.85rem;
}
.closing .hero-actions {
  max-width: none;
}
@media (min-width: 900px) {
  .hero-actions .btn {
    flex: 0 0 var(--btn-w);
    width: var(--btn-w) !important;
    min-width: var(--btn-w) !important;
    padding-left: var(--btn-pad-x);
    font-size: 0.92rem;
    gap: 0.65rem;
  }
  .hero-actions .btn .btn-icon {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.95rem;
  }
}

/* ——— Cinematic hero ——— */
.hero-cinema {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #0a1520;
}
.hero-media .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s var(--ease), transform 8s linear;
}
.hero-media .slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-media img,
.hero-media video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,18,28,0.35) 0%, rgba(8,18,28,0.15) 35%, rgba(8,18,28,0.82) 100%),
    linear-gradient(90deg, rgba(0,80,140,0.35), transparent 55%);
}
.hero-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: calc(var(--header-h) + 5rem) var(--pad) max(2.75rem, env(safe-area-inset-bottom));
}
.hero-brand {
  display: block;
  margin-bottom: 1.1rem;
  max-width: min(72vw, 16rem);
}
.hero-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.4));
}
@media (min-width: 768px) {
  .hero-brand { max-width: 18rem; }
}
.hero-cinema h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 9.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 11ch;
  text-wrap: balance;
}
.hero-cinema .support {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: clamp(1rem, 3.4vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
}
.hero-progress {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2rem;
  width: 100%;
}
.hero-progress button {
  width: 2rem; height: 3px; border: 0; border-radius: 99px;
  background: rgba(255,255,255,0.28); padding: 0; cursor: pointer;
  overflow: hidden; position: relative;
}
.hero-progress button::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 0%;
  background: #fff; border-radius: inherit;
}
.hero-progress button.is-active::after {
  width: 100%;
  transition: width 5.5s linear;
}

@media (min-width: 768px) {
  .hero-inner { padding-bottom: 4rem; }
  .hero-cinema h1 { max-width: 14ch; }
  .hero-progress { justify-content: flex-start; }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 10vw, 7.5rem) var(--pad);
}
.section-band { background: var(--paper-band); }
.section-ink {
  background: var(--ink-title);
  color: #e8eef4;
}
.section-ink h2 { color: #fff; }
.section-ink .lead { color: rgba(232,238,244,0.72); }
.wrap,
.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.section-head { margin-bottom: clamp(1.75rem, 5vw, 2.75rem); max-width: 36rem; }
.section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink-title);
}
.lead { margin: 0; color: var(--ink-muted); font-size: 1.02rem; max-width: 40rem; }

/* Double-bezel shell */
.bezel {
  padding: 0.35rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background: rgba(10, 40, 70, 0.04);
  border: 1px solid var(--line);
}
.bezel-inner {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

/* About editorial */
.about-editorial {
  display: grid;
  gap: 1.25rem;
}
.about-copy {
  padding: 0.25rem 0 0;
}
.about-copy p { margin: 0 0 1.25rem; color: var(--ink-muted); font-size: 1.05rem; }
.about-frame {
  width: 100%;
  height: 28rem;
  max-height: 28rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.about-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-bezel {
  width: 100%;
}
@media (min-width: 860px) {
  .about-editorial {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
  }
}

/* SDG marquee strip */
.sdg-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (min-width: 700px) {
  .sdg-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.sdg-chip {
  display: grid; place-items: center; gap: 0.35rem;
  min-height: 5.5rem; padding: 0.85rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.sdg-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.sdg-chip img { width: 2.4rem; height: 2.4rem; object-fit: contain; }
.sdg-chip span { font-size: 0.72rem; font-weight: 700; color: var(--ink-muted); line-height: 1.25; }

/* Presence filmstrip */
.filmstrip {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}
.filmstrip::-webkit-scrollbar { height: 4px; }
.filmstrip::-webkit-scrollbar-thumb { background: rgba(0,113,188,0.35); border-radius: 99px; }
.film-card {
  flex: 0 0 min(78vw, 280px);
  margin: 0;
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.film-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease);
}
.film-card:hover img { transform: scale(1.05); }
@media (min-width: 900px) {
  .film-card { flex-basis: 240px; }
}

/* Announcement posters */
.poster-rail {
  display: flex; gap: 0.85rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.25rem 0 0.5rem;
}
.poster {
  flex: 0 0 min(72vw, 240px);
  scroll-snap-align: start;
  border-radius: 1.35rem;
  overflow: hidden;
  background: var(--paper-muted);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  transition: transform 400ms var(--ease);
}
.poster:hover { transform: translateY(-4px); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .poster { flex-basis: 220px; }
}

/* Programs bento */
.program-bento {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
.program-tile {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 16rem;
  isolation: isolate;
}
.program-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  transition: transform 800ms var(--ease);
}
.program-tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(8,18,28,0.88) 100%);
}
.program-tile:hover img { transform: scale(1.06); }
.program-tile .body {
  position: absolute; inset: auto 0 0 0;
  padding: 1.25rem 1.2rem 1.35rem;
}
.program-tile h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.program-tile p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 760px) {
  .program-bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(12rem, auto);
  }
  .program-tile { min-height: 0; }
  .program-tile:nth-child(1) { grid-column: span 4; grid-row: span 2; min-height: 24rem; }
  .program-tile:nth-child(2) { grid-column: span 2; grid-row: span 2; }
  .program-tile:nth-child(3) { grid-column: span 3; min-height: 14rem; }
  .program-tile:nth-child(4) { grid-column: span 3; min-height: 14rem; }
  .program-tile:nth-child(1) h3 { font-size: 2.1rem; }
}

/* Testimonials — premium marquee */
.voice-section .section-head {
  margin-bottom: 1.75rem;
}
.voice-section .section-head .lead {
  max-width: 42ch;
  margin: 0.55rem 0 0;
}
.voice-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  padding: 0.35rem 0 0.85rem;
}
.voice-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.1rem;
  will-change: transform;
  animation: voice-marquee-ltr 55s linear infinite;
}
.voice-marquee.is-paused .voice-marquee-track,
.voice-marquee:hover .voice-marquee-track {
  animation-play-state: paused;
}
@keyframes voice-marquee-ltr {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .voice-marquee-track {
    animation: none;
    transform: none;
    flex-wrap: nowrap;
  }
  .voice-marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    mask-image: none;
    -webkit-mask-image: none;
    padding-inline: var(--pad);
  }
  .voice-marquee-track .voice-card[aria-hidden="true"] {
    display: none;
  }
  .voice-card {
    scroll-snap-align: start;
  }
}
.voice-card {
  flex: 0 0 min(86vw, 22.5rem);
}
.voice-card-shell {
  height: 100%;
  padding: 0.35rem;
  border-radius: 1.65rem;
  background: rgba(0, 113, 188, 0.055);
  border: 1px solid rgba(10, 79, 138, 0.1);
  box-shadow: 0 18px 40px -28px rgba(10, 40, 70, 0.35);
}
.voice-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 19.5rem;
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(165deg, rgba(255,255,255,0.92) 0%, rgba(245,251,255,0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.voice-stars {
  display: flex;
  gap: 0.18rem;
  margin-bottom: 1rem;
  color: #D4A017;
}
.voice-star {
  display: block;
  flex-shrink: 0;
}
.voice-card blockquote {
  margin: 0;
  flex: 1;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.02rem, 2.6vw, 1.18rem);
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink-title);
}
.voice-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(10, 79, 138, 0.1);
}
.voice-avatar {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--brand-soft);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(0, 113, 188, 0.18);
}
.voice-avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--brand-deep);
}
.voice-person-meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.voice-person cite {
  font-style: normal;
  font-weight: 750;
  font-size: 0.98rem;
  color: var(--ink-title);
  line-height: 1.2;
}
.voice-location {
  font-size: 0.82rem;
  color: var(--brand);
  font-weight: 600;
  line-height: 1.25;
}

/* Closing CTA */
.closing {
  display: grid; gap: 1.5rem;
}
.closing h2 { color: #fff; max-width: 14ch; }
@media (min-width: 800px) {
  .closing {
    grid-template-columns: 1.4fr auto;
    align-items: end;
    gap: 2rem;
  }
}

/* Footer */
.site-footer {
  background: #0b1219;
  color: rgba(230,236,242,0.78);
  padding: 3rem var(--pad) 2rem;
}
.footer-grid {
  width: min(var(--max), 100%); margin: 0 auto;
  display: grid; gap: 1.75rem;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
}
.site-footer h3 { color: #fff; margin: 0 0 0.7rem; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-copy {
  width: min(var(--max), 100%); margin: 2rem auto 0;
  padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
}
.footer-social-heading {
  margin: 1.35rem 0 0.65rem;
  color: #fff;
  font-size: 0.95rem;
}

/* Social links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.social-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.social-links--dark .social-link {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}
.social-links--dark .social-link:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}
.social-links--light .social-link {
  color: var(--brand);
  background: rgba(0,113,188,0.08);
  border: 1px solid rgba(0,113,188,0.18);
}
.social-links--light .social-link:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}
.contact-social-heading {
  margin: 1.75rem 0 0.75rem;
  font-size: 1rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) var(--pad) 2.5rem;
  background: var(--paper-band);
}
.page-hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 8vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 14ch;
}

/* Forms keep working */
.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.form-grid { display: grid; gap: 0.9rem; }
@media (min-width: 700px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}
label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.35rem; }
input, textarea, select {
  width: 100%; min-height: 48px; border: 1px solid var(--line);
  border-radius: 0.9rem; padding: 0.7rem 0.9rem; font: inherit; background: var(--paper);
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
textarea { min-height: 140px; resize: vertical; }
.field-error { color: var(--danger); font-size: 0.84rem; margin-top: 0.3rem; font-weight: 650; }
input.is-invalid,
textarea.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}
.alert { padding: 0.85rem 1rem; border-radius: 0.9rem; margin-bottom: 1rem; font-weight: 650; }
.alert-success { background: #e8f6ea; color: #1e5c2a; }
.alert-error { background: #fdecea; color: var(--danger); }
.amount-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.65rem; }
.chip {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 0.55rem 0.9rem; font-weight: 700; cursor: pointer;
}
.chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.split { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; } }
.prose { max-width: 42rem; }
.prose h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -0.035em; line-height: 1.1;
}
.post-list { display: grid; gap: 1.25rem; }
.post-item {
  display: grid; gap: 0.85rem; text-decoration: none; color: inherit;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .post-item { grid-template-columns: 200px 1fr; }
}
.post-thumb { aspect-ratio: 4/3; border-radius: 1rem; background: var(--brand-soft); overflow: hidden; }
.post-item h2 {
  margin: 0 0 0.4rem; font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -0.03em;
}
.people-grid {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
@media (min-width: 700px) {
  .people-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
.person-card {
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line); background: var(--paper);
}
.person-photo { aspect-ratio: 4/5; background: var(--brand-soft); }
.person-card .meta { padding: 0.9rem 0.95rem 1.1rem; }
.person-card h3 { margin: 0 0 0.2rem; font-size: 1rem; }
.person-card .role { color: var(--brand); font-size: 0.78rem; font-weight: 750; margin-bottom: 0.4rem; }
.person-card p { margin: 0; color: var(--ink-muted); font-size: 0.86rem; }
.album-bento {
  display: grid; gap: 0.75rem; grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .album-bento { grid-template-columns: repeat(6, 1fr); }
  .album-tile { grid-column: span 2; min-height: 16rem; }
  .album-tile:first-child { grid-column: span 4; min-height: 22rem; }
}
.album-tile {
  display: block; text-decoration: none; color: #fff;
  border-radius: var(--radius); overflow: hidden; position: relative;
  min-height: 15rem; background: #123;
}
.album-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.album-tile-body {
  position: absolute; inset: auto 0 0 0; padding: 1.1rem;
  background: linear-gradient(transparent, rgba(8,18,28,0.85));
}
.album-tile h3 { margin: 0 0 0.2rem; font-family: var(--font-display); font-size: 1.25rem; }
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.value-card {
  padding: 1rem 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  min-width: 0;
}
.value-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink-title);
}
.value-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-muted);
}
@media (min-width: 700px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
  .value-card {
    padding: 1.25rem 1.15rem 1.35rem;
    border-radius: var(--radius);
  }
  .value-card h3 { font-size: 1.2rem; }
  .value-card p { font-size: 0.92rem; }
}
.program-stack { display: grid; gap: 1rem; }
.program-row {
  display: grid;
  gap: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
/* Mobile: image always above text */
.program-row .program-visual { order: 1; }
.program-row .program-copy { order: 2; }
@media (min-width: 800px) {
  .program-row {
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
  }
  .program-row .program-copy { order: 1; }
  .program-row .program-visual { order: 2; }
  .program-row--reverse {
    grid-template-columns: 1fr 1.2fr;
  }
  .program-row--reverse .program-visual { order: 1; }
  .program-row--reverse .program-copy { order: 2; }
}
.program-copy { padding: 1.35rem 1.25rem; }
.program-row h3 {
  margin: 0 0 0.45rem; font-family: var(--font-display);
  font-size: 1.45rem; letter-spacing: -0.03em;
}
.program-visual { min-height: 12rem; background: var(--brand-soft); }
.program-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 12rem; }

/* Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-media .slide { transition: opacity 400ms ease; transform: none; }
  .hero-progress button.is-active::after { transition: none; width: 100%; }
  .btn, .program-tile img, .film-card img { transition: none; }
}

.prose table,
.prose table.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  table-layout: fixed;
  overflow: auto;
  display: table;
}
.prose th,
.prose td {
  border: 1px solid var(--line, #d9e2ec);
  padding: 0.55rem 0.7rem;
  vertical-align: top;
  text-align: left;
}
.prose th {
  background: var(--band, #f5fbff);
  font-weight: 750;
}
.prose td > p,
.prose th > p {
  margin: 0;
}
