/* Tidyback site. The idea comes straight from the app icon: a stack of paper prints with a folded corner, a coral sun,
   teal mountains. Sections are sheets in that stack. Palette from docs/design/spec.md, flat paper shadows like the app. */
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
:root {
  --bg: #FAF6EF;
  --card: #FFFFFF;
  --sunken: #F3EDE2;
  --ink: #1B302E;
  --ink-soft: #4F625E;
  --border: #E7E0D3;
  --paper-shadow: #D8D1C3;
  --teal: #2F8F87;
  --teal-deep: #1F6E68;
  --teal-hero: #22736C;
  --teal-dark: #155650;
  --teal-mid: #7FBDB4;
  --teal-pale: #B9DDD7;
  --teal-soft: #E1F1EE;
  --clay: #C8664A;
  --clay-deep: #83392A;
  --clay-soft: #F8E6DF;
  --amber: #E2B33C;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
/* Each CJK locale gets its own system font, so Han glyphs use the right regional forms. */
html:lang(zh-Hant) body { font-family: "Nunito", -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
html:lang(ko) body { font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
html:lang(ko) body { word-break: keep-all; }
html:lang(ja) { line-break: strict; }
html:lang(ja) :is(h1, h2, h3, figcaption, .trust li) { word-break: auto-phrase; }
html:lang(zh-Hant) :is(h1, h2, h3) { word-break: keep-all; overflow-wrap: anywhere; }
[id] { scroll-margin-top: 84px; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
img, svg { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wide { max-width: 1320px; }
.narrow { max-width: 780px; }

/* Header: the same teal as the hero, so the page opens as one sheet */
header.site { position: sticky; top: 0; z-index: 20; background: var(--teal-hero); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 22%; }
header.site .brand { color: #fff; }
header.site .brand img { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .45); }
nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
nav a { color: #E1F1EE; text-decoration: none; font-weight: 700; padding: 6px 0; }
nav a:hover { color: #fff; }
nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px #fff; }
header.site :focus-visible { outline-color: #fff; }
@media (max-width: 480px) {
  .bar { column-gap: 8px; }
  .brand { font-size: 18px; gap: 8px; }
  header.site .brand img { width: 28px; height: 28px; }
  nav { gap: 2px 10px; font-size: 13px; }
}

/* Typography */
h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.06; letter-spacing: -.03em; font-weight: 900; margin: 18px 0 20px; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.12; letter-spacing: -.025em; font-weight: 900; margin: 0 0 36px; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.32; letter-spacing: -.01em; font-weight: 850; margin: 18px 0 6px; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.65; margin: 0 0 28px; color: var(--ink-soft); max-width: 34em; }
.hero .lead { color: #EAF6F3; }
html:is(:lang(ja), :lang(zh-Hant), :lang(ko)) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.32; font-weight: 800; }
html:is(:lang(ja), :lang(zh-Hant), :lang(ko)) h1 { font-size: clamp(29px, 3.6vw, 48px); line-height: 1.3; }
html:is(:lang(ja), :lang(zh-Hant), :lang(ko)) h2 { font-size: clamp(26px, 3vw, 40px); }
html:is(:lang(ja), :lang(zh-Hant), :lang(ko)) h3 { font-size: 19px; }
html:is(:lang(ja), :lang(zh-Hant), :lang(ko)) body { line-height: 1.8; }

/* Hero */
.hero { position: relative; overflow: clip; background: var(--teal-hero); color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; padding-top: 24px; padding-bottom: 76px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 56px; padding-top: 36px; padding-bottom: 96px; } }
.eyebrow { display: inline-block; margin: 0; padding: 6px 26px 6px 14px; border-radius: 8px; background: var(--bg); color: var(--teal-deep);
  font-size: 14px; line-height: 1.4; font-weight: 800; clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%); }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; line-height: 1.4; font-size: 15px; font-weight: 700; max-width: 30em; }
.trust li { display: flex; align-items: flex-start; gap: 8px; margin: 0; }
.trust .ic { width: 18px; height: 18px; color: #F2D589; stroke-width: 3; flex: none; margin-top: 1px; }

/* Hero art: positions are in --u (1% of the column width), so the whole picture scales as one. */
.hero-art { container-type: inline-size; min-width: 0; width: 100%; max-width: 480px; margin: 0 auto; }
.art-box { --u: 1cqw; position: relative; width: 100%; height: calc(var(--u) * 142); }
.stack { position: absolute; left: 0; top: calc(var(--u) * 26); width: calc(var(--u) * 62); rotate: -4deg; }
.stack .lay { position: absolute; border-radius: calc(var(--u) * 4); height: calc(var(--u) * 20); }
.stack .l1 { left: 11%; right: 15%; top: calc(var(--u) * -7); background: var(--teal-mid); }
.stack .l2 { left: 5%; right: 8%; top: calc(var(--u) * -3.500); background: var(--teal-pale); }
.scene { display: block; position: relative; width: 100%; height: auto; }
.art-box .phone { position: absolute; left: 36%; top: 0; width: calc(var(--u) * 64); z-index: 2; border-radius: calc(var(--u) * 10); padding: calc(var(--u) * 2.200); rotate: 2.500deg; }
.art-box .phone img { border-radius: calc(var(--u) * 7.800); }
.art-box .phone.back { display: none; }
.piles { position: absolute; left: 0; top: calc(var(--u) * 102); width: calc(var(--u) * 50); display: flex; gap: calc(var(--u) * 4); z-index: 3; }
.pile { flex: 1 1 0; min-width: 0; text-align: center; }
.pile .prints { position: relative; aspect-ratio: 120 / 112; }
.pile .p { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; display: block; }
.p1 { transform: rotate(-11deg) translate(-5%, -9%); } .p2 { transform: rotate(8deg) translate(5%, -6%); } .p3 { transform: rotate(-2deg); }
.p4 { transform: rotate(10deg) translate(5%, -9%); } .p5 { transform: rotate(-4deg); }
@media (min-width: 960px) {
  .hero-art { max-width: none; }
  .art-box { height: calc(var(--u) * 112); }
  .stack { left: 0; top: calc(var(--u) * 15); width: calc(var(--u) * 58); }
  .art-box .phone { left: 33%; width: calc(var(--u) * 45); border-radius: calc(var(--u) * 7); padding: calc(var(--u) * 1.500); rotate: -2deg; }
  .art-box .phone img { border-radius: calc(var(--u) * 5.600); }
  .art-box .phone.back { display: block; left: 64%; top: calc(var(--u) * 9); width: calc(var(--u) * 37); rotate: 6deg; z-index: 1; }
  .piles { left: calc(var(--u) * -5); top: calc(var(--u) * 68); width: calc(var(--u) * 40); gap: calc(var(--u) * 3); }
}
.tag { display: inline-flex; align-items: center; justify-content: center; gap: 5px; margin-top: 8px; padding: 3px 12px; border-radius: 999px; font-size: 13.5px; line-height: 1.4; font-weight: 800; white-space: nowrap; background: var(--bg); }
.tag svg { width: 14px; height: 14px; flex: none; }
.tag.keep { color: var(--teal-deep); }
.tag.del { color: var(--clay-deep); }

/* Phone frame */
.phone { background: #10302D; border-radius: 40px; padding: 9px; box-shadow: 0 26px 44px -18px rgba(6, 34, 31, .6); }
.phone img { display: block; width: 100%; height: auto; border-radius: 32px; background: var(--bg); }

/* Store buttons / coming soon */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 0; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--bg); color: var(--teal-dark); text-decoration: none; font-weight: 850; line-height: 1.3;
  border-radius: 16px; padding: 14px 22px; box-shadow: 0 4px 0 var(--teal-dark); transition: translate .15s ease, box-shadow .15s ease; }
.store svg { width: 22px; height: 22px; flex: none; }
.store:hover { color: var(--teal-dark); translate: 0 -2px; box-shadow: 0 6px 0 var(--teal-dark); }
.store:active { translate: 0 3px; box-shadow: 0 1px 0 var(--teal-dark); }
.stores :focus-visible { outline-color: #fff; }
.soon { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 11px 16px; border-radius: 16px; border: 1.5px dashed rgba(255, 255, 255, .55); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.35; }
.soon .dot { width: 9px; height: 9px; border-radius: 50%; background: #F2D589; flex: none; }

/* Sheet edges: the icon's stacked prints and folded corner at page scale */
.edge { --h: 92px; --ear: 46px; --a: var(--bg); --front: var(--bg); --fold: var(--teal-pale); position: relative; z-index: 3; height: var(--h); margin-top: -46px; }
.edge span { position: absolute; display: block; }
.edge .l1, .edge .l2 { bottom: 14px; }
.edge .l1 { left: 9%; right: 9%; top: 0; border-radius: 22px 22px 0 0; background: var(--c1); }
.edge .l2 { left: 4.500%; right: 4.500%; top: 18px; border-radius: 22px 22px 0 0; background: var(--c2); }
.edge .front { left: 0; right: 0; bottom: 0; height: calc(var(--ear) + 2px); background: var(--front); border-radius: 26px 0 0 0; clip-path: polygon(0 0, calc(100% - var(--ear)) 0, 100% var(--ear), 100% 100%, 0 100%); }
.edge .fold { right: 0; bottom: 2px; width: var(--ear); height: var(--ear); background: var(--fold); border-bottom-left-radius: 12px; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.edge { overflow: clip; }
.edge-hero { --c1: var(--teal-mid); --c2: var(--teal-pale); --fold: #1F6E68; }
.edge-doc { --c1: var(--teal-mid); --c2: var(--teal-pale); --fold: #1F6E68; background: var(--teal-hero); margin-top: 0; --h: 70px; }
.edge-alt, .edge-back { --h: 46px; margin-top: 0; }
.edge-alt { --front: var(--teal-soft); --fold: var(--teal-mid); background: var(--bg); }
.edge-back { --front: var(--bg); --fold: var(--teal-mid); background: var(--teal-soft); }
.edge-cta { --c1: var(--teal-pale); --c2: var(--teal-mid); --front: var(--teal-hero); --fold: var(--teal-dark); background: var(--bg); margin-top: 0; }
.edge-doc { --h: 72px; --ear: 38px; }
.edge-doc .l2 { top: 14px; }
@media (min-width: 720px) {
  .edge { --h: 128px; --ear: 66px; margin-top: -64px; }
  .edge .l2 { top: 26px; }
  .edge .front { border-radius: 40px 0 0 0; }
  .edge-alt, .edge-back { --h: 66px; }
  .edge-doc { --h: 96px; --ear: 50px; }
  .edge-alt, .edge-back, .edge-cta, .edge-doc { margin-top: 0; }
  .edge-doc .l2 { top: 18px; }
}

/* Sections */
.band { padding: 28px 0 72px; }
@media (min-width: 720px) { .band { padding: 36px 0 96px; } }
.band.alt { background: var(--teal-soft); }

/* Feature cards: four big illustrated ones, three small */
.features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.feature { display: flex; flex-direction: column; align-items: stretch; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 14px 24px; box-shadow: 0 3px 0 var(--paper-shadow); }
.feature h3, .feature p { padding: 0 10px; }
.feature p { margin: 0; font-size: 16px; color: var(--ink-soft); line-height: 1.65; }
.feature .badge { margin: 10px 0 0 10px; align-self: flex-start; }
.feature .badge + h3 { margin-top: 14px; }
@media (min-width: 680px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f7 { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .features { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
  .f1, .f4 { grid-column: span 7; } .f2, .f3 { grid-column: span 5; }
  .f5, .f6, .f7 { grid-column: span 4; }
}
.badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-deep); }
.badge .ic { width: 25px; height: 25px; }

/* Illustration panels: each one is itself a print with a folded corner */
.panel { --ear: 34px; --tint: var(--teal-soft); --foldc: var(--teal-pale); position: relative; flex: 1 0 216px; min-height: 216px; overflow: hidden; border-radius: 14px 0 14px 14px; background: var(--tint);
  clip-path: polygon(0 0, calc(100% - var(--ear)) 0, 100% var(--ear), 100% 100%, 0 100%); }
.panel::after { content: ""; position: absolute; top: 0; right: 0; width: var(--ear); height: var(--ear); background: var(--foldc); border-bottom-left-radius: 8px; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.panel img { position: absolute; height: auto; display: block; }
.p-similar { --tint: #F7E3E9; --foldc: #EBC3CF; }
.p-similar img { width: 158px; top: 50%; left: 50%; }
.p-similar .a1 { transform: translate(-108%, -52%) rotate(-7deg) scale(.86); opacity: .75; }
.p-similar .a2 { transform: translate(8%, -52%) rotate(6deg) scale(.86); opacity: .75; }
.p-similar .a3 { transform: translate(-50%, -50%) scale(1.08); }
.star { position: absolute; left: calc(50% - 98px); top: calc(50% - 88px); z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: #fff; box-shadow: 0 3px 0 #C7972A; }
.star svg { width: 24px; height: 24px; }
.p-groups { --tint: #E4ECF5; --foldc: #C3D3E6; display: block; }
.p-groups img { width: 108px; top: 50%; left: 50%; }
.p-groups .a1 { transform: translate(-112%, -94%) rotate(-5deg); }
.p-groups .a2 { transform: translate(8%, -96%) rotate(4deg); }
.p-groups .a3 { transform: translate(-108%, 2%) rotate(3deg); }
.p-groups .a4 { transform: translate(6%, 2%) rotate(-4deg); }
.p-swipe { --tint: var(--teal-soft); --foldc: var(--teal-pale); display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); align-items: center; justify-items: center; gap: 6px; padding: 0 8px; }
.p-swipe .deck { position: relative; display: block; width: 150px; height: 130px; }
.p-swipe .deck img { width: 150px; left: 0; top: 0; }
.p-swipe .under { transform: translate(-7%, -7%) rotate(-11deg); }
.p-swipe .top { transform: translate(3%, 3%) rotate(4deg); }
.p-swipe .tag { margin: 0; padding: 4px 10px; background: #fff; }
.p-swipe .tag.del svg { rotate: 180deg; }
.p-basket { --tint: var(--clay-soft); --foldc: #EDC7BA; }
.p-basket .bk { width: 270px; left: 50%; bottom: -8px; transform: translateX(-50%); z-index: 1; }
.p-basket .d1, .p-basket .d2, .p-basket .d3 { width: 124px; bottom: 74px; left: 50%; }
.p-basket .d1 { transform: translateX(-122%) rotate(-9deg); }
.p-basket .d2 { transform: translateX(-50%) rotate(2deg); bottom: 88px; }
.p-basket .d3 { transform: translateX(22%) rotate(8deg); }
@media (max-width: 400px), (min-width: 680px) and (max-width: 860px) {
  .p-swipe { grid-template-columns: minmax(0, 1fr) 118px minmax(0, 1fr); gap: 3px; padding: 0 4px; }
  .p-swipe .deck, .p-swipe .deck img { width: 118px; }
  .p-swipe .deck { height: 104px; }
  .p-swipe .tag { padding: 3px 7px; font-size: 12.5px; }
  .p-swipe .tag svg { display: none; }
}

/* Gallery */
.band.alt h2 { text-align: center; }
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 26px; margin: 0 -20px; scrollbar-width: thin; scrollbar-color: var(--teal-mid) transparent; }
.gallery figure { margin: 0; flex: 0 0 min(64vw, 240px); scroll-snap-align: center; text-align: center; }
@media (min-width: 1040px) {
  .gallery { overflow: visible; padding: 8px 0 26px; margin: 0; gap: 26px; }
  .gallery figure { flex: 1 1 0; min-width: 0; }
  .gallery figure:nth-child(even) { margin-top: 44px; }
  .gallery figure:nth-child(odd) { margin-bottom: 44px; }
}
.gallery .phone { border-radius: 32px; padding: 7px; box-shadow: 0 18px 30px -18px rgba(6, 34, 31, .55); }
.gallery .phone img { border-radius: 26px; }
.gallery figcaption { margin-top: 16px; font-weight: 800; font-size: 16px; line-height: 1.4; color: var(--teal-dark); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; } }
.faq-sloth { display: none; width: 190px; height: auto; rotate: -5deg; }
@media (min-width: 900px) { .faq-sloth { display: block; margin: 8px 0 0 4px; } .faq-side h2 { margin-bottom: 24px; } }
details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 0 20px; margin: 0 0 12px; box-shadow: 0 2px 0 var(--paper-shadow); }
summary { cursor: pointer; list-style: none; font-weight: 800; padding: 17px 34px 17px 0; position: relative; line-height: 1.45; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 3px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { margin: 0 0 18px; color: var(--ink-soft); }
.more { color: var(--ink-soft); font-size: 15px; margin: 22px 0 0; }

/* Closing section: the icon's sun and mountains, full width */
.cta { --scene: 150px; position: relative; overflow: clip; background: var(--teal-hero); color: #fff; text-align: center; padding: 12px 0 calc(var(--scene) + 20px); }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 12px; }
.cta p { max-width: 640px; margin: 0 auto 28px; color: #EAF6F3; }
.cta .stores { justify-content: center; }
.cta-icon { display: block; margin: 0 auto 18px; border-radius: 22%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .4); }
.cta-scene { position: absolute; left: 0; right: 0; bottom: 0; display: block; width: 100%; height: var(--scene); }
.cta .store { box-shadow: 0 4px 0 #10403C; }
@media (min-width: 720px) { .cta { --scene: max(270px, 20.84vw); } }

/* Legal / support pages */
.doc { padding-top: 16px; padding-bottom: 64px; max-width: 780px; overflow-wrap: anywhere; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.2; }
html:is(:lang(ja), :lang(zh-Hant), :lang(ko)) .doc h1 { font-size: clamp(28px, 3.4vw, 38px); }
.doc h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.01em; margin: 40px 0 10px; }
html:is(:lang(ja), :lang(zh-Hant), :lang(ko)) .doc h2 { font-size: 22px; }
.doc h3 { font-size: 18px; }
.meta, .note { font-size: 14px; color: var(--ink-soft); margin: 0 0 8px; }
.summary { background: var(--teal-soft); border-radius: 16px; padding: 6px 20px; margin: 20px 0; }
ul { padding-left: 1.3em; }
li { margin: 4px 0; }
.points { list-style: none; padding: 0; }
.points li { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin: 10px 0; box-shadow: 0 2px 0 var(--paper-shadow); }
table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { background: var(--sunken); }

/* Footer */
.site-foot { background: var(--card); border-top: 1px solid var(--border); font-size: 14px; color: var(--ink-soft); }
.foot-grid { display: grid; gap: 20px; padding-top: 36px; padding-bottom: 40px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1fr auto; } .foot-grid > div:last-child { text-align: right; } }
.site-foot p { margin: 6px 0; }
.site-foot .links a, .langs a { text-decoration: none; }
.langs a[aria-current="true"] { color: var(--ink); font-weight: 800; }

/* ---------- Motion: transform and opacity only, nothing loops, all of it off for prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* Hero entrance */
  .hero-copy > * { animation: rise .75s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .07s; } .hero-copy > :nth-child(3) { animation-delay: .14s; }
  .hero-copy > :nth-child(4) { animation-delay: .21s; } .hero-copy > :nth-child(5) { animation-delay: .28s; }
  .art-box > .phone { animation: rise .9s .1s var(--ease) both; }
  .art-box > .phone.back { animation-delay: .22s; }
  .stack { animation: rise .9s var(--ease) both; }
  .hero .sun { animation: sunrise 1.5s .25s var(--ease) both; }
  /* Signature: scattered photos glide into two tidy piles */
  .pile .p { animation: tidy 1.25s cubic-bezier(.3, .85, .25, 1) calc(.55s + var(--i) * .1s) both; }
  .p1 { --i: 0; --sx: calc(var(--u) * 62); --sy: calc(var(--u) * -62); --sr: 28deg; }
  .p2 { --i: 2; --sx: calc(var(--u) * 6); --sy: calc(var(--u) * -30); --sr: -34deg; }
  .p3 { --i: 4; --sx: calc(var(--u) * 52); --sy: calc(var(--u) * -14); --sr: 22deg; }
  .p4 { --i: 1; --sx: calc(var(--u) * 34); --sy: calc(var(--u) * -78); --sr: -24deg; }
  .p5 { --i: 3; --sx: calc(var(--u) * -10); --sy: calc(var(--u) * -46); --sr: 30deg; }
  .pile .tag { animation: rise .6s 1.5s var(--ease) both; }
  /* Reveal on scroll (the hidden state needs html.js, set by site.js) */
  .js .reveal:not(.gallery, .cta) { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s var(--ease); }
  .js .reveal.is-in:not(.gallery, .cta) { opacity: 1; translate: none; }
  .js .gallery figure { opacity: 0; translate: 0 30px; transition: opacity .7s ease calc(var(--i) * .08s), translate .7s var(--ease) calc(var(--i) * .08s); }
  .js .gallery.is-in figure { opacity: 1; translate: none; }
  .js .reveal.is-in .p-swipe .top { animation: nudge 1.5s .35s var(--ease) both; }
  .js .reveal.is-in .p-basket :is(.d1, .d2, .d3) { animation: drop .8s .25s var(--ease) both; }
  .js .reveal.is-in .p-basket .d2 { animation-delay: .35s; } .js .reveal.is-in .p-basket .d3 { animation-delay: .45s; }
  .js .cta .sun { translate: 0 190px; transition: translate 1.6s var(--ease) .1s; }
  .js .cta.is-in .sun { translate: none; }
}
@keyframes rise { from { opacity: 0; translate: 0 20px; } }
@keyframes sunrise { from { translate: 44px 110px; } }
@keyframes tidy { 0% { opacity: 0; translate: var(--sx) var(--sy); rotate: var(--sr); scale: 1.15; } 14% { opacity: 1; translate: var(--sx) var(--sy); rotate: var(--sr); scale: 1.15; } }
@keyframes nudge { 0%, 100% { translate: 0 0; rotate: 0deg; } 45% { translate: 16px -4px; rotate: 5deg; } }
@keyframes drop { from { translate: 0 -46px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .store, summary::after { transition: none; } }
