/* generated by scripts/gen_web.py --fonts. All fonts OFL (licences in design/fonts). */
@font-face { font-family: "Anybody"; src: url(/fonts/anybody-latin.bd7333f581.woff2) format("woff2"); font-weight: 700 900; font-stretch: 50% 150%; font-style: normal; font-display: swap; 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: "Anybody"; src: url(/fonts/anybody-latin-ext.5a41d19a05.woff2) format("woff2"); font-weight: 700 900; font-stretch: 50% 150%; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Anybody"; src: url(/fonts/anybody-vietnamese.5044287b14.woff2) format("woff2"); font-weight: 700 900; font-stretch: 50% 150%; font-style: normal; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Instrument Sans"; src: url(/fonts/instrument-sans-latin.41e09812c1.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; 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: "Instrument Sans"; src: url(/fonts/instrument-sans-latin-ext.7b2bec1b81.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Be Vietnam Pro"; src: url(/fonts/be-vietnam-pro-400-latin.8b747d8da8.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Be Vietnam Pro"; src: url(/fonts/be-vietnam-pro-400-vietnamese.bcc15a4c62.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; src: url(/fonts/be-vietnam-pro-600-latin.a57d9f5e32.woff2) format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; 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: "Be Vietnam Pro"; src: url(/fonts/be-vietnam-pro-600-vietnamese.e714149692.woff2) format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
/* getrupa.app: "Photo Box" (design/rupa-web concept D3) in the SACHET world (design/rupa/system, DESIGN.md wins).
   Sachet tokens only; light + dark (noite). The default CSS is the finished state: animated starting states exist only
   under prefers-reduced-motion: no-preference (+ html.js for JS-played ones, + @supports animation-timeline for scroll ones).
   Only transform / opacity / clip-path / registered font axes animate. Springs settle without overshoot.
   Display headings carry --k (1 / em width of their widest line, computed per locale by scripts/gen_web.py):
   font-size = min(--max, --col * --k), so no heading clips in any language. */

:root {
  --creme: #fffae8; --manteiga: #fdefb6; --manteiga-2: #f9e093; --manga: #f9b73f;
  --caramelo: #c2732c; --caramelo-tinta: #934e1e; --caramelo-claro: #e19956; --cacau-claro: #774c33; --cacau: #391f13;
  --noite: #1a0f09; --noite-2: #291a12; --noite-3: #3e2c22; --manteiga-fosca: #dac9a6;
  --f-d: "Anybody", "Anybody Fallback", ui-sans-serif, system-ui, sans-serif;
  --f-t: "Instrument Sans", "Anybody", ui-sans-serif, system-ui, sans-serif;
  --lh-d: .86; --tr-d: -.03em;
  --e: cubic-bezier(.2, 0, 0, 1);
  --gut: 16px;
  --col: min(calc(100vw - 2 * var(--gut)), 1180px);
  --shadow: 0 22px 40px -24px rgb(26 15 9 / .7);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root { color-scheme: dark; } }
@font-face { font-family: "Anybody Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold");
  font-weight: 700 900; size-adjust: 82%; ascent-override: 105%; descent-override: 25%; }
@property --wd { syntax: "<number>"; inherits: true; initial-value: 72; }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-group(*) { animation-duration: 300ms; animation-timing-function: var(--e); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--manga); color: var(--cacau); font: 400 17px/1.45 var(--f-t); overflow-x: clip;
  font-synthesis: none; -webkit-font-smoothing: antialiased; }
body.tool, body.pack, body.lostp { background: var(--noite); }
:lang(vi) { --f-t: "Be Vietnam Pro", "Anybody", ui-sans-serif, system-ui, sans-serif; --lh-d: 1.04; }
.nonlatin { --lh-d: 1.12; --tr-d: 0; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
button { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--cacau); color: var(--manga); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-20 { width: 20px; height: 20px; }
.d { font-family: var(--f-d); font-weight: 850; line-height: var(--lh-d); letter-spacing: var(--tr-d); font-stretch: calc(var(--wd) * 1%); }
.fit { font-size: min(var(--max, 120px), calc(var(--col) * var(--k, .1))); }
.fit .ln { display: block; white-space: nowrap; }
.nw { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.missing { display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--noite-3); color: var(--creme); font-size: 13px; }

/* ===== grounds: each section picks one Sachet ground; every text pair is AA ===== */
.g { position: relative; background: var(--bg); color: var(--ink); }
.g-manga { --bg: var(--manga); --ink: var(--cacau); --ink-2: var(--cacau); --acc: var(--cacau); --band: var(--cacau); }
.g-cacau { --bg: var(--cacau); --ink: var(--manteiga); --ink-2: var(--manteiga-2); --acc: var(--manga); --band: var(--noite); }
.g-creme { --bg: var(--creme); --ink: var(--cacau); --ink-2: var(--cacau-claro); --acc: var(--caramelo); --band: var(--manteiga-2); }
.g-mant  { --bg: var(--manteiga); --ink: var(--cacau); --ink-2: var(--cacau-claro); --acc: var(--caramelo); --band: var(--manteiga-2); }
.g-noite { --bg: var(--noite); --ink: var(--creme); --ink-2: var(--manteiga-2); --acc: var(--manga); --band: var(--noite-3); }
@media (prefers-color-scheme: dark) {
  .g-creme, .g-mant { --bg: var(--noite-2); --ink: var(--creme); --ink-2: var(--manteiga-2); --acc: var(--manga); --band: var(--noite-3); }
}
/* panels cut into the manga world: rounded top, widen in */
.cut { background: none; isolation: isolate; view-timeline: --cut block; }
.cut::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); border-radius: 28px 28px 0 0; }

/* ===== shared print + material ===== */
.paper { position: relative; background: var(--creme); color: var(--cacau); padding: 10px 10px 0; border-radius: 4px; box-shadow: var(--shadow); }
.ph { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--noite-3); }
.ph img, .ph .a, .ph .b { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph .a, .ph .b { display: block; }
.minis { display: inline-flex; gap: 4px; }
.mini { width: 14px; height: 19px; border-radius: 2px; background: var(--manga); position: relative; flex: none; display: inline-block; }
.mini::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; border-top: 1.75px dotted var(--cacau); opacity: .55; }
.crimp, .half .foil, .sach, .foil-fb, .ptag { --s: 12px; --h: 6px;
  -webkit-mask: linear-gradient(#000 0 0) 0 var(--h) / 100% calc(100% - 2 * var(--h)) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) 0 0 / var(--s) var(--h) repeat-x, conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) 0 100% / var(--s) var(--h) repeat-x;
          mask: linear-gradient(#000 0 0) 0 var(--h) / 100% calc(100% - 2 * var(--h)) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) 0 0 / var(--s) var(--h) repeat-x, conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) 0 100% / var(--s) var(--h) repeat-x; }
.badge { display: inline-block; border-radius: 9px; }
.badge img { width: auto; height: 46px; }
.badge.lg img { height: 54px; }
.cap { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 6px 2px 8px; }
.nm { --wd: 80; font-size: 24px; line-height: 1; text-decoration: none; position: relative; z-index: 3; }
a.nm { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--manga); min-height: 44px; display: inline-flex; align-items: center; }
.cost { font: 600 14px/1 var(--f-t); color: var(--cacau-claro); white-space: nowrap; }
.stamp { position: absolute; left: 8px; top: 8px; background: var(--creme); color: var(--cacau); font: 600 14px/1 var(--f-t); padding: 5px 8px; border-radius: 10px; }

/* flip print (polaroid back note): a full-size button turns it; links in the caption stay on top */
.flip { position: relative; display: block; perspective: 1400px; }
.turn-b { position: absolute; inset: 0; z-index: 2; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 4px; }
.flip .card { display: grid; transform-style: preserve-3d; transition: transform .7s var(--e); }
.flip .face { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; background: var(--creme); color: var(--cacau); padding: 10px 10px 0; border-radius: 4px; box-shadow: var(--shadow); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip .back { transform: rotateY(180deg); padding: 22px 20px 20px; gap: 14px; }
.flip.on .card { transform: rotateY(180deg); }
.flip.on .front .nm { visibility: hidden; transition: visibility 0s .35s; }
.turn-b:active + .card { scale: .985; }
.note { --wd: 54; font-size: clamp(34px, 8vw, 52px); font-weight: 760; line-height: .96; transform: rotate(-2deg); transform-origin: 0 50%; overflow-wrap: anywhere; }
.lines { display: grid; font: 500 17px/1.45 var(--f-t); }
.lines span { border-bottom: 1px dashed rgb(57 31 19 / .3); padding: 6px 0; }
.ph.sm { width: 46%; margin-top: auto; align-self: flex-end; }
.tilt { transform: rotate(3deg); box-shadow: var(--shadow); }
.turn { font: 600 14px/1 var(--f-t); background: var(--cacau); color: var(--manteiga); padding: 8px 10px; border-radius: 10px; white-space: nowrap; }

/* ===== top bar ===== */
.top { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.mark { --wd: 130; font-size: 28px; font-weight: 880; letter-spacing: -.02em; text-decoration: none; }
.for { margin-inline-start: auto; font: 600 14px/1.2 var(--f-t); text-align: end; }
.lang { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; margin-inline-end: -8px; }
.lang:hover { background: rgb(57 31 19 / .08); }

/* ===== secondary objects (aria-hidden, absolutely placed; never over faces or text) ===== */
.tape { position: absolute; z-index: 4; width: 74px; height: 24px; background: rgb(249 224 147 / .82);
  background-image: repeating-linear-gradient(-45deg, transparent 0 6px, rgb(249 183 63 / .35) 6px 9px);
  clip-path: polygon(3% 0, 97% 4%, 100% 22%, 96% 46%, 100% 70%, 97% 100%, 2% 96%, 0 74%, 4% 50%, 0 26%); pointer-events: none; }
.tape.t1 { top: -10px; left: 14%; rotate: -8deg; }
.tape.t2 { top: -8px; right: 12%; rotate: 7deg; }
.led { position: absolute; z-index: 2; right: 10px; bottom: 10px; font: 700 15px/1 var(--f-d); font-stretch: 70%; font-style: normal;
  letter-spacing: .12em; color: var(--caramelo-claro); text-shadow: 0 0 6px rgb(225 153 86 / .8), 0 0 1px var(--caramelo); pointer-events: none;
  font-variant-numeric: tabular-nums; }
/* oversized LED date stamp on a big print */
.ph-led { right: 14px; bottom: 14px; font-size: clamp(20px, 5.2vw, 30px); }
/* a loose print of the section's BEFORE photo, tucked behind the main print (shares its tilt, peeks out) */
.loose { position: absolute; z-index: -1; background: var(--creme); padding: 8px 8px 34px; border-radius: 3px; box-shadow: var(--shadow); pointer-events: none; }
.loose .ph img { filter: saturate(.8); }
.loose .tape { width: 64px; height: 22px; top: -9px; left: 34%; rotate: 5deg; }
.loose .ph-led { bottom: 44px; font-size: clamp(18px, 4.6vw, 24px); }

/* ===== 1 HERO ===== */
.hero { padding: 0 var(--gut) 56px; overflow: clip; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 42%; column-gap: 14px; grid-template-areas: "h h" "side strip"; align-items: start; }
.hero-h { grid-area: h; --wd: 66; --max: 200px; margin: 6px 0 20px; font-weight: 880; }
.hero-h .w { display: block; white-space: nowrap; }
.nonlatin .hero-h { --max: 130px; }
.hero-h .w::after { content: "."; }
:is(:lang(ja), :lang(zh), :lang(ko), :lang(th)) .hero-h .w::after { content: ""; }
.hero-side { grid-area: side; position: relative; display: grid; gap: 18px; align-content: start; justify-items: start; padding-top: 4px; }
.lede { font: 650 clamp(19px, 2vw, 24px)/1.25 var(--f-t); }
.act { display: grid; gap: 14px; justify-items: start; }
.os { font: 500 15px/1.3 var(--f-t); }
.hero .act .os { display: none; }
.chip { display: inline-flex; align-items: center; gap: 10px; background: var(--creme); color: var(--cacau); border-radius: 16px; padding: 10px 14px 10px 12px; font: 500 17px/1.3 var(--f-t); }
.chip b { font-weight: 700; }
.chip .nw b { font-family: var(--f-d); font-weight: 800; font-stretch: 90%; }
.strip-col { grid-area: strip; position: relative; z-index: 1; }
.printer { position: relative; transform: rotate(1.6deg); transform-origin: 50% 0; }
.slot { display: block; height: 18px; border-radius: 9px; background: var(--cacau); margin: 0 -10px; position: relative; z-index: 2; box-shadow: inset 0 -5px 0 var(--noite); }
.feed { overflow: hidden; margin-top: -9px; padding: 0 6px 30px; }
.strip { background: var(--creme); padding: 18px 8px 8px; box-shadow: var(--shadow); }
.strip ol { display: grid; gap: 8px; }
.f { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 2px; overflow: hidden; background: var(--noite-3); cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.f .a, .f .b { position: absolute; inset: 0; }
.f img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.f .a { transition: opacity .16s linear; }
.f.hold .a { opacity: 0; }
.f::after { content: ""; position: absolute; inset: 0; background: var(--creme); opacity: 0; pointer-events: none; }
.lbl { position: absolute; inset-inline-start: 6px; bottom: 6px; max-width: calc(100% - 12px); background: var(--creme); color: var(--cacau); font: 800 13px/1.1 var(--f-d); font-stretch: 84%; padding: 6px 7px; border-radius: 4px; }
.strip-foot { --wd: 130; text-align: center; font-size: 18px; padding: 12px 0 6px; background: radial-gradient(circle, rgb(119 76 51 / .55) 0 1.4px, #0000 1.9px) 0 2px / 8px 4px repeat-x; }
/* hero: the untouched original as a loose print under the badge, in the strip's tilt family */
.hero-loose { position: relative; z-index: 0; width: 100%; max-width: 230px; margin-top: 10px; rotate: -5deg; justify-self: center; }
@media (min-width: 900px) {
  :root { --gut: clamp(24px, 4vw, 64px); }
  .hero { min-height: 100svh; padding-bottom: 40px; }
  .top { min-height: 76px; }
}
/* tablet + desktop: the strip prints as a 2x2 sheet sized from the viewport height, so sheet + headline + badge share one
   screen at any window size (no tall strip beside an empty column) */
@media (min-width: 700px) {
  .hero { --hg: clamp(32px, 5vw, 96px);
    --sw: clamp(240px, (100svh - 200px) * .8 + 36px, min(40vw, 680px)); }
  .hero-grid { grid-template-columns: var(--sw) minmax(0, 1fr); column-gap: var(--hg); grid-template-areas: "strip h" "strip side";
    grid-template-rows: auto 1fr; isolation: isolate; max-width: 1400px; margin: 0 auto; }
  .hero-h { --col: min(calc(100vw - 2 * var(--gut) - var(--hg) - var(--sw)), 760px); --max: 196px; margin: min(4svh, 36px) 0 20px;
    font-size: min(var(--max), calc(var(--col) * var(--k)), calc((100svh - 330px) / (3 * var(--lh-d) + .2))); }
  .strip-col { width: var(--sw); padding-top: 8px; }
  .strip ol { grid-template-columns: 1fr 1fr; }
  .hero-side { gap: 22px; position: static; }
  /* the original tucked behind the sheet, its corner peeking out toward the headline */
  .hero-loose { --w: clamp(150px, 13vw, 220px); position: absolute; z-index: 0; top: 46%; left: calc(var(--sw) - var(--w) * .72);
    width: var(--w); max-width: none; margin: 0; rotate: 7deg; }
}

/* ===== 2 REMOVE ===== */
.rm { padding: 72px var(--gut) 88px; overflow: clip; }
.rm-grid { display: grid; gap: 36px; max-width: 1240px; margin: 0 auto; }
.rm-h { --wd: 62; --max: 120px; grid-row: 1; }
.acc { color: var(--acc); }
.print-wrap { position: relative; width: min(100%, 460px); transform: rotate(-2deg); justify-self: center; }
.brush { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.brush path { fill: none; stroke: rgb(249 183 63 / .62); stroke-width: 74; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
/* the original (man still in it) peeks out above the finished print */
.rm-loose { width: 62%; left: -3%; top: -15%; rotate: -8deg; --fx: 12%; --fy: 26%; --fr: 7deg; }
.rm .print-wrap { margin-top: 64px; }
@media (min-width: 900px) {
  .rm { padding: clamp(96px, 12vw, 168px) var(--gut) clamp(96px, 10vw, 128px); }
  .rm-grid { grid-template-columns: 7fr 5fr; align-items: end; column-gap: 64px; }
  .print-wrap { grid-column: 1; grid-row: 1; justify-self: end; width: min(100%, 540px); }
  .rm .print-wrap { margin-top: 0; }
  .rm-loose { width: 70%; left: auto; right: -50%; top: -9%; rotate: 9deg; --fx: -62%; --fy: 6%; --fr: -10deg; }
  .rm-h { --col: 34vw; grid-column: 2; padding-bottom: 48px; position: relative; z-index: 1; }
}

/* ===== 3 RESTORE (tear) ===== */
.rs { padding: 56px var(--gut); overflow: clip;
  --tear-top: polygon(0% 0%,100% 0%,100% 53.23%,95.83% 47.67%,91.67% 51.47%,87.5% 47.02%,83.33% 53.23%,79.17% 47.77%,75% 52.7%,70.83% 48.68%,66.67% 52.74%,62.5% 47.24%,58.33% 52.02%,54.17% 48.27%,50% 53%,45.83% 47.4%,41.67% 52.71%,37.5% 47.61%,33.33% 52.86%,29.17% 47.15%,25% 51.92%,20.83% 47.63%,16.67% 52.8%,12.5% 48.34%,8.33% 51.84%,4.17% 46.77%,0% 51.2%);
  --tear-bot: polygon(0% 51.2%,4.17% 46.77%,8.33% 51.84%,12.5% 48.34%,16.67% 52.8%,20.83% 47.63%,25% 51.92%,29.17% 47.15%,33.33% 52.86%,37.5% 47.61%,41.67% 52.71%,45.83% 47.4%,50% 53%,54.17% 48.27%,58.33% 52.02%,62.5% 47.24%,66.67% 52.74%,70.83% 48.68%,75% 52.7%,79.17% 47.77%,83.33% 53.23%,87.5% 47.02%,91.67% 51.47%,95.83% 47.67%,100% 53.23%,100% 100%,0% 100%); }
.rs-stage { position: relative; display: grid; justify-items: center; gap: 18px; padding: 16px 0 32px; }
.rs-h { display: block; }
.rs-h .w1, .rs-w2 { display: block; white-space: nowrap; }
.rs-h .w1 { color: var(--acc); --wd: 112; --max: min(150px, 15svh); font-stretch: calc(var(--wd) * 1%); }
.rs-w2 { --wd: 64; --max: min(150px, 15svh); }
.sachet { position: relative; z-index: 2; width: min(78vw, 400px, (100svh - 30svh - 150px) * .8); aspect-ratio: 4 / 5; margin-bottom: 26px; }
.sachet .after { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; background: var(--noite-3); }
.sachet .after img, .half img { width: 100%; height: 100%; object-fit: cover; }
.pc { position: absolute; z-index: 1; width: 34px; height: 34px; background: var(--cacau); }
.pc.tl { left: 0; top: 0; clip-path: polygon(0 0, 100% 0, 0 100%); }
.pc.tr { right: 0; top: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.pc.bl { left: 0; bottom: 0; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.pc.br { right: 0; bottom: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.half { position: absolute; inset: 0; transform: translateY(-80%) rotate(-7deg); opacity: 0; }
.half .foil { position: absolute; inset: 0; background: var(--manga); padding: 14px; --s: 14px; --h: 7px; }
.half .foil img { border-radius: 3px; }
.half-top { clip-path: var(--tear-top); }
.half-bot { clip-path: var(--tear-bot); transform: translateY(80%) rotate(5deg); }
.tearline { position: absolute; left: 0; right: 0; top: 50%; height: 4px; translate: 0 -2px; opacity: 0;
  background: radial-gradient(circle, var(--cacau) 0 1.4px, #0000 1.9px) 0 50% / 8px 4px repeat-x; }
.slabel { position: absolute; z-index: 3; left: 50%; bottom: -16px; translate: -50% 0; background: var(--cacau); color: var(--manteiga); font: 800 15px/1 var(--f-d); font-stretch: 105%; padding: 0 13px; min-height: 44px; display: flex; align-items: center; border-radius: 10px; width: max-content; max-width: 96%; text-align: center; padding-block: 6px; line-height: 1.15; }
.slabel .nm2 { color: inherit; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { .slabel { background: var(--manga); color: var(--cacau); } }
/* the original yellowed print, slid out from behind the sachet as it tears (desktop: room beside it) */
.rs-loose { display: none; width: 74%; left: -56%; top: 9%; rotate: -8deg; --fx: 60%; --fy: 0%; --fr: 9deg; }
/* desktop: words left, sachet right (the original slides out beside it), all sized from the viewport height so the
   pinned stage fills one screen without empty bands */
@media (min-width: 900px) {
  .rs-stage { grid-template-columns: minmax(0, auto) auto; column-gap: clamp(40px, 6vw, 112px); justify-content: center;
    align-items: center; row-gap: 0; max-width: 1240px; margin: 0 auto; padding-inline-end: clamp(80px, 12vw, 200px); }
  .rs-h, .rs-w2 { grid-column: 1; justify-self: start; }
  .rs-h { align-self: end; }
  .rs-w2 { align-self: start; padding-top: .12em; }
  .rs-h .w1, .rs-w2 { --col: 42vw; --max: min(220px, 24svh); }
  .sachet { grid-column: 2; grid-row: 1 / span 2; width: min(30vw, (100svh - 110px) * .8, 460px); margin: 0 0 22px; }
  .rs-loose { display: block; left: auto; right: -52%; top: 8%; rotate: 8deg; --fx: -60%; --fy: 0%; --fr: -9deg; }
}

/* ===== 4 GLOW ===== */
.glow { padding: 56px var(--gut) 80px; overflow: clip; }
.glow-word { --wd: var(--gw, 122); --max: 330px; line-height: .82; height: 1.02em; white-space: nowrap; font-weight: 900; margin-inline-start: -.03em; }
.glow-word.fit { font-size: min(var(--max), calc(var(--col) * var(--k))); }
.nonlatin .glow-word { line-height: 1.1; height: auto; }
.glow-grid { display: grid; gap: 28px; max-width: 1240px; margin: 0 auto; }
.big-line { --wd: 78; font-size: clamp(30px, 6vw, 56px); line-height: .95; max-width: 12ch; }
.nonlatin .big-line { line-height: 1.15; }
.glow-side { display: grid; gap: 24px; align-content: start; }
.ctrl { display: none; background: var(--creme); color: var(--cacau); border-radius: 28px; padding: 20px 20px 16px; max-width: 460px; }
.js .ctrl { display: block; }
.ctrl-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ctrl-name { --wd: 88; font-size: 24px; line-height: 1; }
.val { --wd: 90; font-size: 34px; font-variant-numeric: tabular-nums; line-height: 1; }
.val small { font-size: 17px; color: var(--cacau-claro); }
.ctrl input { -webkit-appearance: none; appearance: none; width: 100%; height: 48px; margin: 6px 0 0; background: none; cursor: pointer; touch-action: pan-y; }
.ctrl input::-webkit-slider-runnable-track { height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--manga) 0 40%, var(--manteiga-2) 40%); }
.ctrl input::-moz-range-track { height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--manga) 0 40%, var(--manteiga-2) 40%); }
.ctrl input::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -10px; border-radius: 50%; background: var(--manga); box-shadow: 0 0 0 3px var(--cacau); }
.ctrl input::-moz-range-thumb { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--manga); box-shadow: 0 0 0 3px var(--cacau); }
[dir="rtl"] .ctrl input { direction: ltr; }
.zone { position: relative; height: 22px; }
.zone span { position: absolute; left: 0; width: 40%; top: 0; padding-top: 6px; border-top: 2px dotted var(--caramelo-tinta); font: 600 14px/1 var(--f-t); color: var(--caramelo-tinta); text-align: center; }
.glow-vis { position: relative; justify-self: center; width: min(100%, 520px); padding-top: 8%; }
.glow-print { position: relative; z-index: 1; width: 76%; margin: 0 auto; transform: rotate(1.6deg); padding-bottom: 10px; }
.glow-print .a { opacity: var(--go, 1); }
/* ring light behind the portrait: brightens with the slider */
.ring { position: absolute; z-index: 0; left: 50%; top: 40%; width: 100%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  border: clamp(18px, 5vw, 30px) solid var(--creme); outline: 4px solid var(--cacau); outline-offset: 0;
  box-shadow: inset 0 0 0 4px var(--cacau), 0 0 calc(var(--go, 1) * 60px) calc(var(--go, 1) * 10px) rgb(255 250 232 / .85), inset 0 0 calc(var(--go, 1) * 40px) rgb(255 250 232 / .9); }
/* the stand: a cacau pole from the bottom of the ring down off the section */
.stand { position: absolute; left: 50%; top: calc(100% + 4px); width: 14px; height: 120vh; translate: -50% 0; background: var(--cacau); border-radius: 0 0 4px 4px; }
@media (prefers-color-scheme: dark) { .glow .ring { outline-color: var(--noite); } .stand { background: var(--noite); } }
@media (min-width: 900px) {
  .glow-grid { grid-template-columns: 5fr 7fr; margin-top: -5vw; align-items: start; }
  .glow-word { position: relative; z-index: 2; }
  .glow-vis { justify-self: end; width: min(100%, 600px); padding-top: 4%; }
  .glow-print { width: 74%; }
  .glow-side { padding-top: 12vw; }
}

/* ===== 5 REMOVE TEXT ===== */
.rt { padding: 72px var(--gut) 80px; overflow: clip; }
.rt-h { --wd: 64; --max: 176px; }
.rt-grid { position: relative; display: grid; gap: 36px; max-width: 1240px; margin: 0 auto; }
.rt-side { display: contents; }
.rt-h { order: 0; }
.rt-print { order: 1; }
.rt .steps { order: 2; }
.rt-print { width: min(100%, 480px); transform: rotate(-1.4deg); justify-self: center; }
.pcap { padding: 10px 2px 12px; min-height: 52px; }
.pcap .nm { font-size: 24px; }
.cmp { --p: 1; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; touch-action: pan-y; -webkit-user-select: none; user-select: none; cursor: ew-resize; background: var(--noite-3); }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.after-wrap, .handle { position: absolute; inset: 0; transform: translateX(calc((var(--p) - 1) * 100%)); }
.after-wrap { overflow: hidden; }
.after-wrap img { transform: translateX(calc((1 - var(--p)) * 100%)); }
.handle { pointer-events: none; }
.handle::before { content: ""; position: absolute; right: -1px; top: 0; bottom: 0; width: 3px; background: var(--manga); }
.knob { position: absolute; right: -28px; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; background: var(--cacau); box-shadow: 0 0 0 3px var(--manga); pointer-events: auto; display: grid; place-items: center; }
.knob::after { content: "\2039\2003\203A"; font: 700 18px/1 var(--f-t); color: var(--manteiga); }
.knob:focus-visible { outline: 3px solid var(--creme); outline-offset: 4px; }
.box { position: absolute; border: 2.5px dashed var(--manga); border-radius: 6px; background: rgb(249 183 63 / .18); }
.steps { display: grid; gap: 20px; align-content: end; }
.steps li { display: grid; grid-template-columns: 64px 1fr; align-items: center; font: 600 20px/1.3 var(--f-t); color: var(--ink); }
.steps .n { --wd: 90; font-size: 52px; line-height: .9; color: var(--acc); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .rt { padding: clamp(96px, 11vw, 160px) var(--gut) clamp(96px, 10vw, 140px); }
  .rt-grid { grid-template-columns: 7fr 5fr; column-gap: 64px; align-items: center; }
  .rt-print { grid-column: 1; grid-row: 1; justify-self: end; width: min(100%, 540px); }
  .rt-side { display: grid; gap: 48px; grid-column: 2; grid-row: 1; align-content: center; }
  .rt-h { --col: 38vw; }
}

/* ===== 6 MORE TOOLS (pinned contact sheet) ===== */
.tools { padding: 40px 0; }
.tools .h-stage { padding: 24px 0; grid-template-columns: minmax(0, 1fr); }
.row { display: flex; gap: 20px; align-items: center; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px var(--gut) 52px; scrollbar-width: none; position: relative; }
.row::-webkit-scrollbar { display: none; }
/* heading sits in the top band of the pinned stage; the film strip fills the rest of the screen */
.tools-h { --wd: 58; --max: min(92px, 11svh); line-height: .82; white-space: nowrap; padding: 0 var(--gut); margin-bottom: 20px; }
.nonlatin .tools-h { line-height: 1.1; }
.tp { position: relative; flex: 0 0 min(80vw, 340px, calc((100svh - 22svh - 300px) * .8)); min-width: 140px; scroll-snap-align: center; transform: rotate(var(--r)); }
/* the row is one long film strip: cacau base, sprocket holes top and bottom, prints riding on it */
.h-stage { position: relative; }
.tools .row { --hole: repeating-linear-gradient(90deg, var(--manga) 0 14px, transparent 14px 30px);
  background: var(--hole) 0 14px / 100% 12px no-repeat, var(--hole) 0 calc(100% - 14px) / 100% 12px no-repeat, var(--cacau);
  background-attachment: local; padding: 58px var(--gut) 64px; }
@media (min-width: 900px) {
  .tools-h { --max: min(120px, 11svh); justify-self: start; margin: 0 0 24px max(0px, (100vw - 1272px) / 2); }
  .tp { flex-basis: min(26vw, calc((100svh - 22svh - 330px) * .8), 380px); min-width: 140px; } .tools .row { gap: 32px; }
}

/* ===== 7 TEMPLATES (cords) ===== */
.tpl { padding: 72px 0 64px; overflow: clip; }
.tpl-h { --wd: 64; --max: 150px; padding: 0 var(--gut); max-width: 1272px; margin: 0 auto 28px; }
.cord { overflow-x: auto; scrollbar-width: none; view-timeline: --cord block; padding: 8px 0 20px; }
.cord::-webkit-scrollbar { display: none; }
.hang { margin: 0 auto; padding: 18px var(--gut) 8px; display: flex; gap: 22px; width: max-content; position: relative; }
.hang::before { content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 2px; background: var(--manteiga-2); opacity: .7; border-radius: 1px; }
.hang li { position: relative; width: clamp(150px, 40vw, 196px); padding-top: 16px; }
/* clothespin */
.pin { position: absolute; left: 50%; top: -2px; width: 14px; height: 34px; margin-left: -7px; border-radius: 3px 3px 5px 5px; z-index: 2;
  background: linear-gradient(90deg, var(--caramelo-claro) 0 46%, var(--caramelo-tinta) 46% 54%, var(--caramelo) 54%); box-shadow: 0 3px 4px -2px rgb(26 15 9 / .6); }
.pin::after { content: ""; position: absolute; left: -2px; right: -2px; top: 12px; height: 4px; border-radius: 2px; background: var(--manteiga-fosca); }
.hp { display: block; margin: 0; background: var(--creme); color: var(--cacau); padding: 7px 7px 0; border-radius: 3px; transform-origin: 50% 0; transform: rotate(var(--r)); box-shadow: 0 18px 30px -18px var(--noite); transition: transform .24s var(--e); text-decoration: none; }
.hp img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.cap2 { display: block; font: 800 15px/1.15 var(--f-d); font-stretch: 96%; padding: 10px 2px 12px; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { .hang li:hover .hp { transform: rotate(0deg) translateY(6px); } }

/* ===== 8 PRICE (sticker) ===== */
.price { padding: 72px var(--gut) 56px; overflow: clip; }
.price-h { --wd: 60; --max: 196px; }
.price-stage { position: relative; display: grid; gap: 28px; max-width: 1180px; margin: 0 auto; }
.free { position: relative; background: var(--creme); color: var(--cacau); border-radius: 6px; padding: 28px 24px 30px; transform: rotate(-1.5deg); box-shadow: var(--shadow); width: min(100%, 520px); }
.sachets { display: flex; gap: 12px; margin-bottom: 22px; }
.sach { --s: 9px; --h: 4.5px; width: 64px; height: 90px; background: var(--manga); color: var(--cacau); display: grid; place-items: center; padding-top: 14px; font: 880 30px/1 var(--f-d); font-style: normal; position: relative; }
.sach::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 4px; background: radial-gradient(circle, var(--cacau) 0 1.4px, #0000 1.9px) 0 50% / 8px 4px repeat-x; opacity: .55; }
.free-t { --wd: 70; font-size: clamp(36px, 9vw, 72px); overflow-wrap: anywhere; }
.free-s { margin-top: 12px; font: 500 17px/1.4 var(--f-t); color: var(--cacau-claro); }
/* the price lives in a big crimped sachet (hang hole + perforation), shadow on the wrapper so the crimp mask keeps it */
.ptag-w { position: relative; z-index: 2; justify-self: end; margin-top: -48px; max-width: 100%; filter: drop-shadow(10px 12px 0 var(--noite)); }
.ptag { position: relative; background: var(--cacau); color: var(--manteiga); --s: 18px; --h: 9px; padding: 62px 30px 34px; transform: rotate(-4deg); text-align: center; }
.ptag::before { content: ""; position: absolute; left: 50%; top: 20px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--manga); box-shadow: inset 0 0 0 3px var(--noite); }
.ptag::after { content: ""; position: absolute; left: 0; right: 0; top: 48px; height: 4px; background: radial-gradient(circle, var(--manga) 0 1.6px, #0000 2.1px) 0 50% / 10px 4px repeat-x; opacity: .7; }
.then, .year { font: 600 17px/1.3 var(--f-t); color: var(--manteiga-2); }
.amount { --wd: 62; font-size: min(156px, calc((var(--col) - 96px) * var(--k))); letter-spacing: -.045em; color: var(--manga); margin: 6px 0 4px; white-space: nowrap; line-height: .9; }
.amount span { font-size: .24em; letter-spacing: 0; color: var(--manteiga); margin-inline-start: .12em; }
.ptag.nop { max-width: 420px; }
.pnote { margin-top: 8px; font: 600 19px/1.35 var(--f-t); color: var(--creme); }
.points { display: grid; gap: 14px; margin-top: 8px; }
.points li { display: flex; gap: 12px; align-items: center; font: 650 clamp(19px, 2vw, 22px)/1.25 var(--f-t); }
.free .tape { left: auto; right: 18%; }
@media (min-width: 900px) {
  .price { padding: clamp(96px, 11vw, 160px) var(--gut); }
  .price-stage { grid-template-columns: 5fr 6fr; grid-template-areas: "h tag" "free tag" "free pts"; column-gap: 56px; row-gap: 32px; align-items: end; }
  .price-h { grid-area: h; --col: 40vw; }
  .free { grid-area: free; align-self: start; justify-self: start; }
  .ptag-w { grid-area: tag; justify-self: center; align-self: center; margin: 0; max-width: none; }
  .ptag { padding: 74px 48px 44px; }
  .ptag::before { top: 24px; } .ptag::after { top: 58px; }
  .amount { font-size: min(156px, calc(min(40vw, 560px) * var(--k))); }
  .points { grid-area: pts; justify-self: center; align-self: start; margin-top: 12px; }
  .sach { width: 74px; height: 104px; }
}

/* ===== 9 FAQ ===== */
.faq { padding: 72px var(--gut) 64px; }
.faq-h { --wd: 56; --max: 170px; max-width: 1240px; margin: 0 auto 28px; }
.faq-list { display: grid; gap: 12px; max-width: 1240px; margin: 0 auto; }
details { background: var(--creme); color: var(--cacau); border-radius: 20px; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 18px 20px; }
summary::-webkit-details-marker { display: none; }
.faq-q { --wd: 90; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.05; letter-spacing: -.02em; }
.nonlatin .faq-q { line-height: 1.25; }
.pm { position: relative; width: 22px; height: 22px; flex: none; transition: transform .24s var(--e); }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2.5px; border-radius: 2px; background: currentColor; }
.pm::after { transform: rotate(90deg); }
details[open] .pm { transform: rotate(45deg); }
.faq-a p { padding: 0 20px 22px; max-width: 62ch; font: 400 17px/1.5 var(--f-t); }
@media (prefers-color-scheme: dark) { details { background: var(--noite-3); color: var(--creme); } }
.faq-side { position: relative; }
@media (min-width: 900px) {
  .faq { padding: clamp(96px, 10vw, 140px) var(--gut) clamp(96px, 9vw, 120px); }
  .faq-h { margin-bottom: 40px; }
  .faq-list { grid-template-columns: 1fr 1fr; gap: 14px 20px; align-items: start; }
}

/* ===== 10 FINAL ===== */
.fin { padding: 72px var(--gut) 28px; text-align: center; display: grid; justify-items: center; overflow: clip; }
.fin-h { --wd: 64; --max: 200px; }
.fin-grid { display: grid; justify-items: center; width: 100%; max-width: 1240px; }
.s3d { position: relative; z-index: 1; width: min(78vw, 380px); aspect-ratio: 3 / 4; margin: 28px auto 26px; touch-action: pan-y; }
.s3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.foil-fb { position: absolute; inset: 8% 5%; background: var(--manga); color: var(--cacau); display: grid; place-content: center; gap: 10px; --s: 14px; --h: 7px; transition: opacity .3s linear; }
.foil-fb::before { content: ""; position: absolute; left: 0; right: 0; top: 20%; height: 4px; background: radial-gradient(circle, var(--cacau) 0 1.4px, #0000 1.9px) 0 50% / 8px 4px repeat-x; opacity: .55; }
.fb-mark { --wd: 130; font-size: clamp(56px, 16vw, 96px); font-weight: 880; }
.fb-sub { font: 650 17px/1.2 var(--f-t); padding: 0 12px; }
.s3d.live .foil-fb { opacity: 0; }
.tab { position: absolute; left: calc(5% - 28px); top: calc(24.8% - 28px); width: 56px; height: 56px; border-radius: 50%; background: var(--cacau); box-shadow: 0 0 0 3px var(--manga); display: none; pointer-events: none; z-index: 2; transform: translateX(var(--tx, 0px)); }
.tab::after { content: "\203A"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 28px/1 var(--f-t); color: var(--manteiga); }
.s3d.live .tab { display: block; }
.fin-s { margin-top: 14px; font: 500 17px/1.4 var(--f-t); color: var(--ink-2); }
@media (min-width: 900px) {
  .fin { padding-top: clamp(96px, 10vw, 140px); }
  .fin-grid { grid-template-columns: 6fr 5fr; grid-template-areas: "t s" "b s"; column-gap: 64px; justify-items: start; text-align: start; align-items: end; }
  .fin-t { grid-area: t; } .fin-b { grid-area: b; align-self: start; padding-top: 32px; }
  .fin-h { --col: 46vw; }
  .s3d { grid-area: s; width: min(34vw, 440px); margin: 0; justify-self: center; }
}
.foot { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 72px auto 0; padding-top: 20px; border-top: 1px solid rgb(255 250 232 / .2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; font: 500 15px/1.4 var(--f-t); color: var(--ink-2); text-align: start; }
.foot .mark { color: var(--manga); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot a { color: var(--creme); text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 900px) { .foot { margin-top: clamp(96px, 10vw, 140px); } }

/* ===== tool + pack pages ===== */
.sub { min-height: 0; padding-bottom: 72px; }
.sub-grid { position: relative; display: grid; gap: 24px; max-width: 1240px; margin: 0 auto; }
.sub-h { --wd: 66; --max: 150px; margin: 6px 0 4px; font-weight: 880; }
.sub-side { display: grid; gap: 18px; align-content: start; justify-items: start; }
.notes { display: grid; gap: 4px; font: 500 17px/1.45 var(--f-t); }
.act.sticker .chip { transform: rotate(-3deg); background: var(--cacau); color: var(--manteiga); box-shadow: 6px 7px 0 var(--noite); }
.act.sticker .chip .mini { background: var(--manga); }
.act.sticker .chip .mini::after { border-color: var(--cacau); }
.sub-vis { position: relative; justify-self: center; width: min(100%, 460px); }
.dev-wrap { position: relative; transform: rotate(1.8deg); }
.dev { padding-bottom: 46px; }
.dv .blank { position: absolute; inset: 0; background: var(--noite-3); }
.dv-loose { width: 58%; left: -3%; top: -13%; rotate: -9deg; --fx: 14%; --fy: 24%; --fr: 8deg; }
.sub-vis:has(.dv-loose) { margin-top: 60px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 1240px; margin: 0 auto; font: 600 15px/1.3 var(--f-t); color: var(--ink-2); }
.crumbs a { color: var(--creme); min-height: 44px; display: inline-flex; align-items: center; }
.stp { padding: 72px var(--gut) 72px; overflow: clip; }
.stp-h { --wd: 64; --max: 150px; max-width: 1240px; margin: 0 auto 32px; }
.stp .steps { max-width: 1240px; margin: 0 auto; gap: 26px; }
.stp .steps li { font-size: clamp(20px, 2.2vw, 26px); }
.stp .steps .n { font-size: clamp(52px, 8vw, 96px); }
.more { padding: 64px 0 40px; }
.more-h { --wd: 64; --max: 150px; padding: 0 var(--gut); max-width: 1272px; margin: 0 auto; }
.endcap { padding: 48px var(--gut) 28px; }
.endcap .foot { margin-top: 24px; }
@media (min-width: 900px) {
  .sub-grid { grid-template-columns: 7fr 5fr; column-gap: clamp(32px, 5vw, 96px); grid-template-areas: "h vis" "side vis"; grid-template-rows: auto 1fr; }
  .sub-h { grid-area: h; --col: 50vw; margin-top: 5vh; }
  .sub-side { grid-area: side; }
  .sub-vis { grid-area: vis; width: min(100%, 480px); }
  .sub-vis:has(.dv-loose) { margin-top: 72px; }
  .dv-loose { width: 58%; left: auto; right: -6%; top: -12%; rotate: 8deg; --fx: -20%; --fy: 22%; --fr: -8deg; }
  .more { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; padding-inline: max(0px, (100vw - 1272px) / 2); }
  .more-h { --col: 28vw; }
  .stp .steps { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
  .stp .steps li { grid-template-columns: 1fr; align-items: start; gap: 10px; }
  .stp { padding-block: clamp(96px, 10vw, 140px); }
}
.lost { padding: 0 var(--gut) 64px; min-height: 70svh; }
.lost-h { --wd: 72; --max: 120px; margin: 24px 0 28px; }
.grp { font: 700 20px/1.3 var(--f-t); margin-bottom: 12px; }
.langs { columns: 2 160px; column-gap: 24px; margin-bottom: 28px; max-width: 1240px; }
.langs li { break-inside: avoid; }
.langs a { display: flex; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1.5px dotted rgb(57 31 19 / .4); text-decoration: none; font: 600 18px/1.2 var(--f-t); }
.langs a:hover { text-decoration: underline; }

/* ===================== MOTION (only when allowed) ===================== */
@media (prefers-reduced-motion: no-preference) {
  /* hero: headline settles from wide, strip feeds out of the slot, frames develop one by one */
  .hero-h .w { animation: wordin .8s var(--e) both; animation-delay: calc(var(--i) * 70ms + 60ms); }
  @keyframes wordin { from { transform: translateY(.18em); font-stretch: 150%; } to { transform: none; font-stretch: 66%; } }
  .strip { animation: feed 1.5s var(--e) .25s both; }
  @keyframes feed { from { transform: translateY(-101%); } to { transform: none; } }
  .f .a, .dv .a { animation: develop 1s var(--e) both; animation-delay: calc(1.55s + var(--i) * .6s); }
  .dv .a { animation-delay: .7s; animation-duration: 1.6s; }
  @keyframes develop { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  .f::after { animation: flash .7s ease-out both; animation-delay: calc(1.45s + var(--i) * .6s); }
  @keyframes flash { 0% { opacity: 0; } 14% { opacity: .85; } 100% { opacity: 0; } }
  .dv::after { content: ""; position: absolute; inset: 0; background: var(--creme); opacity: 0; animation: flash .7s ease-out .6s both; pointer-events: none; }

  /* panels cut in (width only: never moves a heading off its ground) */
  @supports (animation-timeline: view()) {
    .cut::before { animation: cutin linear both; animation-timeline: --cut; animation-range: entry 0% entry 80%; }
  }
  @keyframes cutin { from { transform: scaleX(.93); } to { transform: none; } }

  /* loose BEFORE prints: slide out from behind the main print (transform only; no opacity, so no LCP delay) */
  @keyframes tuck { from { transform: translate(var(--fx, -30%), var(--fy, 10%)) rotate(var(--fr, -6deg)); } to { transform: none; } }
  .hero-loose { animation: tuck .9s var(--e) 3.9s both; --fx: 30%; --fy: -12%; --fr: 8deg; }
  .dv-loose { animation: tuck .9s var(--e) 1.5s both; }
  @supports (animation-timeline: view()) {
    .rm-loose { animation: tuck linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .rs-loose { animation: tuck linear both; animation-timeline: --tear; animation-range: contain 10% contain 55%; }
  }
  .js.no-sda .g:not(.in) .rm-loose, .js.no-sda .rs:not(.torn) .rs-loose { transform: translate(var(--fx, -30%), var(--fy, 10%)) rotate(var(--fr, -6deg)); }
  .js.no-sda :is(.rm-loose, .rs-loose) { transition: transform .9s var(--e) .4s; }

  /* remove: brush, then the man is gone */
  @supports (animation-timeline: view()) {
    #rm-ph { view-timeline: --rm block; }
    .rm .a { animation: rm-a linear both; animation-timeline: --rm; animation-range: entry 60% cover 62%; }
    .rm .brush { animation: rm-bo linear both; animation-timeline: --rm; animation-range: entry 60% cover 62%; }
    .rm .brush path { animation: rm-bp linear both; animation-timeline: --rm; animation-range: entry 60% cover 62%; }
  }
  @keyframes rm-a { 0%, 58% { opacity: 0; } 78%, 100% { opacity: 1; } }
  @keyframes rm-bo { 0%, 66% { opacity: 1; } 88%, 100% { opacity: 0; } }
  @keyframes rm-bp { 0% { stroke-dashoffset: 1; } 55%, 100% { stroke-dashoffset: 0; } }
  .js.no-sda .rm:not(.run) .a { opacity: 0; }
  .js.no-sda .rm:not(.run) .brush { opacity: 1; }
  .js.no-sda .rm:not(.run) .brush path { stroke-dashoffset: 1; }
  .js.no-sda .rm .a { transition: opacity .5s linear 1.1s; }
  .js.no-sda .rm .brush { transition: opacity .4s linear 1.5s; }
  .js.no-sda .rm .brush path { transition: stroke-dashoffset 1s var(--e) .1s; }

  /* restore: pinned tear */
  @supports (animation-timeline: view()) {
    .rs-track { height: 230vh; view-timeline: --tear block; }
    .rs-stage { position: sticky; top: 0; height: 100svh; align-content: center; overflow: clip; padding: 0; }
    .half-top { animation: tear-top linear both; }
    .half-bot { animation: tear-bot linear both; }
    .tearline { animation: perf linear both; }
    .rs-h .w1 { animation: unfold linear both; }
    .half, .tearline, .rs-h .w1 { animation-timeline: --tear; animation-range: contain 0% contain 60%; }
  }
  @keyframes tear-top { 0%, 14% { transform: none; opacity: 1; } 24% { transform: translateY(-3%) rotate(-1deg); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(-80%) rotate(-7deg); opacity: 0; } }
  @keyframes tear-bot { 0%, 14% { transform: none; opacity: 1; } 24% { transform: translateY(2%) rotate(.6deg); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(80%) rotate(5deg); opacity: 0; } }
  @keyframes perf { 0% { opacity: .55; } 16%, 100% { opacity: 0; } }
  @keyframes unfold { from { font-stretch: 50%; } to { font-stretch: 112%; } }
  .js.no-sda .half, .js.no-sda .tearline { transition: transform .9s var(--e), opacity .9s ease; }
  .js.no-sda .rs:not(.torn) .half { transform: none; opacity: 1; }
  .js.no-sda .rs:not(.torn) .tearline { opacity: .55; }

  /* remove text: word boxes step in */
  .js .rt:not(.run) .box { opacity: 0; transform: scale(1.25); }
  .js .box { transition: opacity .2s steps(2), transform .32s var(--e); transition-delay: calc(var(--i) * 160ms); }

  /* tools: pinned horizontal sheet, heading narrows as it leaves */
  @supports (animation-timeline: view()) {
    .h-track { height: 380vh; view-timeline: --row block; }
    .h-stage { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; align-content: center; }
    .tools .row { overflow: visible; width: max-content; scroll-snap-type: none; animation: slide linear both; animation-timeline: --row; animation-range: contain 0% contain 100%; }
    [dir="rtl"] .tools .row { animation-name: slide-rtl; }
  }
  @keyframes slide { from { transform: translateX(0); } to { transform: translateX(calc(-100% + 100vw)); } }
  @keyframes slide-rtl { from { transform: translateX(0); } to { transform: translateX(calc(100% - 100vw)); } }

  /* templates: prints drop onto the cord */
  @supports (animation-timeline: view()) {
    .hp { animation: hang linear both; animation-timeline: --cord; animation-range: entry calc(var(--i) * 6%) entry calc(70% + var(--i) * 6%); }
  }
  @keyframes hang { from { transform: translateY(-70px) rotate(calc(var(--r) * -5)); opacity: 0; } 45% { opacity: 1; } to { transform: rotate(var(--r)); opacity: 1; } }
  .js.no-sda .cord:not(.in) .hp { opacity: 0; transform: translateY(-70px) rotate(calc(var(--r) * -5)); }
  .js.no-sda .hp { transition: transform .7s var(--e), opacity .3s linear; transition-delay: calc(var(--i) * 80ms); }

  /* price: sachets drop, then the tag slaps on (eases in, lands flat: no overshoot) */
  .js .price-stage:not(.in) .sach { transform: translateY(-40px); opacity: 0; }
  .js .sach { transition: transform .42s var(--e), opacity .2s linear; transition-delay: calc(var(--i) * 110ms); }
  .js .price-stage:not(.in) .ptag { transform: scale(1.7) rotate(-20deg); opacity: 0; box-shadow: 0 0 0 var(--noite); }
  .js .ptag { transition: transform .38s cubic-bezier(.3, 0, 0, 1) .55s, opacity .12s linear .55s, box-shadow .2s var(--e) .9s; }

  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    details::details-content { block-size: 0; overflow: clip; transition: block-size .36s var(--e), content-visibility .36s allow-discrete; }
    details[open]::details-content { block-size: auto; }
  }

  .s3d.live .tab { animation: nudge 1.4s ease-in-out 1s 2; }
  @keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 22px 0; } }
}
