:root {
  --ink: #17324d;
  --muted: #5b7186;
  --blue: #2f8dcc;
  --blue-deep: #14679d;
  --aqua: #7ed8dc;
  --sun: #f6c86f;
  --petal: #f7a6b8;
  --paper: #fffaf4;
  --soft: #edf8fb;
  --cream: #fff7ee;
  --line: rgba(23, 50, 77, 0.14);
  --shadow: 0 24px 70px rgba(23, 50, 77, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 250, 244, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-mark-img {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(47, 141, 204, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  border-radius: 999px;
  color: #23415d;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #e7f6fb;
  outline: none;
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--blue-deep);
  box-shadow: 0 12px 24px rgba(20, 103, 157, 0.22);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.official-banner {
  display: flex;
  justify-content: center;
  padding: 18px clamp(18px, 5vw, 72px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.official-banner img {
  width: min(100%, 980px);
  height: auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(38px, 6vw, 82px) clamp(18px, 5vw, 72px) 64px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -22vw;
  width: 44vw;
  height: 44vw;
  min-width: 360px;
  min-height: 360px;
  border-radius: 50%;
  background: rgba(126, 216, 220, 0.18);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 4.4vw, 4.4rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.05rem, 4.6vw, 4.1rem);
}

h3 {
  margin-bottom: 9px;
  line-height: 1.18;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 30px;
  color: #425d74;
  font-size: clamp(1.08rem, 1.65vw, 1.28rem);
}

.hero-actions,
.shop-actions,
.donation-actions,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--blue-deep);
  box-shadow: 0 16px 34px rgba(20, 103, 157, 0.24);
}

.button.secondary {
  color: #17324d;
  background: var(--sun);
  box-shadow: 0 16px 34px rgba(246, 200, 111, 0.28);
}

.button.ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button.ghost.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
}

.hero-visual {
  position: relative;
  min-height: 510px;
  border-radius: 0 0 0 120px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 50% 42%;
}

.section {
  padding: clamp(72px, 10vw, 130px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1.12fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading.narrow {
  display: block;
  max-width: 870px;
}

.section-heading.centered {
  display: block;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.story-section {
  overflow: hidden;
}

.story-heading {
  display: block;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 34px;
  align-items: stretch;
  max-width: 1180px;
  margin-inline: auto;
}

.story,
.quote-panel,
.impact-grid article,
.pathways-grid article,
.event-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.story {
  padding: clamp(28px, 5vw, 56px);
  font-size: 1.08rem;
}

.story p:last-child,
.quote-panel p,
.impact-grid p,
.pathways-grid p,
.event-item p,
.contact-section p {
  margin-bottom: 0;
}

.story-closing {
  margin-top: 28px;
  padding: 22px;
  border-left: 5px solid var(--sun);
  border-radius: var(--radius);
  color: #16324c;
  background: #fff7df;
  font-weight: 800;
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 38px;
  background: linear-gradient(160deg, #e7f6fb, #fff4ee);
}

.quote-mark {
  color: var(--petal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  line-height: 0.7;
}

.quote-mark-end {
  align-self: flex-end;
  margin-top: 20px;
}

.quote-panel p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.12;
}

.impact-section {
  background: #fff;
}

.impact-grid,
.pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin-inline: auto;
}

.impact-grid article,
.pathways-grid article {
  min-height: 250px;
  padding: 26px;
}

.impact-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-deep);
  font-weight: 900;
}

.donation-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 103, 157, 0.98), rgba(47, 141, 204, 0.86)),
    linear-gradient(135deg, var(--blue-deep), var(--aqua));
}

.donation-section .eyebrow {
  color: #dff8ff;
}

.donation-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
}

.donation-box {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 70px rgba(7, 42, 71, 0.2);
}

.donation-detail {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
}

.donation-detail span,
.edit-note {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.donation-detail strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-size: 1.12rem;
}

.donation-detail small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.pathways-section {
  background: var(--paper);
}

.pathways-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pathways-grid article {
  min-height: 280px;
}

.pathways-grid h3::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--petal);
}

.pathways-grid a,
.inline-action {
  display: inline-flex;
  margin-top: 22px;
  color: var(--blue-deep);
  font-weight: 900;
}

.shop-section {
  background: #fff;
}

.shop-panel {
  display: grid;
  gap: 30px;
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(231, 246, 251, 0.9), rgba(255, 247, 238, 0.96)),
    #fff;
  box-shadow: var(--shadow);
}

.shop-intro {
  max-width: 760px;
}

.shop-panel p:not(.eyebrow):not(.edit-note) {
  color: #425d74;
  font-size: 1.14rem;
}

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

.product-card {
  display: grid;
  grid-template-rows: 230px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

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

.product-card div {
  padding: 20px;
}

.product-card h3 {
  margin-bottom: 8px;
}

.edit-note {
  grid-column: 1 / -1;
  color: #6a7c8b;
  text-transform: none;
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-item {
  padding: 24px;
}

.event-item time,
.event-item > span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-item.future {
  background: #e7f6fb;
}

.collaborators {
  background: #fff;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.logo-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #486278;
  background: #fff;
  font-weight: 900;
  text-align: center;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: 48px;
  padding: clamp(72px, 10vw, 120px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: #15314b;
}

.contact-section .eyebrow,
.contact-section p {
  color: #c9e8f2;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dff8ff;
  font-size: 0.92rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(126, 216, 220, 0.14);
}

.form-note {
  min-height: 24px;
  color: #dff8ff;
  font-size: 0.92rem;
}

.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 40;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 44px rgba(23, 50, 77, 0.18);
  backdrop-filter: blur(18px);
}

.mobile-cta a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 900;
}

.mobile-cta a:first-child {
  color: #fff;
  background: var(--blue-deep);
}

.mobile-cta a:last-child {
  color: var(--ink);
  background: var(--sun);
}

.site-footer {
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.site-footer a,
.footer-links a {
  color: var(--blue-deep);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.brand.compact .brand-mark-img {
  width: 40px;
  height: 40px;
  transform: scale(0.9);
}

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

  .site-nav a {
    font-size: 0.86rem;
    padding-inline: 9px;
  }

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

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

@media (max-width: 980px) {
  .hero,
  .story-grid,
  .donation-section,
  .events-layout,
  .contact-section,
  .section-heading,
  .shop-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
    border-radius: var(--radius);
  }

  .impact-grid,
  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: 82px;
  }

  .site-header {
    min-height: 72px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius);
    font-size: 0.96rem;
    padding: 12px 14px;
  }

  .mobile-cta {
    display: grid;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.35rem, 12vw, 3.75rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero {
    padding-top: 40px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .impact-grid,
  .pathways-grid,
  .product-grid,
  .logo-row {
    grid-template-columns: 1fr;
  }

  .button,
  .shop-actions a,
  .donation-actions a {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
