:root {
  --navy: #082f63;
  --navy-dark: #061f43;
  --red: #db1025;
  --green: #2f7d32;
  --gold: #f4cc42;
  --ink: #061f43;
  --muted: #5d6b82;
  --line: #dbe4ef;
  --soft: #f5f8fc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.nav-wrap {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
}

.brand {
  font-size: 21px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.05;
  letter-spacing: .01em;
}

.brand span {
  display: block;
  font-size: 13px;
  color: #d7e5f6;
  letter-spacing: .04em;
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.main-nav a {
  font-weight: 800;
  text-decoration: none;
  font-size: 15px;
}

.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  border: 2px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font-weight: 900;
  text-decoration: none;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.btn:focus-visible,
.main-nav a:focus-visible,
.brand:focus-visible,
.socials a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--white);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.lang-btn {
  background: #214a7b;
  color: var(--white);
  border-color: #52749b;
  min-width: 54px;
}

.page-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px;
}

.hero {
  background: linear-gradient(90deg, #fff 0, #fff 58%, #e8f1fb 100%);
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 60px;
  align-items: center;
}

.eyebrow,
.kicker {
  font-weight: 900;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: .04em;
}

.script {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 72px;
  line-height: .9;
  color: var(--red);
  font-weight: 700;
}

.hero h1 {
  font-size: 82px;
  line-height: .9;
  margin: 0 0 22px;
  letter-spacing: 0;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 670px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.photo-stack {
  position: relative;
}

.photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 46, 97, .20);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slogan {
  position: absolute;
  left: -28px;
  bottom: 32px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 18px 22px;
  font-weight: 900;
  line-height: 1.15;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head h1,
.section-head h2 {
  font-size: 46px;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(8, 46, 97, .07);
}

.panel h2,
.panel h3 {
  margin-top: 0;
  line-height: 1.15;
}

.dark-band {
  background: var(--navy);
  color: var(--white);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  overflow: hidden;
}

.stat {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, .25);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 24px;
}

.priority-list {
  display: grid;
  gap: 16px;
}

.priority {
  border-left: 6px solid var(--red);
  background: var(--white);
  padding: 22px;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(8, 46, 97, .06);
}

.volunteer-band {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  margin: 28px 0;
}

.volunteer-time {
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 900;
  white-space: nowrap;
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.icon-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9f4ea;
  color: var(--green);
  font-weight: 900;
  margin-bottom: 12px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.gallery figure {
  margin: 0;
  position: relative;
  min-height: 260px;
  border-radius: 8px;
  overflow: hidden;
  background: #dbe4ef;
}

.gallery figure:first-child {
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: var(--white);
  padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .74));
  font-weight: 900;
}

.contact-table {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.contact-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.contact-row strong {
  text-transform: uppercase;
}

.socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  border: 1px solid var(--line);
}

.site-footer {
  background: #4d5a6b;
  color: var(--white);
}

.footer-line {
  max-width: 1180px;
  margin: auto;
  padding: 24px 22px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.footer-line a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    flex-wrap: wrap;
  }

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

  .hero h1 {
    font-size: 58px;
  }

  .script {
    font-size: 54px;
  }

  .section-head {
    display: block;
  }

  .grid-3,
  .grid-2,
  .icon-row,
  .stats {
    grid-template-columns: 1fr;
  }

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

  .gallery figure:first-child {
    grid-row: auto;
  }

  .volunteer-band {
    grid-template-columns: 1fr;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-line {
    white-space: normal;
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Salma polish pass: stronger campaign energy, less white space */
body {
  background:
    radial-gradient(circle at top left, rgba(219, 16, 37, .10), transparent 32rem),
    linear-gradient(180deg, #edf4fb 0%, #f8fbff 38%, #eaf1f8 100%);
}
.site-header { border-bottom: 5px solid var(--red); }
.main-nav a { position: relative; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.btn { box-shadow: 0 10px 22px rgba(6, 31, 67, .12); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(6, 31, 67, .18); }
.hero {
  background:
    linear-gradient(115deg, rgba(8,47,99,.96) 0%, rgba(8,47,99,.92) 48%, rgba(219,16,37,.88) 100%),
    radial-gradient(circle at 75% 20%, rgba(244,204,66,.35), transparent 18rem);
  color: var(--white);
  overflow: hidden;
}
.hero .lede, .hero h2 { color: #e6eef8; }
.hero .eyebrow { color: var(--gold); }
.hero .script { color: var(--gold); text-shadow: 0 12px 24px rgba(0,0,0,.25); }
.hero .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.hero .photo-frame { border: 8px solid rgba(255,255,255,.9); transform: rotate(1deg); }
.hero .slogan { background: var(--red); box-shadow: 0 18px 35px rgba(0,0,0,.25); }
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0b4b90 58%, var(--red) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(244,204,66,.28), transparent 22rem);
}
.page-hero > * { position: relative; }
.page-hero .lede { color: #e5eef9; }
.page-hero .kicker { color: var(--gold); }
.section-tint { background: linear-gradient(180deg, #e8f0f9, #f7fbff); }
.section-red { background: linear-gradient(135deg, var(--red), #a80c1b); color: var(--white); }
.section-red .lede, .section-red p { color: #fff3f4; }
.campaign-card {
  background: linear-gradient(180deg, #ffffff, #f4f8fd);
  border: 1px solid rgba(8,47,99,.14);
  border-top: 8px solid var(--red);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 22px 50px rgba(8,46,97,.12);
}
.campaign-card h2, .campaign-card h3 { margin-top: 0; color: var(--navy); }
.priority-list { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.priority {
  border: 0;
  border-top: 8px solid var(--red);
  border-radius: 14px;
  padding: 30px;
  background: linear-gradient(180deg, #fff, #f5f9ff);
  box-shadow: 0 20px 44px rgba(8, 46, 97, .10);
  position: relative;
  overflow: hidden;
}
.priority::before {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(244,204,66,.30);
}
.priority h2 { color: var(--navy); margin-top: 0; position: relative; }
.cta-strip {
  border-radius: 18px;
  padding: 34px;
  background: linear-gradient(135deg, var(--navy), var(--red));
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  box-shadow: 0 24px 55px rgba(6,31,67,.22);
}
.cta-strip p { color: #edf4ff; margin-bottom: 0; }
.event-feature {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: stretch;
}
.event-feature .panel { border-radius: 16px; }
.event-photo {
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(8,46,97,.18);
}
.event-photo img { width: 100%; height: 100%; object-fit: cover; }
.volunteer-hero-card {
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  padding: 26px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.volunteer-band { border-radius: 16px; background: linear-gradient(135deg, var(--navy), #0b4b90); border-left: 10px solid var(--gold); }
.icon-tile, .panel { border-radius: 14px; }
.icon-tile { box-shadow: 0 16px 35px rgba(8,46,97,.08); }
.icon { background: var(--red); color: var(--white); }
.gallery figure { border-radius: 16px; box-shadow: 0 18px 38px rgba(8,46,97,.14); }
.site-footer { background: var(--navy-dark); border-top: 5px solid var(--red); }
@media (max-width: 900px) {
  .priority-list, .event-feature, .cta-strip { grid-template-columns: 1fr; }
  .page-hero .section-head { display: block; }
}

/* Codex refinement pass: calmer rhythm, stronger mobile usability */
.site-header {
  backdrop-filter: saturate(130%) blur(10px);
}

.nav-wrap {
  position: relative;
}

.menu-toggle {
  display: none;
  width: 46px;
  min-width: 46px;
  padding: 0;
  gap: 4px;
  flex-direction: column;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
}

.hero h1 {
  max-width: 8ch;
}

.hero h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  margin: 0 0 18px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #fff9df;
  font-size: 14px;
  font-weight: 900;
  padding: 7px 12px;
  text-transform: uppercase;
}

.photo-frame {
  aspect-ratio: 1 / 1;
}

.photo-frame img {
  object-position: center;
}

.hero .photo-frame {
  aspect-ratio: 16 / 11;
  transform: rotate(.8deg);
}

.hero .photo-frame img {
  object-position: center;
}

.slogan {
  max-width: 220px;
}

.page-hero .page-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.page-hero h1 {
  max-width: 13ch;
}

.panel,
.priority,
.campaign-card,
.icon-tile {
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.panel:hover,
.priority:hover,
.campaign-card:hover,
.icon-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 47, 99, .24);
  box-shadow: 0 24px 52px rgba(8, 46, 97, .13);
}

.feature-grid {
  align-items: center;
}

.portrait-frame {
  aspect-ratio: 4 / 5;
}

.portrait-frame img {
  object-position: center top;
}

.bio-panel {
  margin-top: 28px;
}

.bio-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 22px 0;
  padding: 0;
}

.bio-list li {
  border-left: 5px solid var(--red);
  padding-left: 16px;
}

.photo-banner {
  border: 8px solid var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 55px rgba(8,46,97,.16);
  margin-bottom: 30px;
  max-height: 440px;
  overflow: hidden;
}

.photo-banner img {
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.photo-card {
  display: grid;
  gap: 18px;
  padding: 0;
  overflow: hidden;
}

.photo-card img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.photo-card > div {
  padding: 0 26px 26px;
}

.contact-photo {
  border-radius: 12px;
  margin-bottom: 22px;
  max-height: 260px;
  overflow: hidden;
}

.contact-photo img {
  aspect-ratio: 16 / 9;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.gallery {
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-auto-rows: 250px;
}

.gallery figure {
  min-height: auto;
}

.gallery figure:first-child {
  grid-row: span 2;
}

.gallery figcaption {
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.contact-row a {
  overflow-wrap: anywhere;
}

.contact-row small,
.donation-note {
  color: var(--muted);
}

.donation-note {
  background: #edf4fb;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  padding: 14px 16px;
}

.socials a {
  transition: transform .16s ease, background .16s ease, color .16s ease;
}

.socials a:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 12px;
  }

  .nav-actions .btn:not(.lang-btn) {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .main-nav,
  .nav-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .main-nav {
    display: none;
    gap: 8px;
    padding-top: 12px;
  }

  .main-nav a {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    padding: 10px 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-actions {
    display: none;
    flex-wrap: wrap;
  }

  body.nav-open .main-nav,
  body.nav-open .nav-actions {
    display: flex;
  }

  body.nav-open .main-nav {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .page-section {
    padding: 54px 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .section-head h1,
  .section-head h2 {
    font-size: 38px;
  }

  .photo-stack {
    max-width: 620px;
  }

  .hero .photo-frame {
    aspect-ratio: 16 / 11;
  }

  .slogan {
    left: 18px;
    bottom: 18px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery figure,
  .gallery figure:first-child {
    aspect-ratio: 4 / 3;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    padding: 14px 16px;
  }

  .brand {
    font-size: 18px;
  }

  .brand span {
    font-size: 11px;
  }

  .page-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .script {
    font-size: 48px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero h2 {
    font-size: 23px;
  }

  .lede {
    font-size: 16px;
  }

  .section-head h1,
  .section-head h2 {
    font-size: 31px;
  }

  .panel,
  .priority,
  .campaign-card,
  .icon-tile,
  .cta-strip {
    padding: 22px;
  }

  .actions,
  .nav-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .btn,
  .nav-actions .btn {
    width: 100%;
  }

  .hero-points span {
    font-size: 12px;
  }

  .slogan {
    position: static;
    margin-top: -26px;
    margin-left: 16px;
    max-width: calc(100% - 32px);
  }

  .photo-banner img {
    min-height: 240px;
  }

  .footer-line {
    gap: 8px;
  }
}
