/* ==========================================================================
   Homeless Oxfordshire – Christmas Appeal
   ========================================================================== */

/* ---------- Fonts (variable, self-hosted) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../assets/fonts/rubik-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../assets/fonts/rubik-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --orange: #eb6209;
  --orange-bright: #f46b10;
  --orange-deep: #d25a05;
  --orange-text: #b84e04;      /* small orange text on white (AA) */
  --orange-tint: #fff1e6;
  --peach: #ffd9bd;
  --blue: #5862aa;
  --blue-deep: #3e4580;
  --blue-tint: #eef0f8;
  --blue-line: #c9cde6;
  --ink: #23253a;
  --ink-soft: #4a4d66;
  --ink-mute: #5e6178;
  --red: #c41e3a;
  --red-deep: #a3172f;
  --red-text: #b0122c;
  --white: #fff;

  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Rubik', 'Archivo', system-ui, sans-serif;

  --gutter: max(clamp(20px, 5vw, 48px), calc((100% - 1184px) / 2));
  --section-y: clamp(36px, 5vw, 60px);
  --radius-card: clamp(20px, 2.4vw, 28px);
  --shadow-card: 0 24px 64px rgba(35, 37, 58, 0.22);
  --hero-h: clamp(260px, min(42vw, 100vh - 320px), 560px);
  --hero-overlap: clamp(48px, 7vw, 90px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }

button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.peter :focus-visible,
.ask :focus-visible,
.closing :focus-visible,
.site-footer :focus-visible { outline-color: var(--white); box-shadow: 0 0 0 6px var(--ink); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--white); font-weight: 700;
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

[hidden] { display: none !important; }

/* ---------- Shared pieces ---------- */
.eyebrow {
  margin: 0;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 800; font-size: 13px; line-height: 1.3;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; flex: none; }
.eyebrow--orange { color: var(--orange-text); }
.eyebrow--blue { color: var(--blue); }
.eyebrow--peach { color: var(--peach); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-weight: 800; font-size: 19px; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn svg { flex: none; transition: transform .15s; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 16px rgba(235, 98, 9, 0.28); }
.btn--primary:hover { background: var(--orange-deep); color: var(--white); transform: translateY(-1px); }
.btn--primary[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }

.btn--outline { border-color: var(--white); color: var(--white); font-size: 17px; min-height: 48px; padding: 12px 24px; }
.btn--outline:hover { background: var(--white); color: var(--blue); }

.btn--white { background: var(--white); color: var(--ink); padding: 16px 34px; }
.btn--white:hover { background: var(--orange-tint); color: var(--ink); transform: translateY(-2px); }
.btn--large { font-size: clamp(19px, 1.8vw, 22px); padding: 20px 36px; gap: 12px; box-shadow: 0 10px 28px rgba(35, 37, 58, 0.22); }

.snow { position: absolute; height: auto; pointer-events: none; user-select: none; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 30;
  display: flex; align-items: center; gap: 16px 32px;
  padding: clamp(12px, 2vw, 16px) var(--gutter);
  background: var(--white);
}
.site-header__logo { display: flex; flex: none; }
.site-header__logo img { height: clamp(34px, 4vw, 44px); width: auto; display: block; }

.site-nav {
  margin-left: auto;
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 28px;
  font-size: 15px; font-weight: 600;
}
.site-nav__link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 2px no-repeat;
  transition: color .15s, background-size .2s;
}
.site-nav__link:hover { color: var(--blue); background-size: 100% 2px; }
.site-nav .icon-arrow { display: none; }

.site-nav__donate {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 12px 24px; border-radius: 999px;
  background: var(--red); color: var(--white);
  font-weight: 800; text-decoration: none;
  transition: background-color .15s;
}
.site-nav__donate:hover { background: var(--red-deep); color: var(--white); }
.site-nav__donate-label { display: inline-flex; align-items: center; gap: 8px; }

.menu-toggle { display: none; }

/* Desktop and tablet: the header stays at the top so Donate is always in reach.
   (Phones use the sticky donate bar at the bottom instead.) */
@media (min-width: 720px) {
  .site-header { position: sticky; top: 0; box-shadow: 0 2px 14px rgba(35, 37, 58, 0.10); }
  html { scroll-padding-top: 92px; }
  .prints { top: 104px; }
}

@media (max-width: 719.98px) {
  .js .menu-toggle {
    margin-left: auto;
    width: 48px; height: 48px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #dcdff0; border-radius: 12px;
    background: var(--white); color: var(--ink); cursor: pointer;
  }
  .menu-toggle__close,
  .menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

  .site-header { flex-wrap: wrap; }
  .site-nav {
    flex: 1 0 100%; margin: 0;
    flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0;
    font-size: 17px; font-weight: 700;
  }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 8px 20px 20px;
    background: var(--white);
    box-shadow: 0 20px 32px rgba(35, 37, 58, 0.18);
    display: none;
  }
  .js .site-nav.is-open { display: flex; animation: menu-in .18s ease-out; }

  .site-nav__link {
    justify-content: space-between;
    min-height: 52px; padding: 0 6px;
    border-bottom: 1px solid var(--blue-tint);
    background: none;
  }
  .site-nav .icon-arrow { display: block; flex: none; }
  .site-nav__donate {
    order: -1; justify-content: space-between;
    min-height: 52px; padding: 0 22px; margin: 4px 0 10px;
    font-size: 17px;
  }
  .site-nav__donate-label { gap: 10px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: var(--hero-h);
  background: #2a2318;
  overflow: hidden;
}
.hero__image {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 0% 0%;
}
.hero__inner {
  position: absolute; left: 0; right: 0; top: 0; bottom: var(--hero-overlap);
  display: flex; align-items: center;
}
/* The headline splits exactly where the warm table meets the cold pavement
   (the middle of the 16:9 artwork, which is anchored top-left and covers the hero). */
.hero__title {
  margin: 0; width: 100%;
  display: grid;
  grid-template-columns: min(100% - 150px, max(50%, calc(var(--hero-h) * 8 / 9))) minmax(0, 1fr);
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(46px, 8.6vw, 136px); line-height: 0.9; letter-spacing: -0.01em;
  color: var(--white);
}
.hero__home { text-align: right; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25); }
.hero__right { display: flex; flex-direction: column; align-items: flex-start; }
.hero__less { color: #9a958f; }
.hero__for {
  margin-top: clamp(4px, 0.8vw, 10px);
  font-weight: 800; font-size: clamp(14px, 2.3vw, 37px); line-height: 1.1; letter-spacing: 0;
}

/* Phones: a taller hero with the artwork centred on the seam, the mug left clear
   at the top and a larger headline sitting below it. */
@media (max-width: 599.98px) {
  :root { --hero-h: clamp(300px, min(100vw, 100vh - 420px), 440px); }
  .hero__image { object-position: 50% 0%; }
  .hero__inner { align-items: flex-end; padding-bottom: clamp(18px, 6vw, 30px); }
  .hero__inner::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--hero-overlap) * -1); height: 70%;
    background: linear-gradient(to top, rgba(20, 16, 10, 0.5), rgba(20, 16, 10, 0));
    pointer-events: none;
  }
  .hero__title {
    position: relative;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    font-size: clamp(44px, 14.4vw, 72px);
  }
  .hero__less { color: #b5b0aa; }
  .hero__for { font-size: clamp(15px, 5.1vw, 26px); margin-top: 6px; }
}

/* ---------- Donation card ---------- */
.give {
  position: relative; z-index: 2;
  scroll-margin-top: 16px;
  margin: calc(var(--hero-overlap) * -1) max(clamp(16px, 5vw, 48px), calc((100% - 1184px) / 2)) 0;
  padding: clamp(18px, 3vw, 36px);
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(14px, 3.4vw, 44px);
  align-items: center;
}
.give__intro { display: flex; flex-direction: column; gap: clamp(6px, 1vw, 14px); }
.give__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(20px, 3.2vw, 38px); line-height: 1;
  text-transform: uppercase; text-wrap: balance;
}
.give__strap {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(18px, 2vw, 22px); text-transform: uppercase;
  color: var(--orange-deep);
}
@media (max-width: 719.98px) { .give__strap { display: none; } }

.give__form { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.give__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.give__giftaid { font-size: 14px; color: var(--ink-mute); }

.freq {
  flex: none; width: min(328px, 100%);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 4px; background: var(--blue-tint); border-radius: 999px;
}
.freq__tab {
  min-height: 44px; padding: 11px 2px;
  border: 0; border-radius: 999px;
  background: transparent; color: var(--blue);
  font-weight: 800; font-size: clamp(13px, 3.9vw, 15px);
  white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.freq__tab:hover { background: rgba(88, 98, 170, 0.12); }
.freq__tab.is-on { background: var(--blue); color: var(--white); }

.give__amounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 8px;
}
.amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.amount {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 52px; padding: 0 4px;
  border: 2px solid var(--blue-line); border-radius: 14px;
  background: var(--white); color: var(--ink);
  font-weight: 800; font-size: 20px; cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.amount:hover { border-color: var(--blue); }
.amount__tick { display: none; flex: none; }
.amount.is-on { background: var(--orange); color: var(--white); border: 3px solid var(--ink); }
.amount.is-on .amount__tick { display: block; }

.other { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.other__field {
  display: flex; align-items: stretch; min-height: 52px;
  border: 2px solid var(--blue-line); border-radius: 14px;
  background: var(--white); overflow: hidden; cursor: text;
  transition: border-color .15s, box-shadow .15s;
}
.other__field.has-value { border-color: var(--ink); }
.other__field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(88, 98, 170, 0.28); }
.other__pound {
  display: flex; align-items: center; padding: 0 12px;
  font-weight: 800; font-size: 18px;
  color: var(--blue); background: var(--blue-tint);
}
.other__input {
  width: 100%; min-width: 0; padding: 0 10px;
  border: 0; outline: 0; background: transparent;
  font: 700 18px var(--font-body); color: var(--ink);
}
.other__input::placeholder { color: var(--ink-mute); opacity: 1; font-weight: 600; }
.other__field.is-invalid { border-color: var(--red); background: #fff5f6; box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.18); }
.other__field.is-invalid .other__pound { color: var(--red-text); background: #fde3e8; }
.other__error {
  margin: 0; display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--red-text);
}
.other__error svg { flex: none; }

.give__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.give__impact {
  margin: 0; flex: 1 1 180px; min-width: 0;
  font-size: 15px; line-height: 1.4; color: var(--ink-soft); text-wrap: pretty;
}
.give__bottom .btn { flex: none; }
@media (max-width: 479.98px) { .give__bottom .btn { flex: 1 0 100%; } }

/* ---------- Peter's story ---------- */
.peter {
  position: relative; overflow: hidden;
  margin-top: var(--section-y);
  background: var(--blue); color: var(--white);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.peter__figure {
  position: relative; margin: 0;
  min-height: clamp(300px, 38vw, 540px);
  background: var(--blue-deep);
}
.peter__figure img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 26%;
}
.peter__figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 20px 14px;
  background: linear-gradient(to top, rgba(35, 37, 58, 0.85), rgba(35, 37, 58, 0));
  font-size: 13px; line-height: 1.4; color: var(--white);
  pointer-events: none;
}
.peter__body {
  position: relative; max-width: 680px;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: clamp(16px, 2vw, 26px);
}
.peter__snow { right: -30px; top: -34px; width: 150px; }
.peter__quote { margin: 0; }
.peter__quote p {
  margin: 0;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(30px, 4.3vw, 58px); line-height: 0.98;
  text-transform: uppercase; text-wrap: balance;
  text-indent: -0.48em; padding-left: 0.48em;   /* hang the opening quote mark */
}
.peter__quote-accent { color: var(--peach); }
.peter__text {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6;
  color: var(--blue-tint); text-wrap: pretty;
}

/* ---------- Bev's letter ---------- */
.bev {
  padding: var(--section-y) var(--gutter);
  display: flex; flex-direction: column; gap: clamp(24px, 3.4vw, 44px);
}
.bev__head { display: flex; flex-direction: column; gap: 14px; }
.bev__title {
  margin: 0; max-width: 900px;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(34px, 5.4vw, 68px); line-height: 0.95;
  text-transform: uppercase; text-wrap: balance;
  color: var(--blue);
}
.bev__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.letter { display: flex; flex-direction: column; gap: 18px; max-width: 600px; }
.letter > p {
  margin: 0;
  font-size: 17px; line-height: 1.65; color: var(--ink-soft); text-wrap: pretty;
}
.letter > .letter__lead {
  font-size: clamp(19px, 1.9vw, 23px); font-weight: 600; line-height: 1.45; color: var(--ink);
}
.pullquote {
  margin: 0; padding: 6px 0;
  display: flex; align-items: flex-start; gap: clamp(8px, 1.2vw, 16px);
}
.pullquote__mark {
  flex: none;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(80px, 9vw, 120px); line-height: 0.72;
  color: var(--orange-bright);
}
.pullquote p {
  margin: 0;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(38px, 5vw, 64px); line-height: 0.98;
  color: var(--blue);
}
.signoff {
  margin-top: 4px; padding-top: 20px;
  border-top: 2px solid var(--blue-tint);
  display: flex; align-items: center; gap: 16px;
}
.signoff img {
  flex: none; display: block;
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; background: var(--blue-tint);
}
@media (min-width: 768px) { .signoff img { width: 120px; height: 120px; } }
.signoff p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.signoff__name { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--ink); }
.signoff__role { font-size: 15px; color: var(--ink-soft); }

.prints { display: flex; flex-direction: column; padding: 8px 6px 16px; }
@media (min-width: 720px) { .prints { position: sticky; } }
.print {
  position: relative;
  padding: 8px; background: var(--white); border-radius: 6px;
  box-shadow: 0 14px 34px rgba(35, 37, 58, 0.2);
}
.print img {
  display: block; width: 100%; height: auto;
  object-fit: cover; border-radius: 2px; background: var(--blue-tint);
}
.print--1 { width: 92%; transform: rotate(-2deg); }
.print--1 img { aspect-ratio: 4 / 3; object-position: 50% 38%; }
.print--2 { width: 62%; align-self: flex-end; margin-top: -7%; transform: rotate(3deg); }
.print--3 { width: 58%; margin-top: -16%; margin-left: 3%; transform: rotate(-3.5deg); }
.print--2 img, .print--3 img { aspect-ratio: 1 / 1; }

.ask {
  position: relative; overflow: hidden;
  padding: clamp(26px, 4vw, 52px);
  background: var(--orange-bright); color: var(--white);
  border-radius: var(--radius-card);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px clamp(24px, 4vw, 56px);
}
.ask__snow-1 { right: 22%; top: -38px; width: 140px; }
.ask__snow-2 { right: -18px; bottom: -22px; width: 110px; }
.ask__text { position: relative; flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ask__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(30px, 4.2vw, 54px); line-height: 0.98;
  text-transform: uppercase; text-wrap: balance;
}
.ask__body {
  margin: 0; max-width: 600px;
  font-size: clamp(18px, 1.6vw, 20px); font-weight: 700; line-height: 1.5; text-wrap: pretty;
}
.ask .btn { position: relative; flex: none; }

/* ---------- Other ways to help ---------- */
.ways {
  padding: var(--section-y) var(--gutter);
  background: var(--blue-tint);
  display: flex; flex-direction: column; gap: clamp(18px, 2.2vw, 26px);
}
.ways__head { display: flex; flex-direction: column; gap: 10px; }
.ways__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.05;
}
.ways__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.ways__grid > li { display: flex; }
@media (min-width: 864px) { .ways__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.way {
  flex: 1; display: flex; flex-direction: column;
  background: var(--white); color: var(--ink); text-decoration: none;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(35, 37, 58, 0.10);
  transition: transform .15s, box-shadow .15s;
}
.way:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(35, 37, 58, 0.16); }
.way__media { position: relative; display: block; aspect-ratio: 5 / 3; overflow: hidden; background: #dcdff0; }
/* The photo fills the frame without setting its size, so a portrait photo cannot stretch the card. */
.way__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .4s ease; }
.way:hover .way__media img { transform: scale(1.04); }
.way__title {
  padding: 10px 16px;
  background: var(--orange); color: var(--white);
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(20px, 1.9vw, 25px); line-height: 1.15;
  text-align: center; text-wrap: balance;
}
.way__body {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 22px 16px; text-align: center;
}
.way__text { font-size: 16px; font-weight: 600; line-height: 1.45; text-wrap: pretty; }
.way__link {
  margin-top: auto; min-height: 44px;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; font-size: 15px; color: var(--blue);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.way__link svg { transition: transform .15s; }
.way:hover .way__link svg { transform: translateX(3px); }

/* Tablet: side-by-side cards instead of three very tall ones */
@media (min-width: 600px) and (max-width: 863.98px) {
  .way { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto 1fr; }
  .way__media { grid-row: 1 / -1; aspect-ratio: auto; min-height: 190px; }
  .way__title { text-align: left; padding: 12px 22px; }
  .way__body { align-items: flex-start; text-align: left; }
}

/* ---------- Closing call to action ---------- */
.closing {
  position: relative; overflow: hidden;
  background: var(--orange); color: var(--white);
  padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 48px);
}
.closing__inner {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(24px, 3vw, 40px); text-align: center;
}
.closing__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 5.6vw, 68px); line-height: 1.08;
  text-wrap: balance;
}
.closing__snow { opacity: .55; }
.closing__snow--1 { left: 4%; top: 12%; width: clamp(70px, 9vw, 120px); }
.closing__snow--2 { left: 22%; bottom: 8%; width: clamp(50px, 6vw, 84px); }
.closing__snow--3 { left: 52%; top: 6%; width: clamp(44px, 5vw, 72px); }
.closing__snow--4 { right: 3%; bottom: 10%; width: clamp(90px, 12vw, 160px); }
.closing__snow--5 { right: 12%; top: 16%; width: clamp(50px, 6vw, 80px); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden;
  padding: 40px var(--gutter) 24px;
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; gap: 24px;
}
.site-footer__snow-1 { left: 44%; top: 14px; width: 125px; }
.site-footer__snow-2 { left: 64%; top: 70px; width: 84px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--peach); }
.site-footer .snow { opacity: .35; }
.site-footer__top {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px;
}
.site-footer__logo { height: clamp(44px, 5vw, 56px); width: auto; }
.site-footer__contact {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  font-weight: 700; font-size: 16px; overflow-wrap: anywhere;
}
.site-footer__contact a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__bottom {
  position: relative; z-index: 1;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.site-footer__legal { flex: 1 1 320px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.site-footer__legal p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; }
.site-footer__fr { flex: none; display: flex; padding: 22px 24px; background: var(--white); border-radius: 8px; }
.site-footer__fr img { display: block; height: 44px; width: auto; }

/* ---------- Sticky donate bar (small screens) ---------- */
.sticky-give {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(35, 37, 58, 0.16);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky-give.is-visible { transform: none; }
.sticky-give .btn { width: 100%; }
@media (min-width: 720px) { .sticky-give { display: none; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .menu-toggle, .site-nav, .sticky-give, .snow { display: none !important; }
}
