/* 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, .msach { --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; }
.stamp-s { position: absolute; z-index: 5; font: 800 14px/1 var(--f-d); font-stretch: 105%; font-style: normal; color: var(--cacau);
  background: var(--manga); border: 2px solid var(--cacau); border-radius: 6px; padding: 7px 9px; rotate: -9deg; white-space: nowrap; pointer-events: none;
  box-shadow: 3px 3px 0 var(--cacau); }
.stk { position: absolute; z-index: 5; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--creme);
  color: var(--cacau); box-shadow: 0 6px 14px -6px rgb(26 15 9 / .6); rotate: 10deg; transform-origin: 30% 30%; transition: transform .24s var(--e);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%); }
.stk::after { content: ""; position: absolute; right: 0; bottom: 0; width: 26%; height: 26%; background: linear-gradient(135deg, var(--manteiga-2) 50%, transparent 50%);
  border-radius: 0 0 4px 0; }
.stk .i { width: 28px; height: 28px; }
.scrap { position: absolute; z-index: 1; width: 70px; height: 34px; background: var(--manga); pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 92% 70%, 84% 58%, 74% 72%, 63% 60%, 52% 74%, 41% 61%, 30% 73%, 19% 59%, 9% 71%, 0 60%); }
.scrap::before { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 4px; background: radial-gradient(circle, var(--cacau) 0 1.4px, #0000 1.9px) 0 50% / 8px 4px repeat-x; opacity: .55; }
.g-manga .scrap { background: var(--creme); }
.msach { position: absolute; z-index: 1; width: 30px; height: 42px; background: var(--manga); --s: 6px; --h: 3px; pointer-events: none; }
.msach::before { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 4px; background: radial-gradient(circle, var(--cacau) 0 1.2px, #0000 1.6px) 0 50% / 6px 4px repeat-x; opacity: .6; }
.g-manga .msach { background: var(--creme); }
.sprk { position: absolute; z-index: 0; width: 26px; border-radius: 3px; pointer-events: none;
  background: repeating-linear-gradient(180deg, var(--bg) 0 10px, transparent 10px 20px) 50% 6px / 10px 100% no-repeat, var(--band); opacity: .9; }
.grease { position: absolute; inset: -10%; width: 120%; height: 120%; overflow: visible; pointer-events: none; }
.grease path { fill: none; stroke: var(--caramelo-tinta); stroke-width: 4; stroke-linecap: round; opacity: .9; }
.cs { position: absolute; z-index: 1; background: var(--creme); padding: 8px; border-radius: 3px; box-shadow: var(--shadow); rotate: -4deg; pointer-events: none; }
.cs-g { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.cs-c { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--noite-3); }
.cs-c img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.cs-led { right: 14px; bottom: 14px; font-size: 12px; }

/* ===== 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; }
.strip-led { right: 22px; bottom: 82px; font-size: 13px; }
/* hero fillers: a contact sheet of the before frames under the badge, a sprocket edge, a drifting mini sachet */
.hero-cs { position: relative; width: min(100%, 200px); margin-top: 18px; justify-self: center; }
.hero-sp { left: calc(-1 * var(--gut) + 6px); top: 62%; height: 260px; }
.hero-ms { left: 44%; bottom: -30px; rotate: 14deg; }
@media (min-width: 900px) {
  :root { --gut: clamp(24px, 4vw, 64px); }
  .hero { min-height: 100svh; padding-bottom: 72px; }
  .top { min-height: 76px; }
  .hero-grid { grid-template-columns: 5fr 7fr; column-gap: clamp(32px, 5vw, 96px); grid-template-areas: "strip h" "strip side"; grid-template-rows: auto 1fr; }
  .hero-h { --col: 50vw; --max: 196px; margin-top: 5vh; }
  .strip-col { width: clamp(220px, 21vw, 290px); justify-self: center; }
  .hero-side { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; gap: 22px; }
  .hero-side > :not(.hero-cs) { grid-column: 1; }
  .hero-cs { grid-column: 2; grid-row: 1 / span 3; width: 230px; margin-top: 0; rotate: 4deg; }
  .hero-sp { left: 6px; top: 22%; height: 60%; }
  .hero-ms { left: 34%; bottom: 8%; }
}

/* ===== 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; }
.ph-led { right: 12px; bottom: 12px; }
.rm-st { right: -8px; top: 30px; }
.rm-stk { right: 10px; bottom: 20px; rotate: -12deg; }
.rm-sc { left: -12px; bottom: 34px; rotate: 8deg; }
.rm-ms { right: 26%; bottom: 40px; rotate: -18deg; }
.rm-sp { display: none; }
@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-h { --col: 34vw; grid-column: 2; padding-bottom: 48px; }
  .rm-stk { right: auto; left: 61%; top: 13%; bottom: auto; width: 76px; height: 76px; }
  .rm-stk .i { width: 36px; height: 36px; }
  .rm-sc { left: 6%; bottom: 18%; }
  .rm-ms { right: 9%; bottom: auto; top: 18%; }
  .rm-sp { display: block; left: 3%; top: 16%; height: 64%; }
}

/* ===== 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: 150px; font-stretch: calc(var(--wd) * 1%); }
.rs-w2 { --wd: 64; --max: 150px; }
.sachet { position: relative; z-index: 2; width: min(78vw, 400px, 46svh * .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); } }
.rs-old { position: absolute; z-index: 1; left: -26px; top: 8%; width: 104px; rotate: -10deg; background: var(--creme); padding: 6px 6px 18px; box-shadow: var(--shadow); }
.rs-old img { aspect-ratio: 4 / 5; object-fit: cover; }
.rs-old .tape { width: 50px; height: 18px; top: -8px; left: 24px; }
.rs-stk { right: 2px; top: 12%; }
.rs-sc { right: -14px; bottom: 20%; rotate: -10deg; }
.rs-ms { left: 6%; bottom: 8%; rotate: 12deg; }
.rs-sp { display: none; }
@media (max-width: 899px) { .rs-old { display: none; } }
@media (min-width: 900px) {
  .rs-old { left: 9%; top: 26%; width: 180px; }
  .rs-stk { right: 12%; top: 22%; width: 76px; height: 76px; }
  .rs-sc { right: 9%; bottom: 22%; }
  .rs-ms { left: 18%; bottom: 14%; }
  .rs-sp { display: block; right: 3%; top: 10%; height: 80%; }
}

/* ===== 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: end; width: min(100%, 520px); }
.glow-print { position: relative; z-index: 1; 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: 42%; width: 118%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  border: 16px solid var(--creme); opacity: calc(.25 + var(--go, 1) * .6); box-shadow: 0 0 calc(10px + var(--go, 1) * 40px) rgb(255 250 232 / .9), inset 0 0 calc(10px + var(--go, 1) * 30px) rgb(255 250 232 / .8); }
.gl-st { left: -6px; bottom: 74px; rotate: 6deg; }
.gl-stk { right: -6px; top: -18px; }
.gl-sc { left: 54%; top: 40px; rotate: 12deg; }
.gl-ms { right: 8%; bottom: 26px; rotate: -10deg; }
@media (min-width: 900px) {
  .glow-grid { grid-template-columns: 5fr 7fr; margin-top: -9vw; align-items: start; }
  .glow-side { padding-top: 12vw; }
  .gl-stk { right: auto; left: -40px; top: 30%; width: 76px; height: 76px; }
  .gl-sc { left: 30%; top: auto; bottom: 90px; }
  .gl-ms { right: 46%; bottom: 120px; }
}

/* ===== 5 REMOVE TEXT ===== */
.rt { padding: 72px var(--gut) 80px; overflow: clip; }
.rt-h { --wd: 64; --max: 176px; max-width: 1240px; margin: 0 auto 36px; }
.rt-grid { position: relative; display: grid; gap: 36px; max-width: 1240px; margin: 0 auto; }
.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; }
.rt-st { right: -10px; top: 46px; rotate: 8deg; }
.rt-cs { position: relative; width: 210px; justify-self: end; rotate: 5deg; }
.rt-cs .cs-g { grid-template-columns: repeat(2, 1fr); }
.rt-stk { right: 20px; top: 40px; }
.rt-ms { left: 10px; bottom: 40px; rotate: 16deg; }
.rt-sp { display: none; }
@media (max-width: 899px) { .rt-grid:not(.solo) .rt-cs { display: none; } .rt-stk { top: 22px; } }
@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: end; }
  .rt-print { justify-self: center; width: min(100%, 520px); }
  .steps { padding-bottom: 24px; }
  .rt-cs { grid-column: 2; justify-self: center; width: 240px; }
  .rt-grid.solo .rt-cs { align-self: center; width: 300px; }
  .rt-stk { right: 8%; top: 13%; width: 76px; height: 76px; }
  .rt-sp { display: block; right: 2.5%; bottom: 8%; height: 46%; }
}

/* ===== 6 MORE TOOLS (pinned contact sheet) ===== */
.tools { padding: 40px 0; }
.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; }
.tools-h-li { flex: 0 0 auto; scroll-snap-align: start; padding-inline-end: 8px; }
.tools-h { --wd: 58; --max: 230px; line-height: .82; white-space: nowrap; }
.nonlatin .tools-h { line-height: 1.1; }
.tp { position: relative; flex: 0 0 min(64vw, 290px); scroll-snap-align: center; transform: rotate(var(--r)); }
.tp-stk { right: -10px; top: -14px; width: 50px; height: 50px; }
.tp-stk .i { width: 24px; height: 24px; }
/* film edge above and below the row */
.h-stage { position: relative; }
.tools .h-stage::before, .tools .h-stage::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--manga) 0 12px, transparent 12px 24px) 0 50% / 100% 9px no-repeat, var(--cacau); }
.tools .h-stage::before { top: 0; }
.tools .h-stage::after { bottom: 0; }
@media (hover: hover) and (pointer: fine) { .tp:hover .tp-stk, .print-wrap:hover ~ .rm-stk, .stk:hover { scale: 1.06; translate: -2px -4px; rotate: -4deg; } }
.stk { transition: scale .24s var(--e), translate .24s var(--e), rotate .24s var(--e); }

/* ===== 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); } }
.tp-ms { right: 8%; top: 64px; rotate: 14deg; }
.tp-sc { left: 46%; bottom: 18px; rotate: -6deg; }

/* ===== 8 PRICE (sticker) ===== */
.price { padding: 72px var(--gut); overflow: clip; }
.price-h { --wd: 60; --max: 196px; max-width: 1180px; margin: 0 auto; }
.price-stage { position: relative; display: grid; gap: 28px; max-width: 1180px; margin: 36px auto 0; }
.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); }
.ptag { position: relative; justify-self: end; margin-top: -48px; max-width: 100%; background: var(--cacau); color: var(--manteiga); border-radius: 22px; padding: 22px 26px 22px 58px; transform: rotate(-5deg); box-shadow: 10px 12px 0 var(--noite); z-index: 2; }
.ptag::before { content: ""; position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--manga); box-shadow: inset 0 0 0 3px var(--noite); }
[dir="rtl"] .ptag { padding: 22px 58px 22px 26px; }
[dir="rtl"] .ptag::before { left: auto; right: 20px; }
.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%; }
.pr-sc { right: 6%; top: 60px; rotate: 9deg; }
.pr-ms { right: 30%; top: 34px; rotate: -12deg; }
.pr-stk { left: 62%; bottom: 40px; display: none; }
@media (min-width: 900px) {
  .price { padding: clamp(96px, 11vw, 160px) var(--gut); }
  .price-stage { grid-template-columns: 6fr 6fr; column-gap: 0; row-gap: 40px; }
  .free { grid-column: 1; grid-row: 1; justify-self: end; }
  .ptag { grid-column: 2; grid-row: 1; justify-self: start; align-self: end; margin: 0 0 -40px -64px; max-width: none; }
  .amount { font-size: min(156px, calc(min(46vw, 640px) * var(--k))); }
  .points { grid-column: 2; grid-row: 2; padding-inline-start: 40px; margin-top: 48px; }
  .pr-sc { right: 12%; top: 18%; }
  .pr-ms { left: 10%; right: auto; top: auto; bottom: 20%; }
  .pr-stk { display: grid; width: 76px; height: 76px; left: 24%; bottom: 14%; }
  .pr-stk .i { width: 36px; height: 36px; }
}

/* ===== 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; }
.faq-deco { display: none; }
@media (min-width: 900px) {
  .faq { padding: clamp(96px, 10vw, 140px) var(--gut) clamp(96px, 9vw, 120px); display: grid; grid-template-columns: 5fr 7fr; column-gap: 48px; align-items: start; }
  .faq-side { position: sticky; top: 40px; }
  .faq-h { --col: 34vw; margin: 0; }
  .faq-deco { display: block; position: relative; height: 200px; margin-top: 40px; }
  .fq-stk1 { left: 8%; top: 10px; width: 84px; height: 84px; rotate: -8deg; }
  .fq-stk2 { left: 38%; top: 70px; width: 72px; height: 72px; }
  .fq-stk1 .i, .fq-stk2 .i { width: 38px; height: 38px; }
  .fq-ms { left: 66%; top: 20px; rotate: 14deg; }
}

/* ===== 10 FINAL ===== */
.fin { padding: 72px var(--gut) 28px; text-align: center; display: grid; justify-items: center; overflow: clip; }
.fin-h { --wd: 64; --max: 200px; }
.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); }
.fn-sp1 { left: 10px; top: 120px; height: 46%; }
.fn-sp2 { right: 10px; top: 30%; height: 40%; }
.fn-ms { left: 12%; top: 46%; rotate: -14deg; }
.fn-sc { right: 12%; top: 62%; rotate: 10deg; }
@media (max-width: 899px) { .fn-sp1, .fn-sp2 { display: none; } .fn-ms { left: 4%; top: 52%; } .fn-sc { right: -6px; top: 70%; } }
@media (min-width: 900px) { .fin { padding-top: clamp(96px, 11vw, 150px); } .fn-sp1 { left: 4%; } .fn-sp2 { right: 4%; } }
.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-st { left: -10px; bottom: 64px; }
.dv-stk { right: -14px; top: 30%; }
.sub .hero-sp { display: none; }
.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); }
.st-ms { right: 10%; top: 64px; rotate: 14deg; }
.st-sc { right: 8%; bottom: 28px; rotate: -8deg; }
.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 .hero-sp { display: block; left: 6px; top: 30%; height: 50%; }
  .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; }
  .strip-led { animation: ledin .4s steps(2) 3.9s both; }
  @keyframes ledin { from { opacity: 0; } to { opacity: 1; } }

  /* 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; } }

  /* secondary objects: parallax drift, stamps thunk in, stickers peel a little */
  @supports (animation-timeline: view()) {
    .px { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
    .sprk { animation: sprk linear both; animation-timeline: view(); animation-range: cover; }
    .stamp-s, .stk { animation: thunk linear both; animation-timeline: view(); animation-range: entry 60% cover 40%; }
  }
  @keyframes drift { from { transform: translateY(70px); } to { transform: translateY(-70px); } }
  @keyframes sprk { from { transform: translateY(40px); } to { transform: translateY(-120px); } }
  @keyframes thunk { 0% { transform: scale(1.7); opacity: 0; } 55% { opacity: 1; } 70%, 100% { transform: none; opacity: 1; } }
  .js.no-sda .g:not(.in) :is(.stamp-s, .stk) { transform: scale(1.7); opacity: 0; }
  .js.no-sda :is(.stamp-s, .stk) { transition: transform .26s cubic-bezier(.5, 0, 1, 1) .3s, opacity .1s linear .3s; }
  .msach { rotate: var(--rr, 0deg); }
  @keyframes sway { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
  @supports (animation-timeline: view()) {
    .hero-ms, .fn-ms, .tp-ms, .rm-ms { animation: drift linear both, sway 5s ease-in-out infinite; animation-timeline: view(), auto; animation-range: cover, normal; }
  }
  @supports not (animation-timeline: view()) { .hero-ms, .fn-ms, .tp-ms, .rm-ms { animation: sway 5s ease-in-out infinite; } }
  .rt.run .grease path, .hero .grease path { stroke-dasharray: 1; animation: pencil .9s var(--e) both; }
  .hero .grease path { animation-delay: 4.3s; }
  .rt.run .grease path { animation-delay: 2.2s; }
  @keyframes pencil { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

  /* 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; }
    .tools-h { animation: hnarrow linear both; animation-timeline: --row; animation-range: contain 0% contain 35%; }
  }
  @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)); } }
  @keyframes hnarrow { from { font-stretch: 150%; } to { font-stretch: 58%; } }

  /* 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; } }
}
