:root {
  --ink: #2d2038;
  --muted: #705f76;
  --paper: #fffaf4;
  --pink: #ff5fa8;
  --coral: #ff7a63;
  --sun: #ffd166;
  --mint: #77d8c1;
  --sky: #73c6ff;
  --grape: #8b5cf6;
  --line: rgba(45, 32, 56, 0.14);
  --shadow: 0 18px 44px rgba(110, 63, 90, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.25), transparent 34%),
    linear-gradient(225deg, rgba(115, 198, 255, 0.22), transparent 38%),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(45, 32, 56, 0.12) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 244, 0.9);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), var(--sun));
  color: white;
  box-shadow: 0 10px 24px rgba(255, 95, 168, 0.28);
}

.brand span:last-child {
  font-size: 1.12rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.button {
  color: white;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(45, 32, 56, 0.16);
}

.button.secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
  box-shadow: none;
}

.button.candy {
  background: linear-gradient(135deg, var(--pink), var(--coral));
}

.page {
  position: relative;
  z-index: 1;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding-top: 40px;
  padding-bottom: 42px;
}

.hero-copy {
  display: grid;
  gap: 20px;
  align-content: center;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 95, 168, 0.13);
  color: #9b235e;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: normal;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.1rem, 8vw, 7.5rem);
}

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

h3 {
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
}

p {
  margin: 0;
  line-height: 1.7;
}

.lede {
  max-width: 64ch;
  font-size: clamp(1.07rem, 2vw, 1.28rem);
  color: var(--muted);
  overflow-wrap: break-word;
}

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

.hero-photo {
  position: relative;
  align-self: stretch;
  min-height: 560px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sticker {
  position: absolute;
  left: -18px;
  bottom: 28px;
  max-width: 220px;
  padding: 16px;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  font-weight: 900;
}

.sparkline {
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--sun), var(--mint), var(--sky), var(--grape));
}

.intro-band {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

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

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

.card {
  overflow: hidden;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(110, 63, 90, 0.1);
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.card img,
.feature img {
  width: 100%;
  height: 265px;
  object-fit: cover;
}

.feature {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 28px;
  align-items: center;
}

.feature img {
  height: 420px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-copy {
  display: grid;
  gap: 16px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(119, 216, 193, 0.18);
  border: 1px solid rgba(119, 216, 193, 0.35);
  font-weight: 800;
}

.page-hero {
  padding-top: 72px;
  padding-bottom: 36px;
}

.page-hero .lede {
  margin-top: 18px;
}

.profile {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 28px;
  align-items: start;
}

.profile img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 32px rgba(110, 63, 90, 0.08);
}

.story-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
}

.toc a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
  font-weight: 800;
}

.story {
  display: grid;
  gap: 28px;
}

.story-section {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
}

.story-section img {
  max-height: 430px;
  width: auto;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-grid a {
  overflow: hidden;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(110, 63, 90, 0.09);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-grid a:hover img {
  transform: scale(1.035);
}

.footer {
  margin-top: 40px;
  padding: 34px 0;
  background: var(--ink);
  color: white;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .feature,
  .profile,
  .story-layout,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-photo {
    min-height: 470px;
  }

  .sticker {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(100% - 24px, 1120px);
    padding: 44px 0;
  }

  .nav-links a {
    flex: none;
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

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

  .card img,
  .feature img {
    height: 250px;
  }

  .panel,
  .story-section {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .nav-links a {
    min-height: 38px;
    padding: 8px 10px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }
}

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