:root {
  color-scheme: light;
  --paper: #fff8f5;
  --ink: #301f27;
  --muted: #624d54;
  --rose: #962f51;
  --pink: #f6c2ce;
  --pink-paper: #f9e9e7;
  --line: #e6cccc;
  --night: #30212a;
  --night-muted: #ead8dd;
  --gutter: clamp(1rem, 3.5vw, 3rem);
  --body-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--body-font);
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.23em; }
[id] { scroll-margin-top: 1rem; }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1;
  inset: 1rem auto auto 1rem;
  padding: 0.65rem 1rem;
  background: white;
  transform: translateY(calc(-100% - 1.5rem));
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(1224px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
  min-height: 4.75rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.93rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-decoration: none;
}

.wordmark img {
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--pink-paper);
}

nav { display: flex; gap: clamp(0.7rem, 3vw, 2.25rem); }

nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}

nav a:hover, .wordmark:hover { color: var(--rose); }
.nav-community { color: var(--rose); }
.hero { padding-top: clamp(1rem, 2.15vw, 2rem); }

.hero-cover {
  overflow: hidden;
  border-radius: clamp(0.85rem, 1.75vw, 1.5rem);
  background: var(--pink-paper);
}

.hero-image { display: block; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 3 / 1; }

.hero-type {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.4rem 0 1.5rem;
}

.hero-intro p {
  max-width: 43rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  padding: 0.62rem 1.35rem;
  justify-content: center;
  align-items: center;
  border-radius: 100vmax;
  font-size: 0.95rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--rose); }
.button-pink { background: var(--pink); color: var(--night); }
.button-pink:hover { background: #ffd8e1; }

.story {
  border-top: 1px solid var(--line);
  background: var(--pink-paper);
}

.story-inner {
  display: grid;
  grid-template-columns: minmax(15rem, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas: "portrait story-copy";
  align-items: center;
  gap: clamp(1.75rem, 6vw, 6rem);
  padding-block: clamp(2.75rem, 6.7vw, 6rem);
  max-width: 1088px;
}

.portrait {
  grid-area: portrait;
  padding: clamp(0.55rem, 1.2vw, 0.8rem);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--paper);
}

.portrait img {
  width: 100%;
  height: auto;
  border-radius: 0.63rem;
  background: #b98a7d;
}

.portrait figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.2rem 0.8rem;
  padding: 0.55rem 0.2rem 0.02rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.portrait figcaption strong { color: var(--ink); }

h2 {
  font-family: var(--display-font);
  font-size: clamp(2.85rem, 5.7vw, 5.15rem);
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}

.story-copy { grid-area: story-copy; }
.story-copy h2 span { color: var(--rose); }
.story-copy > p { margin-top: 1.2rem; color: var(--muted); font-size: 1.08rem; max-width: 34rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.1rem;
  margin-top: 1.5rem;
}

.facts div {
  padding: 0.68rem 0 0.76rem;
  border-top: 1px solid var(--line);
}

.facts dt { color: var(--rose); font-size: 0.9rem; font-weight: 680; }
.facts dd { margin-top: 0.1rem; font-weight: 700; }
.zoo-link { margin-top: 0.82rem; }
.text-link { font-weight: 750; color: var(--rose); }
.zoo-link small { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.87rem; }
.zoo-link a:hover { color: var(--ink); }

.community { background: var(--night); color: var(--paper); }
.community :focus-visible { outline-color: var(--pink); }

.community-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(0, 0.77fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(2.75rem, 6.5vw, 5.5rem);
  max-width: 1088px;
}

.community h2 { max-width: 38rem; font-size: clamp(2.6rem, 5.25vw, 4.6rem); }
.community h2 span { color: var(--pink); }
.community-copy p { margin-top: 1rem; color: var(--night-muted); }
.community-copy .button { margin-top: 1.3rem; }
.handle { color: var(--paper); font-weight: 650; }

.launch {
  padding: clamp(1rem, 2.65vw, 1.8rem);
  border: 1px solid #7d5d69;
  border-radius: 1rem;
  background: #402c37;
}

.launch-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.45rem 0.7rem; }
.launch h3 { font-size: 1.14rem; line-height: 1.3; }
.launch p { margin-top: 0.65rem; color: var(--night-muted); }

.launch-status {
  padding: 0.22rem 0.65rem;
  border-radius: 100vmax;
  background: #5a3b4b;
  color: #ffd6e1;
  font-size: 0.875rem;
  font-weight: 650;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 1.3rem;
}

.footer-wordmark { flex: none; }
.site-footer p { max-width: 41rem; color: var(--muted); font-size: 0.87rem; }

@media (max-width: 760px) {
  .header-inner { min-height: 4.1rem; }
  .wordmark { font-size: 0.81rem; letter-spacing: 0.045em; }
  .wordmark img { width: 30px; height: 30px; }

  .hero-image img {
    aspect-ratio: 1.55;
    object-fit: cover;
    object-position: center 53%;
  }

  .hero-type {
    position: static;
    width: auto;
    height: auto;
    padding: 1.05rem 0.6rem 1.25rem;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    text-align: center;
  }

  .hero-type h1 {
    font-size: clamp(1.75rem, 7.65vw, 3.7rem);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -0.055em;
  }

  .hero-tagline {
    margin-top: 0.22rem;
    color: var(--rose);
    font-size: clamp(0.76rem, 2.95vw, 0.97rem);
    font-weight: 750;
    letter-spacing: 0.15em;
  }

  .hero-name { margin-top: 0.52rem; font-weight: 650; }
  .hero-intro { padding-block: 1rem 1.35rem; }
  .hero-intro .button { flex: none; }
  .story-inner, .community-inner { grid-template-columns: minmax(0, 1fr); }
  .story-inner { grid-template-areas: "story-copy" "portrait"; }
  .portrait { max-width: 29rem; }
  .launch { max-width: 31rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 400px) {
  .header-inner, nav { flex-wrap: wrap; }
  .header-inner { gap: 0 0.7rem; padding-block: 0.38rem; }
  .wordmark { gap: 0.42rem; }
  nav a { font-size: 0.82rem; }
  .hero-intro { align-items: flex-start; flex-direction: column; }
}
