/* Poppy's Pets: shared styles for every page.
   Colors, fonts and the page gutter are set once in :root. Change them there. */
:root {
  --bg: #EDF2E1;
  --ink: #14281F;
  --muted: #3C5A49;
  --accent: #1B6B50;
  --sun: #F2C230;
  --orange: #E8742A;
  --panel: #DCE6CB;
  --card: #FFFFFF;
  --line: #C9D6B8;
  --line-strong: #A9BC96;
  --dark: #14281F;
  --darker: #0D1C15;
  --soft: #CFDABF;
  --soft-2: #A9BC96;
  --display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
img, video { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { opacity: 0.75; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.section--dark :focus-visible { outline-color: var(--sun); }
[id] { scroll-margin-top: 16px; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 10; padding: 10px 18px; border-radius: 999px; background: var(--dark); color: var(--bg); }
.skip:focus { top: 12px; }

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

/* Type */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(42px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 5vw, 52px); line-height: 1.02; letter-spacing: -0.02em; }
h3 { font-size: 24px; line-height: 1.15; }
p { margin: 0; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lead { max-width: 34em; font-size: 19px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack--lg { gap: 28px; }
.soft { color: var(--soft); }

/* Header */
.site-header .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 20px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-weight: 500; font-size: 16px; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn--dark { background: var(--dark); color: var(--bg); }
.btn--accent { background: var(--accent); color: #FFFFFF; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.link-strong { font-weight: 700; }

/* Sections */
.section { padding-block: 88px; }
.section--panel { background: var(--panel); }
.section--dark { background: var(--dark); color: var(--bg); }
.section--dark .eyebrow { color: var(--sun); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 40em; margin-bottom: 48px; }
.page-head { padding-block: 56px 40px; }
.page-head h1 { max-width: 14em; font-size: clamp(40px, 7vw, 80px); }
.page-body { padding-block: 24px 96px; }

/* Home: hero */
.hero { padding-block: 40px 80px; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: stretch; gap: 48px; }
.hero-copy { flex: 1 1 420px; min-width: 0; justify-content: center; }
.hero-photo { position: relative; flex: 1 1 380px; min-width: 0; min-height: 460px; margin: 0; overflow: hidden; border-radius: 180px 4px 4px 4px; background: var(--accent); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; }
.hero-photo figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 12px 16px; border-radius: 4px; background: var(--bg); font-weight: 500; }

/* Home: how it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px 32px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--sun); }
.step-label { font-family: var(--mono); font-size: 13px; color: var(--sun); }
.step p { color: var(--soft); }

/* Home: price */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; align-items: stretch; }
.card { display: flex; flex-direction: column; gap: 20px; padding: 32px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); }
.card h3 { font-size: 28px; letter-spacing: -0.01em; }
.card--accent { border-color: var(--accent); background: var(--accent); color: #FFFFFF; }
.big { font-family: var(--display); font-weight: 800; font-size: 72px; line-height: 1; }
.big-note { margin-top: 2px; font-family: var(--mono); font-size: 14px; }
.card:not(.card--accent) .big-note { color: var(--muted); }
.checks { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-left: 20px; }

/* Home: the animals */
.crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.crew-card { display: flex; flex-direction: column; gap: 14px; }
.crew-photo { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 4px; background: var(--line); }
.crew-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.crew-name h3 { font-size: 26px; }
.tag { padding: 2px 10px; border-radius: 999px; color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.tag--reptile { background: var(--sun); }
.tag--bug { background: var(--orange); }
.species { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Home: for parents */
.care { display: flex; flex-wrap: wrap; gap: 48px; }
.care-head { flex: 1 1 320px; min-width: 0; }
.care-list { display: flex; flex: 1 1 380px; flex-direction: column; gap: 28px; min-width: 0; }
.care-item { display: flex; flex-direction: column; gap: 4px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.care-item:last-child { padding-bottom: 0; border-bottom: 0; }
.care-item h3 { font-size: 22px; }

/* Home: questions */
.faq { max-width: 860px; }
.faq details { padding: 20px 0; border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 800; font-size: 21px; }
.faq details p { margin-top: 12px; }

/* Contact block (bottom of every page) */
.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.split > * { flex: 1 1 320px; min-width: 0; }
.split > :first-child { flex-basis: 420px; }
.contact { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.contact dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun); }
.contact dd { margin: 4px 0 0; font-size: 22px; font-weight: 500; overflow-wrap: anywhere; }
.contact a { color: var(--bg); }

/* Footer */
.site-footer { padding-block: 28px; background: var(--darker); color: var(--soft-2); font-family: var(--mono); font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Reviews, party photos and merch pages */
.empty { display: flex; flex-direction: column; gap: 10px; max-width: 640px; padding: 32px; border-radius: 4px; background: var(--panel); }
.empty h2 { font-size: clamp(26px, 4vw, 36px); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.gallery figure { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.gallery img, .gallery video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--dark); }
.gallery figcaption { font-size: 15px; color: var(--muted); }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.review { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; margin: 0; padding: 32px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); }
.review blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.25; }
.review figcaption { font-family: var(--mono); font-size: 13px; color: var(--muted); }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; gap: 14px; }
.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; background: var(--line); }
.price { font-family: var(--mono); font-size: 14px; }
