/* Youth Development Forum website
   Colours, fonts and layout copied from the old Wix site, then tidied up.
   The main colours are at the top: change them here and the whole site follows. */

:root {
  --blue: #2859b6;        /* the YDF blue from the Wix site */
  --blue-dark: #1c418a;   /* hover and pressed states */
  --navy: #0e2a6e;        /* logo square */
  --ink: #1e2a44;         /* paragraphs: a deep navy-grey, easier to read than blue */
  --muted: #5a6680;       /* dates, labels and other small print */
  --purple: #7a4fc0;      /* "Learn more" style links, as on Wix */
  --sky: #c9d5ee;         /* team cards */
  --mist: #f1f1f1;        /* grey bands and card backgrounds */
  --line: #d6dff0;
  --white: #fff;

  --head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --wrap: 1340px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 110px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 18px/1.7 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
strong, b { font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 500;
  color: var(--blue);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(40px, 6vw, 64px); }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.center { text-align: center; }
.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-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
.nowrap { white-space: nowrap; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 26px;
  background: var(--blue); color: #fff;
  font: 500 18px/1.2 var(--head); letter-spacing: .02em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--blue); border-radius: 0; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--white { background: #fff; color: var(--blue); border-color: #fff; }
.btn--white:hover { background: transparent; color: #fff; border-color: #fff; }
.more {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 19px/1.3 var(--head); color: var(--purple); text-decoration: none;
}
.more::after { content: "\2192"; transition: transform .2s; }
.more:hover { color: var(--blue-dark); }
.more:hover::after { transform: translateX(4px); }
.back { display: inline-flex; gap: 6px; font: 500 18px var(--head); text-decoration: none; }
.back::before { content: "\2190"; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(14, 42, 110, .1); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 104px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; margin-right: auto; }
.brand img { width: 66px; height: 66px; }
.brand__name { display: block; font: 500 21px/1.15 var(--head); color: var(--blue); letter-spacing: .01em; }
.brand__tag { display: block; font-size: 15px; color: var(--blue); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a:not(.btn) {
  font-size: 16px; color: var(--blue); text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { color: var(--purple); }
.nav a[aria-current="page"]:not(.btn) { color: var(--purple); border-bottom-color: var(--purple); }
.nav .btn { min-height: 42px; padding: 8px 20px; font-size: 16px; }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  background: none; border: 2px solid var(--blue); color: var(--blue);
  font: 500 16px var(--head); text-transform: uppercase; padding: 8px 14px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-menu { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1060px) {
  .site-header__inner { min-height: 84px; }
  .brand img { width: 54px; height: 54px; }
  .brand__name { font-size: 18px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px var(--gutter) 24px;
    box-shadow: 0 16px 24px rgba(14, 42, 110, .12);
  }
  .site-header.is-open .nav { display: flex; }
  .nav a:not(.btn) { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--line); }
  .nav .btn { margin-top: 18px; min-height: 50px; }
}
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand__name { font-size: 16px; }
  .brand__tag { font-size: 13px; }
  .nav-toggle span { display: none; }
}

/* ---------- Home: events band ---------- */
.events-band { background: var(--mist); }
.events-band h2 { text-align: center; }
.notice {
  background: #fff; max-width: 965px; margin: 32px auto 0; padding: 38px 24px; text-align: center;
}
.notice p { font: 500 22px/1.3 var(--head); color: var(--blue); margin: 0 0 6px; }
.notice span { color: var(--ink); }
.past-mini { max-width: 965px; margin: 28px auto 0; display: grid; gap: 12px; }
.past-mini h3 { font-size: 22px; margin: 8px 0 4px; }
.past-mini a {
  display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 18px;
  background: #fff; padding: 14px 20px 14px 14px; text-decoration: none; color: var(--ink);
  border-left: 4px solid var(--blue); transition: transform .2s, box-shadow .2s;
}
.past-mini a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(14, 42, 110, .1); color: var(--ink); }
.past-mini strong { display: block; font: 500 19px/1.25 var(--head); color: var(--blue); }
.past-mini small { display: block; font-size: 14px; line-height: 1.4; margin-top: 4px; }
.past-mini a::after { content: "\2192"; color: var(--purple); font-size: 20px; }

/* date block used for events */
.date {
  display: grid; place-items: center; text-align: center;
  width: 74px; height: 74px; background: var(--blue); color: #fff; line-height: 1;
}
.date b { display: block; font: 500 30px/1 var(--head); }
.date span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ---------- Home: header (headline on navy, photo beside it) ---------- */
.home-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  min-height: clamp(560px, 80vh, 780px); background: var(--navy); color: #fff;
}
.home-hero__content {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 6vw, 90px) clamp(28px, 4vw, 64px);
  /* line the text up with the rest of the page */
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
/* thin sky-blue accent along the top of the text panel */
.home-hero__content::before { content: ""; position: absolute; left: 0; top: 0; width: 38%; height: 6px; background: var(--blue); }
.home-hero__media { position: relative; overflow: hidden; }
.home-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.home-hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 42, 110, .35), rgba(14, 42, 110, 0) 22%); }
.home-hero__kicker { font: 600 15px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin: 0; }
.home-hero h1 {
  color: #fff; text-transform: uppercase; max-width: 9ch;
  font-size: clamp(54px, 7vw, 112px); line-height: .96; margin: 20px 0 24px;
}
.home-hero__lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; max-width: 30em; margin: 0; color: rgba(255, 255, 255, .9); }
.home-hero .actions { justify-content: flex-start; margin-top: 36px; }
.home-hero .btn { min-height: 54px; padding-inline: 28px; font-size: 19px; }
.home-hero .btn--white:hover { border-color: #fff; }
@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; min-height: 0; }
  .home-hero__media { order: -1; aspect-ratio: 4 / 3; }
  .home-hero__media::before { display: none; }
  .home-hero__content { padding: 40px var(--gutter) 52px; }
}

/* ---------- Home: who we are ---------- */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.who h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: .4em; }
.who__text > p { font-size: 19px; }
.vision-quote {
  margin: 30px 0 30px; padding: 4px 0 4px 24px; border-left: 4px solid var(--blue);
  font: 500 clamp(21px, 2vw, 25px)/1.45 var(--head); color: var(--blue);
}
.vision-quote cite { display: block; margin-top: 12px; font: 600 13px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--purple); }
.who .actions { justify-content: flex-start; margin-top: 0; }
.collage { position: relative; isolation: isolate; padding: 0 0 70px 70px; }
.collage::before { content: ""; position: absolute; z-index: -1; right: -24px; top: -24px; width: 48%; height: 46%; background: var(--sky); }
.collage__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.collage__inset { position: absolute; left: 0; bottom: 0; width: 46%; border: 10px solid #fff; box-shadow: 0 20px 40px rgba(14, 42, 110, .18); }
.collage__inset img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 960px) {
  .who { grid-template-columns: 1fr; }
  .collage { max-width: 560px; margin-inline: auto; padding: 0 0 50px 40px; }
  .collage::before { right: -12px; top: -12px; }
}

/* ---------- Home: impact numbers ---------- */
.impact { position: relative; color: #fff; overflow: hidden; }
.impact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.impact::before { content: ""; position: absolute; inset: 0; background: rgba(12, 34, 92, .82); z-index: 1; }
.impact .wrap { position: relative; z-index: 2; padding-block: clamp(70px, 9vw, 120px); }
.impact .kicker { color: var(--sky); text-align: center; }
.impact h2 { color: #fff; text-align: center; font-size: clamp(36px, 4.4vw, 56px); margin-bottom: clamp(36px, 5vw, 60px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 0 auto; }
.stat { text-align: center; padding: 10px 24px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .25); }
.stat__num { font: 500 clamp(64px, 8vw, 104px)/1 var(--head); }
.stat__label { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.4; margin: 14px auto 0; max-width: 13em; color: rgba(255, 255, 255, .9); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; gap: 30px; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 30px; }
}

/* ---------- Home: success stories slider ---------- */
.stories { position: relative; background: var(--blue); color: #fff; text-align: center; padding: clamp(48px, 6vw, 80px) clamp(60px, 10vw, 200px) clamp(40px, 5vw, 56px); }
.stories__label { font: 600 14px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide blockquote { margin: 0 auto; max-width: 760px; font: 500 clamp(24px, 2.8vw, 36px)/1.4 var(--head); }
.slide blockquote::before { content: "\201C"; display: block; font: 500 110px/.7 var(--head); color: rgba(255, 255, 255, .35); margin-bottom: 6px; }
.slide figcaption { margin-top: 26px; font-size: 18px; }
.slide figcaption b { display: block; font-weight: 600; }
.slide figcaption span { color: rgba(255, 255, 255, .78); font-size: 16px; }
.stories__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; display: grid; place-items: center;
  background: none; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; color: #fff; cursor: pointer;
  transition: background .2s, color .2s;
}
.stories__arrow svg { width: 12px; height: 22px; }
.stories__arrow:hover { background: #fff; color: var(--blue); }
.stories__arrow--prev { left: clamp(10px, 4vw, 60px); }
.stories__arrow--next { right: clamp(10px, 4vw, 60px); }
.stories__dots { display: flex; justify-content: center; gap: 4px; margin-top: 28px; }
.stories__dots button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.stories__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background .2s, width .2s; }
.stories__dots button[aria-current="true"]::before { background: #fff; width: 22px; border-radius: 4px; }
.stories__pause {
  position: absolute; right: 16px; bottom: 14px;
  background: none; border: 1px solid rgba(255, 255, 255, .45); color: #fff;
  font: 14px var(--body); padding: 4px 12px; cursor: pointer;
}
@media (max-width: 640px) {
  .stories { padding: 56px 22px 76px; }
  .stories__arrow { top: auto; bottom: 18px; transform: none; width: 44px; height: 44px; }
  .stories__arrow--prev { left: 18px; }
  .stories__arrow--next { right: 18px; }
  .stories__pause { right: 50%; transform: translateX(50%); bottom: auto; top: 14px; }
}

/* ---------- Home: news and events ---------- */
.news-events { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: clamp(22px, 2.6vw, 34px); align-items: start; }
.events-box { background: #fff; border-top: 4px solid var(--blue); padding: 28px 26px; }
.events-box h3 { font-size: 26px; margin-bottom: 6px; }
.events-box > p { margin: 0 0 20px; font-size: 17px; color: var(--muted); }
.events-box .past-mini { margin: 0; max-width: none; }
.events-box .past-mini a { grid-template-columns: 60px 1fr; padding: 12px 14px 12px 12px; background: var(--mist); border-left: 0; }
.events-box .past-mini a::after { display: none; }
.events-box .past-mini .date { width: 60px; height: 60px; }
.events-box .past-mini .date b { font-size: 24px; }
.events-box .past-mini strong { font-size: 17px; }
.events-box .more { margin-top: 20px; }
@media (max-width: 1060px) { .news-events { grid-template-columns: 1fr; } }

/* ---------- Partner logos ---------- */
.partners .head-row { justify-content: center; text-align: center; }
.partners .head-row > div { width: 100%; }
.partners ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line);
}
.partners li { display: grid; place-items: center; min-height: 160px; padding: 24px; }
.partners li + li { border-left: 1px solid var(--line); }
.partners img {
  width: auto; height: auto; max-height: 70px; max-width: 170px;
  filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s;
}
.partners .is-tall img { max-height: 110px; }
.partners li:hover img { filter: none; opacity: 1; }
@media (max-width: 860px) {
  .partners ul { grid-template-columns: repeat(2, 1fr); }
  .partners li + li { border-left: 0; }
  .partners li { border-bottom: 1px solid var(--line); min-height: 130px; }
  .partners li:nth-child(even) { border-left: 1px solid var(--line); }
  .partners li:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .partners img { filter: none; opacity: 1; max-height: 56px; max-width: 140px; }
  .partners .is-tall img { max-height: 90px; }
}

/* ---------- Home and About: "get involved" band ---------- */
.ways { background: var(--navy); color: #fff; }
.ways .wrap { padding-block: clamp(60px, 8vw, 100px); }
.ways .kicker { color: var(--sky); }
.ways h2 { color: #fff; font-size: clamp(34px, 4vw, 52px); max-width: 16ch; }
.ways__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); margin-top: clamp(30px, 4vw, 50px); }
.way { position: relative; border-top: 1px solid rgba(255, 255, 255, .3); padding-top: 26px; }
.way svg { width: 38px; height: 38px; color: var(--sky); margin-bottom: 16px; }
.way h3 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.way p { color: rgba(255, 255, 255, .85); font-size: 17px; margin-bottom: 18px; }
.way a { color: #fff; font: 500 19px var(--head); text-decoration: none; display: inline-flex; gap: 8px; }
.way a::after { content: "\2192"; transition: transform .2s; }
.way a::before { content: ""; position: absolute; inset: 0; }
.way:hover a::after { transform: translateX(4px); }
@media (max-width: 860px) { .ways__grid { grid-template-columns: 1fr; } }
main > .ways:last-child { margin-bottom: var(--section); }

/* ---------- Contact block (on every page, above the footer) ---------- */
.contact-block { padding-block: 0 var(--section); }
/* keep a white gap when a page ends with a grey or patterned band */
main > .section--mist:last-child, main > .what-we-do:last-child { margin-bottom: var(--section); }
.contact-block__grid { display: grid; grid-template-columns: 1fr 450px; }
.contact-block__main { background: var(--blue); color: #fff; padding: clamp(40px, 6vw, 90px) clamp(24px, 9vw, 136px); }
.contact-block h2 { color: #fff; font-size: clamp(30px, 3vw, 38px); text-transform: uppercase; margin-bottom: 1.1em; }
.contact-block__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; font-size: 16px; }
.contact-block__cols p { margin: 0; }
.contact-block__cols > div { padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .7); }
.contact-block a { color: #fff; }
.contact-block .btn--white { color: var(--blue); }
.contact-block .btn--white:hover { color: #fff; }
.contact-block__email { display: inline-block; margin-top: 34px; font: 500 clamp(22px, 2.5vw, 34px)/1.2 var(--head); text-decoration: none; overflow-wrap: anywhere; }
.contact-block__email:hover { text-decoration: underline; color: #fff; }
.contact-block__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 30px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; }
.social a:hover { background: #fff; color: var(--blue); }
.social svg { width: 18px; height: 18px; }
.contact-block__logo { background: #efefef; display: grid; place-items: center; padding: 40px; }
.contact-block__logo img { width: min(100%, 380px); }
@media (max-width: 960px) {
  .contact-block__grid { grid-template-columns: 1fr; }
  .contact-block__logo { display: none; }
}
@media (max-width: 560px) {
  .contact-block__cols { grid-template-columns: 1fr; }
  .contact-block__main { padding-inline: 20px; }
  .contact-block__email { font-size: clamp(17px, 5.6vw, 22px); }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 34px; font-size: 15px; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.site-footer img { width: 44px; height: 44px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-right: auto; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }

/* ---------- Page headings ---------- */
.page-title { text-align: center; padding: clamp(48px, 7vw, 90px) 0 clamp(24px, 4vw, 40px); }
.page-title h1 { margin-bottom: .3em; }
.page-title .tagline { font-size: 19px; color: var(--blue); margin-bottom: 1.2em; }
.intro { max-width: 900px; margin: 0 auto; text-align: center; font-size: 18px; color: var(--blue); }
.intro strong { font-weight: 400; color: var(--navy); background: linear-gradient(transparent 62%, rgba(201, 213, 238, .8) 62%); }

/* photo header with a white title box, as on the Wix Projects page */
.photo-head { position: relative; margin-bottom: 20px; }
.photo-head__media { height: clamp(260px, 32vw, 440px); overflow: hidden; background: var(--navy); }
.photo-head__media img { width: 100%; height: 100%; object-fit: cover; }
.photo-head__box {
  position: relative; z-index: 1;
  width: min(100% - 2 * var(--gutter), 1340px); margin: -100px auto 0;
  background: #fff; text-align: center; padding: 34px 24px 6px;
}
.photo-head__box h1 { margin: 0; }
.photo-head__box .lead { max-width: 40em; margin: 14px auto 0; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--ink); }
@media (max-width: 640px) {
  .photo-head__box { margin-top: -60px; padding-top: 24px; }
}

/* blue band with a white box, as on the Wix News page */
.band-head { position: relative; padding-top: clamp(30px, 5vw, 60px); }
.band-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; background: var(--blue); z-index: -1; }
.band-head__box { background: #fff; text-align: center; padding: clamp(36px, 5vw, 64px) 24px clamp(30px, 4vw, 50px); }
.band-head__box h1 { margin-bottom: .4em; }
.band-head__box p { max-width: 620px; margin: 0 auto; color: var(--blue); }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; padding-block: clamp(50px, 7vw, 100px); }
.about-intro h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; text-transform: uppercase; margin: 14px 0 26px; }
.about-intro .lead { margin-bottom: 1em; }
.about-intro__photo { position: relative; }
.about-intro__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.badge {
  position: absolute; left: -34px; bottom: 44px;
  background: var(--blue); color: #fff; padding: 22px 28px; box-shadow: 0 18px 36px rgba(14, 42, 110, .25);
}
.badge b { display: block; font: 500 52px/1 var(--head); }
.badge span { display: block; font-size: 16px; margin-top: 6px; }
@media (max-width: 960px) {
  .about-intro { grid-template-columns: 1fr; }
  .about-intro__photo { max-width: 560px; }
  .badge { left: auto; right: 16px; bottom: 16px; }
}

/* mission and vision */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 2.6vw, 34px); }
.mv__card { background: #fff; border-top: 4px solid var(--blue); padding: clamp(30px, 4vw, 50px); }
.mv__card svg { width: 44px; height: 44px; color: var(--blue); margin-bottom: 18px; }
.mv__card p:not(.kicker) { font: 500 clamp(22px, 2.2vw, 28px)/1.4 var(--head); color: var(--navy); margin: 0; }
@media (max-width: 860px) { .mv { grid-template-columns: 1fr; } }

/* principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 44px); }
.principle { border-top: 1px solid var(--line); padding-top: 24px; }
.principle b { display: block; font: 500 44px/1 var(--head); color: var(--sky); }
.principle h3 { font-size: 28px; margin: 14px 0 8px; }
.principle p { margin: 0; font-size: 18px; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* what we do: photo beside a numbered list */
.wwd { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.wwd__photo { position: sticky; top: 128px; }
.wwd__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.wwd__list { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.wwd__list li {
  counter-increment: n; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.wwd__list li:first-child { border-top: 1px solid var(--line); }
.wwd__list li::before { content: "0" counter(n); font: 500 34px/1 var(--head); color: var(--blue); }
.wwd__list h3 { font-size: 24px; margin: 0 0 4px; }
.wwd__list p { margin: 0; font-size: 17px; color: var(--muted); }
@media (max-width: 960px) {
  .wwd { grid-template-columns: 1fr; }
  .wwd__photo { position: static; max-width: 560px; }
  .wwd__photo img { aspect-ratio: 3 / 2; }
}

/* meet the team */
.team-teaser { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--mist); }
.team-teaser__photo { min-height: 420px; position: relative; }
.team-teaser__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-teaser__text { padding: clamp(36px, 5vw, 70px); align-self: center; }
.team-teaser__text h2 { font-size: clamp(32px, 3.6vw, 46px); }
.team-teaser__text .actions { justify-content: flex-start; margin-top: 26px; }
@media (max-width: 860px) {
  .team-teaser { grid-template-columns: 1fr; }
  .team-teaser__photo { min-height: 0; aspect-ratio: 3 / 2; }
}

/* ---------- Shared: labels, section headings, long text ---------- */
.tag {
  display: inline-block; font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: #fff; padding: 9px 12px 8px;
}
.tag--solid { background: var(--blue); color: #fff; }
.tag--line { background: none; padding: 0; }
.kicker { font: 600 14px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 30px; margin-bottom: clamp(26px, 3vw, 40px); }
.head-row h2 { margin: 0; font-size: clamp(30px, 3.4vw, 42px); }
.lead { font-size: clamp(19px, 1.9vw, 22px); line-height: 1.55; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

/* long text on project pages and news articles */
.prose { font-size: 19px; line-height: 1.75; max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 1.7em 0 .45em; }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { list-style: none; margin: 0 0 1.2em; padding: 0; }
.prose li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 9px; height: 9px; background: var(--blue); }
.prose strong { color: var(--navy); }

/* ---------- Project cards (Projects page, Donate page, "More projects") ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.6vw, 34px); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  transition: box-shadow .3s ease, transform .3s ease;
}
.card:hover { box-shadow: 0 18px 40px rgba(14, 42, 110, .13); transform: translateY(-4px); }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__media .tag { position: absolute; left: 0; bottom: 0; }
.card__body { padding: 24px 28px 26px; display: flex; flex-direction: column; flex: 1; }
.card h2, .card h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; margin: 0 0 10px; }
.card__body p { font-size: 17px; line-height: 1.6; margin: 0 0 22px; }
.card__stat { margin-top: auto; display: flex; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.card__stat b { font: 500 32px/1 var(--head); color: var(--blue); white-space: nowrap; }
.card__stat span { font-size: 15px; line-height: 1.35; color: var(--muted); }
.card .more { margin-top: 18px; align-self: flex-start; }
.card--compact .more { margin-top: auto; }
/* the "Read more" link covers the whole card, so the photo, title and text are clickable too */
.card .more::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.card:hover .more { color: var(--blue-dark); }
.card:hover .more::after { transform: translateX(4px); }
@media (max-width: 1060px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .card__body { padding: 22px 22px 24px; } }

/* ---------- Project page ---------- */
.project-hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: clamp(440px, 62vh, 640px); background: var(--navy); color: #fff;
}
.project-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(9, 24, 62, .05) 20%, rgba(9, 24, 62, .5) 55%, rgba(9, 24, 62, .88) 100%);
}
.project-hero .wrap { position: relative; z-index: 2; padding-block: 140px clamp(40px, 5vw, 70px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; margin-bottom: 20px; }
.crumbs a { color: #fff; opacity: .85; text-decoration: none; }
.crumbs a:hover { opacity: 1; color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }
.project-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 78px); line-height: 1.04; max-width: 20ch; margin: 16px 0 6px; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.project-hero__sub { font: 500 clamp(18px, 1.8vw, 22px)/1.3 var(--head); letter-spacing: .03em; text-transform: uppercase; color: var(--sky); margin: 0 0 16px; }
.project-hero__lead { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; max-width: 36em; margin: 14px 0 0; color: rgba(255, 255, 255, .94); }

.project-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 100px); align-items: start; }
.glance { position: sticky; top: 128px; background: var(--mist); border-top: 4px solid var(--blue); padding: 30px 28px 32px; }
.glance h2 { font-size: 20px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.glance__stats { display: grid; gap: 18px; padding-bottom: 24px; margin-bottom: 22px; border-bottom: 1px solid #d5d9e2; }
.glance__stat { margin: 0; }
.glance__stat b { display: block; font: 500 46px/1 var(--head); color: var(--blue); }
.glance__stat span { display: block; font-size: 16px; line-height: 1.35; margin-top: 6px; }
.glance dl { display: grid; gap: 14px; margin: 0 0 26px; }
.glance dt { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: 2px 0 0; font-size: 17px; line-height: 1.45; }
.glance .btn { width: 100%; }
.glance__link { display: block; text-align: center; margin-top: 14px; font-size: 16px; }
@media (max-width: 960px) {
  .project-body { grid-template-columns: 1fr; }
  .glance { position: static; order: -1; }
  .glance__stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}

.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photos figure { margin: 0; }
.photos a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photos a:hover img { transform: scale(1.04); }
.photos--2 { grid-template-columns: repeat(2, 1fr); }
.photos--1 { grid-template-columns: minmax(0, 1000px); }
@media (max-width: 760px) { .photos, .photos--2 { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* blue "support this project" band */
.cta-band { background: var(--blue); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(44px, 6vw, 76px); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: .25em; }
.cta-band p { margin: 0; font-size: 19px; max-width: 38em; color: rgba(255, 255, 255, .92); }
.cta-band .actions { margin: 0; justify-content: flex-start; }
.cta-band .btn--white:hover { border-color: #fff; }
.btn--line-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--line-white:hover { background: #fff; color: var(--blue); border-color: #fff; }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 30px; }
.event { display: grid; grid-template-columns: 340px 1fr; background: var(--mist); }
.event__media { position: relative; min-height: 230px; background: var(--blue); }
.event__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event__media .date { position: absolute; left: 0; bottom: 0; width: 86px; height: 86px; }
.event__media--plain { display: grid; place-items: center; }
.event__media--plain img { position: static; width: 110px; height: 110px; }
.event__body { padding: 30px 36px; }
.event__body h3 { margin-bottom: .3em; }
.event__meta { color: var(--blue); font-size: 16px; margin-bottom: 14px; }
.event__meta span { display: block; }
@media (max-width: 760px) {
  .event { grid-template-columns: 1fr; }
  .event__media { min-height: 0; aspect-ratio: 16 / 9; }
  .event__body { padding: 24px 22px; }
}

/* ---------- News ---------- */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; line-height: 1.4; color: var(--muted); margin: 0; }
.post-meta .tag--line { font-size: 12px; }
.post-meta > * + *::before { content: "\00B7"; margin-right: 10px; color: #a3abbd; }

/* news cards: the "Read more" link covers the whole card */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 2.6vw, 34px); }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s ease, transform .3s ease; }
.post-card:hover { box-shadow: 0 18px 40px rgba(14, 42, 110, .13); transform: translateY(-4px); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 { font-size: clamp(23px, 2.2vw, 28px); line-height: 1.2; margin: 12px 0 10px; }
.post-card p { font-size: 17px; line-height: 1.6; margin: 0 0 20px; }
.post-card .more { margin-top: auto; align-self: flex-start; }
.post-card .more::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.post-card:hover .more { color: var(--blue-dark); }

/* the newest story, shown large at the top */
.post-card--feature { display: grid; grid-template-columns: 1.25fr 1fr; margin-bottom: clamp(22px, 2.6vw, 34px); }
.post-card--feature .post-card__media { aspect-ratio: auto; min-height: 380px; }
.post-card--feature .post-card__body { padding: clamp(28px, 4vw, 54px); justify-content: center; }
.post-card--feature h2 { font-size: clamp(28px, 3.2vw, 42px); }
.post-card--feature p { font-size: 19px; }
.post-card--feature .more { margin-top: 6px; }
@media (max-width: 860px) {
  .posts { grid-template-columns: 1fr; }
  .post-card--feature { grid-template-columns: 1fr; }
  .post-card--feature .post-card__media { min-height: 0; aspect-ratio: 16 / 10; }
}

/* article page */
.article-head { text-align: center; padding: clamp(40px, 6vw, 84px) 0 clamp(30px, 4vw, 48px); }
.article-head .crumbs { justify-content: center; margin-bottom: 18px; }
.article-head .crumbs a { color: var(--blue); opacity: 1; }
.article-head .crumbs span[aria-hidden] { color: var(--muted); }
.article-head .post-meta { justify-content: center; }
.article-head h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.08; max-width: 20ch; margin: 18px auto 20px; }
.article-head .lead { max-width: 36em; margin: 0 auto; }
.article-photo { width: min(100% - 2 * var(--gutter), 1100px); margin: 0 auto clamp(36px, 5vw, 64px); }
.article-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-photo--portrait img { width: auto; max-width: 100%; aspect-ratio: auto; max-height: 620px; margin: 0 auto; }
.article-body { width: min(100% - 2 * var(--gutter), 720px); margin: 0 auto; }
/* large first letter, like a magazine */
.prose--article > p:first-child::first-letter {
  float: left; font: 500 3.7em/.82 var(--head); color: var(--blue); margin: .1em .12em 0 0;
}
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; border-block: 1px solid var(--line); padding: 18px 0; margin-top: 48px; font-size: 15px; color: var(--muted); }
.share span { margin-right: 4px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.share a, .share button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px;
  font: 600 15px var(--body); color: var(--blue); background: #fff; border: 1px solid var(--line); text-decoration: none; cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--blue); }
.share svg { width: 18px; height: 18px; }
.related {
  position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center;
  margin-top: 36px; background: var(--mist); border-left: 4px solid var(--blue); padding: 16px 22px 16px 16px;
  transition: box-shadow .25s ease;
}
.related:hover { box-shadow: 0 12px 28px rgba(14, 42, 110, .12); }
.related img { width: 150px; aspect-ratio: 3 / 2; object-fit: cover; }
.related .kicker { margin-bottom: 4px; font-size: 13px; }
.related h2 { font-size: 22px; margin: 0 0 4px; }
.related p { margin: 0; font-size: 16px; color: var(--muted); }
.related a { text-decoration: none; }
.related a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 520px) { .related { grid-template-columns: 1fr; } .related img { width: 100%; } }

/* ---------- Team ---------- */
.head-row--stack { display: block; max-width: 44em; }
.head-row--stack p:not(.kicker) { margin: 12px 0 0; font-size: 19px; color: var(--ink); }

/* staff cards: large portrait, then name, role and contact details */
.staff { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.6vw, 34px); }
.person {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-bottom: 4px solid var(--blue);
  transition: box-shadow .3s ease, transform .3s ease;
}
.person:hover { box-shadow: 0 18px 40px rgba(14, 42, 110, .13); transform: translateY(-4px); }
.person__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.person:hover .person__photo img { transform: scale(1.03); }
.person__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.person__role { font: 600 13px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin: 0 0 6px; }
.person h3 { font-size: clamp(26px, 2.4vw, 32px); margin: 0 0 18px; }
.contact-lines { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.contact-lines a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 16px; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--blue); text-decoration: underline; }
.contact-lines svg { width: 18px; height: 18px; flex: none; color: var(--blue); }

/* volunteers */
.volunteers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.6vw, 34px); }
.volunteer { display: flex; flex-direction: column; background: #fff; padding: 30px 28px 26px; border-top: 4px solid var(--blue); }
.volunteer__initials {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 0 18px;
  display: grid; place-items: center; background: var(--blue); color: #fff; font: 500 24px var(--head); letter-spacing: .04em;
}
.volunteer h3 { font-size: 26px; margin: 0 0 4px; }
.volunteer .person__role { margin-bottom: 18px; }
@media (max-width: 1060px) { .staff { grid-template-columns: repeat(2, 1fr); } .volunteers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .staff, .volunteers { grid-template-columns: 1fr; }
  .staff { max-width: 460px; margin-inline: auto; }
  .volunteer { padding-inline: 22px; }
  .volunteer .contact-lines a { font-size: 15px; }
}
main > .cta-band:last-child { margin-bottom: var(--section); }

/* ---------- Donate ---------- */
.give { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.give__panel { background: var(--mist); border-top: 4px solid var(--blue); padding: clamp(28px, 4vw, 44px); }
.give__panel h2 { font-size: clamp(28px, 3vw, 36px); }
.steps { margin: 0 0 24px; padding-left: 22px; }
.steps li { margin-bottom: 6px; }
.details { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; align-items: center; }
.details dt { color: var(--blue); font-size: 15px; }
.details dd { margin: 0; font: 500 20px/1.3 var(--head); color: var(--navy); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.copy {
  font: 14px var(--body); background: #fff; border: 1px solid var(--blue); color: var(--blue);
  padding: 4px 12px; cursor: pointer;
}
.copy:hover { background: var(--blue); color: #fff; }
.copy.is-done { background: var(--blue); color: #fff; }
.give__note { font-size: 15px; margin: 24px 0 0; }
@media (max-width: 860px) { .give { grid-template-columns: 1fr; } }
.give-photo { margin: 40px 0 0; }
.give-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* ---------- Contact page and forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-list { list-style: none; margin: 0 0 30px; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 26px; height: 26px; color: var(--blue); margin-top: 3px; }
.contact-list b { display: block; font: 500 18px var(--head); color: var(--blue); }
.form-card { background: var(--mist); border-top: 4px solid var(--blue); padding: clamp(26px, 4vw, 44px); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
label { display: block; font-size: 15px; color: var(--blue); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: 16px var(--body); color: var(--ink);
  background: #fff; border: 1px solid #b9c6e2; border-radius: 0; padding: 12px 14px;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(40, 89, 182, .3); border-color: var(--blue); }
input:user-invalid, textarea:user-invalid { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; font-size: 15px; }
.form-status.is-error { color: #b3261e; }
.form-status.is-success { color: #1b6e3b; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Photo viewer ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(8, 18, 45, .92); }
.lightbox img { max-width: min(92vw, 1400px); max-height: 80vh; width: auto; margin: 4vh auto 0; }
.lightbox p { color: #fff; text-align: center; margin: 14px 16px; }
.lightbox__bar { display: flex; justify-content: center; gap: 10px; }
.lightbox__bar button { font: 500 16px var(--head); text-transform: uppercase; background: #fff; color: var(--blue); border: 0; padding: 10px 18px; cursor: pointer; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: clamp(60px, 10vw, 140px) 0; }

/* ---------- Scroll animations (turned on by js/site.js) ---------- */
.motion .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--rv-delay, 0ms); }
.motion .rv.is-in { opacity: 1; transform: none; }
@media print {
  .site-header, .contact-block, .stories__arrow, .stories__pause, .stories__dots { display: none !important; }
  .motion .rv { opacity: 1 !important; transform: none !important; }
  .slide { opacity: 1; visibility: visible; grid-area: auto; margin-bottom: 20px; }
}
