/* ==========================================================================
   Rehmat Educational Foundation — components
   ========================================================================== */

/* ==========================================================================
   preloader
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9000;
  display: grid; place-items: center;
  background: var(--cream);
  color: var(--navy);
}
.preloader__inner { display: grid; place-items: center; gap: 1.3rem; width: min(300px, 68vw); }
.preloader__mark { width: 118px; }
.preloader__mark path { opacity: 0; }
.preloader__bar { width: 100%; height: 4px; background: rgba(8, 30, 58, 0.1); border-radius: 3px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--orange), var(--red)); }
.preloader__pct { font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.24em; color: var(--orange-deep); }
html.is-loaded .preloader { pointer-events: none; }

/* ==========================================================================
   cursor
   ========================================================================== */
.cursor { position: fixed; top: 0; left: 0; z-index: 8000; pointer-events: none; display: none; }
.cursor__dot, .cursor__ring { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); will-change: transform; }
.cursor__dot { width: 7px; height: 7px; background: var(--orange); }
.cursor__ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(245, 138, 52, 0.6);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s, border-color 0.35s;
}
.cursor.is-hot .cursor__ring { width: 64px; height: 64px; background: rgba(245, 138, 52, 0.14); border-color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ==========================================================================
   scroll progress
   ========================================================================== */
.scrollbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 700; pointer-events: none; }
.scrollbar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--orange), var(--red)); }

/* ==========================================================================
   top strip + navigation
   ========================================================================== */
.topbar {
  position: relative; z-index: 601;
  background: var(--navy);
  color: #cbd7e6;
  font-size: 0.78rem;
  height: var(--bar-h);
  display: flex; align-items: center;
}
.topbar__inner { width: min(100% - (var(--pad) * 2), 1600px); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; }
.topbar a:hover { color: var(--orange-bright); }
.topbar .sep { opacity: 0.35; }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.topbar__social { display: flex; gap: 0.75rem; }
.topbar__social svg { width: 15px; height: 15px; }
.topbar__social a { opacity: 0.75; transition: opacity 0.25s, color 0.25s; }
.topbar__social a:hover { opacity: 1; }
@media (max-width: 1180px) { .topbar { display: none; } }

.nav {
  position: sticky; top: 0; z-index: 600;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.nav.is-stuck { box-shadow: 0 10px 30px -18px rgba(28, 22, 10, 0.3); border-bottom-color: var(--line); background: rgba(255, 253, 249, 0.96); }
.nav__inner { position: relative; width: min(100% - (var(--pad) * 2), 1600px); margin-inline: auto; display: flex; align-items: center; gap: 1.1rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.brand__mark { width: 46px; flex: none; }
.brand__mark svg { width: 100%; height: auto; }
.brand__name { font-family: var(--display); font-size: 0.86rem; line-height: 0.96; letter-spacing: 0.06em; color: var(--navy); white-space: nowrap; }
.brand__name b { display: block; font-weight: 400; font-size: 1.2rem; letter-spacing: 0.04em; }
@media (max-width: 620px) { .brand__name { display: none; } .brand__mark { width: 42px; } }

.nav__menu { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 0.35em;
  padding: 0.62rem 0.8rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--navy);
  border-radius: var(--r-sm);
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--orange-ink); background: var(--sand); }
.nav__link[aria-current="page"] { color: var(--orange-ink); }
.nav__caret { width: 9px; height: 9px; transition: transform 0.3s var(--ease); opacity: 0.6; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 280px; padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a {
  display: block; padding: 0.6rem 0.8rem; border-radius: 11px;
  font-size: 0.86rem; font-weight: 600; color: var(--navy);
  transition: background 0.22s, color 0.22s, padding-left 0.28s var(--ease);
}
.nav__sub a small { display: block; font-size: 0.72rem; color: var(--ink-soft); font-weight: 500; margin-top: 3px; }
.nav__sub a:hover { background: var(--sand); color: var(--orange-ink); padding-left: 1.05rem; }
.nav__sub a:hover small { color: var(--orange-ink); opacity: 0.8; }

.nav__cta { display: flex; align-items: center; gap: 0.55rem; flex: none; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); place-items: center; flex: none; background: #fff;
}
.burger span { display: block; width: 19px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.25s; }
.burger span + span { margin-top: 5px; }
.burger.is-on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-on span:nth-child(2) { opacity: 0; }
.burger.is-on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav__menu { display: none; }
  .burger { display: grid; margin-left: auto; }
  .nav__cta .btn--nav-hide { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 590;
  background: var(--cream);
  padding: calc(var(--nav-h) + 1.5rem) var(--pad) 2rem;
  overflow-y: auto;
  overflow-x: hidden;
  clip-path: circle(0% at calc(100% - 46px) 40px);
  transition: clip-path 0.72s var(--ease);
  visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 46px) 40px); visibility: visible; }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1.8rem; max-width: 1100px; margin-inline: auto; }
.menu__group h3 { font-size: 1.05rem; color: var(--orange-ink); margin-bottom: 0.7rem; letter-spacing: 0.1em; }
.menu__group a { display: block; padding: 0.52rem 0; color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--gray-200); transition: color 0.25s, padding-left 0.3s var(--ease); }
.menu__group a:hover { color: var(--orange-ink); padding-left: 0.5rem; }
.menu__foot { max-width: 1100px; margin: 2.2rem auto 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ==========================================================================
   sticky donate dock
   ========================================================================== */
.dock {
  position: fixed; left: 50%; bottom: 1.1rem; z-index: 580;
  transform: translate(-50%, 160%);
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.5rem 0.5rem 0.5rem 1.35rem;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px -18px rgba(28, 22, 10, 0.4);
  transition: transform 0.6s var(--ease);
  max-width: calc(100vw - 2rem);
}
.dock.is-on { transform: translate(-50%, 0); }
.dock__txt { color: var(--navy); font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.dock__txt b { color: var(--orange-ink); }
@media (max-width: 620px) {
  .dock { padding-left: 1rem; gap: 0.55rem; width: calc(100% - 1.6rem); justify-content: space-between; }
  .dock__txt { font-size: 0.75rem; }
  .dock .btn { padding: 0.82em 1em; font-size: 0.7rem; }
}

/* ==========================================================================
   hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(168deg, var(--cream) 0%, var(--cream-deep) 55%, #fbe6c9 100%);
  overflow: hidden;
  padding-block: clamp(2.2rem, 4.5vw, 4rem) clamp(2.6rem, 5vw, 4.4rem);
  isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.85; }
/* veil the copy column so the sculpture never competes with the headline */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(96deg, var(--cream) 0%, rgba(253, 246, 234, 0.97) 34%, rgba(253, 246, 234, 0.6) 50%, transparent 68%);
}
@media (max-width: 1040px) {
  .hero::before { background: linear-gradient(180deg, rgba(253,246,234,.9) 0%, rgba(253,246,234,.55) 46%, transparent 74%); }
}
.hero__canvas canvas { width: 100% !important; height: 100% !important; }
.hero__glow {
  position: absolute; z-index: -1;
  width: min(90vw, 900px); aspect-ratio: 1;
  right: -12%; top: -32%;
  background: radial-gradient(circle, rgba(245, 138, 52, 0.3) 0%, rgba(245, 138, 52, 0) 62%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 3; }
/* The copy column has to hold both hero buttons side by side on a laptop;
   1.02fr left it 36px short and dropped 'Make a donation' onto its own row. */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); gap: clamp(1.75rem, 3.4vw, 3.6rem); align-items: center; }
@media (max-width: 1040px) { .hero__grid { grid-template-columns: 1fr; } }

/* Owner's sizes, 12 Sep: 40px at 390, ~50 at 768, ~64 at 1280, 80 at 1920. */
.hero__title { font-size: clamp(2.4rem, 1.86rem + 2.61vw, 5.25rem); line-height: 1; margin-block: 0.9rem 1.05rem; }
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span { display: block; will-change: transform; white-space: nowrap; }
.hero__lead { max-width: 50ch; color: #2b3542; font-size: var(--t-lead); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.8rem; margin-top: 1.6rem; }
.hero__cta .btn { justify-content: center; }
.hero__note { margin-top: 1.2rem; display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.83rem; line-height: 1.5; color: var(--ink-soft); }
.hero__note svg { width: 18px; height: 18px; margin-top: 0.15rem; color: var(--orange); flex: none; }

/* the play badge that floats over the photo cluster */
.hero__play {
  position: absolute; left: -6%; top: 8%; z-index: 4;
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 0.7rem 1.3rem 0.7rem 0.7rem;
  background: var(--navy); color: #fff;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease);
}
.hero__play:hover { transform: translateY(-3px) scale(1.02); }
.hero__play .disc { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; flex: none; }
.hero__play .disc svg { width: 17px; height: 17px; margin-left: 3px; color: #fff; }
.hero__play .lbl { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; }
.hero__play .lbl small { display: block; font-weight: 600; letter-spacing: 0.06em; opacity: 0.6; text-transform: none; }
@media (max-width: 1040px) { .hero__play { left: 4%; top: auto; bottom: -1.4rem; } }

/* the 80%-style ring badge, here showing the real 92p figure */
.hero__badge {
  position: absolute; right: -3%; bottom: -4%; z-index: 4;
  width: clamp(128px, 15vw, 168px); aspect-ratio: 1;
  border-radius: 34px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; gap: 0.2rem;
  padding: 1rem; text-align: center;
  box-shadow: var(--shadow);
}
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; padding: 14px; }
.hero__badge circle { fill: none; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.hero__badge b { position: relative; font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; }
.hero__badge span { position: relative; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; line-height: 1.3; }
@media (max-width: 620px) { .hero__badge { right: 0; bottom: -2.5rem; } }

/* stat strip under the hero copy */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
  margin-top: 2rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(8, 30, 58, 0.12);
}
@media (max-width: 480px) { .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero__stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 0.9; color: var(--c, var(--orange)); font-variant-numeric: tabular-nums; }
.hero__stat b span { font-size: inherit; color: inherit; display: inline; margin: 0; }
.hero__stat > span { display: block; font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.4rem; line-height: 1.45; }
.hero__stat em { font-style: normal; font-size: 0.5em; letter-spacing: 0.05em; color: var(--navy); }

/* ==========================================================================
   pastel feature cards (the theme's four-up row)
   ========================================================================== */
.feat {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.7rem;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.feat:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feat__no {
  position: absolute; right: 0.6rem; bottom: -0.6rem;
  font-family: var(--display); font-size: 5.2rem; line-height: 1;
  color: var(--navy); opacity: 0.06; pointer-events: none;
}
.feat__ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--sand)); color: var(--ci, var(--orange-deep)); flex: none; }
.feat__ico svg { width: 27px; height: 27px; }
.feat h3 { font-family: var(--body); font-weight: 700; text-transform: none; letter-spacing: -0.012em; font-size: 1.16rem; line-height: 1.3; }
.feat p { font-size: 0.93rem; color: var(--ink-soft); }
.feat .link { margin-top: auto; padding-top: 0.4rem; align-self: flex-start; }
.feat--sand { --c: var(--sand); --ci: var(--orange-deep); }
.feat--mint { --c: var(--mint); --ci: #2f7d55; }
.feat--sky  { --c: var(--sky);  --ci: var(--navy-600); }
.feat--blush{ --c: var(--blush);--ci: var(--red-deep); }

/* ==========================================================================
   mission / vision pair
   ========================================================================== */
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 900px) { .mv { grid-template-columns: 1fr; } }
.mv__card {
  position: relative;
  padding: clamp(1.8rem, 3.2vw, 3rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column; gap: 1rem;
  min-height: 100%;
}
.mv__card--mission { background: var(--navy); color: #fff; }
.mv__card--vision { background: var(--orange); color: var(--navy); }
.mv__card--vision h2, .mv__card--vision p, .mv__card--vision .mv__ico svg { color: var(--navy); }
.mv__card h2 { color: inherit; }
.mv__card p { font-size: var(--t-lead); line-height: 1.6; }
.mv__card--mission p { color: #cbd8e8; }
.mv__card--vision p { color: var(--navy); }
.mv__ico { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); flex: none; }
.mv__ico svg { width: 30px; height: 30px; color: #fff; }
.mv__card .rays-bg {
  position: absolute; right: -14%; bottom: -34%;
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.13) 0%, transparent 66%);
  pointer-events: none;
}

/* ==========================================================================
   approach cards (image + caption)
   ========================================================================== */
.approach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 1080px) { .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .approach { grid-template-columns: 1fr; } }
.approach__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.approach__card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.approach__card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-deep); order: 2; }
.approach__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.approach__card:hover img { transform: scale(1.06); }
.approach__body { padding: clamp(1.2rem, 2vw, 1.6rem); order: 1; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.approach__body strong { display: block; font-size: 1.02rem; line-height: 1.35; color: var(--navy); }
.approach__body span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

/* ==========================================================================
   target audience
   ========================================================================== */
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.aud__card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy-800); }
.aud__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.aud__card:hover img { transform: scale(1.05); }
.aud__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(8, 30, 58, 0.9)); }
.aud__cap {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 2;
  color: #fff; display: flex; align-items: center; gap: 0.8rem;
}
.aud__cap b { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: 0.03em; line-height: 1.05; }
.aud__cap i {
  width: 38px; height: 38px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; flex: none;
}
.aud__cap i svg { width: 18px; height: 18px; }

/* ==========================================================================
   the three numbers
   ========================================================================== */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 860px) { .stat-row { grid-template-columns: 1fr; } }
.stat {
  position: relative; overflow: hidden;
  padding: clamp(1.6rem, 2.8vw, 2.3rem);
  border-radius: var(--r-lg);
  background: var(--c-bg, #fff);
  border: 1px solid var(--line);
}
.stat::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 5px;
  background: var(--c, var(--orange));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.1s var(--ease);
}
.stat.is-in::before { transform: scaleX(1); }
.stat__n { font-family: var(--display); font-size: clamp(3.2rem, 6.4vw, 5.2rem); line-height: 0.86; color: var(--c, var(--orange)); font-variant-numeric: tabular-nums; }
.stat__u { font-family: var(--body); font-weight: 700; font-size: clamp(0.95rem, 1.4vw, 1.2rem); letter-spacing: 0.01em; color: var(--navy); }
.stat__l { margin-top: 0.85rem; font-size: 0.94rem; color: var(--ink-soft); max-width: 27ch; }
.stat--1 { --c: var(--orange-deep); --c-bg: var(--sand); }
.stat--2 { --c: var(--red); --c-bg: var(--blush); }
.stat--3 { --c: var(--navy-600); --c-bg: var(--sky); }

/* ==========================================================================
   scroll-scrubbed film
   ========================================================================== */
.film { position: relative; background: #04101f; }
.film__stage { position: relative; height: 100svh; overflow: hidden; background: #04101f; }
.film__layer { position: absolute; inset: 0; }
.film__layer video, .film__layer img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.28s linear;
}
.film__layer .is-live { opacity: 1; }
.film__vig {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(115% 76% at 50% 42%, transparent 28%, rgba(4, 16, 31, 0.5) 76%, rgba(4, 16, 31, 0.9) 100%),
    linear-gradient(180deg, rgba(4, 16, 31, 0.7) 0%, transparent 26%, transparent 58%, rgba(4, 16, 31, 0.92) 100%);
}
.film__copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(6.5rem, 15vh, 10rem); color: #fff; pointer-events: none; }
.film__slide {
  position: absolute; left: 0; right: 0; bottom: 0;
  opacity: 0; transform: translateY(28px);
  width: min(100% - (var(--pad) * 2), var(--max)); margin-inline: auto;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.film__slide.is-live { opacity: 1; transform: none; }
.film__slide h3 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 0.94; max-width: 16ch; color: #fff; }
.film__slide p { margin-top: 0.9rem; max-width: 46ch; color: #d3dfec; font-size: var(--t-lead); }
.film__chapters { position: absolute; z-index: 4; right: var(--pad); top: 50%; transform: translateY(-50%); display: grid; gap: 0.8rem; pointer-events: none; }
.film__chapters b { display: block; width: 3px; height: 26px; border-radius: 2px; background: rgba(255, 255, 255, 0.24); overflow: hidden; position: relative; }
.film__chapters b i { position: absolute; inset: 0 0 auto 0; height: 0%; background: var(--orange); display: block; }
@media (max-width: 760px) { .film__chapters { display: none; } }

/* ==========================================================================
   before / after slider
   ========================================================================== */
.tf {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--cream-deep);
  cursor: ew-resize; user-select: none; touch-action: pan-y;
}
.tf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tf__after { clip-path: inset(0 0 0 var(--x, 50%)); }
.tf__bar { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 3px; background: #fff; pointer-events: none; }
.tf__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
.tf__knob svg { width: 22px; height: 22px; }
.tf__tag {
  position: absolute; top: 1rem;
  padding: 0.42em 0.95em; border-radius: var(--r-pill);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  pointer-events: none;
}
.tf__tag--b { left: 1rem; background: rgba(8, 30, 58, 0.8); color: #fff; }
.tf__tag--a { right: 1rem; background: var(--orange); color: var(--navy); }

/* ==========================================================================
   programme pillars + icon tiles
   ========================================================================== */
.pillar {
  position: relative; display: grid; grid-template-rows: auto 1fr;
  border-radius: var(--r-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pillar__media { aspect-ratio: 3 / 2; overflow: hidden; position: relative; background: var(--cream-deep); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.06); }
.pillar__no {
  position: absolute; left: 1rem; top: 1rem;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: var(--orange); color: var(--navy);
  font-family: var(--display); font-size: 1.25rem; line-height: 1; padding-top: 3px;
}
.pillar__body { padding: clamp(1.3rem, 2vw, 1.9rem); display: flex; flex-direction: column; gap: 0.6rem; }
.pillar__body h3 { font-size: 1.5rem; }
.pillar__body p { font-size: 0.94rem; color: var(--ink-soft); }

.tile {
  padding: clamp(1.25rem, 2.1vw, 1.8rem);
  border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.65rem;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.tile:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow); }
.tile__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sand); color: var(--orange-deep); flex: none; }
.tile__ico svg { width: 25px; height: 25px; }
.tile h4 { font-size: 1.06rem; }
.tile p { font-size: 0.92rem; color: var(--ink-soft); }
.on-dark .tile { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.on-dark .tile:hover { background: rgba(255, 255, 255, 0.1); }
.on-dark .tile__ico { background: rgba(245, 138, 52, 0.2); color: var(--orange-bright); }
.on-dark .tile p { color: #b3c1d4; }

/* ==========================================================================
   horizontal pinned timeline
   ========================================================================== */
.tl { position: relative; background: var(--sky); overflow: hidden; }
.tl__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--sky); width: 100%; }
.tl__head { width: min(100% - (var(--pad) * 2), var(--max)); margin: 0 auto clamp(1.4rem, 2.6vw, 2.2rem); }
.tl__track { display: flex; align-items: stretch; gap: clamp(1rem, 1.8vw, 1.8rem); padding-inline: var(--pad); will-change: transform; }
.tl__card {
  position: relative; flex: 0 0 min(350px, 78vw);
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden;
  background: #fff; border: 1px solid rgba(8, 30, 58, 0.08);
}
.tl__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--cream-deep); }
.tl__card .b { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.tl__yr { font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.14em; color: var(--orange-ink); }
.tl__card h3 { font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.34; text-transform: none; letter-spacing: -0.012em; }
.tl__card p { font-size: 0.87rem; color: var(--ink-soft); }
.tl__card .link { margin-top: auto; align-self: flex-start; }
.tl__rail { position: relative; height: 3px; border-radius: 2px; background: rgba(8, 30, 58, 0.12); margin: clamp(1.4rem, 2.6vw, 2.2rem) var(--pad) 0; }
.tl__rail i { position: absolute; inset: 0 auto 0 0; width: 0%; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--red)); display: block; }

/* ==========================================================================
   donation split
   ========================================================================== */
.split-viz { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .split-viz { grid-template-columns: 1fr; } }
.donut { width: min(100%, 400px); margin-inline: auto; }
.donut circle { fill: none; stroke-linecap: butt; transform: rotate(-90deg); transform-origin: 50% 50%; }
.donut__hole { font-family: var(--display); }
.donut__hole .big { font-size: 30px; fill: var(--navy); }
.donut__hole .sm { font-size: 7px; fill: var(--gray-600); font-family: var(--body); font-weight: 700; letter-spacing: 0.14em; }

.legend { display: grid; gap: 0.9rem; }
.legend li { display: grid; grid-template-columns: auto 1fr auto; gap: 0.9rem; align-items: baseline; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.legend .sw { width: 14px; height: 14px; border-radius: 5px; background: var(--c); align-self: center; }
.legend .k { font-weight: 700; font-size: 1rem; }
.legend .k small { display: block; font-weight: 500; font-size: 0.87rem; color: var(--ink-soft); margin-top: 0.2rem; }
.legend .v { font-family: var(--display); font-size: 1.65rem; color: var(--c); line-height: 1; }

.giftaid {
  margin-top: 1.8rem;
  padding: clamp(1.3rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--sand);
  border: 2px dashed var(--orange);
  display: grid; gap: 0.7rem;
}
.giftaid__row { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.giftaid__amt { font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1; color: var(--navy); }
.giftaid__amt.to { color: var(--orange-deep); }
.giftaid__arrow { color: var(--orange); width: 30px; height: 30px; }
.giftaid input { width: 7rem; padding: 0.62rem 0.8rem; border-radius: 12px; border: 1.5px solid rgba(8, 30, 58, 0.16); background: #fff; font-weight: 700; }
.on-dark .giftaid { background: rgba(245, 138, 52, 0.14); border-color: rgba(245, 138, 52, 0.5); }
.on-dark .giftaid__amt { color: #fff; }
.on-dark .giftaid__amt.to { color: var(--orange-bright); }
.on-dark .giftaid input { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); color: #fff; }

/* ==========================================================================
   globe
   ========================================================================== */
.reach { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.reach__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 980px) { .reach__grid { grid-template-columns: 1fr; } }
.reach__canvas { aspect-ratio: 1 / 1; width: 100%; max-width: 560px; margin-inline: auto; position: relative; }
.reach__canvas canvas { width: 100% !important; height: 100% !important; }
.reach h2 { color: #fff; }
/* --ink-soft is tuned for cream, and it goes near-invisible on navy. */
.reach p, .reach .lead { color: #b3c1d4; }
.reach__pin { display: grid; gap: 1.3rem; }
.reach__pin li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.reach__pin .d { width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 25%, transparent); background: var(--c); }
.reach__pin h4 { font-size: 1.05rem; color: #fff; }
.reach__pin p { font-size: 0.9rem; color: #b3c1d4; }

/* ==========================================================================
   forms
   ========================================================================== */
.formcard { padding: clamp(1.3rem, 2.8vw, 2.4rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.formcard--flush { padding: clamp(0.7rem, 1.4vw, 1.1rem); }
.beacon-form { min-height: 420px; }
.beacon-form iframe { width: 100% !important; border: 0; }
.form-fallback { display: grid; gap: 0.7rem; padding: 1.4rem; border-radius: var(--r); background: var(--sky); font-size: 0.92rem; }

.amounts { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.amounts button {
  padding: 0.82em 1.3em; border-radius: var(--r-pill);
  border: 2px solid var(--line); background: #fff;
  font-weight: 700; font-size: 0.92rem;
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.amounts button:hover { transform: translateY(-2px); border-color: var(--orange); }
.amounts button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.on-dark .amounts button { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.impact-line {
  margin-top: 0.9rem; padding: 1rem 1.2rem; border-radius: var(--r);
  background: var(--sand); font-size: 0.94rem; font-weight: 600; color: var(--navy);
  min-height: 3.4rem; display: flex; align-items: center; gap: 0.7rem;
}
.impact-line svg { width: 20px; height: 20px; color: var(--orange-deep); flex: none; }
.on-dark .impact-line { background: rgba(245, 138, 52, 0.16); color: #fff; }
.on-dark .impact-line svg { color: var(--orange-bright); }

/* ==========================================================================
   accordion
   ========================================================================== */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.2rem 0; text-align: left; font-weight: 700; font-size: 1.02rem; line-height: 1.4;
  transition: color 0.25s;
}
.acc__btn:hover { color: var(--orange-ink); }
.acc__sign { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--sand); }
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; inset: 50% 5px auto 5px; height: 2px;
  background: var(--orange-deep); border-radius: 2px; transition: transform 0.4s var(--ease);
}
.acc__sign::after { transform: rotate(90deg); }
.acc__item.is-open .acc__sign::after { transform: rotate(0deg); }
.acc__item.is-open .acc__btn { color: var(--orange-ink); }
.acc__panel { overflow: hidden; height: 0; }
.acc__panel > div { padding-bottom: 1.3rem; color: var(--ink-soft); max-width: 72ch; }

/* ==========================================================================
   team
   ========================================================================== */
.person__img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-lg); background: var(--cream-deep); }
.person__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.person:hover .person__img img { transform: scale(1.05); }
.person__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 46%, rgba(8, 30, 58, 0.9)); }
.person__cap { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; z-index: 2; color: #fff; }
.person__cap h3 { font-family: var(--body); font-weight: 700; text-transform: none; letter-spacing: -0.012em; font-size: 1.04rem; line-height: 1.3; color: #fff; }
.person__cap span { font-size: 0.78rem; color: var(--orange-bright); font-weight: 700; }
.person__bio { margin-top: 0.9rem; font-size: 0.91rem; color: var(--ink-soft); }

/* ==========================================================================
   logo rail
   ========================================================================== */
/* Every badge sits in the same box and is contained inside it. Sizing on
   height alone shrinks the portrait ones (NCVO is 84x125) to a sliver. */
.logorail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(0.7rem, 1.5vw, 1.15rem); }
.logorail img {
  width: clamp(124px, 13vw, 156px); height: clamp(72px, 7vw, 88px);
  object-fit: contain; padding: 0.7rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.logorail img:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   page hero (inner pages)
   ========================================================================== */
.phero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(168deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.75rem, 6vw, 5rem);
}
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--cream) 12%, rgba(253, 246, 234, 0.72) 58%, rgba(249, 236, 215, 0.9) 100%); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 980px) { .phero__grid { grid-template-columns: 1fr; } .phero__media { display: none; } }
.phero h1 { margin-block: 0.9rem 1rem; }
.phero .lead { max-width: 56ch; }
.crumb { display: flex; flex-wrap: wrap; gap: 0.45rem; font-size: 0.78rem; color: var(--ink-soft); }
.crumb a:hover { color: var(--orange-ink); }
.crumb span { opacity: 0.45; }

/* ==========================================================================
   gallery + lightbox
   ========================================================================== */
/* Four columns on wide screens keeps every column narrower than the smallest
   archived press scan (332px), so nothing in the masonry is ever upscaled. */
.gal { columns: 4; column-gap: 1rem; }
@media (max-width: 1100px) { .gal { columns: 3; } }
@media (max-width: 820px) { .gal { columns: 2; } }
@media (max-width: 520px) { .gal { columns: 1; } }
.gal figure { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--r); overflow: hidden; background: var(--cream-deep); cursor: zoom-in; }
.gal img { width: 100%; transition: transform 0.8s var(--ease); }
.gal figure:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(6, 14, 26, 0.96);
  display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 86svh; object-fit: contain; border-radius: var(--r); }
.lightbox__x, .lightbox__nav {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff; display: grid; place-items: center; transition: background 0.25s, transform 0.25s;
}
.lightbox__x:hover, .lightbox__nav:hover { background: var(--orange); transform: scale(1.06); }
.lightbox__x { top: 1.4rem; right: 1.4rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 1rem; }
.lightbox__nav.next { right: 1rem; }
.lightbox__cnt { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: #9fb0c4; font-size: 0.85rem; letter-spacing: 0.1em; }

/* ==========================================================================
   video library
   ========================================================================== */
.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.2rem; }
.vcard { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-800); aspect-ratio: 16 / 9; cursor: pointer; }
.vcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.vcard:hover img { transform: scale(1.05); }
.vcard__ov { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(transparent 40%, rgba(8, 30, 58, 0.85)); color: #fff; }
.vcard__ov .disc { width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); border: 1.5px solid rgba(255, 255, 255, 0.55); display: grid; place-items: center; transition: transform 0.4s var(--ease), background 0.3s; }
.vcard:hover .disc { transform: scale(1.12); background: var(--orange); border-color: var(--orange); }
.vcard__ov .disc svg { width: 20px; height: 20px; margin-left: 3px; }
.vcard__t { position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: 0.9rem; font-size: 0.9rem; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }

/* ==========================================================================
   quote
   ========================================================================== */
.quote { position: relative; padding-left: clamp(2rem, 5vw, 4rem); }
.quote::before {
  content: "\201C"; position: absolute; left: 0; top: -0.16em;
  font-family: var(--display); font-size: clamp(5rem, 11vw, 9rem); line-height: 1;
  color: var(--orange); opacity: 0.45;
}
.quote p { font-size: clamp(1.15rem, 2.2vw, 1.7rem); line-height: 1.48; font-weight: 500; }
.quote cite { display: block; margin-top: 1.1rem; font-style: normal; font-size: 0.86rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-ink); }

/* ==========================================================================
   cta band
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: linear-gradient(122deg, var(--navy) 0%, #133563 56%, var(--navy) 100%); color: #fff; isolation: isolate; }
.cta::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -50%;
  width: min(70vw, 820px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 138, 52, 0.28) 0%, transparent 62%);
}
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } }
.cta h2 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); color: #fff; }
.cta .btn--ghost, .reach .btn--ghost, .film .btn--ghost { --btn-ink: #fff; --btn-flood: var(--orange); }
.cta .btn--ghost:hover, .reach .btn--ghost:hover { border-color: var(--orange); }
.cta p { color: #e6edf5; max-width: 46ch; margin-top: 0.9rem; }
/* small labels on the navy band use the bright orange; the text-safe ink
   orange is for light backgrounds and drops to 3:1 on navy */
.cta .eyebrow, .tstrip .eyebrow, .footer .eyebrow,
.cta .link { color: var(--orange-bright); }

/* ==========================================================================
   footer
   ========================================================================== */
.footer { background: var(--navy); color: #b3c1d4; padding-top: clamp(3.2rem, 6.5vw, 5.5rem); padding-bottom: 4.5rem; }
@media (max-width: 620px) { .footer { padding-bottom: 6.5rem; } }
.footer a { transition: color 0.25s; }
.footer a:hover { color: var(--orange-bright); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.4rem); }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h3 { font-family: var(--body); font-weight: 800; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer li + li { margin-top: 0.55rem; }
.footer li a { font-size: 0.9rem; }
.footer__brand { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem; }
.footer__brand svg { width: 56px; }
.footer__name { font-family: var(--display); font-size: 1.5rem; color: #fff; line-height: 1; letter-spacing: 0.03em; }
.footer__line { display: flex; align-items: flex-start; gap: 0.55rem; margin-top: 0.45rem; }
.footer__line svg { width: 16px; height: 16px; flex: none; margin-top: 0.2rem; color: var(--orange-bright); }
.footer p { font-size: 0.88rem; line-height: 1.75; }
.footer__reg { margin-top: 1.1rem; padding: 0.9rem 1.1rem; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; }
.footer__reg b { color: #fff; }
.social { display: flex; gap: 0.55rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; transition: background 0.3s, transform 0.3s var(--ease), color 0.3s; }
.social a:hover { background: var(--orange); color: var(--navy); transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; }
.footer__bar { margin-top: clamp(2.4rem, 5vw, 3.6rem); padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.8rem; }
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ==========================================================================
   entrance animation defaults
   ========================================================================== */
[data-anim] { opacity: 0; }
html.no-js [data-anim], html.reduced [data-anim] { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   hero photograph
   One picture, not a carousel: the owner asked for a single image that reads
   instantly and loads fast. The frame is tilted a touch and lifts on hover so
   it still feels alive without a slideshow.
   ========================================================================== */
.hero__panel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.1deg);
  transition: transform 0.7s var(--ease);
  background: var(--cream-deep);
}
.hero__panel:hover { transform: rotate(0deg) translateY(-4px); }
.hero__panel img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1280 / 820; }
.hero__panel figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.6rem 1.3rem 1rem;
  background: linear-gradient(transparent, rgba(8, 30, 58, 0.82));
  color: #fff; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
}
@media (max-width: 1040px) { .hero__panel { transform: none; max-width: 640px; margin-inline: auto; } }

.link--quiet { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.link--quiet:hover { color: var(--orange-deep); }

/* ==========================================================================
   trust strip
   ========================================================================== */
.tstrip { background: var(--navy); color: #fff; }
.tstrip__row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem 1.6rem; padding-block: 1.05rem;
}
.tstrip__row li { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.tstrip__row svg { width: 21px; height: 21px; color: var(--orange); flex: none; }
.tstrip__row a {
  font-size: 0.82rem; font-weight: 700; line-height: 1.25; min-width: 0;
  display: block; padding-block: 0.25rem;
  transition: color 0.3s;
}
.tstrip__row a:hover { color: var(--orange-bright); }
.tstrip__row small {
  display: block; font-weight: 500; font-size: 0.72rem;
  color: #b3c1d4; letter-spacing: 0.02em; margin-top: 1px;
}
@media (max-width: 900px) { .tstrip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 1.2rem; } }
@media (max-width: 420px) { .tstrip__row { grid-template-columns: 1fr; } }

/* ==========================================================================
   the film block
   ========================================================================== */
.vfilm {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #04101f;
  max-width: 1180px; margin-inline: auto;
}
.vfilm img { width: 100%; aspect-ratio: 1280 / 546; object-fit: cover; }
.vfilm::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(4, 16, 31, 0.72), rgba(4, 16, 31, 0.05) 55%);
}
.vfilm__play {
  position: absolute; left: clamp(1rem, 3vw, 2.4rem); bottom: clamp(1rem, 3vw, 2.4rem);
  z-index: 2; display: flex; align-items: center; gap: 0.9rem;
  padding: 0.6rem 1.35rem 0.6rem 0.6rem; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.96); color: var(--navy);
  box-shadow: var(--shadow); min-height: 56px;
  transition: transform 0.4s var(--ease), background 0.4s;
}
.vfilm__play:hover { transform: translateY(-3px) scale(1.02); }
.vfilm__play .disc { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; flex: none; }
.vfilm__play .disc svg { width: 17px; height: 17px; margin-left: 3px; color: #fff; }
.vfilm__play .lbl { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; line-height: 1.2; text-align: left; }
.vfilm__play .lbl small { display: block; font-weight: 600; letter-spacing: 0.05em; opacity: 0.62; text-transform: none; }
@media (max-width: 560px) {
  .vfilm__play { left: 50%; bottom: 0.9rem; transform: translateX(-50%); padding-right: 1.1rem; }
  .vfilm__play:hover { transform: translateX(-50%) translateY(-3px); }
  .vfilm__play .lbl { font-size: 0.68rem; letter-spacing: 0.1em; }
}

/* ==========================================================================
   verified impact figures
   ========================================================================== */
.vstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.6rem); }
.vstat {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(1.4rem, 2vw, 1.9rem);
  overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.vstat::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 5px;
  background: var(--c); transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.8s var(--ease) 0.1s;
}
.is-in .vstat::before { transform: scaleY(1); }
.vstat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.vstat b {
  display: block; font-family: var(--display); line-height: 0.86;
  font-size: clamp(2.7rem, 4.6vw, 4rem); color: var(--c);
  font-variant-numeric: tabular-nums;
}
.vstat h4 { margin-top: 0.55rem; font-size: 1rem; }
.vstat p { margin-top: 0.2rem; font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .vstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .vstats { grid-template-columns: 1fr; } }

.foot { font-size: 0.84rem; color: var(--ink-soft); text-align: center; max-width: 62ch; margin-inline: auto; }
.stat__l cite { display: block; font-style: normal; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); margin-top: 0.5rem; }

/* ==========================================================================
   one family's story
   ========================================================================== */
.storyx { columns: 2; column-gap: clamp(2rem, 4vw, 3.5rem); max-width: 96ch; margin-inline: auto; }
.storyx p { break-inside: avoid; font-size: 1.02rem; }
.storyx p + p { margin-top: 1.05em; }
@media (max-width: 860px) { .storyx { columns: 1; } }
.split .storyx { columns: 1; max-width: none; }
.storyx__hint { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-ink); }

/* ==========================================================================
   the Rehmat model
   ========================================================================== */
.model__title, .regs__title {
  font-family: var(--body); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.86rem; color: var(--gray-600); text-align: center;
  line-height: 1.5;
}
.model { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); }
.model__step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(1.5rem, 2.2vw, 2rem) clamp(1.3rem, 2vw, 1.7rem) clamp(1.5rem, 2.2vw, 1.9rem);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.model__step:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); }
.model__n {
  display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1;
  color: var(--orange-deep); margin-bottom: 0.5rem;
}
.model__step h4 { font-size: 1.06rem; }
.model__step p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-soft); }
/* the little chevron that carries the eye from one step to the next */
.model__step::after {
  content: ""; position: absolute; top: 2.15rem; right: -0.8rem; z-index: 2;
  width: 10px; height: 10px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange);
  transform: rotate(45deg);
}
.model__step:last-child::after { display: none; }
@media (max-width: 1040px) {
  .model { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model__step:nth-child(2)::after { display: none; }
}
@media (max-width: 620px) {
  .model { grid-template-columns: 1fr; }
  .model__step::after { display: none; }
}
.model__close { font-size: var(--t-lead); max-width: 58ch; margin-inline: auto; }

/* ==========================================================================
   two classrooms, side by side
   ========================================================================== */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.duo__fig { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-deep); }
.duo__fig:first-child { margin-top: clamp(0px, 3vw, 2.4rem); }
.duo__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease); }
.duo__fig:hover img { transform: scale(1.05); }
.duo__fig figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 0.95rem 0.8rem;
  background: linear-gradient(transparent, rgba(8, 30, 58, 0.82));
  color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
@media (max-width: 520px) { .duo__fig img { aspect-ratio: 1 / 1; } }

/* ==========================================================================
   milestones (About us)
   The full 14-item timeline moved to the news archive; this is the short
   version a first-time reader actually needs.
   ========================================================================== */
.miles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); }
.miles__item {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(1.4rem, 2vw, 1.8rem);
  display: flex; flex-direction: column; gap: 0.45rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.miles__item:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); }
.miles__yr { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--orange); }
.miles__item h4 { font-size: 1.02rem; }
.miles__item p { font-size: 0.9rem; color: var(--ink-soft); }
.miles__item .link { margin-top: auto; padding-top: 0.5rem; align-self: flex-start; }
@media (max-width: 1040px) { .miles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .miles { grid-template-columns: 1fr; } }

/* ==========================================================================
   small section labels
   Used where a heading needs to organise a long page without competing with
   the display type above it.
   ========================================================================== */
.sec-label {
  font-family: var(--body); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.86rem; color: var(--gray-600);
  line-height: 1.5; text-align: center;
}
.hdr .sec-label, .wrap > .sec-label:not(.center) { text-align: left; }
.newtab-note { display: inline-block; margin-left: 0.8rem; font-size: 0.82rem; color: var(--ink-soft); }
.phero--plain { background: linear-gradient(168deg, var(--cream) 0%, var(--cream-deep) 100%); }
.phero--plain::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line);
}

/* ==========================================================================
   statistic sources
   ========================================================================== */
.stat__pre {
  display: block; font-size: 0.9rem; font-weight: 700; color: var(--ink-soft);
  letter-spacing: 0.02em; margin-bottom: 0.1rem;
}
.stat__src {
  display: inline-flex; align-items: center; gap: 0.35em; margin-top: 0.6rem;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--orange-ink);
  border-bottom: 1px solid color-mix(in srgb, var(--orange-deep) 40%, transparent);
  padding-bottom: 1px; transition: color 0.3s, border-color 0.3s;
}
.stat__src:hover { color: var(--red-deep); border-color: var(--red-deep); }
.stat__src svg { width: 12px; height: 12px; flex: none; }

/* ==========================================================================
   a single, larger before/after slider
   ========================================================================== */
.tf--lg { max-width: 440px; margin-inline: auto; aspect-ratio: 3 / 4; }

/* ==========================================================================
   document links (governance)
   ========================================================================== */
.doclist { display: grid; gap: 0.6rem; }
.doccard {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.3rem; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.doccard:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow); }
.doccard__body { flex: 1; min-width: 0; display: block; }
.doccard__body strong { display: block; font-size: 1rem; }
.doccard__meta { display: block; margin-top: 0.2rem; font-size: 0.83rem; color: var(--ink-soft); }
.doccard__cta {
  flex: none; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange-ink); padding: 0.55em 1.1em; border-radius: var(--r-pill);
  background: var(--sand); transition: background 0.3s, color 0.3s;
}
.doccard:hover .doccard__cta { background: var(--orange); color: #fff; }
.doccard--lead { gap: 1.25rem; padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.2rem, 2.2vw, 1.8rem); box-shadow: var(--shadow-sm); }
.doccard--lead .doccard__body strong { font-size: 1.1rem; }
@media (max-width: 520px) {
  .doccard { flex-wrap: wrap; }
  .doccard__cta { width: 100%; text-align: center; }
}

/* ==========================================================================
   registrations and memberships
   Every entry shows its number; the ones with a public register are links.
   ========================================================================== */
.reglist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8rem, 1.6vw, 1.2rem); }
@media (max-width: 1040px) { .reglist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .reglist { grid-template-columns: 1fr; } }
.reg { min-width: 0; }
.reg__in {
  display: flex; gap: 1rem; height: 100%; align-items: flex-start;
  padding: 1.1rem 1.25rem; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
a.reg__in:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.reg__mark {
  flex: none; width: 74px; height: 56px; display: grid; place-items: center;
  border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); padding: 6px;
}
.reg__mark img { width: 100%; height: 100%; object-fit: contain; }
.reg__mark--text {
  font-family: var(--body); font-weight: 800; font-size: 0.86rem; letter-spacing: 0.06em;
  color: var(--m, var(--navy)); background: color-mix(in srgb, var(--m, var(--navy)) 8%, #fff);
  border-color: color-mix(in srgb, var(--m, var(--navy)) 22%, transparent);
}
.reg__body { min-width: 0; }
.reg__body strong { display: block; font-size: 0.95rem; line-height: 1.35; }
.reg__no { display: block; margin-top: 0.3rem; font-size: 0.82rem; color: var(--ink-soft); }
.reg__link {
  display: inline-flex; align-items: center; gap: 0.35em; margin-top: 0.5rem;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange-ink);
}
.reg__link svg { width: 12px; height: 12px; flex: none; }

/* ==========================================================================
   forthcoming event notice
   ========================================================================== */
.notice {
  display: flex; gap: clamp(1.1rem, 2.4vw, 2rem); align-items: flex-start;
  padding: clamp(1.3rem, 2.4vw, 2rem); border-radius: var(--r-lg);
  background: var(--white); border: 2px dashed var(--orange);
}
.notice__date {
  flex: none; width: 92px; padding: 0.8rem 0.4rem; border-radius: var(--r);
  background: var(--navy); color: #fff; text-align: center; line-height: 1;
}
.notice__d { display: block; font-family: var(--display); font-size: 2.6rem; }
.notice__m { display: block; margin-top: 0.15rem; font-size: 0.86rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-bright); }
.notice__y { display: block; margin-top: 0.35rem; font-size: 0.74rem; letter-spacing: 0.1em; color: #b3c1d4; }
.notice__body { min-width: 0; }
.notice__body h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.notice__body p { margin-top: 0.6rem; font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 620px) {
  .notice { flex-direction: column; }
  .notice__date { display: flex; width: auto; gap: 0.6rem; align-items: baseline; padding: 0.7rem 1rem; }
  .notice__d { font-size: 1.9rem; }
  .notice__m, .notice__y { margin-top: 0; }
}

/* ==========================================================================
   vertical timeline (About us)
   Photographs alternate sides on desktop and stack on a phone, with the rail
   running down the middle on wide screens and down the left on narrow ones.
   ========================================================================== */
.vtl { position: relative; display: grid; gap: clamp(2rem, 4vw, 3.4rem); }
.vtl::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; margin-left: -1.5px; border-radius: 2px;
  background: linear-gradient(var(--orange), var(--red));
  opacity: 0.35;
}
.vtl__item {
  display: grid; grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: center;
}
.vtl__media { grid-column: 1; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-deep); }
.vtl__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.vtl__item:hover .vtl__media img { transform: scale(1.04); }
.vtl__body { grid-column: 3; }
.vtl__item:nth-child(even) .vtl__media { grid-column: 3; }
.vtl__item:nth-child(even) .vtl__body { grid-column: 1; text-align: right; }
.vtl__item:nth-child(even) .vtl__body .link { flex-direction: row-reverse; }
/* photo and text always share one row: without this, on photo-right entries the
   grid placed the text on a new row below the photo (owner, 4 Nov) */
.vtl__media, .vtl__body { grid-row: 1; }

/* the marker sits in the middle column, on the rail */
.vtl__item::before {
  content: ""; grid-column: 2; grid-row: 1; justify-self: center;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--orange); border: 4px solid var(--bg);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 35%, transparent);
}
.vtl__item--now::before { background: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 35%, transparent); }

.vtl__date {
  display: inline-block; padding: 0.4em 0.9em; border-radius: var(--r-pill);
  background: var(--navy); color: #fff;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.vtl__flag {
  display: inline-block; margin-bottom: 0.5rem; padding: 0.35em 0.85em; border-radius: var(--r-pill);
  background: var(--red-deep); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.vtl__body h3 { margin-top: 0.7rem; font-size: clamp(1.3rem, 2.1vw, 1.85rem); color: var(--navy); }
.vtl__body p { margin-top: 0.6rem; font-size: 0.95rem; color: var(--ink-soft); }

@media (max-width: 860px) {
  .vtl { gap: 2.2rem; }
  .vtl::before { left: 13px; margin-left: 0; }
  .vtl__item,
  .vtl__item:nth-child(even) { grid-template-columns: 40px minmax(0, 1fr); align-items: start; }
  .vtl__media,
  .vtl__item:nth-child(even) .vtl__media { grid-column: 2; grid-row: 1; margin-bottom: 1rem; }
  .vtl__body,
  .vtl__item:nth-child(even) .vtl__body { grid-column: 2; grid-row: 2; text-align: left; }
  .vtl__item:nth-child(even) .vtl__body .link { flex-direction: row; }
  .vtl__item::before { grid-column: 1; grid-row: 1; justify-self: start; margin-top: 0.3rem; margin-left: 5px; }
}

/* ==========================================================================
   Owner round 3 (12 / 20 / 24 / 25 Sep documents)
   ========================================================================== */

/* the impact footnote sits on a single line where there is room for it */
@media (min-width: 900px) { .foot--line { white-space: nowrap; max-width: none; } }

/* --- one before-and-after pair, side by side, no slider ------------------ */
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; max-width: 520px; margin-inline: auto; }
.ba__fig { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-deep); }
.ba__fig img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba__fig figcaption {
  position: absolute; left: 0.6rem; top: 0.6rem;
  padding: 0.35em 0.75em; border-radius: var(--r-pill);
  background: rgba(8, 30, 58, 0.82); color: #fff;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.ba__fig:last-child figcaption { background: var(--orange); color: var(--navy); }
.storyx__note { font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }

/* --- the Rehmat model, enlarged, with a photograph on each step ------------ */
.model__heading { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.model--photo .model__step { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.model--photo .model__step::after { display: none; }
.model__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-deep); }
.model__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.model--photo .model__step:hover .model__img img { transform: scale(1.05); }
.model__txt { padding: clamp(1.2rem, 1.8vw, 1.6rem) clamp(1.2rem, 1.8vw, 1.5rem) clamp(1.4rem, 2vw, 1.8rem); }
.model--photo .model__n { font-size: 2.2rem; margin-bottom: 0.35rem; }

/* --- trust: four short cards, each a link to its proof -------------------- */
.trust4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.8rem, 1.6vw, 1.2rem); }
@media (max-width: 1040px) { .trust4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .trust4 { grid-template-columns: 1fr; } }
.trust4 li { min-width: 0; }
.trust4__card {
  display: flex; flex-direction: column; gap: 0.8rem; height: 100%;
  padding: clamp(1.3rem, 2vw, 1.7rem); border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.trust4__card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow); }
.trust4__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--t); color: var(--c); }
.trust4__ico svg { width: 25px; height: 25px; }
.trust4__card strong { font-size: 1.04rem; line-height: 1.3; color: var(--navy); }
.trust4__go {
  margin-top: auto; display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink);
}
.trust4__go::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.trust4__card:hover .trust4__go::after { transform: translateX(4px); }

/* --- news titles: the condensed caps were hard to read at card size ------- */
.card__title {
  font-family: var(--body); text-transform: none; font-weight: 700;
  font-size: 1.1rem; line-height: 1.35; letter-spacing: -0.01em;
}

/* --- how your donation is used ------------------------------------------- */
.use3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); }
@media (max-width: 900px) { .use3 { grid-template-columns: 1fr; } }
.use3__card {
  display: flex; flex-direction: column; gap: 0.7rem; height: 100%;
  padding: clamp(1.5rem, 2.2vw, 2rem); border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line);
}
.use3__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sand); color: var(--orange-deep); }
.use3__ico svg { width: 27px; height: 27px; }
.use3__card h3 {
  font-family: var(--body); text-transform: none; font-weight: 700;
  font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--navy);
}
.use3__card p { color: #2b3542; font-size: 0.96rem; }

.gapanel {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(1.6rem, 3.4vw, 2.8rem); border-radius: var(--r-lg);
  background: var(--sand); border: 2px solid color-mix(in srgb, var(--orange) 30%, transparent);
}
@media (max-width: 860px) { .gapanel { grid-template-columns: 1fr; } }
.gapanel__sum { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0.3em 0.55em; text-align: center; }
.gapanel__a, .gapanel__b { font-family: var(--display); font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1; color: var(--navy); }
.gapanel__b { color: var(--orange-deep); }
.gapanel__op { font-weight: 800; font-size: 1.05rem; color: var(--navy); }
.gapanel__eq { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); }
.gapanel__h { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--navy); }
.gapanel__body p { color: #2b3542; margin-top: 0.8rem; }
.gapanel__small { font-size: 0.83rem; color: #4a5563 !important; }

.acclinks { text-align: center; }
.acclinks__h { font-size: clamp(1.6rem, 2.8vw, 2.2rem); color: var(--navy); }
.acclinks ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 2rem; margin-top: 1.2rem; }

/* two sentences, two lines: each sentence is held together, and the heading
   is allowed past the usual 48ch header width so neither one breaks */
.h-2line span { display: block; }
@media (min-width: 620px) { .h-2line span { white-space: nowrap; } .hdr:has(> .h-2line) { max-width: none; } }

/* the hero label gained "training" and ran onto a second line */
.hero .eyebrow { letter-spacing: 0.13em; }
@media (min-width: 1100px) { .hero .eyebrow { white-space: nowrap; } }

/* two photos at exactly the same height: no stagger, one shared ratio */
.duo--even .duo__fig:first-child { margin-top: 0; }
.duo--even .duo__fig img { aspect-ratio: 4 / 3; }
.duo--even { align-items: start; }
@media (max-width: 520px) { .duo--even .duo__fig img { aspect-ratio: 4 / 3; } }

/* --- the three siblings: three pairs, every photo the same size ----------- */
.sibs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 900px) { .sibs { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.sib { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.sib__fig { margin: 0; }
.sib__fig img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%;
  border-radius: var(--r-sm); box-shadow: var(--shadow-sm); background: var(--cream-deep);
}
.sib__fig figcaption {
  margin-top: 0.45rem; font-size: 0.74rem; font-weight: 700; line-height: 1.35;
  color: var(--ink-soft); text-align: center;
}
.sib__fig:last-child figcaption { color: var(--orange-ink); }
.storyx--cols { columns: 3; column-gap: clamp(1.5rem, 3vw, 2.5rem); max-width: none; }
@media (max-width: 1040px) { .storyx--cols { columns: 1; max-width: 70ch; } }

/* --- sponsorship page (owner's design, 28 Sep) ---------------------------- */
.sp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .sp-hero__grid { grid-template-columns: 1fr; } }
.sp-hero h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.sp-hero .lead, .sp-hero p { max-width: 56ch; }
.sp-card { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy); min-height: 300px; }
.sp-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sp-card__txt {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.6rem 1.5rem;
  background: linear-gradient(transparent, rgba(8, 30, 58, 0.92) 45%); color: #fff;
}
.sp-card__txt b { display: block; font-family: var(--display); font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; color: var(--orange-bright); }
.sp-card__txt span { display: block; margin-top: 0.4rem; font-size: 0.98rem; max-width: 34ch; }

.tstrip__t { display: block; font-size: 0.82rem; font-weight: 700; line-height: 1.25; padding-block: 0.25rem; }
.tstrip__t small { display: block; font-weight: 500; font-size: 0.72rem; color: #b3c1d4; letter-spacing: 0.02em; margin-top: 1px; }

.model--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.model--3 .model__step:nth-child(2)::after { display: block; }
@media (max-width: 900px) { .model--3 { grid-template-columns: 1fr; } .model--3 .model__step::after { display: none; } }

.checks { display: grid; gap: 0.8rem; }
.checks li { position: relative; padding-left: 2.1rem; font-weight: 600; color: var(--navy); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.15rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081e3a' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

.sp-form { max-width: 980px; margin-inline: auto; }
.sp-way h3 { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--navy); }
.sp-way p { margin-top: 0.7rem; color: #2b3542; }
.sp-bank summary { list-style: none; cursor: pointer; display: inline-flex; }
.sp-bank summary::-webkit-details-marker { display: none; }
.sp-bank[open] summary { margin-bottom: 1rem; }
.sp-bank dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; font-size: 0.94rem; padding: 1rem 1.2rem; border-radius: var(--r-sm); background: var(--cream); }
.sp-bank dt { color: var(--ink-soft); }
.sp-bank dd { font-weight: 700; color: var(--navy); }

/* --- giving pages, rebuilt from the owner's designs (12 Oct) -------------
   donate, zakat, gift aid, fundraise and partner share one vocabulary:
   a split hero with one photo, numbered cards, a centred Beacon form, a
   navy "talk to us" band with a white checklist panel. */
.gv-photo { margin: 0; }
.gv-photo img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block;
  border-radius: clamp(56px, 7vw, 96px) var(--r) var(--r) var(--r);
  box-shadow: var(--shadow-lg); background: var(--cream-deep);
}
.gv-photo figcaption { margin-top: 0.75rem; font-size: 0.8rem; color: var(--ink-soft); }
.gv-hero h1 .hl { display: block; }
.gv-hero__note { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-soft); }
.gv-hero__note strong { color: var(--navy); }

.gv-box { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.6rem) clamp(1.3rem, 3.4vw, 3rem); }
.gv-box .lead { color: #2b3542; }
.gv-box strong { color: var(--navy); }

.onpage { background: var(--white); border-bottom: 1px solid var(--line); }
.onpage ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1.8rem; padding-block: 0.9rem; font-size: 0.84rem; font-weight: 700; }
.onpage a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); }
.onpage a:hover { color: var(--orange-ink); }

.gv-purpose { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.gv-purpose p { color: #2b3542; font-size: var(--t-lead); line-height: 1.62; }
@media (max-width: 860px) { .gv-purpose { grid-template-columns: 1fr; } }

.gv-intro { display: flex; justify-content: space-between; align-items: end; gap: 1.2rem 3rem; flex-wrap: wrap; }
.gv-intro > p { max-width: 38ch; color: var(--ink-soft); }

.ncards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); }
.ncards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ncards--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ncards, .ncards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ncards, .ncards--5 { grid-template-columns: 1fr; } }
.ncard { align-items: flex-start; }
.ncard__n {
  display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%;
  background: var(--sand); color: var(--orange-ink); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.04em;
}
.ncard h3, .gv-card h3, .zpair__copy h3 {
  font-family: var(--body); text-transform: none; font-weight: 700; font-size: 1.12rem;
  line-height: 1.3; letter-spacing: -0.012em; color: var(--navy);
}
.ncard__act {
  margin-top: auto; padding: 0.55rem 0 0; min-height: 44px; display: inline-flex; align-items: center; gap: 0.45rem;
  border: 0; background: none; cursor: pointer; font: inherit; font-size: 0.86rem; font-weight: 700; color: var(--orange-ink);
  text-align: left; transition: color 0.3s;
}
.ncard__act:hover { color: var(--navy); }
.ncard__act svg { width: 1em; height: 1em; flex: none; }

.gv-note { margin-top: 1.6rem; padding: 0.15rem 0 0.15rem 1rem; border-left: 3px solid var(--orange); color: var(--ink-soft); font-size: 0.94rem; max-width: 72ch; }
.gv-note strong { color: var(--navy); }

.gv-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.gv-pair > article { padding-block: 0.4rem; }
.gv-pair > article + article { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.gv-pair > article:first-child { padding-right: clamp(1.5rem, 4vw, 3.5rem); }
.gv-pair h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.gv-pair p { color: var(--ink-soft); }
@media (max-width: 760px) {
  .gv-pair { grid-template-columns: 1fr; }
  .gv-pair > article:first-child { padding-right: 0; }
  .gv-pair > article + article { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 2rem; }
}

.gv-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .gv-contact__grid { grid-template-columns: 1fr; } }
/* fundraise + partner: the email panel was removed (owner, 10 Nov), so the
   remaining column sits centred on its own */
.gv-contact__grid--solo { grid-template-columns: minmax(0, 46rem); justify-content: center; text-align: center; }
.gv-contact__grid--solo .gv-picked:not([hidden]) { display: table; margin-inline: auto; text-align: left; }
.gv-contact__grid--solo p { margin-inline: auto; }
.gv-contact__grid--solo .eyebrow { justify-content: center; }
.gv-contact h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.gv-email { display: inline-block; margin-top: 1.1rem; font-weight: 700; color: var(--orange-bright); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.gv-email:hover { color: #fff; }
.gv-next { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.gv-next b { display: block; color: #fff; }
.cta .gv-next p { margin-top: 0.4rem; }
.gv-panel { background: #fff; color: var(--navy); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.8vw, 2.3rem); box-shadow: var(--shadow-lg); }
.gv-panel h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); color: var(--navy); }
.cta .gv-panel p { color: var(--ink-soft); max-width: none; font-size: 0.92rem; }
.cta .gv-panel .link { color: var(--orange-ink); }
.gv-list { margin-top: 1rem; }
.gv-list li { padding: 0.75rem 0; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft); }
.gv-list li:last-child { border-bottom: 1px solid var(--line); }
.gv-list strong { display: block; color: var(--navy); }
.cta .gv-picked { margin-top: 1rem; padding: 0.6rem 0.9rem; border-left: 3px solid var(--orange); background: var(--cream); color: var(--navy); font-weight: 700; }
.gv-panel .btn { margin-top: 1.4rem; }
.cta .gv-panel .gv-small { font-size: 0.82rem; margin-top: 0.8rem; text-align: center; }

.gv-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 2rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.92rem; }
.gv-trust strong { color: var(--navy); }

.gv-form__meta { text-align: center; margin-top: 1.1rem; font-size: 0.88rem; color: var(--ink-soft); }
.gv-form__meta + .gv-form__meta { margin-top: 0.4rem; }
.gv-callout {
  max-width: 980px; margin: 0 auto 1.2rem; padding: 0.95rem 1.25rem; border-radius: var(--r-sm);
  background: var(--sand); border-left: 4px solid var(--orange); color: #2b3542; font-size: 0.94rem;
}
.gv-callout strong { display: block; color: var(--navy); }
.gv-callout.mt-3 { margin-top: 1.7rem; }
.gv-callout.mt-4 { margin-top: 2.6rem; }

.gv-bank { max-width: 980px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gv-bank > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 44px; padding: 1.25rem clamp(1.1rem, 2.4vw, 1.7rem); font-weight: 800; font-size: 1.04rem; color: var(--navy);
}
.gv-bank > summary::-webkit-details-marker { display: none; }
.gv-bank > summary:hover { color: var(--orange-ink); }
.gv-bank[open] > summary { border-bottom: 1px solid var(--line); }
.gv-bank[open] .acc__sign::after { transform: rotate(0deg); }
.gv-bank__body { padding: 1.3rem clamp(1.1rem, 2.4vw, 1.7rem) 1.6rem; color: #2b3542; font-size: 0.95rem; }
.gv-bank__body p + p, .gv-bank__body dl + p { margin-top: 0.9rem; }
.gv-bank dl { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem 1.4rem; margin-top: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--r-sm); background: var(--cream); }
.gv-bank dt { font-size: 0.78rem; color: var(--ink-soft); }
.gv-bank dd { margin-top: 0.15rem; font-weight: 800; font-size: 1.12rem; color: var(--navy); }
@media (max-width: 640px) { .gv-bank dl { grid-template-columns: 1fr 1fr; } .gv-bank dl > div:first-child { grid-column: 1 / -1; } }

.gv-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.2rem; margin-top: 1.6rem; font-weight: 700; }
.gv-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* zakat: two children, before and after, every photo the same size */
.zpairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem); }
@media (max-width: 860px) { .zpairs { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.zpair { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(0.8rem, 1.6vw, 1.2rem); }
.zpair .sib__fig figcaption { font-size: 0.8rem; }
.zpair__copy { padding: 1.1rem 0.5rem 0.6rem; }
.zpair__copy p { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.95rem; }

/* gift aid: £100 + £25 = £125 */
.gaeq {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: clamp(0.3rem, 2vw, 1.2rem);
  max-width: 880px; margin: 2.2rem auto 0; padding: clamp(0.8rem, 2.4vw, 1.8rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.gaeq > div { text-align: center; padding: 0.7rem 0.3rem; }
.gaeq strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 7vw, 4.2rem); line-height: 1.05; color: var(--navy); }
.gaeq span { display: block; font-size: clamp(0.72rem, 1.7vw, 0.95rem); color: var(--ink-soft); }
.gaeq > b { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 3.4vw, 2.2rem); color: var(--orange-deep); }
.gaeq__total { background: var(--cream); border-radius: var(--r); }
.gaeq__total strong { color: var(--orange-deep); }
.gaeq__cap { margin-top: 1rem; font-size: 0.86rem; color: var(--ink-soft); }

/* partner logos, each with its name */
.plogos { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 2.4vw, 2rem); }
.plogos figure { margin: 0; text-align: center; }
.plogos img {
  width: clamp(170px, 20vw, 240px); height: clamp(110px, 12vw, 150px); object-fit: contain; padding: 1rem 1.3rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
}
.plogos figcaption { margin-top: 0.6rem; font-size: 0.84rem; font-weight: 700; color: var(--navy); }

/* --- impact stories, contact and the homepage Rehmat Model (owner's designs, 20 Oct) --- */
.ihero { position: relative; }
.ihero img { aspect-ratio: 4 / 3.4; object-position: 50% 40%; }
.ihero__note {
  position: absolute; left: clamp(-1.2rem, -2vw, -0.6rem); bottom: clamp(1.2rem, 3vw, 2.2rem); margin: 0;
  max-width: min(78%, 330px); padding: 1rem 1.3rem; border-radius: var(--r-sm);
  background: var(--navy); color: #dbe4ee; font-size: 0.8rem; box-shadow: var(--shadow);
}
.ihero__note strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.05; letter-spacing: 0.01em; color: #fff; margin-bottom: 0.3rem; }
.gv-photo .ihero__note { margin: 0; color: #dbe4ee; font-size: 0.8rem; }
@media (max-width: 560px) { .ihero__note { left: 0.6rem; } }
.onpage__lbl { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); font-weight: 600; }

.istory { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.2rem, 4vw, 3.6rem); }
.istory + .istory { border-top: 1px solid var(--line); }
.istory--flip .istory__fig { order: 2; }
/* capped at the eldest sibling photo's real width (558px), so no story photo is ever stretched */
.istory__fig { margin: 0; min-width: 0; width: 100%; max-width: 34.5rem; justify-self: center; }
.istory__fig img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 25%; border-radius: var(--r); box-shadow: var(--shadow); background: var(--cream-deep); display: block; }
.istory__fig figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.7rem; font-size: 0.78rem; color: var(--ink-soft); }
.istory__n { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-ink); }
.istory__n b { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--line); font-weight: 700; letter-spacing: 0; color: var(--navy); background: #fff; }
.istory__txt h2 { margin-block: 1rem 1.2rem; font-size: clamp(2rem, 3.8vw, 3.1rem); }
.istory__txt > p { color: #2b3542; }
.istory__ms { margin: 1.5rem 0 1.3rem; padding: 0.2rem 0 0.2rem 1rem; border-left: 3px solid var(--orange); font-weight: 600; color: var(--navy) !important; }
.istory__ms small { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.25rem; }
@media (max-width: 860px) {
  .istory { grid-template-columns: 1fr; gap: 1.6rem; }
  .istory--flip .istory__fig { order: 0; }
  .istory__fig img { aspect-ratio: 4 / 3.6; }
}

.iprog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem); }
.iprog li { border-top: 2px solid var(--orange); padding-top: 1.3rem; }
.iprog span { font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--orange-deep); }
.iprog h3 { margin-top: 0.7rem; font-family: var(--body); text-transform: none; font-weight: 700; font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.012em; color: var(--navy); }
.iprog p { margin-top: 0.5rem; color: #2b3542; font-size: 0.95rem; }
@media (max-width: 760px) { .iprog { grid-template-columns: 1fr; } }

.icta__act { border-left: 1px solid rgba(255, 255, 255, 0.2); padding-left: clamp(1.5rem, 4vw, 3rem); }
.cta .icta__price { margin: 0; font-family: var(--display); font-size: clamp(3.2rem, 6vw, 4.4rem); line-height: 1; color: #fff; }
.icta__price span { font-family: var(--body); font-size: 0.95rem; color: #c9d5e2; }
.icta__act .btn { margin-top: 1.3rem; }
.icta__alt { display: block; width: fit-content; margin: 1rem auto 0; font-size: 0.9rem; }
@media (max-width: 900px) { .icta__act { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 1.6rem; } }

.cinfo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.6rem, 4vw, 3.5rem); }
.cinfo article { border-left: 3px solid var(--orange); padding-left: clamp(1.2rem, 2.4vw, 1.8rem); }
.cinfo h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.cinfo p { color: #2b3542; }
.cinfo p + p { margin-top: 0.8rem; }
@media (max-width: 760px) { .cinfo { grid-template-columns: 1fr; } }

/* homepage: the Rehmat Model as barriers and responses, on navy */
.rmodel { background: linear-gradient(160deg, var(--navy) 0%, #0e2c52 100%); }
.rmodel__sub { color: var(--ink-soft); letter-spacing: 0.16em; }
.rmodel .rmodel__sub { color: #c9d5e2; }
.eyebrow .rmodel__sub { margin-left: 0.2em; }
.eyebrow:has(.rmodel__sub) { flex-wrap: wrap; row-gap: 0.35rem; }
.rmodel__sub { white-space: nowrap; }
.rmodel__intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.6rem, 5vw, 5rem); align-items: end; }
.rmodel__intro h2 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.rmodel__intro p { color: #d3dde8; }
.rmodel__frame { display: grid; grid-template-columns: 260px minmax(0, 1fr); border-block: 1px solid rgba(255, 255, 255, 0.16); }
.rmodel__aside { padding: 2rem 2rem 2rem 0; border-right: 1px solid rgba(255, 255, 255, 0.16); }
.rmodel__small, .rmodel__rows small { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #b3c1d4; }
.rmodel__child { display: grid; place-items: center; width: 88px; height: 88px; margin: 1.4rem 0; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%; color: var(--orange-bright); }
.rmodel__child svg { width: 42px; height: 42px; }
.rmodel__aside h3 { color: #fff; font-size: 2rem; }
.rmodel__aside p { margin-top: 0.8rem; font-size: 0.9rem; color: #b3c1d4; }
.rmodel__rows li { display: grid; grid-template-columns: 2.4rem minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 1.4rem; padding: 1.7rem 0 1.7rem 2rem; align-items: start; }
.rmodel__rows li + li { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.rmodel__i { font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--orange-bright); padding-top: 1.1rem; }
.rmodel__rows h4 { margin-top: 0.35rem; color: #fff; font-size: 1.08rem; }
.rmodel__resp { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.rmodel__resp h4 { color: var(--orange-bright); }
.rmodel__resp p { margin-top: 0.45rem; font-size: 0.92rem; line-height: 1.6; color: #d3dde8; }
.rmodel__out { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; padding-top: 1.9rem; }
.rmodel__out p { max-width: 40ch; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: 0.01em; color: #fff; }
.rmodel__out .hl { color: var(--orange-bright); }
.rmodel__out > span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #b3c1d4; }
.rmodel .hl { color: var(--orange-bright); }
@media (max-width: 1040px) { .rmodel__frame { grid-template-columns: 200px minmax(0, 1fr); } .rmodel__rows li { padding-left: 1.4rem; gap: 1rem; } }
@media (max-width: 760px) {
  .rmodel__intro { grid-template-columns: 1fr; }
  .rmodel__frame { grid-template-columns: 1fr; }
  .rmodel__aside { padding: 1.6rem 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .rmodel__child { width: 64px; height: 64px; margin: 1rem 0; }
  .rmodel__rows li { grid-template-columns: 2rem minmax(0, 1fr); padding: 1.5rem 0; gap: 0.6rem 1rem; }
  .rmodel__i { grid-row: 1 / 3; padding-top: 0.9rem; }
  .rmodel__resp { grid-column: 2; padding-left: 0; border-left: 0; }
}
.rbridge { margin: 0; padding: 1.1rem var(--pad); text-align: center; font-size: 0.9rem; color: var(--ink-soft); background: var(--cream-deep); border-bottom: 1px solid var(--line); }
.rbridge strong { color: var(--navy); margin-right: 0.4em; }

.proj { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.proj:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.proj img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--cream-deep); }
.proj__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.2rem, 2vw, 1.7rem); }
.proj__tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-ink); }
.proj h3 { margin-block: 0.7rem 0.6rem; font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.proj p { color: #2b3542; font-size: 0.95rem; margin-bottom: 1.3rem; }
.proj__go { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.proj__go svg { color: var(--orange-deep); }
.proj__go:hover { color: var(--orange-ink); }
.proj-close { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; flex-wrap: wrap; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.proj-close p { color: #2b3542; font-weight: 600; }

/* --- skills training and mothers' learning (owner's designs, 21 Oct) --- */
.istory__fig--wide { max-width: none; }
.istory__fig--wide img { aspect-ratio: auto; height: auto; object-position: center; }
/* impact stories: before and after side by side (owner, 10 Nov) */
.istory__fig--pair .sib { gap: 0.8rem; }
.istory__fig--pair .sib__fig img { aspect-ratio: 3 / 4; object-position: 50% 25%; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }
/* skills page: the IT Centre film sits where the photo was */
.istory__fig .vcard { box-shadow: var(--shadow); }
.istory__fig .vcard img { height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.iprog--dark li { border-top-color: rgba(245, 138, 52, 0.7); }
.iprog--dark span { color: var(--orange-bright); }
.iprog--dark h3 { color: #fff; }
.iprog--dark p { color: #d3dde8; }
.rmodel__note { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.16); max-width: 72ch; color: #c9d5e2; font-size: 0.95rem; }
.plist li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.plist li:last-child { border-bottom: 1px solid var(--line); }
.plist span { font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--orange-deep); }
.plist h3 { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.012em; color: var(--navy); }
.plist p { margin-top: 0.45rem; color: #2b3542; font-size: 0.95rem; }
.ncards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .ncards--2 { grid-template-columns: 1fr; } }
.ncard__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; }
.badge { display: inline-block; padding: 0.25rem 0.75rem; border: 1px solid #d9b58f; border-radius: 999px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-ink); background: #fff; }
.bridge { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.bridge h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.bridge p { max-width: 70ch; color: #2b3542; }
.cta .cta__small { margin-top: 1.4rem; max-width: 70ch; font-size: 0.86rem; color: #c9d5e2; }
.cta .stack .cta__small { margin-top: 0.4rem; }
.gv-hero__note .dot { display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.55rem; border-radius: 50%; background: var(--orange); vertical-align: 0.05em; }
.tstrip__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .tstrip__row--3 { grid-template-columns: 1fr; } }
.strand__n { font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--orange-deep); }
.strand h3 { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.012em; color: var(--navy); }
.strand p { color: #2b3542; }
.strand .checks { margin-top: 0.6rem; }
.strand .checks li { font-weight: 600; font-size: 0.95rem; }

/* --- Rehmat School page (owner's design, 23 Oct) --- */
.rs-tag { margin: 0.4rem 0 1.1rem; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.08; letter-spacing: 0.01em; text-transform: uppercase; color: var(--navy); }
.gv-photo .ihero__note + figcaption { margin-top: 0.75rem; }
.facts4 { background: var(--white); border-bottom: 1px solid var(--line); }
.facts4 ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 1.4rem; }
.facts4 li { padding: 0 1.6rem; border-right: 1px solid var(--line); }
.facts4 li:first-child { padding-left: 0; }
.facts4 li:last-child { border-right: 0; }
.facts4 strong { display: block; font-size: 1.05rem; color: var(--navy); }
.facts4 span { font-size: 0.82rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .facts4 ul { grid-template-columns: 1fr 1fr; gap: 1.1rem 0; }
  .facts4 li { padding: 0 1rem; }
  .facts4 li:nth-child(odd) { padding-left: 0; }
  .facts4 li:nth-child(2) { border-right: 0; }
}
.bmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.bmap li { padding: 1.2rem 1.2rem; border-right: 1px solid var(--line); }
.bmap li:first-child { padding-left: 0; }
.bmap li:last-child { border-right: 0; }
.bmap span { display: block; margin-bottom: 0.4rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-ink); }
.bmap strong { font-size: 1rem; line-height: 1.35; color: var(--navy); }
@media (max-width: 760px) {
  .bmap { grid-template-columns: 1fr 1fr; }
  .bmap li { padding: 1rem !important; }
  .bmap li:nth-child(2) { border-right: 0; }
  .bmap li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.proj--wide img { aspect-ratio: 1.75; }
.rs-sum { font-weight: 700; color: var(--navy); }
.rs-stage { display: block; margin-bottom: 0.9rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange-ink); }
.rs-stagenote { text-align: left; max-width: 80ch; }
.rs-choice { background: var(--mint); border-color: #b7c9bd; }
.rs-choice h3 { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.012em; color: var(--navy); }
.rs-choice > p { color: #2b3542; }
.rs-routes > div { border-top: 1px solid #aebfb3; padding-top: 1rem; }
.rs-routes strong { color: var(--navy); }
.rs-routes p { margin-top: 0.4rem; color: #2b3542; font-size: 0.95rem; }
.duo__fig figcaption strong { font-weight: 800; margin-right: 0.3em; }
.rs-duo .duo__fig img { aspect-ratio: 1 / 1.08; }
.rs-duo .duo__fig:last-child { margin-top: clamp(0px, 3vw, 2.6rem); }

/* --- round 9 (owner's "Further Changes", 26 Oct) --- */
/* Press page: the TV link sits top right of the hero */
.phero__top { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem 1.5rem; flex-wrap: wrap; }

/* phones keep the Foundation's name beside the mark */
@media (max-width: 620px) {
  .brand__name { display: block; font-size: 0.66rem; }
  .brand__name b { font-size: 0.92rem; }
  .brand__mark { width: 34px; }
  .brand { gap: 0.45rem; }
}
@media (max-width: 350px) { .brand__name b { font-size: 0.84rem; } .brand__mark { width: 30px; } }

/* the phone and tablet menu folds into sections */
.menu__grid { display: block; max-width: 640px; }
.menu__solo, .menu__group > summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0.4rem 0;
  font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy); border-bottom: 1px solid var(--gray-200); cursor: pointer; list-style: none;
}
.menu__group > summary::-webkit-details-marker { display: none; }
.menu__group > summary::after {
  content: ""; width: 10px; height: 10px; margin-right: 0.35rem; border-right: 2px solid var(--orange-deep); border-bottom: 2px solid var(--orange-deep);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease);
}
.menu__group[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.menu__group[open] > summary { color: var(--orange-ink); border-bottom-color: transparent; }
.menu__solo[aria-current="page"] { color: var(--orange-ink); }
.menu__links { padding: 0 0 0.8rem 0.9rem; border-bottom: 1px solid var(--gray-200); }
.menu__links a { display: block; padding: 0.55rem 0; color: var(--navy); font-weight: 600; }
.menu__links a[aria-current="page"] { color: var(--orange-ink); }
.menu__links a:hover { color: var(--orange-ink); }
.menu__links a:last-child { border-bottom: 0; }

/* Our People on phones: names and roles below the photo, not over the face */
@media (max-width: 700px) {
  .person__img::after { display: none; }
  .person__cap { position: static; padding: 0.75rem 0 0; color: var(--navy); }
  .person__cap h3 { color: var(--navy); }
  .person__cap span { display: block; margin-top: 0.2rem; line-height: 1.45; color: var(--orange-ink); }
  .person__img { overflow: visible; aspect-ratio: auto; border-radius: 0; background: none; }
  .person__img img { aspect-ratio: 3 / 4; border-radius: var(--r-lg); height: auto; background: var(--cream-deep); }
}

/* --- homepage, owner's revised design (30 Oct) --- */
.hp-impact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 1.6rem clamp(2rem, 5vw, 4.5rem); align-items: end; }
.hp-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 1px solid var(--line); }
.hp-metrics > div { padding: 0.4rem clamp(1rem, 2.4vw, 2rem); border-right: 1px solid var(--line); }
.hp-metrics > div:last-child { border-right: 0; }
.hp-metrics b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; color: var(--orange-deep); }
.hp-metrics p { margin-top: 0.5rem; font-size: 0.92rem; font-weight: 600; color: var(--navy); max-width: 20ch; }
.hp-impact__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 0.8rem 2rem; flex-wrap: wrap; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.hp-impact__foot p { max-width: 80ch; font-size: 0.82rem; color: var(--ink-soft); }
@media (max-width: 900px) { .hp-impact { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .hp-metrics { grid-template-columns: 1fr; border-left: 0; }
  .hp-metrics > div { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hp-metrics p { max-width: none; }
}

.hp-film { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .hp-film { grid-template-columns: 1fr; } }

.proj__status { display: inline-block; margin: -0.5rem 0 1.2rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--mint); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #1f5a3c; }

.hp-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center; }
.hp-story__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.hp-story__photos figure { margin: 0; }
.hp-story__photos figure:nth-child(2) { margin-top: clamp(1rem, 3vw, 2.4rem); }
.hp-story__photos img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; object-position: 50% 25%; border-radius: var(--r); box-shadow: var(--shadow); background: var(--cream-deep); }
.hp-story__photos figcaption { margin-top: 0.55rem; font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--orange-ink); }
.hp-story p { color: #2b3542; }
@media (max-width: 900px) { .hp-story { grid-template-columns: 1fr; } }

.hp-trust__links { display: grid; align-self: end; }
.hp-trust__links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 52px; padding: 0.6rem 0; border-bottom: 1px solid #b7c9bd; font-weight: 700; color: var(--navy); }
.hp-trust__links a:first-child { border-top: 1px solid #b7c9bd; }
.hp-trust__links a::after { content: ""; width: 9px; height: 9px; border-top: 2px solid var(--orange-deep); border-right: 2px solid var(--orange-deep); transform: rotate(45deg); flex: none; }
.hp-trust__links a:hover { color: var(--orange-ink); }
.hp-trust__strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.6rem; padding: 1.1rem 1.4rem; border-radius: var(--r); background: #fff; border: 1px solid #c9d8cd; font-size: 0.9rem; color: #2b3542; }
.hp-trust__strip strong { color: var(--navy); }
.hp-trust__strip span { position: relative; padding-left: 1.1rem; }
.hp-trust__strip span::before { content: ""; position: absolute; left: 0; top: 50%; width: 0.45rem; height: 0.45rem; margin-top: -0.22rem; border-radius: 50%; background: var(--orange); }
.hp-trust__strip .link { margin-left: auto; }
@media (max-width: 640px) { .hp-trust__strip .link { margin-left: 0; } }

.hp-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.ntext { display: flex; flex-direction: column; gap: 0.6rem; padding: clamp(1.3rem, 2.2vw, 1.8rem); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--r); }
.ntext time { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-ink); }
.ntext h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.ntext h3 a:hover { color: var(--orange-ink); }
.ntext p { color: #2b3542; font-size: 0.95rem; }
.ntext .link { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .hp-news { grid-template-columns: 1fr; } }

.cta .stack .link.center { display: block; text-align: center; margin-top: 0.4rem; }
.hero__cta + .hero__note { margin-top: 1.1rem; }
@media (max-width: 560px) { .hero__cta .btn { width: 100%; justify-content: center; } }

/* --- round 11 (Sameed, 4 Nov): hero film, Rehmat Model, logo rail --- */
.hero__sub { margin-top: 0.9rem; max-width: 56ch; font-size: 0.98rem; line-height: 1.65; color: var(--ink-soft); }
.hero__panel--film { transform: rotate(-0.6deg); background: var(--navy); }
.hero__video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero__filmbtn {
  position: absolute; left: clamp(0.8rem, 2vw, 1.3rem); bottom: clamp(0.8rem, 2vw, 1.3rem); z-index: 2;
  display: flex; align-items: center; gap: 0.75rem; min-height: 52px; padding: 0.5rem 1.2rem 0.5rem 0.5rem;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.95); color: var(--navy); box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease);
}
.hero__filmbtn:hover { transform: translateY(-3px); }
.hero__filmbtn .disc { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; flex: none; }
.hero__filmbtn .disc svg { width: 15px; height: 15px; margin-left: 3px; color: #fff; }
.hero__filmbtn .lbl { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; text-align: left; }
.hero__filmbtn .lbl small { display: block; font-weight: 600; letter-spacing: 0.04em; text-transform: none; color: var(--ink-soft); }

.rm4__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem clamp(2rem, 6vw, 5rem); align-items: start; }
.rm4__head h2 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
.rm4__lead { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.4; font-weight: 600; color: var(--navy); }
.rm4__head p:not(.rm4__lead) { color: #2b3542; }
@media (max-width: 860px) { .rm4__head { grid-template-columns: 1fr; } }

/* registrations as a slow, endless logo rail (initMarquee in app.js) */
.regrail { padding: 1.3rem 0 1.4rem; border-radius: var(--r-lg); background: #fff; border: 1px solid #c9d8cd; }
.regrail__lbl { padding: 0 1.4rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-ink); }
.regrail__more { margin: 0.4rem 1.4rem 0; display: inline-block; }
.marquee { overflow: hidden; margin-top: 0.9rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; will-change: transform; }
.marquee__item { display: flex; gap: 1rem; flex: none; }
.marquee__item li > a, .regrail__in {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem;
  width: 210px; height: 128px; padding: 0.9rem 1rem; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.marquee__item li > a:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.marquee__item img { max-width: 150px; max-height: 58px; width: auto; height: auto; object-fit: contain; }
.marquee__item span:not(.regrail__in) { font-size: 0.74rem; font-weight: 700; color: var(--navy); text-align: center; line-height: 1.3; }
.regrail__txt { font-family: var(--display); font-weight: 400; font-size: 2.3rem; line-height: 1; letter-spacing: 0.04em; color: var(--m, var(--navy)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; }
  .film__stage { height: auto; }
  .tl__pin { height: auto; }
}
