:root {
  --paper: #F6EEDF; --paper-deep: #EDE2CF; --card: #FFFBF3; --line: #DCCFB8;
  --ink: #1F1612; --dim: #5C4D43; --faint: #6F5F52;
  --tomato: #CF351C; --tomato-deep: #B52C16; --butter: #F4C24B; --sage: #3F6B4C;
  --darkroom: #16100D;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow-print: 0 16px 34px rgba(59, 36, 20, 0.2), 0 2px 4px rgba(59, 36, 20, 0.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--paper); color: var(--ink); overflow-x: clip;
  font: 400 17px/1.6 "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* paper grain, static */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60;
  background: url(/media/grain.png); opacity: 0.045;
}
a { color: var(--tomato-deep); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--card); font-weight: 700; text-decoration: none; transition: top 160ms var(--ease-out); }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand span { font: italic 400 34px/1 "Instrument Serif", Georgia, serif; }
.top-end { display: flex; align-items: center; gap: 26px; }
.menu { display: flex; gap: 22px; flex-wrap: wrap; }
.menu a { color: var(--dim); text-decoration: none; font-weight: 500; padding: 8px 0; background: linear-gradient(var(--tomato), var(--tomato)) 0 calc(100% - 4px) / 0 2px no-repeat; transition: background-size 220ms var(--ease-out), color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .menu a:hover { color: var(--ink); background-size: 100% 2px; } }

/* type */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 7.4vw, 86px); }
h2 { font-size: clamp(30px, 4.6vw, 48px); }
h3 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
.serif { font: italic 400 1.08em/1 "Instrument Serif", Georgia, serif; color: var(--tomato); letter-spacing: -0.01em; }
.lead { font-size: 20px; color: var(--dim); max-width: 34ch; }
.hand { font: 600 26px/1.1 "Caveat", "Segoe Script", cursive; color: var(--dim); transform: rotate(-2deg); display: inline-block; }
.stamp { font: 500 12px/1 "DM Mono", ui-monospace, monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.kicker { color: var(--tomato-deep); margin: 0 0 18px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px;
  border-radius: 16px; font-weight: 700; font-size: 17px; text-decoration: none;
  background: var(--tomato); color: #FFF8EE; border: 1.5px solid var(--tomato-deep); border-bottom-width: 5px;
  transition: transform 140ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
.note { color: var(--faint); font-size: 15px; margin-top: 14px; }

/* prints */
.print { background: var(--card); padding: 12px 12px 48px; border-radius: 4px; box-shadow: var(--shadow-print); }
.print .photo { position: relative; aspect-ratio: 640 / 794; border-radius: 2px; overflow: hidden; background: var(--paper-deep); }
.print .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.print figcaption { position: absolute; left: 14px; bottom: 10px; font: 600 24px/1 "Caveat", cursive; }
.print { position: relative; }
.tape { position: absolute; z-index: 3; top: -10px; left: 50%; width: 72px; height: 22px; margin-left: -36px; background: rgba(244, 194, 75, 0.72); transform: rotate(-4deg); }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 24px 20px 88px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.dev { position: relative; height: 540px; }
.dev .src { position: absolute; left: 0; bottom: 36px; width: 168px; padding: 9px 9px 38px; transform: rotate(-6deg); z-index: 2; }
.dev .src figcaption { font-size: 21px; bottom: 8px; left: 11px; }
.dev .main { position: absolute; right: 0; top: 0; width: 330px; padding: 14px 14px 58px; rotate: 2deg; transition: rotate 700ms var(--ease-in-out); cursor: pointer; }
.dev .main .layer { position: absolute; inset: 0; opacity: 0; }
.dev .main .layer.on { opacity: 1; }
.dev .main .layer.in { z-index: 1; animation: develop 1100ms var(--ease-out) both; }
.flash { position: absolute; inset: 0; z-index: 2; background: #FFFDF6; opacity: 0; pointer-events: none; }
.flash.go { animation: flash 520ms ease-out; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: 0.92; } 100% { opacity: 0; } }
@keyframes develop { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
.cap { position: absolute; left: 16px; right: 16px; bottom: 13px; display: flex; align-items: baseline; gap: 12px; }
.cap .count { color: var(--faint); }
.name-mask { display: block; overflow: hidden; padding: 0 4px 2px 0; }
.cap .name { display: block; font: 600 30px/1 "Caveat", cursive; }
.cap .name.swap { animation: name-in 420ms var(--ease-out) both; }
@keyframes name-in { from { transform: translateY(105%); } to { transform: translateY(0); } }
.arrow { position: absolute; left: 118px; bottom: 236px; transform: rotate(-4deg); z-index: 3; }
.arrow-note { position: absolute; left: 4px; bottom: 312px; width: 150px; z-index: 3; font-size: 24px; line-height: 1; transform: rotate(-7deg); }
.ticks { position: absolute; right: 8px; bottom: -6px; width: 300px; display: flex; gap: 5px; }
.ticks i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.ticks i::after { content: ""; position: absolute; inset: 0; background: var(--tomato); transform: scaleX(0); transform-origin: left; }
.ticks i.done::after { transform: scaleX(1); }
.ticks i.run::after { animation: tick var(--dwell, 3200ms) linear both; }
.paused .ticks i.run::after { animation-play-state: paused; }
@keyframes tick { to { transform: scaleX(1); } }
.pause { position: absolute; right: 2px; bottom: -40px; background: none; border: 0; color: var(--dim); padding: 8px 6px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .pause:hover { color: var(--ink); } }

/* entrance: the selfie drops in, the arrow draws, the big print arrives blank and develops */
.js .dev .src { animation: drop 700ms var(--ease-out) 80ms both; }
.js .dev .main { animation: drop 800ms var(--ease-out) 260ms both; }
.js .dev .arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 560ms var(--ease-out) 620ms forwards; }
.js .dev .arrow path + path { animation-delay: 980ms; animation-duration: 260ms; }
.js .dev .arrow-note, .js .dev .ticks, .js .dev .pause { animation: fade 500ms ease-out 1100ms both; }
.js .hero-copy > * { animation: rise 640ms var(--ease-out) both; }
.js .hero-copy > :nth-child(2) { animation-delay: 60ms; } .js .hero-copy > :nth-child(3) { animation-delay: 120ms; }
.js .hero-copy > :nth-child(4) { animation-delay: 180ms; } .js .hero-copy > :nth-child(5) { animation-delay: 240ms; }
@keyframes drop { from { opacity: 0; transform: translateY(-28px) rotate(var(--from-r, 0deg)); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }
.js .dev .src { --from-r: -6deg; }

/* sections */
section { padding: 72px 0; border-top: 1.5px dashed var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.step { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 24px; }
.num {
  width: 46px; height: 46px; border-radius: 10px; background: var(--tomato); color: #FFF8EE; font-weight: 800; font-size: 22px;
  display: grid; place-items: center; margin-bottom: 16px; transform: rotate(-4deg);
}
.step p { color: var(--dim); margin: 8px 0 0; }

/* the reel: one selfie through fifty years, driven by scroll */
.decades { padding-bottom: 40px; }
.reel { position: relative; margin-top: 24px; }
.reel-stage { padding: 32px 0; }
.reel-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.reel-copy { position: relative; min-width: 0; }
.circa { color: var(--faint); margin: 0; }
.year { margin: 0; font: 800 clamp(88px, 13vw, 168px)/0.9 "Bricolage Grotesque", sans-serif; letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; overflow: hidden; }
.year span { display: inline-block; }
.year span.tick-in { animation: year-in 380ms var(--ease-out) both; }
@keyframes year-in { from { transform: translateY(40%); opacity: 0; } }
.reel-name { font: 600 40px/1 "Caveat", cursive; letter-spacing: 0; margin-top: 10px; color: var(--tomato-deep); }
.reel-line { color: var(--dim); max-width: 34ch; min-height: 3.2em; margin: 8px 0 0; }
.rail { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 2px; flex-wrap: wrap; }
.rail button {
  font: inherit; background: none; border: 1.5px solid transparent; border-radius: 999px; color: var(--faint);
  min-width: 42px; min-height: 44px; padding: 0 4px; cursor: pointer; transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.rail button[aria-current="true"] { color: var(--card); background: var(--ink); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .rail button:hover { border-color: var(--ink); color: var(--ink); } .rail button[aria-current="true"]:hover { color: var(--card); } }
.pile { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pp figcaption { font-size: 22px; }

/* live reel (JS, motion allowed): sticky stage, prints land on a pile one by one */
.reel.live { height: calc(var(--n) * 44vh + 100vh); }
.reel.live .reel-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 0; overflow: hidden; }
.reel.live .reel-grid { width: 100%; }
.reel.live .pile { display: block; height: min(560px, 72svh); }
.reel.live .pp {
  position: absolute; left: 50%; top: 50%; width: min(330px, 30vw); margin: 0;
  transform: translate(-50%, -50%) translate(75vw, 12%) rotate(14deg); opacity: 0;
  transition: transform 720ms var(--ease-out), opacity 260ms ease-out;
}
.reel.live .pp.on { transform: translate(-50%, -50%) translate(calc(var(--x) * var(--spread, 1)), calc(var(--y) * var(--spread, 1))) rotate(var(--r)); opacity: 1; }
.reel.live .pp::after { content: ""; position: absolute; inset: 0; border-radius: 4px; background: var(--paper); opacity: 0; transition: opacity 400ms ease; pointer-events: none; }
.reel.live .pp.on:not(.top)::after { opacity: 0.28; }
.reel.live .pp.top { z-index: 20; }

/* reel, after it has played once: a one-screen gallery whose prints shuffle on their own */
.reel.live.done { height: auto; }
.reel.live.done .pp { transition: none; }
.reel.live.done .pp.was { z-index: 19; }
.reel.live.done .pp.shuffle { animation: shuffle 760ms var(--ease-in-out) both; }
@keyframes shuffle {
  0% { translate: 0 0; z-index: 10; }
  46% { translate: 62% -5%; z-index: 10; }
  47% { z-index: 30; }
  100% { translate: 0 0; z-index: 30; }
}
.rail li { position: relative; }
.rail button { position: relative; }
.rail button::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -7px; height: 2px; border-radius: 2px;
  background: var(--tomato); transform: scaleX(0); transform-origin: left; opacity: 0;
}
.rail button.run::after { opacity: 1; animation: tick var(--dwell, 3400ms) linear both; }

/* pets: before / after */
.pets { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 44px; justify-items: center; }
.pet { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; max-width: 380px; }
.cmp-card { width: 100%; padding-bottom: 54px; }
.print.t2 { transform: rotate(1.6deg); } .print.t3 { transform: rotate(-1.4deg); }
.cmp { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cmp .after { position: absolute; inset: 0; opacity: 0; transition: opacity 360ms ease; }
.cmp .after.on { opacity: 1; }
.cmp .before { position: absolute; inset: 0; z-index: 2; clip-path: inset(0 50% 0 0); }
.seam { position: absolute; inset: 0; z-index: 3; pointer-events: none; transform: translateX(50%); }
.seam::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--card); box-shadow: 0 0 0 1px rgba(31, 22, 18, 0.12); }
.knob { position: absolute; left: 0; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--card); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(31, 22, 18, 0.28); transition: scale 160ms var(--ease-out); }
.cmp:active .knob { scale: 0.92; }
.tag { position: absolute; z-index: 4; top: 10px; padding: 6px 8px; border-radius: 4px; background: rgba(31, 22, 18, 0.72); color: var(--card); pointer-events: none; }
.tag-b { left: 10px; } .tag-a { right: 10px; }
.slide { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.cmp { cursor: ew-resize; }
.cmp img { -webkit-user-drag: none; -webkit-touch-callout: none; }
.cmp.dragging .knob { scale: 0.92; }
.slide:focus-visible ~ .seam .knob, .cmp:has(.slide:focus-visible) .knob { outline: 3px solid var(--ink); outline-offset: 3px; }
.petname { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip {
  font: 500 15px/1 "Bricolage Grotesque", sans-serif; min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--card); color: var(--dim);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 120ms var(--ease-out);
}
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--card); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink); color: var(--ink); } .chip[aria-pressed="true"]:hover { color: var(--card); } }

/* looks grid */
.lookgrid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 16px; }
.lookgrid li { background: var(--card); padding: 8px 8px 10px; border-radius: 4px; box-shadow: 0 10px 22px rgba(59, 36, 20, 0.16); transform: rotate(var(--r, -1.6deg)); transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
.lookgrid li:nth-child(even) { --r: 1.4deg; } .lookgrid li:nth-child(3n) { --r: -0.6deg; }
.lookgrid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 2px; }
.lookgrid span { display: block; font: 600 21px/1.1 "Caveat", cursive; margin-top: 6px; }
@media (hover: hover) and (pointer: fine) {
  .lookgrid li:hover { transform: rotate(0deg) translateY(-6px) scale(1.03); box-shadow: 0 22px 36px rgba(59, 36, 20, 0.22); }
}

.faq h2 { margin-bottom: 12px; }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 0; font-weight: 700; font-size: 19px; line-height: 1.3; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); transition: background-color 200ms ease, border-color 200ms ease, rotate 320ms var(--ease-out); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: background-color 200ms ease; }
.plus::after { rotate: 90deg; }
.faq details[open] .plus { rotate: 45deg; background: var(--ink); border-color: var(--ink); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: var(--card); }
@media (hover: hover) and (pointer: fine) { .faq summary:hover .plus { border-color: var(--ink); } }
.faq p { color: var(--dim); margin: 0; padding: 0 48px 20px 0; max-width: 62ch; }
.js .faq details[open] p { animation: rise 360ms var(--ease-out) both; }

/* legal pages */
.doc { padding: 24px 20px 80px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 8px; }
.doc h2 { font-size: 26px; margin: 40px 0 10px; }
.doc p, .doc li { color: #3A2E27; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1.5px solid var(--line); }
.doc th { background: var(--paper-deep); }
.updated { color: var(--faint); }
.box { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 20px; margin: 20px 0; }

footer { border-top: 1.5px solid var(--line); padding: 28px 0 48px; color: var(--faint); font-size: 15px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
footer nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
footer a { color: var(--dim); }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .lookgrid.reveal li { opacity: 0; transform: translateY(22px) rotate(var(--r, -1.6deg)); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.js .lookgrid.reveal { opacity: 1; transform: none; }
.js .lookgrid.reveal.in li { opacity: 1; transform: rotate(var(--r, -1.6deg)); }
.js .lookgrid.reveal.in li:nth-child(2) { transition-delay: 50ms; } .js .lookgrid.reveal.in li:nth-child(3) { transition-delay: 100ms; }
.js .lookgrid.reveal.in li:nth-child(4) { transition-delay: 150ms; } .js .lookgrid.reveal.in li:nth-child(5) { transition-delay: 200ms; }
.js .lookgrid.reveal.in li:nth-child(n+6) { transition-delay: 120ms; }

/* phones */
@media (max-width: 860px) {
  .menu { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-bottom: 72px; }
  .dev { order: -1; height: 440px; max-width: 420px; width: 100%; margin: 0 auto 40px; }
  .dev .main { width: 250px; padding: 11px 11px 48px; }
  .cap .name { font-size: 25px; }
  .dev .src { width: 128px; padding: 7px 7px 30px; bottom: 44px; }
  .dev .src figcaption { font-size: 17px; bottom: 6px; left: 9px; }
  .arrow { left: 70px; bottom: 196px; width: 92px; }
  .arrow-note { display: none; }
  .ticks { width: 250px; }
  .steps { grid-template-columns: 1fr; }
  .reel-grid { grid-template-columns: 1fr; gap: 8px; }
  .reel.live { height: calc(var(--n) * 40vh + 100vh); }
  .reel.live .reel-stage { align-items: flex-start; padding-top: 4svh; }
  .reel.live .pile { height: 52svh; }
  .reel.live .pp { width: min(250px, 31svh); padding: 10px 10px 42px; }
  .year { font-size: clamp(64px, 20vw, 96px); }
  .reel-name { font-size: 32px; margin-top: 4px; }
  .reel-line { font-size: 16px; min-height: 0; }
  .rail { margin-top: 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .rail button { min-width: 40px; }
  .reel.live .circa { display: none; }
  .pile .pp { width: auto; }
  .pets { grid-template-columns: 1fr; gap: 48px; }
  .lookgrid { grid-template-columns: repeat(2, 1fr); }
}

/* reduced motion: keep fades that explain, drop movement */
@media (prefers-reduced-motion: reduce) {
  .btn, .chip, .lookgrid li, .knob { transition: none; }
  .dev .main { transition: none; }
  .dev .main .layer { transition: opacity 400ms ease; }
  .dev .main .layer.in { animation: none; }
  .flash.go, .cap .name.swap, .year span.tick-in { animation: none; }
}

/* Fanned deck of pet portraits (AI only). Closed: a neat stack that now and then peeks open.
   Open: a hand of cards around a pivot below the deck; the card nearest the pointer (or the one picked on a
   phone) slides out of the hand along its own axis with a light sheen. home.js drives open/lift/deal. */
.pets-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 36px; }
.fan {
  --w: 168px; --step: 8.5deg; --pivot: 225%; --rise: 34px;
  position: relative; width: min(100%, 680px); height: 400px; margin: 8px auto 0; outline: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: pan-y;
}
/* floor shadow: a soft pool that widens when the hand opens */
.fan::before {
  content: ""; position: absolute; left: 50%; bottom: 22px; width: calc(var(--w) * 1.2); height: 34px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(59, 36, 20, 0.22), transparent); pointer-events: none;
  transition: width 700ms var(--ease-out), opacity 400ms ease;
}
.fan.open::before { width: calc(var(--w) * 3.6); opacity: 0.8; }
.fan-card {
  --rot: calc(var(--i) * 1.6deg); --tx: calc(var(--i) * 2px); --ty: calc(var(--k) * 2px);
  position: absolute; left: 50%; bottom: 48px; width: var(--w); margin: 0 0 0 calc(var(--w) / -2);
  padding: 8px 8px 34px; border-radius: 3px; background: var(--card);
  box-shadow: 0 10px 22px rgba(59, 36, 20, 0.16), 0 1px 3px rgba(59, 36, 20, 0.08);
  transform-origin: 50% var(--pivot); z-index: calc(10 - var(--k));
  rotate: var(--rot); translate: var(--tx) var(--ty);
  /* the lift happens along the card's own axis, after the fan rotation */
  transform: translateY(calc(var(--lift, 0) * var(--rise) * -1)) scale(calc(1 + var(--lift, 0) * 0.07));
  transition: rotate 680ms cubic-bezier(0.34, 1.38, 0.64, 1), translate 560ms var(--ease-out),
              transform 300ms var(--ease-out), box-shadow 300ms ease;
  transition-delay: calc((3 - var(--k)) * 28ms), calc((3 - var(--k)) * 28ms), 0s, 0s;
}
.fan-card .photo { position: relative; aspect-ratio: 640 / 794; overflow: hidden; border-radius: 2px; background: var(--paper-deep); }
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; -webkit-touch-callout: none; }
/* sheen that sweeps across the lifted card */
.fan-card .photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 250, 238, 0.55) 50%, transparent 65%) no-repeat;
  background-size: 260% 100%; background-position: calc(110% - var(--lift, 0) * 120%) 0;
  opacity: calc(var(--lift, 0) * 0.7); mix-blend-mode: soft-light;
  transition: background-position 600ms var(--ease-out), opacity 300ms ease;
}
.fan-card figcaption {
  position: absolute; left: 10px; right: 8px; bottom: 7px; font: 600 21px/1 "Caveat", cursive;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; translate: 0 4px;
  transition: opacity 220ms ease, translate 300ms var(--ease-out);
}
.fan:not(.open) .fan-card:nth-child(4) figcaption, .fan.open .fan-card.near figcaption { opacity: 1; translate: 0 0; }
/* open: a hand of cards, stacked left to right; the near card comes to the front */
.fan.open .fan-card {
  --rot: calc(var(--i) * var(--step)); --tx: 0px; --ty: calc(var(--k) * 6px);
  z-index: calc(20 + var(--i)); transition-delay: calc(var(--k) * 45ms), calc(var(--k) * 45ms), 0s, 0s;
}
.fan.open .fan-card.near { z-index: 40; box-shadow: 0 26px 44px rgba(59, 36, 20, 0.28), 0 2px 6px rgba(59, 36, 20, 0.1); }
/* closed, idle: the deck peeks open a little to invite a hover */
.fan.peek:not(.open) .fan-card { --rot: calc(var(--i) * 3.6deg); --ty: calc(var(--k) * 3px); }
/* deal: cards fly in one by one and land on the stack */
.fan.pre .fan-card { opacity: 0; }
.fan.deal .fan-card { animation: deal 640ms cubic-bezier(0.2, 0.9, 0.25, 1.12) backwards; animation-delay: calc(var(--d) * 85ms); }
@keyframes deal {
  from { opacity: 0; transform: translate(calc(220px + var(--d) * 14px), -180px) rotate(28deg) scale(0.92); }
  40% { opacity: 1; }
}
.fan-hint { position: absolute; left: calc(50% + var(--w) * 0.62); top: 22px; font-size: 22px; transform: rotate(7deg); transition: opacity 240ms ease; white-space: nowrap; }
.fan-hint::after { content: " ↙"; font-family: system-ui, sans-serif; font-size: 18px; }
.fan.open .fan-hint, .fan.pre .fan-hint { opacity: 0; }
.fan:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 16px; }
@media (hover: none), (pointer: coarse) { .fan-hint { display: none; } }

/* wide screens: text on the left, a big deck on the right */
@media (min-width: 1180px) {
  .pets-intro { grid-template-columns: 400px minmax(0, 1fr); gap: 20px; align-items: center; }
  .fan { --w: 176px; --step: 7.4deg; width: 100%; max-width: 640px; height: 420px; margin: 0 0 0 auto; }
}
/* tablets and small laptops: deck centred under the text */
@media (max-width: 860px) {
  .pets-intro { margin-bottom: 20px; }
  .fan { --w: 150px; --step: 7deg; --pivot: 240%; --rise: 26px; height: 350px; margin-top: 18px; }
  .fan-card { padding: 6px 6px 28px; bottom: 40px; }
  .fan-card figcaption { font-size: 18px; left: 8px; bottom: 6px; }
}
/* phones: as big as the width allows, still inside the screen when open */
@media (max-width: 560px) {
  .fan { --w: 128px; --step: 5.3deg; --pivot: 265%; --rise: 22px; height: 300px; }
  .fan-card { padding: 5px 5px 24px; bottom: 36px; }
  .fan-card figcaption { font-size: 16px; left: 7px; bottom: 5px; }
}
@media (max-width: 370px) { .fan { --w: 116px; --step: 5.4deg; height: 280px; } }
@media (prefers-reduced-motion: reduce) {
  .fan-card, .fan-card .photo::after, .fan::before { transition: none; }
  .fan.deal .fan-card { animation: none; }
}

/* Strip of every pet look under the cards: a slow conveyor of prints, full width, paused on hover */
.strip { margin: 64px 0 0; }
.strip-note { margin: 0 0 18px; text-align: center; }
.strip-view {
  width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; padding: 18px 0 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.strip-track { display: flex; width: max-content; animation: strip 70s linear infinite; }
.strip-set { display: flex; gap: 22px; margin: 0; padding: 0 11px; list-style: none; }
.strip-print {
  position: relative; flex: none; width: 150px; padding: 8px 8px 34px; border-radius: 3px; background: var(--card);
  box-shadow: 0 10px 22px rgba(59, 36, 20, 0.16), 0 1px 3px rgba(59, 36, 20, 0.08);
  transform: rotate(var(--r)); transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.strip-print .photo { aspect-ratio: 640 / 794; overflow: hidden; border-radius: 2px; background: var(--paper-deep); }
.strip-print img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; }
.strip-cap { position: absolute; left: 10px; right: 8px; bottom: 7px; font: 600 19px/1 "Caveat", cursive; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip-soon { position: absolute; top: -8px; right: -8px; padding: 5px 8px; border-radius: 999px; background: var(--butter); color: var(--ink); font-size: 10px; transform: rotate(6deg); box-shadow: 0 2px 6px rgba(59, 36, 20, 0.18); }
@keyframes strip { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) {
  .strip-view:hover .strip-track { animation-play-state: paused; }
  .strip-print:hover { transform: rotate(0deg) translateY(-8px) scale(1.04); box-shadow: 0 20px 34px rgba(59, 36, 20, 0.22); }
}
/* driven by home.js: the track follows the finger, so no CSS animation */
.strip.drive .strip-track { animation: none; will-change: transform; }
.strip.drive .strip-view { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.strip.drive .strip-view.held { cursor: grabbing; }
.strip.drive .strip-view.held .strip-print { transition-duration: 120ms; }
.strip-view:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.strip-print img { -webkit-touch-callout: none; }
@media (max-width: 860px) {
  .strip { margin-top: 56px; }
  .strip-print { width: 122px; padding: 6px 6px 28px; }
  .strip-cap { font-size: 16px; bottom: 6px; left: 8px; }
  .strip-set { gap: 16px; padding: 0 8px; }
  .strip-track { animation-duration: 56s; }
}
@media (prefers-reduced-motion: reduce) {
  /* no conveyor: one row the visitor scrolls by hand */
  .strip-track { animation: none; }
  .strip-set[aria-hidden] { display: none; }
  .strip-view { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .strip-print { scroll-snap-align: center; transition: none; }
}

/* Pet looks that are ready but not in the app yet */
.soon { margin-top: 72px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.soon-copy { max-width: 46ch; color: var(--dim); font-size: 18px; }
.soon-copy b { color: var(--ink); font-weight: 600; }
.soon-stamp { display: inline-block; margin-right: 8px; padding: 6px 10px; border-radius: 999px; background: var(--butter); color: var(--ink); vertical-align: 2px; }
.soon-row { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 40px; justify-content: center; }
.soon-row .print { padding: 10px 10px 40px; }
.soon-row .print figcaption { font-size: 22px; }
@media (max-width: 560px) { .soon-row { gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .soon-copy { font-size: 16px; } }

/* small layout helpers (were inline styles) */
.hero-lead { margin-top: 20px; }
.lead.wide { max-width: 52ch; margin-top: 14px; }
.hand-row { margin-top: 28px; }
.doc-lead { max-width: none; }

/* language switch: three small stamps, the current one inked */
.lang { display: flex; gap: 2px; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); }
.lang a {
  display: grid; place-items: center; min-width: 40px; min-height: 36px; padding: 0 8px; border-radius: 999px;
  font: 500 12px/1 "DM Mono", ui-monospace, monospace; letter-spacing: 0.08em; color: var(--dim); text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
.lang a[aria-current="true"] { background: var(--ink); color: var(--card); }
.lang a:focus-visible { outline-offset: 1px; border-radius: 999px; }
@media (hover: hover) and (pointer: fine) { .lang a:not([aria-current="true"]):hover { color: var(--ink); background: var(--paper-deep); } }
@media (pointer: coarse) { .lang a { min-height: 40px; min-width: 42px; } }

/* first-visit language suggestion: a small card that slides up, never a redirect */
.offer {
  position: fixed; z-index: 70; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  width: min(400px, calc(100% - 32px)); padding: 20px 20px 18px; border-radius: 6px;
  background: var(--card); box-shadow: 0 24px 50px rgba(59, 36, 20, 0.28), 0 2px 6px rgba(59, 36, 20, 0.1);
  transform: translate(-50%, calc(100% + 40px)) rotate(1.5deg); opacity: 0;
  transition: transform 560ms var(--ease-out), opacity 240ms ease;
}
.offer.up { transform: translate(-50%, 0) rotate(-0.6deg); opacity: 1; }
.offer[hidden] { display: none; }
.offer .tape { left: 28px; margin-left: 0; width: 64px; }
.offer-tag { margin: 0 0 8px; color: var(--tomato-deep); }
.offer-text { margin: 0 0 16px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.offer-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.offer-go { min-height: 48px; padding: 0 20px; font-size: 16px; border-radius: 14px; border-bottom-width: 4px; }
.offer-stay { font: 500 16px/1 "Bricolage Grotesque", sans-serif; min-height: 48px; padding: 0 14px; background: none; border: 0; color: var(--dim); cursor: pointer; border-radius: 12px; }
@media (hover: hover) and (pointer: fine) { .offer-stay:hover { color: var(--ink); } }

/* legal tables become small cards on phones */
@media (max-width: 640px) {
  .doc table.stack, .doc table.stack tbody, .doc table.stack tr, .doc table.stack td { display: block; width: 100%; }
  .doc table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .doc table.stack tr { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 6px 16px; margin: 0 0 12px; }
  .doc table.stack td { border: 0; padding: 10px 0; }
  .doc table.stack td + td { border-top: 1px dashed var(--line); }
  .doc table.stack td::before { content: attr(data-label); display: block; margin-bottom: 4px; font: 500 11px/1 "DM Mono", ui-monospace, monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
  .doc table.stack td:first-child { font-weight: 700; color: var(--ink); }
}

/* long German compounds: let headings and body break politely instead of overflowing */
:lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(de) .doc p, :lang(de) .doc li, :lang(de) .doc td { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* not found */
.missing { padding-top: 60px; padding-bottom: 120px; }
.missing .lead { margin-top: 16px; }
.missing-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

/* phones: second pass, section by section */
@media (max-width: 860px) {
  .top { padding: 14px 16px; }
  .brand span { font-size: 30px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 8px 16px 64px; gap: 20px; }
  .dev { height: 420px; margin-bottom: 36px; }
  /* the selfie card covers the left of the caption, so the caption sits right and the counter yields to the ticks */
  .cap { justify-content: flex-end; }
  .cap .count { display: none; }
  .pause { min-height: 44px; min-width: 64px; bottom: -48px; padding: 0 6px; display: grid; place-items: center end; }
  .lead { font-size: 18px; }
  section { padding: 60px 0; }
  .step { padding: 20px; }
  .num { width: 42px; height: 42px; font-size: 20px; margin-bottom: 12px; }
  /* reel: everything fits the width; prints spread less so none are clipped */
  .reel { --spread: 0.5; }
  .reel.live .reel-stage { align-items: center; padding-top: 0; }
  .reel.live .reel-grid { align-content: center; }
  .reel.live .pile { height: min(50svh, 440px); }
  .rail { gap: 0; overflow: visible; justify-content: space-between; }
  .rail li { flex: 1 1 0; display: flex; justify-content: center; }
  .rail button { min-width: 0; width: 100%; max-width: 44px; padding: 0; }
  .pets { gap: 56px; margin-top: 36px; }
  .chips { gap: 8px; }
  .faq summary { font-size: 18px; }
  .faq p { padding-right: 0; }
  .doc { padding: 16px 16px 72px; }
  .doc h2 { font-size: 23px; margin-top: 34px; }
  footer { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
}
@media (pointer: coarse) { .chip { min-height: 44px; padding: 0 16px; } }
@media (max-width: 380px) {
  .brand span { font-size: 27px; }
  .brand svg { width: 26px; height: 26px; }
  .lang a { min-width: 38px; padding: 0 6px; }
  .dev .main { width: 232px; }
}

@media (prefers-reduced-motion: reduce) {
  .offer { transition: opacity 200ms ease; transform: translate(-50%, 0); }
  .offer.up { transform: translate(-50%, 0); }
  .plus, .lang a, .skip { transition: none; }
  .js .faq details[open] p { animation: none; }
}

/* hero, second pass: say that the print can be changed, show where you are, and let a finger swipe it */
.dev .main { touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; transition: rotate 700ms var(--ease-in-out), scale 160ms var(--ease-out); }
.dev .main:active { scale: 0.985; }
/* a new look develops: overexposed, soft and warm first, then it clears */
.dev .main .layer.in { animation: develop2 1150ms var(--ease-out) both; }
@keyframes develop2 {
  0% { opacity: 0; transform: scale(1.05); filter: brightness(1.7) sepia(0.55) blur(7px) contrast(0.8); }
  35% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); filter: none; }
}
/* hand-written invitation with a drawn arrow pointing at the print; gone after the first touch */
.tap-note {
  position: absolute; z-index: 4; left: 6px; top: 26px; width: 150px; font-size: 23px; line-height: 1.02;
  color: var(--tomato-deep); transform: rotate(-6deg); transition: opacity 400ms ease, translate 400ms var(--ease-out);
}
.tap-note .for-touch { display: none; }
@media (hover: none), (pointer: coarse) { .tap-note .for-touch { display: inline; } .tap-note .for-mouse { display: none; } }
.tap-arrow { display: block; margin: 4px 0 0 64px; color: var(--tomato-deep); }
.used .tap-note { opacity: 0; translate: 0 -6px; pointer-events: none; }
.js .tap-note { animation: fade 500ms ease-out 1500ms both; }
.js .tap-arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 620ms var(--ease-out) 1750ms forwards; }
.js .tap-arrow path + path { animation-delay: 2300ms; animation-duration: 240ms; }
.js .tap-note .tap-arrow { animation: nudge 2.8s ease-in-out 3.2s infinite; transform-origin: 10% 10%; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translate(3px, 3px) rotate(3deg); } 90% { transform: translate(0, 1px); } }

/* contact sheet under the print: ten tiny frames, the current one circled in grease pencil.
   The circle draws itself over the time a look stays up; when it closes, the next look develops. */
.ticks { display: none; }
.sheet { position: absolute; right: 6px; bottom: -22px; width: 304px; display: flex; gap: 4px; z-index: 3; }
.frame {
  position: relative; flex: 1 1 0; min-width: 0; aspect-ratio: 4 / 5; padding: 2px 2px 5px; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--card); box-shadow: 0 2px 5px rgba(59, 36, 20, 0.18); opacity: 0.62;
  transition: opacity 200ms ease, transform 260ms var(--ease-out);
}
.frame:nth-child(odd) { transform: rotate(-2deg); } .frame:nth-child(even) { transform: rotate(1.5deg); }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 1px; -webkit-user-drag: none; }
.frame[aria-current="true"] { opacity: 1; transform: translateY(-3px) rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .frame:hover { opacity: 1; transform: translateY(-3px) rotate(0deg); } }
.frame:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ring {
  position: absolute; z-index: 2; left: 0; top: -9px; width: calc((100% - 36px) / 10 + 14px); height: auto; margin-left: -7px;
  pointer-events: none; overflow: visible; translate: var(--rx, 0px) 0; transition: translate 460ms var(--ease-out);
}
.ring path { stroke: var(--tomato); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ring.run path { animation: ring-draw var(--dwell, 3400ms) linear both; }
.paused .ring.run path, .hold .ring.run path { animation-play-state: paused; }
@keyframes ring-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.pause { bottom: -62px; }
.js .dev .sheet { animation: fade 500ms ease-out 1100ms both; }

@media (max-width: 860px) {
  .sheet { width: 250px; right: 2px; bottom: -26px; gap: 3px; }
  .ring { width: calc((100% - 27px) / 10 + 12px); margin-left: -6px; top: -8px; }
  .pause { bottom: -70px; }
  .dev { margin-bottom: 64px; }
  .tap-note { left: 0; top: 10px; width: 104px; font-size: 20px; }
  .tap-arrow { margin-left: 34px; width: 62px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .dev .main .layer.in { animation: none; }
  .tap-arrow path { stroke-dashoffset: 0; }
  .tap-note .tap-arrow { animation: none; }
}


/* "Three taps" on phones: a drawn timeline. Stamps sit on a dashed pencil line that draws itself down,
   each step is a compact paper card with a tiny print that shows the step. Desktop keeps the three cards. */
.step-pic { display: none; }
@media (max-width: 860px) {
  .steps { position: relative; gap: 16px; margin-top: 28px; }
  .steps::before {
    content: ""; position: absolute; left: 21px; top: 26px; bottom: 30px; width: 0;
    border-left: 2px dashed rgba(207, 53, 28, 0.42); transform-origin: top;
  }
  .js .steps::before { transform: scaleY(0); transition: transform 1100ms var(--ease-out) 150ms; }
  .js .steps.in::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-items: start; background: none; border: 0; border-radius: 0; padding: 0; }
  .num { position: relative; z-index: 1; width: 44px; height: 44px; margin: 14px 0 0; font-size: 20px; box-shadow: 0 4px 10px rgba(181, 44, 22, 0.25); }
  .step-body {
    display: grid; grid-template-columns: minmax(0, 1fr) 62px; gap: 12px; align-items: center;
    background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 14px 16px 16px;
    box-shadow: 0 6px 16px rgba(59, 36, 20, 0.06);
  }
  .step h3 { font-size: 19px; }
  .step p { font-size: 15.5px; line-height: 1.5; margin-top: 4px; }
  .step-pic { display: block; position: relative; width: 62px; height: 76px; }
  .step-pic img {
    position: absolute; left: 50%; top: 50%; width: 46px; height: 57px; margin: -28px 0 0 -23px; object-fit: cover;
    border: 3px solid #FFFDF7; border-bottom-width: 7px; border-radius: 2px; background: var(--paper-deep);
    box-shadow: 0 4px 10px rgba(59, 36, 20, 0.22);
  }
  .pic-1 img:nth-child(1) { rotate: -14deg; translate: -10px 3px; }
  .pic-1 img:nth-child(2) { rotate: 2deg; translate: 0 -2px; z-index: 1; }
  .pic-1 img:nth-child(3) { rotate: 15deg; translate: 11px 4px; z-index: 2; }
  .pic-2 img { rotate: -5deg; width: 50px; height: 62px; margin: -31px 0 0 -25px; }
  .pic-2::after { content: ""; position: absolute; z-index: 2; left: 50%; top: 2px; width: 28px; height: 9px; margin-left: -14px; background: rgba(244, 194, 75, 0.8); rotate: -6deg; }
  .pic-3 img { rotate: 6deg; width: 52px; height: 64px; margin: -32px 0 0 -26px; }
  .pic-3::after { content: "✓"; position: absolute; z-index: 2; right: -4px; bottom: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: #FFF8EE; font: 700 12px/1 system-ui, sans-serif; box-shadow: 0 2px 6px rgba(59, 36, 20, 0.25); }
  /* entrance: steps slide in from the right one after another, the tiny prints land with a little bounce */
  .js .step.reveal { transform: translateX(26px); }
  .js .step.reveal.in { transform: none; }
  .js .step .num { scale: 0.6; opacity: 0; transition: scale 520ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 240ms ease; transition-delay: var(--d, 0ms); }
  .js .step.in .num { scale: 1; opacity: 1; }
  .js .step .step-pic img { opacity: 0; transform: translateY(-14px) scale(0.85); transition: opacity 300ms ease, transform 560ms cubic-bezier(0.34, 1.5, 0.64, 1); }
  .js .step.in .step-pic img { opacity: 1; transform: none; transition-delay: calc(var(--d, 0ms) + 260ms); }
  .js .step.in .pic-1 img:nth-child(2) { transition-delay: calc(var(--d, 0ms) + 330ms); }
  .js .step.in .pic-1 img:nth-child(3) { transition-delay: calc(var(--d, 0ms) + 400ms); }
  .hand-row { margin: 22px 0 0 56px; }
  .hand-row .hand { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .steps::before { transform: none !important; transition: none !important; }
}
