:root {
  --ink: #06142f;
  --ink-soft: #21304c;
  --muted: #596275;
  --paper: #fffaf4;
  --paper-alt: #f7f2ec;
  --white: #ffffff;
  --line: #e9ded2;
  --pink: #f65b91;
  --pink-soft: #ffd7e5;
  --yellow: #ffc31f;
  --yellow-soft: #fff0b8;
  --teal: #45c7c1;
  --teal-soft: #d5f5f2;
  --purple: #9d7ac2;
  --purple-soft: #eadff3;
  --shadow: 0 22px 55px rgba(6, 20, 47, 0.12);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

svg {
  display: block;
  height: 1.15em;
  width: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.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-header {
  background: rgba(255, 250, 244, 0.94);
  border-bottom: 1px solid rgba(233, 222, 210, 0.7);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand-word {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--ink);
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
}

.footer-brand .brand-word {
  font-size: 28px;
}

.logo-donut,
.newsletter-donut {
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  position: relative;
}

.logo-donut {
  width: 0.83em;
  height: 0.83em;
}

.logo-donut::after,
.newsletter-donut::after {
  content: "";
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background: var(--paper);
}

.logo-donut-pink {
  background: radial-gradient(circle at 42% 35%, #ffd6e5 0 18%, var(--pink) 19% 53%, #ffb4cd 54% 100%);
}

.logo-donut-yellow {
  background: radial-gradient(circle at 42% 35%, #ffe58a 0 18%, var(--yellow) 19% 53%, #ffdc6b 54% 100%);
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
}

.primary-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  padding: 12px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.active::after {
  transform: scaleX(1);
}

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

.header-social {
  justify-content: flex-end;
}

.social-links a {
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--pink);
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px;
}

.hero-section {
  overflow: hidden;
  padding: 76px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: 34px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 64px;
  line-height: 1.08;
  font-weight: 900;
}

.hero-copy h1 span {
  color: var(--pink);
}

.hero-copy p,
.page-hero p {
  max-width: 530px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.hero-art {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-art img {
  width: min(100%, 590px);
  object-fit: contain;
  clip-path: inset(0 8% 0 0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 14px 24px rgba(255, 195, 31, 0.28);
}

.button-outline {
  border-color: var(--pink);
  color: var(--pink);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--pink);
  color: var(--white);
}

.category-section,
.about-themes,
.stories-section,
.contact-section,
.legal-section {
  padding: 58px 0 72px;
  background: var(--white);
}

.section-heading,
.stories-intro {
  text-align: center;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading h2,
.stories-intro h2,
.mission-copy h2,
.newsletter-brand h2 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--yellow);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.category-card {
  min-height: 405px;
  background: var(--paper-alt);
  display: grid;
  grid-template-rows: 1fr auto auto auto auto;
  text-align: center;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(233, 222, 210, 0.85);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-card img {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
}

.category-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  margin: -26px auto 14px;
  color: var(--ink);
  position: relative;
  z-index: 2;
}

.category-pink .category-icon {
  background: var(--pink);
}

.category-yellow .category-icon {
  background: var(--yellow);
}

.category-teal .category-icon {
  background: var(--teal);
}

.category-purple .category-icon {
  background: var(--purple);
}

.category-title {
  display: block;
  padding: 0 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-copy {
  display: block;
  min-height: 74px;
  padding: 10px 22px 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.42;
}

.category-arrow {
  display: inline-flex;
  justify-content: center;
  margin: 14px auto 22px;
  color: var(--pink);
}

.category-yellow .category-arrow {
  color: #e4a600;
}

.category-teal .category-arrow {
  color: #139a95;
}

.category-purple .category-arrow {
  color: var(--purple);
}

.mission-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  background: var(--paper);
}

.mission-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.mission-copy {
  align-self: center;
  padding: 64px max(48px, calc((100vw - 1120px) / 2)) 64px 70px;
}

.mission-copy h2 {
  max-width: 520px;
}

.mission-copy h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 18px 0 0;
  background: var(--yellow);
}

.mission-copy p:not(.eyebrow) {
  max-width: 530px;
  color: var(--ink-soft);
  margin: 22px 0 0;
}

.newsletter-section {
  background: var(--teal);
  padding: 38px 0;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.newsletter-brand {
  display: flex;
  align-items: center;
  gap: 26px;
}

.newsletter-donut {
  width: 76px;
  height: 76px;
  background: radial-gradient(circle at 42% 35%, #ffd6e5 0 18%, var(--pink) 19% 53%, #ffb4cd 54% 100%);
  box-shadow: 0 16px 34px rgba(6, 20, 47, 0.12);
}

.newsletter-brand p {
  max-width: 430px;
  margin: 4px 0 0;
  color: var(--ink);
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 172px;
  gap: 14px;
  position: relative;
}

.newsletter-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  padding: 15px 16px;
  outline: none;
}

.newsletter-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(246, 91, 145, 0.16);
}

.newsletter-form button {
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 22px;
  color: var(--ink);
  font-weight: 700;
}

.form-note.is-success {
  color: #27784f;
}

.form-note.is-error {
  color: #b42318;
}

.site-footer {
  background: var(--paper);
  padding: 46px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(120px, 0.65fr) minmax(120px, 0.65fr) minmax(170px, 0.7fr) minmax(150px, 0.65fr);
  gap: 34px;
  align-items: start;
}

.footer-brand p,
.site-footer p,
.site-footer a,
.site-footer li {
  color: var(--ink-soft);
  font-size: 15px;
}

.footer-brand p {
  max-width: 295px;
  margin: 18px 0 0;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li + li {
  margin-top: 7px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--pink);
}

.copyright {
  margin: 0;
  text-align: right;
}

.page-hero {
  padding: 66px 0;
  background: var(--paper);
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  align-items: center;
  gap: 48px;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-hero img[src$="hero-art.jpg"] {
  clip-path: inset(0 8% 0 0);
}

.page-hero-pink {
  background: linear-gradient(90deg, var(--pink-soft), var(--paper));
}

.page-hero-yellow {
  background: linear-gradient(90deg, var(--yellow-soft), var(--paper));
}

.page-hero-teal {
  background: linear-gradient(90deg, var(--teal-soft), var(--paper));
}

.page-hero-purple {
  background: linear-gradient(90deg, var(--purple-soft), var(--paper));
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.story-card {
  background: var(--paper);
  padding: 30px;
  box-shadow: 0 0 0 1px var(--line);
}

.story-card h2 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.2;
}

.story-card p {
  color: var(--ink-soft);
  margin: 0;
}

.story-card p + p {
  margin-top: 14px;
}

.story-kicker {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.about-themes {
  background: var(--white);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.theme-tile {
  background: var(--paper);
  min-height: 235px;
  padding: 28px 24px;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.theme-tile:hover,
.theme-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.theme-tile .category-icon {
  margin: 0 0 18px;
}

.theme-tile h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.theme-tile p {
  margin: 0;
  color: var(--ink-soft);
}

.content-band {
  background: var(--paper);
  padding: 62px 0 72px;
}

.narrow-copy {
  max-width: 780px;
}

.narrow-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.narrow-copy p + p {
  margin-top: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: 40px;
  align-items: start;
}

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

.contact-method {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: var(--paper);
  padding: 22px;
  box-shadow: 0 0 0 1px var(--line);
}

.contact-method > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
}

.contact-method h2 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.2;
}

.contact-method p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-form {
  background: var(--paper);
  padding: 30px;
  display: grid;
  gap: 12px;
  box-shadow: 0 0 0 1px var(--line);
}

.contact-form label {
  color: var(--ink);
  font-weight: 800;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: max-content;
  cursor: pointer;
}

.legal-section {
  background: var(--white);
}

.legal-shell {
  max-width: 900px;
  background: var(--paper);
  padding: 48px;
  box-shadow: 0 0 0 1px var(--line);
}

.legal-shell h1 {
  margin: 0;
  color: var(--ink);
  font-size: 44px;
  line-height: 1.1;
}

.legal-shell h2 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.legal-shell p,
.legal-shell li {
  color: var(--ink-soft);
}

.legal-shell p {
  margin: 0 0 14px;
}

.legal-date {
  margin-top: 12px;
  font-weight: 800;
}

.legal-shell ul {
  margin: 0 0 18px 22px;
  padding: 0;
}

.legal-shell li + li {
  margin-top: 6px;
}

@media (max-width: 1080px) {
  .hero-copy h1,
  .page-hero h1 {
    font-size: 54px;
  }

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

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

  .copyright {
    text-align: left;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 32px, 720px);
  }

  .header-inner {
    min-height: 74px;
    grid-template-columns: 1fr auto;
  }

  .brand-word {
    font-size: 27px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .primary-nav,
  .header-social {
    display: none;
  }

  body.nav-open .primary-nav {
    display: flex;
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 48px rgba(6, 20, 47, 0.14);
  }

  body.nav-open .primary-nav a {
    padding: 18px 0;
    font-size: 16px;
  }

  .hero-section {
    padding: 54px 0 46px;
  }

  .hero-grid,
  .page-hero-grid,
  .mission-section,
  .newsletter-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 45px;
  }

  .hero-art {
    justify-content: center;
  }

  .page-hero img {
    max-height: 420px;
  }

  .mission-copy {
    padding: 46px 24px 54px;
  }

  .mission-image img {
    min-height: 320px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form button {
    min-height: 52px;
  }

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

@media (max-width: 620px) {
  .hero-copy h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .section-heading h2,
  .stories-intro h2,
  .mission-copy h2,
  .newsletter-brand h2 {
    font-size: 29px;
  }

  .category-grid,
  .theme-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 0;
  }

  .newsletter-brand {
    align-items: flex-start;
  }

  .newsletter-donut {
    width: 58px;
    height: 58px;
  }

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

  .contact-method {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 18px;
  }

  .contact-method > span {
    width: 46px;
    height: 46px;
  }

  .contact-form,
  .legal-shell,
  .story-card {
    padding: 24px;
  }

  .legal-shell h1 {
    font-size: 34px;
  }

  .legal-shell h2 {
    font-size: 22px;
  }
}
