/* Rehoming Your Reptile: styles built from the site's design system (sage, creamy, Simply Sans).
   Layout: open, photo-led pages. Big type and organic photo shapes instead of boxes;
   thin rules and space separate things. Gentle motion on load, on scroll and on hover. */

@font-face { font-family: "Simply Sans"; src: url("fonts/SimplySans-Book.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Simply Sans"; src: url("fonts/SimplySans-BookItalic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Simply Sans"; src: url("fonts/SimplySans-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Simply Sans"; src: url("fonts/SimplySans-BoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --creamy: #eaeccc;
  --creamy-200: #e0e3bd;
  --white: #ffffff;
  --sage: #6c9070;
  --sage-700: #3f5f44;
  --sage-800: #2f4a34;
  --sage-900: #1f3324;
  --sage-100: #d9e4d3;
  --ink: #1c2a21;
  --ink-muted: #4a5a4d;
  --line: #c9cda6;
  --line-strong: #7d7a5c;
  --basking: #e3a43c;
  --basking-100: #f8e7c4;
  --basking-800: #6e4a0e;
  --clay: #a6472a;
  --clay-100: #f5ddd2;
  --clay-800: #7a321c;
  --focus: #2457c5;

  --font-sans: "Simply Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 96px; --space-9: 144px;
  --radius-lg: 24px; --radius-pill: 999px;
  --blob: 58% 42% 46% 54% / 52% 44% 56% 48%;
  --page: 76rem;
  --measure: 40rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creamy);
  color: var(--ink);
  font: 400 18px/30px var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-700); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--sage-800); text-decoration-thickness: 2px; }
:where(a, button, select):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: 22px; line-height: 28px; }
h1 em, h2 em { font-style: italic; color: var(--sage-700); }
p { margin: 0; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; max-width: 36rem; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.small { font-size: 16px; line-height: 26px; }
.stack { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.kicker { font-weight: 700; font-size: 16px; color: var(--sage-700); display: inline-flex; align-items: center; gap: var(--space-2); }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: var(--space-3) var(--space-4); z-index: 50; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

/* ---------- Frame ---------- */
.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
}

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--creamy); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(234, 236, 204, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-6); padding-block: var(--space-2); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; line-height: 28px; color: var(--ink); text-decoration: none; padding-block: var(--space-2); letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.06); }
.brand-mark path { fill: none; stroke: var(--sage-700); stroke-width: 2.4; stroke-linecap: round; }
.brand span { color: var(--sage-700); }
.nav { display: flex; flex-wrap: wrap; gap: 0 2px; margin: 0 -12px; padding: 0; list-style: none; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; font-size: 17px; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--sage-700); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--sage-700); font-weight: 700; }

main:focus { outline: none; }
.view { display: flex; flex-direction: column; gap: var(--space-8); padding-bottom: var(--space-8); animation: viewIn .6s var(--ease) both; }

.view > .wrap { width: 100%; }
@media (min-width: 760px) { .view { gap: var(--space-9); padding-bottom: var(--space-9); } }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.section { display: flex; flex-direction: column; gap: var(--space-6); }
.section-head { display: flex; flex-direction: column; gap: var(--space-3); max-width: 46rem; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-4); align-items: center; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: var(--radius-pill); border: 0; font: 700 17px/1 var(--font-sans); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .25s var(--ease); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--sage-700); color: var(--white); box-shadow: 0 10px 24px -12px rgba(31, 51, 36, .7); }
.btn-primary:hover { background: var(--sage-800); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); padding: 0 6px; }
.btn-ghost:hover { color: var(--sage-700); }
.btn-ghost .label { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- Hero ---------- */
.hero { display: grid; gap: var(--space-7); align-items: center; padding-top: var(--space-6); }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 1fr; gap: var(--space-6); padding-top: var(--space-6); } }
.hero-copy { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
.hero .lead, .hero .actions, .hero .pill { animation: fadeUp .8s .35s var(--ease) both; }
.hero .actions { animation-delay: .45s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: var(--radius-pill); background: var(--white); font-weight: 700; font-size: 15px; line-height: 22px; color: var(--sage-800); }
.pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(108, 144, 112, .55); } 70% { box-shadow: 0 0 0 10px rgba(108, 144, 112, 0); } 100% { box-shadow: 0 0 0 0 rgba(108, 144, 112, 0); } }

.hero-art { position: relative; width: 100%; max-width: 600px; justify-self: center; aspect-ratio: 1 / 1.02; }
.hero-blob { position: absolute; inset: 0 7% 9% 0; border-radius: var(--blob); overflow: hidden; background: var(--sage); animation: morph 14s ease-in-out infinite alternate, fadeIn 1s .1s var(--ease) both; }
.hero-blob img { width: 100%; height: 100%; object-fit: cover; animation: drift 22s ease-in-out infinite alternate; }
.hero-orbit { position: absolute; width: 38%; aspect-ratio: 1; right: 0; bottom: 0; border-radius: 50%; overflow: hidden; border: 6px solid var(--creamy); background: var(--sage-100); animation: bob 7s ease-in-out infinite, fadeIn 1s .5s var(--ease) both; }
.hero-orbit img { width: 100%; height: 100%; object-fit: cover; }
.hero-scales { position: absolute; left: -5%; top: 4%; width: 24%; color: var(--sage-700); opacity: .5; animation: spinSlow 60s linear infinite; }
@keyframes morph { 0% { border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; } 50% { border-radius: 44% 56% 58% 42% / 46% 58% 42% 54%; } 100% { border-radius: 52% 48% 40% 60% / 58% 46% 54% 42%; } }
@keyframes drift { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.14) translate(-2%, 1.5%); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--sage-800); color: var(--creamy); overflow: hidden; padding-block: 22px; }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0 14px; list-style: none; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.marquee li { display: flex; align-items: center; gap: 28px; }
.marquee li::after { content: ""; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: var(--basking); transform: rotate(-45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Species picker ---------- */
.species { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: var(--space-6) var(--space-5); }
.species button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); width: 100%; text-align: center; border-radius: var(--radius-lg); }
.species button:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.species .ring { position: relative; width: 100%; max-width: 200px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--sage-100); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.species .ring img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.species button:hover .ring { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(31, 51, 36, .55); }
.species button:hover .ring img { transform: scale(1.08); }
.species button[aria-pressed="true"] .ring { box-shadow: 0 0 0 4px var(--creamy), 0 0 0 7px var(--sage-700); }
.species .check { position: absolute; right: 12%; top: 10%; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-700); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 18px; transform: scale(0); transition: transform .35s var(--ease); }
.species button[aria-pressed="true"] .check { transform: scale(1); }
.species .name { font-weight: 700; font-size: 20px; line-height: 26px; }
.species .ring.no-photo { display: grid; place-items: center; }
.species .ring.no-photo svg { width: 46%; color: var(--sage-700); }
.species-compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 104px), 1fr)); gap: var(--space-5) var(--space-4); }
.species-compact .ring { max-width: 120px; }
.species-compact .name { font-size: 17px; }

/* ---------- Statement (safety) ---------- */
.statement { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .statement { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-8); } }
.statement-photo { aspect-ratio: 4 / 3.2; border-radius: 46% 54% 38% 62% / 55% 40% 60% 45%; overflow: hidden; }
.statement-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.statement:hover .statement-photo img { transform: scale(1.04); }
.statement h2 { color: var(--clay-800); }
.statement h2 em { color: var(--clay); }
.statement .copy { display: flex; flex-direction: column; gap: var(--space-4); max-width: 36rem; }

/* ---------- Founder ---------- */
.founder { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); } .founder .founder-photo { order: 2; } }
.founder-photo { justify-self: center; width: 100%; max-width: 440px; aspect-ratio: 5 / 6; border-radius: 48% 52% 44% 56% / 42% 46% 54% 58%; overflow: hidden; background: var(--sage-100); animation: morph 18s ease-in-out infinite alternate; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder .copy { display: flex; flex-direction: column; gap: var(--space-4); max-width: 36rem; }
.about-photo { object-position: 50% 20%; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-7); counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; position: relative; padding-top: var(--space-5); }
.steps li::before { content: counter(step); font-size: 96px; line-height: .9; font-weight: 700; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px var(--sage); }
.steps li::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.steps.in li::after, .no-js .steps li::after { transform: scaleX(1); }
.steps.in li:nth-child(2)::after { transition-delay: .2s; }
.steps.in li:nth-child(3)::after { transition-delay: .4s; }

/* ---------- Video tiles ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--space-7) var(--space-6); }
.vtile { display: flex; flex-direction: column; gap: var(--space-4); color: inherit; text-decoration: none; min-width: 0; }
a.vtile:hover { color: inherit; }
.vtile .shot { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--sage-100); }
.vtile .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s var(--ease); }
.vtile.is-soon .shot img { filter: saturate(.6) brightness(.94); }
.vtile:hover .shot img { transform: scale(1.06); }
.vtile.is-soon:hover .shot img { filter: none; }
.vtile .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: transform .35s var(--ease); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); }
.vtile .play::after { content: ""; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--sage-700); }
.vtile:hover .play { transform: scale(1.1); }
.vtile .month { position: absolute; left: 16px; top: 16px; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--creamy); color: var(--ink); font-weight: 700; font-size: 15px; line-height: 22px; }
.vtile .soon { position: absolute; left: 16px; bottom: 16px; padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(31, 51, 36, .82); color: var(--white); font-weight: 700; font-size: 15px; line-height: 22px; }
.vtile .meta { display: flex; flex-direction: column; gap: 4px; }
.vtile .meta .animal { font-size: 16px; color: var(--ink-muted); }
.vtile .meta p { font-size: 16px; line-height: 26px; color: var(--ink-muted); }
.feature-video { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .feature-video { grid-template-columns: 1.3fr 1fr; gap: var(--space-8); } .feature-video .vtile .shot { aspect-ratio: 16 / 10; } }

/* ---------- Page heads ---------- */
.page-head { display: grid; gap: var(--space-6); align-items: center; padding-top: var(--space-7); }
@media (min-width: 900px) { .page-head.with-art { grid-template-columns: 1.25fr 1fr; } }
.page-head .copy { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.page-head .art { aspect-ratio: 5 / 3.6; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; overflow: hidden; animation: fadeIn 1s var(--ease) both, morph 16s ease-in-out infinite alternate; }
.page-head .art img { width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }

/* ---------- Store list ---------- */
.filterbar { display: flex; flex-direction: column; gap: var(--space-5); }
.filterbar .row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.field { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.field label { font-weight: 700; font-size: 16px; }
.field select { min-height: 48px; min-width: 12rem; max-width: 100%; padding: 0 44px 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233f5f44' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center; -webkit-appearance: none; appearance: none; color: var(--ink); font: 400 17px/1 var(--font-sans); cursor: pointer; }
.clear { all: unset; cursor: pointer; font-size: 16px; color: var(--sage-700); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.clear:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.result-count { font-size: 16px; color: var(--ink-muted); }
.town { display: grid; gap: var(--space-4) var(--space-6); padding-top: var(--space-6); border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .town { grid-template-columns: 15rem 1fr; } }
.town > h2 { font-size: clamp(28px, 3vw, 40px); }
.stores { display: flex; flex-direction: column; min-width: 0; }
.store { display: grid; gap: var(--space-4) var(--space-6); padding-block: var(--space-6); border-bottom: 1px solid var(--line); min-width: 0; }
.store:first-child { padding-top: 0; }
@media (min-width: 760px) { .store { grid-template-columns: 1.1fr 1fr; } }
.store-main { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.store-main h3 { font-size: 26px; line-height: 32px; }
.store-photo { width: 100%; max-width: 360px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); }
.takes { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-5); margin: 0; font-size: 17px; line-height: 27px; align-content: start; }
.dl dt { color: var(--ink-muted); }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.tba { color: var(--ink-muted); font-style: italic; }
.checked { font-size: 15px; color: var(--ink-muted); }
.sample-tag { align-self: flex-start; font-size: 14px; line-height: 22px; font-weight: 700; color: var(--basking-800); background: var(--basking-100); padding: 2px 12px; border-radius: var(--radius-pill); }
.empty { display: flex; flex-direction: column; gap: var(--space-3); max-width: 40rem; padding-top: var(--space-6); border-top: 2px solid var(--ink); }
.empty h2 { font-size: clamp(26px, 3vw, 36px); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px 0 12px; border-radius: var(--radius-pill); font: 700 15px/22px var(--font-sans); white-space: nowrap; }
.badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; box-sizing: border-box; }
.badge-accepts { background: var(--sage-100); color: var(--sage-800); }
.badge-accepts::before { background: currentColor; }
.badge-ask { background: var(--basking-100); color: var(--basking-800); }
.badge-ask::before { border: 2px solid currentColor; }
.badge-no { background: var(--clay-100); color: var(--clay-800); }
.badge-no::before { border-radius: 1px; width: 11px; height: 2px; transform: rotate(-45deg); background: currentColor; }

/* ---------- Checklist / prose ---------- */
.split { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.25fr; gap: var(--space-8); } .split .sticky { position: sticky; top: 110px; } }
.split .sticky { display: flex; flex-direction: column; gap: var(--space-4); }
.split .sticky img { border-radius: 50% 50% 44% 56% / 58% 50% 50% 42%; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 420px; }
.checklist { list-style: none; margin: 0; padding: 0; counter-reset: c; display: flex; flex-direction: column; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 52px 1fr; gap: var(--space-4); padding-block: var(--space-5); border-bottom: 1px solid var(--line); }
.checklist li:first-child { padding-top: 0; }
.checklist li::before { content: counter(c, decimal-leading-zero); font-weight: 700; font-size: 22px; line-height: 28px; color: var(--sage-700); font-variant-numeric: tabular-nums; }
.checklist b { display: block; font-size: 20px; line-height: 28px; margin-bottom: 2px; }
.prose { display: flex; flex-direction: column; gap: var(--space-4); max-width: var(--measure); }
.prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: var(--space-2); }
.prose li::marker { color: var(--sage); }

/* ---------- About ---------- */
.about { display: grid; gap: var(--space-7); align-items: center; padding-top: var(--space-7); }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.2fr; gap: var(--space-8); } }
.about-photo { width: 100%; max-width: 460px; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--blob); animation: morph 16s ease-in-out infinite alternate; }
.soon-line { font-style: italic; color: var(--ink-muted); }

/* ---------- Call-out band (add a store) ---------- */
.cta { position: relative; background: var(--sage-800); color: var(--creamy); border-radius: 40px; padding: var(--space-7) var(--space-6); overflow: hidden; display: grid; gap: var(--space-5); }
@media (min-width: 760px) { .cta { padding: var(--space-8); grid-template-columns: 1.4fr 1fr; align-items: center; } }
.cta h2 { color: var(--creamy); }
.cta h2 em { color: var(--basking); }
.cta p { color: var(--sage-100); max-width: 34rem; }
.cta .btn-primary { background: var(--creamy); color: var(--sage-900); box-shadow: none; }
.cta .btn-primary:hover { background: var(--white); color: var(--sage-900); }
.cta .scales { position: absolute; right: -50px; bottom: -70px; width: 300px; color: var(--sage); opacity: .45; pointer-events: none; animation: spinSlow 80s linear infinite; }
.cta .copy, .cta .side { position: relative; display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.copy-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.copy-row code { font: 700 18px/1.4 var(--font-sans); background: rgba(255, 255, 255, .12); border-radius: 8px; padding: 6px 12px; user-select: all; overflow-wrap: anywhere; }
.copy-btn { all: unset; cursor: pointer; font-weight: 700; color: var(--creamy); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.copy-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sage-900); color: var(--sage-100); padding-block: var(--space-8) var(--space-6); }
.site-footer .wrap { display: flex; flex-direction: column; gap: var(--space-6); }
.footer-big { font-size: clamp(42px, 8vw, 112px); line-height: .95; font-weight: 700; letter-spacing: -0.04em; color: var(--creamy); text-wrap: balance; }
.footer-big span { color: var(--sage); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4) var(--space-6); font-size: 16px; line-height: 26px; border-top: 1px solid rgba(217, 228, 211, .2); padding-top: var(--space-5); }
.footer-row a { color: var(--creamy); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.credits { font-size: 14px; line-height: 22px; color: rgba(217, 228, 211, .8); }
.credits summary { cursor: pointer; width: fit-content; min-height: 32px; }
.credits ul { margin: var(--space-2) 0 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 2px; }
.credits a { color: inherit; }

/* ---------- Scroll reveal (content stays visible without JavaScript) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal-stagger.in > * { opacity: 1; transform: none; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }
.js .reveal-stagger.in > *:nth-child(n+7) { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
  .steps li::after { transform: scaleX(1); }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; line-height: 28px; }
  .view { gap: 72px; padding-bottom: 72px; }
  .site-header .wrap { padding-block: 4px 0; }
  .site-header nav { width: 100%; }
  .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 8px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: 16px; }
  .hero { padding-top: var(--space-4); gap: var(--space-6); }
  .hero-art { max-width: 380px; }
  .lead { font-size: 18px; }
  .actions .btn-primary { width: 100%; }
  .species, .species-compact { display: flex; grid-template-columns: none; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; margin-inline: -20px; padding: 6px 20px 12px; }
  .species::-webkit-scrollbar { display: none; }
  .species li { flex: 0 0 120px; scroll-snap-align: start; }
  .species .ring { max-width: 120px; }
  .species .name { font-size: 17px; }
  .marquee { padding-block: 16px; }
  .statement-photo { aspect-ratio: 16 / 11; }
  .steps li::before { font-size: 72px; }
  .page-head { padding-top: var(--space-5); gap: var(--space-5); }
  .page-head .art { aspect-ratio: 16 / 8; border-radius: 36px; animation: fadeIn 1s var(--ease) both; }
  .store-main h3 { font-size: 23px; line-height: 30px; }
  .dl { font-size: 16px; }
  .split .sticky img { max-width: 260px; }
  .cta { border-radius: 28px; padding: var(--space-6) var(--space-5); }
  .cta .scales { width: 200px; }
  .site-footer { padding-block: var(--space-7) var(--space-5); }
}
