:root {
  --ink: #17212b;
  --muted: #617080;
  --paper: #fffdf8;
  --panel: #ffffff;
  --deep-purple: #4b258f;
  --red: #c94332;
  --purple: #6f3fc8;
  --gold: #f4be52;
  --bright-purple: #8a5be2;
  --line: #dfe6ea;
  --shadow: 0 24px 70px rgba(75, 37, 143, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: padding 180ms ease, box-shadow 180ms ease;
}

.brand img {
  width: 132px;
  transition: width 180ms ease;
}

.site-header.is-compact {
  padding-top: 8px;
  padding-bottom: 8px;
  box-shadow: 0 12px 30px rgba(75, 37, 143, 0.1);
}

.site-header.is-compact .brand img {
  width: 96px;
}

.site-header.is-compact .header-support {
  min-height: 38px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.site-header.is-compact .menu-toggle {
  width: 40px;
  height: 40px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--deep-purple);
  border-radius: 6px;
  color: var(--deep-purple);
  background: #fff;
  cursor: pointer;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
}

.menu-toggle-bars::before {
  transform: translateY(-7px);
}

.menu-toggle-bars::after {
  transform: translateY(7px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
  transform: rotate(90deg);
}

.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;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: var(--deep-purple);
  font-size: 0.93rem;
  font-weight: 700;
}

.site-nav a,
.footer-links a,
.text-link {
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 180ms ease;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--purple);
  text-decoration: underline;
}

.header-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 2px solid var(--purple);
  border-radius: 6px;
  color: #fff;
  background: var(--purple);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.header-support:hover,
.header-support:focus-visible {
  color: var(--purple);
  background: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 92px);
  padding: clamp(32px, 6vw, 82px) clamp(18px, 5vw, 72px) clamp(28px, 5vw, 58px);
  background:
    linear-gradient(115deg, rgba(111, 63, 200, 0.11), rgba(244, 190, 82, 0.08) 44%, rgba(201, 67, 50, 0.07)),
    var(--paper);
}

.hero-copy {
  max-width: 740px;
}

.eyebrow,
.date {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  color: var(--deep-purple);
}

h2 {
  font-size: clamp(2.05rem, 4vw, 4rem);
  color: var(--deep-purple);
}

h3 {
  font-size: 1.18rem;
}

.hero-text {
  max-width: 600px;
  margin: 24px 0 0;
  color: #47385b;
  font-size: clamp(1.12rem, 2vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid var(--purple);
  border-radius: 6px;
  color: var(--purple);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  background: var(--purple);
}

.button.primary {
  color: #fff;
  background: var(--purple);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: var(--purple);
  background: #fff;
}

.hero-photo {
  position: relative;
  margin: 0;
  border: 10px solid #fff;
  box-shadow: var(--shadow);
  transform: rotate(1.25deg);
}

.hero-photo::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 45%;
  height: 34%;
  border-right: 14px solid var(--gold);
  border-bottom: 14px solid var(--bright-purple);
  z-index: -1;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.45;
  object-fit: cover;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 16px 48px rgba(75, 37, 143, 0.08);
}

.impact-strip div {
  padding: 24px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.impact-strip div:hover {
  position: relative;
  z-index: 1;
  transform: scale(1.05);
  box-shadow: 0 18px 42px rgba(75, 37, 143, 0.14);
}

.impact-strip strong {
  display: block;
  color: var(--red);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1;
}

.impact-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.story-section,
.updates-section {
  padding: clamp(60px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.story-card,
.update-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(75, 37, 143, 0.08);
}

.story-card {
  padding: clamp(22px, 3vw, 34px);
}

.story-card.lead {
  color: #3f3154;
  font-size: 1.14rem;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.send-section {
  padding: clamp(32px, 5vw, 60px) clamp(18px, 5vw, 72px);
  background: var(--deep-purple);
}

.send-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 30px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  color: #fff;
}

.send-panel h2,
.send-panel .eyebrow {
  color: #fff;
}

.send-panel p {
  max-width: 720px;
  color: #eee7ff;
  font-size: 1.14rem;
}

address {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  font-style: normal;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

address a {
  transition: color 180ms ease;
}

address a:hover,
address a:focus-visible {
  color: var(--gold);
}

.collection-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(60px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.collection-copy {
  max-width: 560px;
}

.collection-copy p {
  color: #47385b;
  font-size: 1.12rem;
}

.collection-section img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
  border: 10px solid #fff;
  box-shadow: var(--shadow);
}

.text-link {
  color: var(--deep-purple);
  font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

.update-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.update-card {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.update-card:hover,
.update-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(75, 37, 143, 0.14);
}

.update-card:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

.update-card img {
  width: 100%;
  aspect-ratio: 1 / 0.85;
  object-fit: cover;
  transition: transform 220ms ease;
}

.update-card:hover img,
.update-card:focus-visible img {
  transform: scale(1.08);
}

.update-card div {
  padding: 18px;
}

.update-card p {
  color: var(--muted);
}

.update-card .date {
  color: var(--bright-purple);
}

.post-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.post-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--deep-purple);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.post-pagination a:hover,
.post-pagination a:focus-visible,
.post-pagination a.is-current {
  border-color: var(--purple);
  color: #fff;
  background: var(--purple);
}

.post-pagination .next-page {
  min-width: 72px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: #eee7ff;
  background: #2f1d54;
}

.site-footer img {
  width: 120px;
  margin-bottom: 10px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  font-weight: 700;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--purple);
  border-radius: 6px;
  color: #fff;
  background: var(--purple);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(75, 37, 143, 0.2);
  transition: background 180ms ease, color 180ms ease;
}

.scroll-top[hidden] {
  display: none;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  color: var(--purple);
  background: var(--paper);
}

@media (max-width: 980px) {
  .site-footer,
  .section-heading.compact {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .hero,
  .send-panel,
  .collection-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-photo {
    max-width: 560px;
  }

  .site-nav {
    margin-left: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    position: sticky;
    padding: 10px 16px;
  }

  .brand img {
    width: 112px;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .header-support {
    min-height: 42px;
    margin-left: auto;
    padding: 9px 12px;
    font-size: 0.86rem;
    order: 2;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: 0 22px 52px rgba(75, 37, 143, 0.16);
    font-size: 1rem;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
  }

  .site-nav.is-open {
    max-height: 320px;
    border-color: var(--line);
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .impact-strip,
  .story-grid,
  .update-grid {
    grid-template-columns: 1fr;
  }

  .impact-strip div {
    padding: 18px;
  }

  .collection-section img,
  .hero-photo {
    border-width: 7px;
  }
}
