/* I Also Help Charity — visual system */

:root {
  --ink: #13283b;
  --ink-soft: #244259;
  --cyan: #0aa9df;
  --cyan-dark: #087ea8;
  --cobalt: #2d4fc3;
  --indigo: #5b50d6;
  --terracotta: #c87059;
  --paper: #fbfaf5;
  --paper-deep: #f2f1e9;
  --mint: #e4f5ef;
  --yellow: #fff0c8;
  --line: rgba(19, 40, 59, 0.17);
  --line-light: rgba(251, 250, 245, 0.25);
  --muted: #5c6d79;
  --container: min(1200px, calc(100% - 48px));
  --header-height: 72px;
  --radius: 8px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.78'/%3E%3C/svg%3E");
}

main section[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

p,
h1,
h2,
h3,
figure,
fieldset {
  margin: 0;
}

h1,
h2,
h3,
.brand strong,
.goal-numbers strong {
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -.045em;
}

h1 em,
h2 em {
  color: var(--cobalt);
  font-style: normal;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1100;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only input,
.footer-signup input.sr-only {
  width: 1px;
  min-width: 1px;
  min-height: 1px;
  padding: 0;
  border: 0;
}

[hidden] {
  display: none !important;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 900;
  top: 0;
  height: var(--header-height);
  background: rgba(251, 250, 245, .94);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: rgba(251, 250, 245, .98);
  border-color: var(--line);
  box-shadow: 0 7px 24px rgba(19, 40, 59, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}

.brand img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 0;
  line-height: 1.05;
}

.brand strong {
  font-size: 17px;
  letter-spacing: -.055em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.7vw, 26px);
  font-size: 12px;
  font-weight: 600;
}

.site-nav > a:not(.nav-cta),
.language-toggle {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .2s ease;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.site-nav > a:not(.nav-cta):hover,
.site-nav > a:not(.nav-cta):focus-visible,
.site-nav > a:not(.nav-cta).active,
.language-toggle:hover,
.language-toggle:focus-visible {
  color: var(--cobalt);
}

.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a:not(.nav-cta):focus-visible::after,
.site-nav > a:not(.nav-cta).active::after {
  transform: scaleX(1);
}

.language-toggle {
  padding: 4px 0;
  color: var(--cobalt);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.nav-cta,
.button-primary {
  color: var(--paper);
  background: linear-gradient(110deg, var(--cyan), var(--cobalt));
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 14px;
  align-items: center;
  border-radius: 4px;
  box-shadow: 0 5px 13px rgba(45, 79, 195, .15);
  transition: transform .2s ease, box-shadow .2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  box-shadow: 0 8px 18px rgba(45, 79, 195, .25);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Shared content */
.section {
  padding: 6rem 0;
}

.section-index {
  color: var(--cyan-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.display-title {
  max-width: 720px;
  font-size: clamp(2.45rem, 5.3vw, 5.15rem);
  line-height: .99;
}

.display-title em {
  display: inline-block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cobalt);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.person-role {
  margin: .55rem 0 0;
  color: var(--cobalt);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow-mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--terracotta);
  border-radius: 50%;
}

.section-lede {
  max-width: 630px;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 9px 19px rgba(19, 40, 59, .16);
  transform: translateY(-2px);
}

.button:disabled,
.footer-signup button:disabled {
  cursor: wait;
  opacity: .62;
  pointer-events: none;
  transform: none;
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--cobalt);
}

.button-wide {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  min-height: 44px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  transition: color .2s ease, gap .2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  gap: 16px;
  color: var(--cobalt);
}

/* Hero */
.hero {
  padding: 3rem 0 1.25rem;
  background: linear-gradient(116deg, var(--paper) 8%, var(--mint) 63%, #d5f2f0 100%);
}

.hero .eyebrow {
  gap: 8px;
}

.hero .eyebrow-mark {
  align-self: center;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  min-height: 570px;
}

.hero-copy {
  padding: 1.5rem 0;
}

.hero h1 {
  max-width: 680px;
  margin-top: 1.25rem;
  font-size: clamp(3.3rem, 6.5vw, 6.2rem);
  line-height: .91;
}

.hero h1 em {
  display: inline-block;
  margin-top: .14em;
}

.hero-lede {
  max-width: 500px;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 2.25rem;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 2.4rem;
  color: var(--muted);
  font-size: 11px;
}

.rule {
  display: inline-block;
  width: 31px;
  height: 1px;
  background: var(--terracotta);
}

.hero-visual {
  position: relative;
  width: min(100%, 520px);
  margin-left: auto;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: 18px 22px 0 rgba(45, 79, 195, .13);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 62%;
}

.hero-image-wrap figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 8px 14px;
  color: var(--paper);
  background: var(--ink);
  font-size: 10px;
  letter-spacing: .02em;
}

.hero-image-wrap figcaption span {
  color: var(--cyan);
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 14px;
}

.hero-sticker {
  position: absolute;
  right: -29px;
  bottom: 55px;
  display: grid;
  gap: 1px;
  width: 118px;
  height: 118px;
  align-content: center;
  padding: 16px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid rgba(19, 40, 59, .1);
  border-radius: 50%;
  box-shadow: 4px 7px 0 rgba(200, 112, 89, .25);
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  line-height: 1.04;
  transform: rotate(7deg);
}

.hero-sticker span {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-sticker strong {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.05em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: end;
  padding-top: 4rem;
}

.hero-bottom > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 9px 17px;
  border-left: 1px solid var(--line);
}

.hero-bottom strong {
  color: var(--cobalt);
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1;
}

.hero-bottom span {
  max-width: 105px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.hero-bottom > p {
  max-width: 180px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.hero-bottom a {
  color: var(--cobalt);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Why */
.section-intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(150px, .34fr) 1fr;
  gap: 4rem;
  align-items: start;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 5rem;
}

.principle {
  padding-top: 1.15rem;
  border-top: 1px solid var(--ink);
}

.principle-number,
.program-no {
  display: block;
  color: var(--terracotta);
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.principle h3,
.program-row h3 {
  margin-top: 1.65rem;
  font-size: 22px;
  line-height: 1.05;
}

.principle p {
  max-width: 300px;
  margin-top: .9rem;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* About */
.about-section {
  background: linear-gradient(132deg, var(--mint) 0%, #edf7ec 52%, rgba(91, 80, 214, .1) 100%);
}

.about-top {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: 5rem;
  align-items: end;
}

.about-heading .display-title {
  margin-top: 1.5rem;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.about-intro {
  max-width: 450px;
  padding-bottom: .35rem;
  color: var(--muted);
  font-size: 16px;
}

.people-grid {
  display: grid;
  gap: 3.75rem;
  margin-top: 5rem;
}

.person {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 6.25rem);
  align-items: center;
}

.person-director {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.person-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.person-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.person-founder .person-photo {
  box-shadow: 14px 14px 0 rgba(10, 169, 223, .2);
}

.person-director .person-photo {
  box-shadow: -14px 14px 0 rgba(91, 80, 214, .18);
}

.image-index {
  position: absolute;
  bottom: 13px;
  left: 13px;
  padding: 5px 9px;
  color: var(--paper);
  background: var(--ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.person-copy {
  max-width: 520px;
}

.person-copy h3 {
  margin-top: 1.5rem;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.1;
}

.person-copy > p:last-child {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 16px;
}

/* Programs */
.programs-section {
  background: var(--paper);
}

.section-heading-row {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 4rem;
  align-items: end;
}

.section-heading-row .display-title {
  margin-top: 1.5rem;
}

.section-heading-row > p {
  max-width: 380px;
  padding-bottom: .4rem;
  justify-self: end;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.program-list {
  margin-top: 4.5rem;
}

.program-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.65rem 0;
  border-top: 1px solid var(--line);
  transition: padding .25s ease, color .25s ease;
}

.program-row:last-child {
  border-bottom: 1px solid var(--line);
}

.program-row:hover {
  padding-inline: 12px;
  color: var(--cobalt);
}

.program-row h3 {
  margin-top: 0;
  font-size: 25px;
}

.program-row p {
  max-width: 560px;
  margin-top: .5rem;
  color: var(--muted);
  font-size: 16px;
}

.program-photo {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 2.5rem;
  align-items: end;
  margin-top: 4rem;
}

.program-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.8 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.program-photo p {
  width: 100%;
  max-width: 330px;
  align-self: center;
  justify-self: end;
  padding-bottom: .2rem;
  color: var(--muted);
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.025em;
}

/* Shop */
.shop-section {
  padding: 5.5rem 0;
  background: linear-gradient(112deg, var(--mint) 0%, var(--yellow) 100%);
}

.shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(3.5rem, 8vw, 9rem);
  align-items: center;
}

.shop-image {
  position: relative;
}

.shop-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.shop-image .image-index {
  right: 14px;
  bottom: 14px;
  left: auto;
}

.shop-copy .display-title {
  margin-top: 1.5rem;
}

.shop-copy > p:not(.section-index) {
  max-width: 465px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 16px;
}

.shop-copy .text-link {
  margin-top: 2.1rem;
}

/* Impact */
.impact-section {
  color: var(--paper);
  background: linear-gradient(120deg, var(--ink) 0%, #1c3c65 58%, var(--cobalt) 100%);
}

.impact-section .section-index {
  color: #80daf5;
}

.impact-section .display-title em {
  color: #8adcec;
}

.impact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
}

.impact-copy {
  max-width: 465px;
  margin-top: 2rem;
  color: rgba(251, 250, 245, .74);
  font-size: 16px;
}

.impact-grid .button {
  margin-top: 2.25rem;
}

.goal-panel {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: rgba(19, 40, 59, .3);
  border: 1px solid rgba(251, 250, 245, .17);
}

.goal-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.goal-numbers > div {
  display: grid;
  gap: 5px;
}

.goal-numbers strong {
  color: #8adcec;
  font-size: clamp(3.3rem, 7vw, 6.1rem);
  line-height: .8;
}

.goal-numbers span {
  color: rgba(251, 250, 245, .7);
  font-size: 10px;
  line-height: 1.25;
}

.goal-track {
  height: 7px;
  margin-top: 2.7rem;
  overflow: hidden;
  background: rgba(251, 250, 245, .16);
  border-radius: 10px;
}

.goal-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), #8adcec);
  border-radius: inherit;
}

.goal-panel > p {
  margin-top: .9rem;
  color: rgba(251, 250, 245, .68);
  font-size: 11px;
}

.goal-panel > p strong {
  color: var(--paper);
}

.impact-image {
  margin-top: 2.25rem;
}

.impact-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.75 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Support and forms */
.support-section {
  background: linear-gradient(130deg, var(--paper) 12%, #f2effa 100%);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .75fr);
  gap: clamp(3.5rem, 9vw, 10rem);
  align-items: start;
}

.support-copy .display-title {
  margin-top: 1.5rem;
}

.support-copy > p:not(.section-index):not(.small-note) {
  max-width: 490px;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 16px;
}

.small-note {
  margin-top: 1rem;
  color: var(--cobalt);
  font-size: 11px;
}

.support-image {
  position: relative;
  max-width: 400px;
  margin-top: 2.5rem;
}

.support-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.support-image span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--yellow);
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 12px;
}

.donation-form,
.contact-form {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: rgba(251, 250, 245, .66);
  border: 1px solid var(--line);
  border-top: 3px solid var(--indigo);
}

.donation-form legend,
.form-field label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.donation-form fieldset {
  padding: 0;
  border: 0;
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 1.15rem;
}

.amount-options label {
  position: relative;
  display: block;
  cursor: pointer;
}

.amount-options input {
  position: absolute;
  opacity: 0;
}

.amount-options label span {
  display: grid;
  min-height: 46px;
  place-items: center;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.amount-options label:hover span,
.amount-options label:has(input:focus-visible) span,
.amount-options input:focus-visible + span,
.amount-options label.selected span {
  color: var(--paper);
  background: var(--cobalt);
  border-color: var(--cobalt);
}

.custom-input-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 0 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.custom-input-wrap span {
  color: var(--muted);
  font-size: 14px;
}

.custom-input-wrap input,
.form-field input,
.form-field textarea,
.footer-signup input {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.custom-input-wrap input {
  min-height: 44px;
}

.donation-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  margin-top: 2.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.donation-summary > span {
  align-self: center;
  color: var(--muted);
  font-size: 11px;
}

.donation-summary > strong {
  color: var(--cobalt);
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1;
}

.donation-summary p {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.donation-form .button {
  margin-top: 1.6rem;
}

.form-status {
  min-height: 1.5em;
  margin-top: .8rem;
  color: var(--cobalt);
  font-size: 11px;
  line-height: 1.4;
}

/* Contact */
.contact-section {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  gap: clamp(3.5rem, 10vw, 11rem);
  align-items: start;
}

.contact-grid .display-title {
  margin-top: 1.5rem;
}

.contact-intro {
  max-width: 450px;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 16px;
}

.contact-details {
  display: grid;
  gap: 1rem;
  max-width: 420px;
  margin-top: 2.2rem;
}

.contact-details a,
.contact-details p {
  display: grid;
  gap: 1px;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  min-height: 44px;
  overflow-wrap: anywhere;
  font-size: 16px;
  transition: color .2s ease;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--cobalt);
}

.contact-details span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  border-top-color: var(--cyan);
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field input,
.form-field textarea,
.footer-signup input {
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 16px;
  transition: border-color .2s ease;
}

.form-field textarea {
  min-height: 112px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.custom-input-wrap:focus-within,
.footer-signup input:focus {
  border-color: var(--cobalt);
}

.field-error {
  min-height: 1.25em;
  color: var(--terracotta);
  font-size: 10px;
  line-height: 1.25;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: var(--terracotta);
}

/* Safeguarding */
.safeguarding {
  color: var(--paper);
  background: linear-gradient(120deg, var(--terracotta), #aa6658 45%, var(--indigo));
}

.safeguarding-inner {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 3.25rem 0;
}

.safeguarding-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 18px;
}

.safeguarding h2 {
  font-size: 27px;
  line-height: 1.1;
}

.safeguarding p {
  max-width: 820px;
  margin-top: .8rem;
  color: rgba(251, 250, 245, .84);
  font-size: 12px;
}

/* Footer and cookie notice */
.site-footer {
  color: var(--paper);
  background: var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  gap: 3rem;
  align-items: start;
  padding-top: 4rem;
  padding-bottom: 3.5rem;
}

.brand-footer {
  color: var(--paper);
}

.brand-footer img {
  filter: saturate(.75) brightness(1.3);
}

.brand-footer small {
  color: rgba(251, 250, 245, .6);
}

.footer-signup > p:first-child {
  max-width: 245px;
  color: rgba(251, 250, 245, .76);
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.2;
}

.footer-signup form {
  display: flex;
  max-width: 330px;
  margin-top: 1rem;
  border-bottom: 1px solid rgba(251, 250, 245, .45);
}

.footer-signup input {
  color: var(--paper);
  border: 0;
}

.footer-signup input::placeholder {
  color: rgba(251, 250, 245, .55);
}

.footer-signup button {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  color: var(--cyan);
  background: transparent;
  border: 0;
  font-size: 19px;
}

.footer-signup .form-status {
  color: #8adcec;
}

.footer-links {
  display: grid;
  gap: .65rem;
  justify-items: start;
  font-size: 11px;
  font-weight: 600;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(251, 250, 245, .72);
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #8adcec;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  padding-bottom: 1.2rem;
  color: rgba(251, 250, 245, .48);
  border-top: 1px solid rgba(251, 250, 245, .16);
  font-size: 9px;
}

.cookie-notice {
  position: fixed;
  z-index: 950;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  max-width: 390px;
  padding: 12px 14px 12px 17px;
  color: var(--paper);
  background: var(--ink);
  border-left: 3px solid var(--cyan);
  box-shadow: 0 10px 30px rgba(19, 40, 59, .2);
  transition: opacity .2s ease, transform .2s ease;
}

.cookie-notice.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

/* Flood-relief announcement modal */
body.relief-modal-open {
  overflow: hidden;
}

.relief-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
  background: rgba(7, 24, 40, .72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 240ms cubic-bezier(.165, .84, .44, 1), visibility 0s linear 240ms;
}

.relief-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.relief-dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  opacity: 0;
  transform: translateY(8px) scale(.95);
  transition: opacity 240ms cubic-bezier(.165, .84, .44, 1), transform 240ms cubic-bezier(.165, .84, .44, 1);
}

.relief-modal.is-open .relief-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.relief-dialog img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}

.relief-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0 0 4px;
  color: #111;
  background: rgba(255, 255, 255, .94);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(19, 40, 59, .18);
  font-size: 40px;
  line-height: 1;
  transition: background 150ms ease, transform 150ms ease;
}

@media (hover: hover) {
  .relief-close:hover {
    background: #fff;
    transform: scale(1.04);
  }
}

.relief-close:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.cookie-notice p {
  color: rgba(251, 250, 245, .76);
  font-size: 10px;
  line-height: 1.4;
}

.cookie-notice button {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--yellow);
  border: 0;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
}

/* Wide desktop: reduce the empty outer gutters without changing tablet/mobile rhythm. */
@media (min-width: 1400px) {
  :root {
    --container: min(1600px, calc(100% - 48px));
  }

  .hero-grid {
    gap: clamp(2.5rem, 3vw, 4.25rem);
  }

  .hero-visual {
    width: min(100%, 620px);
  }
}

/* Interaction and accessibility */
:focus-visible {
  outline: 3px solid rgba(10, 169, 223, .5);
  outline-offset: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  .site-nav {
    gap: 12px;
    font-size: 11px;
  }

  .nav-cta {
    padding-inline: 11px;
  }

  .hero-grid {
    gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 7vw, 5.2rem);
  }

  .hero-sticker {
    right: -18px;
  }

  .section-heading-row,
  .about-top {
    gap: 3rem;
  }

  .impact-grid,
  .support-grid,
  .contact-grid {
    gap: 3rem;
  }
}

@media (max-width: 800px) {
  :root {
    --container: min(100% - 36px, 640px);
    --header-height: 68px;
  }

  .site-header {
    height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 8px 18px 18px;
    background: rgba(251, 250, 245, .99);
    border: 1px solid var(--line);
    box-shadow: 0 15px 25px rgba(19, 40, 59, .1);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.nav-cta),
  .language-toggle {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav > a:not(.nav-cta)::after {
    bottom: -1px;
  }

  .language-toggle {
    width: fit-content;
    margin: 8px 0 13px;
  }

  .nav-cta {
    display: inline-flex;
    width: fit-content;
    margin-top: 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
  }

  .hero-copy {
    padding: 1rem 0 0;
  }

  .hero-visual {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .hero-bottom {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 3rem;
  }

  .hero-bottom > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-inline: 10px;
  }

  .hero-bottom > p {
    grid-column: 1 / -1;
    max-width: none;
    padding-top: .5rem;
  }

  .section {
    padding: 4.25rem 0;
  }

  .intro-grid,
  .about-top,
  .section-heading-row,
  .impact-grid,
  .support-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .principles-grid {
    gap: 2rem;
    margin-top: 3.5rem;
  }

  .about-intro,
  .section-heading-row > p {
    max-width: 560px;
  }

  .section-heading-row > p {
    justify-self: start;
    padding-bottom: 0;
  }

  .people-grid {
    gap: 3.5rem;
    margin-top: 3.5rem;
  }

  .person,
  .person-director {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .person-director .person-copy {
    order: 1;
  }

  .person-director .person-photo {
    order: 2;
  }

  .program-list {
    margin-top: 3rem;
  }

  .program-photo {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 3rem;
  }

  .program-photo p {
    max-width: 520px;
    justify-self: start;
    align-self: start;
  }

  .shop-section {
    padding: 4.25rem 0;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .shop-image {
    max-width: 560px;
  }

  .support-grid,
  .contact-grid {
    gap: 3rem;
  }

  .donation-form,
  .contact-form {
    max-width: 600px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --container: calc(100% - 30px);
  }

  .brand strong {
    font-size: 15px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14vw, 4.25rem);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-sticker {
    right: -7px;
    bottom: 47px;
    width: 93px;
    height: 93px;
    padding: 12px;
  }

  .hero-sticker strong {
    font-size: 17px;
  }

  .hero-bottom {
    gap: 2px;
  }

  .hero-bottom > div {
    padding-inline: 5px;
  }

  .hero-bottom strong {
    font-size: 26px;
  }

  .hero-bottom span {
    font-size: 9px;
  }

  .display-title {
    font-size: clamp(2.4rem, 13vw, 3.8rem);
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principle p {
    max-width: none;
  }

  .program-row {
    grid-template-columns: 40px 1fr;
    gap: 10px;
    padding: 1.35rem 0;
  }

  .program-row h3 {
    font-size: 20px;
  }

  .program-row p {
    font-size: 16px;
  }

  .amount-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .safeguarding-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2.5rem 0;
  }

  .safeguarding h2 {
    font-size: 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .footer-links {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
    gap: .4rem;
  }

  .cookie-notice {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
