/* Cactus Nazarene Ministry Center
   Faithful rebuild of cactusministries.org off Wix.
   Colours sampled from the live site: #2859B6 royal blue, #1B8BAF teal.
   Type: Oswald headings + Questrial body, as on the original.
   Breakpoints: 560 / 760 / 1000 / 1200. Mobile first. */

:root {
  --blue: #2859b6;
  --blue-dk: #1e458f;
  --blue-lt: #4e77c3;
  --blue-wash: #eaf0fb;
  --teal: #1b8baf;
  --teal-dk: #14708f;
  --sand: #b1a278;

  /* Body copy reads as slate rather than the original's royal blue. Long
     paragraphs set in saturated blue are tiring and read as unfinished;
     headings keep the brand colour so the identity is unchanged. */
  --ink: #26334d;
  --ink-soft: #55637d;
  --grey-band: #eef1f6;
  --paper: #ffffff;
  --line: #e2e8f2;

  --wrap: 1180px;
  --gut: 20px;
  --hdr-h: 68px;

  --f-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Questrial", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevation: every level pairs a tight contact shadow with a wide ambient
     one. A single blurred shadow is what makes panels look pasted on. */
  --sh: 0 1px 2px rgba(23, 43, 77, .06), 0 3px 8px rgba(23, 43, 77, .06);
  --sh-2: 0 2px 4px rgba(23, 43, 77, .06), 0 10px 24px rgba(23, 43, 77, .10);
  --sh-3: 0 4px 10px rgba(23, 43, 77, .08), 0 22px 48px rgba(23, 43, 77, .14);
  --sh-blue: 0 10px 30px rgba(40, 89, 182, .22);

  --r-sm: 4px;
  --r: 10px;
  --r-lg: 16px;

  /* Section washes. Very low contrast on purpose: they should register as
     depth, not as a coloured box. */
  --wash-cool: radial-gradient(120% 80% at 50% 0%, #f3f7fd 0%, rgba(255, 255, 255, 0) 70%);
  --wash-warm: radial-gradient(110% 70% at 50% 100%, #faf7f0 0%, rgba(255, 255, 255, 0) 68%);
  --grad-blue: linear-gradient(155deg, #2f63c4 0%, #2859b6 42%, #1d4390 100%);
  /* Teal-weighted so the figures keep their accent colour and do not read as
     another block of heading blue. */
  --grad-teal: linear-gradient(160deg, #23a3c9 0%, var(--teal) 48%, #2f6bbd 100%);

  /* Fine photographic grain, tiled. Two strengths: barely-there on paper,
     a touch more present on the solid blue bands so they read as fabric
     rather than flat fill. Pure CSS, no extra requests. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='.05'/%3E%3C/svg%3E");
  --grain-strong: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='.13'/%3E%3C/svg%3E");
}

@media (min-width: 1000px) { :root { --gut: 32px; --hdr-h: 92px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 10px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  background-image: var(--grain);
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; }
img { display: block; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 500;
  line-height: 1.15;
  color: var(--blue);
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.6vw, 3.05rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.4rem); }
p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dk); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--wide { max-width: 1370px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 18px;
  border-radius: 0 0 8px 8px; transition: top .18s;
}
.skip:focus { top: 0; color: #fff; }

.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-head); font-weight: 400; font-size: .95rem;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: .82em 1.7em; border: 1px solid var(--blue); background: var(--blue); color: #fff;
  border-radius: var(--r-sm);
  box-shadow: 0 1px 2px rgba(23, 43, 77, .10);
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  cursor: pointer; line-height: 1.2; text-align: center;
}
.btn:hover {
  background: var(--blue-dk); border-color: var(--blue-dk); color: #fff;
  transform: translateY(-2px); box-shadow: var(--sh-blue);
}
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(23, 43, 77, .12); }

.btn--outline { background: transparent; color: var(--blue); box-shadow: none; }
.btn--outline:hover { background: var(--blue); color: #fff; }

.btn--onDark { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--onDark:hover { background: #fff; color: var(--blue); border-color: #fff; }

.btn--teal { background: var(--teal); border-color: var(--teal); }
.btn--teal:hover { background: var(--teal-dk); border-color: var(--teal-dk); }

.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.btnrow--center { justify-content: center; }

/* ------------------------------------------------------------------ header */

.hdr { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); }
@supports not (backdrop-filter: blur(12px)) { .hdr { background: #fff; } }
.hdr__bar { border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.hdr[data-stuck] .hdr__bar { box-shadow: 0 1px 2px rgba(23, 43, 77, .05), 0 6px 20px rgba(23, 43, 77, .10); border-bottom-color: var(--line); }
.hdr__inner { display: flex; align-items: center; gap: 16px; min-height: var(--hdr-h); }
.hdr__logo { flex: none; display: block; }
.hdr__logo img { width: 140px; height: auto; }
@media (min-width: 1000px) { .hdr__logo img { width: 190px; } }

.hdr__nav { display: none; }
@media (min-width: 1000px) {
  .hdr__nav { display: block; margin-left: auto; }
  .hdr__nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
  .hdr__nav a {
    display: inline-flex; align-items: center; gap: .35em;
    font-family: var(--f-body); font-size: .84rem; letter-spacing: .01em;
    color: var(--blue); text-decoration: none; padding: .7em .72em; white-space: nowrap;
    border-bottom: 2px solid transparent;
  }
  .hdr__nav a:hover { color: var(--blue-dk); border-bottom-color: var(--teal); }
  .hdr__nav a.is-active { border-bottom-color: var(--blue); font-weight: 700; }

  .has-sub { position: relative; }
  .has-sub > a::after {
    content: ""; width: 5px; height: 5px; margin-left: .1em;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
  }
  .subnav {
    position: absolute; top: 100%; right: 0; min-width: 250px; z-index: 5;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2);
    padding: 6px; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .16s, transform .16s, visibility .16s;
  }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
  .subnav a { width: 100%; font-size: .88rem; border-bottom: 0; padding: .6em .8em; }
  .subnav a:hover { background: var(--blue-wash); border-bottom-color: transparent; }
}

.burger {
  margin-left: auto; flex: none; width: 44px; height: 44px;
  display: grid; place-items: center; background: transparent;
  border: 1px solid var(--line); cursor: pointer; color: var(--blue);
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger__box { position: relative; width: 20px; height: 14px; display: block; }
.burger__box span, .burger__box::before, .burger__box::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px;
  background: currentColor; transition: transform .2s, opacity .2s, top .2s;
}
.burger__box::before { top: 0; }
.burger__box span { top: 6px; }
.burger__box::after { top: 12px; }
.burger[aria-expanded="true"] .burger__box::before { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span { opacity: 0; }
.burger[aria-expanded="true"] .burger__box::after { top: 6px; transform: rotate(-45deg); }

.mnav { background: #fff; border-top: 1px solid var(--line); box-shadow: var(--sh-2); max-height: calc(100dvh - var(--hdr-h)); overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav ul { list-style: none; margin: 0; padding: 6px 0; }
.mnav a {
  display: block; padding: .85em var(--gut); text-decoration: none; color: var(--blue);
  font-size: 1rem; border-bottom: 1px solid #f2f5fb;
}
.mnav a[aria-current="page"] { font-weight: 700; }
.mnav__sub a { padding-left: calc(var(--gut) + 18px); font-size: .92rem; color: var(--ink-soft); }
.mnav__cta { display: grid; gap: 10px; padding: 14px var(--gut) 20px; }

/* -------------------------------------------------------------- home hero */

.hero { padding: 0; }
.hero__frame { position: relative; }
.hero__media { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 74vh; overflow: hidden; background: var(--blue-wash); }
@media (max-width: 759px) { .hero__media { aspect-ratio: 4 / 3; max-height: none; min-height: 62vw; } }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
/* Promote media images to their own compositing layer. Works around a Chrome/GPU
   bug where an image decodes fully but the compositor never paints it (seen with
   hardware acceleration on some drivers), leaving a blank placeholder. */
.hero__media img, .fcard__media img, .phero__media img, .pcard__media img { transform: translateZ(0); }
/* Three stacked passes over the photo: a top-down scrim so the heading has
   something to sit on, a corner vignette to stop the edges feeling open, and
   grain so the flat gradient does not band on wide screens. */
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 42%, rgba(0, 0, 0, 0) 38%, rgba(12, 22, 44, .40) 100%),
    linear-gradient(180deg, rgba(10, 20, 40, .52) 0%, rgba(10, 20, 40, .26) 38%, rgba(10, 20, 40, .06) 62%, rgba(10, 20, 40, .30) 100%),
    var(--grain-strong);
}
.hero__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.6rem;
  padding: var(--gut) var(--gut) 22%; text-align: center;
}
@media (max-width: 759px) {
  .hero__overlay { justify-content: flex-start; padding-top: 12%; padding-bottom: 26%; }
}
.hero h1 {
  color: #fff; margin: 0;
  font-size: clamp(2.3rem, 7vw, 4.6rem); font-weight: 500; letter-spacing: .005em;
  text-shadow: 0 1px 2px rgba(8, 16, 34, .34), 0 12px 40px rgba(8, 16, 34, .28);
}
/* A hairline of warm sand under the heading, echoing the numbers rule. */
.hero__rule {
  width: clamp(64px, 12vw, 104px); height: 2px; border: 0; margin: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--sand), rgba(255, 255, 255, 0));
  opacity: .95;
}
.hero .btn { box-shadow: 0 6px 22px rgba(8, 16, 34, .34); }

/* the two action bars that overlap the bottom of the hero on the live site */
.actionbars { position: relative; z-index: 2; margin-top: -14%; padding-bottom: clamp(40px, 6vw, 76px); }
@media (max-width: 759px) { .actionbars { margin-top: -18%; } }
.actionbars__stack { display: grid; gap: 14px; max-width: 940px; margin-inline: auto; }
.actionbar {
  display: grid; grid-template-columns: 1fr; align-items: stretch;
  background: #fff; box-shadow: var(--sh-3); overflow: hidden;
  border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .7);
  transition: transform .22s ease, box-shadow .22s ease;
}
.actionbar:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(23, 43, 77, .10), 0 28px 60px rgba(23, 43, 77, .18); }
@media (min-width: 560px) { .actionbar { grid-template-columns: 1fr auto; } }
.actionbar__text {
  font-family: var(--f-head); font-weight: 400;
  font-size: clamp(1.05rem, 2.4vw, 1.6rem); color: var(--blue);
  padding: 1.1rem 1.4rem; display: flex; align-items: center; margin: 0; gap: .8rem;
}
/* Warm keyline on the leading edge, so the bar reads as a card rather than a slab. */
.actionbar__text::before {
  content: ""; flex: none; width: 3px; align-self: stretch; border-radius: 2px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}
.actionbar .btn { border: 0; border-radius: 0; padding-inline: clamp(1.4rem, 4vw, 2.6rem); box-shadow: none; }
.actionbar .btn:hover { transform: none; box-shadow: none; }

/* ---------------------------------------------------------- interior hero */

.phero { padding: 0; }
.phero__media { position: relative; height: clamp(210px, 34vw, 492px); overflow: hidden; background: var(--blue-wash); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__card { position: relative; margin-top: clamp(-70px, -7vw, -40px); z-index: 2; }
.phero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 20, 40, .34) 0%, rgba(10, 20, 40, .10) 45%, rgba(10, 20, 40, .30) 100%),
    var(--grain-strong);
}
.phero__cardin {
  background: #fff; box-shadow: var(--sh-3); text-align: center;
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.2rem, 5vw, 4rem);
  border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .8);
}
.phero__cardin h1 { margin: 0; }
.phero__intro { max-width: 760px; margin: 1.6rem auto 0; text-align: center; }
.phero__intro p { color: var(--ink-soft); }

/* --------------------------------------------------------------- sections */

section { padding-block: clamp(44px, 6vw, 80px); }
.sec-title { text-align: center; margin-bottom: 2.2rem; }
.sec-title p { color: var(--ink-soft); max-width: 68ch; margin-inline: auto; }
/* Short warm rule under each section heading. Gives the long white stretches
   a repeating landmark instead of heading, text, heading, text. */
.sec-title h2::after {
  content: ""; display: block; width: 54px; height: 2px; margin: .7rem auto 0;
  background: linear-gradient(90deg, var(--teal), var(--sand));
  border-radius: 2px;
}

/* ------------------------------------------- home overlapping feature cards */

.features { padding-top: clamp(20px, 3vw, 40px); }
.features__row { display: grid; gap: 26px; }
@media (min-width: 760px) { .features__row { grid-template-columns: 1fr 1fr; gap: 34px; } }
.features__row + .features__row { margin-top: 34px; }

.fcard { position: relative; }
.fcard__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-wash);
  border-radius: var(--r); box-shadow: var(--sh);
}
.fcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fcard:hover .fcard__media img { transform: scale(1.045); }
/* Darken the lower edge of the photo so the white panel lifts off it instead
   of dissolving into a pale sky. */
.fcard__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0) 55%, rgba(10, 20, 40, .22) 100%);
}
.fcard__panel {
  background: #fff; box-shadow: var(--sh-3); padding: 1.5rem 1.6rem;
  position: relative; margin: -18% 1.2rem 0 -0.4rem; z-index: 2;
  border-radius: var(--r); border: 1px solid rgba(226, 232, 242, .9);
  transition: transform .22s ease, box-shadow .22s ease;
}
.fcard:hover .fcard__panel { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(23, 43, 77, .10), 0 30px 60px rgba(23, 43, 77, .17); }
@media (min-width: 560px) { .fcard__panel { margin: -22% 3rem 0 -1rem; padding: 1.7rem 1.8rem; } }
@media (min-width: 760px) { .fcard--right .fcard__panel { margin-left: 3rem; margin-right: -1rem; } }
.fcard__panel h3 { margin-bottom: .5rem; font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
.fcard__panel p { color: var(--ink-soft); font-size: .95rem; }
.fcard__link {
  display: inline-block; margin-top: .8rem; font-size: .9rem;
  color: var(--blue); text-decoration: none; border-bottom: 1px solid currentColor;
}
.fcard__link--muted { color: var(--ink-soft); border-bottom-color: transparent; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }

/* ----------------------------------------------------------------- events */

.events {
  position: relative;
  background: linear-gradient(180deg, #f6f8fc 0%, var(--grey-band) 100%);
  background-image: linear-gradient(180deg, #f6f8fc 0%, var(--grey-band) 100%), var(--grain);
  border-block: 1px solid var(--line);
}
.events__box {
  background: #fff; max-width: 900px; margin: 0 auto; padding: 2.4rem 1.5rem;
  text-align: center; box-shadow: var(--sh-2);
  border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .8);
}
.events__box p { margin: 0; color: var(--ink-soft); }
.events__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.events__list li {
  display: grid; gap: .3rem; padding: 1.2rem 1.4rem; text-align: left;
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, #fff 0%, #fafcff 100%);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.events__list li:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: #cddcf3; }
.events__list a { font-family: var(--f-head); font-size: 1.25rem; text-decoration: none; }
.events__when { font-size: .88rem; color: var(--ink-soft); }

/* ------------------------------------------------------------- numbers */

.numbers { position: relative; background-image: var(--wash-cool), var(--grain); }
.numbers__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; text-align: center; }
@media (min-width: 760px) { .numbers__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; } }
/* the live site staggers the middle number lower, softened here so it reads
   as rhythm rather than a layout fault */
@media (min-width: 760px) { .numbers__grid li:nth-child(2) { margin-top: 1.8rem; } }
.numbers__v {
  display: block; font-family: var(--f-head); font-weight: 500;
  font-size: clamp(4rem, 11vw, 7rem); line-height: .9; color: var(--teal);
  background: var(--grad-teal); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not (background-clip: text) { .numbers__v { color: var(--teal); -webkit-text-fill-color: currentColor; } }
.numbers__l {
  display: block; font-family: var(--f-head); font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--blue); margin-top: .5rem; line-height: 1.25;
}
.numbers__rule { width: 78px; height: 2px; background: var(--sand); margin: 1rem auto 0; }

/* ------------------------------------------------------------ testimonial */

.tstm {
  position: relative; overflow: hidden; color: #fff;
  background: var(--blue);
  background-image:
    radial-gradient(80% 120% at 15% 0%, rgba(27, 139, 175, .40) 0%, rgba(27, 139, 175, 0) 60%),
    radial-gradient(70% 100% at 92% 100%, rgba(12, 40, 96, .55) 0%, rgba(12, 40, 96, 0) 62%),
    var(--grad-blue), var(--grain-strong);
}
/* Oversized quote mark centred behind the copy. Fully inside the band so it
   reads as a watermark rather than a cropped shape. */
.tstm::before {
  content: "\201C"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -46%);
  font-family: var(--f-head); font-size: clamp(13rem, 26vw, 22rem); line-height: 1;
  color: rgba(255, 255, 255, .06); pointer-events: none; user-select: none;
}
.tstm > * { position: relative; z-index: 1; }
.tstm__label {
  text-align: center; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82); margin-bottom: 1.6rem;
}
.tstm figure { margin: 0; max-width: 820px; margin-inline: auto; text-align: center; }
.tstm blockquote { margin: 0; }
.tstm blockquote p {
  font-family: var(--f-head); font-weight: 400; color: #fff;
  font-size: clamp(1.15rem, 2.8vw, 1.7rem); line-height: 1.45;
}
.tstm figcaption { margin-top: 1.6rem; font-size: .9rem; color: rgba(255, 255, 255, .82); }

/* ----------------------------------------------------------------- findus */

.findus { padding-bottom: 0; }
.findus__map { margin-top: 2rem; line-height: 0; }
.findus__map iframe { width: 100%; height: 380px; border: 0; display: block; }
@media (min-width: 1000px) { .findus__map iframe { height: 450px; } }

/* ------------------------------------------------------------------ video */

.videowrap { max-width: 900px; margin-inline: auto; }
.videowrap__frame {
  position: relative; aspect-ratio: 16 / 9; background: #000;
  border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-3);
}
.videowrap__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------ prog cards */

.pgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
@media (min-width: 760px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pgrid > li { display: flex; flex-direction: column; }
.pcard__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-wash);
  border-radius: var(--r); box-shadow: var(--sh);
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0) 58%, rgba(10, 20, 40, .24) 100%);
}
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard {
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none; color: inherit;
}
.pcard__label {
  background: #fff; box-shadow: var(--sh-2); margin: -1.4rem 1.2rem 0; padding: .85rem 1rem;
  text-align: center; position: relative; z-index: 2;
  font-family: var(--f-head); font-size: 1.15rem; color: var(--blue);
  border-radius: var(--r-sm); border: 1px solid rgba(226, 232, 242, .9);
  border-bottom: 2px solid var(--blue);
  transition: transform .22s ease, box-shadow .22s ease;
}
.pcard:hover .pcard__label { transform: translateY(-3px); box-shadow: var(--sh-3); }
.pcard__text { padding: 1.1rem .2rem 0; text-align: center; color: var(--ink-soft); font-size: .95rem; flex: 1; }
.pcard__more {
  display: block; margin-top: .9rem; text-align: center; font-size: .85rem;
  color: var(--blue); text-transform: uppercase; letter-spacing: .1em;
}

/* --------------------------------------------------------------- band rows */

.band { }
.band__row { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .band__row { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 900px) { .band__row--rev .band__media { order: 2; } }
.band__media img { width: 100%; }
.band__body h2 { margin-bottom: .5em; }
.band__body p { color: var(--ink-soft); }
.band__note { font-family: var(--f-head); color: var(--teal); font-size: 1rem; margin-top: -.7em; }
.band + .band { padding-top: 0; }

/* full-width photo strip, as used on the children + EAL pages */
.strip { padding-block: 0; }
.strip__grid { display: grid; gap: 4px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .strip__grid { grid-template-columns: repeat(2, 1fr); } }
.strip__grid img { width: 100%; height: clamp(200px, 24vw, 322px); object-fit: cover; border-radius: var(--r-sm); }
.strip--single .strip__grid { grid-template-columns: 1fr; }

/* ------------------------------------------------------------------ prose */

.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose--center { text-align: center; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

.values__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 620px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values__grid { grid-template-columns: repeat(3, 1fr); } }
.values__grid h3 { margin-bottom: .4em; }
.values__grid p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.values__grid li {
  border: 1px solid var(--line); border-top: 2px solid var(--sand);
  border-radius: var(--r); padding: 1.3rem 1.3rem 1.4rem;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
  transition: transform .2s ease, box-shadow .2s ease;
}
.values__grid li:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }

.goals__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 760px; margin-inline: auto; }
.goals__list li {
  background: linear-gradient(120deg, #f3f7fd 0%, var(--blue-wash) 100%);
  padding: 1rem 1.3rem;
  font-family: var(--f-head); font-size: 1.1rem; color: var(--blue);
  display: flex; gap: .7rem; align-items: flex-start;
  border-radius: var(--r); border: 1px solid #dde8f8;
  transition: transform .2s ease, box-shadow .2s ease;
}
.goals__list li:hover { transform: translateX(3px); box-shadow: var(--sh); }
.goals__list .icon { color: var(--teal); margin-top: .2em; }

/* --------------------------------------------------------------- careers */

.job { padding-block: clamp(30px, 5vw, 54px); }
.job__meta {
  font-family: var(--f-head); text-transform: uppercase; letter-spacing: .08em;
  color: var(--teal); text-align: center; margin: -6px 0 22px;
}
.job__lead, .job__note { max-width: 760px; margin-inline: auto; }
.job__lead { margin-bottom: 16px; }
.job__note { margin-top: 20px; }
.job .goals__list li { font-family: var(--f-body); font-size: 1rem; color: var(--ink); }

.vm__grid { display: grid; gap: 24px; max-width: 980px; margin-inline: auto; }
@media (min-width: 760px) { .vm__grid { grid-template-columns: repeat(2, 1fr); } }
.vm__card {
  background: linear-gradient(165deg, #f2f6fd 0%, var(--blue-wash) 100%);
  background-image: linear-gradient(165deg, #f2f6fd 0%, var(--blue-wash) 100%), var(--grain);
  padding: clamp(1.7rem, 4vw, 2.6rem); text-align: center;
  border-radius: var(--r-lg); border: 1px solid #dbe6f8; box-shadow: var(--sh);
}
.vm__card h2 { margin-bottom: .7rem; }
.vm__card p { font-family: var(--f-head); font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.4; color: var(--blue); margin: 0; }

/* ----------------------------------------------------------------- people */

.people__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px 26px; }
@media (min-width: 620px) { .people__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .people__grid { grid-template-columns: repeat(3, 1fr); } }
.person__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blue-wash);
  border-radius: var(--r); box-shadow: var(--sh);
}
.person__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.person__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0) 60%, rgba(10, 20, 40, .26) 100%);
}
.people__grid li:hover .person__media img { transform: scale(1.04); }
.person__name {
  background: #fff; box-shadow: var(--sh-2); margin: -1.5rem 1rem 0; padding: .75rem 1rem;
  position: relative; z-index: 2; text-align: center;
  font-family: var(--f-head); font-size: 1.1rem; color: var(--blue);
  border-radius: var(--r-sm); border: 1px solid rgba(226, 232, 242, .9);
  border-bottom: 2px solid var(--blue);
}
.person__role { text-align: center; font-size: .82rem; color: var(--teal); margin: .7rem 0 0; letter-spacing: .04em; }
.person__bio { margin: .7rem 0 0; font-size: .9rem; color: var(--ink-soft); text-align: center; }

/* ------------------------------------------------------------------- forms */

.forms__grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .forms__grid { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
.formcard h2 { text-align: center; margin-bottom: 1.4rem; }
.field { margin: 0 0 1rem; display: grid; gap: .35rem; }
.field2 { display: grid; gap: 0; }
@media (min-width: 560px) { .field2 { grid-template-columns: 1fr 1fr; gap: 0 14px; } }
.field label { font-size: .82rem; color: var(--ink-soft); letter-spacing: .02em; }
.field label span { color: var(--teal); }
.field input, .field textarea, .field select {
  font: inherit; font-size: .98rem; color: var(--ink); width: 100%;
  padding: .7rem .85rem; border: 1px solid var(--line); background: #fcfdff;
  border-radius: var(--r-sm);
  transition: border-color .16s, box-shadow .16s, background-color .16s;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: #c9d8ef; }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40, 89, 182, .14);
}
.field--submit { margin-top: 1.2rem; }
.field--submit .btn { width: 100%; }
@media (min-width: 560px) { .field--submit .btn { width: auto; min-width: 190px; } }
.hp { position: absolute; left: -9999px; }
.microcopy { font-size: .82rem; color: var(--ink-soft); margin-top: .9rem; }

/* --------------------------------------------------------------- contact */

.contactinfo { display: grid; gap: 26px; }
@media (min-width: 760px) { .contactinfo { grid-template-columns: repeat(2, 1fr); } }
.contactinfo a { color: var(--blue); }

/* ------------------------------------------------------------------- misc */

.callout {
  background: linear-gradient(120deg, #f3f7fd 0%, var(--blue-wash) 100%);
  border: 1px solid #dde8f8; border-left: 3px solid var(--teal);
  border-radius: var(--r); padding: 1.2rem 1.4rem; margin: 1.8rem 0;
}
.callout h3 { margin-top: 0; }
.callout p { margin: 0; }

.ticks { list-style: none; margin: 0 0 1.3em; padding: 0; display: grid; gap: .6rem; }
.ticks li { display: flex; align-items: flex-start; gap: .6em; color: var(--ink-soft); }
.ticks .icon { color: var(--teal); margin-top: .22em; }

.todo {
  background: #fff3cd; color: #6b5410; border: 1px dashed #d8b23c;
  padding: .1em .5em; font-size: .95em; font-style: normal;
}
.reviewnote {
  background: #fff8e6; border: 1px solid #f0d894; border-left: 3px solid #d8b23c;
  padding: 1rem 1.2rem; margin-bottom: 1.6rem; display: grid; gap: .3rem;
  font-size: .92rem; color: #6b5410;
}
.reviewnote strong { font-family: var(--f-head); }
.legal__updated { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.8rem; }

.sharebar { padding-block: 0; border-block: 1px solid var(--line); }
.sharebar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; padding-block: 1.1rem; font-size: .85rem; }
.sharebar ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.sharebar a { display: block; padding: .4em .9em; border: 1px solid var(--line); text-decoration: none; }
.sharebar a:hover { background: var(--blue-wash); }

.notfound__links { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.notfound__links a { display: block; border: 1px solid var(--line); padding: .5em 1.1em; text-decoration: none; font-size: .92rem; }
.notfound__links a:hover { background: var(--blue-wash); }

.centered { text-align: center; }

/* ----------------------------------------------------------------- footer */

.ftr {
  position: relative; color: #fff; padding-top: clamp(44px, 6vw, 72px);
  background: var(--blue);
  background-image:
    radial-gradient(70% 100% at 10% 0%, rgba(27, 139, 175, .32) 0%, rgba(27, 139, 175, 0) 58%),
    var(--grad-blue), var(--grain-strong);
}
/* Warm hairline where the footer meets the page, tying back to the hero rule. */
.ftr::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--sand) 30%, var(--teal) 70%, transparent);
  opacity: .7;
}
.ftr a { color: #fff; }
.ftr__top { display: grid; gap: 30px; padding-bottom: 2.4rem; }
@media (min-width: 760px) { .ftr__top { grid-template-columns: repeat(2, 1fr); gap: 44px; } }
.ftr h2 {
  color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.ftr__blurb { font-size: .92rem; color: rgba(255, 255, 255, .88); max-width: 44ch; }
.ftr__rule { border: 0; border-top: 1px solid rgba(255, 255, 255, .45); margin: 1.4rem 0; max-width: 330px; }
.ftr__ein { font-size: .88rem; color: rgba(255, 255, 255, .88); }
.ftr__email { font-family: var(--f-head); font-size: clamp(1.1rem, 2.4vw, 1.45rem); }
.ftr__email a { text-decoration: none; }
.ftr__email a:hover { text-decoration: underline; }
.ftr__social { list-style: none; display: flex; gap: .7rem; margin: 1.4rem 0 0; padding: 0; }
.ftr__social a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%;
}
.ftr__social a:hover { background: rgba(255, 255, 255, .18); }
.ftr__social .icon { width: 16px; height: 16px; }
.ftr__right { display: grid; gap: .35rem; align-content: start; font-size: .92rem; }
.ftr__right address { font-style: normal; }
.ftr__right a { text-decoration: none; }
.ftr__right a:hover { text-decoration: underline; }
.ftr__legal { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.ftr__nav { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .45rem; }

.ftr__bottom { text-align: center; padding-bottom: 1.6rem; }
.ftr__mark { width: 46px; height: auto; margin: 0 auto 1rem; background: #fff; border-radius: 50%; padding: 4px; }
.ftr__bottom p { font-size: .8rem; color: rgba(255, 255, 255, .8); margin: 0; }

/* ------------------------------------------------------------ reveal + print */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
  [data-reveal].is-in { opacity: 1; transform: none; }
}

@media print {
  .hdr, .findus__map, form { display: none !important; }
  body { color: #000; }
}
