/* Pup With Santa: base styles. Mobile first. A holiday photo studio: the brand red
   large behind the pictures (the hero and the buy step), cream paper, forest green as a
   second colour used sparingly, warm gold hairlines, a heavy display face for headlines.
   Every value is a token in :root; design/DESIGN.md says why. */

/* Fonts: self-hosted, SIL Open Font License 1.1 (public/fonts/OFL.txt).
   Paytone One for H1, H2, the logo, the big price and the question legends; Figtree for
   everything else. The fallback faces are local fonts scaled to the same width and line
   metrics, so the swap moves as little as possible. */
@font-face {
  font-family: "Paytone One";
  src: url("/fonts/PaytoneOne-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-latin-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
/* Paytone One metrics (fontTools, PaytoneOne-Regular.ttf): 1000 units per em, ascent 1113,
   descent 283, line gap 0 (hhea and typo agree, USE_TYPO_METRICS set).
   size-adjust = Paytone width / fallback width on the home H1 "See your dog with Santa
   today": against Arial/Helvetica Bold 1.063 (Helvetica-Bold advance widths; Arial Bold
   has the same widths), against DejaVu Sans Bold 0.887 (measured in Chromium with kerning).
   ascent-override = 111.3% / size-adjust, descent-override = 28.3% / size-adjust, so the
   scaled fallback has the same ascent and descent in px as Paytone One. */
@font-face {
  font-family: "Paytone Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold");
  size-adjust: 106.3%;
  ascent-override: 104.7%;
  descent-override: 26.6%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Paytone Fallback Linux";
  src: local("DejaVu Sans Bold"), local("DejaVuSans-Bold");
  size-adjust: 88.7%;
  ascent-override: 125.5%;
  descent-override: 31.9%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Helvetica Neue");
  size-adjust: 99.9%;
  ascent-override: 95.1%;
  descent-override: 25%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Figtree Fallback Linux";
  src: local("DejaVu Sans"), local("DejaVuSans");
  size-adjust: 87.6%;
  ascent-override: 108.4%;
  descent-override: 28.5%;
  line-gap-override: 0%;
}

:root {
  /* colour */
  --c-paper: #f7f1e6;        /* page background, cream paper */
  --c-kraft: #ede2cc;        /* bands */
  --c-ink: #1f2a22;          /* text, a green tinted near-black */
  --c-muted: #4b574d;        /* captions, secondary text */
  --c-forest: #1f4a36;       /* the second colour, used sparingly: links, step numbers, footer */
  --c-action: #a3203a;       /* cranberry: buttons on paper */
  --c-action-dark: #861a30;  /* button hover, form errors */
  --c-red: #7f1a2b;          /* the brand red: the hero and the buy step */
  --c-red-2: #9a2136;        /* the light end of the red glow */
  --c-red-deep: #64121f;     /* the dark end of the red glow, text on cream buttons */
  --c-cream: #fbf4e8;        /* text and buttons on red */
  --c-gold: #b08a3e;         /* hairlines and small accents on paper, never text */
  --c-gold-light: #e9c98a;   /* small text and bullets on red */
  --c-white: #ffffff;        /* the print border */
  /* older names the private pages use */
  --c-band: var(--c-kraft);
  --c-pine: var(--c-forest);
  --c-line: var(--c-gold);

  /* type: a heavy display face for H1 and H2, a clean sans for the rest */
  --f-head: "Paytone One", "Paytone Fallback", "Paytone Fallback Linux", sans-serif;
  --f-body: Figtree, "Figtree Fallback", "Figtree Fallback Linux", sans-serif;
  --fw-body: 400;
  --fw-label: 600;
  --fw-strong: 700;
  --fs-h1: 40px;
  --fs-h2: 30px;
  --fs-h3: 24px;
  --fs-body: 18px;
  --fs-small: 14px;          /* captions, picture labels, legal and footer only */
  --fs-price: 72px;

  /* spacing scale: 4 8 12 16 24 32 48 64 96 128 */
  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-24: 24px;
  --s-32: 32px;
  --s-48: 48px;
  --s-64: 64px;
  --s-96: 96px;
  --s-128: 128px;

  /* shape: pictures are prints with a white border and square corners; every button,
     field, chip and label takes the one sharp UI radius (owner, 2026-11-17: no pills) */
  --r-img: 0;
  --r-ui: 4px;
  --r-panel: 4px;
  --r-phone: 28px;          /* the phone drawing of the send tile only: a phone has round corners */
  --shadow-print: 0 1px 2px rgba(31, 42, 34, 0.12), 0 12px 28px -8px rgba(31, 42, 34, 0.3);
  --shadow-on-red: 0 2px 4px rgba(40, 6, 12, 0.25), 0 18px 36px -12px rgba(40, 6, 12, 0.6);
  --glow-red: radial-gradient(120% 70% at 85% 0%, var(--c-red-2) 0%, var(--c-red) 55%, var(--c-red-deep) 100%);

  --container: 1200px;
  --text-col: 38em;

  /* motion: feedback 120 to 240ms */
  --dur-press: 120ms;
  --dur-hover: 200ms;
  --dur-bar: 240ms;
  --dur-open: 240ms;         /* the answer of a question as it opens */
  --dur-enter: 600ms;        /* the hero pictures settling in, once on load */
  --stagger: 100ms;          /* between the four hero pictures */
  --ease-enter: cubic-bezier(0.23, 1, 0.32, 1);

  --mark-nudge: 2.5px;       /* optical centring of the header mark on the name */
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--s-16); }

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: 1.5;
}

h1, h2, h3 {
  margin: 0;
  color: var(--c-ink);
}
h1, h2 {
  font-family: var(--f-head);
  font-weight: 400; /* Paytone One has one weight; it is heavy already. Never synthetic bold */
}
h3 {
  font-family: var(--f-body);
  font-weight: var(--fw-strong);
}
/* Paytone One is about 19% wider than Lilita One was; -0.03em keeps the home H1 at two
   lines on a 375px phone ("See your dog with" is 336px of the 343px column). */
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; margin-bottom: var(--s-16); }
h3 { font-size: var(--fs-h3); line-height: 1.3; margin-bottom: var(--s-8); }

p { margin: 0 0 var(--s-16); max-width: var(--text-col); }
strong,
b { font-weight: var(--fw-strong); }
p:last-child { margin-bottom: 0; }

a { color: var(--c-forest); text-underline-offset: var(--s-4); text-decoration-color: var(--c-gold); }
a:hover { color: var(--c-ink); text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--c-ink);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-16);
}

.skip {
  position: absolute;
  left: 50%;
  top: -64px;
  transform: translateX(-50%);
  z-index: 3;
  background: var(--c-white);
  padding: var(--s-12) var(--s-16);
}
.skip:focus { top: var(--s-8); }

/* ---------- slim header ---------- */
.site-head { border-bottom: 1px solid var(--c-gold); }
.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--s-12);
}
.logo {
  font-family: var(--f-head);
  font-size: var(--fs-h3);
  line-height: 1;
  color: var(--c-red);
  text-decoration: none;
  margin-right: auto;
  padding: var(--s-16) 0;
  display: inline-flex;
  align-items: center;
  gap: var(--s-12);
}
/* the brand mark beside the name: the favicon drawing, 32px, part of the logo link.
   Paytone One has a tall ascent (1113 of 1000), so flex centring puts the glyphs low:
   the line box centre is 1.7px above the cap-height centre and 4px above the x-height
   centre. --mark-nudge moves the mark down to halfway between the two (measured in
   Chromium, design/DESIGN-LOG.md). position, not transform, so the hover tilt is free. */
.logo-mark {
  display: block;
  width: 32px;
  height: 32px;
  flex: none;
  position: relative;
  top: var(--mark-nudge);
  transform-origin: 50% 90%;
  transition: transform var(--dur-hover) var(--ease-enter);
}
.logo:hover { color: var(--c-red-deep); }
/* the mark tips its hat on hover only, never on its own */
@media (hover: hover) {
  .logo:hover .logo-mark { transform: rotate(-8deg); }
}
/* phones: the header is the name only (48px), so the first screen holds the hero.
   The menu and the plain "Add a photo" link come back from 760px. */
.head-add {
  display: none;
  align-items: center;
  min-height: 44px;
  color: var(--c-forest);
  font-weight: var(--fw-label);
}
.head-add:hover { color: var(--c-ink); }
.head-add { position: relative; text-decoration: none; }
.nav {
  display: none;
  gap: var(--s-4);
  flex-basis: 100%;
  margin-left: calc(var(--s-8) * -1);
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-8);
  color: var(--c-ink);
  font-size: var(--fs-small);
  text-decoration: none;
}
.nav a { position: relative; }
/* link hover: an underline that draws in from the left (transform only); the current
   page keeps a gold underline at rest */
.nav a::after,
.head-add::after {
  content: "";
  position: absolute;
  left: var(--s-8);
  right: var(--s-8);
  bottom: var(--s-8);
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-hover) var(--ease-enter);
}
.head-add::after { left: 0; right: 0; }
.nav a:hover::after,
.head-add:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { background: var(--c-gold); transform: scaleX(1); }
.nav a[aria-current="page"]:hover::after { background: currentColor; }

/* ---------- prints: every picture ---------- */
.print { margin: 0; }
.print-face {
  position: relative;
  padding: var(--s-8);
  background: var(--c-white);
  border-radius: var(--r-img);
  box-shadow: var(--shadow-print);
}
.print-face img {
  display: block;
  width: 100%;
  height: auto;
  /* v10 (owner): every picture whole, in its own aspect ratio (from its width and height
     attributes). Never a crop: a card's Merry Christmas band always shows. */
  object-fit: contain;
  border-radius: var(--r-img);
  background: var(--c-kraft);
}
.print figcaption {
  font-size: var(--fs-small);
  color: var(--c-muted);
  padding-top: var(--s-12);
}

/* ---------- buttons and the picker form ---------- */
.add { margin: 0; }
.file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 var(--s-32);
  border: 0;
  border-radius: var(--r-ui);
  background: var(--c-action);
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-strong);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-hover) var(--ease-enter), background-color var(--dur-hover) var(--ease-enter);
}
.btn:hover { background: var(--c-action-dark); color: var(--c-white); }
/* hover: a 2px lift (the button's own shadow comes with it); press: back down and 0.97,
   faster. Hover only on a real pointer, so a tap does not leave a button lifted. */
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
}
.btn:active,
.btn:hover:active { transform: scale(0.97); transition-duration: var(--dur-press); }
.file:focus-visible + .btn {
  outline: 2px solid var(--c-ink);
  outline-offset: 2px;
}
.btn-quiet {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-ink);
  margin-left: var(--s-8);
}
.btn-quiet:hover { background: var(--c-kraft); color: var(--c-ink); }
/* the consent line: the whole label is the tap target */
.add .consent label { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; }
.add .consent { margin-top: var(--s-4); }
.price-line {
  color: var(--c-ink);
  font-weight: var(--fw-label);
  margin: 0;
}

/* ---------- on red: the hero and the buy step ---------- */
.hero,
.buy-panel {
  background-color: var(--c-red);
  background-image: var(--glow-red);
  color: var(--c-cream);
}
.hero h1,
.hero h2,
.hero h3,
.buy-panel h2,
.buy-panel h3 { color: var(--c-cream); }
.hero a,
.buy-panel a { color: var(--c-cream); text-decoration-color: var(--c-gold-light); }
.hero a:hover,
.buy-panel a:hover { color: var(--c-white); }
.hero :focus-visible,
.buy-panel :focus-visible,
.hero .file:focus-visible + .btn,
.buy-panel .file:focus-visible + .btn { outline: 2px solid var(--c-cream); outline-offset: 3px; }
/* the main button on red: cream with dark red text, full width on phones */
.hero .btn,
.buy-panel .btn {
  width: 100%;
  background: var(--c-cream);
  color: var(--c-red-deep);
  box-shadow: var(--shadow-on-red);
}
.hero .btn:hover,
.buy-panel .btn:hover { background: var(--c-white); color: var(--c-red-deep); }
.hero .btn-quiet,
.buy-panel .btn-quiet {
  background: transparent;
  color: var(--c-cream);
  border: 2px solid var(--c-cream);
  box-shadow: none;
  margin: var(--s-12) 0 0;
}
.hero .btn-quiet:hover,
.buy-panel .btn-quiet:hover { background: rgba(251, 244, 232, 0.12); color: var(--c-cream); }
.hero .send .small,
.buy-panel .send .small,
.hero .consent,
.buy-panel .consent { color: var(--c-cream); }
.hero .form-error,
.buy-panel .form-error { color: var(--c-cream); font-weight: var(--fw-strong); }
.hero .bar,
.buy-panel .bar { accent-color: var(--c-cream); max-width: none; }
.ready {
  margin: var(--s-12) 0 0;
  text-align: center;
  font-weight: var(--fw-label);
}
.hero .ready { color: var(--c-cream); }

/* ---------- 1. hero: H1, one before and after pair, the button, the price under it ----------
   Owner decision (round 6): one large pair, the dog's own photo and its picture. Phone
   budget at 375x635 (Safari with its bars): header 65, top 12, H1 2 lines 84, 12, the pair
   about 250 (the picture with Santa larger), 16, button 52, 8, price line 27, bottom 24:
   550, so the next section shows under it. design/DESIGN-LOG.md has the numbers. */
.hero { padding: var(--s-12) 0 var(--s-24); }
.hero h1 { line-height: 1.05; margin-bottom: var(--s-12); max-width: 14em; }
.pair {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--s-16);
  align-items: end;
}
.pair .print { position: relative; }
.pair .print-face {
  padding: 0;
  border: var(--s-4) solid var(--c-white);
  box-shadow: var(--shadow-on-red);
}
/* photo hover: the picture zooms 3% inside its fixed white frame. The frame is a border,
   not padding, so overflow clips the zoom at the inner edge of the white. */
.pair .print-face,
.shot .print-face,
.step-pic,
.more-pic,
.g-after { overflow: hidden; }
.shot .print-face { padding: 0; border: var(--s-8) solid var(--c-white); }
.pair .print-face img,
.shot .print-face img,
.step-pic img,
.more-pic img,
.g-after img { transition: transform var(--dur-hover) var(--ease-enter); }
@media (hover: hover) {
  .pair .print-face:hover img,
  .shot .print-face:hover img,
  .step-pic:hover img,
  .more-link:hover .more-pic img,
  .g-after:hover img { transform: scale(1.03); }
}
/* the page's one designed moment: the two prints settle onto the table on load, once.
   Transform only, from a visible state (never opacity 0, the Santa picture is the LCP),
   600ms each, 100ms apart, done by 700ms. No script; static with reduced motion.
   v11 (owner): the tilted pair of v6 to v9 is back; the v10 straight pair is reverted. */
@keyframes settle {
  from { transform: translateY(var(--s-12)) rotate(var(--settle-turn)); }
}
.pair .print { animation: settle var(--dur-enter) var(--ease-enter) backwards; }
.pair-before { --settle-turn: -2deg; }
.pair-after { --settle-turn: 2deg; animation-delay: var(--stagger); }
/* a slight tilt makes them read as prints on a table */
.pair-before .print-face { transform: rotate(-2deg); }
.pair-after .print-face { transform: rotate(1.2deg); }
/* the label is a chip on its picture */
.print .shot-label {
  position: absolute;
  left: 50%;
  bottom: var(--s-8);
  transform: translateX(-50%);
  padding: 0 var(--s-8);
  border-radius: var(--r-ui);
  background: var(--c-cream);
  color: var(--c-red-deep);
  font-size: var(--fs-small);
  font-weight: var(--fw-strong);
  line-height: 1.5;
  white-space: nowrap;
}
.hero-act { margin-top: var(--s-16); }
.under-btn {
  margin: var(--s-8) 0 0;
  max-width: none;
  color: var(--c-cream);
  font-weight: var(--fw-label);
  text-align: center;
}

/* ---------- 1b. hub pages: the page's line and the price line over the set, the notes
   under it (v12: the old text-only intro band is merged into the set) ---------- */
.set .lead {
  color: var(--c-ink);
  font-size: var(--fs-h3);
  font-weight: var(--fw-label);
  line-height: 1.3;
  margin-bottom: var(--s-8);
}
.set .price-line { margin-bottom: 0; }
.set-notes { display: flex; flex-wrap: wrap; gap: 0 var(--s-24); align-items: baseline; }
.set-notes p { margin: 0; }
.set-notes .ready { margin: 0; text-align: left; color: var(--c-ink); font-size: var(--fs-small); }
.shots-note { font-size: var(--fs-small); color: var(--c-muted); }

/* ---------- 1a. the set: the hero dog's other pictures, right under the hero ---------- */
.block.set { padding: var(--s-48) 0 var(--s-32); }
.cards.set { padding: var(--s-48) 0 var(--s-64); }
.cards-line {
  font-size: var(--fs-h3);
  font-weight: var(--fw-label);
  line-height: 1.3;
  margin: 0;
}
.shots {
  list-style: none;
  margin: var(--s-24) 0 var(--s-16);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
}
.shots-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-12); }
.shots-3 .shot .print-face { border-width: var(--s-4); }
.shots { align-items: end; }
.shot figcaption { text-align: center; color: var(--c-ink); }

/* ---------- sections ---------- */
.block { padding: var(--s-64) 0; }
.band { background: var(--c-kraft); }
.block h2 { max-width: 20em; }

/* the one tile style of the site: a gold hairline, the panel radius, no shadow, paper
   inside. Used by the card tiles, the steps and the link tiles. Pictures inside a tile
   keep the white print frame with no shadow (border or shadow, never both). */
.tile {
  background: var(--c-paper);
  border: 1px solid var(--c-gold);
  border-radius: var(--r-panel);
}
.step-pic,
.more-pic {
  display: block;
  padding: 0;
  border: var(--s-4) solid var(--c-white);
  box-shadow: none;
}

/* 1a. the card section: three short plain lines under the cards (v10, owner: no box, no
   border, no hover, so they never look like buttons) */
.perks {
  list-style: none;
  margin: var(--s-24) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-8);
}
.perk {
  position: relative;
  padding-left: var(--s-24);
  font-weight: var(--fw-label);
}
.perk::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-forest);
}

/* 2. how it works: three tiles, picture and text; the button under them */
.how { padding: var(--s-48) 0 var(--s-64); }
.steps {
  list-style: none;
  margin: var(--s-24) 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: var(--s-16);
}
/* phone: the picture small on the left, the text on the right */
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: var(--s-16);
  align-items: start;
  align-content: start;
  padding: var(--s-12);
}
.step.is-text { grid-template-columns: minmax(0, 1fr); }
.step h3 {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  font-size: var(--fs-body);
  margin-bottom: var(--s-8);
}
.step h3::before {
  content: counter(step);
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-forest);
  color: var(--c-cream);
  font-family: var(--f-head);
  font-size: var(--fs-body);
  line-height: 32px;
  text-align: center;
}
.step p { margin: 0; }
.how-act { margin-top: var(--s-32); }
.ai-line { color: var(--c-muted); font-size: var(--fs-small); margin: var(--s-16) 0 0; }

/* 3. examples: each dog's photo, then its Santa picture, side by side, straight, whole */
.examples { padding: var(--s-64) 0 var(--s-32); }
.ex-text p { margin: 0; }
.gallery {
  list-style: none;
  margin: var(--s-32) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-48);
}
.gallery-1 { max-width: 440px; }
.g-fig { margin: 0; }
.g-pics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-12);
  align-items: start;
}
.g-before,
.g-after { padding: 0; border: var(--s-4) solid var(--c-white); }
.g-tag {
  display: block;
  padding-top: var(--s-8);
  color: var(--c-muted);
  font-size: var(--fs-small);
  text-align: center;
}
.g-fig .g-name {
  padding-top: var(--s-12);
  text-align: left;
  font-size: var(--fs-body);
  font-weight: var(--fw-strong);
  color: var(--c-ink);
}

/* 3a. home: the two link tiles under the examples, the whole tile is the link */
.more { padding: var(--s-16) 0 var(--s-64); }
.more-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-16);
}
.more-link {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: var(--s-16);
  align-items: center;
  padding: var(--s-12);
  color: var(--c-ink);
  text-decoration: none;
}
.more-link.is-text { grid-template-columns: minmax(0, 1fr); }
.more-link:hover { color: var(--c-ink); }
.more-lead { display: block; color: var(--c-muted); }
.more-anchor {
  display: block;
  color: var(--c-forest);
  font-weight: var(--fw-strong);
  text-decoration: underline;
  text-decoration-color: var(--c-gold);
  text-underline-offset: var(--s-4);
}
.more-link:hover .more-anchor { color: var(--c-ink); text-decoration-color: currentColor; }

/* text sections in a row on paper (hub pages): one gold hairline between them in place of
   a second full gap, so related sections sit closer than unrelated ones */
.block.split:not(.band) + .block.split:not(.band) { padding-top: 0; }
.block.split:not(.band) + .block.split:not(.band) .split-grid::before {
  content: "";
  display: block;
  grid-column: 1 / -1;
  border-top: 1px solid var(--c-gold);
  margin-bottom: var(--s-48);
}

/* ---------- v12 (owner): every section has a picture, a mock or something to tap ---------- */

/* labels pinned to a picture with a gold hairline: a dot on the point, the label at the
   edge. The pins class of each picture (content/examples.json) places the three. */
.pin {
  position: absolute;
  right: var(--s-8);
  height: 0;
  border-top: 1px solid var(--c-gold-light);
  pointer-events: none;
}
.pin::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-gold-light);
  box-shadow: 0 0 0 1px rgba(31, 42, 34, 0.4);
}
.pin-label {
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(-50%);
  padding: 0 var(--s-8);
  border-radius: var(--r-ui);
  background: var(--c-gold-light);
  color: var(--c-ink);
  font-size: var(--fs-small);
  font-weight: var(--fw-strong);
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(31, 42, 34, 0.3);
}
/* the sable shepherd with Santa: ears, face, coat */
.pins-shepherd-santa .p1 { top: 40%; left: 37%; }
.pins-shepherd-santa .p2 { top: 18%; left: 48%; }
.pins-shepherd-santa .p3 { top: 64%; left: 36%; }
/* the aussie card: the face, the right ear, the coat on the right flank */
.pins-aussie-wreath .p1 { top: 41%; left: 50%; }
.pins-aussie-wreath .p2 { top: 28%; left: 64%; }
.pins-aussie-wreath .p3 { top: 58%; left: 62%; }
/* the black shepherd photo: labels on the left, over the background */
.pins-black-shepherd-before .pin { left: var(--s-8); right: auto; }
.pins-black-shepherd-before .pin::before { left: auto; right: -4px; }
.pins-black-shepherd-before .pin-label { left: 0; right: auto; }
.pins-black-shepherd-before .p1 { top: 7%; width: 30%; }
.pins-black-shepherd-before .p2 { top: 16%; width: 80%; }
.pins-black-shepherd-before .p3 { top: 84%; width: 70%; }

/* short lines under a picture, each with a small forest dot */
.looks-lines {
  list-style: none;
  margin: var(--s-24) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-8);
}
.looks-lines li {
  position: relative;
  padding-left: var(--s-24);
  font-weight: var(--fw-label);
}
.looks-lines li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-forest);
}

/* it looks like your dog: the photo small, the picture larger, the labels on the picture */
.compare {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--s-16);
  align-items: end;
  margin-top: var(--s-24);
}
.compare .print-face,
.tip-pic .print-face,
.nc-face,
.nc-clean .print-face { padding: 0; border: var(--s-4) solid var(--c-white); }
.compare figcaption { text-align: center; color: var(--c-ink); }

/* a good photo of a shy dog: one photo with its three labels */
.tip-pic { margin-top: var(--s-24); max-width: 400px; }

/* made for nervous dogs: a small two-column table on a cream card */
.nervous-text p { margin: 0; }
.nv {
  width: 100%;
  margin-top: var(--s-24);
  border-collapse: collapse;
  background: var(--c-cream);
  border: 1px solid var(--c-gold);
}
.nv th,
.nv td { padding: var(--s-12) var(--s-12); text-align: left; border-top: 1px solid rgba(31, 42, 34, 0.1); }
.nv thead th { border-top: 0; font-weight: var(--fw-strong); }
.nv thead td { border-top: 0; }
.nv tbody th { font-weight: var(--fw-label); }
.nv .nv-yes { color: var(--c-red); font-weight: var(--fw-strong); }
.nv .nv-no { color: var(--c-forest); font-weight: var(--fw-strong); }

/* your dog's name: the mock card. Without script the card with an example name and the
   picture without words side by side; with it one frame, the field and the switch. */
.nc { margin-top: var(--s-24); display: grid; gap: var(--s-24); }
.nc-pics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-16);
  align-items: end;
}
.nc-pics figcaption { text-align: center; color: var(--c-ink); }
.nc-face { position: relative; }
.nc-name {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* lib/cards.js: Figtree, forest green with a 3 pixel outline in the same green. ffmpeg
   draws the variable font at its default instance, weight 300, so the mock does too. */
.nc-name text {
  font-family: var(--f-body);
  font-weight: 300;
  fill: var(--c-forest);
  stroke: var(--c-forest);
  paint-order: stroke;
}
.nc:not(.is-live) .nc-name,
.nc-face.is-plain .nc-name { display: none; }
.nc.is-live .nc-pics { grid-template-columns: minmax(0, 1fr); max-width: 300px; justify-self: center; width: 100%; }
.nc.is-live .nc-pics figcaption { display: none; }
.nc.is-live .nc-clean,
.nc.is-live.is-clean .nc-card { display: none; }
.nc.is-live.is-clean .nc-clean { display: block; }
.nc-controls { order: -1; display: grid; gap: var(--s-8); max-width: 360px; }
.nc-controls[hidden] { display: none; }
.nc-label { font-weight: var(--fw-label); }
.nc-input {
  min-height: 48px;
  padding: 0 var(--s-12);
  border: 1px solid var(--c-ink);
  border-radius: var(--r-ui);
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
}
.nc-input::placeholder { color: var(--c-muted); }
.nc-switch { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--s-8); }
.nc-opt {
  min-height: 44px;
  padding: 0 var(--s-12);
  border: 1px solid var(--c-forest);
  background: var(--c-paper);
  color: var(--c-forest);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-label);
  cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease-enter), color var(--dur-hover) var(--ease-enter);
}
.nc-opt:first-child { border-radius: var(--r-ui) 0 0 var(--r-ui); }
.nc-opt:last-child { border-radius: 0 var(--r-ui) var(--r-ui) 0; border-left: 0; }
.nc-opt[aria-pressed="true"] { background: var(--c-forest); color: var(--c-cream); }
.nc-opt:active { transform: scale(0.97); transition-duration: var(--dur-press); }
.nc-caption { margin: 0; color: var(--c-ink); }

/* send it or print it: a phone with the sender's own message, and a print */
.sp-tiles {
  list-style: none;
  margin: var(--s-24) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-48);
}
.sp-tile h3 { margin-bottom: var(--s-16); }
.sp-caption { margin: var(--s-16) 0 0; font-weight: var(--fw-label); }
.phone {
  width: 240px;
  padding: var(--s-32) var(--s-12) var(--s-24);
  border: var(--s-8) solid var(--c-ink);
  border-radius: var(--r-phone);
  background: var(--c-paper);
}
.bubble {
  margin-left: var(--s-24);
  padding: var(--s-8);
  border-radius: var(--s-16) var(--s-16) var(--s-4) var(--s-16);
  background: var(--c-forest);
}
.bubble-pic img { display: block; width: 100%; height: auto; }
.bubble-text { margin: var(--s-8) var(--s-4) 0; color: var(--c-cream); font-weight: var(--fw-label); line-height: 1.3; }
.sp-print { padding: var(--s-16) 0 0 var(--s-16); }
.sp-turn { width: 200px; }
.sp-turn .print-face { transform: rotate(2deg); }

/* one or two dogs: the small table in the price panel, faces on the left */
.dogs-table { width: 100%; border-collapse: collapse; margin: var(--s-8) 0 var(--s-24); }
.dogs-table th,
.dogs-table td {
  padding: var(--s-8) var(--s-8) var(--s-8) 0;
  border-top: 1px solid rgba(251, 244, 232, 0.25);
  text-align: left;
  vertical-align: middle;
}
.dogs-table tr:last-child th,
.dogs-table tr:last-child td { border-bottom: 1px solid rgba(251, 244, 232, 0.25); }
.dogs-table th { font-weight: var(--fw-strong); }
.dogs-table .dt-faces { width: 88px; white-space: nowrap; }
.dogs-table .dt-pics { display: block; font-weight: var(--fw-body); }
.dogs-table .dt-price { text-align: right; padding-right: 0; color: var(--c-gold-light); font-weight: var(--fw-strong); white-space: nowrap; }
.face {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--c-cream);
  vertical-align: middle;
}
.face + .face { margin-left: calc(var(--s-12) * -1); }

/* the good list toy: the picture in a print, Santa's list on a cream card, the chips */
.toy { padding-bottom: var(--s-32); }
.toy-line { margin: 0; font-weight: var(--fw-label); }
.toy-grid { display: grid; gap: var(--s-24); margin-top: var(--s-24); align-items: start; }
/* phones: a smaller print, and the chips right under it, above the list, so the picture
   and Santa's answers both stay in view while you tap */
.toy-pic { width: 100%; max-width: 280px; justify-self: center; }
.toy-side { display: flex; flex-direction: column; }
.toy-chips { order: -1; margin: 0 0 var(--s-16); }
.toy-face { overflow: hidden; }
.toy-next {
  position: absolute;
  top: var(--s-8);
  left: var(--s-8);
  width: calc(100% - var(--s-16));
  height: calc(100% - var(--s-16));
  object-fit: contain;
  opacity: 0;
  transition: opacity 400ms var(--ease-enter);
}
.toy-next.is-in { opacity: 1; }
.toy-stamp {
  position: absolute;
  right: var(--s-24);
  bottom: var(--s-24);
  margin: 0;
  padding: var(--s-4) var(--s-12);
  border: var(--s-4) solid var(--c-red);
  border-radius: var(--r-ui);
  background: rgba(251, 244, 232, 0.92);
  color: var(--c-red);
  font-family: var(--f-head);
  font-size: var(--fs-h3);
  line-height: 1.2;
  transform: rotate(-3deg);
  transition: opacity 250ms var(--ease-enter), transform 250ms var(--ease-enter);
}
.toy.is-live:not(.is-done) .toy-stamp { opacity: 0; transform: scale(1.4) rotate(0deg); }
.toy-card {
  padding: var(--s-16) var(--s-24) var(--s-8);
  background: var(--c-cream);
  border: 1px solid var(--c-gold);
  border-radius: var(--r-panel);
}
.toy-meter {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: var(--s-12);
  margin-bottom: var(--s-16);
}
.toy-end-label { font-size: var(--fs-small); font-weight: var(--fw-strong); line-height: 1.2; }
.toy-naughty { color: var(--c-red); text-align: right; }
.toy-good { color: var(--c-forest); }
.toy-dial {
  position: relative;
  width: 96px;
  height: 48px;
  border: 2px solid var(--c-gold);
  border-bottom: 0;
  border-radius: 48px 48px 0 0;
  overflow: hidden;
}
.toy-needle {
  position: absolute;
  left: calc(50% - 1px);
  bottom: 0;
  width: 3px;
  height: 40px;
  border-radius: 2px;
  background: var(--c-ink);
  transform-origin: 50% 100%;
}
.toy-meter.is-good .toy-needle { transform: rotate(52deg); transition: transform 600ms var(--ease-enter); }
.toy-meter.is-naughty .toy-needle { transform: rotate(-52deg); transition: transform 300ms cubic-bezier(0.77, 0, 0.175, 1); }
.toy-list-label {
  margin: 0;
  padding-bottom: var(--s-8);
  border-bottom: 1px solid var(--c-gold);
  font-family: var(--f-head);
  font-size: var(--fs-h3);
  line-height: 1.2;
}
.toy-list { list-style: none; margin: 0; padding: 0; }
.toy-row {
  display: grid;
  align-content: start;
  min-height: 96px;
  padding: var(--s-8) 0;
  border-bottom: 1px dashed rgba(31, 42, 34, 0.25);
}
.toy-row:last-child { border-bottom: 0; }
.toy-crime { font-weight: var(--fw-strong); }
.toy-answer { color: var(--c-red); }
.toy.is-live .toy-crime,
.toy.is-live .toy-answer { opacity: 0; transition: opacity 150ms var(--ease-enter); }
.toy.is-live .toy-row.is-filled .toy-crime,
.toy.is-live .toy-row.is-answered .toy-answer { opacity: 1; }
.toy-chips { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.toy-chips[hidden] { display: none; }
.toy-chip {
  min-height: 44px;
  padding: 0 var(--s-16);
  border: 1px solid var(--c-forest);
  border-radius: var(--r-ui);
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-label);
  cursor: pointer;
  transition: background-color 150ms var(--ease-enter), color 150ms var(--ease-enter), opacity 300ms var(--ease-enter), transform var(--dur-press) var(--ease-enter);
}
.toy-chip:hover { background: var(--c-cream); }
.toy-chip:active { transform: scale(0.97); }
.toy-chip.is-on,
.toy-chip.is-on:hover { background: var(--c-forest); color: var(--c-cream); cursor: default; }
.toy-chip.is-gone { opacity: 0; }
@keyframes toy-pulse {
  50% { transform: scale(1.06); }
}
.toy-chip.is-pulse { animation: toy-pulse 600ms var(--ease-enter) 1; }
.toy-end {
  margin: var(--s-24) 0 0;
  font-size: var(--fs-h3);
  font-weight: var(--fw-strong);
  line-height: 1.3;
  transition: opacity 300ms var(--ease-enter);
}
.toy.is-live:not(.is-done) .toy-end { visibility: hidden; opacity: 0; }
.toy-again {
  min-height: 44px;
  margin-top: var(--s-4);
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-forest);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  text-decoration: underline;
  text-decoration-color: var(--c-gold);
  text-underline-offset: var(--s-4);
  cursor: pointer;
}
.toy-again:hover { color: var(--c-ink); text-decoration-color: currentColor; }
.toy-again { align-self: flex-start; }
.toy-again[hidden] { display: none; }
/* the end line leads straight into the price panel: one band, no gap */
.toy + .buy { background: var(--c-kraft); padding-top: 0; }


/* 5. the buy step: one column of short lines on the red panel, the big price on top.
   The panel is narrow (one reading column) and centred on the page; its text is left aligned. */
.buy { padding: var(--s-32) 0 var(--s-64); }
.buy-panel {
  border-radius: var(--r-panel);
  padding: var(--s-48) var(--s-24);
  box-shadow: var(--shadow-print);
}
.buy-panel h2 { margin-bottom: var(--s-8); }
.price-big {
  font-family: var(--f-head);
  font-size: var(--fs-price);
  line-height: 1;
  color: var(--c-cream);
  margin: 0 0 var(--s-8);
}
.one-payment { font-weight: var(--fw-strong); color: var(--c-gold-light); margin-bottom: var(--s-24); }
.get-line { font-weight: var(--fw-label); margin-bottom: var(--s-8); }
.buy-limits { margin-bottom: var(--s-8); }
.addon-line { font-weight: var(--fw-label); color: var(--c-gold-light); margin-bottom: var(--s-24); }
.see-first { font-weight: var(--fw-label); margin: var(--s-12) 0 0; }
.buy-panel .see-first + p { margin-top: var(--s-24); }

/* 6. questions: details and summary, no script */
.faq { padding: var(--s-48) 0 var(--s-64); }
.qas { max-width: var(--text-col); border-bottom: 1px solid var(--c-gold); }
.qa { border-top: 1px solid var(--c-gold); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-16);
  min-height: 48px;
  padding: var(--s-12) 0;
  font-weight: var(--fw-label);
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  flex: none;
  font-weight: var(--fw-strong);
  font-size: var(--fs-h3);
  color: var(--c-forest);
  transition: transform var(--dur-hover) var(--ease-enter);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding-bottom: var(--s-16); }
/* the answer fades in and drops 4px as the question opens */
@keyframes answer-in {
  from { opacity: 0; transform: translateY(calc(var(--s-4) * -1)); }
}
.qa[open] > p { animation: answer-in var(--dur-open) var(--ease-enter); }

/* legal and status pages */
.legal { padding: var(--s-32) 0 var(--s-64); }
.legal h1 { margin-bottom: var(--s-8); }
.legal h2 { margin-top: var(--s-48); }
.small { font-size: var(--fs-small); color: var(--c-muted); }
.status { padding: var(--s-64) 0 var(--s-96); }
.status h1 { margin-bottom: var(--s-16); }
.lead { color: var(--c-muted); margin-bottom: var(--s-16); }

/* footer */
.site-foot {
  background: var(--c-forest);
  color: var(--c-paper);
  padding: var(--s-48) 0 var(--s-64);
  font-size: var(--fs-small);
}
.site-foot a { color: var(--c-paper); text-decoration-color: var(--c-gold); }
.site-foot :focus-visible { outline-color: var(--c-paper); }
.foot-links {
  list-style: none;
  margin: 0 0 var(--s-24);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-16);
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.foot-line { margin-bottom: var(--s-8); }

/* phones: the set is a swipe row, each print about 72% of the screen wide (78% of the row) so the next one
   peeks. CSS scroll snap only, no script; the list takes keyboard focus (tabindex) so the
   arrow keys scroll it. The row bleeds to the screen edge and keeps the 16px gutter as
   padding; 12px above and below leave room for the print shadow. */
@media (max-width: 759px) {
  .shots,
  .shots-3 {
    display: flex;
    gap: var(--s-16);
    margin-left: calc(var(--s-16) * -1);
    margin-right: calc(var(--s-16) * -1);
    padding: var(--s-12) var(--s-16);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--s-16);
    scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shots .shot { flex: 0 0 78%; scroll-snap-align: start; }
  .shots-3 .shot .print-face { border-width: var(--s-8); }
  .shots:focus-visible { outline-offset: -2px; }
}

@media (min-width: 760px) {
  :root {
    --fs-h1: 60px;
    --fs-h2: 48px;
    --fs-price: 80px;
  }
  .wrap { padding: 0 var(--s-32); }
  .head-row { min-height: 72px; flex-wrap: nowrap; }
  .nav { display: flex; flex-basis: auto; margin-left: 0; order: 1; }
  .head-add { display: inline-flex; order: 2; margin-left: var(--s-16); }
  .nav a { font-size: var(--fs-body); }
  .hero { padding: var(--s-48) 0 var(--s-64); }
  .pair { gap: var(--s-24); }
  .block.set { padding: var(--s-64) 0 var(--s-48); }
  .shots,
  .shots-3 { gap: var(--s-32); }
  .shots-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shots-3 .shot .print-face { border-width: var(--s-8); }
  .hero .btn,
  .buy-panel .btn { max-width: 440px; }
  .under-btn,
  .ready { text-align: left; }
  .block { padding: var(--s-96) 0; }
  .cards.set { padding: var(--s-64) 0 var(--s-96); }
  .perks { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-32); }
  .how { padding: var(--s-96) 0; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-32); margin-top: var(--s-32); }
  .step { grid-template-columns: minmax(0, 1fr); padding: var(--s-16); }
  .step h3 { font-size: var(--fs-h3); }
  .how-act { display: flex; align-items: center; gap: var(--s-32); margin-top: var(--s-48); }
  .how-act .ai-line { margin: 0; max-width: 32em; }
  .examples { padding: var(--s-96) 0 var(--s-48); }
  .gallery { gap: var(--s-32); }
  .gallery-2,
  .gallery-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more { padding: 0 0 var(--s-96); }
  .more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-32); }
  .more-link { grid-template-columns: 128px minmax(0, 1fr); gap: var(--s-24); padding: var(--s-16); }
  .buy { padding: var(--s-48) 0 var(--s-96); }
  .buy-panel { padding: var(--s-64); max-width: 720px; margin: 0 auto; }
  .faq { padding: var(--s-64) 0 var(--s-96); }
  .site-foot { padding: var(--s-48) 0; }
  .compare { max-width: 720px; gap: var(--s-24); }
  .toy { padding-bottom: var(--s-48); }
  .toy-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-48); margin-top: var(--s-32); }
  .toy-pic { max-width: none; }
  .toy-chips { order: 0; margin: var(--s-16) 0 0; }
  .sp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-32); max-width: 960px; }
  .sp-tile { display: grid; grid-template-rows: auto 1fr auto; }
  .nc-pics { max-width: 640px; }
  .nc.is-live { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: var(--s-48); align-items: start; }
  .nc.is-live .nc-pics { grid-row: 1 / span 2; justify-self: start; }
  .nc.is-live .nc-controls { order: 0; grid-column: 2; }
  .nc.is-live .nc-caption { grid-column: 2; align-self: start; max-width: 28em; }
}

@media (min-width: 1080px) {
  /* the hero: the H1 and the button left, the pair right */
  .hero { padding: var(--s-64) 0; }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas:
      ". pics"
      "h1 pics"
      "act pics"
      ". pics";
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: var(--s-64);
  }
  .hero h1 { grid-area: h1; margin-bottom: var(--s-32); }
  .showcase { grid-area: pics; width: 100%; max-width: 600px; justify-self: end; }
  .hero-act { grid-area: act; margin-top: 0; }
  .shots { max-width: 1040px; }
  /* the examples: the heading left, the pairs right */
  .ex-grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: var(--s-64);
    align-items: start;
  }
  .ex-grid .gallery { margin-top: 0; }
  .gallery-1 { max-width: 440px; justify-self: center; width: 100%; }
  .gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* text sections: the heading left, the text beside it, so no half of the row is empty */
  .split-grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: var(--s-64);
    align-items: start;
  }
  .split-grid > h2 { margin: 0; }
  .block.split:not(.band) + .block.split:not(.band) .split-grid::before { margin-bottom: var(--s-64); }
  .split-body > :last-child { margin-bottom: 0; }
  /* v12 sections: the heading and the short lines left, the picture or table right */
  .looks-grid,
  .tip-grid,
  .nervous-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: var(--s-64);
    align-items: start;
  }
  .looks-grid > h2,
  .tip-grid > h2 { grid-column: 1; grid-row: 1; }
  .looks-grid .looks-lines,
  .tip-grid .looks-lines { grid-column: 1; grid-row: 2; }
  .looks-grid .compare,
  .tip-grid .tip-pic { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .nervous-grid .nv { margin-top: 0; }
  .toy-row { min-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  /* everything static: no entrance, no lift, no zoom, no tilt, no slide */
  .btn,
  .qa summary::after,
  .logo-mark,
  .nav a::after,
  .head-add::after,
  .pair .print-face img,
  .shot .print-face img,
  .step-pic img,
  .more-pic img,
  .g-after img { transition: none; }
  .btn:hover,
  .btn:active,
  .btn:hover:active,
  .logo:hover .logo-mark,
  .pair .print-face:hover img,
  .shot .print-face:hover img,
  .step-pic:hover img,
  .more-link:hover .more-pic img,
  .g-after:hover img { transform: none; }
  .pair .print,
  .qa[open] > p { animation: none; }
  /* the toy and the mock card swap instantly (public/toy.js also skips the swing) */
  .toy-next,
  .toy-stamp,
  .toy-needle,
  .toy-meter.is-good .toy-needle,
  .toy-meter.is-naughty .toy-needle,
  .toy-crime,
  .toy-answer,
  .toy.is-live .toy-crime,
  .toy.is-live .toy-answer,
  .toy-chip,
  .toy-end,
  .nc-opt { transition: none; }
  .toy-chip.is-pulse { animation: none; }
  .toy.is-live:not(.is-done) .toy-stamp { transform: rotate(-3deg); }
  .toy-chip:active,
  .nc-opt:active { transform: none; }
}

/* ---------- private pages: the picker extras, /photos ---------- */

[hidden] { display: none !important; }

.consent { margin: var(--s-12) 0 0; font-size: var(--fs-small); }
.consent input { width: 20px; height: 20px; margin-right: var(--s-8); vertical-align: middle; }
.send { margin-top: var(--s-12); }
.send .btn { margin-right: var(--s-12); }
/* the confirm step: a small print of the picked photo, so the buyer sees it is the right one */
.picked {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  margin: 0 0 var(--s-4);
}
.picked img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: var(--s-4) solid var(--c-white);
  border-radius: var(--r-img);
  box-shadow: var(--shadow-print);
  background: var(--c-kraft);
}
.hero .picked figcaption,
.buy-panel .picked figcaption { color: var(--c-cream); }
.bar {
  display: block;
  width: 100%;
  max-width: 360px;
  height: 8px;
  margin-top: var(--s-12);
  accent-color: var(--c-action);
}
.form-error { color: var(--c-action-dark); font-size: var(--fs-small); margin-top: var(--s-8); }
.offscreen { position: fixed; left: -9999px; top: 0; }

.result { padding: var(--s-24) 0 var(--s-64); }
.result h1 { margin-bottom: var(--s-16); }
.note {
  border-left: 3px solid var(--c-action);
  padding-left: var(--s-12);
  color: var(--c-muted);
}

/* wait screen */
.wait {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-24);
  margin: 0 0 var(--s-32);
  max-width: 720px;
}
.own { margin: 0; max-width: 280px; }
.own img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--c-line);
}
.own figcaption { font-size: var(--fs-small); color: var(--c-muted); padding-top: var(--s-8); }
.wait-steps {
  list-style: none;
  margin: 0 0 var(--s-16);
  padding: 0;
}
.wait-steps li {
  position: relative;
  padding: var(--s-8) 0 var(--s-8) var(--s-32);
  color: var(--c-muted);
}
.wait-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--c-line);
}
.wait-steps li.is-now { color: var(--c-ink); font-weight: 500; }
.wait-steps li.is-now::before { border-color: var(--c-action); }
.wait-steps li.is-done::before { background: var(--c-pine); border-color: var(--c-pine); }

/* the questions: one form; with the script, one sheet per screen */
.questions {
  max-width: var(--text-col);
  border-top: 1px solid var(--c-line);
  padding-top: var(--s-24);
  margin-bottom: var(--s-32);
}
.sheet { border: 0; margin: 0 0 var(--s-24); padding: 0; min-width: 0; }
.sheet legend {
  font-family: var(--f-head);
  font-size: var(--fs-h3);
  margin-bottom: var(--s-12);
  padding: 0;
}
.is-sheets .sheet { min-height: 160px; }
.sheet-row { display: flex; gap: var(--s-12); align-items: center; margin-top: var(--s-12); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-8); margin-bottom: var(--s-8); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  min-height: 44px;
  padding: 0 var(--s-16);
  border: 1px solid var(--c-ink);
  border-radius: var(--r-ui);
  cursor: pointer;
}
.chip:has(input:checked) { background: var(--c-band); }
.text {
  display: block;
  width: 100%;
  max-width: 360px;
  min-height: 48px;
  padding: var(--s-8) var(--s-12);
  border: 1px solid var(--c-muted);
  border-radius: var(--r-ui);
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
}
textarea.text { max-width: var(--text-col); min-height: 96px; }
.link-btn {
  background: none;
  border: 0;
  padding: var(--s-8) 0;
  min-height: 44px;
  color: var(--c-action);
  font-family: var(--f-body);
  font-size: var(--fs-small);
  text-decoration: underline;
  text-underline-offset: var(--s-4);
  cursor: pointer;
}
.link-btn:hover { color: var(--c-action-dark); }

/* the picture grid: Santa large, three cards small */
.pics {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  max-width: 960px;
  margin: 0 0 var(--s-24);
}
.pic { margin: 0; }
.pic img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
}
.pic-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-12);
}
.pic figcaption { padding-top: var(--s-8); }
.save { min-height: 44px; margin-left: 0; padding: 0 var(--s-16); font-size: var(--fs-small); }

/* the ready screen: the Santa picture and the pay form share the first phone screen
   (375x635: header 65, top 24, H1 2 lines 84, 16, picture at most the screen height
   minus 300, 16, button 52). The three cards follow. */
.ready-top {
  display: grid;
  gap: var(--s-16);
  max-width: 960px;
  margin: 0 0 var(--s-24);
}
.ready-top .pic-main img {
  width: auto;
  max-width: 100%;
  max-height: max(240px, calc(100svh - 300px));
  margin: 0 auto;
}
.ready-side .pay { margin: 0; }
.result .pic-cards { max-width: 960px; margin: 0 0 var(--s-16); }

/* the pay bar */
.pay {
  max-width: var(--text-col);
  padding: 0 0 var(--s-24);
  border-bottom: 1px solid var(--c-line);
  margin: 0 0 var(--s-16);
}
.pay .price-line { margin-bottom: var(--s-8); }
.addon { margin: 0 0 var(--s-12); }
.addon label { display: inline-flex; align-items: center; gap: var(--s-8); min-height: 44px; cursor: pointer; }
.addon input { width: 20px; height: 20px; }
.pay .btn { width: 100%; max-width: 360px; margin-bottom: var(--s-12); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn[disabled]:hover,
.btn[disabled]:active { transform: none; }

.links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-24); margin-bottom: var(--s-24); }
.links a { font-size: var(--fs-small); }
.redo { margin: 0; }
.why { max-width: var(--text-col); margin: var(--s-24) 0; }
.why label { display: block; margin-bottom: var(--s-8); }
.why .btn { margin: var(--s-12) 0 0; }
/* the name on the cards (ready and done screens), and the cards without words */
.card-name { max-width: var(--text-col); margin: var(--s-24) 0; }
.card-name label { display: block; margin-bottom: var(--s-8); font-weight: var(--fw-label); }
.card-name .btn { margin: var(--s-12) 0 0; }
.plain-links { margin: var(--s-12) 0 var(--s-24); }
.gift-line { margin: var(--s-16) 0 var(--s-24); }
.keep { margin-top: var(--s-32); }
.keep .btn { margin-left: 0; }
.copied { margin-left: var(--s-12); }

@media (min-width: 760px) {
  .result { padding: var(--s-48) 0 var(--s-96); }
  .wait { grid-template-columns: 280px 1fr; align-items: start; }
  .pics { grid-template-columns: 3fr 2fr; align-items: start; }
  .pics .pic-cards { grid-template-columns: 1fr 1fr; }
  .ready-top { grid-template-columns: auto minmax(0, 1fr); gap: var(--s-48); align-items: start; }
  .ready-top.is-paid { grid-template-columns: minmax(0, 1fr); }
  .ready-top .pic-main img { margin: 0; }
}


/* referral: the share block of the done page, the thank-you and friend lines,
   the partner stats page. Owned by the referral feature; keep it at the end. */
.refer {
  margin: var(--s-32) 0;
  padding: var(--s-24);
  background: var(--c-band);
  border-top: 1px solid var(--c-line);
}
.refer h2 { margin-top: 0; }
.refer-link { margin: var(--s-16) 0 var(--s-12); }
.refer-link .text { width: 100%; max-width: 32rem; }
.refer-btns { display: flex; flex-wrap: wrap; gap: var(--s-12); align-items: center; }
.refer-thanks { font-weight: var(--fw-label); }
.refer-stats .facts { margin: var(--s-24) 0; }
.refer-stats dd { overflow-wrap: anywhere; }
/* end referral */
