/* mantisvis.io v3 · C "full-bleed chapters".
   Every section is one 100svh chapter with a full-bleed photo and white, quiet type.
   Tokens come from tokens.css; this file only uses token colours plus white/black alphas over photos. */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: #0B0B0B; }
@media (min-width: 761px) and (min-height: 560px) { html { scroll-snap-type: y mandatory; } }
@media (max-width: 760px), (max-height: 559px) { html { scroll-snap-type: y proximity; } }
body {
  margin: 0; background: #0B0B0B; color: rgba(255,255,255,.92);
  font-family: var(--font-mono); font-size: 15px; line-height: 1.6; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 15.5px; } }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grain { mix-blend-mode: overlay; opacity: .1; }

:root {
  --nav: 64px;
  --gutter: clamp(16px, 4vw, 56px);
  --index-w: 0px;                       /* room kept free for the chapter index on the right */
  --white: rgba(255,255,255,.94);
  --white-2: rgba(255,255,255,.74);     /* labels: ≥ 4.5:1 on the scrims below */
  --white-3: rgba(255,255,255,.22);
  --line: rgba(255,255,255,.18);
  --scrim: rgba(8,8,8,.78);
  --mx: 0; --my: 0;                     /* pointer, -1..1, for the slow photo drift */
  color-scheme: dark;
}
@media (min-width: 761px) { :root { --index-w: 88px; } }

/* ---------- type: three sizes per screen ---------- */
.display {
  font-family: var(--font-display); font-weight: 300; color: var(--white);
  font-size: clamp(40px, 5.6vw, 84px); line-height: .98; letter-spacing: -.035em;
}
.title {
  font-family: var(--font-display); font-weight: 300; color: var(--white);
  font-size: clamp(28px, 3vw, 44px); line-height: 1.04; letter-spacing: -.03em;
}
.big { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; letter-spacing: -.03em; color: var(--white); }
.label { font-size: 11px; line-height: 1.5; letter-spacing: .06em; color: var(--white-2); }
.lead { color: var(--white-2); max-width: 42ch; }
.strong { color: var(--white); font-weight: 700; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: var(--pill); border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 12px; letter-spacing: .04em; text-decoration: none; color: var(--white); cursor: pointer;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { background: none; border-color: transparent; padding-inline: 12px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.4); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- nav: absent on the first chapter, slides down from the top after it ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  background: linear-gradient(180deg, rgba(8,8,8,.72), rgba(8,8,8,.38));
  -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%);
  transform: translateY(-100%); opacity: 0; pointer-events: none; /* still focusable: Tab brings it down */
  transition: transform 560ms var(--ease), opacity 420ms var(--ease);
}
.nav::after { /* a hairline that draws itself left to right once the bar is down */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line);
  transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease) 200ms;
}
.nav.shown, .nav:focus-within, .nav.open { transform: none; opacity: 1; pointer-events: auto; }
.nav.shown::after, .nav.open::after { transform: scaleX(1); }
.nav .brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.nav .brand img, .ch-brand img, .footer .brand img { filter: invert(1); opacity: .94; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 12px; letter-spacing: .04em;
  color: var(--white-2); text-decoration: none; border-radius: var(--pill);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"] { background: rgba(255,255,255,.08); }
/* the items arrive one by one, after the bar */
.nav .brand, .nav-links li, .nav > .btn { opacity: 0; transform: translateY(-10px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.nav.shown .brand, .nav.shown .nav-links li, .nav.shown > .btn,
.nav:focus-within .brand, .nav:focus-within .nav-links li, .nav:focus-within > .btn,
.nav.open .brand, .nav.open .nav-links li, .nav.open > .btn { opacity: 1; transform: none; transition-delay: calc(140ms + var(--i, 0) * 60ms); }
.nav > .btn { min-height: 40px; padding: 8px 16px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--white); transition: transform var(--t) var(--ease); }
.nav-toggle span:first-child { top: 18px; } .nav-toggle span:last-child { top: 25px; }
.nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav { gap: 8px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: rgba(8,8,8,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    clip-path: inset(0 0 100% 0); transition: clip-path 420ms var(--ease);
  }
  .nav.open .nav-links { clip-path: inset(0); }
  .nav-links a { width: 100%; font-size: 14px; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; }
  .nav-links a[aria-current="page"] { background: none; }
}

/* ---------- chapter index: fixed on the right ---------- */
.chx { position: fixed; right: 0; top: 50%; z-index: 40; transform: translateY(-50%); padding-right: clamp(8px, 1.6vw, 24px); }
.chx ol { display: flex; flex-direction: column; align-items: flex-end; }
.chx a {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 40px; min-width: 44px; padding-left: 8px;
  text-decoration: none; color: var(--white-2); font-size: 11px; letter-spacing: .06em;
}
.chx .chx-name {
  white-space: nowrap; opacity: 0; transform: translateX(8px); text-shadow: 0 1px 12px rgba(0,0,0,.6);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.chx .chx-num { width: 2ch; text-align: right; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.chx .chx-tick { width: 14px; height: 1px; background: rgba(255,255,255,.5); transition: width 400ms var(--ease), background var(--t) var(--ease); }
.chx a[aria-current="true"] { color: var(--white); }
.chx a[aria-current="true"] .chx-tick { width: 34px; background: var(--white); }
.chx:hover .chx-name, .chx:focus-within .chx-name { opacity: 1; transform: none; }
.chx:hover::before, .chx:focus-within::before { opacity: 1; }
.chx::before { /* a soft dark backing while the names show, so they read over any photo */
  content: ""; position: absolute; inset: -24px 0 -24px -80px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity var(--t) var(--ease);
  background: radial-gradient(closest-side, rgba(8,8,8,.7), rgba(8,8,8,0)); }
@media (max-width: 760px) {
  .chx { padding-right: 4px; }
  .chx a { min-height: 34px; min-width: 32px; padding-left: 0; }
  .chx .chx-name, .chx .chx-num { display: none; }
  .chx .chx-tick { width: 10px; }
  .chx a[aria-current="true"] .chx-tick { width: 20px; }
}

/* ---------- chapter ---------- */
.ch {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 540px;
  scroll-snap-align: start; scroll-snap-stop: always;
  display: grid;
}
.ch-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #0B0B0B;
  /* the window reveal: the next chapter's photo opens from a framed window to full bleed as it arrives */
  clip-path: inset(calc(var(--hide, 0) * 14%) calc(var(--hide, 0) * 12%) round calc(var(--hide, 0) * 28px));
}
.ch-bg img, .ch-bg .layer { position: absolute; inset: -2%; width: 104%; height: 104%; max-width: none; object-fit: cover;
  transform: translate3d(calc(var(--mx) * -10px), calc(var(--my) * -8px), 0) scale(calc(1 + var(--hide, 0) * .12));
}
.ch-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,8,8,.82) 0%, rgba(8,8,8,.58) 34%, rgba(8,8,8,.12) 62%, rgba(8,8,8,0) 80%),
              linear-gradient(180deg, rgba(8,8,8,.45) 0%, rgba(8,8,8,0) 22%, rgba(8,8,8,0) 72%, rgba(8,8,8,.55) 100%);
}
.ch-scrim.full { background: rgba(8,8,8,.62); }
/* light photos (the pale stone room): dark on the empty left only, never over the clothes */
.ch-scrim.light { background: linear-gradient(90deg, rgba(8,8,8,.86) 0%, rgba(8,8,8,.7) 30%, rgba(8,8,8,.25) 50%, rgba(8,8,8,0) 62%),
                                linear-gradient(180deg, rgba(8,8,8,.35), rgba(8,8,8,0) 18%, rgba(8,8,8,0) 80%, rgba(8,8,8,.45)); }
.ch-scrim.heavy { background: linear-gradient(90deg, rgba(8,8,8,.88) 0%, rgba(8,8,8,.7) 40%, rgba(8,8,8,.3) 70%, rgba(8,8,8,.15) 100%),
                                linear-gradient(180deg, rgba(8,8,8,.4), rgba(8,8,8,0) 30%, rgba(8,8,8,.5)); }
/* everything sits under the nav and clear of the chapter index */
.ch-in {
  position: relative; min-height: 0;
  padding: calc(var(--nav) + clamp(16px, 3.4vh, 40px)) calc(var(--gutter) + var(--index-w)) clamp(24px, 5vh, 56px) var(--gutter);
  display: grid; align-content: center; gap: clamp(16px, 3vh, 32px);
  opacity: calc(1 - var(--out, 0) * .7);
  transform: translateY(calc(var(--out, 0) * -40px));
}
.ch-in.bottom { align-content: end; }
.ch-head { display: grid; gap: 14px; max-width: 760px; }
.ch-count { position: absolute; left: var(--gutter); bottom: clamp(16px, 3vh, 28px); font-size: 11px; letter-spacing: .06em; color: var(--white-2); }

/* text lines rise out of a mask when the chapter becomes the current one */
.ln { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: block; }
.js .ch .ln > span { transform: translateY(105%); transition: transform 900ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 120ms); }
.js .ch .rise { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms + 360ms); }
.js .ch.is-in .ln > span, .js .ch.is-in .rise { transform: none; opacity: 1; }

/* hero brand: the wordmark lives inside the first chapter; the fixed nav takes over after it */
.ch-brand { position: absolute; top: 22px; left: var(--gutter); z-index: 2; display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- drag compare (store photo | shopper) ---------- */
.cmp { --rest: 56; --pos: 100%; touch-action: pan-y; cursor: ew-resize; }
.cmp .you { clip-path: inset(0 0 0 var(--pos)); }
.cmp.animating .you { transition: clip-path 1400ms var(--ease); }
.cmp.animating .cmp-line { transition: left 1400ms var(--ease); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: rgba(255,255,255,.8); z-index: 1; pointer-events: none; }
.cmp-knob {
  position: absolute; top: 50%; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; color: var(--white);
  background: rgba(8,8,8,.35); border: 1px solid rgba(255,255,255,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cmp-tag { position: absolute; top: calc(50% + 34px); font-size: 11px; letter-spacing: .06em; color: var(--white); white-space: nowrap; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.cmp-tag.l { right: 12px; } .cmp-tag.r { left: 12px; }
.cmp-range { position: absolute; inset: auto 0 0 0; width: 100%; opacity: 0; pointer-events: none; height: 1px; }
.cmp-range:focus-visible + .cmp-line .cmp-knob { outline: 2px solid var(--accent); outline-offset: 3px; }

/* hero */
.hero .ch-bg .pair { position: absolute; inset: 0; opacity: 0; transition: opacity 10ms linear 900ms; }
.hero .ch-bg .pair.on { opacity: 1; z-index: 1; transition: none; animation: pair-in 900ms var(--ease) both; }
@keyframes pair-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
.hero .ch-bg .pair img { object-position: 50% 30%; }
.hero[data-pair="coat"] .ch-scrim { background: linear-gradient(90deg, rgba(8,8,8,.86) 0%, rgba(8,8,8,.66) 36%, rgba(8,8,8,.2) 58%, rgba(8,8,8,0) 74%), linear-gradient(180deg, rgba(8,8,8,.4), rgba(8,8,8,0) 24%, rgba(8,8,8,0) 70%, rgba(8,8,8,.6)); }
.hero .ch-in { grid-template-columns: minmax(0, 46%); }
.hero-foot {
  position: absolute; left: var(--gutter); right: calc(var(--gutter) + var(--index-w)); bottom: clamp(16px, 3.2vh, 32px); z-index: 2;
  display: flex; align-items: end; justify-content: space-between; gap: 16px; pointer-events: none;
}
.hero-foot > * { pointer-events: auto; }
.looks { display: flex; align-items: center; gap: 2px; }
.looks .label { margin-right: 8px; }
.looks button {
  min-width: 44px; min-height: 44px; padding: 0 6px; border: 0; background: none; cursor: pointer;
  font-size: 11px; letter-spacing: .06em; color: var(--white-2); display: grid; justify-items: center; align-content: center; gap: 6px;
}
.looks button::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .5; transition: width var(--t) var(--ease), opacity var(--t) var(--ease); }
.looks button[aria-pressed="true"] { color: var(--white); }
.looks button[aria-pressed="true"]::after { width: 28px; opacity: 1; }
.looks .look-name { min-width: 14ch; }

/* the widget button, as it sits on a real store */
.widget-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--pill);
  border: 1px solid rgba(255,255,255,.4); background: rgba(17,17,17,.62); color: var(--white); cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 12px; letter-spacing: .04em; white-space: nowrap;
}
.widget-btn svg { width: 16px; height: 16px; flex: none; }
.widget-btn.pulse { animation: pulse 2.2s var(--ease) 3; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); } 50% { box-shadow: 0 0 0 10px rgba(69,166,255,0); } }

/* ---------- home: statement (hold to see the store photo) ---------- */
.reveal-you .you { clip-path: inset(0 0 0 100%); transition: clip-path 1600ms var(--ease) 300ms; }
.reveal-you.is-in .you { clip-path: inset(0); }
.reveal-you.holding .you { clip-path: inset(0 0 0 100%); transition-duration: 600ms; transition-delay: 0ms; }
.hold { min-height: 44px; }

/* ---------- store mock (a light store page, like a real screen) ---------- */
.store {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
  --s-font: var(--font-display); --s-btn-bg: var(--ink); --s-btn-fg: var(--bg); --s-radius: 999px; --s-bar: var(--bg);
}
.store-bar { display: flex; align-items: center; gap: 18px; padding: 12px 18px; border-bottom: 1px solid rgba(17,17,17,.08); font-size: 11px; color: var(--grey-4); background: var(--s-bar); transition: background var(--t) var(--ease); }
.store-bar b { font-family: var(--s-font); font-weight: 400; font-size: 17px; color: var(--ink); margin-right: auto; letter-spacing: -.01em; }
.store-body { position: relative; padding: 14px; }
.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: var(--grey-1); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.tile .me { opacity: 0; transition: opacity 400ms var(--ease); transition-delay: var(--d, 0ms); }
.store.is-me .tile .me { opacity: 1; }
.store.flipping .tile::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%);
  animation: shimmer 700ms var(--ease) var(--d, 0ms) both;
}
@keyframes shimmer { to { transform: translateX(120%); } }
.store .float {
  position: absolute; right: 16px; bottom: 16px; z-index: 3; background: var(--s-btn-bg); color: var(--s-btn-fg);
  border-color: transparent; border-radius: var(--s-radius); font-family: var(--font-mono);
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-radius var(--t) var(--ease), opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.store .switch { position: absolute; right: 16px; bottom: 16px; z-index: 3; }
.switch { display: inline-flex; padding: 4px; border-radius: var(--pill); background: rgba(17,17,17,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.switch button { min-height: 44px; padding: 10px 20px; border: 0; border-radius: var(--pill); background: none; color: rgba(243,243,241,.8); font-size: 12px; cursor: pointer; transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.switch button[aria-pressed="true"] { background: var(--bg); color: var(--ink); }

/* product page state */
.pp { position: absolute; inset: 14px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity 400ms var(--ease), visibility 0s linear 400ms; }
.pp-main { width: 100%; height: 100%; object-fit: cover; object-position: 74% 40%; border-radius: 8px; }
.pp-info { display: grid; align-content: center; gap: 10px; color: var(--ink); font-size: 11px; }
.pp-info .label { color: var(--grey-4); }
.pp-name { font-family: var(--s-font); font-size: 20px; line-height: 1.1; letter-spacing: -.01em; }
.pp-cart { display: inline-flex; justify-content: center; padding: 10px 14px; border-radius: var(--s-radius); background: var(--s-btn-bg); color: var(--s-btn-fg); font-size: 11px; transition: border-radius var(--t) var(--ease), background var(--t) var(--ease); }
.pp-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pp-thumbs img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
/* the widget's pop-up with two photos */
.sheet {
  position: absolute; left: 50%; bottom: 14px; width: min(340px, 80%); z-index: 4; padding: 16px; border-radius: 14px;
  background: var(--bg); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.35); display: grid; gap: 12px;
  transform: translate(-50%, 120%); opacity: 0; transition: transform 500ms var(--ease), opacity 400ms var(--ease);
}
.sheet .label { color: var(--grey-4); }
.sheet-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-photos img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 8px; }
.sheet-photos figcaption { margin-top: 4px; }
.sheet-btn { display: inline-flex; justify-content: center; padding: 10px; border-radius: var(--s-radius); background: var(--s-btn-bg); color: var(--s-btn-fg); font-size: 11px; }

/* home story: four moments, one store */
.story .ch-in { grid-template-columns: minmax(220px, 30%) minmax(0, 1fr); align-items: center; column-gap: clamp(24px, 4vw, 64px); }
.steps { display: grid; gap: 4px; margin-top: 8px; }
.steps button {
  position: relative; display: grid; grid-template-columns: 3ch 1fr; gap: 12px; align-items: baseline; text-align: left; min-height: 44px;
  padding: 12px 0; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer; color: var(--white-2); font-size: 12px; letter-spacing: .03em;
}
.steps button::after { /* progress of the autoplay */
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--white); transform: scaleX(0); transform-origin: left;
}
.steps button[aria-pressed="true"] { color: var(--white); }
.steps button[aria-pressed="true"]::after { transform: scaleX(1); transition: transform var(--step-ms, 3600ms) linear; }
.story.paused .steps button[aria-pressed="true"]::after { transition: none; transform: scaleX(1); }
.story .step-cap { min-height: 2.2em; }
.story .step-note { min-height: 3em; }
.story-stage .store { width: 100%; max-width: 960px; justify-self: end; }
.story-stage[data-step="1"] .pp { opacity: 1; visibility: visible; transition: opacity 400ms var(--ease); }
.story-stage[data-step="2"] .sheet { transform: translate(-50%, 0); opacity: 1; }
.story-stage[data-step="2"] .store-grid { filter: brightness(.6); transition: filter 400ms var(--ease); }
.story-stage .store .float { opacity: 1; }
.story-stage[data-step="3"] .float, .story-stage[data-step="4"] .float, .story-stage[data-step="2"] .float { opacity: 0; transform: translateY(8px); pointer-events: none; }
.story-stage .store .switch { opacity: 0; transform: translateY(8px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); pointer-events: none; }
.story-stage[data-step="3"] .switch, .story-stage[data-step="4"] .switch { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- home: cost per look ---------- */
.cost .ch-in { grid-template-columns: minmax(0, 60%); }
.seg { display: inline-flex; padding: 4px; border-radius: var(--pill); border: 1px solid var(--line); background: rgba(8,8,8,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); justify-self: start; }
.seg button { min-height: 44px; padding: 8px 18px; border: 0; border-radius: var(--pill); background: none; color: var(--white-2); font-size: 12px; cursor: pointer; transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.bars { display: grid; gap: 18px; }
.bars[hidden] { display: none; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: end; }
.bar-name { grid-column: 1 / -1; }
.bar-track { position: relative; height: 48px; }
.bar-fill, .bar-range { position: absolute; top: 0; bottom: 0; border-radius: 8px; transform-origin: left; }
.bar-fill { left: 0; width: var(--w); background: rgba(255,255,255,.88); }
.bar-row.us .bar-fill { background: var(--accent); min-width: 10px; }
.bar-range { left: var(--from); width: var(--w); border: 1px dashed rgba(255,255,255,.6); border-left: 0; border-radius: 0 8px 8px 0; }
.js .cost .bar-fill, .js .cost .bar-range { transform: scaleX(0); transition: transform 900ms var(--ease); }
.js .cost .bar-range { transition-delay: 500ms; }
.js .cost.is-in .bars:not([hidden]) .bar-fill, .js .cost.is-in .bars:not([hidden]) .bar-range { transform: none; }
.bar-value { font-family: var(--font-display); font-weight: 300; font-size: clamp(24px, 2.4vw, 36px); line-height: 1; letter-spacing: -.02em; color: var(--white); min-width: 6ch; text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips li:not(.label) { padding: 6px 14px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 11px; color: var(--white); }

/* ---------- draft and tbd tags ---------- */
.tbd, .draft { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.tbd::after, .draft::after {
  white-space: nowrap; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; font-weight: 400;
  padding: 2px 8px; border-radius: var(--pill); color: var(--white-2); transform: translateY(-.2em); line-height: 1.5;
}
.tbd::after { content: attr(data-tbd); border: 1px dashed rgba(255,255,255,.45); }
.draft::after { content: attr(data-draft); border: 1px solid rgba(255,255,255,.35); }
.store .tbd::after, .store .draft::after { color: var(--grey-4); border-color: var(--grey-3); }
body.show-ph [data-placeholder] { outline: 2px dashed var(--accent); outline-offset: 4px; }

/* ---------- home: call to action + platforms ---------- */
.platforms { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); max-width: 920px; }
.platform { display: grid; gap: 4px; }
.platform .wordmark { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; color: var(--white); }

/* ---------- how it works ---------- */
.hiw-hero .ch-in, .step .ch-in { grid-template-columns: minmax(240px, 34%) minmax(0, 1fr); align-items: center; column-gap: clamp(24px, 5vw, 80px); }
.hiw-hero .ch-in { grid-template-columns: minmax(0, 50%); }
.wipe .you { clip-path: inset(0 0 0 100%); transition: clip-path 1400ms var(--ease); }
.wipe.on .you { clip-path: inset(0); }
.product-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 10px; padding-right: 18px; max-width: 420px;
  border-radius: var(--radius); background: rgba(8,8,8,.42); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.product-card img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.product-card .stack { display: grid; gap: 8px; justify-items: start; }

.styles { display: flex; flex-wrap: wrap; gap: 6px; }
.styles button { min-height: 44px; padding: 8px 16px; border-radius: var(--pill); border: 1px solid var(--line); background: rgba(8,8,8,.3); color: var(--white-2); font-size: 12px; cursor: pointer; }
.styles button[aria-pressed="true"] { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.1); }
.store[data-style="serif"] { --s-font: Georgia, 'Times New Roman', serif; --s-btn-bg: #5B3A29; --s-btn-fg: #F6EFE6; --s-radius: 2px; --s-bar: #F6EFE6; }
.store[data-style="mono"] { --s-font: var(--font-mono); --s-btn-bg: var(--accent); --s-btn-fg: var(--ink); --s-radius: 10px; --s-bar: #EAF3FC; }
.step .store { width: 100%; max-width: 900px; justify-self: end; }

.photos { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 16px; justify-content: end; align-items: end; }
.photos figure { display: grid; gap: 8px; }
.photos .slot { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1px dashed rgba(255,255,255,.45); overflow: hidden; background: rgba(8,8,8,.3); }
.photos .slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path 800ms var(--ease); }
.photos .slot:nth-child(1) img { transition-delay: 0ms; }
.photos.loaded .slot img { clip-path: inset(0); }
.photos.loaded figure:nth-child(2) .slot img { transition-delay: 220ms; }
.photo-stage { display: grid; gap: 18px; justify-items: end; }
.ready { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.ready .ring { width: 28px; height: 28px; transform: rotate(-90deg); }
.ready .ring circle { fill: none; stroke-width: 2; }
.ready .ring .bg { stroke: var(--line); }
.ready .ring .fg { stroke: var(--white); stroke-dasharray: 88; stroke-dashoffset: 88; }
.photos-wrap.loaded .ready .ring .fg { stroke-dashoffset: 0; transition: stroke-dashoffset 1600ms linear 900ms; }
.photos-wrap .ready .label { opacity: .5; transition: opacity var(--t) var(--ease) 2500ms; }
.photos-wrap.loaded .ready .label { opacity: 1; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.feature {
  display: grid; align-content: start; gap: 12px; padding: 22px; min-height: 260px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(8,8,8,.38); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), transform 400ms var(--ease);
}
.feature .num { font-family: var(--font-display); font-weight: 300; font-size: 40px; line-height: 1; color: var(--white); }
.feature .lead { opacity: .9; }
.feature:hover, .feature:focus-within { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); transform: translateY(-6px); }
.features:hover .feature:not(:hover) { opacity: .62; }
.feature { transition-property: background, border-color, transform, opacity; }

/* ---------- pricing ---------- */
.pricing-ch .ch-in { align-content: center; }
.packs { display: grid; grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); gap: 10px; }
.pack {
  position: relative; display: grid; align-content: start; gap: 6px; padding: 18px; border-radius: var(--radius); text-align: left;
  border: 1px solid var(--line); background: rgba(8,8,8,.4); color: var(--white); cursor: pointer;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), transform 400ms var(--ease);
}
.pack:hover { border-color: rgba(255,255,255,.45); }
.pack[aria-pressed="true"] { background: rgba(255,255,255,.12); border-color: var(--white); transform: translateY(-6px); }
.pack.monthly { cursor: default; border-color: rgba(69,166,255,.6); background: rgba(8,8,8,.55); }
.pack .bar { height: 4px; border-radius: 4px; background: var(--white-3); margin: 10px 0 4px; overflow: hidden; }
.pack .bar i { display: block; height: 100%; width: var(--w); background: var(--white); transform-origin: left; transition: transform 700ms var(--ease); }
.js .pricing-ch .pack .bar i { transform: scaleX(0); }
.js .pricing-ch.is-in .pack .bar i { transform: none; }
.pack .per { font-size: 12px; color: var(--white); }
.pack .actions { margin-top: 8px; }
.pack .actions .btn { min-height: 40px; padding: 8px 14px; }
.pack-out { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; min-height: 24px; }
.rules { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pack-scroll { min-width: 0; }

.addon-ch .ch-in, .faq-ch .ch-in { grid-template-columns: minmax(0, 44%) minmax(0, 40%); column-gap: clamp(24px, 5vw, 80px); align-items: center; }
.badge-demo { position: relative; width: min(260px, 100%); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.badge-demo img { width: 100%; height: 100%; object-fit: cover; }
.badge-chip {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--pill);
  background: rgba(243,243,241,.92); color: var(--ink); font-size: 10px; letter-spacing: .03em; transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.badge-chip img { width: 16px; height: 10px; object-fit: contain; }
.badge-demo.off .badge-chip { opacity: 0; transform: translateY(8px); }
.addon-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: end; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay span { padding: 8px 16px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 12px; color: var(--white); }
.divider { height: 1px; background: var(--line); }

.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; cursor: pointer; list-style: none; color: var(--white); font-size: 13px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 16px; color: var(--white-2); transition: transform var(--t) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 14px; color: var(--white-2); max-width: 52ch; font-size: 13px; }
.cta-box { display: grid; gap: 16px; justify-items: start; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(8,8,8,.42); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* ---------- about ---------- */
.lamp .ch-scrim.lamp-scrim {
  background: radial-gradient(circle 360px at var(--lx, 70%) var(--ly, 45%), rgba(8,8,8,0) 0%, rgba(8,8,8,.35) 60%, rgba(8,8,8,.62) 100%),
              linear-gradient(90deg, rgba(8,8,8,.72) 0%, rgba(8,8,8,.3) 50%, rgba(8,8,8,0) 80%);
}
.people { display: flex; gap: 14px; }
.person {
  flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 20px; align-items: end; padding: 14px;
  border-radius: var(--radius); border: 1px solid var(--line); background: rgba(8,8,8,.42); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: flex-grow 600ms var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease), opacity var(--t) var(--ease);
}
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; filter: grayscale(1) contrast(1.05); transition: filter 600ms var(--ease); }
.person .stack { display: grid; gap: 8px; padding-bottom: 6px; }
.people:hover .person:hover, .person:focus-within { flex-grow: 1.5; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); }
.people:hover .person:not(:hover) { opacity: .7; }
.person:hover img { filter: grayscale(0) contrast(1.05); }
.values .ch-in { grid-template-columns: minmax(0, 46%); }

/* ---------- contact ---------- */
.contact-ch .ch-in { grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); column-gap: clamp(24px, 5vw, 80px); align-items: center; }
.contact-ch .ch-bg .layer { opacity: 0; transition: opacity 900ms var(--ease); }
.contact-ch .ch-bg .layer.on { opacity: 1; }
.reasons { display: grid; gap: 4px; justify-items: start; }
.reasons button { min-height: 44px; padding: 8px 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--white-2); font-size: 13px; display: inline-flex; align-items: center; gap: 12px; }
.reasons button::before { content: ""; width: 14px; height: 1px; background: currentColor; transition: width 400ms var(--ease); }
.reasons button[aria-pressed="true"] { color: var(--white); }
.reasons button[aria-pressed="true"]::before { width: 34px; }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(8,8,8,.5); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.form label { display: grid; gap: 6px; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06);
  color: var(--white); font-size: 13px;
}
.form select option { color: var(--ink); }
.form textarea { min-height: 88px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.5); }
.form .btn { justify-self: start; }
.links { display: grid; }
.links a {
  position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 52px; padding: 14px 0;
  border-top: 1px solid var(--line); text-decoration: none;
}
.links a::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease); }
.links a:hover::before, .links a:focus-visible::before { transform: scaleX(1); }
.links a .strong { font-weight: 400; font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; transition: transform 400ms var(--ease); }
.links a:hover .strong { transform: translateX(8px); }
.channels .ch-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 5vw, 80px); align-items: center; }
.channels .ch-head { grid-column: 1 / -1; }

/* ---------- footer ---------- */
.footer { position: relative; scroll-snap-align: end; background: #0B0B0B; border-top: 1px solid var(--line); padding: 40px calc(var(--gutter) + var(--index-w)) 24px var(--gutter); }
.footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer .stack { display: grid; gap: 12px; align-content: start; }
.footer ul { display: grid; align-content: start; }
.footer ul a { display: block; padding-block: 12px; font-size: 12px; color: var(--white-2); text-decoration: none; }
.footer ul a:hover { color: var(--white); }
.footer .base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); }
.ph-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; min-height: 44px; }
.ph-switch input { accent-color: var(--accent); width: 18px; height: 18px; }

/* ---------- dialog ---------- */
dialog { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: min(440px, 100% - 32px); background: #161616; color: var(--white); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
dialog::backdrop { background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog > * + * { margin-top: 16px; }

/* ---------- short desktop screens (1280x720 and less) ---------- */
@media (min-width: 761px) and (max-height: 760px) {
  .display { font-size: clamp(40px, 5vw, 72px); }
  .title { font-size: clamp(26px, 2.6vw, 38px); }
  .feature { min-height: 210px; padding: 18px; }
  .pack { padding: 14px; }
  .photos { grid-template-columns: repeat(2, minmax(0, 190px)); }
  .person img { max-width: 170px; }
  .form { gap: 10px; padding: 18px; }
  .form textarea { min-height: 64px; }
  .faq summary { min-height: 44px; }
  .links a { min-height: 48px; padding: 10px 0; }
}

/* ---------- tablets ---------- */
@media (max-width: 1100px) and (min-width: 761px) {
  .packs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .packs .monthly { grid-column: 1 / -1; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { min-height: 0; }
}

/* ---------- phone: chapters may grow taller than the screen ---------- */
@media (max-width: 760px) {
  .ch { height: auto; min-height: 100svh; }
  .ch-in { padding: calc(var(--nav) + 20px) calc(var(--gutter) + 22px) 40px var(--gutter); align-content: end; gap: 18px; }
  .hero .ch-in, .cost .ch-in, .hiw-hero .ch-in, .values .ch-in { grid-template-columns: 1fr; }
  .hero .ch-in { padding-bottom: 120px; }
  .ch-scrim { background: linear-gradient(180deg, rgba(8,8,8,.5) 0%, rgba(8,8,8,.1) 30%, rgba(8,8,8,.55) 55%, rgba(8,8,8,.88) 100%); }
  .hero[data-pair="coat"] .ch-scrim { background: linear-gradient(180deg, rgba(8,8,8,.5) 0%, rgba(8,8,8,.15) 28%, rgba(8,8,8,.65) 52%, rgba(8,8,8,.92) 100%); }
  .hero .ch-bg .pair img, .wipe img, .reveal-you img, .values .ch-bg img { object-position: 80% 30%; }
  .cmp { --rest: 6; }
  .hero-foot { flex-wrap: wrap; right: var(--gutter); }
  .looks .look-name { display: none; }
  .story .ch-in, .step .ch-in, .addon-ch .ch-in, .faq-ch .ch-in, .contact-ch .ch-in, .channels .ch-in { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .pp { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .pp-info { gap: 6px; } .pp-thumbs { display: none; }
  .features { grid-template-columns: 1fr 1fr; gap: 8px; }
  .feature { min-height: 0; padding: 14px; } .feature .num { font-size: 28px; }
  .feature .lead { font-size: 13px; }
  .packs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding: 8px 2px 10px; margin-inline: -2px; }
  .pack { flex: 0 0 72%; scroll-snap-align: start; }
  .pack[aria-pressed="true"] { transform: none; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .photo-stage { justify-items: start; }
  .people { flex-direction: column; }
  .person { grid-template-columns: 96px 1fr; padding: 10px; }
  .form { grid-template-columns: 1fr; padding: 16px; }
  .footer { padding-inline: var(--gutter); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .footer .cols .stack { grid-column: 1 / -1; }
  .chips li:not(.label) { padding: 4px 10px; }
  .bar-track { height: 36px; }
}

/* ---------- reduced motion: no window reveal, no drift, everything shown ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ch-bg { clip-path: none; }
  .ch-bg img, .ch-bg .layer { transform: none; }
  .ch-in { opacity: 1; transform: none; }
  .js .ch .ln > span, .js .ch .rise { transform: none; opacity: 1; transition: none; }
  .js .cost .bar-fill, .js .cost .bar-range, .js .pricing-ch .pack .bar i { transform: none; transition: none; }
  .hero .ch-bg .pair.on { animation: none; }
  .nav, .nav::after, .nav .brand, .nav-links li, .nav > .btn { transition: none !important; }
  .widget-btn.pulse { animation: none; }
  .store.flipping .tile::after { animation: none; display: none; }
  .steps button[aria-pressed="true"]::after { transition: none; }
}

/* ---------- added: layered photos, story captions, bar replay ---------- */
.ch-bg .pair, .ch-bg .you { position: absolute; inset: 0; }
.caps { display: grid; }
.cap { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease), visibility 0s linear 400ms; }
.story-stage[data-step="1"] .cap[data-cap="1"], .story-stage[data-step="2"] .cap[data-cap="2"],
.story-stage[data-step="3"] .cap[data-cap="3"], .story-stage[data-step="4"] .cap[data-cap="4"] { opacity: 1; visibility: visible; transform: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.bars.pre .bar-fill, .bars.pre .bar-range { transform: scaleX(0) !important; transition: none !important; }

/* ================= chief-of-design review fixes (4 Nov 2026) ================= */
/* F1 people never under UI: show the empty left of a pair photo (no person) */
.ch-bg.empty img, .ch-bg img.empty { inset: -35% auto auto -2%; width: 170%; height: 170%; object-position: 0 50%; }
@media (max-width: 760px) { .ch-bg.empty img, .ch-bg img.empty { inset: -2%; width: 104%; height: 104%; object-position: 22% 50%; } }

/* F2 home story: store full width, tabs as a row */
.story .ch-in { grid-template-columns: minmax(0, 1fr); }
.story .ch-head { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: clamp(24px, 4vw, 64px); align-items: end; }
.story .ch-head > .label { grid-column: 1 / -1; }
.story .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 12px; margin-top: 0; }
.story-stage .store { max-width: none; justify-self: stretch; }
/* F3 floating button / switch sit in a strip under the tiles, never on the clothes */
.store-body { padding-bottom: 66px; }
.story-stage[data-step="1"] .pp { inset: 14px 14px 66px; }
@media (max-width: 760px) { .story .ch-head { grid-template-columns: 1fr; } .story .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps button { grid-template-columns: 1fr; } .steps button span:last-child { display: none; } }

/* F4 hero: widget button on the empty left, next to the look switch */
.hero-foot { justify-content: flex-start; column-gap: clamp(24px, 4vw, 56px); }

/* F5 phone scrims: vertical on every variant */
@media (max-width: 760px) {
  .ch-scrim, .ch-scrim.light, .lamp .ch-scrim.lamp-scrim {
    background: linear-gradient(180deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,.15) 26%, rgba(8,8,8,.7) 50%, rgba(8,8,8,.9) 100%); }
  .ch-scrim.heavy, .ch-scrim.full { background: linear-gradient(180deg, rgba(8,8,8,.66), rgba(8,8,8,.6) 40%, rgba(8,8,8,.9)); }
  /* the pale coat room: photo on top, copy on black below */
  .values .ch-bg, .hiw-hero .ch-bg { bottom: 40%; }
  .values .ch-scrim, .hiw-hero .ch-scrim { background: linear-gradient(180deg, rgba(8,8,8,0) 0%, rgba(8,8,8,0) 50%, #0B0B0B 60%); }
  .values .cmp-line { bottom: 40%; }
  .cmp-tag { display: none; }
}

/* F6 targets */
.chx a { min-height: 44px; }
.nav > .btn, .pack .actions .btn { min-height: 44px; }
@media (max-width: 760px) { .chx a { min-height: 44px; min-width: 44px; } }

/* F7 tags over the pale room */
.cmp-tag { padding: 3px 10px; border-radius: 999px; background: rgba(8,8,8,.55); text-shadow: none; }

/* F8 labels a touch bigger */
@media (min-width: 900px) { .label, .chx a, .rules { font-size: 12px; } }
.footer ul a { min-height: 44px; display: flex; align-items: center; padding-block: 0; }
.footer .brand { display: inline-flex; min-height: 44px; align-items: center; }

/* F9 one wordmark: it stays in the corner; the bar slides down behind it after the first chapter */
.nav { transform: none; opacity: 1; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; transition: none; }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,8,8,.72), rgba(8,8,8,.38));
  -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%);
  transform: translateY(-100%); opacity: 0; transition: transform 560ms var(--ease), opacity 420ms var(--ease);
}
.nav.shown::before, .nav.open::before, .nav:focus-within::before { transform: none; opacity: 1; }
.nav .brand { opacity: 1; transform: none; pointer-events: auto; }
.nav .nav-toggle { pointer-events: auto; }
.nav.shown, .nav.open, .nav:focus-within { pointer-events: auto; }

/* F7 pricing: the picked pack's price per look, big beside the title */
.pr-head { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(24px, 4vw, 64px); align-items: end; }
.pr-head > .label { grid-column: 1 / -1; max-width: 70ch; }
.pr-head .pack-out { display: grid; gap: 4px; justify-items: start; padding-bottom: 8px; min-height: 0; }
.pack .per { font-family: var(--font-display); font-weight: 300; font-size: 16px; letter-spacing: -.01em; margin-top: 2px; }
@media (max-width: 760px) { .pr-head { grid-template-columns: 1fr; } }

/* F11 motion: quicker text; the window reveal and the hero sweep stay the signature moments */
.js .ch .ln > span { transition-duration: 600ms; transition-delay: calc(var(--i, 0) * 70ms + 60ms); }
.js .ch .rise { transition-duration: 400ms; transition-delay: calc(var(--i, 0) * 60ms + 200ms); }
.reveal-you .you { transition-duration: 1200ms; transition-delay: 150ms; }
.reveal-you.holding .you { transition-duration: 600ms; transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) { .nav::before { transition: none; } }

/* =====================================================================================================
   v4 (5 Nov 2026): the merge of v3 · C (full-bleed chapters) and v3 · A (film moments), from Tiago's notes.
   - smaller type, white quiet text, one display size per screen
   - no parallax, no pointer drift, no lifting text: photos only open a little and zoom slightly as a chapter arrives
   - the site moves one chapter per scroll gesture (site.js); CSS snap is only the touch fallback
   - the nav bar grows out of the mantis logo after the first chapter
   ===================================================================================================== */
html.paged { scroll-snap-type: none; scroll-behavior: auto; }
.display { font-size: clamp(34px, 4.4vw, 64px); line-height: 1; letter-spacing: -.03em; }
.title { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.06; letter-spacing: -.025em; }
.big { font-size: clamp(24px, 2.2vw, 34px); }
.lead { font-size: 14px; line-height: 1.65; }
@media (min-width: 900px) { .lead { font-size: 15px; } }
@media (min-width: 761px) and (max-height: 760px) { .display { font-size: clamp(32px, 4vw, 56px); } .title { font-size: clamp(22px, 2.2vw, 32px); } }

/* no drift and no lift; a slight zoom as the chapter arrives is the only motion of a photo */
.ch-bg img, .ch-bg .layer { transform: scale(calc(1 + var(--hide, 0) * .06)); }
.ch-in { transform: none; opacity: calc(1 - var(--out, 0) * .85); }
.ch-bg.soft img { filter: blur(6px) brightness(.8); transform: scale(calc(1.06 + var(--hide, 0) * .06)); }
.ch-bg.mono img { filter: grayscale(1) brightness(.72) contrast(1.05); }

/* ---------- nav: the logo stays; the bar grows out of it after the first chapter ---------- */
.nav .brand { gap: 10px; transform-origin: left center; transition: transform 800ms var(--ease); }
.nav .brand .sym { width: 30px; height: auto; }
.nav .brand .wm { width: 82px; height: auto; }
.nav:not(.shown):not(.open):not(:focus-within) .brand { transform: translateY(26px) scale(1.7); }
.nav::before { transform: none; opacity: 1; clip-path: inset(0 100% 0 0); transition: clip-path 900ms var(--ease) 120ms; }
.nav.shown::before, .nav.open::before, .nav:focus-within::before { clip-path: inset(0); }
.nav .nav-links li, .nav > .btn, .nav .lang-btn { opacity: 0; transform: translateX(-12px); pointer-events: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.nav.shown .nav-links li, .nav.shown > .btn, .nav.shown .lang-btn,
.nav:focus-within .nav-links li, .nav:focus-within > .btn, .nav:focus-within .lang-btn,
.nav.open .nav-links li, .nav.open > .btn, .nav.open .lang-btn { opacity: 1; transform: none; pointer-events: auto; transition-delay: calc(380ms + var(--i, 0) * 70ms); }
.lang-btn {
  min-width: 44px; min-height: 40px; padding: 0 12px; border-radius: var(--pill); border: 1px solid rgba(255,255,255,.28); background: none;
  color: var(--white-2); font-size: 11px; letter-spacing: .08em; cursor: pointer;
}
.lang-btn:hover { color: var(--white); border-color: rgba(255,255,255,.6); }
@media (max-width: 860px) {
  .nav:not(.shown):not(.open):not(:focus-within) .brand { transform: translateY(14px) scale(1.3); }
  .nav .lang-btn { display: none; }
}

/* ---------- the logo, big, once (closing chapter) ---------- */
.lockup { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); }
.lockup img { filter: invert(1); opacity: .95; height: auto; }
.lockup .sym { width: clamp(64px, 7vw, 108px); }
.lockup .wm { width: clamp(170px, 19vw, 290px); }

/* ---------- home: the line, word by word ---------- */
.words .w { color: rgba(255,255,255,.2); transition: color 600ms var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 250ms); }
.words.is-in .w { color: var(--white); }
.words .display { max-width: 16ch; }

/* ---------- hero: the camel coat only; white type over the pale room ---------- */
.hero .ch-scrim { background: linear-gradient(90deg, rgba(8,8,8,.8) 0%, rgba(8,8,8,.6) 30%, rgba(8,8,8,.18) 52%, rgba(8,8,8,0) 66%),
                              linear-gradient(180deg, rgba(8,8,8,.42), rgba(8,8,8,0) 26%, rgba(8,8,8,0) 72%, rgba(8,8,8,.55)); }
.hero .ch-bg .pair { opacity: 1; animation: none; }
.hero .ch-bg .pair img { object-position: 60% 40%; }
.hero .ch-in { grid-template-columns: minmax(0, 44%); }
.hero-foot { justify-content: flex-end; }

/* ---------- home story: a floating store over a soft background ---------- */
.story .store { box-shadow: 0 40px 100px rgba(0,0,0,.55); }

/* ---------- store styles (how it works, 01) ---------- */
.store[data-style="atelier"] { --s-font: var(--font-display); --s-btn-bg: var(--ink); --s-btn-fg: var(--bg); --s-radius: 999px; --s-bar: var(--bg); }
.store[data-style="serif"] { --s-font: Georgia, 'Times New Roman', serif; --s-btn-bg: #5B3A29; --s-btn-fg: #F6EFE6; --s-radius: 0px; --s-bar: #F6EFE6; }
.store[data-style="mono"] { --s-font: var(--font-mono); --s-btn-bg: #1F2A36; --s-btn-fg: #E8EEF4; --s-radius: 8px; --s-bar: #E8EEF4; }
.store[data-style="round"] { --s-font: ui-rounded, 'Nunito', 'Segoe UI', system-ui, sans-serif; --s-btn-bg: #B5532A; --s-btn-fg: #FFF4EC; --s-radius: 22px; --s-bar: #FFF4EC; }
.styled .pp { opacity: 1; visibility: visible; inset: 14px 14px 66px; }
.styled .float { opacity: 1; }

/* ---------- how it works opener: the photo fills the screen, then becomes a product page ---------- */
.dolly-ch .ch-bg { z-index: -3; }
.dolly { position: absolute; inset: 0; z-index: -2; overflow: hidden; clip-path: inset(0 0 0 0 round 0px); transition: clip-path 1100ms var(--ease); }
.dolly img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.dolly .you { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1300ms var(--ease); }
.dolly-ch[data-step="1"] .dolly, .dolly-ch[data-step="2"] .dolly { clip-path: inset(13% 7% 13% 52% round 20px); }
.dolly-ch[data-step="2"] .dolly .you { clip-path: inset(0); }
.dolly-ui { position: absolute; inset: 13% 7% 13% 52%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 500ms var(--ease) 600ms; }
.dolly-ch[data-step="1"] .dolly-ui, .dolly-ch[data-step="2"] .dolly-ui { opacity: 1; pointer-events: auto; }
.dolly-ui .product-card { position: absolute; left: -64px; bottom: 24px; max-width: 280px; }
.dolly-ui .widget-btn { position: absolute; right: 16px; bottom: 16px; }
@media (max-width: 760px) {
  .dolly-ch[data-step="1"] .dolly, .dolly-ch[data-step="2"] .dolly { clip-path: inset(8% 6% 46% 6% round 18px); }
  .dolly-ui { inset: 8% 6% 46% 6%; }
  .dolly-ui .product-card { left: 12px; bottom: 12px; max-width: 70%; }
}

/* ---------- how it works 02: drag the two photos in; the checklist fills ---------- */
.upload-stage { display: grid; grid-template-columns: auto auto; gap: clamp(16px, 3vw, 40px); justify-content: end; align-items: center; }
.desk { display: grid; gap: 14px; justify-items: center; }
.loose { width: 108px; border-radius: 10px; overflow: hidden; cursor: grab; touch-action: none; box-shadow: 0 16px 40px rgba(0,0,0,.45);
  transition: opacity 400ms var(--ease), transform 300ms var(--ease); position: relative; z-index: 5; }
.loose:nth-of-type(1) { rotate: -5deg; } .loose:nth-of-type(2) { rotate: 4deg; }
.loose img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; pointer-events: none; }
.loose.dragging { cursor: grabbing; transition: none; rotate: 0deg; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.loose.gone { opacity: 0; pointer-events: none; transform: scale(.9); }
.desk .label { text-align: center; max-width: 16ch; }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 190px)); gap: 14px; }
.slots figure { display: grid; gap: 8px; }
.slot { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); border: 1px dashed rgba(255,255,255,.5); overflow: hidden; background: rgba(8,8,8,.32); }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path 700ms var(--ease); }
.slot.filled img { clip-path: inset(0); }
.checklist { display: grid; gap: 6px; margin-top: 4px; grid-column: 1 / -1; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--white-2); opacity: .45; transition: opacity 400ms var(--ease), color 400ms var(--ease); }
.checklist li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); flex: none; transition: background 400ms var(--ease), border-color 400ms var(--ease); }
[data-photos].loaded .checklist li:nth-child(-n+2), [data-photos].ready .checklist li { opacity: 1; color: var(--white); }
[data-photos].loaded .checklist li:nth-child(-n+2)::before, [data-photos].ready .checklist li::before {
  background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23111' stroke-width='1.6'/></svg>") center / 12px no-repeat; border-color: var(--white); }
[data-photos].ready .checklist li:nth-child(3), [data-photos].ready .checklist li:nth-child(3)::before { transition-delay: 300ms; }
[data-photos].ready .checklist li:nth-child(4), [data-photos].ready .checklist li:nth-child(4)::before { transition-delay: 600ms; }
@media (max-width: 760px) { .upload-stage { grid-template-columns: 1fr; justify-content: stretch; } .desk { grid-auto-flow: column; justify-content: start; } .loose { width: 84px; } .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- details: floating cards, quiet hover (light rim only) ---------- */
.feature:hover, .feature:focus-within { transform: none; }
.features:hover .feature:not(:hover) { opacity: 1; }

/* ---------- pricing: one plan, then top-ups that compare like with like (price first) ---------- */
.pr-ch .ch-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: clamp(28px, 5vw, 88px); align-items: center; }
.plan-card {
  display: grid; gap: 16px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius); max-width: 460px;
  border: 1px solid rgba(69,166,255,.6); background: rgba(8,8,8,.5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.plan-card .price { font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 4.2vw, 60px); line-height: 1; letter-spacing: -.03em; color: var(--white); }
.plan-card .price small { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--white-2); margin-left: 6px; }
.plan-card ul { display: grid; gap: 6px; font-size: 13px; color: var(--white-2); }
.plan-card li::before { content: "— "; color: var(--accent); }
.plan-card .included { font-size: 15px; color: var(--white); }
.topups { display: grid; }
.topups > .label { margin-bottom: 8px; }
.topup {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 18px; padding: 14px 4px; border-top: 1px solid var(--line);
  color: var(--white); transition: background var(--t) var(--ease), padding var(--t) var(--ease);
}
.topup:last-of-type { border-bottom: 1px solid var(--line); }
.topup .t-name { font-size: 12px; letter-spacing: .06em; color: var(--white-2); }
.topup .t-price { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; grid-row: span 2; align-self: center; }
.topup .t-looks { font-size: 13px; color: var(--white); }
.topup .t-more { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 450ms var(--ease), opacity 300ms var(--ease), margin 300ms var(--ease); }
.topup:hover, .topup:focus-within { background: rgba(255,255,255,.05); padding-inline: 14px; }
.topup:hover .t-more, .topup:focus-within .t-more { max-height: 80px; opacity: 1; margin-top: 10px; }
.topup .t-more .btn { min-height: 40px; padding: 8px 16px; }
.pr-foot { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; }
.addon-line { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.addon-line .t-price { font-family: var(--font-display); font-weight: 300; font-size: 22px; }

/* checkout, in three steps */
.co-ch .ch-in { grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr); column-gap: clamp(28px, 5vw, 88px); align-items: center; }
.co-steps { display: grid; gap: 4px; margin-top: 6px; }
.co-steps button { display: grid; grid-template-columns: 3ch 1fr; gap: 12px; text-align: left; min-height: 48px; padding: 12px 0; border: 0; border-top: 1px solid var(--line);
  background: none; color: var(--white-2); font-size: 13px; cursor: pointer; }
.co-steps button[aria-pressed="true"] { color: var(--white); }
.co-panel { padding: clamp(18px, 2.2vw, 28px); border-radius: var(--radius); border: 1px solid var(--line); background: rgba(8,8,8,.55);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); display: grid; gap: 16px; }
.co-panel fieldset { border: 0; margin: 0; padding: 0; display: none; gap: 10px; min-width: 0; }
.co-ch[data-step="0"] fieldset[data-part="0"], .co-ch[data-step="1"] fieldset[data-part="1"], .co-ch[data-step="2"] fieldset[data-part="2"] { display: grid; animation: part-in 450ms var(--ease) both; }
@keyframes part-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.co-panel legend { font-family: var(--font-display); font-weight: 300; font-size: 22px; color: var(--white); margin-bottom: 6px; padding: 0; }
.choice { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); cursor: pointer; font-size: 13px; }
.choice:has(input:checked) { border-color: var(--white); background: rgba(255,255,255,.08); }
.choice input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.choice .c-price { color: var(--white); }
.choice.fixed { cursor: default; border-color: rgba(69,166,255,.6); }
.co-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-panel label.field { display: grid; gap: 6px; }
.co-panel input:not([type="radio"]):not([type="checkbox"]) { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: var(--white); font-size: 13px; }
.co-sum { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 12px; border-top: 1px solid var(--line); align-items: baseline; }
.co-sum .big { font-size: clamp(22px, 2vw, 30px); }
.co-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-method { justify-content: center; text-align: center; grid-template-columns: auto 1fr; }

/* ---------- about: floating portraits; a lighter rim on hover is the only change ---------- */
.people { gap: clamp(14px, 2vw, 28px); }
.person { transition: border-color var(--t) var(--ease); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.people:hover .person:hover, .person:focus-within { flex-grow: 1; background: rgba(8,8,8,.42); border-color: rgba(255,255,255,.75); }
.people:hover .person:not(:hover) { opacity: 1; }
.person img, .person:hover img { filter: grayscale(1) contrast(1.05); }
.mini-pair { display: flex; align-items: center; gap: 12px; }
.mini-pair img { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.mini-pair .arrow { font-family: var(--font-display); font-size: 22px; color: var(--white-2); }

/* ---------- closing chapter: the logo, the line, and the footer floating over the cloth ---------- */
.end .ch-in { align-content: end; gap: clamp(18px, 3.4vh, 34px); }
.end .footer { scroll-snap-align: none; background: rgba(8,8,8,.5); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 28px);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.langs { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.langs button { min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--white-2); font-size: 12px; cursor: pointer; border-radius: var(--pill); }
.langs button[aria-pressed="true"] { color: var(--ink); background: var(--white); }

/* ---------- language panel ---------- */
#lang-panel { width: min(560px, 100% - 32px); max-width: none; padding: clamp(22px, 3vw, 36px); background: rgba(16,16,16,.94); }
#lang-panel ul { display: grid; margin-top: 10px; }
#lang-panel li button {
  width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; min-height: 56px; padding: 10px 2px; border: 0;
  border-top: 1px solid var(--line); background: none; color: var(--white-2); cursor: pointer; text-align: left; transition: color var(--t) var(--ease), padding var(--t) var(--ease);
}
#lang-panel li button .n { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
#lang-panel li button:hover, #lang-panel li button[aria-pressed="true"] { color: var(--white); padding-left: 12px; }
html[lang="zh"] body, html[lang="ja"] body { font-family: var(--font-mono), "Noto Sans SC", "Noto Sans JP", "PingFang SC", "Hiragino Sans", "Yu Gothic", "Microsoft YaHei", sans-serif; }
html[lang="zh"] .display, html[lang="zh"] .title, html[lang="ja"] .display, html[lang="ja"] .title { font-family: var(--font-display), "Noto Sans SC", "Noto Sans JP", "PingFang SC", "Hiragino Sans", "Yu Gothic", sans-serif; letter-spacing: 0; }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .pr-ch .ch-in, .co-ch .ch-in { grid-template-columns: 1fr; }
  .co-grid, .co-row { grid-template-columns: 1fr; }
  .plan-card { max-width: none; }
  .lockup .sym { width: 56px; } .lockup .wm { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .dolly, .dolly .you, .nav .brand, .nav::before, .words .w, .slot img, .loose { transition: none !important; }
  .co-ch fieldset { animation: none !important; }
}

/* v4: the home story's steps live on the chapter (data-step 0..3) */
.story .cap { opacity: 0; visibility: hidden; }
.story[data-step="0"] .cap[data-cap="1"], .story[data-step="1"] .cap[data-cap="2"],
.story[data-step="2"] .cap[data-cap="3"], .story[data-step="3"] .cap[data-cap="4"] { opacity: 1; visibility: visible; transform: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.story[data-step="1"] .sheet { transform: translate(-50%, 0); opacity: 1; }
.story[data-step="1"] .store-grid { filter: brightness(.6); transition: filter 400ms var(--ease); }
.story[data-step="1"] .float, .story[data-step="2"] .float, .story[data-step="3"] .float { opacity: 0; transform: translateY(8px); pointer-events: none; }
.story .store .switch { opacity: 0; transform: translateY(8px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); pointer-events: none; }
.story[data-step="2"] .switch, .story[data-step="3"] .switch { opacity: 1; transform: none; pointer-events: auto; }
.steps button[aria-pressed="true"]::after { transform: scaleX(1); transition: transform 500ms var(--ease); }

/* v4 fix: the styled store (how it works 01) holds a real product page, not an empty grid */
.styled .store-body { padding-bottom: 66px; }
.styled .pp { position: relative; inset: auto; height: clamp(260px, 44vh, 440px); }
.styled .store-grid { display: none; }
.draft:empty::after { margin-left: 0; }

/* ================= v4 review fixes (chief of design, 5 Nov 2026) ================= */
/* 12 the photo's window and zoom follow the chapter's arrival, not the scroll position */
.ch-bg { clip-path: inset(6% 5% round 24px); transition: clip-path 900ms var(--ease); }
.ch.is-in .ch-bg { clip-path: inset(0 round 0px); }
.ch-bg img, .ch-bg .layer { transform: scale(1.04); transition: transform 1400ms var(--ease); }
.ch.is-in .ch-bg img, .ch.is-in .ch-bg .layer { transform: scale(1); }
.ch-bg.soft img { transform: scale(1.1); } .ch.is-in .ch-bg.soft img { transform: scale(1.06); }
.ch-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ch-bg, .ch.is-in .ch-bg { clip-path: none; transition: none; } .ch-bg img { transition: none; transform: none; } }
.display, .title { text-wrap: balance; }

/* 4 pricing: display / 24 / 15 / 12 */
.plan-card .price { font-size: clamp(36px, 3vw, 44px); }
.topup .t-price, .addon-line .t-price { font-size: 24px; }
.t-looks, .plan-card ul, .choice { font-size: 12px; }
.plan-card .included { font-size: 15px; }
.plan-card { border-color: var(--line); }
/* 5 every row priced the same way: price, then price per look under it */
.topup { grid-template-columns: 1fr auto; row-gap: 2px; }
.topup .t-price { grid-row: auto; text-align: right; }
.topup .t-per { font-size: 12px; color: var(--white-2); text-align: right; }
.plan-card .per-look { font-size: 12px; color: var(--white-2); }

/* 6 story tabs: one line each */
.steps button { white-space: nowrap; }
.steps button span:last-child { overflow: hidden; text-overflow: ellipsis; }

/* 7 the floating button and the switch never sit on clothes */

/* 8 the button really takes the store's style: font, corners, cards */
.store .float, .pp-cart, .sheet-btn { font-family: var(--s-font); }
.store[data-style="atelier"] { --s-card: 18px; } .store[data-style="serif"] { --s-card: 0px; }
.store[data-style="mono"] { --s-card: 8px; } .store[data-style="round"] { --s-card: 28px; }
.store.styled { border-radius: var(--s-card, 18px); transition: border-radius var(--t) var(--ease); }
.styled .pp-main, .styled .pp-thumbs img { border-radius: var(--s-card, 8px); transition: border-radius var(--t) var(--ease); }
.styled .float { font-size: 13px; padding: 14px 22px; }
.styles { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px; }

/* 11 about: nothing moves; only the rim of a card lights on hover */
.js .still .ch .ln > span, .js .still .ch .rise { transform: none; opacity: 1; transition: none; }

/* 13 two photos: the desk goes once they're in; open items read as "to do", not disabled */
[data-photos].loaded .desk { visibility: hidden; }
.checklist li { opacity: .6; }

/* 14 details: the numbers stay below the title */
.feature .num { font-size: 24px; color: var(--white-2); }
.feature .strong { font-size: 15px; }
@media (min-width: 900px) { body { font-size: 15px; } }

/* 15 big screens: the stores don't stretch; labels grow a little */
.story .store, .step .store { max-width: 1320px; }
.label { font-size: clamp(11px, .65vw, 13px); }
.lang-row { display: flex; align-items: center; gap: 8px; }
.lang-row .btn { min-height: 40px; padding: 8px 16px; }

/* later: targets and the tbd tag on bright photos */
.chx a { min-height: 44px; }
.tbd::after { color: var(--white); }

@media (max-width: 760px) {
  /* 1 phone hero: the person in frame, the text full width at the bottom, no knob over the words */
  .hero .ch-in { grid-template-columns: 1fr; align-content: end; }
  .hero .ch-bg .pair img { object-position: 76% 30%; }
  .cmp { --rest: 50; }
  .cmp-knob, .cmp-tag { display: none; }
  .hero .ch-scrim { background: linear-gradient(180deg, rgba(8,8,8,.35) 0%, rgba(8,8,8,0) 30%, rgba(8,8,8,.55) 58%, rgba(8,8,8,.9) 100%); }
  /* 3 */
  .dolly img { object-position: 74% 35%; }
  /* 7 */
  .store-body { padding-bottom: 64px; }
  .store .switch, .store .float { bottom: 12px; }
  /* 10 bars: name and value on one line, the bar full width under them */
  .bar-row { grid-template-columns: 1fr auto; grid-template-areas: "name value" "track track"; row-gap: 8px; }
  .bar-row .bar-name { grid-area: name; } .bar-row .bar-value { grid-area: value; } .bar-row .bar-track { grid-area: track; }
}

/* phone cost bars: the name on its own line, then the bar with its value */
@media (max-width: 760px) { .bar-row { grid-template-areas: "name name" "track value"; align-items: center; column-gap: 12px; } .bar-row .bar-value { font-size: 22px; } }

/* ================= v4.1 (Tiago's notes, 5 Nov 2026) ================= */
/* the logo: the wordmark about half its old size, centred on the symbol's middle */
.nav .brand { gap: 10px; align-items: center; }
.nav .brand .sym { width: 36px; }
.nav .brand .wm { width: 50px; }
.lockup { align-items: center; }
.lockup .sym { width: clamp(72px, 7vw, 112px); }
.lockup .wm { width: clamp(100px, 9.7vw, 156px); }
.lockup.small .sym { width: 30px; } .lockup.small .wm { width: 42px; }
@media (max-width: 760px) { .lockup .sym { width: 56px; } .lockup .wm { width: 78px; } }

/* the opening (home): the logo in the centre moves to the top-left; then the photo rises */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #0B0B0B; pointer-events: none;
  transition: background-color 900ms var(--ease), opacity 400ms var(--ease); }
.intro-mark { display: flex; align-items: center; gap: 33px; transform-origin: 0 0; transition: transform 1000ms var(--ease); }
.intro-mark img { filter: invert(1); height: auto; opacity: .95; }
.intro-mark .sym { width: 120px; } .intro-mark .wm { width: 167px; }
.intro.go { background-color: rgba(11, 11, 11, 0); }
.intro.done { opacity: 0; }
html.intro-mark-on .nav .brand { opacity: 0; }
html.intro-on .hero .ch-bg { clip-path: inset(100% 0 0 0 round 0px) !important; transition: none !important; }
html.intro-rise .hero .ch-bg { transition: clip-path 1500ms var(--ease) !important; }
html.intro-on .hero .ln > span { transform: translateY(105%) !important; }
html.intro-on .hero .rise, html.intro-on .hero .hero-foot, html.intro-on .hero .cmp-line { opacity: 0 !important; }
.hero .hero-foot, .hero .cmp-line { transition: opacity 600ms var(--ease) 900ms; }
.js .intro-mark { animation: mark-in 700ms var(--ease) both; }
@keyframes mark-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* how it works 02: the photos stay where they are on every step */
.upload-stage { grid-template-columns: 124px 394px; justify-content: end; }
.desk { width: 124px; }
.slots { grid-template-columns: repeat(2, 190px); }
.checklist { width: 394px; }
@media (max-width: 760px) { .upload-stage { grid-template-columns: 1fr; } .desk { width: auto; } .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } .checklist { width: auto; } }

/* pricing: monthly top-ups, enterprise by conversation */
.topup .t-price small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--white-2); margin-left: 4px; }
.topup.big-one .t-price .btn { min-height: 40px; padding: 8px 16px; font-family: var(--font-mono); }

/* the payment pop-up */
.pay-dialog { width: min(560px, 100% - 32px); max-width: none; padding: clamp(20px, 3vw, 32px); background: rgba(16,16,16,.96); display: none; }
.pay-dialog[open] { display: grid; gap: 16px; }
.pay-dialog > * + * { margin-top: 0; }
.pd-head { display: flex; align-items: center; gap: 12px; }
.pd-head .pd-sym { filter: invert(1); width: 28px; height: auto; }
.pd-head .label { margin-right: auto; }
.pd-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--white); font-size: 18px; cursor: pointer; }
.pd-sum .big { font-size: clamp(30px, 3vw, 40px); }
.pd-tabs { justify-self: start; }
.pd-tabs button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.pd-body { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.pd-body[hidden] { display: none; }
.pd-qr { width: 150px; height: 150px; border-radius: 10px; fill: #111; }
.pd-bar { width: 150px; height: 70px; padding: 10px; border-radius: 10px; background: #fff; fill: #111; }
.pd-code { display: block; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(255,255,255,.35); font-size: 11px; word-break: break-all; color: var(--white-2); }
.pd-card { width: 150px; aspect-ratio: 1.586; border-radius: 12px; padding: 12px; display: grid; align-content: space-between; font-size: 11px;
  background: linear-gradient(135deg, #2a2a2a, #111); border: 1px solid var(--line); color: var(--white); }
.pd-chip { width: 26px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, #b9a77a, #7a6a44); }
.pd-draft { padding-top: 8px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .pd-body { grid-template-columns: 1fr; justify-items: start; } }

/* 404 and thank-you: one screen, with a small footer inside */
.nf-num { position: absolute; right: calc(var(--gutter) + var(--index-w)); bottom: calc(clamp(12px, 4vh, 40px) + 96px); font-family: var(--font-display); font-weight: 300;
  font-size: clamp(120px, 22vw, 340px); line-height: .8; letter-spacing: -.05em; color: rgba(255,255,255,.08); pointer-events: none; }
.mini-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; }
.mini-foot a { color: var(--white-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.mini-foot a:hover { color: var(--white); }
.mini-foot .lockup { margin-right: 10px; }
.mini-foot .btn { min-height: 40px; padding: 8px 14px; }
.mini-foot .label { margin-left: auto; }
.nf .ch-in, .thanks .ch-in { align-content: end; }

/* legal (to be written) */
.legal-ch .ch-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 88px); align-items: center; }
.legal-list { display: grid; }
.legal-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.legal-list li:last-child { border-bottom: 1px solid var(--line); }
.legal-list .strong { font-weight: 400; font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 22px); }
@media (max-width: 760px) { .legal-ch .ch-in { grid-template-columns: 1fr; } }

/* thank-you: only the matching version shows */
[data-variant][hidden] { display: none !important; }
@media (max-width: 760px) { .nf-num { top: 84px; bottom: auto; font-size: 120px; } }

/* Chinese and Japanese titles: break only at punctuation or spaces, never inside a word (v4.1) */
html:is([lang="ja"], [lang="zh"]) :is(h1, h2, h3, .strong, .big) { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }

/* checkout: consent to the terms before paying (Tiago's comment, 5 Nov) */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: var(--white-2); cursor: pointer; }
.consent input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--white); cursor: pointer; }
.consent-links { margin-top: -6px; }
.consent-links a { color: var(--white); text-underline-offset: 3px; }

/* ================= v5 (Tiago's notes, 9 Nov 2026): a pitch, bigger titles, symbol-only logo ================= */
/* titles: bigger and bolder, so each reads like a plain instruction */
.display { font-weight: 400; font-size: clamp(42px, 5.4vw, 88px); line-height: .98; letter-spacing: -.035em; }
.title { font-weight: 400; font-size: clamp(30px, 3.3vw, 54px); line-height: 1.02; letter-spacing: -.03em; }
@media (min-width: 761px) and (max-height: 760px) { .display { font-size: clamp(38px, 4.8vw, 70px); } .title { font-size: clamp(28px, 2.9vw, 44px); } }
@media (max-width: 760px) { .display { font-size: clamp(36px, 10.5vw, 46px); } .title { font-size: clamp(27px, 7.6vw, 34px); } }
.lead { font-size: 13px; line-height: 1.6; }
.hero .ch-in { grid-template-columns: minmax(0, 50%); }
.hero .lead { max-width: 38ch; }

/* logo: the symbol only */
.nav .brand .sym { width: 40px; }
.lockup .sym { width: clamp(80px, 7.4vw, 120px); }
.lockup.small .sym { width: 34px; }

/* the mantis symbol as a live mark: the gap between its lines travels round; --p (0-100) closes the gap */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.msym { --p: 0; display: block; width: 120px; aspect-ratio: 495 / 284; flex: none;
  -webkit-mask: url(../brand/symbol.svg) center / contain no-repeat; mask: url(../brand/symbol.svg) center / contain no-repeat;
  --gap: calc(100deg * (1 - var(--p) / 100));
  background: conic-gradient(from var(--a), #fff 0deg, rgba(255,255,255,.22) 40deg, rgba(255,255,255,.22) calc(40deg + var(--gap)), #fff calc(80deg + var(--gap)), #fff 360deg);
  animation: msym-turn 1.5s linear infinite; }
@keyframes msym-turn { to { --a: 360deg; } }
.msym.done { --p: 100; animation: none; background: #fff; }
.msym.gap { animation: none; --p: 40; --a: 200deg; }
@media (prefers-reduced-motion: reduce) { .msym { animation-duration: 6s; } }
.loader-pct { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--white-2); font-variant-numeric: tabular-nums; }

/* the opening on home is also the loader: symbol + percentage, then the symbol flies to the nav */
.intro { grid-template-rows: auto auto; align-content: center; gap: 22px; }
.intro .msym { width: 132px; }
.intro.go .loader-pct, .intro.done .loader-pct { opacity: 0; transition: opacity 300ms var(--ease); }
.intro.go .msym { animation: none; background: #fff; }

/* slow loading on other pages: shows only if the page takes a while */
.loader { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; align-content: center; gap: 22px; background: #0B0B0B; transition: opacity 400ms var(--ease); }
.loader[hidden] { display: none; }
.loader.out { opacity: 0; pointer-events: none; }

/* scroll hint: under every chapter that plays; a click plays the next step (or moves on) */
.scroll-hint { position: absolute; left: 50%; bottom: clamp(12px, 2.6vh, 26px); z-index: 3; transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--white); cursor: pointer; opacity: .72;
  transition: opacity var(--t) var(--ease); }
.scroll-hint:hover, .scroll-hint:focus-visible { opacity: 1; }
.scroll-hint svg { width: 20px; height: 30px; }
.scroll-hint .wheel { animation: hint-wheel 1.8s var(--ease) infinite; }
@keyframes hint-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(6px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint .wheel { animation: none; } }
.hero .scroll-hint { bottom: clamp(70px, 9vh, 96px); }
@media (max-width: 760px) { .scroll-hint { bottom: 8px; } .hero .scroll-hint { bottom: 76px; } }

/* home 04: what the brand gets */
.gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1080px; }
.gain { display: grid; align-content: start; gap: 10px; padding: clamp(18px, 2.2vw, 28px); border-radius: var(--radius);
  background: var(--glass-fill-dark); border: var(--glass-border-dark); box-shadow: var(--glass-shadow-dark); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.gain .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--white-2); }
.gain-t { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.05; letter-spacing: -.025em; color: var(--white); }

/* chapters with no photo: a quiet grey studio (product facts, the panel, the plan) */
.ch-bg.plain { background: radial-gradient(120% 90% at 78% 18%, #2c2c2c 0%, #151515 46%, #0B0B0B 80%); }
.ch-bg.plain::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .5; mix-blend-mode: overlay; }

/* home 05: our value, two options for Tiago */
.review-switch { justify-self: start; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px 4px 4px 14px;
  border-radius: var(--pill); border: 1px dashed rgba(255,255,255,.4); background: rgba(8,8,8,.4); }
.review-switch .label { margin-right: 6px; }
.review-switch button { min-height: 36px; padding: 6px 14px; border: 0; border-radius: var(--pill); background: none; color: var(--white-2); cursor: pointer; font-size: 11px; letter-spacing: .04em; }
.review-switch button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.option { display: grid; gap: clamp(20px, 4vh, 44px); }
.option[hidden] { display: none; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fact { display: grid; align-content: start; gap: 10px; padding: clamp(16px, 2.4vh, 26px) clamp(12px, 1.6vw, 24px) 0 0; }
.fact + .fact { padding-left: clamp(12px, 1.6vw, 24px); border-left: 1px solid var(--line); }
.fact-n { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 76px); line-height: .95; letter-spacing: -.04em; color: var(--white); }
.fact .label { max-width: 24ch; }
.month { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); position: relative; }
.month li { display: grid; align-content: start; gap: 10px; padding-top: 22px; position: relative; }
.month li::before { content: ""; position: absolute; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--white); transform: translateY(-4px); }
.month::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.month::after { content: ""; position: absolute; top: 0; left: 0; height: 1px; width: 0; background: var(--white); transition: width 2400ms var(--ease) 600ms; }
.ch.is-in .month::after { width: 100%; }
.month-t { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.05; letter-spacing: -.025em; color: var(--white); }

/* home 06: the live demo (placeholder) next to the way in */
.demo-ch .ch-in { grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); column-gap: clamp(24px, 5vw, 80px); align-items: center; }
.live-demo { display: grid; gap: 14px; padding: clamp(18px, 2.2vw, 28px); border-radius: var(--radius); border: 1px dashed rgba(255,255,255,.45);
  background: var(--glass-fill-dark); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ld-flag { color: var(--white); }
.ld-url { display: grid; gap: 6px; }
.ld-url input { min-height: 44px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(0,0,0,.3); color: var(--white); font: inherit; }
.ld-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ld-slot { aspect-ratio: 3 / 4; max-height: 160px; border-radius: var(--radius-sm); border: 1px dashed rgba(255,255,255,.35); display: grid; place-items: center; }
.live-demo .btn[disabled] { opacity: .5; cursor: not-allowed; justify-self: start; }

/* glass pop-ups (book a demo, language): slightly see-through, with an X */
.glass-dialog { width: min(560px, 100% - 32px); max-width: none; padding: clamp(24px, 3.4vw, 40px);
  background: linear-gradient(135deg, rgba(40,40,40,.72), rgba(14,14,14,.66)); border: var(--glass-border-dark); box-shadow: var(--glass-shadow-dark), 0 30px 80px rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(26px) saturate(130%); backdrop-filter: blur(26px) saturate(130%); }
.glass-dialog::backdrop { background: rgba(0,0,0,.28); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.glass-dialog[open] { animation: dlg-in 420ms var(--ease) both; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(0,0,0,.2); color: var(--white); font-size: 20px; line-height: 1; cursor: pointer; }
.dlg-x:hover { background: rgba(255,255,255,.12); }
.dlg-body { display: grid; gap: 14px; }
.dlg-body[hidden] { display: none; }
.dlg-body > .label:first-child { padding-right: 48px; }
.glass-dialog .title { font-size: clamp(26px, 2.6vw, 36px); padding-right: 36px; }
.glass-dialog .form { margin-top: 6px; padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.dlg-state { justify-items: start; padding-top: 8px; }
.dlg-state .msym { width: 64px; margin-bottom: 6px; }


/* language: a smaller pill in the nav and a compact panel */
.lang-btn { min-width: 34px; height: 34px; min-height: 34px; padding: 0 9px; font-size: 10px; }
#lang-panel.small { width: min(400px, 100% - 32px); padding: 22px 22px 18px; }
#lang-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 6px 0 4px; }
#lang-panel li button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; padding: 8px 12px; border-radius: var(--radius-sm);
  border: 1px solid transparent; background: none; color: var(--white-2); cursor: pointer; text-align: left; }
#lang-panel li button .n { font-family: var(--font-mono); font-weight: 400; font-size: 12px; letter-spacing: .02em; }
#lang-panel li button .c { font-size: 10px; letter-spacing: .08em; opacity: .7; }
#lang-panel li button:hover { color: var(--white); background: rgba(255,255,255,.06); padding-left: 12px; }
#lang-panel li button[aria-pressed="true"] { color: var(--ink); background: var(--white); padding-left: 12px; }

/* cookie note (LGPD): small, bottom-left, once */
.cookie-note { position: fixed; left: var(--gutter); bottom: clamp(12px, 2.4vh, 24px); z-index: 150; max-width: min(520px, 100% - 2 * var(--gutter));
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 12px 12px 18px; border-radius: var(--radius);
  background: var(--glass-fill-dark); border: var(--glass-border-dark); box-shadow: var(--glass-shadow-dark); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.cookie-note[hidden] { display: none; }
.cookie-note .label { flex: 1 1 240px; color: var(--white); }
.cookie-note .btn { min-height: 38px; padding: 6px 16px; }

/* tablets: fewer columns where four don't fit */
@media (min-width: 761px) and (max-width: 1100px) {
  .facts, .month { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .demo-ch .ch-in { grid-template-columns: 1fr; }
  .live-demo { max-width: 460px; }
}
@media (max-width: 760px) {
  .gains, .facts, .month { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .demo-ch .ch-in { grid-template-columns: 1fr; }
  .ld-slot { max-height: 110px; }
  .hero .ch-in { grid-template-columns: 1fr; }
}

/* ---------- v5 how it works: the four parts ---------- */
.parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); max-width: 1080px; }
.parts a { display: grid; gap: 8px; padding: 18px 18px 6px 0; min-height: 44px; color: var(--white); text-decoration: none; transition: opacity var(--t) var(--ease); }
.parts li + li a { padding-left: 18px; border-left: 1px solid var(--line); }
.part-t { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.05; letter-spacing: -.02em; }
.parts:hover a:not(:hover) { opacity: .55; }

/* captions that follow the step (install, plan) */
.install-ch[data-step="0"] .cap[data-cap="1"], .install-ch[data-step="1"] .cap[data-cap="2"], .install-ch[data-step="2"] .cap[data-cap="3"],
.plan-ch[data-step="0"] .cap[data-cap="1"], .plan-ch[data-step="1"] .cap[data-cap="2"], .plan-ch[data-step="2"] .cap[data-cap="3"], .plan-ch[data-step="3"] .cap[data-cap="4"] {
  opacity: 1; visibility: visible; transform: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.install-ch .ch-in, .plan-ch .ch-in, .panel-ch .ch-in { grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); column-gap: clamp(24px, 5vw, 88px); align-items: center; }

/* the store admin, in three panes */
.install { border-radius: var(--radius); overflow: hidden; background: #F3F3F1; color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.inst-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #E6E6E4; }
.inst-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CFCFCC; }
.inst-bar .label { margin-left: 10px; color: var(--grey-4); }
.inst-body { position: relative; min-height: 260px; padding: 26px; display: grid; }
.inst-pane { grid-area: 1 / 1; display: grid; align-content: center; gap: 16px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease), visibility 0s linear 400ms; }
.install-ch[data-step="0"] [data-pane="0"], .install-ch[data-step="1"] [data-pane="1"], .install-ch[data-step="2"] [data-pane="2"] { opacity: 1; visibility: visible; transform: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.inst-pane .label { color: var(--grey-4); }
.inst-app { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--grey-1); }
.inst-app .msym { width: 46px; background: var(--ink); }
.inst-app > div { margin-right: auto; display: grid; gap: 2px; }
.inst-t { font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.inst-btn { padding: 9px 16px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .04em; }
.inst-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.inst-checks li { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--grey-4); }
.inst-checks li::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--grey-3); }
.inst-checks li.on { color: var(--ink); }
.inst-checks li.on::before { background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='white' stroke-width='1.6'/></svg>") center / 14px no-repeat; border-color: var(--ink); }
.inst-live { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.inst-live i { width: 10px; height: 10px; border-radius: 50%; background: #2fb36b; box-shadow: 0 0 0 6px rgba(47,179,107,.18); }
.inst-pane .widget-btn { justify-self: start; background: var(--ink); border-color: var(--ink); }

/* the brand panel (placeholder) */
.panel-mock { display: grid; gap: 14px; padding: clamp(16px, 2vw, 24px); border-radius: var(--radius); border: 1px dashed rgba(255,255,255,.45);
  background: var(--glass-fill-dark); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pm-card { display: grid; align-content: start; gap: 8px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.pm-card.wide { grid-column: 1 / -1; }
.pm-n { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: -.03em; color: var(--white); }
.pm-n .label { font-family: var(--font-mono); letter-spacing: .04em; }
.pm-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.pm-bar i { display: block; height: 100%; width: 0; background: var(--white); transition: width 1600ms var(--ease) 500ms; }
.ch.is-in .pm-bar i { width: var(--w); }
.pm-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--white); }
.pm-toggle i { width: 34px; height: 20px; border-radius: 20px; background: var(--white); position: relative; }
.pm-toggle i::after { content: ""; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.pm-list { color: var(--white); }

/* the plan: a month on one bar */
.plan-mock { display: grid; gap: 18px; padding: clamp(18px, 2.2vw, 28px); border-radius: var(--radius);
  background: var(--glass-fill-dark); border: var(--glass-border-dark); box-shadow: var(--glass-shadow-dark); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.pl-head { display: flex; justify-content: space-between; align-items: baseline; }
.pl-pct { font-family: var(--font-display); font-size: 40px; letter-spacing: -.03em; color: var(--white); line-height: 1; }
.pl-bar { position: relative; height: 8px; border-radius: 8px; background: rgba(255,255,255,.12); }
.pl-bar i { position: absolute; inset: 0 auto 0 0; width: 3%; border-radius: 8px; background: var(--white); transition: width 900ms var(--ease); }
.plan-ch[data-step="1"] .pl-bar i { width: 50%; }
.plan-ch[data-step="2"] .pl-bar i { width: 80%; }
.plan-ch[data-step="3"] .pl-bar i { width: 100%; }
.pl-bar b { position: absolute; top: -6px; bottom: -6px; left: var(--at); width: 1px; background: rgba(255,255,255,.6); }
.pl-notes { display: grid; gap: 8px; min-height: 140px; align-content: start; }
.pl-note { display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--white); font-size: 13px;
  opacity: .25; transition: opacity 400ms var(--ease), background 400ms var(--ease); }
.plan-ch[data-step="0"] [data-note="0"], .plan-ch[data-step="1"] [data-note="0"], .plan-ch[data-step="2"] [data-note="0"], .plan-ch[data-step="3"] [data-note="0"],
.plan-ch[data-step="2"] [data-note="2"], .plan-ch[data-step="3"] [data-note="2"], .plan-ch[data-step="3"] [data-note="3"] { opacity: 1; }
.plan-ch[data-step="2"] [data-note="2"], .plan-ch[data-step="3"] [data-note="3"] { background: rgba(255,255,255,.08); }

/* dots: every step of an animation can be clicked */
.dots { display: flex; gap: 6px; }
.dots button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background var(--t) var(--ease), transform var(--t) var(--ease); }
.dots button[aria-pressed="true"]::before { background: var(--white); transform: scale(1.4); }

/* the hero compare line stays out of the way until the shopper arrives */
.hero[data-step="0"]:not(.touched) .cmp-line { opacity: 0; }

@media (min-width: 761px) and (max-width: 1100px) {
  .parts { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .parts li:nth-child(3) a { border-left: 0; padding-left: 0; }
  .install-ch .ch-in, .plan-ch .ch-in, .panel-ch .ch-in { grid-template-columns: 1fr; }
  .install, .plan-mock, .panel-mock { max-width: 560px; }
}
@media (max-width: 760px) {
  .parts { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .parts li:nth-child(3) a { border-left: 0; padding-left: 0; }
  .install-ch .ch-in, .plan-ch .ch-in, .panel-ch .ch-in { grid-template-columns: 1fr; }
  .inst-body { min-height: 200px; padding: 18px; }
  .pm-n { font-size: 24px; }
  .pl-notes { min-height: 0; }
}

/* ---------- v5 status pages (500, maintenance, offline, unsupported): the symbol shows the state ---------- */
.status-mark { position: absolute; z-index: -1; right: calc(var(--gutter) + var(--index-w) + 2vw); top: 50%; transform: translateY(-58%); pointer-events: none; }
.status-mark .msym { width: clamp(220px, 34vw, 560px); }
.status-mark .msym.dim { opacity: .22; }
.status-ch .nf-num { color: rgba(255,255,255,.05); }
@media (max-width: 760px) { .status-mark { top: calc(var(--nav) + 40px); transform: none; right: var(--gutter); } .status-mark .msym { width: 46vw; } }

/* portrait tablets (768-1100 wide, taller than wide): chapters may grow like on phones; the store shows 2 across */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .ch { height: auto; min-height: 100svh; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .story .ch-in, .step .ch-in, .install-ch .ch-in, .plan-ch .ch-in, .panel-ch .ch-in { grid-template-columns: 1fr; align-content: center; }
  .story-stage .store { justify-self: stretch; max-width: none; }
}

/* phones and portrait tablets scroll freely and play the animations by themselves: no scroll hint there */
html:not(.paged) .scroll-hint { display: none; }
@media (max-width: 760px) {
  .install-ch .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .install-ch .steps button span:last-child { display: inline; }
}

@media (max-width: 760px) { .status-ch .nf-num { display: none; } }

/* ---------- v5: the book-a-demo pop-up has three kinds (demo, hello, live) and three thank-yous ---------- */
#demo-dialog [data-kind-show], #demo-dialog [data-sent-show] { display: none; }
#demo-dialog[data-kind="demo"] [data-kind-show~="demo"], #demo-dialog[data-kind="hello"] [data-kind-show~="hello"], #demo-dialog[data-kind="live"] [data-kind-show~="live"],
#demo-dialog[data-sent="demo"] [data-sent-show="demo"], #demo-dialog[data-sent="live"] [data-sent-show="live"], #demo-dialog[data-sent="invite"] [data-sent-show="invite"] { display: revert; }
#demo-dialog[data-kind="live"] [data-kind-hide~="live"] { display: none; }

/* ---------- v5 pricing: monthly or yearly (body[data-billing]) ---------- */
body:not([data-billing="y"]) .by, body[data-billing="y"] .bm { display: none; }
.bill-switch { margin-bottom: 4px; }
.bill-switch button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.bill-pick { margin-bottom: 4px; }

/* ---------- v5 home: the live demo (invite only for now) ---------- */
.ld-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: ld; }
.ld-steps li { counter-increment: ld; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 11px; letter-spacing: .04em; color: var(--white); background: rgba(8,8,8,.35); }
.ld-steps li::before { content: counter(ld); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); font-size: 10px; }
.live-demo { border-style: solid; border-color: rgba(255,255,255,.16); }
.ld-head, .ld-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ld-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ld-look { aspect-ratio: 3 / 4; border-radius: var(--radius-sm); background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--line); display: grid; place-items: center; }
.ld-look .msym { width: 44%; opacity: .55; }
.ld-switch { position: static; display: inline-flex; padding: 3px; }
.ld-switch span { padding: 6px 12px; border-radius: var(--pill); font-size: 11px; color: var(--white-2); }
.ld-switch span.on { background: var(--white); color: var(--ink); }
@media (min-width: 761px) { .ld-grid { width: min(100%, calc(50vh * .75 * 2 / 1.5)); margin-inline: auto; } }

/* ---------- v5 how it works: the panel's screens ---------- */
.panel-ch[data-step="0"] .cap[data-cap="1"], .panel-ch[data-step="1"] .cap[data-cap="2"] { opacity: 1; visibility: visible; transform: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.panel-ch .ch-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.panel-shot { border-radius: var(--radius); overflow: hidden; background: #E9E9E6; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.ps-body { display: grid; }
.ps-body img { grid-area: 1 / 1; width: 100%; height: auto; display: block; opacity: 0; transition: opacity 500ms var(--ease); }
.panel-ch[data-step="0"] [data-shot="0"], .panel-ch[data-step="1"] [data-shot="1"] { opacity: 1; }
@media (min-width: 761px) and (max-width: 1100px) { .panel-ch .ch-in { grid-template-columns: 1fr; } .panel-shot { max-width: 720px; } }
@media (max-width: 760px) { .panel-ch .ch-in { grid-template-columns: 1fr; } }

/* ================= v5 review fixes (chief of design, 9 Nov 2026) ================= */
/* 1. nothing scrolls behind a pop-up */
html:has(dialog[open]) { overflow: hidden; }
.glass-dialog { overscroll-behavior: contain; }
/* 2. the story's step labels: numbers only on tablets; portrait tablets keep the 4-across store */
@media (min-width: 761px) and (max-width: 1100px) { .story .steps button span:last-child { display: none; } .story .steps button { grid-template-columns: 1fr; } }
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) { .story .store-grid { grid-template-columns: repeat(4, 1fr); } }
/* 4. option a's numbers never outgrow the title */
.fact-n { font-size: clamp(36px, 3.2vw, 52px); }
/* 5. reading text grows with the titles */
.lead { font-size: clamp(14px, calc(7px + .55vw), 16px); line-height: 1.55; }
.hero .lead { max-width: 40ch; text-wrap: pretty; }
@media (max-width: 760px) { .lead { font-size: 14px; } }
/* 6. one card pattern everywhere: small mono number, a name at half the title */
.gain .num, .feature .num { font: 400 11px/1 var(--font-mono); letter-spacing: .08em; color: var(--white-2); }
.gain-t, .month-t, .part-t, .feature .strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 1.65vw, 24px); line-height: 1.1; letter-spacing: -.02em; color: var(--white); }
.pl-pct { font-size: 30px; }
.big, .bar-value, .plan-card .price, .topup .t-price, .addon-line .t-price { font-weight: 400; }
/* 7. portrait tablet hero: like the phone */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .hero .ch-in { grid-template-columns: 1fr; align-content: end; padding-bottom: 120px; }
  .hero .ch-bg .pair img { object-position: 72% 30%; }
  .cmp-knob, .cmp-tag { display: none; }
  .hero .ch-scrim { background: linear-gradient(180deg, rgba(8,8,8,.3) 0%, rgba(8,8,8,0) 30%, rgba(8,8,8,.55) 58%, rgba(8,8,8,.9) 100%); }
}
/* 8. status pages: the state symbol is the only mark */
.status-ch .nf-num, .status-ch .mini-foot .lockup { display: none; }
@media (max-width: 760px) { .status-mark .msym { width: 38vw; } }
/* 10. pop-up details */
.glass-dialog select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: rgba(0,0,0,.25) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='white' stroke-width='1.3'/></svg>") right 14px center / 12px no-repeat; }
.glass-dialog .lead { max-width: none; }
@media (min-width: 761px) { .dlg-state { min-height: 360px; align-content: center; } }
/* 11. the closing chapter asks */
.end .actions { margin-top: -4px; }
/* 12c. phone: the product name clears the floating button */
@media (max-width: 760px) { .styled .pp { height: 38svh; } }
/* later: cookie note smaller, index numbers readable on light photos, no index on phones */
.cookie-note { max-width: min(420px, 100% - 2 * var(--gutter)); }
.chx .chx-num { text-shadow: 0 0 2px rgba(0,0,0,.8), 0 1px 12px rgba(0,0,0,.6); }
@media (max-width: 760px) { .chx { display: none; } }

/* landscape tablets: the live demo and the panel stay side by side so they fit one screen */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) {
  .demo-ch .ch-in { grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); column-gap: 28px; }
  .demo-ch .ld-grid { width: 100%; }
  .demo-ch .ld-look { aspect-ratio: 4 / 5; }
  .panel-ch .ch-in { grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); column-gap: 28px; }
  .panel-shot { max-width: none; }
}

/* ================= v6 (Tiago's round 2, 9 Nov 2026) ================= */
/* scroll hint: a down arrow and "scroll down", bouncing gently */
.scroll-hint { width: auto; height: auto; min-height: 44px; padding: 6px 12px; display: grid; justify-items: center; gap: 4px; border-radius: var(--pill); }
.scroll-hint .sh-t { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--white-2); white-space: nowrap; }
.scroll-hint svg { width: 14px; height: 20px; animation: hint-bounce 1.8s var(--ease) infinite; }
.scroll-hint .wheel { animation: none; }
@keyframes hint-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint svg { animation: none; } }
/* nav: two buttons (book a demo, pricing & plans); on phones only the blue one shows */
.nav > .btn + .btn { margin-left: -14px; }
.nav > .btn.primary[aria-current="page"] { box-shadow: 0 0 0 3px var(--accent-glow); }
@media (max-width: 760px) { .nav > .btn:not(.primary) { display: none; } }

/* ---------- v6 hero: who, what, how ---------- */
.hero-how { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-how li { display: inline-flex; align-items: baseline; gap: 8px; font-size: 12px; letter-spacing: .02em; color: var(--white); }
.hero .display { font-size: clamp(40px, 4.8vw, 78px); }
@media (min-width: 761px) and (max-height: 760px) { .hero .display { font-size: clamp(36px, 4.2vw, 62px); } }
@media (max-width: 760px) { .hero .display { font-size: clamp(34px, 9.6vw, 42px); } .hero-how { display: grid; gap: 4px; } }

/* ---------- v6 landing 03: try it on a mini store ---------- */
.try-stage { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); column-gap: clamp(20px, 3vw, 48px); align-items: center; }
.try-ch[data-step="0"] .cap[data-cap="1"], .try-ch[data-step="1"] .cap[data-cap="2"], .try-ch[data-step="2"] .cap[data-cap="3"], .try-ch[data-step="3"] .cap[data-cap="4"] {
  opacity: 1; visibility: visible; transform: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.try-ch .ch-head .title { font-size: clamp(26px, 2.5vw, 40px); }
.try-wrap { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; }
.try-tray { display: grid; gap: 10px; justify-items: center; align-content: center; position: relative; }
.try-tray > .label:first-child { text-align: center; }
.try-photo { width: 88px; display: grid; gap: 4px; justify-items: center; cursor: grab; touch-action: none; transition: opacity 400ms var(--ease), transform 300ms var(--ease); }
.try-photo img { width: 88px; height: 110px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255,255,255,.4); box-shadow: 0 10px 24px rgba(0,0,0,.4); pointer-events: none; }
.try-photo.dragging { cursor: grabbing; z-index: 50; position: relative; transition: none; }
.try-photo.used { opacity: .28; }
.try-note { position: absolute; left: 100%; top: 50%; width: max-content; padding: 6px 10px; border-radius: var(--pill); background: var(--white); color: var(--ink); opacity: 0; transform: translate(10px, -50%); pointer-events: none; transition: opacity 400ms var(--ease); z-index: 6; }
.try-ch[data-step="1"]:not(.photos-in) .try-note { opacity: 1; animation: nudge 1.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translate(10px, -50%); } 50% { transform: translate(18px, -50%); } }

.browser { aspect-ratio: 16 / 9; width: 100%; max-height: calc(100svh - var(--nav) - 120px); border-radius: 14px; overflow: hidden; background: #F3F3F1; color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.5); display: grid; grid-template-rows: auto 1fr; justify-self: center; }
@supports (aspect-ratio: 1) { .browser { width: min(100%, calc((100svh - var(--nav) - 120px) * 16 / 9)); } }
.br-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #E2E2DF; }
.br-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9C9C5; }
.br-url { margin-left: 12px; padding: 3px 14px; border-radius: var(--pill); background: #F3F3F1; font-size: 10px; color: var(--grey-4); }
.br-page { position: relative; display: grid; grid-template-rows: auto auto 1fr; padding: 0 clamp(12px, 1.6vw, 22px) clamp(10px, 1.4vw, 18px); min-height: 0; }
.st-head { display: flex; align-items: center; gap: 18px; padding: clamp(8px, 1.1vw, 14px) 0; border-bottom: 1px solid rgba(17,17,17,.08); font-size: 10px; color: var(--grey-4); }
.st-head b { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(15px, 1.4vw, 20px); color: var(--ink); margin-right: auto; letter-spacing: .02em; }
.st-nav { display: flex; gap: 14px; } .st-bag { margin-left: 14px; }
.st-title { display: flex; justify-content: space-between; padding: clamp(6px, 1vw, 12px) 0; font-size: 10px; color: var(--grey-4); }
.st-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, .9vw, 12px); min-height: 0; align-items: start; transition: filter 400ms var(--ease); }
.st-item { margin: 0; display: grid; gap: 4px; min-height: 0; }
.st-item .tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: #E6E6E4; max-height: calc((100svh - var(--nav) - 120px) * .62); }
.st-item .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-item .tile .me { opacity: 0; transition: opacity 500ms var(--ease) var(--d, 0ms); }
.try-ch.is-me .st-item .tile .me { opacity: 1; }
.st-item figcaption { display: flex; justify-content: space-between; gap: 6px; font-size: 9.5px; color: var(--grey-4); }
.st-item figcaption span:first-child { color: var(--ink); }
.st-btn { position: absolute; right: clamp(12px, 1.6vw, 22px); bottom: clamp(12px, 1.6vw, 22px); z-index: 3; background: var(--ink); border-color: var(--ink); color: #fff; }
.try-ch[data-step="0"] .st-btn { animation: pulse 2.2s var(--ease) infinite; }
.try-ch:not([data-step="0"]) .st-btn { opacity: 0; pointer-events: none; transform: translateY(8px); }
.try-arrow { position: absolute; z-index: 5; padding: 6px 12px; border-radius: var(--pill); background: var(--accent); color: var(--ink); font-size: 11px; letter-spacing: .04em; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 400ms var(--ease); }
.try-arrow b { font-weight: 400; }
.try-arrow-btn { right: clamp(12px, 1.6vw, 22px); bottom: calc(clamp(12px, 1.6vw, 22px) + 54px); }
.try-ch[data-step="0"] .try-arrow-btn { opacity: 1; animation: bob 1.4s var(--ease) infinite; }
.try-arrow-switch { right: 120px; bottom: 60px; }
.try-ch[data-step="2"].is-done:not(.flipped) .try-arrow-switch { opacity: 1; animation: bob 1.4s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.st-sheet { position: absolute; z-index: 4; left: 50%; top: 50%; width: min(78%, 360px); transform: translate(-50%, -40%); opacity: 0; visibility: hidden; display: grid; gap: 12px; padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.25);
  transition: opacity 350ms var(--ease), transform 350ms var(--ease), visibility 0s linear 350ms; }
.st-sheet .label { color: var(--grey-4); }
.try-ch[data-step="1"] .st-sheet { opacity: 1; visibility: visible; transform: translate(-50%, -50%); transition: opacity 350ms var(--ease), transform 350ms var(--ease); }
.try-ch[data-step="1"] .st-grid { filter: brightness(.55); }
.st-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st-slot { aspect-ratio: 4 / 5; border-radius: 10px; border: 1.5px dashed var(--grey-3); display: grid; place-items: center; position: relative; overflow: hidden; transition: border-color 200ms var(--ease), background 200ms var(--ease); }
.st-slot.over { border-color: var(--accent); background: rgba(69,166,255,.08); }
.st-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drop-in 380ms var(--ease) both; }
@keyframes drop-in { from { transform: scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.st-actions { display: flex; justify-content: space-between; gap: 8px; }
.st-sheet .btn { min-height: 38px; padding: 6px 16px; }
.st-sheet .btn:not(.primary) { color: var(--ink); border-color: var(--grey-2); background: #fff; }
.st-sheet .btn.primary[disabled] { opacity: .4; cursor: not-allowed; }
.st-upload { cursor: pointer; }
.st-busy { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; align-content: center; gap: 10px; background: rgba(243,243,241,.72); opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 0s linear 300ms; }
.st-busy .msym { width: 72px; background-color: var(--ink); background-image: conic-gradient(from var(--a), #111 0deg, rgba(17,17,17,.18) 40deg, rgba(17,17,17,.18) 140deg, #111 180deg, #111 360deg); }
.try-ch.busy .st-busy { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease); }
.st-switch { position: absolute; right: clamp(12px, 1.6vw, 22px); bottom: clamp(12px, 1.6vw, 22px); z-index: 3; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.try-ch.is-done .st-switch { opacity: 1; pointer-events: auto; transform: none; }
.st-switch button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
@media (min-width: 761px) and (max-width: 1100px) { .try-stage { grid-template-columns: 1fr; } .try-ch .ch-head { max-width: none; } .try-ch .steps button span:last-child { display: none; } }
@media (max-width: 760px) {
  .try-stage { grid-template-columns: 1fr; }
  .try-wrap { grid-template-columns: 1fr; }
  .try-tray { grid-template-columns: auto auto auto; justify-content: start; gap: 12px; }
  .try-photo, .try-photo img { width: 64px; } .try-photo img { height: 80px; }
  .try-note { left: auto; right: 0; top: auto; bottom: -34px; transform: none; }
  .browser { aspect-ratio: 4 / 5; max-height: none; width: 100%; }
  .st-grid { grid-template-columns: 1fr 1fr; }
  .st-nav { display: none; }
}

/* the switch takes no clicks until the looks are ready (it sits where the button was) */
.try-ch:not(.is-done) .st-switch { visibility: hidden; }
.try-ch:not(.is-done) .st-switch button { pointer-events: none; }

/* ---------- v6 landing 05: the facts on a dark cloth (CSS weave, close to the closing chapter's cloth) ---------- */
.ch-bg.cloth { background:
    radial-gradient(90% 70% at 70% 30%, rgba(255,255,255,.05), transparent 65%),
    repeating-linear-gradient(60deg, rgba(255,255,255,.028) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(-30deg, rgba(0,0,0,.35) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(60deg, transparent 0 9px, rgba(255,255,255,.02) 9px 10px),
    linear-gradient(160deg, #1b1a19 0%, #121110 55%, #0a0a09 100%); }
.ch-bg.cloth::after { content: ""; position: absolute; inset: 0; background: var(--grain), radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(0,0,0,.55) 100%); opacity: .9; mix-blend-mode: normal; }

/* ---------- v6 how it works 04: what shoppers see, in one chapter ---------- */
.shop-ch[data-step="0"] .cap[data-cap="1"], .shop-ch[data-step="1"] .cap[data-cap="2"], .shop-ch[data-step="2"] .cap[data-cap="3"] {
  opacity: 1; visibility: visible; transform: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.shop-ch .ch-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: clamp(24px, 4vw, 64px); align-items: center; }
.shop-ch .store-body { position: relative; }
.sh-card { position: absolute; left: 24px; top: 24px; z-index: 3; width: 220px; display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.28); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.sh-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sh-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.sh-card .checklist { width: auto; margin: 0; }
.sh-card .checklist li { color: var(--grey-4); }
.shop-ch[data-step="0"].is-in .sh-card .checklist li { animation: tick-in 400ms var(--ease) both; }
.shop-ch[data-step="0"].is-in .sh-card .checklist li:nth-child(2) { animation-delay: 500ms; }
.shop-ch[data-step="0"].is-in .sh-card .checklist li:nth-child(3) { animation-delay: 1000ms; }
@keyframes tick-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.shop-ch:not([data-step="0"]) .sh-card { opacity: 0; transform: translateY(-8px) scale(.96); pointer-events: none; }
.shop-ch[data-step="0"] .store-grid { filter: brightness(.7); transition: filter 400ms var(--ease); }
.sh-kept { position: absolute; left: 24px; bottom: 24px; z-index: 3; padding: 6px 12px; border-radius: var(--pill); background: var(--ink); color: #fff; opacity: 0; transition: opacity 400ms var(--ease); }
.shop-ch[data-step="2"] .sh-kept { opacity: 1; }
.shop-ch .switch { opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease); }
.shop-ch[data-step="1"] .switch, .shop-ch[data-step="2"] .switch { opacity: 1; pointer-events: auto; }
@media (max-width: 1100px) { .shop-ch .ch-in { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .sh-card { left: 10px; top: 10px; width: 150px; padding: 8px; } }

/* ---------- v6 pricing: columns ---------- */
.pr-cols .ch-in { align-content: center; gap: clamp(14px, 2.6vh, 28px); }
.pr-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.pr-cols .title { font-size: clamp(28px, 2.9vw, 46px); }
.plans { display: grid; grid-template-columns: minmax(200px, 1.05fr) minmax(0, 4fr); gap: clamp(12px, 1.6vw, 22px); align-items: stretch; }
.pkgs { display: grid; grid-template-rows: auto 1fr; gap: 8px; }
.pkgs-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.plan-col { display: grid; align-content: start; gap: 8px; padding: clamp(14px, 1.6vw, 22px); border-radius: var(--radius); background: var(--glass-fill-dark); border: var(--glass-border-dark); box-shadow: var(--glass-shadow-dark);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.plan-col:hover { border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.plan-col .btn { justify-self: start; margin-top: auto; }
.plan-col.base { border-color: rgba(69,166,255,.55); }
.pkgs-head { padding-left: 2px; }
.pc-name { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--white-2); display: flex; gap: 8px; align-items: center; }
.pc-price { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.2vw, 34px); line-height: 1; letter-spacing: -.03em; color: var(--white); }
.plan-col.base .pc-price { font-size: clamp(30px, 2.8vw, 44px); }
.pc-price small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--white-2); margin-left: 4px; }
.plan-col.ent .pc-price { font-size: clamp(20px, 1.8vw, 26px); }
.pc-looks { font-size: 12px; color: var(--white); }
.pc-what { opacity: .8; }
.pc-list { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 4px; font-size: 11px; color: var(--white-2); }
.pc-list li::before { content: "– "; color: var(--accent); }
.pr-cols .pr-foot { display: flex; flex-wrap: wrap; gap: 6px 22px; }
@media (min-width: 761px) and (max-width: 1100px) { .plans { grid-template-columns: 1fr; } .pkgs-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pr-cols { height: auto; min-height: 100svh; } }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .pkgs-row { grid-template-columns: 1fr 1fr; } }

/* pricing columns: one column for the whole chapter (the v4 two-column layout no longer applies) */
.pr-cols .ch-in { grid-template-columns: minmax(0, 1fr) !important; }
.pr-cols .plans { max-width: 1240px; width: 100%; }
/* the cloth, a little more visible: a twill you can see, light from the top right */
.ch-bg.cloth { background:
    radial-gradient(80% 70% at 78% 18%, rgba(255,255,255,.09), transparent 60%),
    repeating-linear-gradient(62deg, rgba(255,255,255,.055) 0 1.2px, transparent 1.2px 3.6px),
    repeating-linear-gradient(-28deg, rgba(0,0,0,.45) 0 1.5px, transparent 1.5px 4.5px),
    repeating-linear-gradient(62deg, transparent 0 11px, rgba(255,255,255,.035) 11px 12px),
    linear-gradient(160deg, #22201e 0%, #151413 55%, #0b0b0a 100%); }

.ch-bg.cloth::before { content: ""; position: absolute; inset: 0; background:
    linear-gradient(118deg, transparent 22%, rgba(255,255,255,.045) 34%, transparent 46%),
    linear-gradient(112deg, transparent 58%, rgba(255,255,255,.035) 68%, transparent 78%),
    linear-gradient(124deg, transparent 4%, rgba(0,0,0,.35) 16%, transparent 28%); }

/* ---------- v6 the loader: the symbol on a canvas, a gap travelling along its strokes ---------- */
.msym.live { background: none !important; -webkit-mask: none !important; mask: none !important; animation: none !important; position: relative; color: #fff; }
.msym.live > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.st-busy .msym.live, .inst-app .msym.live { color: var(--ink); }

/* landscape tablets: the mini store and the shopper chapter stay side by side */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) {
  .try-stage { grid-template-columns: minmax(190px, 230px) minmax(0, 1fr); column-gap: 20px; }
  .try-ch .ch-head .title { font-size: 24px; }
  .try-ch .ch-head .lead { font-size: 13px; }
  .try-wrap { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
  .try-photo, .try-photo img { width: 66px; } .try-photo img { height: 82px; }
  .browser { width: 100%; max-height: calc(100svh - var(--nav) - 90px); }
  .shop-ch .ch-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); column-gap: 24px; }
  .shop-ch .sh-card { width: 170px; padding: 8px; }
}

/* ================= v6 review fixes (chief of design, 9 Nov 2026) ================= */
/* 1. the cookie note: one slim row */
.cookie-note { display: flex; align-items: center; gap: 12px; bottom: 16px; max-width: min(560px, 100% - 2 * var(--gutter)); padding: 8px 8px 8px 18px; }
.cookie-note p, .cookie-note .label { margin: 0; font-size: 11px; line-height: 1.4; }
@media (max-width: 760px) { .cookie-note { flex-wrap: wrap; bottom: 8px; } }
/* 2. hero: three title lines, the steps as a row */
.hero .ch-head { max-width: min(900px, 62vw); }
.hero .ch-in { grid-template-columns: minmax(0, 62vw); }
.hero .display { font-size: clamp(40px, 4.6vw, 76px); text-wrap: balance; }
.hero-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 600px; border-top: 1px solid var(--line); padding-top: 12px; }
.hero-how li { display: grid; gap: 6px; font-size: 13px; align-items: start; }
@media (max-width: 760px) { .hero .ch-head, .hero .ch-in { max-width: none; grid-template-columns: 1fr; } .hero-how { grid-template-columns: 1fr; gap: 6px; } .hero-how li { display: flex; gap: 8px; } }
/* 3. mini store: the tools live in the store's toolbar, never on the clothes */
.st-title { align-items: center; min-height: 56px; }
.st-tools { position: relative; display: grid; justify-items: end; }
.st-tools > .st-btn, .st-tools > .st-switch { grid-area: 1 / 1; position: static; }
.st-tools .try-arrow { right: calc(100% + 10px); top: 50%; bottom: auto; transform: translateY(-50%); }
@keyframes bob { 0%, 100% { transform: translate(0, -50%); } 50% { transform: translate(-5px, -50%); } }
@media (max-width: 760px) { .st-tools .try-arrow { right: 0; top: auto; bottom: calc(100% + 8px); transform: none; } @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } } }
/* 4. the guidance sits where the drop happens */
.try-ch[data-step="1"]:not(.photos-in) .st-slot:not(:has(img)) { border-color: var(--accent); animation: slot-pulse 1.6s var(--ease) infinite; }
@keyframes slot-pulse { 50% { background: rgba(69,166,255,.10); } }
.try-ch[data-step="1"]:not(.photos-in) .try-photo:not(.used) { animation: nudge-x 1.4s var(--ease) infinite; }
@keyframes nudge-x { 50% { transform: translateX(6px); } }
.try-tray > .label:first-child { width: 120px; }
.st-slot .label { text-align: center; padding: 0 6px; }
/* 5. pricing: the plan stands on its own */
.plan-side { display: grid; grid-template-rows: auto 1fr; gap: 8px; }
.plans { grid-template-columns: minmax(250px, 1.35fr) minmax(0, 4fr); column-gap: clamp(28px, 3.2vw, 52px); }
.plan-col.base { background: linear-gradient(180deg, rgba(69,166,255,.12), rgba(69,166,255,.03) 60%), var(--glass-fill-dark); border-color: rgba(69,166,255,.7); }
.pkgs .pc-price { font-size: clamp(20px, 1.75vw, 28px); }
.pc-price { white-space: nowrap; }
.pc-price small { display: block; margin: 6px 0 0; }
.pc-name, .plan-col .btn { white-space: nowrap; }
/* 6. pricing fits a landscape tablet */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) {
  .plans { grid-template-columns: minmax(230px, 1fr) minmax(0, 2fr); }
  .pkgs-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkgs-row .pc-what { display: none; }
  .pr-cols { height: 100svh; min-height: 0; }
}
/* 7. the facts cloth: draped dark cloth with a visible twill */
.ch-bg.cloth { background:
  radial-gradient(60% 120% at 22% -10%, rgba(255,255,255,.10), transparent 60%),
  linear-gradient(108deg, transparent 8%, rgba(255,255,255,.16) 20%, rgba(0,0,0,.55) 31%, transparent 38%, rgba(255,255,255,.12) 50%, rgba(0,0,0,.6) 60%, transparent 68%, rgba(255,255,255,.14) 80%, rgba(0,0,0,.5) 90%, transparent 100%),
  repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 1px, transparent 1px 3px),
  repeating-linear-gradient(-45deg, rgba(0,0,0,.45) 0 1px, transparent 1px 3px),
  linear-gradient(160deg, #2b2927 0%, #1a1918 55%, #0d0d0c 100%); }
.ch-bg.cloth::before { display: none; }
.ch-bg.cloth::after { opacity: .55; }
/* 8. tablets and phones: the mini store's steps become a 4-part progress bar */
@media (max-width: 1100px) {
  .try-ch .steps { display: flex; gap: 6px; }
  .try-ch .steps button { flex: 1; min-height: 44px; border: 0; border-top: 2px solid rgba(255,255,255,.2); justify-content: center; }
  .try-ch .steps button[aria-pressed="true"] { border-top-color: var(--white); }
}
@media (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) { .try-ch .browser { aspect-ratio: 16 / 10; } }
@media (max-width: 760px) { .try-ch .ch-head > .label:last-child { order: 3; } }
/* 9. portrait: no compare line through the title */
@media (max-width: 1100px) and (orientation: portrait) { .cmp-line { display: none; } }
/* 10. the nav shows on the home hero too; only its two buttons wait (the hero has them) */
html.on-hero .nav > .btn { opacity: 0 !important; pointer-events: none !important; }
.nav-links li:last-child { margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
@media (max-width: 760px) { .nav-links li:last-child { margin-left: 0; padding-left: 0; border-left: 0; } }

@media (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) { .try-tray > .label:first-child { width: 70px; } .try-wrap { grid-template-columns: 74px minmax(0, 1fr); } }

@media (max-width: 760px), (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) { .plans { grid-template-columns: 1fr; } }

/* 10 Nov (Tiago): the nav shows the symbol + wordmark, at the lockup's proportions */
.nav .brand { gap: 10px; }
.nav .brand .wm { width: 58px; height: auto; display: block; }
@media (max-width: 760px) { .nav .brand .wm { width: 50px; } }

/* 10 Nov (Tiago's comments): the language pill sits at the far right, as tall as the buttons */
.nav .lang-btn { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; margin-left: 4px; font-size: 11px; }

/* the mini store: the widget button floats at the bottom centre of the store, like the real widget, and pulses
   (no "press here" arrow); after the looks, the me/original switch takes its place and pulses until tried */
.br-page > .st-tools { position: absolute; left: 50%; bottom: clamp(12px, 1.8vw, 24px); transform: translateX(-50%); z-index: 3; display: grid; justify-items: center; }
.br-page > .st-tools > .st-btn, .br-page > .st-tools > .st-switch { grid-area: 1 / 1; position: static; white-space: nowrap; }
.br-page > .st-tools > .st-btn { box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.try-ch[data-step="0"] .st-btn { animation: widget-pulse 1.8s var(--ease) infinite; }
.try-ch.is-done:not(.flipped):not(.touched) .st-switch { animation: widget-pulse 1.8s var(--ease) infinite; border-radius: var(--pill); }
@keyframes widget-pulse {
  0% { box-shadow: 0 10px 28px rgba(0,0,0,.28), 0 0 0 0 rgba(69,166,255,.55); transform: scale(1); }
  50% { box-shadow: 0 10px 28px rgba(0,0,0,.28), 0 0 0 12px rgba(69,166,255,0); transform: scale(1.04); }
  100% { box-shadow: 0 10px 28px rgba(0,0,0,.28), 0 0 0 0 rgba(69,166,255,0); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .try-ch .st-btn, .try-ch .st-switch { animation: none !important; } }

/* the empty slots show a light grey face / body icon above the words */
.st-slot { align-content: center; justify-items: center; gap: 8px; }
.st-slot .st-ico { width: 38%; max-width: 54px; height: auto; color: var(--grey-2); }
.st-slot:has(img) .st-ico { display: none; }
.st-actions { justify-content: flex-end; }
/* the sample photos sit a little further from the store */
.try-wrap { gap: clamp(22px, 2.4vw, 36px); }
@media (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) { .try-wrap { gap: 18px; } }
@media (max-width: 760px) { .try-wrap { gap: 16px; } }
/* nav words never wrap (the wordmark made the tablet nav tight) */
.nav-links a, .nav > .btn { white-space: nowrap; }
/* narrow desktop / landscape tablet (861-1000px): no room for the wordmark beside the full nav */
@media (min-width: 861px) and (max-width: 1000px) {
  .nav .brand .wm { display: none; }
  .nav-links a { padding-left: 8px; padding-right: 8px; }
  .nav-links li:last-child { margin-left: 4px; padding-left: 8px; }
  .nav { gap: 12px; }
}

/* the wrong photo for a slot: the slot goes solid dark (no red in the tokens) while hovered, and the sheet shakes on drop (it won't take it) */
.st-slot.wrong { border-color: var(--ink); border-style: solid; background: var(--grey-1); }
.st-sheet.nope { animation: st-nope 480ms var(--ease); }
.st-slot.nope { border-color: var(--ink); border-style: solid; }
@keyframes st-nope { 0%, 100% { translate: 0 0; } 15% { translate: -10px 0; } 35% { translate: 9px 0; } 55% { translate: -6px 0; } 75% { translate: 4px 0; } }
@media (prefers-reduced-motion: reduce) { .st-sheet.nope { animation: none; } }

/* four gains (10 Nov: 'they try everything' added first): four across on wide screens, two by two on tablets */
.gains { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1240px; }
@media (min-width: 761px) and (max-width: 1100px) { .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) { .gains { grid-template-columns: 1fr; } }

/* the a/b switch has no "for tiago" label any more (10 Nov) */
.review-switch { padding: 4px; }

/* the "live on your store" dot pulses, like a live signal (Tiago, 10 Nov) */
.inst-live i { position: relative; animation: live-dot 1.6s var(--ease) infinite; }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 rgba(47,179,107,.55); } 70% { box-shadow: 0 0 0 10px rgba(47,179,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,179,107,0); } }
@media (prefers-reduced-motion: reduce) { .inst-live i { animation: none; } }

/* "two photos, once." card (Tiago, 10 Nov: review the checklist layout): the ticks show on the white card, the list
   lines up with the photos' left edge, one size, a hairline above */
.sh-card .checklist { gap: 7px; padding-top: 10px; border-top: 1px solid var(--grey-1); }
.sh-card .checklist li { gap: 8px; font-size: 11px; line-height: 1.2; letter-spacing: .02em; color: var(--ink); }
.sh-card .checklist li::before { width: 14px; height: 14px; border: 0; background: #2fb36b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6'/%3E%3C/svg%3E") center / 10px no-repeat; }
@media (max-width: 760px) { .sh-card .checklist li { font-size: 10px; } .sh-card .checklist { gap: 5px; padding-top: 6px; } }

/* the fine print has six cards since 10 Nov (tested on every kind of body, always up to date): three by two */
#hiw-details .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { #hiw-details .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { #hiw-details .features { grid-template-columns: 1fr; } }
#hiw-details .feature { min-height: 0; }

/* Korean (10 Nov, the 10th language): Space Mono and Opposit have no Hangul, so Korean falls back to clean system fonts */
html[lang="ko"] body { font-family: var(--font-mono), "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html[lang="ko"] .display, html[lang="ko"] .title { font-family: var(--font-display), "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; letter-spacing: 0; }
html[lang="ko"] :is(h1, h2, h3, .strong, .big) { word-break: keep-all; overflow-wrap: anywhere; }

/* pricing (Tiago, 10 Nov): the plan is not the highlighted one; 'growth' is, with a small 'recommended' tag */
.plan-col.base.plain { background: var(--glass-fill-dark); border-color: var(--line); }
.plan-col.hl { position: relative; background: linear-gradient(180deg, rgba(69,166,255,.12), rgba(69,166,255,.03) 60%), var(--glass-fill-dark); border-color: rgba(69,166,255,.7); }
.plan-col .pc-tag { position: absolute; top: -10px; left: 16px; padding: 3px 10px; border-radius: var(--pill); background: var(--accent); color: var(--ink); font-size: 10px; letter-spacing: .04em; }
/* all five frames the same size (Tiago, 10 Nov): the plan's column is exactly one package wide, the two heads share a
   height so the cards start and end on the same lines (wide screens only; tablets and phones keep their own layout) */
@media (min-width: 1101px) {
  .plans { --pg: clamp(28px, 3.2vw, 52px); grid-template-columns: calc((100% - var(--pg) - 30px) / 5) minmax(0, 1fr); column-gap: var(--pg); }
  .plan-side, .pkgs { grid-template-rows: 28px 1fr; }
  .plan-side > .pkgs-head, .pkgs > .pkgs-head { align-self: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .plan-col.base .pc-price { font-size: clamp(22px, 2vw, 30px); }
}
.plan-col { min-width: 0; }
.plan-col .pc-name { flex-wrap: wrap; row-gap: 4px; }
/* calmer cards (Tiago, 10 Nov: "a little overcrowded"): price, looks and the button stay full; the rest steps back */
.plan-col .pc-price small, .plan-col > .label, .plan-col .pc-list, .plan-col .pc-what { opacity: .5; }
.plan-col .pc-name { opacity: .75; }
.plan-col .pc-name .draft, .pkgs-head .draft { opacity: .6; }
.plans .pkgs-head { opacity: .55; }
.plan-col .pc-tag { opacity: 1; }

/* your panel has three steps since 10 Nov: results (sample data, lift figures blurred), your widget, usage & bills */
.panel-ch .cap { opacity: 0; visibility: hidden; }
.panel-ch[data-step="0"] .cap[data-cap="1"], .panel-ch[data-step="1"] .cap[data-cap="2"], .panel-ch[data-step="2"] .cap[data-cap="3"] { opacity: 1; visibility: visible; transform: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.panel-ch .ps-body img { opacity: 0; }
.panel-ch[data-step="0"] [data-shot="0"], .panel-ch[data-step="1"] [data-shot="1"], .panel-ch[data-step="2"] [data-shot="2"] { opacity: 1; }

/* prices follow the language (11 Nov): Brazil pays in reais (pix, boleto, card, nota fiscal, CNPJ); every other currency
   pays by card in its own currency (pricing session: international card provider, tbd). money.js sets html[data-currency]. */
html:not([data-currency="BRL"]) [data-cur="brl"] { display: none !important; }
html[data-currency="BRL"] [data-cur="intl"], html:not([data-currency]) [data-cur="intl"] { display: none !important; }
/* eval round 1 (19 Nov): channels that don't exist yet are plain lines, not dead links */
.links .ln-soon { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 52px; padding: 14px 0; border-top: 1px solid var(--line); opacity: .6; }
.links .ln-soon .strong { font-weight: 400; font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; }
