/* ==========================================================
   Dixville Community Clinic — WordPress theme styles
   Brand colors below are defaults; the Customizer overrides them
   with an inline :root block (see dx_color_css() in functions.php).
   ========================================================== */

:root {
  --primary: #0633aa;
  --primary-dark: #04227a;
  --primary-rgb: 6, 51, 170;
  --secondary: #157efe;
  --secondary-rgb: 21, 126, 254;
  --secondary-light: #8cc0ff;
  --navy: #0b1240;
  --navy-rgb: 11, 18, 64;
  --navy-2: #121a52;
  --navy-deep: #070c2e;
  --red: #e11d2a;
  --red-rgb: 225, 29, 42;
  --red-light: #ff4757;
  --white: #ffffff;
  --light: #f4f7ff;
  --text: #1d2440;
  --muted: #5b6487;

  --grad: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --grad-soft: linear-gradient(135deg, rgba(var(--primary-rgb), .92) 0%, rgba(var(--secondary-rgb), .78) 100%);

  --font-head: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(var(--primary-rgb), .35);
  --shadow-lg: 0 35px 80px -25px rgba(var(--primary-rgb), .5);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--secondary); color: #fff; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 120px 0; position: relative; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--secondary);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--secondary-light); }

.section-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; color: var(--primary);
  margin-bottom: 18px;
}
.section-title--light { color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 70px; }
.section-head .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

.text-gradient {
  background: linear-gradient(90deg, var(--secondary-light), var(--secondary), var(--secondary-light), var(--secondary));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradientMove 6s linear infinite;
}
.text-highlight {
  background: linear-gradient(90deg, var(--secondary-light), #fff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 50px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
}
.btn:hover { transform: translateY(-3px); }
.btn--sm { padding: 8px 22px; font-size: .88rem; }
.btn--lg { padding: 16px 38px; font-size: 1.05rem; }

.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 25px -8px rgba(var(--secondary-rgb), .7); }
.btn--primary:hover { box-shadow: 0 18px 35px -10px rgba(var(--secondary-rgb), .85); }

.btn--red { background: linear-gradient(135deg, var(--red), var(--red-light)); color: #fff; box-shadow: 0 10px 25px -8px rgba(var(--red-rgb), .7); }
.btn--red:hover { box-shadow: 0 18px 35px -10px rgba(var(--red-rgb), .85); }

.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--primary); border-color: #fff; }

.btn--glass {
  background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .22); }
.play-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center;
  margin-left: -14px; padding: 8px; color: #fff; animation: pulseRed 2s infinite;
}
.play-icon svg { fill: #fff; stroke: none; }

.btn--shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--shine:hover::after { transform: translateX(120%); }

.btn--arrow { padding-right: 8px; }
.btn__arrow {
  width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; padding: 9px; transition: transform .4s var(--ease);
}
.btn--arrow:hover .btn__arrow { transform: rotate(-45deg) scale(1.08); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--navy);
  display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader__inner { position: relative; display: grid; place-items: center; }
.preloader__inner img {
  width: 170px; background: #fff; padding: 14px 18px; border-radius: 20px; position: relative; z-index: 2;
  animation: preloaderBeat 1.4s ease-in-out infinite;
}
.preloader__pulse {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  border: 3px solid var(--secondary); animation: ripple 1.6s ease-out infinite;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1001;
  background: linear-gradient(90deg, var(--secondary), var(--red));
  box-shadow: 0 0 10px var(--secondary);
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-h);
  background: linear-gradient(180deg, rgba(var(--navy-rgb), .75), rgba(var(--navy-rgb), 0));
  transition: background .4s, height .4s var(--ease), box-shadow .4s, backdrop-filter .4s;
}
.header.scrolled {
  height: 72px; background: rgba(var(--navy-rgb), .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo img {
  height: 58px; width: auto; background: #fff; padding: 5px 10px; border-radius: 12px;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4); transition: height .4s var(--ease), transform .4s var(--ease);
}
.header.scrolled .logo img { height: 50px; }
.logo:hover img { transform: scale(1.04) rotate(-1deg); }

.nav { display: flex; align-items: center; gap: 40px; margin-left: auto; margin-right: 36px; }
.header__right { display: flex; align-items: center; gap: 12px; }
.btn--donate { padding: 10px 24px; font-weight: 600; }
.btn__heart { width: 16px; height: 16px; fill: #fff; stroke: none; animation: preloaderBeat 1.4s ease-in-out infinite; }
.nav__list { display: flex; gap: 34px; }
.nav__link {
  position: relative; color: #fff; font-weight: 600; font-size: .98rem; padding: 6px 0; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 0; height: 3px; border-radius: 3px;
  background: var(--secondary); transform: translateX(-50%); transition: width .35s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--secondary-light); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.burger { display: none; width: 46px; height: 46px; border: 0; background: rgba(255, 255, 255, .1); border-radius: 12px; cursor: pointer; position: relative; z-index: 1002; }
.burger span { position: absolute; left: 12px; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .4s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.burger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; padding: calc(var(--header-h) + 40px) 0 60px; overflow: hidden; color: #fff;
}
.hero__bg {
  position: absolute; inset: -40px; background-size: cover; background-position: center;
  animation: kenBurns 22s ease-in-out infinite alternate; will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(var(--secondary-rgb), .35), transparent 55%),
    linear-gradient(180deg, rgba(var(--navy-rgb), .85) 0%, rgba(var(--primary-rgb), .55) 50%, rgba(var(--navy-rgb), .92) 100%);
}
.hero__shapes .shape { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; }
.shape--1 { width: 340px; height: 340px; border: 2px solid rgba(140, 192, 255, .35); top: 12%; right: -80px; animation: spin 30s linear infinite; border-style: dashed; }
.shape--2 { width: 16px; height: 16px; background: var(--red); top: 28%; left: 10%; animation: floatY 5s ease-in-out infinite; }
.shape--3 { width: 24px; height: 24px; background: var(--secondary); bottom: 30%; right: 18%; animation: floatY 6s ease-in-out infinite 1s; }

.hero__content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px; border-radius: 50px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .88rem; font-weight: 500; letter-spacing: .03em;
}
.badge__dot { width: 9px; height: 9px; border-radius: 50%; background: #3dff9b; box-shadow: 0 0 0 0 rgba(61, 255, 155, .7); animation: pulseGreen 2s infinite; }

.hero__title {
  font-family: var(--font-body); font-weight: 700; font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.08; margin: 26px 0 20px; text-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.hero__text { max-width: 640px; font-size: clamp(1rem, 1.6vw, 1.18rem); font-weight: 300; opacity: .92; margin-bottom: 38px; }
.hero__buttons { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

[data-hero] { opacity: 0; transform: translateY(40px); }
body.loaded [data-hero] { animation: heroIn 1s var(--ease) forwards; }
body.loaded [data-hero="1"] { animation-delay: .1s; }
body.loaded [data-hero="2"] { animation-delay: .25s; }
body.loaded [data-hero="3"] { animation-delay: .4s; }
body.loaded [data-hero="4"] { animation-delay: .55s; }
body.loaded [data-hero="5"] { animation-delay: .75s; }

.hero__features {
  position: relative; z-index: 2; margin-top: 70px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg); overflow: hidden;
}
.hero-feature { display: flex; align-items: center; gap: 16px; padding: 26px 30px; transition: background .4s; }
.hero-feature + .hero-feature { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-feature:hover { background: rgba(var(--secondary-rgb), .25); }
.hero-feature__icon {
  flex: none; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); padding: 14px; color: #fff;
  box-shadow: 0 10px 25px -8px rgba(var(--secondary-rgb), .8); transition: transform .5s var(--ease);
}
.hero-feature:hover .hero-feature__icon { transform: rotate(-8deg) scale(1.1); }
.hero-feature h4 { font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; }
.hero-feature p { font-size: .85rem; opacity: .75; }

.scroll-down {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px;
}
.scroll-down span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollWheel 1.8s infinite; }

/* ---------- About ---------- */
.about { background: #fff; overflow: hidden; }
.about::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), .12), transparent 70%);
}
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; position: relative; }
.about__title { letter-spacing: .14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__content p { color: #363e5f; font-size: 1.04rem; margin-bottom: 18px; }
.about__content strong { color: var(--primary); }
.about__quote {
  position: relative; margin: 26px 0 34px; padding: 22px 26px 22px 30px; border-left: 4px solid var(--secondary);
  background: linear-gradient(90deg, rgba(var(--secondary-rgb), .08), transparent); border-radius: 0 16px 16px 0;
  font-style: italic; color: var(--primary-dark); font-weight: 500;
}
.about__quote::before {
  content: "\201C"; position: absolute; top: -26px; right: 16px; font-size: 6rem; font-family: Georgia, serif;
  color: rgba(var(--secondary-rgb), .18); line-height: 1;
}

.about__media { position: relative; padding: 0 0 70px 50px; }
.about__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__img:hover img { transform: scale(1.07); }
.about__img--main { aspect-ratio: 4/4.4; position: relative; z-index: 1; }
.about__img--main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(var(--primary-rgb), .45)); }
.about__img--small {
  position: absolute; width: 48%; aspect-ratio: 4/3; left: 0; bottom: 0; z-index: 2;
  border: 6px solid #fff; animation: floatY 6s ease-in-out infinite;
}
.about__floating-card {
  position: absolute; top: 40px; right: -20px; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow);
  animation: floatY 5s ease-in-out infinite .8s;
}
.about__floating-card strong { display: block; color: var(--primary); font-family: var(--font-head); font-size: .95rem; line-height: 1.3; }
.about__floating-card span { font-size: .8rem; color: var(--muted); }
.about__floating-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--red); color: #fff; padding: 10px; stroke-width: 3; }
.about__floating-icon svg { stroke-width: 3.5; }
.about__dots {
  position: absolute; right: -30px; bottom: 40px; width: 140px; height: 140px; z-index: 0;
  background-image: radial-gradient(var(--secondary) 2px, transparent 2px); background-size: 18px 18px; opacity: .35;
}

/* ---------- Mission ---------- */
.mission { position: relative; background: var(--light); padding-bottom: 120px; }
.mission__hero {
  position: relative; padding: 150px 0 230px; background-size: cover; background-position: center 30%; color: #fff; overflow: hidden;
}
.mission__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(var(--navy-rgb), .9), rgba(var(--primary-rgb), .7)); }
.mission__hero .container { position: relative; z-index: 1; }
.mission__title {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 3.8vw, 3rem); line-height: 1.25; max-width: 980px;
}

.mission__cards {
  position: relative; z-index: 2; margin-top: -150px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.mission-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 40px 28px 34px; text-align: center;
  box-shadow: 0 25px 60px -25px rgba(var(--navy-rgb), .35); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.mission-card::before {
  content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0;
  transform: translateY(100%); transition: transform .6s var(--ease), opacity .4s;
}
.mission-card > * { position: relative; z-index: 1; }
.mission-card:hover { transform: translateY(-14px); box-shadow: var(--shadow-lg); }
.mission-card:hover::before { opacity: 1; transform: translateY(0); }
.mission-card__icon {
  width: 92px; height: 92px; margin: 0 auto 24px; padding: 20px; border-radius: 26px;
  background: var(--grad); color: #fff; box-shadow: 0 15px 30px -10px rgba(var(--secondary-rgb), .7);
  transition: transform .6s var(--ease), background .4s, color .4s;
}
.mission-card__icon svg { stroke-width: 2.6; }
.mission-card:hover .mission-card__icon { background: #fff; color: var(--primary); transform: rotateY(360deg); }
.mission-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.32rem; line-height: 1.25; color: var(--primary); margin-bottom: 12px; transition: color .4s; }
.mission-card p { font-size: .93rem; color: var(--muted); transition: color .4s; }
.mission-card:hover h3, .mission-card:hover p { color: #fff; }
.mission-card__num {
  position: absolute !important; top: 12px; right: 20px; font-family: var(--font-head); font-weight: 800; font-size: 3rem;
  color: rgba(var(--primary-rgb), .07); transition: color .4s;
}
.mission-card:hover .mission-card__num { color: rgba(255, 255, 255, .18); }

/* ---------- Commitment ---------- */
.commitment { position: relative; padding: 130px 0; background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.commitment__overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(var(--navy-rgb), .92), rgba(var(--primary-rgb), .78) 60%, rgba(var(--navy-rgb), .9)); }
.commitment__inner { position: relative; z-index: 1; }
.commitment__head { max-width: 700px; margin-bottom: 56px; }
.commitment__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.glass-card {
  position: relative; padding: 34px 34px 34px 34px; border-radius: var(--radius-lg);
  background: rgba(var(--secondary-rgb), .16); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .5s var(--ease), background .4s, border-color .4s;
}
.glass-card:hover { transform: translateY(-8px); background: rgba(var(--secondary-rgb), .28); border-color: rgba(140, 192, 255, .5); }
.glass-card__icon {
  width: 56px; height: 56px; border-radius: 16px; padding: 14px; margin-bottom: 18px;
  background: #fff; color: var(--primary); box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .4);
  transition: transform .5s var(--ease);
}
.glass-card:hover .glass-card__icon { transform: scale(1.1) rotate(8deg); }
.glass-card p { font-size: 1.02rem; line-height: 1.75; opacity: .93; }
.commitment__heart { position: absolute; right: 3%; bottom: 30px; width: 190px; z-index: 1; opacity: .95; filter: drop-shadow(0 15px 30px rgba(0, 0, 0, .35)); }
.commitment__heart svg { stroke: none; }

/* ---------- Journey / Timeline ---------- */
.journey { background: #fff; }
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: #e3eafc; border-radius: 4px; }
.timeline__progress { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--secondary), var(--primary)); border-radius: 4px; }
.timeline__item { position: relative; width: 50%; padding: 0 60px 60px 0; }
.timeline__item:nth-child(odd) { margin-left: 50%; padding: 0 0 60px 60px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; top: 24px; right: -24px; width: 48px; height: 48px; border-radius: 50%; z-index: 2;
  display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 800;
  border: 5px solid #fff; box-shadow: 0 8px 20px -6px rgba(var(--secondary-rgb), .8);
}
.timeline__item:nth-child(odd) .timeline__dot { right: auto; left: -24px; }
.timeline__dot--pulse { background: linear-gradient(135deg, var(--red), var(--red-light)); animation: pulseRed 2s infinite; }
.timeline__card {
  display: flex; gap: 20px; align-items: center; background: var(--light); padding: 16px; border-radius: 22px;
  border: 1px solid #e3eafc; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s;
}
.timeline__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.timeline__card img { width: 130px; height: 130px; object-fit: cover; border-radius: 16px; flex: none; }
.timeline__card h3 { font-family: var(--font-head); font-size: 1.12rem; color: var(--primary); line-height: 1.3; margin: 6px 0; }
.timeline__card p { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.timeline__card--highlight { background: linear-gradient(135deg, #fff2f3, #eef4ff); border-color: #ffd0d4; }
.timeline__tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 12px; border-radius: 30px; background: rgba(var(--secondary-rgb), .12); color: var(--secondary);
}
.timeline__tag--red { background: rgba(var(--red-rgb), .12); color: var(--red); }

/* ---------- Gallery ---------- */
.gallery { position: relative; padding: 130px 0; background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.gallery__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--navy-rgb), .93), rgba(var(--navy-rgb), .88) 50%, rgba(var(--navy-rgb), .96)); }
.gallery__inner { position: relative; z-index: 1; text-align: center; }
.gallery__inner .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.gallery__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.3; max-width: 1000px; margin: 0 auto 60px; }

.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 20px; }
.gallery__item { position: relative; border-radius: 22px; overflow: hidden; cursor: zoom-in; box-shadow: 0 20px 45px -20px rgba(0, 0, 0, .6); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(var(--primary-rgb), .85));
  opacity: 0; transition: opacity .5s;
}
.gallery__item figcaption {
  position: absolute; left: 22px; bottom: 18px; z-index: 1; font-weight: 600; font-size: 1.05rem; text-align: left;
  transform: translateY(20px); opacity: 0; transition: .5s var(--ease);
}
.gallery__item figcaption::before {
  content: "+"; display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px;
  border-radius: 50%; background: var(--red); font-size: 1.2rem; line-height: 1;
}
.gallery__item:hover img { transform: scale(1.1); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover figcaption { transform: translateY(0); opacity: 1; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--navy); padding: 0 0 0; }
.cta__inner {
  position: relative; z-index: 3; margin-bottom: -110px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 50px 60px; border-radius: var(--radius-lg); background: var(--grad); color: #fff; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(var(--secondary-rgb), .6);
}
.cta__inner::before, .cta__inner::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); }
.cta__inner::before { width: 300px; height: 300px; right: -80px; top: -150px; animation: spin 25s linear infinite; border-style: dashed; }
.cta__inner::after { width: 200px; height: 200px; left: -60px; bottom: -120px; background: rgba(255, 255, 255, .06); }
.cta__text { position: relative; z-index: 1; max-width: 600px; }
.cta__text h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; margin-bottom: 8px; }
.cta__text p { opacity: .9; }
.cta__buttons { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { position: relative; padding: 220px 0 120px; background-size: cover; background-position: center; color: #fff; }
.contact__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--navy-rgb), .96), rgba(var(--navy-rgb), .82)); }
.contact .container { position: relative; z-index: 1; }
.contact__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
  padding: 60px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.contact__form h3 { font-family: var(--font-head); font-size: 1.7rem; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { position: relative; margin-bottom: 18px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 22px 16px 8px; border-radius: 12px; border: 2px solid transparent;
  background: #f7f9ff; color: var(--text); font-size: .98rem; outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230633aa' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.form-group label {
  position: absolute; left: 18px; top: 16px; color: #7a83a6; font-size: .95rem; pointer-events: none;
  transition: .3s var(--ease);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--secondary); box-shadow: 0 0 0 5px rgba(var(--secondary-rgb), .25); }
.form-group input:focus + label, .form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label, .form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label, .form-group select:valid + label {
  top: 5px; font-size: .72rem; color: var(--secondary); font-weight: 600;
}
.form-group.error input, .form-group.error textarea, .form-group.error select { border-color: var(--red); animation: shake .4s; }

.btn--submit { border-radius: 10px; padding: 14px 34px; }
.btn--submit svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn--submit:hover svg { transform: translate(4px, -4px); }
.btn--submit.loading { pointer-events: none; opacity: .8; }

.contact__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.05; margin-bottom: 22px; }
.contact__title span { background: linear-gradient(90deg, var(--secondary), var(--secondary-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact__info > p { font-size: 1.05rem; opacity: .88; margin-bottom: 16px; letter-spacing: .02em; }
.contact__list { margin-top: 30px; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list a:hover { color: var(--secondary-light); }
.contact__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); padding: 12px; color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); padding: 80px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 50px; }
.logo--footer img { height: 70px; margin-bottom: 20px; }
.footer__brand p { max-width: 340px; font-size: .95rem; }
.footer h4 { color: #fff; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--secondary); }
.footer ul li { margin-bottom: 10px; font-size: .94rem; }
.footer ul a { transition: color .3s, padding-left .3s; }
.footer ul a:hover { color: var(--secondary-light); padding-left: 6px; }
.footer__bottom { text-align: center; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(var(--navy-rgb), .94); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: .4s; padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 85vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform: scale(.85); transition: transform .5s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12);
  width: 54px; height: 54px; border-radius: 50%; font-size: 2rem; line-height: 1; transition: background .3s, transform .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--secondary); transform: scale(1.08); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; margin-top: -27px; }
.lightbox__nav--next { right: 24px; top: 50%; margin-top: -27px; }

/* ---------- Donate modal ---------- */
.donate-modal {
  position: fixed; inset: 0; z-index: 2050; display: grid; place-items: center; padding: 20px;
  background: rgba(var(--navy-rgb), .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.donate-modal.open { opacity: 1; visibility: visible; }
.donate-modal__box {
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); padding: 40px 34px 30px; text-align: center;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .6);
  transform: translateY(40px) scale(.94); transition: transform .5s var(--ease);
}
.donate-modal.open .donate-modal__box { transform: none; }
.donate-modal__box::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--primary), var(--secondary), var(--red));
}
.donate-modal__close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--light); color: var(--primary); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .3s, transform .3s;
}
.donate-modal__close:hover { background: #e3eafc; transform: rotate(90deg); }
.donate-modal__icon {
  width: 68px; height: 68px; margin: 0 auto 16px; padding: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-light)); animation: pulseRed 2s infinite;
}
.donate-modal__icon svg { fill: #fff; stroke: none; }
.donate-modal__head h3 { font-family: var(--font-head); font-size: 1.4rem; color: var(--primary); line-height: 1.25; margin-bottom: 6px; }
.donate-modal__head p { color: var(--muted); font-size: .93rem; margin-bottom: 24px; }

.donate-modal__amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.donate-modal__amounts button {
  padding: 13px 0; border-radius: 14px; border: 2px solid #e3eafc; background: #fff; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--primary);
  transition: .3s var(--ease);
}
.donate-modal__amounts button:hover { border-color: var(--secondary); transform: translateY(-2px); }
.donate-modal__amounts button.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -8px rgba(var(--secondary-rgb), .8); }

.donate-modal__custom {
  display: flex; align-items: center; gap: 8px; padding: 0 16px; margin-bottom: 20px;
  border: 2px solid #e3eafc; border-radius: 14px; transition: border-color .3s, box-shadow .3s;
}
.donate-modal__custom:focus-within { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(var(--secondary-rgb), .18); }
.donate-modal__custom span { font-weight: 700; color: var(--primary); }
.donate-modal__custom em { font-style: normal; font-size: .8rem; font-weight: 600; color: var(--muted); }
.donate-modal__custom input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 13px 0; font-size: 1rem; color: var(--text); background: transparent; }
.donate-modal__custom input::-webkit-outer-spin-button, .donate-modal__custom input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.donate-modal__custom input[type=number] { -moz-appearance: textfield; appearance: textfield; }

.paypal-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
  padding: 15px 20px; border: 0; border-radius: 50px; cursor: pointer;
  background: #ffc439; color: #111; font-size: 1rem; font-weight: 500;
  transition: transform .3s var(--ease), box-shadow .3s, filter .3s;
}
.paypal-btn:hover { transform: translateY(-2px); filter: brightness(.97); box-shadow: 0 12px 25px -10px rgba(255, 170, 0, .8); }
.paypal-btn__logo { font-family: Verdana, sans-serif; font-style: italic; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.paypal-btn__logo b { color: #003087; }
.paypal-btn__logo i { color: #009cde; }
.donate-modal__note { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.donate-modal__note svg { width: 15px; height: 15px; flex: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 2100; transform: translate(-50%, 200px); visibility: hidden;
  background: #fff; color: var(--text); padding: 16px 26px; border-radius: 14px; font-weight: 500;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .35); border-left: 5px solid #22c55e; transition: transform .5s var(--ease);
  max-width: calc(100% - 40px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast.toast--error { border-left-color: var(--red); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 52px; height: 52px; border-radius: 16px;
  background: var(--grad); color: #fff; padding: 14px; box-shadow: 0 12px 30px -8px rgba(var(--secondary-rgb), .8);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-5px); }

/* ---------- Scroll reveal ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-zoom {
  opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal { transform: translateY(50px); }
.reveal-left { transform: translateX(-70px); }
.reveal-right { transform: translateX(70px); }
.reveal-zoom { transform: scale(.9); }
.in-view { opacity: 1; transform: none; }

.tilt { transition: transform .4s var(--ease); will-change: transform; }
.float { animation: floatY 5s ease-in-out infinite; }
.parallax { background-attachment: fixed; }

/* ---------- Keyframes ---------- */
@keyframes kenBurns { 0% { transform: scale(1) translate(0, 0); } 100% { transform: scale(1.15) translate(-20px, -10px); } }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes gradientMove { to { background-position: 300% 0; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scrollWheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(16px); } }
@keyframes pulseRed { 0% { box-shadow: 0 0 0 0 rgba(var(--red-rgb), .7); } 70% { box-shadow: 0 0 0 16px rgba(var(--red-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0); } }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(61, 255, 155, .7); } 70% { box-shadow: 0 0 0 10px rgba(61, 255, 155, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 255, 155, 0); } }
@keyframes preloaderBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.08); } 30% { transform: scale(1); } 45% { transform: scale(1.05); } }
@keyframes ripple { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- WordPress specifics ---------- */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }

/* Layout adapts when items are removed in the Customizer */
.mission__cards--1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.mission__cards--2 { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.mission__cards--3 { grid-template-columns: repeat(3, 1fr); }
.hero__features--1 { grid-template-columns: 1fr; max-width: 480px; }
.hero__features--2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; }

/* Section neighbours */
.cta--standalone { padding: 0 0 100px; }
.cta--standalone .cta__inner { margin-bottom: 0; }
.contact--no-cta { padding-top: 120px; }

/* Honeypot (spam protection) */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Inner pages (blog, pages, 404) */
.page-banner {
  position: relative; padding: calc(var(--header-h) + 70px) 0 70px; color: #fff; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--primary));
}
.page-banner::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .18); animation: spin 30s linear infinite;
}
.page-banner__title { position: relative; z-index: 1; font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; }
.page-content { padding: 80px 0; }
.container--narrow { width: min(820px, 100% - 40px); }
.entry + .entry { margin-top: 50px; padding-top: 50px; border-top: 1px solid #e3eafc; }
.entry__title { font-family: var(--font-head); font-size: 1.6rem; line-height: 1.3; margin-bottom: 4px; }
.entry__title a { color: var(--primary); transition: color .3s; }
.entry__title a:hover { color: var(--secondary); }
.entry__meta { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.entry__thumb img { border-radius: var(--radius); margin-bottom: 24px; height: auto; }
.entry__content > * + * { margin-top: 1.1em; }
.entry__content h2, .entry__content h3, .entry__content h4 { font-family: var(--font-head); color: var(--primary); line-height: 1.3; margin-top: 1.6em; }
.entry__content a { color: var(--secondary); text-decoration: underline; }
.entry__content ul, .entry__content ol { padding-left: 1.4em; list-style: revert; }
.entry__content img { height: auto; border-radius: 12px; }
.entry__content blockquote { border-left: 4px solid var(--secondary); padding: 10px 20px; background: var(--light); border-radius: 0 12px 12px 0; font-style: italic; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
.nav-links .page-numbers { padding: 8px 16px; border-radius: 10px; background: var(--light); color: var(--primary); font-weight: 600; }
.nav-links .page-numbers.current { background: var(--grad); color: #fff; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mission__cards { grid-template-columns: repeat(2, 1fr); }
  .about__grid { gap: 50px; }
  .nav__list { gap: 24px; }
  .nav { gap: 26px; }
}

@media (max-width: 960px) {
  .section { padding: 90px 0; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 85vw); height: 100vh; height: 100dvh;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px; padding: 40px;
    background: linear-gradient(160deg, var(--navy), var(--primary));
    transform: translateX(100%); visibility: hidden;
    transition: transform .6s var(--ease), visibility 0s linear .6s, box-shadow .6s;
  }
  .nav.open {
    transform: translateX(0); visibility: visible; box-shadow: -20px 0 50px rgba(0, 0, 0, .4);
    transition: transform .6s var(--ease), visibility 0s, box-shadow .6s;
  }
  .nav__list { flex-direction: column; gap: 22px; }
  .nav__link { font-size: 1.4rem; }
  .nav.open .nav__list li { animation: heroIn .6s var(--ease) both; }
  .nav.open .nav__list li:nth-child(1) { animation-delay: .15s; }
  .nav.open .nav__list li:nth-child(2) { animation-delay: .22s; }
  .nav.open .nav__list li:nth-child(3) { animation-delay: .29s; }
  .nav.open .nav__list li:nth-child(4) { animation-delay: .36s; }
  .nav.open .nav__list li:nth-child(5) { animation-delay: .43s; }

  .hero__features { grid-template-columns: 1fr; margin-top: 50px; }
  .hero-feature + .hero-feature { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .hero-feature { padding: 18px 24px; }
  .scroll-down { display: none; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; margin: 0 auto; width: 100%; padding-left: 30px; }
  .about__floating-card { right: 0; }

  .commitment__grid { grid-template-columns: 1fr; }
  .commitment__heart { width: 120px; opacity: .5; }

  .timeline__line { left: 24px; }
  .timeline__item, .timeline__item:nth-child(odd) { width: 100%; margin-left: 0; padding: 0 0 40px 74px; }
  .timeline__dot, .timeline__item:nth-child(odd) .timeline__dot { left: 0; right: auto; }
  .reveal-left, .reveal-right { transform: translateY(50px); }
  .in-view { transform: none; }

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

  .cta__inner { padding: 40px 32px; }
  .contact__card { grid-template-columns: 1fr; gap: 50px; padding: 40px 30px; }
  .contact__info { order: -1; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .parallax { background-attachment: scroll; }
}

@media (max-width: 600px) {
  :root { --header-h: 76px; }
  .btn--donate { padding: 8px 16px; font-size: .85rem; }
  .donate-modal__box { padding: 36px 22px 24px; }
  .logo img { height: 48px; }
  .header.scrolled .logo img { height: 44px; }
  .hero__buttons .btn { width: 100%; }
  .hero__buttons { width: 100%; max-width: 340px; }
  .mission__cards { grid-template-columns: 1fr; margin-top: -120px; }
  .mission__hero { padding: 110px 0 180px; }
  .about__floating-card { top: 10px; padding: 10px 14px; }
  .about__media { padding-left: 16px; padding-bottom: 50px; }
  .timeline__card { flex-direction: column; align-items: flex-start; }
  .timeline__card img { width: 100%; height: 180px; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 1; }
  .gallery__item figcaption { opacity: 1; transform: none; }
  .gallery__item::after { opacity: .8; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cta__buttons .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-hero], .reveal, .reveal-left, .reveal-right, .reveal-zoom { opacity: 1; transform: none; }
}
