:root {
  --ink: #2b1838;
  --cream: #fffdf4;
  --lime: #eaf6d6;
  --grid: #d7e8bd;
  --pink: #ff4aa7;
  --pink-light: #ff9bd0;
  --mint: #b9f3e0;
  --yellow: #fff3cb;
  --green: #a8e65e;
  --orange: #fa9534;
  --pixel: "Pixelify Sans", "Courier New", monospace;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--lime);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
::selection { background: var(--pink); color: var(--ink); }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 20; padding: 10px 14px; background: var(--cream); border: 2px solid var(--ink); font-family: var(--pixel); }
.skip-link:focus { top: 12px; }
.wrap { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}
.header-inner { width: min(1368px, calc(100% - 32px)); min-height: 61px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; white-space: nowrap; font: 700 24px/1 var(--pixel); letter-spacing: .01em; }
.brand-icon { width: 34px; height: 34px; flex: none; display: block; border: 2px solid var(--ink); background: var(--lime); overflow: hidden; }
.brand-icon img { width: 100%; height: 100%; display: block; object-fit: cover; image-rendering: pixelated; }
.main-nav { display: flex; align-items: stretch; gap: 24px; margin-left: 2px; align-self: stretch; }
.main-nav a { display: inline-flex; align-items: center; position: relative; text-decoration: none; white-space: nowrap; font: 600 16px/1 var(--pixel); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { content: ""; position: absolute; height: 3px; left: 0; right: 0; bottom: 8px; background: var(--pink); }
.header-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: 1px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font: 700 17px/1 var(--pixel);
  box-shadow: inset 0 -4px 0 rgba(43, 24, 56, .12), inset 0 3px 0 rgba(255, 255, 255, .55), 3px 3px 0 var(--ink);
  transition: transform .15s steps(2, end), box-shadow .15s steps(2, end), background-color .15s;
}
.button:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: inset 0 -4px 0 rgba(43, 24, 56, .12), inset 0 3px 0 rgba(255, 255, 255, .55), 4px 4px 0 var(--ink); }
.button:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: inset 0 -4px 0 rgba(43, 24, 56, .1), inset 0 3px 0 rgba(255, 255, 255, .5), 1px 1px 0 var(--ink); }
.button-small { min-height: 39px; padding: 7px 14px; font-size: 15px; }
.button-pink { background: var(--pink); color: #fff; text-shadow: 1px 1px 0 var(--ink); }
.button-cream { background: var(--cream); }
.button.is-pending { filter: saturate(.65); }
.button.is-pending::after { content: "SOON"; padding: 2px 3px; margin-left: 2px; background: var(--yellow); color: var(--ink); text-shadow: none; font-size: 10px; line-height: 1; }

.hero { padding-top: 48px; }
.hero-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding-bottom: 28px; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font: 700 12px/1.2 var(--pixel); letter-spacing: .13em; }
.tab { display: inline-block; padding: 5px 7px; background: var(--ink); color: #fff; letter-spacing: .09em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--pixel); }
h1 { margin: 23px 0 19px; font-size: clamp(60px, 7.5vw, 106px); font-weight: 700; line-height: .81; letter-spacing: -.052em; text-shadow: 5px 5px 0 var(--pink-light); }
h1 span { color: var(--ink); }
.hero-lede { max-width: 670px; margin: 0; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.34; }
.hero-lede strong { font-weight: 700; }
.hero-badge { width: 145px; min-height: 132px; flex: none; display: grid; align-content: center; justify-items: center; padding: 10px; border: 3px solid var(--ink); background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); transform: rotate(3deg); text-align: center; font: 700 14px/1.1 var(--pixel); }
.hero-badge strong { display: block; color: #e52e88; font-size: 64px; line-height: .95; text-shadow: 3px 3px 0 var(--ink); }
.hero-badge span { white-space: nowrap; }

.specimen-frame { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 10px; padding: 10px; border: 3px solid var(--ink); background: var(--cream); box-shadow: 5px 5px 0 rgba(43, 24, 56, .25); }
.specimen-rail { display: flex; flex-direction: column; gap: 18px; padding: 12px 8px; border: 2px solid var(--ink); background: repeating-linear-gradient(0deg, #f5f0dc 0, #f5f0dc 18px, #ebe5cf 19px, #f5f0dc 20px); }
.specimen-rail div { display: grid; gap: 3px; }
.specimen-rail span { color: #735e7a; font: 700 10px/1 var(--pixel); letter-spacing: .12em; }
.specimen-rail strong { color: #e62b86; font: 700 36px/.95 var(--pixel); }
.specimen-rail b { font: 700 15px/1.1 var(--pixel); }
.hero-art { position: relative; overflow: hidden; border: 2px solid var(--ink); background: var(--mint); }
.hero-art > img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 426; object-fit: cover; image-rendering: pixelated; }
.art-legend { position: absolute; bottom: 8px; left: 8px; display: flex; gap: 11px; padding: 5px 8px; border: 2px solid var(--ink); background: var(--cream); font: 700 10px/1 var(--pixel); letter-spacing: .06em; }
.art-legend span { display: inline-flex; align-items: center; gap: 4px; }
.art-legend i { width: 10px; height: 10px; display: inline-block; border: 1px solid var(--ink); }
.legend-pink { background: var(--pink); }
.legend-green { background: var(--green); }
.legend-orange { background: var(--orange); }
.status-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; border: 3px solid var(--ink); background: var(--ink); color: var(--cream); box-shadow: 4px 4px 0 rgba(43, 24, 56, .18); }
.status-strip > div { min-height: 69px; display: grid; align-content: center; gap: 3px; padding: 9px 16px; border-right: 1px solid #755f7d; }
.status-strip > div:last-child { border-right: 0; }
.status-strip small { color: #ff88c4; font: 700 10px/1 var(--pixel); letter-spacing: .12em; }
.status-strip strong { font: 700 16px/1.1 var(--pixel); }

.section-space { margin-top: 87px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-heading h2 { margin: 12px 0 0; font-size: clamp(52px, 6vw, 78px); font-weight: 700; line-height: .9; letter-spacing: -.045em; text-shadow: 4px 4px 0 var(--pink-light); }
.section-heading p { max-width: 305px; margin: 0 0 3px; font-size: 18px; line-height: 1.35; }
.pink-dot { color: #f33c98; }
.panel-corners { position: relative; border: 3px solid var(--ink); box-shadow: 5px 5px 0 rgba(43, 24, 56, .22); }
.panel-corners::before, .panel-corners::after { position: absolute; z-index: 2; top: 7px; width: 8px; height: 8px; background: var(--pink); border: 2px solid var(--ink); content: ""; pointer-events: none; }
.panel-corners::before { left: 7px; }
.panel-corners::after { right: 7px; }

.about-grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); gap: 20px; align-items: stretch; }
.baby-window { min-width: 0; overflow: hidden; background: var(--cream); }
.window-bar { min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 7px 18px 7px 27px; background: var(--ink); color: var(--cream); font: 700 13px/1 var(--pixel); letter-spacing: .05em; }
.window-dot { width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 0 2px var(--cream); }
.baby-button { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; padding: 0; border: 0; background: var(--lime); cursor: pointer; }
.baby-button img { width: 100%; height: 100%; display: block; object-fit: cover; image-rendering: pixelated; transition: transform .23s steps(4, end); }
.baby-button:hover img { transform: scale(1.025); }
.baby-button.is-blushing img { transform: scale(1.045) rotate(-2deg); }
.cheek { position: absolute; top: 56%; width: 8%; height: 4%; background: #ff3159; box-shadow: 4px 0 #ff3159, 0 4px #f44b69; opacity: 0; transform: scale(.5); transition: opacity .15s steps(2, end), transform .16s steps(2, end); pointer-events: none; }
.cheek-left { left: 34%; }
.cheek-right { right: 34%; }
.is-blushing .cheek { opacity: .9; transform: scale(1); }
.heart { position: absolute; top: 16%; color: #f32c88; font: 700 52px/1 var(--pixel); opacity: 0; text-shadow: 3px 3px 0 var(--ink); pointer-events: none; }
.heart-one { left: 24%; }
.heart-two { right: 22%; animation-delay: .12s; }
.is-blushing .heart { animation: float-heart .9s steps(5, end) both; }
.window-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 9px 14px; border-top: 3px solid var(--ink); font: 700 12px/1.1 var(--pixel); }
.window-footer strong { white-space: nowrap; color: #e42e88; }
.bio-panel { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(26px, 4vw, 56px); background: var(--cream); }
.micro-label { color: #a62871; font: 700 12px/1.1 var(--pixel); letter-spacing: .14em; }
.bio-panel h3 { margin: 18px 0 16px; font-size: clamp(48px, 5vw, 70px); line-height: .83; letter-spacing: -.04em; }
.bio-panel h3 span { color: #ec3995; }
.bio-panel p { max-width: 485px; margin-bottom: 16px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.36; }
.bio-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 28px; }
.bio-facts span { padding: 8px 10px; border: 2px solid var(--ink); background: var(--lime); font: 700 13px/1 var(--pixel); }

.nursery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.friend-card { min-width: 0; background: var(--cream); }
.friend-art { height: 220px; overflow: hidden; border-bottom: 3px solid var(--ink); background: var(--mint); }
.friend-art img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transform: scale(1.7); transition: transform .3s steps(5, end); }
.friend-card:hover img { transform: scale(1.78); }
.focus-hippo { object-position: 0% 80%; transform-origin: left bottom; }
.friend-art img.focus-pup { object-position: 30% 52%; transform: scale(2.5); transform-origin: left center; }
.friend-card:hover img.focus-pup { transform: scale(2.6); }
.focus-whale { object-position: 100% 56%; transform-origin: right center; }
.friend-copy { padding: 19px 21px 22px; }
.friend-copy > span { color: #a42a71; font: 700 12px/1 var(--pixel); letter-spacing: .1em; }
.friend-copy h3 { margin: 7px 0 7px; font-size: 43px; line-height: .9; text-shadow: 3px 3px 0 var(--pink-light); }
.friend-copy p { margin: 0; font-size: 17px; line-height: 1.3; }

.contract { padding-bottom: 88px; }
.contract-panel { padding: 25px 27px 19px; background: var(--cream); }
.contract-top, .contract-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contract-top { padding-right: 8px; font: 700 13px/1 var(--pixel); letter-spacing: .11em; }
.status-pill { padding: 7px 9px; border: 2px solid var(--ink); background: var(--yellow); color: #ab286f; white-space: nowrap; letter-spacing: 0; }
.contract-row { display: flex; align-items: center; gap: 18px; margin: 22px 0 19px; }
.contract-row code { flex: 1; min-width: 0; display: block; padding: 18px 20px; border: 2px dashed #796282; background: #f7f3e8; color: var(--ink); font: 700 clamp(16px, 2.25vw, 27px)/1.2 var(--pixel); overflow-wrap: anywhere; }
.copy-button { min-width: 140px; }
.copy-button:disabled { opacity: .58; cursor: not-allowed; }
.contract-bottom { padding-top: 11px; border-top: 1px dashed #a693a9; font-size: 14px; }
.contract-bottom span:last-child { font: 700 13px/1 var(--pixel); }
.social-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 24px 28px; background: var(--mint); }
.social-panel h3 { margin: 7px 0 0; font-size: clamp(28px, 3vw, 41px); line-height: 1; }
.social-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

.site-footer { border-top: 3px solid var(--ink); background: var(--ink); color: var(--cream); }
.footer-inner { display: flex; align-items: center; gap: 20px; min-height: 95px; padding-block: 16px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; white-space: nowrap; font: 700 22px/1 var(--pixel); }
.footer-brand img { width: 36px; height: 36px; object-fit: cover; border: 2px solid var(--cream); image-rendering: pixelated; }
.footer-brand small { display: block; margin-top: 3px; color: #eaa9ce; font-size: 11px; }
.footer-inner p { max-width: 460px; margin: 0 auto; font-size: 14px; text-align: center; }
.footer-inner > a:last-child { color: var(--cream); white-space: nowrap; font: 700 13px/1 var(--pixel); }
.toast { position: fixed; z-index: 30; bottom: 22px; left: 50%; max-width: min(440px, calc(100% - 24px)); padding: 12px 18px; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .16s, transform .16s; text-align: center; font: 700 15px/1.1 var(--pixel); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@keyframes float-heart { 0% { opacity: 0; transform: translateY(18px) scale(.6); } 25% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-35px) scale(1.1); } }

@media (max-width: 1000px) {
  .header-inner { gap: 15px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 14px; }
  .brand { font-size: 20px; }
  .button-small { padding-inline: 10px; }
  .social-panel { flex-direction: column; align-items: flex-start; }
  .social-actions { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .baby-window { width: min(520px, 100%); margin-inline: auto; }
  .bio-panel { min-height: 0; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; }
  .footer-inner p { order: 3; width: 100%; max-width: none; text-align: left; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .hero { padding-top: 32px; }
  .hero-intro { align-items: flex-start; }
  h1 { font-size: clamp(50px, 8.7vw, 70px); }
  .hero-badge { width: 112px; min-height: 108px; font-size: 12px; }
  .hero-badge strong { font-size: 50px; }
  .specimen-frame { grid-template-columns: 77px minmax(0, 1fr); gap: 7px; padding: 7px; }
  .specimen-rail { gap: 11px; padding: 10px 5px; }
  .specimen-rail strong { font-size: 27px; }
  .specimen-rail b { font-size: 12px; }
  .specimen-rail span { font-size: 9px; }
  .art-legend { font-size: 8px; gap: 5px; padding: 4px; }
  .nursery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .friend-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { width: calc(100% - 20px); min-height: 56px; gap: 8px; }
  .brand { gap: 6px; font-size: 16px; }
  .brand-icon { width: 29px; height: 29px; }
  .header-actions { gap: 6px; }
  .header-actions .button { min-height: 35px; padding: 6px 8px; font-size: 12px; box-shadow: 2px 2px 0 var(--ink); }
  .header-actions .button.is-pending::after { display: none; }
  .wrap { width: calc(100% - 28px); }
  .hero-intro { display: block; padding-bottom: 20px; }
  .eyebrow { font-size: 10px; letter-spacing: .08em; }
  h1 { margin: 18px 0 12px; font-size: clamp(44px, 10.5vw, 62px); text-shadow: 3px 3px 0 var(--pink-light); }
  .hero-lede { font-size: 17px; }
  .hero-badge { display: none; }
  .specimen-frame { grid-template-columns: 54px minmax(0, 1fr); gap: 5px; padding: 5px; box-shadow: 3px 3px 0 rgba(43, 24, 56, .25); }
  .specimen-rail { gap: 10px; padding: 7px 3px; overflow: hidden; }
  .specimen-rail span { font-size: 7px; letter-spacing: 0; }
  .specimen-rail strong { font-size: 22px; }
  .specimen-rail b { font-size: 9px; }
  .hero-art > img { height: 225px; aspect-ratio: auto; object-position: center; }
  .art-legend { display: none; }
  .status-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-strip > div { min-height: 59px; padding: 9px 10px; border-bottom: 1px solid #755f7d; }
  .status-strip > div:nth-child(2) { border-right: 0; }
  .status-strip > div:nth-last-child(-n+2) { border-bottom: 0; }
  .status-strip small { font-size: 9px; }
  .status-strip strong { font-size: 13px; }
  .section-space { margin-top: 63px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading h2 { font-size: clamp(43px, 10.5vw, 58px); text-shadow: 3px 3px 0 var(--pink-light); }
  .section-heading p { margin-top: 12px; font-size: 17px; }
  .window-bar { min-height: 39px; font-size: 11px; }
  .window-footer { font-size: 10px; }
  .bio-panel { min-height: 0; padding: 30px 22px; }
  .bio-panel h3 { font-size: 51px; }
  .bio-panel p { font-size: 18px; }
  .bio-facts { padding-top: 13px; }
  .bio-facts span { font-size: 11px; }
  .nursery-grid { grid-template-columns: 1fr; gap: 16px; }
  .friend-card:last-child { grid-column: auto; }
  .friend-art { height: 210px; }
  .contract { padding-bottom: 64px; }
  .contract-panel { padding: 24px 18px 17px; }
  .contract-top { align-items: flex-start; font-size: 11px; letter-spacing: 0; }
  .status-pill { font-size: 10px; padding: 5px; }
  .contract-row { display: block; margin: 17px 0; }
  .contract-row code { margin-bottom: 13px; padding: 13px; font-size: 20px; }
  .copy-button { width: 100%; }
  .contract-bottom { align-items: flex-start; flex-direction: column; font-size: 13px; }
  .social-panel { padding: 27px 18px 20px; }
  .social-panel h3 { font-size: 31px; }
  .social-actions { width: 100%; }
  .social-actions .button { width: 100%; }
  .footer-inner { min-height: 0; padding-block: 24px; }
  .footer-brand { font-size: 18px; }
  .footer-brand img { width: 32px; height: 32px; }
  .footer-inner > a:last-child { font-size: 11px; }
}
@media (max-width: 350px) {
  .brand { font-size: 13px; }
  .header-actions .button { padding-inline: 6px; font-size: 11px; }
  h1 { font-size: 42px; }
  .window-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
