/* ─────────────────────────────────────────────
   Ashton Community Fridge — styles
   Aesthetic: editorial warmth · community paper
   Type: Fraunces (display) + Plus Jakarta Sans (body)
   ───────────────────────────────────────────── */

:root {
  /* Brand palette — derived from the ACF cyan logo */
  --brand:       #0BB7F0;   /* logo cyan */
  --brand-deep:  #0892C7;
  --navy:        #0E1525;   /* dark text & dark sections */
  --navy-soft:   #4B5867;   /* body text */
  --bg:          #FFFFFF;
  --bg-soft:     #F2F8FC;   /* pale cyan cards */
  --bg-tint:     #E5F4FB;   /* alt-section pale cyan */
  --accent:      #FFC11F;   /* warm yellow highlight */
  --accent-deep: #E5A20D;
  --accent-soft: #FFD45A;
  --rule:        rgba(14,21,37,.10);

  /* Legacy aliases — keep existing rules working */
  --cream:       var(--bg);
  --cream-2:     var(--bg-soft);
  --ink:         var(--navy);
  --ink-soft:    var(--navy-soft);
  --forest:      var(--brand);
  --forest-deep: var(--navy);
  --sage:        var(--bg-tint);
  --terra:       var(--accent);
  --terra-deep:  var(--accent-deep);
  --honey:       var(--accent-soft);

  /* Type */
  --serif:  "Fraunces", "Times New Roman", serif;
  --sans:   "Plus Jakarta Sans", system-ui, sans-serif;

  /* Easing & speed */
  --ease: cubic-bezier(.2,.7,.1,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--forest); color: var(--cream); }

a { color: inherit; }

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

.skip-link {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--cream); padding: .6rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 1000; }

/* ─────────────────────────────────────────────
   TOPBAR
   ───────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: .8rem clamp(1rem, 4vw, 2.5rem);
  background: transparent;
  border-bottom: 1px solid var(--rule);
  isolation: isolate;
}
/* backdrop-filter lives on a pseudo-element so it doesn't create a containing
   block for fixed-position descendants (i.e. the mobile nav drawer). */
.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  pointer-events: none;
}

.brand {
  display: flex; align-items: center; gap: .7rem;
  color: var(--forest);
  text-decoration: none;
}
.brand__mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  color: var(--forest);
}
.brand__logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 12px -3px rgba(11,183,240,.45);
  background: var(--brand);
}

/* Full wordmark in a cyan tile (the original brand block) */
.brand--wordmark {
  display: inline-flex;
  align-items: center;
  background: var(--brand);
  padding: 6px 12px 6px 8px;
  border-radius: 10px;
  box-shadow: 0 4px 14px -6px rgba(11,183,240,.5);
  transition: transform .25s var(--ease), box-shadow .25s;
  text-decoration: none;
}
.brand--wordmark:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px rgba(11,183,240,.6);
}
.brand--wordmark img {
  display: block;
  height: 44px;
  width: auto;
  /* The wordmark JPG has solid cyan background that already matches the tile,
     so it blends seamlessly — the tile is mostly there to fill negative space
     on narrow widths where the JPG's edges would look abrupt. */
}
.brand__words {
  display: flex; flex-direction: column;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1;
  font-variation-settings: "SOFT" 60, "opsz" 12;
}
.brand__line1 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; font-family: var(--sans); font-weight: 600; }
.brand__line2 { font-size: 1.15rem; }

.nav {
  display: flex; gap: 1.7rem;
  justify-self: center;
  font-size: .95rem;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding: .25rem 0;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--forest);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--forest); }
.nav a:hover::after { transform: scaleX(1); }

/* mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 1px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 9px; right: 9px;
  height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ─────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────── */
.btn {
  --bg: var(--forest);
  --fg: var(--cream);
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.15rem;
  background: var(--bg); color: var(--fg);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(31,61,43,.45); }
.btn:hover svg { transform: translateX(3px); }

.btn--solid { background: var(--forest); color: var(--cream); }
.btn--solid:hover { background: var(--forest-deep); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

.btn--cream {
  background: var(--cream);
  color: var(--ink);
}
.btn--cream:hover { background: #fff; }

.btn--lg { padding: .95rem 1.5rem; font-size: 1rem; }

/* ─────────────────────────────────────────────
   GENERIC TYPOGRAPHY
   ───────────────────────────────────────────── */
.section-title {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "SOFT" 80, "opsz" 144;
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.018em;
  margin: 0;
  color: var(--ink);
}
.section-title em {
  font-style: italic;
  color: var(--forest);
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.section-title--light { color: var(--cream); }
.section-title--light em { color: var(--honey); }

.eyebrow {
  display: inline-flex; align-items: baseline; gap: .55rem;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}
.eyebrow span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  letter-spacing: 0;
  text-transform: none;
  font-size: .95rem;
}
.eyebrow--light { color: rgba(244,236,216,.7); }
.eyebrow--light span { color: var(--honey); }

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  isolation: isolate;
  max-width: 1440px;
  margin: 0 auto;
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 85% 15%, rgba(212,162,76,.18), transparent 60%),
    radial-gradient(700px 600px at 5% 90%, rgba(31,61,43,.12), transparent 60%);
  z-index: -1;
}

.hero__text {
  display: flex; flex-direction: column;
  gap: 1.2rem;
}

.hero__meta {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-soft);
  align-self: start;
  padding: .45rem .85rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255,255,255,.4);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terra);
  box-shadow: 0 0 0 4px rgba(200,75,49,.18);
  animation: pulse 2.4s infinite ease-out;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200,75,49,.18); }
  50%      { box-shadow: 0 0 0 8px rgba(200,75,49,0); }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 320;
  font-variation-settings: "SOFT" 90, "opsz" 144;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.022em;
  margin: 0;
  max-width: 14ch;
}
.hero__title em {
  font-style: italic;
  color: var(--forest);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 350;
}
.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(.4em);
  animation: rise .9s var(--ease) forwards;
}
.hero__line:nth-child(1) { animation-delay: .05s; }
.hero__line:nth-child(2) { animation-delay: .18s; }
.hero__line:nth-child(3) { animation-delay: .31s; }
.hero__line:nth-child(4) { animation-delay: .44s; }
.hero__line:nth-child(5) { animation-delay: .57s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lede {
  max-width: 50ch;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.hero__stamp {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  margin: .2rem 0 0;
}
.hero__stamp mark {
  background: var(--honey);
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
  padding: .15em .45em;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero__ctas {
  display: flex; flex-wrap: wrap; gap: .55rem;
  margin-top: .8rem;
}

/* ── photo collage ── */
.hero__collage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}
.hero__img {
  position: absolute;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 50px -28px rgba(20,42,29,.55), 0 4px 12px -4px rgba(0,0,0,.12);
  background: var(--cream-2);
}
.hero__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero__img--a {
  top: 0; left: 8%; width: 52%; aspect-ratio: 4/5;
  transform: rotate(-3deg);
  animation: floatA 9s ease-in-out infinite alternate;
  z-index: 2;
}
.hero__img--b {
  top: 18%; right: 0; width: 58%; aspect-ratio: 4/3;
  transform: rotate(2.5deg);
  animation: floatB 11s ease-in-out infinite alternate;
  z-index: 1;
}
.hero__img--c {
  bottom: 0; left: 0; width: 46%; aspect-ratio: 1/1;
  transform: rotate(-1.5deg);
  animation: floatC 13s ease-in-out infinite alternate;
  z-index: 3;
}
@keyframes floatA { to { transform: rotate(-2deg) translateY(-10px); } }
@keyframes floatB { to { transform: rotate(3.5deg) translateY(8px); } }
@keyframes floatC { to { transform: rotate(-2.5deg) translateY(-6px); } }

/* spinning badge */
.badge {
  position: absolute;
  bottom: -4%;
  right: -2%;
  width: clamp(110px, 14vw, 160px);
  aspect-ratio: 1;
  color: var(--forest);
  z-index: 5;
}
.badge__ring {
  width: 100%; height: 100%;
  animation: spin 22s linear infinite;
}
.badge__core {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--terra);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────────
   TICKER
   ───────────────────────────────────────────── */
.ticker {
  background: var(--forest);
  color: var(--cream);
  padding: 1.1rem 0;
  overflow: hidden;
  border-top: 1px solid var(--forest-deep);
  border-bottom: 1px solid var(--forest-deep);
}
.ticker__track {
  display: flex; gap: 1.5rem;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  animation: marquee 40s linear infinite;
}
.ticker__track span:nth-child(even) { color: var(--honey); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────────── */
.about {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1320px; margin: 0 auto;
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about__body p {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.about__pull {
  font-family: var(--serif) !important;
  font-style: italic;
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
  color: var(--forest) !important;
  border-left: 3px solid var(--terra);
  padding-left: 1.2rem;
  margin-top: 2rem !important;
  font-variation-settings: "SOFT" 100;
}

/* ─────────────────────────────────────────────
   IMPACT
   ───────────────────────────────────────────── */
.impact {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.impact::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(212,162,76,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .6;
  pointer-events: none;
}
.impact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.stat {
  display: grid;
  grid-template-areas:
    "num   plus"
    "num   unit"
    "label label"
    "note  note";
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: .3rem .6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(244,236,216,.25);
}
.stat__num {
  grid-area: num;
  font-family: var(--serif);
  font-weight: 250;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-size: clamp(4rem, 11vw, 8.5rem);
  line-height: .85;
  color: var(--cream);
  letter-spacing: -.04em;
}
.stat__plus {
  grid-area: plus;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--honey);
  align-self: start;
  line-height: 1;
}
.stat__unit {
  grid-area: unit;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--honey);
}
.stat__label {
  grid-area: label;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.15;
  font-variation-settings: "SOFT" 100;
  margin-top: .8rem;
}
.stat__note {
  grid-area: note;
  font-size: .9rem;
  color: rgba(244,236,216,.7);
  margin-top: .4rem;
}

/* ─────────────────────────────────────────────
   GALLERY
   ───────────────────────────────────────────── */
.gallery {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1440px; margin: 0 auto;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
  margin-top: 3rem;
}
.g {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-2);
  position: relative;
  transition: transform .4s var(--ease);
  cursor: zoom-in;
}
.g img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease), filter .4s;
  filter: saturate(.95);
}
.g:hover { transform: translateY(-3px); }
.g:hover img { transform: scale(1.05); filter: saturate(1.1); }
.g--tall  { grid-row: span 2; }
.g--wide  { grid-column: span 2; }

/* ─────────────────────────────────────────────
   SERVICES
   ───────────────────────────────────────────── */
.services {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1320px; margin: 0 auto;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}
.service {
  background: var(--cream);
  padding: 2.5rem 2rem;
  transition: background .35s var(--ease);
  position: relative;
}
.service:hover { background: var(--cream-2); }
.service__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--terra);
  display: block;
  margin-bottom: 1.2rem;
}
.service h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 80, "opsz" 36;
  font-size: 1.6rem;
  line-height: 1.15;
  margin: 0 0 .8rem;
}
.service h3 em {
  font-style: italic;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 400;
  font-variation-settings: "SOFT" 100;
}
.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.55;
}

/* ── service posters ── */
.services__posters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}
.poster-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--cream-2);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.poster-card img {
  width: 100%;
  aspect-ratio: 768/1086;
  object-fit: cover;
  object-position: top;
  display: block;
  background: var(--cream);
}
.poster-card span {
  display: block;
  padding: 1rem 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  font-variation-settings: "SOFT" 100;
}
.poster-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(20,42,29,.35); }

/* ─────────────────────────────────────────────
   CABIN APPEAL
   ───────────────────────────────────────────── */
.cabin {
  background: var(--navy);
  color: var(--bg);
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cabin > .cabin__body {
  margin: 0 auto;
  text-align: left;
  max-width: 720px;
}
.cabin > .cabin__body .cabin__tag,
.cabin > .cabin__body .cabin__title { text-align: left; }
.cabin .cabin__cta { justify-content: flex-start; }
.cabin::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(244,236,216,.15), transparent 70%);
  pointer-events: none;
}
.cabin > * { position: relative; }

.cabin__media {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 520px;
  width: 100%;
  justify-self: start;
}
.cabin__media figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
  position: absolute;
}
.cabin__media figure:first-child {
  top: 0; left: 0;
  width: 78%; aspect-ratio: 4/5;
  transform: rotate(-2deg);
  z-index: 1;
}
.cabin__media figure:first-child img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.cabin__media--secondary {
  bottom: 0; right: 0;
  width: 55%; aspect-ratio: 3/4;
  transform: rotate(3deg);
  z-index: 2;
  background: var(--cream);
}
.cabin__media--secondary img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  background: var(--cream);
}

.cabin__body { max-width: 600px; }

.cabin__tag {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(20,42,29,.25);
  border: 1px solid rgba(244,236,216,.3);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 0 0 rgba(212,162,76,.7);
  animation: ping 2s infinite;
}
@keyframes ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,162,76,.7); }
  50%      { box-shadow: 0 0 0 10px rgba(212,162,76,0); }
}

.cabin__title {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 1.5rem;
}
.cabin__title em {
  font-style: italic;
  color: var(--cream);
  display: inline-block;
  position: relative;
}
.cabin__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .05em;
  height: .12em;
  background: var(--honey);
  z-index: -1;
  opacity: .55;
}

.cabin__lede {
  max-width: 60ch;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(244,236,216,.85);
  margin: 0 0 2.5rem;
}

.cabin__progress { margin-bottom: 2rem; }
.cabin__bar {
  height: 18px;
  background: rgba(20,42,29,.3);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid rgba(244,236,216,.2);
}
.cabin__bar span {
  display: block;
  height: 100%;
  width: var(--p);
  background: linear-gradient(90deg, var(--honey), var(--cream));
  border-radius: 999px;
  position: relative;
  animation: fill 1.6s var(--ease) both;
}
@keyframes fill {
  from { width: 0; }
}
.cabin__nums {
  display: flex; gap: 2.5rem;
  flex-wrap: wrap;
}
.cabin__nums > div {
  display: flex; flex-direction: column;
}
.cabin__nums strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  font-variation-settings: "SOFT" 80;
  color: var(--cream);
}
.cabin__nums span {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244,236,216,.7);
}

.cabin__cta {
  display: flex; flex-wrap: wrap; gap: .8rem;
  margin-bottom: 3rem;
}
.cabin__cta .btn--solid { background: var(--cream); color: var(--ink); }
.cabin__cta .btn--solid:hover { background: #fff; }
.cabin__cta .btn--ghost { color: var(--cream); border-color: var(--cream); }
.cabin__cta .btn--ghost:hover { background: var(--cream); color: var(--ink); }

.cabin__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .8rem;
  font-size: .95rem;
}
.cabin__list li {
  padding: .7rem 1rem;
  background: rgba(20,42,29,.25);
  border: 1px solid rgba(244,236,216,.2);
  border-radius: 10px;
}

/* ─────────────────────────────────────────────
   HELP / GET INVOLVED
   ───────────────────────────────────────────── */
.help {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1320px; margin: 0 auto;
}
.help__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.help-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 2.5rem 2rem;
  background: var(--cream-2);
  border-radius: 16px;
  transition: transform .35s var(--ease), background .35s, box-shadow .35s;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.help-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--forest);
  transform: translateY(100%);
  transition: transform .45s var(--ease);
  z-index: -1;
}
.help-card:hover { color: var(--cream); transform: translateY(-4px); }
.help-card:hover::before { transform: translateY(0); }
.help-card:hover .help-card__cta { color: var(--honey); }

.help-card__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--terra);
  display: block;
  margin-bottom: 1.2rem;
  transition: color .35s;
}
.help-card:hover .help-card__num { color: var(--honey); }
.help-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "opsz" 60;
  font-size: 2rem;
  line-height: 1;
  margin: 0 0 .8rem;
}
.help-card p {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}
.help-card__cta {
  font-weight: 600;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--forest);
  transition: color .35s;
}

/* ─────────────────────────────────────────────
   REGISTER
   ───────────────────────────────────────────── */
.register {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1320px;
  margin: 0 auto;
}
.register__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.register__copy {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 1.5rem 0 0;
}
.register__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}
.register__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.75rem;
  background: var(--bg-soft);
  border-radius: 16px;
  transition: transform .3s var(--ease), background .3s;
}
.register__steps li:hover {
  transform: translateY(-3px);
  background: var(--bg-tint);
}
.register__num {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  background: var(--brand);
  color: var(--bg);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  font-variation-settings: "SOFT" 100;
}
.register__steps h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 80, "opsz" 36;
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0 0 .5rem;
  color: var(--ink);
}
.register__steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}
.register__steps strong { color: var(--ink); }

/* ─────────────────────────────────────────────
   VOLUNTEER
   ───────────────────────────────────────────── */
.volunteer {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.volunteer__copy {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 1.5rem 0 2rem;
}
.volunteer__copy a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(11,183,240,.4);
  transition: text-decoration-color .25s, color .25s;
}
.volunteer__copy a:hover {
  color: var(--brand-deep);
  text-decoration-color: var(--brand);
}
.volunteer__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .9rem;
}
.volunteer__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--bg-soft);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--ink-soft);
}
.volunteer__steps li span {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  background: var(--brand);
  color: var(--bg);
  border-radius: 50%;
  font-weight: 700;
  font-size: .95rem;
}
.volunteer__form {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  box-shadow: 0 16px 40px -24px rgba(14,21,37,.3);
  min-height: 720px;
}
.volunteer__form iframe {
  width: 100%;
  height: 100%;
  min-height: 720px;
  border: 0;
  display: block;
  background: var(--bg);
}
.volunteer__form-fallback {
  display: block;
  text-align: center;
  padding: .85rem 1rem;
  background: var(--bg);
  color: var(--navy-soft);
  font-size: .88rem;
  text-decoration: none;
  border-top: 1px solid var(--rule);
  transition: background .25s, color .25s;
}
.volunteer__form-fallback:hover {
  background: var(--bg-tint);
  color: var(--brand);
}

@media (max-width: 880px) {
  .register__grid,
  .volunteer { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   DONATE
   ───────────────────────────────────────────── */
.donate {
  background: var(--navy);
  color: var(--bg);
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
}
.donate__inner { max-width: 1320px; margin: 0 auto; }
.donate__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(244,236,216,.2);
}
.donate__col h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 100;
  font-style: italic;
  font-size: 1.5rem;
  margin: 0 0 .8rem;
  color: var(--honey);
}
.donate__col p {
  margin: 0 0 1.2rem;
  color: rgba(244,236,216,.8);
  line-height: 1.55;
}
.donate__col .btn { margin-right: .4rem; margin-bottom: .4rem; }

.donate__col--bank dl {
  margin: 0;
  display: grid; gap: .85rem;
  font-family: var(--sans);
}
.donate__col--bank dl > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: .5rem;
  padding-bottom: .75rem;
  border-bottom: 1px dashed rgba(244,236,216,.2);
}
.donate__col--bank dt {
  color: rgba(244,236,216,.6);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.donate__col--bank dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--cream);
}

.donate__addr {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
  color: var(--cream) !important;
}
.donate__addr strong {
  font-style: normal;
  background: var(--honey);
  color: var(--ink);
  padding: .05em .35em;
  border-radius: 4px;
}

/* ─────────────────────────────────────────────
   PARTNERS
   ───────────────────────────────────────────── */
.partners {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1320px; margin: 0 auto;
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  justify-items: center;
  margin-top: 2.5rem;
  padding: 2.5rem clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.partners__logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 60px;
}
/* All image logos: shared filter/opacity, but sizing is tuned per shape */
.partners__logo img {
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(.92);
  opacity: .58;
  transition: filter .3s, opacity .3s, transform .3s var(--ease);
}
.partners__logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* Wide wordmarks (Sainsbury's, Company Shop): use full height + wide width */
.partners__logo--wide img {
  max-height: 42px;
  max-width: 140px;
}

/* Square / logomark icons (Neighbourly, Pets at Home, Blue Cross): smaller so
   they don't dominate visually next to wide wordmarks */
.partners__logo--square img {
  max-height: 44px;
  max-width: 44px;
}

/* Text wordmarks (ASDA, Aldi): typographic logo, matched visual weight */
.partners__logo--text span {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: .03em;
  color: var(--navy-soft);
  opacity: .58;
  transition: opacity .3s, color .3s;
}
.partners__logo--text:hover span { opacity: 1; color: var(--brand); }

/* ─────────────────────────────────────────────
   INSTAGRAM FEED
   ───────────────────────────────────────────── */
.instagram {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1320px;
  margin: 0 auto;
}
.ig-feed {
  margin-top: 2.5rem;
  position: relative;
  min-height: 240px;
}
.ig-feed.has-widget .ig-fallback { display: none; }
.lightwidget-widget {
  width: 100% !important;
  border: 0;
  min-height: 400px;
  border-radius: 18px;
  overflow: hidden;
}

/* Fallback card — replaces the iframe until widget ID is configured */
.ig-fallback {
  display: grid;
  gap: 1.4rem;
  text-decoration: none;
  color: var(--bg);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,193,31,.35), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 50%, var(--navy) 100%);
  border-radius: 22px;
  padding: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
  box-shadow: 0 20px 60px -30px rgba(11,183,240,.45);
}
.ig-fallback::after {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
  pointer-events: none;
}
.ig-fallback:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -30px rgba(11,183,240,.6);
}
.ig-fallback__icon {
  display: inline-grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,.15);
  color: var(--bg);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
}
.ig-fallback__icon svg { width: 30px; height: 30px; }
.ig-fallback__handle {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 400;
  line-height: 1;
  color: var(--bg);
  letter-spacing: -.01em;
}
.ig-fallback__cta {
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 50ch;
  color: rgba(255,255,255,.88);
}

/* ─────────────────────────────────────────────
   VOICES
   ───────────────────────────────────────────── */
.voices {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1320px; margin: 0 auto;
}
.voices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.voice {
  margin: 0;
  padding: 2rem 1.8rem;
  background: var(--cream-2);
  border-radius: 14px;
  position: relative;
  transition: transform .3s var(--ease);
}
.voice:hover { transform: translateY(-3px); }
.voice::before {
  content: "\201C";
  position: absolute;
  top: -.4em; left: .4em;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--terra);
  line-height: 1;
  opacity: .35;
}
.voice blockquote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.voice figcaption {
  font-size: .85rem;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

/* nth-child colour rotation */
.voice:nth-child(2) { background: var(--sage); }
.voice:nth-child(3) { background: var(--cream-2); }
.voice:nth-child(4) { background: var(--sage); }

/* ─────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────── */
.contact {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1320px; margin: 0 auto;
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact__copy {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 1.5rem 0 2rem;
}
.contact__map {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px -30px rgba(14,21,37,.5);
  isolation: isolate;
  border: 1px solid var(--rule);
}
.contact__map iframe {
  width: 100%;
  aspect-ratio: 4/3;
  display: block;
  border: 0;
  filter: saturate(.92);
}
.contact__directions {
  position: absolute;
  bottom: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--bg);
  color: var(--navy);
  padding: .7rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  box-shadow: 0 8px 24px -8px rgba(14,21,37,.35);
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.contact__directions svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.contact__directions:hover {
  background: var(--brand);
  color: var(--bg);
  transform: translateY(-2px);
}
.contact__directions:hover svg { transform: translateX(3px); }
.contact__card {
  background: var(--forest);
  color: var(--cream);
  padding: 2.5rem;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.contact__card::before {
  content: "✦";
  position: absolute; top: 1.5rem; right: 1.5rem;
  color: var(--honey);
  font-size: 1.5rem;
}
.contact__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px dashed rgba(244,236,216,.2);
}
.contact__row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact__row:first-child { padding-top: 0; }
.contact__label {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(244,236,216,.6);
  padding-top: .25rem;
}
.contact__value {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
  font-variation-settings: "SOFT" 60;
}
.contact__value a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(244,236,216,.4);
  transition: text-decoration-color .25s, color .25s;
}
.contact__value a:hover {
  color: var(--honey);
  text-decoration-color: var(--honey);
}
.contact__value em { color: var(--honey); }

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 3rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
}
.footer__top {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(244,236,216,.15);
}
.footer__brand {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px -10px rgba(11,183,240,.4);
  transition: transform .3s var(--ease);
}
.footer__brand:hover { transform: translateY(-2px); }
.footer__wordmark {
  display: block;
  width: 200px;
  height: auto;
  aspect-ratio: 16/9;
}
.footer__tag {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  font-size: 1.3rem;
  color: var(--honey);
  margin: 0;
}
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  font-size: .82rem;
  color: rgba(244,236,216,.55);
}
.footer__bottom a {
  text-decoration: none;
  color: var(--cream);
  border-bottom: 1px solid rgba(244,236,216,.3);
  transition: border-color .2s;
}
.footer__bottom a:hover { border-color: var(--honey); color: var(--honey); }

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__collage {
    max-width: 480px;
    margin: 0 auto;
    justify-self: center;
  }
  .cabin { grid-template-columns: 1fr; }
  .cabin__media {
    margin: 0 auto;
    justify-self: center;
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
}

@media (max-width: 960px) {
  .topbar { grid-template-columns: auto 1fr auto auto; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(85vw, 360px);
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    box-shadow: -24px 0 50px -20px rgba(14,21,37,.28);
    border-left: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 5.5rem 0 1.5rem;
    gap: 0;
    font-size: 1.25rem;
    font-family: var(--serif);
    font-variation-settings: "SOFT" 100, "opsz" 60;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .4s var(--ease), visibility 0s linear .4s;
    z-index: 99;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open {
    visibility: visible;
    transform: translateX(0);
    transition: transform .4s var(--ease), visibility 0s linear 0s;
  }
  .nav a {
    color: var(--ink);
    padding: 1rem 1.75rem;
    border-bottom: 1px solid var(--rule);
    text-decoration: none;
    transition: background .25s, color .25s, padding-left .25s var(--ease);
  }
  .nav a::after { display: none; }
  .nav a:hover,
  .nav a:focus-visible {
    color: var(--brand);
    background: var(--bg-tint);
    padding-left: 2rem;
  }
  .menu-toggle { display: inline-block; position: relative; z-index: 101; }

  /* dim backdrop when nav is open */
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(14,21,37,.45);
    z-index: 98;
    animation: navfade .3s ease forwards;
  }
  @keyframes navfade { from { opacity: 0; } to { opacity: 1; } }

  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .impact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .stat { border-top-width: 1px; }
}

@media (max-width: 880px) {
  .partners__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1rem;
    padding: 2rem 1rem;
  }
  .partners__logo { height: 48px; }
  .partners__logo--text span { font-size: 1.2rem; }
}

@media (max-width: 720px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 10px;
  }
  .g--wide { grid-column: span 2; }
  .g--tall { grid-row: span 2; }

  .cabin__media { aspect-ratio: 3/4; }
  .cabin__media figure:first-child { width: 82%; }
  .cabin__media--secondary { width: 50%; }

  .services__posters { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__wordmark { width: 160px; }
}

@media (max-width: 560px) {
  .partners__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem .75rem;
  }
}

@media (max-width: 520px) {
  .hero__meta {
    font-size: .72rem;
    padding: .35rem .7rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero { padding-top: 1.5rem; gap: 1.5rem; }
  .hero__title { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .hero__collage { max-width: 300px; aspect-ratio: 5/4; }
  .hero__img--a { width: 54%; }
  .hero__img--b { width: 60%; }
  .hero__img--c { width: 48%; }
  .badge { width: 78px; bottom: -10%; right: -4%; }
  .hero__ctas .btn { padding: .8rem 1.2rem; font-size: .92rem; }

  .topbar { padding: .65rem 1rem; gap: .8rem; }
  .topbar .btn { padding: .5rem .85rem; font-size: .82rem; }
  .topbar .btn svg { display: none; }
  .brand__line1 { display: none; }
  .brand__line2 { font-size: 1rem; }
  .brand__logo { width: 36px; height: 36px; }

  .gallery__grid { grid-auto-rows: 120px; gap: 8px; }

  .section-title { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .cabin__title { font-size: clamp(2.2rem, 10vw, 3.4rem); }

  .stat__num { font-size: clamp(3.5rem, 18vw, 6rem); }

  .donate__col--bank dl > div {
    grid-template-columns: 1fr;
    gap: .15rem;
  }

  .contact__row { grid-template-columns: 1fr; gap: .3rem; }
  .contact__row .contact__label { padding-top: 0; }

  .ticker__track { font-size: 1.1rem; gap: 1rem; }
}

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