/* AdotaPet - landing page
   Direction: "One motif" (tasteskill, seed 600754079). The motif is the app's swipe card:
   a rounded rectangle, slightly tilted, that carries the QUERO / PULAR stamps. */

@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/albert-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/albert-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* brand: the app's dark ground and the pink of the logo (its coral-pink, sampled from logo.png).
     The pink is the one colour field; the rest is dark ground and light paper. */
  --bg: #111418;
  --surface: #181a20;
  --surface-2: #22252d;
  --ink: #f3f4f6;
  --muted: #a6abb6;
  --accent: #f8607f;
  --accent-ink: #111418;
  --paper: #f3f4f6;
  --paper-ink: #111418;
  --paper-muted: #4a4f5a;
  --paper-2: #e2e4e8;
  --surface-3: #2c3039;
  --paper-3: #d6d9df;
  --rosa: #f8607f;
  --rosa-2: #fb7f86;
  --rosa-ink: #111418;
  /* the app's real pair: the two stamps */
  --yes: #4caf50;
  --no: #f44336;

  --font: "Albert Sans", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.2vw, 4.25rem);
  --step-display: clamp(4rem, 1.2rem + 7.6vw, 8.5rem);

  --margin: clamp(1rem, 2.4vw, 2.25rem);
  /* content stops growing at --max; on wider screens only the side space grows */
  --max: 90rem;
  --gap-x: max(var(--margin), (100% - var(--max)) / 2);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 13vw, 13rem);

  /* the motif: the swipe card's corner and its tilt */
  --radius: 24px;
  --tilt: -5deg;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 5rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; letter-spacing: -0.035em; line-height: 1; }
p { max-width: 62ch; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nums { font-variant-numeric: tabular-nums; }
.wrap { padding-inline: var(--margin); }

/* ---------- controls: one button shape, the card's corner ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3.25rem; padding: 0 1.6rem; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button--ink { background: var(--ink); color: var(--bg); }
.button--tone { background: var(--surface-2); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--ink); color: var(--bg); }
  .button--ink:hover { background: var(--accent); color: var(--accent-ink); }
  .button--tone:hover { background: var(--ink); color: var(--bg); }
}
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

/* the motif as a bullet: a small tilted card */
.card-dot { display: inline-block; width: 0.6em; height: 0.75em; border-radius: 0.16em; background: var(--accent); transform: rotate(var(--tilt)); flex: none; }

/* ---------- top bar ---------- */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; gap: 2rem; padding: 1.25rem var(--gap-x);
}
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.02em; text-decoration: none; }
.wordmark img { width: 2.25rem; height: 2.25rem; border-radius: 10px; background: none; }
.topbar nav { display: flex; gap: 1.75rem; margin-left: auto; font-size: var(--step-body); }
.topbar nav a { color: var(--ink); }
.topbar .button { min-height: 2.75rem; padding: 0 1.2rem; }
@media (max-width: 62rem) { .topbar nav { display: none; } .topbar .button { margin-left: auto; } }
@media (max-width: 40rem) { .topbar .button { display: none; } }

/* ---------- hero: copy on the left, the deck on the right of the same grid ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; padding: 6.5rem var(--gap-x) 4.5rem; }
/* the motif once at enormous scale: a pink card, tilted like the deck, cropped by the screen */
.hero::before { content: ""; position: absolute; z-index: 0; left: calc(var(--gap-x) + (100% - 2 * var(--gap-x)) * 0.7); right: -16vw; top: 17%; bottom: -20%; border-radius: 64px; background: var(--rosa); transform: rotate(var(--tilt)); transform-origin: left top; }
.hero__copy { grid-column: 1 / span 6; grid-row: 1; padding-block: 2rem; position: relative; z-index: 2; }
.hero h1 { font-size: var(--step-display); line-height: 0.92; letter-spacing: -0.045em; }
.hero__lead { margin-top: 1.75rem; font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; }
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero__status { font-size: var(--step-body); color: var(--muted); max-width: 26ch; }

.deck { grid-column: 8 / span 5; grid-row: 1; justify-self: end; position: relative; width: clamp(20rem, (100svh - 13rem) * 0.8, 36rem); max-width: 100%; aspect-ratio: 4 / 5; z-index: 1; touch-action: pan-y; }
.deck__back, .deck__card { position: absolute; inset: 0; border-radius: var(--radius); }
.deck__back--far { background: var(--surface-2); transform: rotate(9deg) translate(7%, 3%); }
.deck__back--near { background: var(--paper); transform: rotate(3deg) translate(3%, 1%); }
.deck__card { overflow: hidden; background: var(--surface); transform: rotate(var(--tilt)); cursor: grab; user-select: none; -webkit-user-select: none; }
.deck__card.is-dragging { cursor: grabbing; }
.deck__card.is-under { transform: rotate(-1deg) scale(0.96); z-index: 0; cursor: default; }
.deck__card.is-under .deck__info, .deck__card.is-under .stamp { visibility: hidden; }
.deck__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.deck__scrim { position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(transparent, rgba(17, 20, 24, 0.92)); } /* taste-skill-ignore: neutral scrim under text on a photo */
.deck__info { position: absolute; left: 7%; right: 7%; bottom: 17%; }
.deck__name { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.deck__meta { margin-top: 0.5rem; color: var(--ink); font-size: var(--step-body); }
.deck__dist { margin-top: 0.6rem; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--accent); font-weight: 600; }
.deck__tint { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.deck__tint--yes { background: var(--yes); }
.deck__tint--no { background: var(--no); }
.stamp { position: absolute; top: 9%; padding: 0.2em 0.45em; border: 5px solid currentColor; border-radius: 10px; font-size: var(--step-head); font-weight: 600; letter-spacing: 0.02em; opacity: 0; background: rgba(17, 20, 24, 0.35); pointer-events: none; }
.stamp--yes { left: 8%; color: var(--yes); transform: rotate(-16deg); }
.stamp--no { right: 8%; color: var(--no); transform: rotate(16deg); }
.deck__controls { position: absolute; left: 50%; bottom: 3.5%; transform: translateX(-50%) rotate(var(--tilt)); display: flex; gap: 1.5rem; z-index: 5; }
.round { width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.round svg { width: 1.75rem; height: 1.75rem; }
.round--no { color: var(--no); }
.round--yes { color: var(--yes); }
.round:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .round:hover { background: var(--surface-2); } }
.deck__note { position: absolute; left: 0; top: calc(100% + 0.9rem); padding: 0.35em 0.75em; border-radius: 10px; background: var(--bg); font-size: var(--step-small); color: var(--muted); transform: rotate(var(--tilt)); transform-origin: left top; white-space: nowrap; }
.deck__toast {
  position: absolute; left: 6%; right: 6%; top: 38%; z-index: 6; padding: 1.25rem 1.4rem; border-radius: var(--radius);
  background: var(--ink); color: var(--bg); font-size: var(--step-body); line-height: 1.35; visibility: hidden;
  opacity: 0; transform: translateY(12px) rotate(var(--tilt)); transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out); pointer-events: none;
}
.deck__toast.is-on { opacity: 1; transform: rotate(var(--tilt)); pointer-events: auto; visibility: visible; }
.deck__toast strong { display: block; font-size: var(--step-lead); margin-bottom: 0.25rem; }
.deck__toast button { margin-top: 0.8rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }

@media (max-width: 62rem) {
  .hero { display: block; min-height: auto; padding: 0 var(--margin) 5rem; }
  .hero__copy { padding-block: 7rem 2.5rem; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 6rem); }
  .deck { width: min(80vw, 26rem); margin-left: 4vw; }
  .deck__note { white-space: normal; width: 100%; }
  .hero::before { left: 30vw; right: -30vw; top: auto; bottom: -3rem; height: 82vw; border-radius: 40px; }
}

/* ---------- section scaffolding ---------- */
.section { padding-block: calc(var(--section) / 2); }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section-head { font-size: var(--step-head); }
.muted { color: var(--muted); }

/* ---------- how it works: drag through the stages ---------- */
.stages { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto; column-gap: var(--gutter); padding: calc(var(--section) / 2) var(--gap-x); position: relative; background: var(--paper); color: var(--paper-ink); }
.stages__clause-field { grid-column: 1 / span 5; grid-row: 1; padding-top: clamp(1.5rem, 4vw, 4rem); }
.stages__clause { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; max-width: 12ch; transition: opacity 200ms ease; }
.stages__text { margin-top: 1.5rem; max-width: 34ch; transition: opacity 200ms ease; }
.stages__ui-field { grid-column: 6 / span 7; grid-row: 1 / span 2; min-height: min(84svh, 50rem); background: var(--rosa); border-radius: var(--radius); display: grid; place-items: center; padding: clamp(2rem, 4vw, 4rem) var(--gutter); position: relative; overflow: hidden; }
.stages__ui { position: relative; width: min(100%, 27.5rem); }
.stages__ui > [data-stage] { transition: opacity 200ms ease; }
.stages__ui > [data-stage]:not(.is-on) { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; pointer-events: none; }
.is-fading { opacity: 0 !important; }
.stages__control { grid-column: 1 / span 5; grid-row: 2; padding-bottom: clamp(1rem, 3vw, 3rem); }
.stages__range { -webkit-appearance: none; appearance: none; width: 100%; height: 2.5rem; background: transparent; cursor: pointer; }
.stages__range::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: transparent; }
.stages__range::-moz-range-track { height: 8px; border-radius: 4px; background: transparent; }
.stages__track { position: relative; }
.stages__track::before, .stages__track::after { content: ""; position: absolute; left: 0; top: calc(50% - 4px); height: 8px; border-radius: 4px; pointer-events: none; }
.stages__track::before { right: 0; background: rgba(17, 20, 24, 0.16); }
.stages__track::after { width: var(--fill, 0%); background: var(--paper-ink); transition: width 200ms var(--ease-out); }
.stages__range { position: relative; z-index: 1; display: block; }
.stages__range::-moz-range-progress { background: transparent; }
.stages__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 36px; margin-top: -14px; border-radius: 7px; background: var(--paper-ink); transform: rotate(var(--tilt)); border: 4px solid var(--accent); }
.stages__range::-moz-range-thumb { width: 22px; height: 30px; border-radius: 7px; background: var(--paper-ink); border: 4px solid var(--accent); }
.stages__names { display: grid; grid-template-columns: repeat(4, 1fr); font-size: var(--step-body); color: var(--paper-muted); margin-top: 0.25rem; }
.stages__names button { text-align: left; color: inherit; padding: 0.25rem 0; }
.stages__names button:nth-child(2), .stages__names button:nth-child(3) { text-align: center; }
.stages__names button:last-child { text-align: right; }
.stages__names button.is-on { color: var(--paper-ink); font-weight: 600; }
@media (max-width: 62rem) {
  .stages { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 2rem; padding-block: 3rem 2.5rem; }
  .stages__ui-field { grid-column: 1; grid-row: 1; min-height: 46svh; padding: 2rem 1rem; }
  .stages__clause-field { grid-column: 1; grid-row: 2; padding-top: 0; }
  .stages__control { grid-column: 1; grid-row: 3; padding-bottom: 1rem; }
  .stages__names { grid-template-columns: 1fr 1fr; gap: 0.25rem 1rem; }
  .stages__names button:nth-child(n) { text-align: left; }
}

/* ---------- interface fragments (the app's own UI, built in HTML) ---------- */
.ui { font-family: var(--font); background: var(--bg); color: #fff; border-radius: var(--radius); padding: 1.4rem; font-size: 1rem; line-height: 1.4; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); } /* taste-skill-ignore: data-ui fragment of the app */
.ui__title { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.ui__sub { color: #a0a5b1; font-size: 0.875rem; margin-top: 0.2rem; }
.ui__label { color: #e8eaee; font-size: 0.9375rem; margin-top: 1rem; margin-bottom: 0.45rem; }
.ui__row { display: flex; gap: 0.5rem; }
.ui__chip { flex: 1; text-align: center; padding: 0.6em 0.5em; border-radius: 12px; background: #181a20; border: 1px solid #252932; color: #a0a5b1; font-size: 0.875rem; } /* taste-skill-ignore: data-ui fragment of the app */
.ui__chip.is-on { background: rgba(253, 41, 123, 0.14); border-color: #fd297b; color: #fd297b; font-weight: 600; }
.ui__switch { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid #252932; font-size: 0.9375rem; } /* taste-skill-ignore: data-ui fragment of the app */
.ui__switch:last-child { border-bottom: 0; }
.ui__toggle { display: inline-block; width: 2.6em; height: 1.5em; border-radius: 1em; background: #252932; position: relative; flex: none; }
.ui__toggle::after { content: ""; position: absolute; top: 0.19em; left: 0.19em; width: 1.125em; height: 1.125em; border-radius: 50%; background: #8c9199; }
.ui__toggle.is-on { background: #fd297b; }
.ui__toggle.is-on::after { left: auto; right: 0.19em; background: #fff; }
.ui__card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: #181a20; }
.ui__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ui__card .deck__scrim { height: 50%; }
.ui__card-info { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; }
.ui__card-name { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; }
.ui__card .stamp { opacity: 1; font-size: 1.75rem; border-width: 4px; }
.ui__card .deck__tint--yes { opacity: 0.32; }
.ui__notif { display: flex; gap: 0.75em; align-items: flex-start; background: #22252d; border-radius: 1em; padding: 0.9em 1em; }
.ui__notif img { width: 2.25em; height: 2.25em; border-radius: 0.55em; flex: none; background: none; }
.ui__notif b { display: block; font-size: 0.9375em; }
.ui__notif span { color: #c8ccd4; font-size: 0.875em; }
.ui__data { margin-top: 0.9rem; }
.ui__data div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid #252932; font-size: 0.875rem; } /* taste-skill-ignore: data-ui fragment of the app */
.ui__data dt { color: #a0a5b1; }
.ui__data dd { color: #fff; text-align: right; }
.ui__btn { margin-top: 1em; display: flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 3em; padding: 0 1em; border-radius: 0.9em; font-weight: 600; font-size: 0.9375em; }
.ui__btn--wa { background: #25d366; color: #0b2e17; }
.ui__btn--locked { background: #22252d; color: #a0a5b1; }
.ui__btn--pink { background: #fd297b; color: #111418; }
.ui__btn--ghost { border: 1px solid rgba(244, 67, 54, 0.4); color: #f44336; } /* taste-skill-ignore: data-ui fragment of the app */
.ui__status { display: inline-block; padding: 0.3em 0.7em; border-radius: 0.6em; font-size: 0.8125em; font-weight: 600; }
.ui__status--pending { background: rgba(255, 152, 0, 0.14); color: #ffb347; }
.ui__status--ok { background: rgba(76, 175, 80, 0.16); color: #6fd174; }
.ui__status--no { background: rgba(244, 67, 54, 0.14); color: #ff7a6f; }
.ui__pin { display: inline-flex; align-items: center; gap: 0.35rem; color: #fd297b; font-weight: 600; }
.ui__pin svg { width: 1em; height: 1em; }

/* ---------- privacy board: close-ups on a board ---------- */
.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 104px; gap: 8px; padding: 10px var(--gap-x); }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); container-type: size; }
.tile--a { grid-column: 1 / span 6; grid-row: 1 / span 2; background: var(--bg); }
.tile--e { grid-column: 7 / span 6; grid-row: 1 / span 2; background: var(--surface-2); }
.tile--b { grid-column: 1 / span 6; grid-row: 3 / span 4; background: var(--surface-2); }
.tile--c { grid-column: 7 / span 3; grid-row: 3 / span 4; background: var(--rosa); color: var(--rosa-ink); }
.tile--d { grid-column: 10 / span 3; grid-row: 3 / span 4; background: var(--surface); }
.tile--f { grid-column: 1 / span 3; grid-row: 7 / span 2; background: var(--surface); }
.tile--g { grid-column: 4 / span 3; grid-row: 7 / span 2; background: var(--paper); color: var(--paper-ink); }
.tile--h { grid-column: 7 / span 6; grid-row: 7 / span 2; background: var(--surface-2); }
.tile__head { position: absolute; top: 20px; left: 20px; right: 20px; font-size: var(--step-head); }
.tile__cap { position: absolute; left: 20px; bottom: 18px; right: 20px; z-index: 2; }
.tile__cap b { display: block; font-size: var(--step-body); font-weight: 500; }
.tile__cap span { display: block; font-size: var(--step-small); }
.tile--b .tile__cap span, .tile--c .tile__cap span, .tile--g .tile__cap span { opacity: 1; color: inherit; }
.zoom { position: absolute; white-space: nowrap; }
.tile--b .zoom { left: 7%; top: 10%; font-size: 8.5cqw; }
.tile--c .zoom { left: 10%; top: 9%; font-size: 8.5cqw; }
.tile--d .zoom { left: 10%; right: 8%; top: 10%; font-size: 7.5cqw; display: flex; flex-wrap: wrap; gap: 0.35em; white-space: normal; }
.tile--e .zoom { left: 34%; top: 12%; font-size: 3.3cqw; width: 22em; }
.tile--f .zoom { left: 12%; top: 14%; font-size: 8cqw; }
.tile--g .zoom { right: 10%; top: 14%; font-size: 12cqw; }
.tile--h .zoom { left: 42%; top: 18%; font-size: 3.6cqw; width: 15em; }
.zoom .ui__chip { font-size: 0.875em; }
.zoom-pill { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.3em 0.6em; border-radius: 0.4em; background: var(--accent-ink); color: var(--accent); font-weight: 600; letter-spacing: -0.02em; }
.zoom-pill svg { width: 0.9em; height: 0.9em; }
@media (max-width: 62rem) {
  .board { grid-template-columns: 1fr 1fr; grid-auto-rows: 28vw; gap: 6px; padding: 6px; }
  .tile--a { grid-column: 1 / -1; grid-row: auto / span 2; }
  .tile--b { grid-column: 1 / -1; grid-row: auto / span 3; }
  .tile--c, .tile--d, .tile--f, .tile--g { grid-column: auto / span 1; grid-row: auto / span 2; }
  .tile--e, .tile--h { grid-column: 1 / -1; grid-row: auto / span 2; }
  .tile__head { font-size: 9vw; }
  .tile--e .zoom { left: 8%; font-size: 4.6cqw; }
  .tile--h .zoom { left: 8%; font-size: 5cqw; }
}

/* ---------- protectors: square plate, spare text ---------- */
.plate { display: grid; grid-template-columns: 1fr 1fr; padding-inline: var(--gap-x); background: var(--surface); overflow: clip; }
.plate__photo { display: grid; place-items: center; padding: 40px; }
.plate__photo figure { position: relative; width: 100%; aspect-ratio: 1; }
.plate__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); transform: rotate(var(--tilt)); }
.plate__photo .stamp { opacity: 1; top: 7%; left: 6%; font-size: clamp(1.75rem, 1rem + 2vw, 3rem); }
.plate__text { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(2.5rem, 5vw, 5rem) 2rem; }
.plate__tabs { display: flex; gap: 1.75rem; font-size: var(--step-body); }
.plate__tabs button { color: var(--muted); padding: 0.3rem 0; }
.plate__tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.plate__tabs button[aria-selected="true"]::before { content: ""; display: inline-block; width: 0.55em; height: 0.7em; margin-right: 0.45em; border-radius: 0.14em; background: var(--accent); transform: rotate(var(--tilt)); }
.plate h2 { font-size: var(--step-head); }
.plate__desc { margin-top: 3rem; max-width: 34ch; min-height: 7.5em; }
.plate__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plate__actions .button { min-height: 4.5rem; }
@media (max-width: 62rem) {
  .plate { grid-template-columns: 1fr; padding-inline: 0; }
  .plate__photo { padding: 2rem 16px 0; }
  .plate__photo .stamp { display: none; }
  .plate__text { padding: 2rem 1.25rem 2.5rem; gap: 2rem; }
  .plate__tabs { gap: 1.25rem; }
  .plate__desc { margin-top: 1.5rem; min-height: 0; }
  .plate__actions { grid-template-columns: 1fr; }
  .plate__actions .button { min-height: 3.75rem; }
}

/* ---------- the mural: a row of pet cards that the scroll slides past ---------- */
.mural { background: var(--paper); color: var(--paper-ink); padding-block: calc(var(--section) / 2); overflow: hidden; }
.mural__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; padding-inline: var(--gap-x); }
.mural__title { grid-column: 1 / span 6; font-size: var(--step-head); }
.mural__text { grid-column: 8 / span 5; font-size: var(--step-lead); line-height: 1.3; }
.mural__view { margin-top: clamp(1.5rem, 3vw, 3rem); overflow-x: auto; }
.js .mural__view { overflow: hidden; }
.mural__track { display: flex; gap: clamp(1rem, 2vw, 1.75rem); width: max-content; padding: 2.5rem var(--gap-x) 4rem; }
.mural__card { position: relative; flex: none; width: clamp(12rem, 19vw, 24rem); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); transform: rotate(-3deg); }
.mural__card:nth-child(even) { transform: rotate(2.5deg) translateY(1.75rem); }
.mural__card:nth-child(3n) { transform: rotate(-1deg) translateY(-0.75rem); }
.mural__card img { width: 100%; height: 100%; object-fit: cover; }
.mural__card .stamp { opacity: 1; top: 7%; left: 7%; font-size: clamp(1.25rem, 0.9rem + 1vw, 1.875rem); border-width: 4px; }
.mural__note { max-width: none; padding-inline: var(--gap-x); font-size: var(--step-small); color: var(--paper-muted); }
@media (max-width: 62rem) {
  .mural__head { display: block; }
  .mural__text { margin-top: 1.25rem; }
}

/* ---------- the numbers: stepped figure tiles, the big one a pet card ---------- */
.stats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; padding-inline: var(--gap-x); }
.stat { position: relative; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.stat__fig { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 0.9; }
.stat__cap { font-size: var(--step-body); max-width: 24ch; }
.stat--a { grid-column: 1 / span 6; grid-row: 1 / span 3; height: 70vh; min-height: 30rem; max-height: 46rem; overflow: hidden; justify-content: flex-end; gap: 0.75rem; background: var(--surface); color: #fff; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), calc(100% - 64px) 100%, 0 100%); }
.stat--a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.stat--a .deck__scrim { height: 60%; }
.stat--a .stat__fig { position: relative; font-size: var(--step-display); }
/* the two smaller numbers are pet cards too: photo, scrim, number at the foot */
.stat--photo { overflow: hidden; justify-content: flex-end; gap: 0.5rem; background: var(--surface); color: #fff; }
.stat--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stat--photo .deck__scrim { height: 62%; }
.stat--photo .stat__fig, .stat--photo .stat__cap { position: relative; }
.stat--a .stat__cap { position: relative; font-size: var(--step-lead); line-height: 1.25; }
.stats__head { grid-column: 7 / span 6; grid-row: 1; align-self: end; padding: 0 0 1.25rem 0.25rem; font-size: var(--step-head); }
.stat--b { grid-column: 7 / span 3; grid-row: 2; height: 44vh; min-height: 18rem; max-height: 28rem; }
.stat--c { grid-column: 10 / span 3; grid-row: 2; height: 34vh; min-height: 15rem; max-height: 22rem; margin-top: 12vh; }
.stats__note { grid-column: 7 / span 6; grid-row: 3; align-self: end; padding: 1.5rem 0 0.25rem 0.25rem; font-size: var(--step-small); color: var(--muted); max-width: 46ch; }
@media (max-width: 62rem) {
  .stats { grid-template-columns: 1fr 1fr; gap: 6px; }
  .stats__head { grid-column: 1 / -1; grid-row: auto; padding: 0 0 1rem; order: -1; }
  .stat--a { grid-column: 1 / -1; grid-row: auto; height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 5; }
  .stat--b, .stat--c { grid-column: span 1; grid-row: auto; height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 5; margin-top: 3rem; padding: 18px; }
  .stat--c { margin-top: calc(3rem + 32px); }
  .stat--photo:not(.stat--a) .stat__cap { font-size: var(--step-small); line-height: 1.3; }
  .stats__note { grid-column: 1 / -1; grid-row: auto; padding: 1rem 0 0; }
}

/* ---------- partners: sticky preview, active list ---------- */
.partners { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-inline: var(--gap-x); }
.partners__frame { grid-column: 1 / span 5; position: sticky; top: 12vh; align-self: start; aspect-ratio: 4 / 5; width: 100%; max-height: 76vh; }
.partners__frame > [data-preview] { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 0s linear 300ms; }
.partners__frame > [data-preview].is-on { opacity: 1; visibility: visible; transition: opacity 300ms ease; }
.partners__list { grid-column: 7 / span 5; padding-block: 2rem 30vh; }
.partners__list h2 { font-size: var(--step-head); margin-bottom: 3rem; }
.prow { display: block; width: 100%; text-align: left; padding: 0.9rem 0; color: var(--muted); }
.prow__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.prow__name { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.015em; }
.prow__name .card-dot { opacity: 0; transition: opacity var(--t-hover) ease; }
.prow__detail { font-size: var(--step-small); color: var(--muted); white-space: nowrap; }
.prow__desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--ease-out); }
.prow__desc > span { overflow: hidden; display: block; max-width: 34ch; font-size: var(--step-body); color: var(--ink); }
.prow.is-on { color: var(--ink); }
.prow.is-on .card-dot { opacity: 1; }
.prow.is-on .prow__desc { grid-template-rows: 1fr; }
.prow.is-on .prow__desc > span { padding-top: 0.5rem; }
.partners__cta { margin-top: 2.5rem; }

.pv { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.pv--ad { background: var(--paper); color: var(--paper-ink); }
.pv__badge { position: absolute; top: 1.1rem; right: 1.1rem; padding: 0.3rem 0.7rem; border-radius: 10px; background: rgba(17, 20, 24, 0.82); color: #fff; font-size: 0.75rem; font-weight: 600; }
.pv__body { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.6rem; }
.pv__cat { color: #c4004f; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; }
.pv__name { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-top: 0.3rem; }
.pv__tag { margin-top: 0.5rem; color: var(--paper-muted); }
.pv__more { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; color: #c4004f; font-weight: 600; }
.pv__art { position: absolute; inset: 0 0 45% 0; background: var(--paper-2); }
.pv__art { display: grid; place-items: center; text-align: center; color: var(--paper-muted); font-weight: 600; }
.pv__art span { font-size: var(--step-lead); line-height: 1.2; }
.pv__art small { display: block; font-size: var(--step-small); font-weight: 500; margin-top: 0.3rem; }
.pv--feed { background: var(--bg); display: grid; place-items: center; container-type: size; }
.pv-feed { position: relative; height: min(84cqh, 87.5cqw); aspect-ratio: 4 / 5; }
.pv-feed > div { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; }
.pv-feed > div:nth-child(1) { transform: rotate(8deg) translateX(14%); background: var(--surface-2); }
.pv-feed > div:nth-child(2) { transform: rotate(3deg) translateX(6%); background: var(--paper); }
.pv-feed > div:nth-child(3) { transform: rotate(var(--tilt)); }
.pv-feed img { width: 100%; height: 100%; object-fit: cover; }
.pv-feed .pv__badge { top: 0.8rem; right: 0.8rem; }
.pv--radius { background: var(--surface); display: grid; place-items: center; container-type: size; }
.pv-ring { position: relative; width: min(74cqw, 84cqh); aspect-ratio: 1; border-radius: 50%; background: var(--rosa); color: var(--rosa-ink); display: grid; place-items: center; }
.pv-ring::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: var(--rosa-2); }
.pv-ring b { position: relative; font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); letter-spacing: -0.03em; }
.pv-ring span { position: absolute; bottom: 12%; font-size: 0.9375rem; color: var(--rosa-ink); }
.pv--dates, .pv--report, .pv--link { padding: 2rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; background: var(--surface); }
.pv-date { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem; border-radius: 16px; background: var(--surface-2); font-size: 1.125rem; }
.pv-date span { color: var(--muted); font-size: 0.9375rem; }
.pv-date b { font-weight: 600; }
.pv-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.pv-table th, .pv-table td { padding: 0.75rem 0.25rem; border-bottom: 1px solid #2c3039; text-align: right; }
.pv-table th:first-child, .pv-table td:first-child { text-align: left; }
.pv-table th { color: var(--muted); font-weight: 500; font-size: 0.875rem; }
.pv-table td { font-variant-numeric: tabular-nums; }
.pv-sample { font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 62rem) {
  .partners { display: flex; flex-direction: column; }
  .partners__list { display: contents; }
  .partners__list h2 { order: -1; }
  .partners__frame { position: sticky; top: 0; z-index: 3; aspect-ratio: auto; height: 38svh; max-height: none; align-self: stretch; margin-inline: calc(var(--margin) * -1); width: calc(100% + 2 * var(--margin)); background: var(--bg); }
  .partners__frame .pv { border-radius: 0; }
  .partners__list h2 { margin-bottom: 1.5rem; }
  .partners .prow:first-of-type { margin-top: 1.5rem; }
  .partners__cta { align-self: flex-start; margin-bottom: 4rem; }
}

/* ---------- FAQ: accordion of filled tiles ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-inline: var(--gap-x); }
.faq__head { grid-column: 1 / span 4; position: sticky; top: 96px; align-self: start; font-size: var(--step-head); }
.faq__list { grid-column: 5 / span 8; display: grid; gap: 8px; }
.qa { border-radius: var(--radius); background: var(--paper-2); transition: background-color var(--t-ui) ease, color var(--t-ui) ease; }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; padding: 0.9rem 1.5rem; cursor: pointer; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa__plus { position: relative; width: 16px; height: 16px; flex: none; }
.qa__plus::before, .qa__plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; border-radius: 2px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.qa__plus::after { transform: rotate(90deg); }
.qa[open] { background: var(--bg); color: var(--ink); }
.qa[open] .qa__plus { color: var(--accent); }
.qa[open] .qa__plus::after { transform: rotate(0deg); }
.qa__a { padding: 0 1.5rem 1.5rem; max-width: 52ch; font-size: var(--step-body); }
@media (hover: hover) and (pointer: fine) { .qa:not([open]) summary:hover { background: var(--paper-3); border-radius: var(--radius); } }
@media (max-width: 62rem) {
  .faq { display: block; }
  .faq__head { position: static; font-size: 9vw; margin-bottom: 1.5rem; }
  .faq__list { gap: 6px; }
  .qa summary { min-height: 4rem; padding: 0.9rem 1.25rem; }
  .qa__a { padding: 0 1.25rem 1.25rem; }
}

/* ---------- contact: the clip-out coupon ---------- */
.coupon-wrap { padding: 120px var(--gap-x); }
.coupon {
  --notch: 28px;
  display: grid; grid-template-columns: 46% 54%; max-width: 76rem; margin-inline: auto; border-radius: var(--radius);
  background: var(--bg); color: var(--ink);
  -webkit-mask: radial-gradient(circle calc(var(--notch) / 2) at 46% 0, transparent 98%, #000) top / 100% 51% no-repeat, /* taste-skill-ignore: mask that cuts the coupon notches, not a visible fill */
                radial-gradient(circle calc(var(--notch) / 2) at 46% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: mask that cuts the coupon notches, not a visible fill */
          mask: radial-gradient(circle calc(var(--notch) / 2) at 46% 0, transparent 98%, #000) top / 100% 51% no-repeat, /* taste-skill-ignore: mask that cuts the coupon notches, not a visible fill */
                radial-gradient(circle calc(var(--notch) / 2) at 46% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: mask that cuts the coupon notches, not a visible fill */
}
.coupon__left { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; border-right: 5px dotted var(--paper); }
.coupon h2 { font-size: var(--step-head); }
.coupon form { padding: 48px; display: grid; gap: 10px; align-content: center; }
.coupon input, .coupon select {
  width: 100%; min-height: 52px; padding: 0 1rem; border: 0; border-radius: 14px;
  background: var(--surface-2); color: var(--ink); font-size: var(--step-body);
}
.coupon input::placeholder { color: var(--muted); opacity: 1; }
.coupon select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23a6abb6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 1.1rem; }
.coupon button[type="submit"] { min-height: 56px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: var(--step-body); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.coupon button[type="submit"]:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .coupon button[type="submit"]:hover { background: var(--ink); color: var(--bg); } }
.coupon__note { font-size: var(--step-small); margin-top: 0.25rem; }
@media (max-width: 62rem) {
  .coupon-wrap { padding: 72px 12px; }
  .coupon {
    grid-template-columns: 1fr;
    -webkit-mask: radial-gradient(circle calc(var(--notch) / 2) at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, /* taste-skill-ignore: mask that cuts the coupon notches, not a visible fill */
                  radial-gradient(circle calc(var(--notch) / 2) at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; /* taste-skill-ignore: mask that cuts the coupon notches, not a visible fill */
            mask: radial-gradient(circle calc(var(--notch) / 2) at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, /* taste-skill-ignore: mask that cuts the coupon notches, not a visible fill */
                  radial-gradient(circle calc(var(--notch) / 2) at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; /* taste-skill-ignore: mask that cuts the coupon notches, not a visible fill */
  }
  .coupon__left { padding: 28px 24px; border-right: 0; border-bottom: 5px dotted var(--paper); }
  .coupon form { padding: 28px 24px; }
  .coupon input, .coupon select { min-height: 54px; }
}

/* ---------- footer: the mark, built large ---------- */
.footer { background: var(--surface); padding: 4rem var(--gap-x) 2rem; }
.mark { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 13rem; }
.mark span { flex: 1; display: grid; place-items: end center; border-radius: 14px; padding-bottom: 0.08em; font-weight: 600; line-height: 0.8; font-size: var(--step-display); color: var(--surface); overflow: hidden; }
.mark span:nth-child(1) { height: 100%; background: var(--accent); }
.mark span:nth-child(2) { height: 78%; background: var(--paper); }
.mark span:nth-child(3) { height: 90%; background: var(--surface-2); color: var(--ink); }
.mark span:nth-child(4) { height: 66%; background: var(--paper); }
.mark span:nth-child(5) { height: 96%; background: var(--surface-2); color: var(--ink); }
.mark span:nth-child(6) { height: 72%; background: var(--paper); }
.mark span:nth-child(7) { height: 86%; background: var(--rosa); }
.mark span:nth-child(8) { height: 62%; background: var(--paper); }
.footer__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: 56px; font-size: var(--step-small); }
.footer__cols h3 { font-size: var(--step-small); font-weight: 600; letter-spacing: 0; margin-bottom: 0.75rem; }
.footer__cols ul { display: grid; gap: 0.45rem; }
.footer__nav { grid-column: span 2; }
.footer__credits { grid-column: span 5; color: var(--muted); }
.footer__credits li { line-height: 1.4; max-width: 62ch; }
.footer__contact { grid-column: span 3; }
.footer__last { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; font-size: var(--step-small); color: var(--muted); }
.footer__last .button { min-height: 2.75rem; padding: 0 1.1rem; font-size: var(--step-small); }
@media (max-width: 62rem) {
  .mark { height: 22svh; min-height: 9rem; }
  .mark span { font-size: 11vw; border-radius: 10px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer__nav, .footer__contact { grid-column: span 1; }
  .footer__credits { grid-column: 1 / -1; }
}

/* ---------- motion layer (content stays visible without JavaScript) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(22px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js .deck[data-rise] { transform: translateX(8%) rotate(4deg); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .mural__view { overflow-x: auto; }
  .stages__clause, .stages__text, .stages__ui > [data-stage], .partners__frame > [data-preview], .prow__desc { transition: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
