/* International Charity House — Teach For America Style Architecture */
:root {
  --navy: #0b1f3a;
  --navy-deep: #061528;
  --navy-mid: #143056;
  --teal: #2a9d8f;
  --teal-dark: #1f7a6f;
  --orange: #e07a2f;
  --orange-hot: #d45a1a;
  --cream: #f7f4ef;
  --sand: #ebe4d8;
  --ink: #1a2332;
  --muted: #5c6b7a;
  --white: #ffffff;
  --line: rgba(11, 31, 58, 0.12);
  --shadow: 0 18px 50px rgba(6, 21, 40, 0.14);
  --radius: 4px;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --max: 1120px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--navy);
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.85rem;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.55rem 0.7rem;
  color: var(--navy-mid);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--orange-hot);
}

.nav .btn {
  margin-left: 0.5rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-hot);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-dark);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 21, 40, 0.35) 0%, rgba(6, 21, 40, 0.55) 42%, rgba(6, 21, 40, 0.88) 100%),
    linear-gradient(90deg, rgba(6, 21, 40, 0.55) 0%, transparent 55%);
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.5rem;
  max-width: 40rem;
  animation: riseIn 0.9s ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  max-width: 16ch;
  margin-bottom: 0.85rem;
}

.hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 38ch;
}

.hero .eyebrow {
  color: #7fd4c8;
}

/* ——— Deadline bar ——— */
.deadline-bar {
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--orange);
}

.deadline-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 0;
}

.deadline-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.deadline-copy span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.timer {
  display: flex;
  gap: 0.65rem;
}

.timer-unit {
  min-width: 64px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.55rem 0.4rem;
  border-radius: var(--radius);
}

.timer-unit b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.timer-unit small {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ——— Sections ——— */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-sand {
  background: var(--sand);
}

.section-white {
  background: var(--white);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 360px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(6, 21, 40, 0.35));
  pointer-events: none;
}

/* Manifesto */
.manifesto {
  border-left: 4px solid var(--orange);
  padding-left: 1.5rem;
}

.manifesto ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: man;
}

.manifesto li {
  counter-increment: man;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
}

.manifesto li::before {
  content: counter(man, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--orange);
  font-size: 1.1rem;
}

.manifesto li strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.manifesto li span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Program strips — not cards in hero; interaction/content blocks OK */
.program-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--line);
}

.program-strip:nth-child(even) {
  direction: rtl;
}

.program-strip:nth-child(even) > * {
  direction: ltr;
}

.program-strip + .program-strip {
  margin-top: 1.5rem;
}

.program-photo {
  min-height: 300px;
}

.program-photo img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.program-body {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-body h3 {
  font-size: 1.45rem;
}

.program-body p {
  color: var(--muted);
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}

.chip {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  background: rgba(42, 157, 143, 0.12);
  color: var(--teal-dark);
}

/* Mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.mosaic figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  min-height: 220px;
}

.mosaic img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mosaic figure:hover img {
  transform: scale(1.05);
}

.mosaic figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(6, 21, 40, 0.75));
}

/* Leadership */
.leader {
  text-align: left;
}

.leader-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--sand);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%);
  transition: filter 0.35s ease, transform 0.5s ease;
}

.leader:hover .leader-photo img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.leader-role {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.35rem;
}

.leader h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.leader p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* News */
.news-item {
  display: grid;
  gap: 1rem;
}

.news-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-item time {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-hot);
}

.news-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.news-item p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Forms */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.18);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(42, 157, 143, 0.12);
  border-left: 3px solid var(--teal);
  color: var(--navy);
  margin-top: 1rem;
}

.form-success.is-visible {
  display: block;
}

/* Donate */
.give-levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.give-level {
  appearance: none;
  border: 2px solid var(--line);
  background: var(--white);
  padding: 1rem 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.give-level.is-active,
.give-level:hover {
  border-color: var(--orange);
  background: rgba(224, 122, 47, 0.08);
  color: var(--orange-hot);
}

.impact-line {
  font-size: 0.95rem;
  color: var(--muted);
  min-height: 1.5em;
  margin-bottom: 1rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.trust-strip strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.trust-strip span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Page hero (inner) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(42, 157, 143, 0.22), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(224, 122, 47, 0.18), transparent 45%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.page-hero .eyebrow {
  color: #7fd4c8;
}

/* Stats */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ——— Site close (advanced CTA) ——— */
.cta-band,
.site-close {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 0;
  isolation: isolate;
}

.site-close {
  background: var(--navy-deep);
}

.site-close__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.site-close__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 22s ease-out forwards;
}

.site-close__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 21, 40, 0.94) 0%, rgba(6, 21, 40, 0.82) 48%, rgba(11, 31, 58, 0.72) 100%),
    linear-gradient(180deg, transparent 40%, rgba(6, 21, 40, 0.55) 100%);
}

.site-close__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 2.5rem;
  align-items: end;
  padding: 5rem 0 4.25rem;
}

.site-close__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7fd4c8;
  margin-bottom: 1rem;
}

.site-close__eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--orange);
}

.site-close h2 {
  color: var(--white);
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  max-width: 14ch;
  margin-bottom: 0.85rem;
}

.site-close__lead {
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin: 0;
}

.site-close__actions {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.site-close__actions .btn-group {
  margin-top: 0;
}

.site-close__trust {
  display: grid;
  gap: 0.65rem;
}

.site-close__trust span {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.site-close__trust span::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.25);
}

.site-close__rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1;
}

.site-close__stat {
  background: rgba(6, 21, 40, 0.72);
  padding: 1.25rem 1.35rem;
  text-align: left;
}

.site-close__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.site-close__stat span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Legacy centered CTA still supported */
.cta-band {
  background:
    linear-gradient(120deg, rgba(6, 21, 40, 0.88), rgba(11, 31, 58, 0.78)),
    url("https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?auto=format&fit=crop&w=1600&q=80") center/cover;
  padding: 4.5rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  max-width: 18ch;
  margin-inline: auto;
}

.cta-band p {
  max-width: 42ch;
  margin: 0.75rem auto 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .btn-group {
  justify-content: center;
}

/* ——— Advanced footer ——— */
.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(42, 157, 143, 0.16), transparent 42%),
    radial-gradient(ellipse at 88% 100%, rgba(224, 122, 47, 0.12), transparent 40%),
    var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 0 0 1.75rem;
  font-size: 0.92rem;
  overflow: hidden;
}

.site-footer::before {
  content: "CONNECTING HEARTS";
  position: absolute;
  left: -2%;
  bottom: 8%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.footer-newsletter {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.footer-newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  max-width: 38ch;
  font-size: 0.94rem;
}

.footer-newsletter__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.footer-newsletter__form input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.footer-newsletter__form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter__form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.22);
}

.footer-newsletter .form-success {
  grid-column: 1 / -1;
  background: rgba(42, 157, 143, 0.16);
  color: #d7f3ee;
  border-left-color: var(--teal);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1.15fr;
  gap: 2rem;
  padding: 2.75rem 0 2.25rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer-brand__top {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
}

.footer-motto {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7fd4c8;
  border-left: 2px solid var(--orange);
  padding-left: 0.7rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  padding: 0.32rem 0;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: var(--orange);
  transform: translateX(3px);
}

.footer-contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 1.15rem;
  display: grid;
  gap: 0.85rem;
}

.footer-contact-card h4 {
  margin-bottom: 0.15rem;
}

.footer-contact-card dl {
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-contact-card dt {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7fd4c8;
  margin-bottom: 0.15rem;
}

.footer-contact-card dd {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.footer-contact-card a {
  color: rgba(255, 255, 255, 0.9);
  padding: 0;
}

.footer-contact-card a:hover {
  color: var(--orange);
  transform: none;
}

.footer-verify {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badge {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.footer-badge:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(42, 157, 143, 0.35);
}

.footer-badge b {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--white);
  letter-spacing: 0.03em;
}

.footer-badge span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.4;
}

.footer-legal {
  position: relative;
  z-index: 1;
  padding-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-legal__meta {
  display: grid;
  gap: 0.35rem;
  max-width: 58rem;
}

.footer-legal a {
  color: #7fd4c8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal__meta strong {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 31, 58, 0.92);
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
  box-shadow: var(--shadow);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Privacy content */
.prose {
  max-width: 46rem;
}

.prose h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
}

.prose ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.45rem;
}

.privacy-lock {
  background: rgba(224, 122, 47, 0.1);
  border-left: 4px solid var(--orange);
  padding: 1.15rem 1.25rem;
  margin: 1.5rem 0;
  font-weight: 600;
  color: var(--navy);
}

/* Contact details */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.25rem;
}

/* Workflow steps */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.workflow-step {
  padding: 1.25rem 1rem;
  background: var(--white);
  border-top: 3px solid var(--teal);
  counter-increment: step;
}

.workflow-step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.workflow-step h3 {
  font-size: 1.05rem;
}

.workflow-step p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .grid-2,
  .program-strip,
  .program-strip:nth-child(even),
  .footer-grid,
  .footer-newsletter,
  .site-close__inner,
  .grid-4,
  .give-levels,
  .workflow {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .footer-verify,
  .site-close__rail {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3,
  .mosaic,
  .stat-row,
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav .btn {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .grid-3,
  .mosaic,
  .stat-row,
  .trust-strip,
  .form-grid,
  .footer-verify,
  .site-close__rail,
  .footer-newsletter__form {
    grid-template-columns: 1fr;
  }

  .brand-text {
    display: none;
  }

  .hero {
    min-height: 85vh;
  }

  .timer-unit {
    min-width: 56px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-close__inner {
    padding: 3.5rem 0 3rem;
  }
}
