:root {
  --ink: #20152d;
  --purple: #6d28a8;
  --purple-dark: #47156f;
  --teal: #1b9b96;
  --gold: #f4c542;
  --cream: #fffaf0;
  --paper: #ffffff;
  --muted: #665e6e;
  --line: #ded4e6;
  --shadow: 0 24px 60px rgba(53, 23, 75, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 10; background: #fff; padding: .7rem 1rem; border-radius: .5rem; }
.skip-link:focus { left: 1rem; }

.site-header {
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .8rem .7rem 1.1rem;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(109, 40, 168, .12);
  border-radius: 999px;
  position: sticky;
  top: 1rem;
  z-index: 5;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(45, 21, 59, .08);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand-label { white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--purple); color: var(--gold); border-radius: 50% 50% 50% 14%; transform: rotate(-8deg); }
.brand-mark::first-letter { transform: rotate(8deg); }
nav { display: flex; align-items: center; gap: .2rem; }
nav a { padding: .65rem .9rem; text-decoration: none; font-weight: 700; font-size: .94rem; border-radius: 999px; }
nav a:hover, nav a:focus-visible { background: #f4ebfa; }
nav .nav-cta { background: var(--ink); color: #fff; }
nav .nav-cta:hover, nav .nav-cta:focus-visible { background: var(--purple); }

.hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(circle at 16% 10%, rgba(244,197,66,.28), transparent 20%),
    linear-gradient(135deg, #f7eaff 0%, #efe0f9 52%, #d9f6f1 100%);
}
.hero-copy { padding: clamp(3rem, 7vw, 6.5rem); padding-right: clamp(2rem, 4vw, 4rem); align-self: center; }
.eyebrow { margin: 0 0 .8rem; color: var(--purple); font-size: .8rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.03; letter-spacing: -.045em; }
h1 { max-width: 760px; font-size: clamp(3.3rem, 7.2vw, 6.8rem); }
h1 span { color: var(--purple); position: relative; }
h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.hero-text { max-width: 640px; margin: 1.5rem 0; font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: #51465b; }
.names { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.7rem 0 2rem; }
.names span { padding: .42rem .78rem; background: rgba(255,255,255,.72); border: 1px solid rgba(109,40,168,.14); border-radius: 999px; font-size: .88rem; font-weight: 800; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 0 0 2rem; }
.hero-stats div { display: grid; gap: 0; }
.hero-stats dt { color: var(--purple-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.hero-stats dd { margin: .25rem 0 0; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; gap: .8rem; padding: .9rem 1.2rem; background: var(--purple); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 850; box-shadow: 0 8px 20px rgba(109,40,168,.22); }
.button:hover, .button:focus-visible { background: var(--purple-dark); transform: translateY(-2px); }
.hero-photo { position: relative; min-height: 560px; margin: 1.25rem; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.hero-photo img {
  object-position: center center;
  transform: scale(1.08);
  transform-origin: center;
}
.hero-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .6rem .9rem; color: #fff; background: rgba(32,21,45,.76); backdrop-filter: blur(10px); border-radius: 999px; font-size: .85rem; font-weight: 750; }

.section { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 7rem 0; }
.section-heading { margin-bottom: 3rem; }
.project-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); }
.project-story { font-size: 1.05rem; color: var(--muted); }
.project-story .lead { color: var(--ink); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.45; }
.project-story h3 { margin: 2rem 0 .4rem; color: var(--purple); font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; line-height: 1.2; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; width: 44px; height: 44px; background: var(--gold); color: #442a00; border-radius: 50%; font-weight: 900; font-size: .82rem; }
.steps strong { font-size: 1.15rem; }
.steps p { margin: .1rem 0 0; color: var(--muted); }

.impact { padding-top: 0; }
.impact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  background: linear-gradient(135deg, #e6faf7 0%, #f5eafe 100%);
  border: 1px solid rgba(109,40,168,.13);
  border-radius: 34px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.impact-card::after {
  content: "★";
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  top: 50%;
  transform: translateY(-50%) rotate(10deg);
  color: rgba(109,40,168,.09);
  font-size: clamp(8rem, 22vw, 18rem);
  line-height: 1;
}
.impact-card h2, .impact-card p, .impact-card address, .delivery-photo { position: relative; z-index: 1; }
.impact-card h2 { max-width: 760px; }
.impact-card > div > p:last-child { max-width: 760px; margin: 1.4rem 0 0; color: #51465b; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.impact-card .delivery-thanks { color: var(--purple-dark); font-size: 1rem; }
.impact-card address { width: fit-content; min-width: 280px; margin-top: 1.4rem; padding: 1.35rem; background: rgba(255,255,255,.75); border: 1px solid rgba(109,40,168,.15); border-radius: 20px; font-style: normal; }
.impact-card address strong, .impact-card address span { display: block; }
.impact-card address strong { margin-bottom: .35rem; color: var(--purple-dark); font-size: 1.12rem; }
.impact-card address span:last-child { margin-top: .5rem; color: var(--purple-dark); font-weight: 800; }
.delivery-photo { margin: 0; overflow: hidden; border: 8px solid rgba(255,255,255,.85); border-radius: 26px; box-shadow: var(--shadow); }
.delivery-photo img { aspect-ratio: 4 / 3; object-position: center; }
.delivery-photo figcaption { padding: .8rem 1rem; background: #fff; color: var(--purple-dark); text-align: center; font-size: .85rem; font-weight: 800; }

.team { padding-top: 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.team-grid article { padding: 1.7rem; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 12px 34px rgba(53,23,75,.08); }
.team-letter { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.2rem; background: var(--purple); color: #fff; border-radius: 50% 50% 50% 14%; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 800; }
.team-grid article:nth-child(2) .team-letter { background: var(--teal); }
.team-grid article:nth-child(3) .team-letter { background: #c37d00; }
.team-grid h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; }
.team-grid .role { margin: .35rem 0 1rem; color: var(--purple); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.team-grid article > p:last-child { margin-bottom: 0; color: var(--muted); }
.team-note { margin: 1.2rem 0 0; padding: 1rem 1.2rem; background: #f5eafe; border-radius: 16px; text-align: center; font-weight: 750; }

.gallery { width: min(1180px, calc(100% - 2rem)); background: var(--ink); color: #fff; border-radius: 38px; padding-inline: clamp(1.1rem, 4vw, 4rem); }
.gallery .eyebrow { color: #68d8cf; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.gallery-heading > p { max-width: 320px; margin: 0; color: #cfc4d6; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: .8rem; }
.photo-grid figure { margin: 0; overflow: hidden; border-radius: 18px; background: #362c40; }
.photo-grid figure.wide { grid-column: span 2; }
.photo-grid figure.material-photo { grid-row: span 2; }
.photo-grid figure.material-photo img { object-position: center; }
.photo-grid img { transition: transform .5s ease; }
.photo-grid figure:hover img { transform: scale(1.035); }
.gallery-link { display: inline-flex; gap: .55rem; align-items: center; margin-top: 1.4rem; color: #fff; font-weight: 850; text-underline-offset: .3rem; }

.album-page { width: min(1180px, calc(100% - 2rem)); margin: 1rem auto 4rem; padding: clamp(2rem, 6vw, 5rem); background: var(--ink); color: #fff; border-radius: 38px; }
.album-intro { max-width: 820px; margin-bottom: 2.5rem; }
.album-intro .eyebrow { color: #68d8cf; }
.album-intro p:last-child { color: #cfc4d6; font-size: 1.08rem; }
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.album-grid figure { margin: 0; overflow: hidden; background: #362c40; border-radius: 20px; }
.album-grid figure.featured { grid-column: span 2; }
.album-grid img { aspect-ratio: 4 / 3; object-fit: contain; background: #f4eee5; }
.album-grid figcaption { min-height: 72px; padding: .9rem 1rem; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 750; }
.album-back { display: inline-flex; margin-top: 2rem; padding: .8rem 1.1rem; background: #fff; color: var(--purple-dark); border-radius: 999px; text-decoration: none; font-weight: 850; }

.fundraiser { padding-bottom: 0; }
.fundraiser-card { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 7vw, 7rem); padding: clamp(2rem, 5vw, 4rem); color: #fff; background: var(--purple); border-radius: 34px; box-shadow: var(--shadow); }
.fundraiser-card .eyebrow { color: #f9da70; }
.fundraiser-card h2 { color: #fff; }
.fundraiser-card > div:last-child { align-self: end; font-size: 1.08rem; }
.fundraiser-card > div:last-child p:first-child { margin-top: 0; }
.fundraiser-card > div:last-child p:last-child { margin-bottom: 0; color: #eadff0; }

.make { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); }
.make-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.materials-card { margin-top: 1.5rem; padding: 1.25rem 1.35rem; background: #f5eafe; border-radius: 20px; }
.materials-card h3 { margin: 0 0 .75rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.materials-card ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.materials-card li + li { margin-top: .35rem; }
.make-steps { margin: 0; padding: 0; list-style: none; }
.make-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.make-steps li:first-child { border-top: 1px solid var(--line); }
.make-steps li > span { display: grid; place-items: center; width: 40px; height: 40px; background: var(--gold); border-radius: 50%; font-weight: 900; }
.make-steps strong { font-size: 1.08rem; }
.make-steps p { margin: .15rem 0 0; color: var(--muted); }
.safety-note { grid-column: 2; padding: 1.15rem 1.25rem; background: #e6faf7; border-left: 5px solid var(--teal); border-radius: 0 16px 16px 0; }
.safety-note strong { color: #126c68; }
.safety-note p { margin: .25rem 0 0; color: var(--muted); }

.contact { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.contact > div > p:last-child { max-width: 620px; color: var(--muted); font-size: 1.08rem; }
.email-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem; padding: 1.5rem; background: #fff; border: 2px dashed var(--purple); border-radius: 22px; text-decoration: none; box-shadow: var(--shadow); }
.email-card span:first-child { color: var(--purple); font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.email-card strong { grid-column: 1; font-size: clamp(1rem, 2.1vw, 1.32rem); overflow-wrap: anywhere; }
.email-card span:last-child { grid-column: 2; grid-row: 1 / 3; font-size: 2rem; }
.email-card:hover, .email-card:focus-visible { background: #faf4ff; transform: translateY(-3px); }

footer { width: min(1180px, calc(100% - 2rem)); margin: 0 auto 1rem; padding: 2rem; display: flex; justify-content: space-between; gap: 1rem; background: var(--purple); color: #fff; border-radius: 24px; font-size: .9rem; }
footer p { margin: 0; }

@media (max-width: 840px) {
  .site-header { border-radius: 24px; align-items: flex-start; }
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 2rem; }
  .hero-photo { min-height: 500px; margin-top: 0; }
  .project-grid, .contact, .impact-card, .fundraiser-card, .make { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .safety-note { grid-column: 1; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .album-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .site-header { top: .5rem; width: calc(100% - 1rem); margin-top: .5rem; }
  .brand-label { max-width: 132px; white-space: normal; font-size: .78rem; line-height: 1.15; }
  .hero, .gallery { width: calc(100% - 1rem); border-radius: 26px; }
  .hero-copy { padding: 3.2rem 1.4rem 2rem; }
  h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .hero-photo { min-height: 420px; margin: .6rem; border-radius: 21px; }
  .hero-stats { gap: 1rem; }
  .section { padding: 5rem 0; }
  .gallery { padding-inline: .8rem; }
  .gallery-heading { display: block; padding-inline: .5rem; }
  .gallery-heading > p { margin-top: 1rem; }
  .photo-grid { grid-auto-rows: 210px; gap: .55rem; }
  .photo-grid figure { border-radius: 13px; }
  .album-page { width: calc(100% - 1rem); padding: 2.5rem .8rem; border-radius: 26px; }
  .album-grid { grid-template-columns: 1fr; }
  .album-grid figure.featured { grid-column: span 1; }
  footer { display: block; text-align: center; }
  footer p + p { margin-top: .5rem; opacity: .75; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
