/* mantisvis.io v7 (12 Nov 2026): the story landing (What if → Why → What → How) and the shared v7 touches on every page.
   Loads after site.css and v7-system.css. Tiago's v7 notes: less rounded, an orthogonal grid, square tiles that build
   the titles, only the top bar fully filled. */

/* ---------- shared: square frames, the dark top bar ---------- */
.ch-bg { clip-path: inset(6% 5% round 2px); }
.ch.is-in .ch-bg { clip-path: inset(0 round 0px); }
.nav { background: #0d0d0c; border-bottom: 1px solid rgba(243,243,241,.10); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.nav::before { display: none; }
.btn { border-radius: 2px; }
.lang-btn { border-radius: 2px; }

/* a title built from the tile layer: the squares arrive, the title sits on the solid core */
.v7-titlebox { position: relative; display: grid; place-items: center; justify-self: center; margin-inline: auto;
  min-height: calc(var(--v7-tile) * 3); }
.v7-titlebox .v7-tiles { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.v7-titlebox .v7-t { position: relative; z-index: 2; color: var(--v7-ink); padding: 0 .4em; text-align: center; }
.v7-titlebox .v7-t > span { display: inline-block; opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease) 420ms, transform 700ms var(--ease) 420ms; }
.ch.is-in .v7-titlebox .v7-t > span { opacity: 1; transform: none; }
.ch.end .v7-titlebox { --v7-tile: clamp(52px, 5.4vw, 92px); margin: 0 auto; }

/* ---------- 01 · what if: the film ---------- */
.v7-hero .ch-bg { background: #e9e4e0; clip-path: none !important; }
.v7-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: opacity 700ms var(--ease); }
.v7-film .v7-hold { opacity: 0; }
.v7-film.holding .v7-hold { opacity: 1; }
.v7-hero .v7-veil { background: linear-gradient(90deg, rgba(243,241,238,.62) 0%, rgba(243,241,238,.34) 34%, rgba(243,241,238,0) 58%),
                                linear-gradient(180deg, rgba(13,13,12,.18) 0%, rgba(13,13,12,0) 18%); transition: opacity 600ms var(--ease); }
.v7-hero[data-step="1"] .v7-veil { opacity: 0; }
.v7-hero[data-step="3"] .v7-veil { background: linear-gradient(0deg, rgba(243,241,238,.78) 0%, rgba(243,241,238,.42) 30%, rgba(243,241,238,0) 56%); }
.v7-hero .v7-lines { position: absolute; inset: 0; display: block; padding: 0; }
.v7-hero .vl { position: absolute; left: var(--gutter); top: 50%; width: min(42vw, 640px); transform: translateY(-40%); opacity: 0;
  transition: opacity 600ms var(--ease), transform 900ms var(--ease); pointer-events: none; display: grid; gap: 14px; color: var(--v7-ink); }
.v7-hero .vl .label, .v7-hero .vl .lead { color: rgba(17,17,17,.68); }
.v7-hero .vl .display { color: var(--v7-ink); text-wrap: balance; }
.v7-hero .vl.right { left: auto; right: calc(var(--gutter) + var(--index-w)); text-align: right; width: min(36vw, 540px); }
.v7-hero .vl.right .display { color: var(--v7-off); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.v7-hero .vl.centre { left: 50%; top: auto; bottom: clamp(28px, 7vh, 72px); width: min(64vw, 920px); transform: translate(-50%, 24px); text-align: center; justify-items: center; }
.v7-hero[data-step="0"] .vl[data-line="0"], .v7-hero[data-step="1"] .vl[data-line="1"],
.v7-hero[data-step="2"] .vl[data-line="2"] { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.v7-hero[data-step="3"] .vl[data-line="3"] { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.v7-hero .vl .actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.v7-hero .vl .btn:not(.primary) { color: var(--v7-ink); border-color: rgba(17,17,17,.3); background: rgba(243,243,241,.5); }
.v7-dots { position: absolute; left: var(--gutter); bottom: clamp(18px, 3.6vh, 34px); display: flex; gap: 6px; z-index: 3; }
.v7-dots button { width: 22px; height: 22px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.v7-dots button::before { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: rgba(17,17,17,.25); transition: background 300ms; }
.v7-hero[data-step="0"] .v7-dots button:nth-child(1)::before, .v7-hero[data-step="1"] .v7-dots button:nth-child(2)::before,
.v7-hero[data-step="2"] .v7-dots button:nth-child(3)::before, .v7-hero[data-step="3"] .v7-dots button:nth-child(4)::before { background: var(--v7-ink); }
.v7-sound { position: absolute; right: calc(var(--gutter) + var(--index-w)); bottom: clamp(16px, 3.4vh, 32px); z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 12px; border: 1px solid rgba(17,17,17,.25); border-radius: 2px; background: rgba(243,243,241,.6); color: var(--v7-ink); cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.v7-sound .label { color: var(--v7-ink); }
.v7-sound i { width: 14px; height: 10px; background: linear-gradient(90deg, currentColor 2px, transparent 2px) 0 100% / 4px 100% repeat-x; opacity: .35; }
.v7-sound[aria-pressed="true"] i { opacity: 1; }
@media (max-width: 760px), (orientation: portrait) {
  .v7-film video { object-position: 62% 50%; }
  .v7-hero .vl, .v7-hero .vl.right, .v7-hero .vl.centre { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: clamp(70px, 12vh, 110px);
    text-align: left; justify-items: start; transform: translateY(16px); }
  .v7-hero[data-step="0"] .vl[data-line="0"], .v7-hero[data-step="1"] .vl[data-line="1"], .v7-hero[data-step="2"] .vl[data-line="2"],
  .v7-hero[data-step="3"] .vl[data-line="3"] { transform: none; }
  .v7-hero .vl.right .display { color: var(--v7-ink); text-shadow: none; }
  .v7-hero .v7-veil, .v7-hero[data-step="1"] .v7-veil { opacity: 1; background: linear-gradient(0deg, rgba(243,241,238,.86) 0%, rgba(243,241,238,.55) 34%, rgba(243,241,238,0) 62%); }
  .v7-hero .vl .actions { justify-content: flex-start; }
}

/* ---------- 02 · why: sourced charts on the dark grid ---------- */
.v7-dark { background: #0d0d0c !important; }
.v7-light { background: var(--v7-off) !important; }
.v7-why .ch-in { align-content: center; justify-items: center; gap: clamp(18px, 4vh, 44px); padding-right: calc(var(--gutter) + var(--index-w)); }
.v7-charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 56px); width: min(100%, 1180px); }
.v7-chart { margin: 0; display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid rgba(243,243,241,.18); }
.v7-chart svg { width: 100%; height: clamp(80px, 13vh, 140px); overflow: visible; }
.v7-chart .ax { stroke: rgba(243,243,241,.28); stroke-width: 1; fill: none; }
.v7-chart .ln-d { stroke: var(--v7-off); stroke-width: 1.6; fill: none; stroke-dasharray: 170; stroke-dashoffset: 170; transition: stroke-dashoffset 1400ms var(--ease) 500ms; }
.v7-chart circle { fill: var(--v7-off); }
.v7-chart.grow circle { opacity: 0; transition: opacity 400ms 1600ms; }
.v7-chart .b { fill: rgba(243,243,241,.34); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1100ms var(--ease); }
.v7-chart .b:nth-of-type(2) { transition-delay: 150ms; } .v7-chart .b.hi { fill: var(--v7-off); transition-delay: 300ms; }
.v7-chart .trk { fill: none; stroke: rgba(243,243,241,.16); stroke-width: 6; }
.v7-chart .arc { fill: none; stroke: var(--v7-off); stroke-width: 6; stroke-dasharray: 276.5; stroke-dashoffset: 276.5; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1600ms var(--ease) 400ms; }
.v7-chart.ring svg { width: auto; aspect-ratio: 1; justify-self: start; }
.ch.is-in .v7-chart .ln-d { stroke-dashoffset: 0; }
.ch.is-in .v7-chart.grow circle { opacity: 1; }
.ch.is-in .v7-chart .b { transform: none; }
.ch.is-in .v7-chart .arc { stroke-dashoffset: 146.5; } /* 47% of the ring */
.v7-n { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.3vw, 36px); line-height: 1; letter-spacing: -.02em; color: var(--v7-off); white-space: nowrap; }
.v7-chart .lead { max-width: 34ch; }
.v7-src { max-width: 1180px; width: 100%; opacity: .7; }
@media (max-width: 760px) { .v7-charts { grid-template-columns: 1fr; gap: 14px; } .v7-chart svg { height: 64px; } .v7-chart.ring svg { height: 64px; } }

/* ---------- 03 · what: the card band ---------- */
.v7-what .ch-in { align-content: center; gap: clamp(14px, 3vh, 30px); }
.v7-what .label, .v7-what .lead { color: rgba(17,17,17,.62); }
.v7-what .title { color: var(--v7-ink); }
.v7-caps { display: grid; }
.v7-caps > * { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease), transform 600ms var(--ease); max-width: 26ch; }
.v7-what[data-step="0"] [data-cap="0"], .v7-what[data-step="1"] [data-cap="1"], .v7-what[data-step="2"] [data-cap="2"] { opacity: 1; transform: none; }
.v7-band { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); align-items: center; height: min(52vh, 560px); }
.v7-card { position: relative; margin: 0; height: 78%; overflow: hidden; border-radius: 2px; background: #ddd; box-shadow: 0 18px 40px rgba(0,0,0,.14);
  transform: translateY(24px); opacity: 0; transition: transform 900ms var(--ease), opacity 700ms var(--ease), filter 700ms var(--ease), box-shadow 700ms; transition-delay: calc(var(--k) * 90ms); }
.v7-card.tall { height: 100%; }
.v7-card.odd { align-self: end; }
.ch.is-in .v7-card { transform: none; opacity: 1; }
.v7-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 700ms var(--ease), transform 1200ms var(--ease); transition-delay: calc(var(--k) * 110ms); }
.v7-card .me { opacity: 0; transform: scale(1.04); }
.v7-what[data-step="1"] .v7-card .me, .v7-what[data-step="2"] .v7-card .me { opacity: 1; transform: none; }
/* step 3: the ones they'd never have picked glow; the rest go quiet */
.v7-what[data-step="2"] .v7-card { filter: grayscale(1) brightness(1.06) contrast(.9); opacity: .55; }
.v7-what[data-step="2"] .v7-card:nth-child(2), .v7-what[data-step="2"] .v7-card:nth-child(4) { filter: none; opacity: 1; box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 0 60px rgba(69,166,255,.35), 0 24px 50px rgba(0,0,0,.2); }
.v7-what .steps button { color: rgba(17,17,17,.6); border-color: rgba(17,17,17,.18); }
.v7-what .steps button[aria-pressed="true"] { color: var(--v7-off); background: var(--v7-ink); }
@media (max-width: 760px) {
  .v7-band { grid-template-columns: repeat(5, 62vw); overflow-x: auto; height: 58vh; scroll-snap-type: x mandatory; }
  .v7-card { scroll-snap-align: center; }
}

/* ---------- 04 · how: the honest note ---------- */
.v7-note { opacity: .8; }

/* ---------- pricing pass: the price and key facts loud, everything else small; gentle fade in; hover switches dark ↔ off-white ---------- */
.plan-col { border-radius: 2px; transition: background 400ms var(--ease), color 400ms var(--ease), border-color 400ms, transform 400ms var(--ease), opacity 700ms var(--ease); }
.js .ch .plan-col { opacity: 0; transform: translateY(14px); }
.js .ch.is-in .plan-col { opacity: 1; transform: none; }
.js .ch.is-in .plans .plan-col:nth-child(1) { transition-delay: 0ms, 0ms, 0ms, 80ms, 80ms; }
.js .ch.is-in .pkgs-row .plan-col:nth-child(1) { transition-delay: 0ms, 0ms, 0ms, 160ms, 160ms; }
.js .ch.is-in .pkgs-row .plan-col:nth-child(2) { transition-delay: 0ms, 0ms, 0ms, 240ms, 240ms; }
.js .ch.is-in .pkgs-row .plan-col:nth-child(3) { transition-delay: 0ms, 0ms, 0ms, 320ms, 320ms; }
.js .ch.is-in .pkgs-row .plan-col:nth-child(4) { transition-delay: 0ms, 0ms, 0ms, 400ms, 400ms; }
.pc-price { font-size: clamp(28px, 2.6vw, 42px); }
.plan-col:hover { background: var(--v7-off); color: var(--v7-ink); border-color: var(--v7-off); transform: translateY(-2px); }
.plan-col:hover .pc-price, .plan-col:hover .pc-name, .plan-col:hover .pc-looks, .plan-col:hover .label, .plan-col:hover li, .plan-col:hover .pc-what,
.plan-col:hover .pc-price small { color: var(--v7-ink); }
.plan-col:hover .btn:not(.primary) { color: var(--v7-ink); border-color: rgba(17,17,17,.3); }
.plan-col .pc-tag { border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .js .ch .plan-col, .v7-card, .v7-hero .vl { transition: none; } }

.v7-sound[hidden] { display: none; }
/* the grid on a chapter: keep the chapter's own layers in place (the shared .v7-grid makes children relative) */
.ch.v7-grid > .ch-bg { position: absolute; z-index: -2; }
.ch.v7-grid > .ch-scrim { position: absolute; z-index: -1; }
.ch.v7-grid::before { z-index: -1; }
.ch.v7-grid > .ch-in { position: relative; z-index: 1; }
.v7-what .v7-band { height: min(46vh, 500px); }
.v7-what .v7-what-steps { display: flex; flex-wrap: wrap; gap: 6px; width: auto; justify-self: start; grid-template-columns: none; }
.v7-what .v7-what-steps button { width: auto; flex: 0 0 auto; display: inline-flex; gap: 8px; padding: 8px 12px; border: 1px solid rgba(17,17,17,.18); border-radius: 2px; background: transparent; }
.v7-why .v7-titlebox { --v7-tile: clamp(44px, 4.6vw, 88px); }
.ch.end .v7-titlebox { --v7-tile: clamp(40px, 4vw, 76px); }

/* ===== v7 design system, shared (12 Nov 2026, round 4): the squares, the arrival overlay, the closing band, the sound ===== */
:root { --v7-off: #F3F3F1; --v7-ink: #111111; }
.sc-tiles { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.sc-tiles i { position: absolute; width: var(--sz); height: var(--sz); background: transparent;
  transition: background-color 220ms var(--ease), -webkit-backdrop-filter 220ms, backdrop-filter 220ms; }
/* glass first, then solid off-white; each square has its own opacity (--a), so the field reads as a gradient made of squares */
.sc-tiles i.g { background: rgba(243,243,241, calc(var(--ta, .6) * .22)); -webkit-backdrop-filter: blur(9px) saturate(115%); backdrop-filter: blur(9px) saturate(115%); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.18); }
.sc-tiles i.s { background: rgba(243,243,241, var(--ta, .94)); }
.sc-tiles i.s[style*="--ta: 0.1"], .sc-tiles i.s[style*="--ta: 0.2"], .sc-tiles i.s[style*="--ta: 0.3"] { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sc-card { position: absolute; z-index: 5; display: grid; align-content: center; gap: clamp(14px, 2.2vh, 26px); padding: 0 clamp(16px, 2vw, 32px); color: var(--v7-ink);
  opacity: 0; transform: translateY(16px); transition: opacity 450ms var(--ease) 120ms, transform 600ms var(--ease) 120ms; pointer-events: none; }
.sc-card.on { opacity: 1; transform: none; pointer-events: auto; }
.sc-h { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 6.4vw, 118px); line-height: .92; letter-spacing: -.035em; color: var(--v7-ink); margin: 0; }
.sc-h.small { font-size: clamp(28px, 3.2vw, 56px); line-height: 1; }
.sc-lead { font-family: var(--font-mono); font-size: clamp(13px, .95vw, 16px); line-height: 1.55; color: rgba(17,17,17,.68); max-width: 38ch; margin: 0; }
.sc-sym { width: 64px; height: auto; }
/* other pages: every chapter arrives through the squares, carrying its name */
.v7-ov { position: fixed; inset: 0; z-index: 35; pointer-events: none; visibility: hidden; }
.v7-ov.on { visibility: visible; }
.v7-ov .sc-tiles { position: absolute; }
/* other pages: the closing band of squares, low at the bottom right, rising to the top left; the line and footer sit in it */
@media (min-width: 761px) {
  .ch.end.v7-end > .sc-tiles { z-index: 3; }
  .ch.end.v7-end > .ch-in { position: relative; z-index: 5; }
  .ch.end.v7-end .title, .ch.end.v7-end .footer, .ch.end.v7-end .footer a, .ch.end.v7-end .footer li, .ch.end.v7-end .footer .label { transition: color 500ms var(--ease); }
  .ch.end.v7-end.tiled .title, .ch.end.v7-end.tiled .footer a, .ch.end.v7-end.tiled .footer li { color: var(--v7-ink); }
  .ch.end.v7-end.tiled .footer .label { color: rgba(17,17,17,.6); }
  .ch.end.v7-end.tiled .footer .btn { color: var(--v7-ink); border-color: rgba(17,17,17,.3); background: transparent; }
  .ch.end.v7-end.tiled .lockup .sym { filter: none; }
  .ch.end.v7-end .footer { background: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .ch.end.v7-end.tiled .footer .base, .ch.end.v7-end.tiled .footer .cols { border-color: rgba(17,17,17,.14) !important; }
}
@media (max-width: 760px) { .ch.end.v7-end > .sc-tiles { display: none; } }
/* the ambient sound toggle (all pages) */
.v7-snd { position: fixed; left: var(--gutter); bottom: clamp(14px, 2.6vh, 26px); z-index: 45; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 10px;
  border: 1px solid rgba(243,243,241,.28); border-radius: 0; background: rgba(12,12,11,.35); color: var(--v7-off); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.v7-snd .label { color: rgba(243,243,241,.85); }
.v7-snd i { width: 14px; height: 10px; background: linear-gradient(90deg, currentColor 2px, transparent 2px) 0 100% / 4px 100% repeat-x; opacity: .35; }
.v7-snd[aria-pressed="true"] i { opacity: 1; animation: v7snd 900ms ease-in-out infinite alternate; }
@keyframes v7snd { from { transform: scaleY(.5); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .sc-tiles i, .sc-card { transition: none !important; } .v7-snd[aria-pressed="true"] i { animation: none; } }
/* on the closing chapter the footer owns the bottom edge, so the sound toggle moves to the top right */
body:has(.ch.end.is-in) .v7-snd { bottom: auto; top: calc(var(--nav, 64px) + 16px); left: auto; right: var(--gutter); }
/* the new design system is orthogonal: square corners on every marketing page (scoped to pages built from chapters, so the
   brand area in app/ keeps its own look) */
body:has(main .ch) { --radius: 2px; --radius-sm: 2px; --s-radius: 2px; --pill: 2px; --s-card: 2px; }
body:has(main .ch) :is(.tile, .pp-main, .pp-thumbs img, .sheet-photos img, .product-card img, .person img, .loose, .choice, .co-panel input, .mini-pair img,
  .pd-qr, .pd-bar, .pd-code, .pd-card, .bar-fill, .bar-range, .pack .bar) { border-radius: 2px; }
/* the arrival overlay's title sits on a solid patch, so the page underneath never shows through it */
.v7-ov .sc-h { font-size: clamp(40px, 4.6vw, 88px); }
/* review: pick the soundtrack (shown only while the sound is on) */
.v7-trk { position: fixed; left: calc(var(--gutter) + 92px); bottom: clamp(14px, 2.6vh, 26px); z-index: 45; display: none; gap: 2px; }
body.snd-on .v7-trk { display: inline-flex; }
.v7-trk button { min-height: 32px; padding: 0 10px; border: 1px solid rgba(243,243,241,.28); border-radius: 0; background: rgba(12,12,11,.35); color: rgba(243,243,241,.7);
  font-family: var(--font-mono); font-size: 11px; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.v7-trk button[aria-pressed="true"] { background: var(--v7-off); color: var(--v7-ink); border-color: var(--v7-off); }
body:has(.ch.end.is-in) .v7-trk { bottom: auto; left: auto; top: calc(var(--nav, 64px) + 16px); right: calc(var(--gutter) + 92px); }
@media (max-width: 760px) { .v7-trk { left: var(--gutter); bottom: calc(clamp(14px, 2.6vh, 26px) + 38px); } }
/* other pages: one vertical background (the page's own chapter photos in one tall strip, blending into each other); it
   glides to the arriving chapter; the chapters' own photos step aside, their scrims stay for legibility */
.v7-vstrip { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #0d0d0c; pointer-events: none; }
.v7-vtrack { position: absolute; left: 0; right: 0; top: 0; transition: transform 1300ms cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.v7-vcell { position: relative; height: 100vh; }
.v7-vcell > img { position: absolute; left: 0; right: 0; top: -14vh; width: 100%; height: 128vh; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 13%, #000 87%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 13%, #000 87%, transparent 100%); }
body.v7-vbg main .ch { background: transparent; z-index: 1; }
body.v7-vbg main .ch > .ch-bg { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .v7-vtrack { transition: none; } }
/* how it works · your plan: a wide, horizontal frame (Tiago, 12 Nov comment "more horizontal rectangular frame"): the frame
   takes the wider column and its three notes sit side by side under the bar */
@media (min-width: 1101px) {
  .plan-ch .ch-in { grid-template-columns: minmax(0, .78fr) minmax(0, 1.5fr); }
  .plan-ch .plan-mock { width: 100%; max-width: 920px; justify-self: end; gap: clamp(14px, 2.2vh, 22px); padding: clamp(20px, 2.2vw, 32px) clamp(22px, 2.6vw, 40px); border-radius: 2px; }
  .plan-ch .pl-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 0; gap: 10px; }
  .plan-ch .pl-note { border-radius: 2px; }
}
/* how it works · your look: "make me the model" floats on the product photo's bottom-left corner, clear of "add to bag"
   (Tiago, 12 Nov comment: "this button is overlaying another") */
#hiw-button .store .float { right: auto; left: clamp(26px, 2.6vw, 40px); bottom: clamp(26px, 3.4vh, 40px); }
/* other pages' closing band: the secondary button reads in ink on the squares */
@media (min-width: 761px) { .ch.end.v7-end.tiled .ch-in .btn:not(.primary) { color: var(--v7-ink); border-color: rgba(17,17,17,.3); background: transparent; } }
/* pricing: the plan and the packages fill the page's width (Tiago, 12 Nov comment "fill the width of the page") */
.pr-cols .plans { max-width: none; width: 100%; }
.pr-cols .pr-top, .pr-cols .pr-foot { max-width: none; width: 100%; }

/* ===== round 5 (Tiago, 12 Nov late): lighter and more serene, like the film's opening ===== */
/* the top bar: off-white glass, ink words, the dark logo */
.nav { background: rgba(246,245,241,.88) !important; -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid rgba(20,20,19,.08) !important; box-shadow: 0 6px 24px rgba(60,45,30,.08) !important; }
.nav .brand img, .nav .brand .sym, .nav .brand .wm { filter: none !important; opacity: 1 !important; }
.nav .nav-links a, .nav .lang-btn, .nav .nav-toggle { color: #141413 !important; }
.nav .nav-links a:hover, .nav .nav-links a[aria-current="page"] { background: rgba(20,20,19,.06) !important; color: #141413 !important; }
.nav .btn:not(.primary) { color: #141413 !important; border-color: rgba(20,20,19,.22) !important; background: transparent !important; }
.nav .btn:not(.primary):hover { background: #141413 !important; color: #F3F3F1 !important; }
.nav .lang-btn { border-color: rgba(20,20,19,.22) !important; background: transparent !important; }
.nav .nav-toggle span { background: #141413 !important; }
/* the chapter index and the scroll hint read in ink on the light backgrounds */
.chx a, .chx .chx-num { color: rgba(20,20,19,.55); text-shadow: none !important; }
.chx a[aria-current="true"], .chx a[aria-current="true"] .chx-num { color: #141413; }
.chx .chx-tick { background: rgba(20,20,19,.35); }
.chx a[aria-current="true"] .chx-tick { background: #141413; }
.scroll-hint, .scroll-hint * { color: #141413 !important; border-color: rgba(20,20,19,.3) !important; }
/* the loader: light and warm, the symbol in ink */
.loader { background: #EDE8E0 !important; }
.loader .msym, .loader i.msym { color: #141413 !important; }
.loader-pct { color: rgba(20,20,19,.6) !important; }
/* other pages, round 5: one tall light cloth photo per page, panning per chapter, under a soft wash; words in ink */
.v7-vstrip.light { background: #d3c7b8; }
.v7-vstrip.light > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% calc(var(--sy, 0) * 100%);
  transition: object-position 1400ms cubic-bezier(.65, 0, .35, 1); }
.v7-vstrip.light::after { content: ""; position: absolute; inset: 0; background: rgba(247,244,238,.32); }
@media all /* v10: phones get the light pages too (was min-width 761px) */ {
  body.v7-light main .ch { --white: #141413; --white-2: rgba(20,20,19,.72); --white-3: rgba(20,20,19,.52); --line: rgba(20,20,19,.16); --line-2: rgba(20,20,19,.28); color: #141413; }
  body.v7-light main .ch, body.v7-light main .ch * { text-shadow: none !important; }
  body.v7-light main .ch > .ch-scrim { display: none; }
  body.v7-light main .ch .label { color: rgba(20,20,19,.62); }
}
@media all /* v10: phones get the light pages too (was min-width 761px) */ {
  /* light pages: panels are off-white tiles; hover flips them to ink with light words */
  body.v7-light .plan-col { background: rgba(246,245,241,.9) !important; border-color: rgba(20,20,19,.1) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 12px 34px rgba(60,45,30,.10); }
  body.v7-light .plan-col:hover { background: #141413 !important; border-color: #141413 !important; color: #F3F3F1;
    --white: #F3F3F1; --white-2: rgba(243,243,241,.74); --white-3: rgba(243,243,241,.55); --line: rgba(243,243,241,.16); --line-2: rgba(243,243,241,.3); }
  body.v7-light .plan-col:hover .pc-price, body.v7-light .plan-col:hover .pc-name, body.v7-light .plan-col:hover .pc-looks, body.v7-light .plan-col:hover .label,
  body.v7-light .plan-col:hover li, body.v7-light .plan-col:hover .pc-what, body.v7-light .plan-col:hover .pc-price small { color: #F3F3F1; }
  body.v7-light .plan-col:hover .btn:not(.primary) { color: #F3F3F1; border-color: rgba(243,243,241,.35); }
  body.v7-light main .btn:not(.primary) { color: #141413; border-color: rgba(20,20,19,.24); background: rgba(246,245,241,.5); }
  body.v7-light main .btn:not(.primary):hover { background: #141413; color: #F3F3F1; border-color: #141413; }
  body.v7-light main .seg { background: rgba(246,245,241,.75); border-color: rgba(20,20,19,.12); }
  body.v7-light main .seg button { color: rgba(20,20,19,.7); }
  body.v7-light main .seg button[aria-pressed="true"] { background: #141413; color: #F3F3F1; }
  body.v7-light main .tbd, body.v7-light main .draft { color: inherit; }
}
.v7-vstrip.light > img { filter: brightness(.9) saturate(1.06); }
@media all /* v10: phones get the light pages too (was min-width 761px) */ { body.v7-light .plan-col { background: rgba(247,246,242,.96) !important; border-color: rgba(20,20,19,.12) !important; } }
@media all /* v10: phones get the light pages too (was min-width 761px) */ {
  body.v7-light main .v7-lt { background: rgba(247,246,242,.94) !important; background-image: none !important; border-color: rgba(20,20,19,.12) !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 12px 34px rgba(60,45,30,.10) !important; color: #141413; }
  body.v7-light main .v7-lt input, body.v7-light main .v7-lt select, body.v7-light main .v7-lt textarea { background: #fff; color: #141413; border-color: rgba(20,20,19,.2); }
}
/* pop-ups are the squares themselves: a full-screen layer over the page; the form sits on solid squares, in ink */
dialog.glass-dialog.v7-pixdlg { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: hidden; color: #141413; animation: none !important;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
dialog.glass-dialog.v7-pixdlg::backdrop { background: rgba(240,236,228,.12); -webkit-backdrop-filter: none; backdrop-filter: none; }
dialog.v7-pixdlg > .sc-tiles { position: absolute; inset: 0; z-index: 1; margin: 0 !important; pointer-events: auto; }
dialog.v7-pixdlg > .v7-dlg-in { position: absolute; z-index: 2; margin: 0 !important; display: grid; align-content: center; gap: 14px;
  padding: clamp(16px, 1.6vw, 28px); color: #141413; opacity: 0; transform: translateY(10px); transition: opacity 420ms var(--ease) 260ms, transform 600ms var(--ease) 260ms; }
dialog.v7-pixdlg.v7-in > .v7-dlg-in { opacity: 1; transform: none; }
dialog.v7-pixdlg .v7-dlg-in > * + * { margin-top: 0; }
dialog.v7-pixdlg .title, dialog.v7-pixdlg .lead, dialog.v7-pixdlg .label, dialog.v7-pixdlg h2, dialog.v7-pixdlg p { color: #141413; text-shadow: none; }
dialog.v7-pixdlg .label { color: rgba(20,20,19,.62); }
dialog.v7-pixdlg .title { font-size: clamp(28px, 2.8vw, 46px); }
dialog.v7-pixdlg input, dialog.v7-pixdlg select, dialog.v7-pixdlg textarea { background: #fff !important; color: #141413 !important; border: 1px solid rgba(20,20,19,.22) !important; border-radius: 0 !important; }
dialog.v7-pixdlg select { background-image: linear-gradient(45deg, transparent 50%, #141413 50%), linear-gradient(135deg, #141413 50%, transparent 50%) !important; background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50% !important; background-size: 5px 5px !important; background-repeat: no-repeat !important; }
dialog.v7-pixdlg .btn:not(.primary) { color: #141413; border-color: rgba(20,20,19,.3); background: transparent; }
dialog.v7-pixdlg .btn { border-radius: 0; }
dialog.v7-pixdlg .dlg-x { position: absolute; top: clamp(10px, 1vw, 16px); right: clamp(10px, 1vw, 16px); color: #141413; border-color: rgba(20,20,19,.3); background: transparent; border-radius: 0; }
dialog.v7-pixdlg ul button { color: #141413; border-radius: 0; }
dialog.v7-pixdlg ul button[aria-pressed="true"] { background: #141413; color: #F3F3F1; }
dialog.v7-pixdlg ul button .c { color: inherit; opacity: .6; }
/* the page behind everything, the logo intro and the status pages: light and warm too */
html, body { background: #E9E4DC !important; }
.intro { background: #EDE8E0 !important; }
.intro img, .intro .sym, .intro svg { filter: none !important; }
.intro .msym, .intro i { color: #141413 !important; }
.ch-bg.plain { background: radial-gradient(120% 90% at 78% 18%, #F3EFE8 0%, #E6DFD4 46%, #D8CFC2 80%) !important; }
.ch:has(> .ch-bg.plain) { --white: #141413; --white-2: rgba(20,20,19,.72); --white-3: rgba(20,20,19,.52); --line: rgba(20,20,19,.16); --line-2: rgba(20,20,19,.28); color: #141413; }
.ch:has(> .ch-bg.plain), .ch:has(> .ch-bg.plain) * { text-shadow: none !important; }
.ch:has(> .ch-bg.plain) .btn:not(.primary) { color: #141413; border-color: rgba(20,20,19,.24); background: transparent; }
.intro.go { background-color: rgba(237,232,224,0) !important; }
.intro-mark img { filter: none !important; }

/* ===== round 6 (Tiago, 13 Nov): white words over the light cloth (a warm shade on the text side, like the film's opening),
   off-white tiles keep ink, primary buttons black, the index / scroll hint / sound in white ===== */
/* the chapter index: white at all times, no dark backing */
.chx::before { display: none !important; }
.chx a, .chx .chx-num, .chx .chx-name { color: rgba(255,255,255,.82) !important; text-shadow: 0 1px 10px rgba(50,36,24,.35) !important; }
.chx a[aria-current="true"], .chx a[aria-current="true"] .chx-num { color: #fff !important; }
.chx .chx-tick { background: rgba(255,255,255,.6) !important; }
.chx a[aria-current="true"] .chx-tick { background: #fff !important; }
.scroll-hint, .scroll-hint * { color: #fff !important; border-color: rgba(255,255,255,.6) !important; text-shadow: 0 1px 10px rgba(50,36,24,.35); }
/* the sound toggle and its switch: white */
.v7-snd { background: rgba(255,255,255,.88) !important; border-color: rgba(255,255,255,.9) !important; color: #141413 !important; }
.v7-snd .label { color: #141413 !important; }
.v7-trk button { background: rgba(255,255,255,.7) !important; color: #141413 !important; border-color: rgba(255,255,255,.85) !important; }
.v7-trk button[aria-pressed="true"] { background: #141413 !important; color: #fff !important; border-color: #141413 !important; }
/* primary buttons: black (blue no longer matches the mood) */
.btn.primary { background: #141413 !important; border-color: #141413 !important; color: #F3F3F1 !important; }
.btn.primary:hover, .btn.primary:focus-visible { background: #000 !important; border-color: #000 !important; color: #fff !important; }
/* other pages: white words on the cloth, ink inside the off-white tiles */
.v7-vstrip.light::after { background:
  linear-gradient(90deg, rgba(58,44,32,.46) 0%, rgba(58,44,32,.28) 38%, rgba(58,44,32,.12) 62%, rgba(58,44,32,.06) 100%),
  linear-gradient(180deg, rgba(58,44,32,.10) 0%, rgba(58,44,32,0) 30%, rgba(58,44,32,0) 75%, rgba(58,44,32,.14) 100%) !important; }
.v7-vstrip.light > img { filter: none !important; }
@media all /* v10: phones get the light pages too (was min-width 761px) */ {
  body.v7-light main .ch { --white: rgba(255,255,255,.96); --white-2: rgba(255,255,255,.84); --white-3: rgba(255,255,255,.66); --line: rgba(255,255,255,.3); --line-2: rgba(255,255,255,.45); color: #fff; }
  body.v7-light main .ch .label { color: rgba(255,255,255,.82); }
  body.v7-light main .ch :is(.title, .lead, .label, h1, h2, h3, p, li, span, .num) { text-shadow: 0 1px 16px rgba(50,36,24,.32) !important; }
  body.v7-light main .v7-lt, body.v7-light main .plan-col, body.v7-light main .v7-lt *, body.v7-light main .plan-col * { text-shadow: none !important; }
  body.v7-light main :is(.v7-lt, .plan-col) { --white: #141413; --white-2: rgba(20,20,19,.72); --white-3: rgba(20,20,19,.52); --line: rgba(20,20,19,.14); --line-2: rgba(20,20,19,.26); color: #141413; }
  body.v7-light main :is(.v7-lt, .plan-col) .label { color: rgba(20,20,19,.62); }
  body.v7-light main .plan-col:hover { --white: #F3F3F1; --white-2: rgba(243,243,241,.74); --white-3: rgba(243,243,241,.55); color: #F3F3F1; }
  body.v7-light main .plan-col:hover .label { color: rgba(243,243,241,.7); }
  body.v7-light main .btn:not(.primary) { color: #141413; border-color: #fff; background: rgba(255,255,255,.9); }
  body.v7-light main .btn:not(.primary):hover { background: #141413; color: #fff; border-color: #141413; }
  body.v7-light main .seg { background: rgba(255,255,255,.55); border-color: rgba(255,255,255,.7); }
}
/* round 6 pop-ups: compact, centred; the content block on solid squares */
dialog.v7-pixdlg > .v7-dlg-in { gap: 10px; padding: clamp(14px, 1.2vw, 22px); align-content: center; transition: opacity 320ms var(--ease) 200ms, transform 460ms var(--ease) 200ms; }
dialog.v7-pixdlg:not(.v7-in) > .v7-dlg-in { transition-delay: 0ms; transition-duration: 200ms; }
dialog.v7-pixdlg .title { font-size: clamp(22px, 1.9vw, 30px) !important; padding-right: 30px; }
dialog.v7-pixdlg .lead { font-size: 12.5px; line-height: 1.5; }
dialog.v7-pixdlg .form { gap: 8px !important; }
dialog.v7-pixdlg input, dialog.v7-pixdlg select { min-height: 38px !important; font-size: 12.5px !important; }
dialog.v7-pixdlg .dlg-x { top: 6px; right: 6px; width: 30px; height: 30px; }
dialog.v7-pixdlg.small ul { display: grid; gap: 2px; }
dialog.v7-pixdlg.small ul button { width: 100%; min-height: 34px; padding: 0 10px; display: flex; justify-content: space-between; border: 0; background: transparent; font-size: 12px; }
dialog.v7-pixdlg.small ul button:hover { background: rgba(20,20,19,.06); }
.v7-vstrip.light::after { background:
  linear-gradient(90deg, rgba(58,44,32,.56) 0%, rgba(58,44,32,.36) 36%, rgba(58,44,32,.16) 62%, rgba(58,44,32,.08) 100%),
  linear-gradient(180deg, rgba(58,44,32,.12) 0%, rgba(58,44,32,0) 30%, rgba(58,44,32,0) 72%, rgba(58,44,32,.18) 100%) !important; }
.v7-vstrip.light::after { background: linear-gradient(90deg, rgba(58,44,32,.46) 0%, rgba(58,44,32,.26) 34%, rgba(58,44,32,.08) 60%, rgba(58,44,32,.02) 100%), linear-gradient(180deg, rgba(58,44,32,.08) 0%, rgba(58,44,32,0) 28%, rgba(58,44,32,0) 74%, rgba(58,44,32,.12) 100%) !important; }
/* the pop-ups' own id rules (site.css) set a width and a dark panel: the pixel overlay wins */
#lang-panel.v7-pixdlg, #demo-dialog.v7-pixdlg { width: 100vw !important; height: 100vh !important; max-width: none !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
#lang-panel.v7-pixdlg ul { grid-template-columns: 1fr 1fr; gap: 2px; margin: 4px 0 0; }
#lang-panel.v7-pixdlg li button { color: #141413; min-height: 32px; padding: 6px 10px; border-radius: 0; background: transparent; }
#lang-panel.v7-pixdlg li button .n { font-size: 12px; }
#lang-panel.v7-pixdlg li button:hover { background: rgba(20,20,19,.06); color: #141413; }
#lang-panel.v7-pixdlg li button[aria-pressed="true"] { background: #141413; color: #fff; }
dialog.v7-pixdlg > .v7-dlg-in { min-height: 0 !important; top: 50% !important; translate: 0 -50%; }
@media all /* v10: phones get the light pages too (was min-width 761px) */ { body.v7-light main .ch.end.tiled, body.v7-light main .ch.end.tiled * { text-shadow: none !important; } body.v7-light main .ch.end.tiled .label { color: rgba(20,20,19,.62); } body.v7-light main .ch.end.tiled .btn:not(.primary) { border-color: rgba(20,20,19,.3); } }

/* v8 backgrounds (13 Nov): each inner page's landscape with a model; the second photo (only the person changes) fades in once */
.v7-vstrip.light > img { transition: object-position 1500ms cubic-bezier(.65, 0, .35, 1), opacity 1600ms var(--ease); }
.v7-vstrip.light > img.b { opacity: 0; }
.v7-vstrip.light.swap > img.b { opacity: 1; }
.v7-vstrip.light::after { background: linear-gradient(90deg, rgba(112,76,40,.42) 0%, rgba(120,84,46,.24) 36%, rgba(130,92,52,.06) 62%, rgba(130,92,52,0) 100%), linear-gradient(180deg, rgba(112,76,40,.10) 0%, rgba(112,76,40,0) 28%, rgba(112,76,40,0) 74%, rgba(112,76,40,.12) 100%) !important; }
.v7-vstrip.light > img { width: calc(100% * var(--zoom, 1)); max-width: none; left: 0; right: auto; }

/* v8 round 2 (13 Nov): the stacked background (MantisStack): photos stacked top to bottom, each melting into the next */
.v7-stack { position: absolute; left: 0; top: 0; width: calc(100% * var(--zoom, 1)); transition: transform 1700ms cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.v7-stack .pc { position: relative; width: 100%; aspect-ratio: 3072 / 5504; }
.v7-stack .pc.joined { margin-top: -17.917%;   /* 10% of the piece's height (height = width x 1.7917) */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%); mask-image: linear-gradient(180deg, transparent 0, #000 10%); }
.v7-stack img, .v7-strip .v7-stack img, .v7-vstrip.light .v7-stack img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; display: block; filter: none !important; transition: opacity 1600ms var(--ease); }
.v7-stack img.b { opacity: 0; }
.swap > .v7-stack img.b { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .v7-stack, .v7-stack img { transition: none !important; } }

/* v8 round 2 · pricing (Tiago, 13 Nov): one off-white frame, hairlines between the plans, everything on one grid; each plan
   plays in the order to read it: the price first, then its lines written in underneath, then the buttons (aligned at the bottom) */
@media (min-width: 761px) {
  body #pr-plans .plans { gap: 0 !important; column-gap: 0 !important; grid-template-columns: minmax(220px, 1fr) minmax(0, 4fr); background: rgba(246,245,241,.97); border: 1px solid rgba(20,20,19,.12); align-items: stretch; }
  body #pr-plans .plan-side, body #pr-plans .pkgs { display: grid; grid-template-rows: auto 1fr; gap: 0; }
  body #pr-plans .pkgs { border-left: 1px solid rgba(20,20,19,.12); }
  body #pr-plans .pkgs-head { margin: 0; padding: 14px clamp(14px, 1.4vw, 22px) 0; color: rgba(20,20,19,.55) !important; text-shadow: none !important; min-height: 2.6em; }
  body #pr-plans .pkgs-row { gap: 0 !important; }
  body.v7-light #pr-plans .plan-col, body #pr-plans .plan-col { position: relative; display: flex; flex-direction: column; gap: 8px; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; opacity: 1 !important; transform: none !important; padding: clamp(12px, 1.2vw, 18px) clamp(14px, 1.4vw, 22px) clamp(16px, 1.5vw, 22px); }
  body #pr-plans .pkgs-row .plan-col + .plan-col { border-left: 1px solid rgba(20,20,19,.12) !important; }
  body #pr-plans .plan-col.hl { background: rgba(20,20,19,.04) !important; }
  body.v7-light #pr-plans .plan-col:hover { background: rgba(20,20,19,.06) !important; color: #141413 !important; --white: #141413; --white-2: rgba(20,20,19,.72); --white-3: rgba(20,20,19,.52); }
  body.v7-light #pr-plans .plan-col:hover :is(.pc-price, .pc-name, .pc-looks, li, .pc-what, .pc-price small) { color: #141413 !important; }
  body.v7-light #pr-plans .plan-col:hover .label { color: rgba(20,20,19,.62) !important; }
  body.v7-light #pr-plans .plan-col:hover .btn:not(.primary) { color: #141413 !important; border-color: rgba(20,20,19,.3) !important; }
  body #pr-plans .pc-tag { position: absolute; top: clamp(12px, 1.2vw, 18px); right: clamp(14px, 1.4vw, 22px); margin: 0; }
  body #pr-plans .pc-price { font-family: var(--font-display); font-size: clamp(26px, 2.2vw, 40px); line-height: 1; letter-spacing: -.03em; color: #141413; margin: 6px 0 2px; }
  body #pr-plans .pc-price small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0; color: rgba(20,20,19,.55); margin-left: 4px; }
  body #pr-plans .plan-col .btn { margin-top: auto; align-self: stretch; justify-content: center; }
  body #pr-plans .pc-list { margin: 2px 0 6px; }
  /* the order of attention */
  body #pr-plans .pc-price { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 800ms var(--ease); }
  body #pr-plans .plan-col > :not(.pc-price):not(.btn):not(.pc-tag) { clip-path: inset(0 100% 0 0); transition: clip-path 800ms cubic-bezier(.4, 0, .2, 1); }
  body #pr-plans .plan-col .btn, body #pr-plans .pc-tag, body #pr-plans .pkgs-head, body #pr-plans .pr-foot { opacity: 0; transition: opacity 600ms var(--ease); }
  body #pr-plans.pr-play .pc-price { opacity: 1; transform: none; transition-delay: calc(200ms + var(--c, 0) * 120ms); }
  body #pr-plans.pr-play .plan-col > :not(.pc-price):not(.btn):not(.pc-tag) { clip-path: inset(0 0 0 0); transition-delay: calc(950ms + var(--c, 0) * 110ms + var(--r, 0) * 150ms); }
  body #pr-plans.pr-play .pkgs-head { opacity: 1; transition-delay: 700ms; }
  body #pr-plans.pr-play .pc-tag { opacity: 1; transition-delay: 1700ms; }
  body #pr-plans.pr-play .plan-col .btn { opacity: 1; transition-delay: calc(2100ms + var(--c, 0) * 90ms); }
  body #pr-plans.pr-play .pr-foot { opacity: 1; transition-delay: 2700ms; }
}
@media (prefers-reduced-motion: reduce) { body #pr-plans :is(.pc-price, .plan-col > *, .btn, .pc-tag, .pkgs-head, .pr-foot) { transition: none !important; } }
@media (min-width: 761px) {
  body #pr-plans .plan-col .pc-tag { left: auto !important; right: clamp(14px, 1.4vw, 22px) !important; width: auto !important; padding: 3px 7px !important; background: #141413 !important; color: #F3F3F1 !important; border: 0 !important; border-radius: 0 !important; font-size: 10px !important; line-height: 1.3 !important; }
}

/* ===================== v8 round 3 (13 Nov): no shadows anywhere (text included); the sound button lives in the top bar ===================== */
html body *, html body *::before, html body *::after { text-shadow: none !important; }
body :is(.v7-lt, .plan-col, .hw, .gain, .pb-frame, .browser, .win, .btn, .st-switch, .v7-snd, .nav, .sc-card, .v7-dlg-in, .glass-dialog, .modal, .menu, .card, .tile, .mock, .device, .phone, .store, .st-sheet, .try-photo, .seg, .lang-btn) { box-shadow: none !important; }
.v7-snd.in-nav { position: static !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; min-height: 32px; margin: 0 2px; background: transparent !important; border: 1px solid rgba(20,20,19,.22) !important; color: #141413 !important; }
.v7-snd.in-nav i { filter: none; }
body:has(.ch.end.is-in) .v7-snd.in-nav { top: auto !important; right: auto !important; }
.v7-trk { bottom: clamp(14px, 2.6vh, 26px); left: var(--gutter); }
/* how it works: the install chapter keeps clear of the man standing on the right (Tiago: "covered by the second section's frame") */
@media (min-width: 1101px) { body.v7-light .install-ch .ch-in { padding-right: calc(var(--gutter) + 20vw) !important; } }
/* how it works · what shoppers see (round 3): square corners, off-white with hairlines, and more motion: each look is wiped
   in from left to right, a scan line reads the two photos, the checks tick in as squares, the kept looks pulse once */
body.v7-light .shop-ch :is(.store, .store-bar, .tile, .sh-card, .sh-photos img, .switch, .switch button, .sh-kept) { border-radius: 0 !important; }
body.v7-light .shop-ch .store { background: #F6F5F1 !important; border: 1px solid rgba(20,20,19,.12) !important; }
body.v7-light .shop-ch .sh-card { background: #F6F5F1 !important; border: 1px solid rgba(20,20,19,.14) !important; color: #141413; }
body.v7-light .shop-ch .sh-photos { position: relative; overflow: hidden; }
body.v7-light .shop-ch .sh-photos::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(20,20,19,.7); opacity: 0; }
body.v7-light .shop-ch[data-step="0"].is-in .sh-photos::after { animation: sh-scan 1.5s cubic-bezier(.65, 0, .35, 1) 300ms 2 both; }
@keyframes sh-scan { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 2px); opacity: 0; } }
body.v7-light .shop-ch .checklist li::before { border-radius: 0 !important; border-color: rgba(20,20,19,.4) !important; }
body.v7-light .shop-ch .tile { overflow: hidden; }
body.v7-light .shop-ch .tile .me { opacity: 1 !important; clip-path: inset(0 100% 0 0); transition: clip-path 950ms cubic-bezier(.65, 0, .35, 1) var(--d, 0ms) !important; }
body.v7-light .shop-ch .store.is-me .tile .me { clip-path: inset(0 0 0 0); }
body.v7-light .shop-ch .tile::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #fff; opacity: 0; pointer-events: none; z-index: 2; }
body.v7-light .shop-ch .store.is-me .tile::after { animation: sh-wipe 950ms cubic-bezier(.65, 0, .35, 1) var(--d, 0ms) both; }
@keyframes sh-wipe { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 2px); opacity: 0; } }
body.v7-light .shop-ch[data-step="2"].is-in .tile { animation: sh-kept 900ms var(--ease) var(--d, 0ms) both; }
@keyframes sh-kept { 0%, 100% { outline: 0 solid rgba(20,20,19,0); } 50% { outline: 2px solid rgba(20,20,19,.8); outline-offset: -2px; } }
@media (prefers-reduced-motion: reduce) { body.v7-light .shop-ch :is(.sh-photos::after, .tile::after, .tile) { animation: none !important; } }
/* round 3: each inner page opens on a scene with a person on the right; its first two chapters keep their content to the left */
@media (min-width: 1101px) {
  body:is(.pg-pricing, .pg-about, .pg-contact) main > .ch:nth-of-type(-n+2) .ch-in { padding-right: calc(var(--gutter) + 21vw) !important; }
}
@media (min-width: 1101px) { body.pg-how-it-works main > .ch:nth-of-type(1) .ch-in { padding-right: calc(var(--gutter) + 21vw) !important; } }

/* ===================== v8 round 4 (13 Nov) ===================== */
/* the full bar animates in when it comes back (from chapter 2), item by item; the menu icon is two white lines top right */
.nav { transition: background-color 600ms var(--ease), border-color 600ms var(--ease), -webkit-backdrop-filter 600ms, backdrop-filter 600ms; }
.nav > * { transition: opacity 500ms var(--ease) calc(var(--i, 0) * 60ms), transform 650ms cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 60ms) !important; }
body.nav-min .nav:not(.open) > :not(.brand):not(.nav-toggle) { transform: translateY(-12px); }
.nav .brand img { transition: filter 500ms var(--ease); }
.nav .nav-toggle span { left: 11px; right: 11px; height: 1.5px; }
/* a light veil keeps the cloth quiet: the people's photos stay untouched, the cloth fades into a soft background */
.v7-stack .pc[class*="veil-"]::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.v7-stack .pc.veil-full::after { background: rgba(244, 241, 236, .62); }
.v7-stack .pc.veil-down::after { background: linear-gradient(180deg, rgba(244, 241, 236, 0) 38%, rgba(244, 241, 236, .4) 80%); }
.v7-stack .pc.veil-up::after { background: linear-gradient(180deg, rgba(244, 241, 236, .4) 20%, rgba(244, 241, 236, 0) 58%); }
.v7-stack .pc.veil-full img { filter: saturate(.7) !important; }
/* how it works · the fine print: each point answers the hover (ink fill, a line drawn under the title, the number slides) */
body.v7-light #hiw-details .feature { position: relative; transition: background-color 380ms var(--ease), color 380ms var(--ease), transform 480ms cubic-bezier(.2, .7, .2, 1); cursor: default; }
body.v7-light #hiw-details .feature .num { transition: transform 480ms cubic-bezier(.2, .7, .2, 1), color 380ms; display: inline-block; }
body.v7-light #hiw-details .feature .strong { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 520ms cubic-bezier(.2, .7, .2, 1), color 380ms; padding-bottom: 2px; }
body.v7-light #hiw-details .feature:hover { background: #141413 !important; color: #F3F3F1 !important; transform: translateY(-4px); }
body.v7-light #hiw-details .feature:hover :is(.num, .strong, .lead) { color: #F3F3F1 !important; }
body.v7-light #hiw-details .feature:hover .num { transform: translateX(6px); }
body.v7-light #hiw-details .feature:hover .strong { background-size: 100% 1px; }
@media (prefers-reduced-motion: reduce) { body.v7-light #hiw-details .feature, .nav > * { transition: none !important; } }
/* round 4b (Tiago): on how it works, about and contact the person stands in the middle; the first two chapters put their
   content on the left and on the right of a clear centre (pricing keeps its person on the right) */
@media (min-width: 1101px) {
  body:is(.pg-about, .pg-contact) main > .ch:nth-of-type(-n+2) .ch-in,
  body.pg-how-it-works main > .ch:nth-of-type(1) .ch-in, body.v7-light.pg-how-it-works .install-ch .ch-in {
    display: grid !important; grid-template-columns: minmax(0, 1fr) 26vw minmax(0, 1fr) !important; column-gap: 0 !important; align-items: center;
    padding-right: calc(var(--gutter) + var(--index-w)) !important; }
  body:is(.pg-about, .pg-contact) main > .ch:nth-of-type(-n+2) .ch-in > *,
  body.pg-how-it-works main > .ch:nth-of-type(1) .ch-in > *, body.v7-light.pg-how-it-works .install-ch .ch-in > * { grid-column: 1; min-width: 0; }
  body:is(.pg-about, .pg-contact) main > .ch:nth-of-type(-n+2) .ch-in > :not(:first-child),
  body.pg-how-it-works main > .ch:nth-of-type(1) .ch-in > :not(:first-child), body.v7-light.pg-how-it-works .install-ch .ch-in > :not(:first-child) { grid-column: 3; }
}

/* ===================== v9 (13 Nov) ===================== */
/* about · the people: one founder on each side of the person standing in the middle, each in an off-white tile with ink text */
@media (min-width: 1101px) {
  body.pg-about #ab-people .ch-in { grid-template-rows: auto auto; row-gap: clamp(18px, 3vh, 34px); align-content: center; }
  body.pg-about #ab-people .ch-head { grid-column: 1 !important; grid-row: 1; }
  body.pg-about #ab-people .people { display: contents; }
  body.pg-about #ab-people .person:nth-child(1) { grid-column: 1 !important; grid-row: 2; }
  body.pg-about #ab-people .person:nth-child(2) { grid-column: 3 !important; grid-row: 2; }
}
body.pg-about #ab-people .person { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: start; padding: clamp(14px, 1.4vw, 22px);
  background: rgba(247, 246, 242, .96) !important; color: #141413; border: 0; border-radius: 0; max-width: 460px; }
body.pg-about #ab-people .person img { width: 92px; height: 92px; object-fit: cover; border-radius: 0; filter: grayscale(.2); }
body.pg-about #ab-people .person :is(.strong, .lead) { color: #141413 !important; margin: 0; }
body.pg-about #ab-people .person .label { color: rgba(20, 20, 19, .6) !important; margin: 2px 0 6px; }
body.pg-about #ab-people .person .stack { display: grid; gap: 2px; }
/* the version of the site, quietly in the footer (Tiago: one version per round of changes) */
.v7-ver { opacity: .55; font-size: 10.5px; letter-spacing: .04em; }

/* ===================== v10 (15 Nov) ===================== */
/* phones page like the desktop wheel (site.js stepOnce): no native snap fighting the scripted moves */
html.touch-paged { scroll-snap-type: none !important; overscroll-behavior-y: none; }
/* phones: the bar keeps symbol + wordmark, a compact pricing button and the sound bars without their word */
@media (max-width: 520px) {
  .nav .btn.primary { margin-left: auto; padding-inline: 10px !important; font-size: 10.5px !important; min-height: 34px; }
  .nav .v7-snd.in-nav { padding: 0 8px; gap: 0; margin-left: 6px; }
  .nav .v7-snd.in-nav .label { display: none; }
  .nav .brand { flex: 0 0 auto; }
}
/* phones: one frame fills the screen, so on the text-heavy screens (for your store, the end band) the person sits behind
   the words; a light wash keeps the words readable there (desktop keeps the photo clear: the person stands beside the words) */
.v7-strip .v7-stack::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: rgba(244, 241, 236, .58); opacity: 0; transition: opacity 900ms var(--ease); }
@media (max-width: 760px) { .v7-strip:is([data-ch="home-proof"], [data-ch="home-end"]) .v7-stack::after { opacity: 1; } }
/* design review v10 (fixes 5, 10): phones */
@media (max-width: 760px) {
  #home-what .w-card img { object-position: 50% 12%; }
  .nav .btn.primary, .nav .v7-snd.in-nav { min-height: 44px; }
  body.v7-light main .ch.end .footer { background: #F6F5F1 !important; border-color: rgba(20, 20, 19, .12) !important; color: #141413; }
  body.v7-light main .ch.end .footer :is(a, li, p, span, .label) { color: #141413 !important; text-shadow: none !important; }
  body.v7-light main .ch.end .footer .label { color: rgba(20, 20, 19, .6) !important; }
}

/* ===================== site v10 · inner pages (15 Nov, Tiago's method) ===================== */
/* each page opens on a model frame; the words keep clear of the person (how it works: the seated man fills the right
   half, so the opening and install sit in the left 44%; contact: the man stands at 62-80%, so both columns sit in the
   left 58%; about keeps its clear centre; pricing's woman stands in the right fifth the plans already leave clear) */
@media (min-width: 1101px) {
  body.v7-light.pg-how-it-works main > .ch:nth-of-type(1) .ch-in,
  body.v7-light.pg-how-it-works main > .install-ch .ch-in {
    grid-template-columns: minmax(0, 1fr) !important; padding-right: calc(var(--gutter) + 54vw) !important;
    row-gap: clamp(14px, 2.4vh, 30px) !important; align-content: center; }
  body.v7-light.pg-how-it-works main > .ch:nth-of-type(1) .ch-in > *,
  body.v7-light.pg-how-it-works main > .install-ch .ch-in > * { grid-column: 1 !important; }
  body.v7-light.pg-how-it-works main > .install-ch .install { max-width: 100%; }
  body.v7-light.pg-contact main > .ch:nth-of-type(-n+2) .ch-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; column-gap: clamp(24px, 2.6vw, 52px) !important;
    padding-right: calc(var(--gutter) + 40vw) !important; }
  body.v7-light.pg-contact main > .ch:nth-of-type(-n+2) .ch-in > :not(:first-child) { grid-column: 2 !important; }
  body.v7-light.pg-contact #ct-find .ch-in > .ch-head { grid-column: 1 / -1 !important; }
  body.v7-light.pg-contact #ct-find .ch-in > .ch-head + .stack { grid-column: 1 !important; }
}

/* ===================== site v10 · phone set (16 Nov) ===================== */
/* portrait phones show their own tall photos: the person stands in the top third of the first two chapters' screen, so
   those chapters' words start halfway down (a chapter that grows taller than the screen pages on, one screen at a time) */
@media (max-width: 760px) and (orientation: portrait) {
  body.v7-light:is(.pg-how-it-works, .pg-about, .pg-contact, .pg-pricing) main > .ch:nth-of-type(-n+2) .ch-in { padding-top: 48vh !important; }
}

/* v10 (Tiago, 16 Nov, on his phone: "a hard swipe goes way down, a small one just a little; it should only go to the next
   step"): the browser never pans the page itself (touch-action: none), so the only movement is site.js's one swipe = one
   step. Things that scroll on their own keep their own gestures. */
html.touch-paged, html.touch-paged body { touch-action: none; overscroll-behavior: none; }
html.touch-paged :is(.packs, .v7-band, .fl-charts, .pr-cols .plans, .sh-photos) { touch-action: pan-x; }
html.touch-paged :is(dialog, .no-page, .nav.open, .menu, .mmenu, .lang-panel, #lang-panel, textarea) { touch-action: pan-y; }
html.touch-paged :is(input, select, button, a, label) { touch-action: manipulation; }

/* ===================== site v10 · phone restructure (Tiago via the hub, 17 Nov) ===================== */
/* "same story and structure as desktop, properly adapted to a vertical screen": one screen ~ one 9:16 frame. Each step
   chapter is a compact header, then its visual sized to fit the screen; the sideways row of step labels and the
   placeholder notes go (the swipe walks the steps; a row of dots shows where you are). Words are ink on a quiet cloth. */
.ph-dots { display: none; }
@media (max-width: 760px) and (orientation: portrait) {
  main .ch .ch-head > .steps, main .ch .ch-head > p.label:not(:first-child), main .ch .v7-note, main .ch .hw-note { display: none !important; }
  main .ch .ch-head { gap: 6px !important; }
  main .ch .ch-head .caps .title, main .ch .ch-head > .title { font-size: clamp(24px, 7.2vw, 30px) !important; line-height: 1.04 !important; }
  main .ch .ch-head .caps .lead, main .ch .ch-head > .lead { font-size: 12.5px !important; line-height: 1.5 !important; }
  .ph-dots { display: flex; gap: 6px; margin: 6px 0 2px; }
  .ph-dots i { width: 18px; height: 2px; background: rgba(20,20,19,.2); transition: background-color 300ms var(--ease), width 300ms var(--ease); }
  .ch[data-step="0"] .ph-dots i:nth-child(1), .ch[data-step="1"] .ph-dots i:nth-child(2), .ch[data-step="2"] .ph-dots i:nth-child(3),
  .ch[data-step="3"] .ph-dots i:nth-child(4), .ch[data-step="4"] .ph-dots i:nth-child(5) { background: #141413; width: 30px; }
  /* your panel: a 16:9 screenshot is unreadable at phone width, so the frame turns portrait and shows the panel's left side */
  .panel-ch .ps-body { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
  .panel-ch .ps-body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
  /* inner pages: the cloth gets quiet under a light veil (no warm shade), words are ink */
  body.v7-light .v7-vstrip.light::after { background: none !important; }
  body.v7-light .v7-vstrip .v7-stack .pc.veil-down::after { background: linear-gradient(180deg, rgba(244,241,236,0) 26%, rgba(244,241,236,.58) 64%, rgba(244,241,236,.66) 100%) !important; }
  body.v7-light main .ch { --white: rgba(20,20,19,.92); --white-2: rgba(20,20,19,.72); --white-3: rgba(20,20,19,.55); --line: rgba(20,20,19,.16); --line-2: rgba(20,20,19,.3); }
  body.v7-light .chx :is(a, .chx-num, .chx-name), body.v7-light .scroll-hint, body.v7-light .scroll-hint * { color: rgba(20,20,19,.62) !important; border-color: rgba(20,20,19,.3) !important; }
  /* the person's screen: chapter 1 everywhere, chapter 2 where its words fit under the person (how it works, about) */
  body.v7-light:is(.pg-how-it-works, .pg-about, .pg-contact, .pg-pricing) main > .ch:nth-of-type(-n+2) .ch-in { padding-top: 0 !important; }
  body.v7-light:is(.pg-how-it-works, .pg-about, .pg-contact, .pg-pricing) main > .ch:nth-of-type(1) .ch-in,
  body.v7-light:is(.pg-how-it-works, .pg-about) main > .ch:nth-of-type(2) .ch-in { padding-top: 46vh !important; }
}
@media (max-width: 760px) and (orientation: portrait) {
  .install .inst-body .label, .install .inst-body p:not(.inst-t) { color: rgba(20,20,19,.62) !important; }
  .install .inst-app { gap: 10px; } .install .inst-app .inst-t { font-size: 15px !important; line-height: 1.15 !important; }
}

/* 18 Nov · pricing follows Tiago's structure (pricing session): five package columns (starter, plus, growth, pro, enterprise).
   Wide screens put them in one row; small laptops three a row (enterprise takes two places); phones two a row (enterprise the full last row). */
@media (min-width: 1101px) { body #pr-plans .pkgs-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 1100px) { body #pr-plans .pkgs-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } body #pr-plans .pkgs-row .plan-col.ent { grid-column: span 2; } }
@media (max-width: 760px) { body #pr-plans .pkgs-row .plan-col.ent { grid-column: 1 / -1; } }
@media (min-width: 761px) { body #pr-plans .plan-col.ent .pc-price { white-space: normal; overflow-wrap: anywhere; line-height: 1.1; font-size: clamp(18px, 1.45vw, 26px); } }
/* the "recommended" tag no longer fits beside the name in five columns: it sits just above that plan's button instead (the
   lines above stay level with the other plans), and its words are light on the black tag */
@media (min-width: 1101px) {
  body #pr-plans .plan-col.hl .pc-tag { position: static !important; order: 9; margin-top: auto !important; align-self: flex-start; }
  body #pr-plans .plan-col.hl .btn { order: 10; margin-top: 8px !important; }
}
body.v7-light main #pr-plans .plan-col .pc-tag.label, body #pr-plans .plan-col .pc-tag { color: #F3F3F1 !important; }
/* a plan's "pick" turns black under the pointer: keep its word light (the plan's hover rule had made it ink on ink) */
body.v7-light #pr-plans .plan-col .btn:not(.primary):hover { color: #F3F3F1 !important; }
/* phones: the lines under the plans (build my own look, badge, rollover) sit straight on the photo, so they are ink */
@media (max-width: 760px) { body #pr-plans .pr-foot, body #pr-plans .pr-foot * { color: #141413 !important; text-shadow: none !important; } }

/* ---------- v8 "new" (18 Nov): two products on pricing, and the plan finder ---------- */
.pr-ctrls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.pr-ctrls .seg { margin: 0; }
.prod-switch button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
body.v7-light .pr-ctrls .seg { background: rgba(246,245,241,.92); border-color: rgba(20,20,19,.12); }
body.v7-light .pr-ctrls .seg button { color: #141413; text-shadow: none; }
body.v7-light .pr-ctrls .seg button[aria-pressed="true"] { background: #141413; color: #F3F3F1; }
.pf-open { white-space: nowrap; }
body[data-product="both"] .pf-one { display: none; }
body:not([data-product="both"]) .co-panel .both-line { display: none; }
.co-panel .both-line { cursor: default; }
.prod-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* the finder: a light card, dark words, no shadow on the words */
.pf-dialog { width: min(620px, 100% - 32px); background: rgba(247,246,242,.98) !important; color: #141413; border: 1px solid rgba(20,20,19,.12); }
.pf-dialog, .pf-dialog * { text-shadow: none !important; }
.pf-dialog .label { color: rgba(20,20,19,.58); }
.pf-dialog .title { color: #141413; }
.pf-dialog .dlg-x { color: #141413; border-color: rgba(20,20,19,.25); }
.pf-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; margin: 18px 0 20px; }
.pf-q { display: grid; gap: 6px; align-content: start; }
.pf-q:first-child { grid-column: 1 / -1; }
.pf-q[hidden] { display: none; }
.pf-q input { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid rgba(20,20,19,.25); background: #fff; color: #141413; border-radius: 0; width: 100%; }
.pf-q .seg { justify-self: start; background: #fff; border-color: rgba(20,20,19,.2); }
.pf-q .seg button { color: #141413; }
.pf-q .seg button[aria-pressed="true"] { background: #141413; color: #F3F3F1; }
.pf-note { margin: 0; font-size: 11px; line-height: 1.5; color: rgba(20,20,19,.62); }
.pf-result { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(20,20,19,.14); }
.pf-plan { margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pf-plan b { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.02em; }
.pf-plan .pf-price { font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.02em; }
.pf-plan small { font-size: 12px; color: rgba(20,20,19,.55); }
.pf-line { margin: 0; font-size: 12px; line-height: 1.55; color: #141413; }
.pf-line.faint { color: rgba(20,20,19,.6); }
.pf-line.warn { padding: 8px 10px; background: rgba(20,20,19,.05); border-left: 2px solid #141413; }
.pf-result .actions { display: flex; gap: 10px; margin-top: 6px; }
.pf-result .btn.primary { background: #141413; color: #F3F3F1; border-color: #141413; }
.pf-result .btn:not(.primary) { color: #141413; border-color: rgba(20,20,19,.3); }
.pf-dialog [hidden] { display: none !important; }
/* v8 · how it works 05 (studio): one real panel screen per step, in a plain frame, no shadow */
.hs-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; max-height: calc(100svh - var(--nav, 64px) - 120px); background: #F3F3F1; border: 1px solid rgba(20,20,19,.12); overflow: hidden; }
.hs-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 500ms var(--ease); }
.hs-frame img.on { opacity: 1; }

/* ---------- v8 round 2 (Tiago, 18 Nov): the three products, each with what it is and its lowest price ---------- */
.prod-cards { flex: 0 0 auto; display: grid; grid-template-columns: repeat(3, max-content); gap: 4px; padding: 4px; background: rgba(246,245,241,.92); border: 1px solid rgba(20,20,19,.12); }
.prod-cards .prod-card { display: grid; gap: 3px; width: clamp(160px, 12.6vw, 210px); padding: 8px 12px 9px; text-align: left; font: inherit; color: #141413; background: transparent; border: 0; border-radius: 0; cursor: pointer; text-shadow: none; transition: background 200ms var(--ease), color 200ms var(--ease); }
.prod-cards .prod-card:hover { background: rgba(20,20,19,.06); }
.prod-cards .pp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.prod-cards .pp-name { font-size: 13px; letter-spacing: .02em; }
.prod-cards .pp-from { font-size: 11px; white-space: nowrap; color: rgba(20,20,19,.72); }
.prod-cards .pp-what { font-size: 10.5px; line-height: 1.3; color: rgba(20,20,19,.58); }
.prod-cards .prod-card[aria-pressed="true"] { background: #141413; color: #F3F3F1; }
.prod-cards .prod-card[aria-pressed="true"] :is(.pp-from, .pp-what) { color: rgba(243,243,241,.78); }
body[data-billing="y"] .pp-from .bm, body:not([data-billing="y"]) .pp-from .by { display: none; }
/* text that belongs to one product only */
.for-st, .for-both { display: none; }
body[data-product="studio"] .for-lb, body[data-product="both"] .for-lb { display: none; }
body[data-product="studio"] .for-st, body[data-product="both"] .for-both { display: revert; }
body[data-product="studio"] ul.for-st, body[data-product="both"] ul.for-both { display: grid; }
#pr-plans .pc-plus { margin: -2px 0 2px; color: rgba(20,20,19,.62); }
#pr-plans .pc-plus[hidden] { display: none; }
#pr-plans .pr-what { max-width: 64ch; }
/* the top of the pricing chapter: the title with the plan finder on its right; under them one row with the three products
   (they share the room) and monthly / yearly */
@media (min-width: 761px) {
  body #pr-plans .pr-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head find" "ctrls ctrls"; gap: 14px 24px; align-items: end; }
  body #pr-plans .pr-top .ch-head { grid-area: head; max-width: none; min-width: 0; }
  body #pr-plans .pr-top .pf-open { grid-area: find; justify-self: end; margin-bottom: 6px; }
  body #pr-plans .pr-top .pr-ctrls { grid-area: ctrls; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; width: 100%; }
  body #pr-plans .prod-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body #pr-plans .prod-cards .prod-card { width: auto; min-width: 0; }
  body #pr-plans .pr-ctrls .seg, body #pr-plans .pr-ctrls .pf-open { align-self: center; }
}
.prod-cards .pp-top { flex-wrap: wrap; row-gap: 1px; }
@media (min-width: 761px) and (max-height: 820px) { body #pr-plans .pr-what, body #pr-plans .prod-cards .pp-what { display: none; } }
/* small laptops: the title gets the full width (the finder sits beside it only where both fit on one line) */
@media (min-width: 761px) and (max-width: 1365px) { body #pr-plans .pr-top .ch-head .title { font-size: clamp(24px, 2.25vw, 34px); } body #pr-plans .pr-top .pf-open { padding-inline: 14px; font-size: 11px; } }
@media (max-width: 760px) { .prod-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; } .prod-cards .prod-card { width: auto; } .prod-cards .pp-top { display: grid; gap: 2px; } }

/* v8 round 2 (Tiago, 18 Nov): the plan finder's answer stands out: a dark card with the plan's name, its price large and
   the button to start with it (light words on the dark card; the details stay below on the light dialog) */
.pf-dialog .pf-result { gap: 10px; }
.pf-dialog .pf-answer { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "price" "act"; align-items: end; gap: 6px; padding: 16px 20px 18px; background: #141413; color: #F3F3F1; }
.pf-dialog .pf-answer .pf-ans-k { grid-area: k; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin: 0; color: rgba(243,243,241,.62); }
.pf-dialog .pf-answer .pf-name { font-weight: 400; color: #F3F3F1; }
.pf-dialog .pf-answer .pf-big { grid-area: price; margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-width: 0; }
.pf-dialog .pf-answer .pf-price { font-family: var(--font-display); font-size: clamp(40px, 4.2vw, 60px); line-height: 1; letter-spacing: -.03em; color: #F3F3F1; }
.pf-dialog.pf-talking .pf-answer .pf-price { font-size: clamp(28px, 2.8vw, 40px); }
.pf-dialog .pf-answer .pf-big small { font-size: 12px; color: rgba(243,243,241,.62); }
.pf-dialog .pf-answer .actions { grid-area: act; margin: 8px 0 0; justify-content: flex-start; }
.pf-dialog .pf-answer .btn, body.v7-light .pf-dialog .pf-answer .btn { background: #F3F3F1 !important; color: #141413 !important; border: 1px solid #F3F3F1 !important; }
.pf-dialog .pf-answer .btn:hover, body.v7-light .pf-dialog .pf-answer .btn:hover { background: #fff !important; color: #141413 !important; }
/* eval round 1 (19 Nov): the "all prices draft" tag and the notes under the price table were light words on a light photo:
   ink now, no shadow (Tiago's rule: dark words on a light surface never have a shadow) */
body #pr-plans .pkgs-head .draft { opacity: 1 !important; }
body #pr-plans .pkgs-head .draft::after { color: rgba(20,20,19,.72) !important; border-color: rgba(20,20,19,.3) !important; background: rgba(246,245,241,.9); text-shadow: none !important; }
body #pr-plans .pr-foot, body #pr-plans .pr-foot * { color: rgba(20,20,19,.84) !important; text-shadow: none !important; }
body #pr-plans .pr-foot { padding: 8px 12px; background: rgba(246,245,241,.82); width: fit-content; max-width: 100%; }
/* PERF-05: phones stack the three products, one line each (name and "from" price); the one-line description waits for wider screens */
@media (max-width: 600px) {
  body #pr-plans .prod-cards, .prod-cards { grid-template-columns: 1fr !important; width: 100%; }
  .prod-cards .prod-card { width: auto !important; padding: 9px 12px; }
  .prod-cards .pp-top { display: flex !important; justify-content: space-between; flex-wrap: nowrap; }
  .prod-cards .pp-what { display: none; }
  body #pr-plans .pr-top .pr-ctrls { grid-template-columns: 1fr !important; }
}
/* eval round 1 (WEBC-06, 19 Nov): the interim legal drafts, readable in a panel that scrolls by itself (the wheel scrolls the
   text, .no-page), light card, ink words, open points marked */
.legal-ch .legal-doc { max-height: calc(100svh - var(--nav, 64px) - 250px); min-height: 220px; overflow: auto; overscroll-behavior: contain; width: min(100%, 860px);
  padding: 18px 22px 22px; background: rgba(247,246,242,.95); border: 1px solid rgba(20,20,19,.12); color: #141413; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; }
.legal-ch .legal-doc, .legal-ch .legal-doc * { text-shadow: none !important; }
.legal-ch .legal-doc h3 { margin: 18px 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 19px; letter-spacing: -.01em; color: #141413; }
.legal-ch .legal-doc h3:first-child { margin-top: 0; }
.legal-ch .legal-doc p, .legal-ch .legal-doc li { margin: 0 0 6px; color: rgba(20,20,19,.86); }
.legal-ch .legal-doc ul { margin: 0 0 8px; padding-left: 18px; }
.legal-ch .legal-doc b { font-weight: 700; color: #141413; }
.legal-ch .legal-doc .lg-open { background: rgba(20,20,19,.07); border-bottom: 1px dashed rgba(20,20,19,.4); color: rgba(20,20,19,.7); }
.legal-ch .legal-doc:focus-visible { outline: 2px solid #141413; outline-offset: 2px; }

/* round 5 (21 Nov): the nav carries lookbook and studio too; on laptops narrower than 1366 the links tighten so the logo keeps its room */
@media (min-width: 1101px) and (max-width: 1365px) {
  .nav .nav-links { gap: 0; }
  .nav .nav-links a { padding-left: 9px !important; padding-right: 9px !important; font-size: 12px !important; letter-spacing: 0 !important; }
  .nav > .btn, .nav .v7-snd { padding-left: 11px !important; padding-right: 11px !important; }
}

/* ===================== v8 round 6 (Tiago, 21 Nov) ===================== */
/* contact, first screen: three columns. Title, choices and the email note on the left; the form in a frame in the centre;
   the right third stays clear for the man in the background (his x is .71 of the frame) */
@media (min-width: 1101px) {
  body.v7-light.pg-contact #ct-form .ch-in { grid-template-columns: minmax(0, 1fr) min(28vw, 520px) 37vw !important;
    column-gap: clamp(28px, 3vw, 60px) !important; padding-right: 0 !important; align-items: center; }
  body.v7-light.pg-contact #ct-form .ch-in > .ch-head { grid-column: 1 !important; }
  body.v7-light.pg-contact #ct-form .ch-in > .form { grid-column: 2 !important; max-width: none; }
}
#ct-form .ct-note { margin-top: clamp(10px, 2vh, 22px); max-width: 34ch; }
/* pricing (round 6, Tiago: "simplify it a lot"): the products are names only; the plan keeps the one big price; the
   packages and enterprise read as a quiet list, one row each (name · looks · price · pick), no per-look prices, no badge */
@media (min-width: 1101px) {
  body #pr-plans .pkgs-row { grid-template-columns: 1fr !important; align-content: center; padding: 6px clamp(16px, 1.6vw, 26px) 12px; }
  body.v7-light #pr-plans .pkgs-row .plan-col, body #pr-plans .pkgs-row .plan-col { display: grid !important; grid-template-columns: 8.5em minmax(0, 1fr) minmax(9em, auto) 7.5em;
    grid-template-rows: auto auto; align-items: center; column-gap: clamp(14px, 1.6vw, 28px); row-gap: 0; padding: 10px 0 !important; }
  body #pr-plans .pkgs-row .plan-col + .plan-col { border-left: 0 !important; border-top: 1px solid rgba(20,20,19,.1) !important; }
  body #pr-plans .pkgs-row .plan-col > .pc-name { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  body #pr-plans .pkgs-row .plan-col > .pc-looks { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  body #pr-plans .pkgs-row .plan-col > .pc-price { grid-column: 3; grid-row: 1; margin: 0; justify-self: end; font-size: clamp(17px, 1.25vw, 22px); }
  body #pr-plans .pkgs-row .plan-col > .pc-unit { grid-column: 3; grid-row: 2; margin: 2px 0 0; justify-self: end; }
  body #pr-plans .pkgs-row .plan-col > .btn { grid-column: 4; grid-row: 1 / span 2; margin: 0; min-height: 36px; padding-block: 6px; }
  body #pr-plans .pkgs-row .plan-col.ent > .pc-price { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0; }
}
body #pr-plans .pc-unit:has(.bm:empty):not(:has(.by:not(:empty))) { display: none; }
body:not([data-billing="y"]) #pr-plans .pc-unit .bm:empty { display: none; }
/* how it works · details (round 6): four cards now, one row on desktop */
@media (min-width: 1101px) { #hiw-details .features { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
/* about (round 6): the two men stand left of centre; the opening line stays narrow so it clears them */
@media (min-width: 1101px) { body.pg-about #ab-why .ch-head .lead { max-width: 24ch; } }
/* about (round 6b, Tiago 21 Nov: the slot canyon; "callout and text centre or right"): the two men lean on the wall in the left
   half, so the first two screens put their words on the right; the founders stack on the right too */
@media (min-width: 1101px) {
  body.pg-about main > .ch:nth-of-type(-n+2) .ch-in > * { grid-column: 3 !important; }
  body.pg-about #ab-people .people { display: grid; grid-template-columns: 1fr !important; gap: 12px; }
  body.pg-about #ab-why .ch-head .lead { max-width: 34ch; }
}

/* ===================== v8 round 7 (Tiago, 21 Nov): about · the founders on the photo ===================== */
/* "a callout with all white text, a white dot, and a line… dotted line… my name, my position, and my function. You don't need
   the frames, and neither are LinkedIn profile pictures." v7.js places each callout on its person (data-at) on the desktop
   photo; Tiago's words go out to the left, Vinícius's to the right. Elsewhere (phones, narrow screens) a plain list. */
body.pg-about #ab-people .fcs { display: grid; gap: 14px; }
body.pg-about #ab-people .fc-dot, body.pg-about #ab-people .fc-line { display: none; }
body.pg-about #ab-people .fc-t { display: grid; gap: 3px; }
body.pg-about #ab-people .fc-t p { margin: 0; }
@media (min-width: 1101px) and (orientation: landscape) {
  body.pg-about #ab-people .fcs { position: absolute; inset: 0; display: block; pointer-events: none; z-index: 1; grid-column: auto !important; --len: clamp(64px, 6.6vw, 132px); }
  body.pg-about #ab-people .fc { position: absolute; left: -999px; top: 0; width: 0; height: 0; }
  body.pg-about #ab-people .fc-dot { display: block; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .26), 0 1px 8px rgba(40, 30, 20, .28); transform: scale(0); transition: transform 420ms var(--ease) 0ms; }
  body.pg-about #ab-people .fc-line { display: block; position: absolute; top: -1px; width: var(--len); height: 0; border-top: 2px dotted #fff;
    filter: drop-shadow(0 1px 2px rgba(40, 30, 20, .3)); transform: scaleX(0); transition: transform 650ms var(--ease) 0ms; }
  body.pg-about #ab-people .fc-l .fc-line { right: 12px; transform-origin: 100% 50%; }
  body.pg-about #ab-people .fc-r .fc-line { left: 12px; transform-origin: 0 50%; }
  body.pg-about #ab-people .fc-t { position: absolute; top: 0; width: max-content; max-width: 24ch; opacity: 0; transform: translateY(-50%);
    transition: opacity 600ms var(--ease) 0ms; }
  body.pg-about #ab-people .fc-l .fc-t { right: calc(var(--len) + 26px); text-align: right; justify-items: end; }
  body.pg-about #ab-people .fc-r .fc-t { left: calc(var(--len) + 26px); }
  body.pg-about #ab-people .fc-t :is(.strong, .label, .lead) { color: #fff !important; text-shadow: 0 1px 12px rgba(50, 38, 26, .42), 0 0 2px rgba(50, 38, 26, .18) !important; }
  body.pg-about #ab-people .fc-t .strong { font-size: clamp(16px, 1.15vw, 20px); }
  body.pg-about #ab-people .fc-t .label { opacity: .9; }
  /* after the founders have faded in on the photo: dot, then the line draws out, then the words */
  body.pg-about #ab-people.is-in .fc-dot { transform: scale(1); transition-delay: 900ms; }
  body.pg-about #ab-people.is-in .fc-line { transform: scaleX(1); transition-delay: 1150ms; }
  body.pg-about #ab-people.is-in .fc-t { opacity: 1; transition-delay: 1550ms; }
  body.pg-about #ab-people.is-in .fc-r :is(.fc-dot, .fc-line, .fc-t) { transition-delay: calc(var(--d, 0ms) + 1150ms); }
  body.pg-about #ab-people.is-in .fc-r .fc-dot { --d: 0ms; } body.pg-about #ab-people.is-in .fc-r .fc-line { --d: 250ms; } body.pg-about #ab-people.is-in .fc-r .fc-t { --d: 650ms; }
}
@media (min-width: 1101px) { body.pg-about #ab-people .ch-in { grid-template-rows: auto; } body.pg-about #ab-people .ch-head { grid-column: 3 !important; grid-row: 1; } }
@media (prefers-reduced-motion: reduce) { body.pg-about #ab-people :is(.fc-dot, .fc-line, .fc-t) { transition: none !important; } }

/* ===================== v8 round 7 (Tiago, 21 Nov): how it works from scratch ===================== */
/* "One third of the image is the title and a little description. One third is a frame. One third is the model." The two
   screens that hold on the seated man: words in the left third, the frame (the parts list, then the install window) in the
   middle third, the man alone in the right third (assets/img/v8/bg/how-a|b, tools/stitch-r7-how.py) */
@media (min-width: 1101px) {
  body.v7-light.pg-how-it-works main > .ch:nth-of-type(1) .ch-in,
  body.v7-light.pg-how-it-works main > .install-ch .ch-in {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; column-gap: clamp(28px, 3vw, 60px) !important;
    padding-right: calc(var(--gutter) + var(--index-w)) !important; align-items: center; align-content: center; }
  body.v7-light.pg-how-it-works main > .ch:nth-of-type(1) .ch-in > *,
  body.v7-light.pg-how-it-works main > .install-ch .ch-in > * { grid-column: 1 !important; grid-row: 1; }
  body.v7-light.pg-how-it-works main > .ch:nth-of-type(1) .ch-in > :not(:first-child),
  body.v7-light.pg-how-it-works main > .install-ch .ch-in > :not(:first-child) { grid-column: 2 !important; }
  body.v7-light.pg-how-it-works #hiw-hero .display { font-size: clamp(40px, 3.9vw, 76px) !important; }
  body.v7-light.pg-how-it-works #hiw-hero .parts { grid-template-columns: 1fr !important; border-top: 0; max-width: 360px; }
  body.v7-light.pg-how-it-works #hiw-hero .parts li a { padding: 12px 0 !important; border-left: 0 !important; border-top: 1px solid var(--line); grid-template-columns: 44px 1fr; align-items: baseline; }
  body.v7-light.pg-how-it-works #hiw-hero .parts li:last-child a { border-bottom: 1px solid var(--line); }
}
/* the install window is a light panel: its small labels are ink, with no shade (they came out white on light) */
body.v7-light.pg-how-it-works .install :is(.inst-bar .label, .inst-body .label, .inst-body p:not(.inst-t), .inst-checks li, .inst-live) { color: rgba(20, 20, 19, .62) !important; text-shadow: none !important; }
body.v7-light.pg-how-it-works .install .inst-t { color: #141413 !important; text-shadow: none !important; }
/* round 8 (Tiago's comment: "mind the white texts here, no contrast"): the store mock is a light page in every style, so its
   small labels (brand · category, the price) are ink like the product name, with no shade */
body.v7-light #hiw-button .store :is(.pp-info .label, .pp-info p, .store-bar span) { color: rgba(20, 20, 19, .6) !important; text-shadow: none !important; }
body.v7-light #hiw-button .store .pp-info .pp-name { color: #141413 !important; text-shadow: none !important; }
/* round 8 (Tiago's comment on find us: "relayout in better harmony with the content on the left; support on the left,
   channels in the centre, both aligned from the top"): the same three columns as the form chapter above (words / form
   width / clear for the man); support takes the left column, channels the centre, both start under the title */
@media (min-width: 1101px) {
  body.v7-light.pg-contact #ct-find .ch-in { grid-template-columns: minmax(0, 1fr) min(28vw, 520px) 37vw !important;
    grid-template-rows: auto auto; column-gap: clamp(28px, 3vw, 60px) !important; row-gap: clamp(22px, 4vh, 44px) !important;
    padding-right: 0 !important; align-items: start !important; align-content: center; }
  body.v7-light.pg-contact #ct-find .ch-in > .ch-head { grid-column: 1 / 3 !important; grid-row: 1; }
  body.v7-light.pg-contact #ct-find .ch-in > .ch-head + .stack { grid-column: 2 !important; grid-row: 2; }
  body.v7-light.pg-contact #ct-find .ch-in > .stack + .stack { grid-column: 1 !important; grid-row: 2; }
  body.v7-light.pg-contact #ct-find .ch-in > .stack { align-self: start; margin: 0 !important; }
  body.v7-light.pg-contact #ct-find .links .strong { font-size: clamp(18px, 1.45vw, 26px) !important; white-space: nowrap; }
  body.v7-light.pg-contact #ct-find .links :is(a, .ln-soon) { gap: 16px; }
}
/* round 8 (Tiago's comment on the questions: "move a little to the right, same spacing between right edge and questions
   frame"): the questions keep their width; the "something else" box sits centred in the space to their right, so its gap to
   the questions equals its gap to the page's right margin (the same margin as the left) */
@media (min-width: 1101px) {
  body.pg-contact #ct-faq .ch-in { grid-template-columns: minmax(0, 38vw) minmax(0, 1fr) !important; column-gap: 0 !important;
    padding-right: var(--gutter) !important; }
  body.pg-contact #ct-faq .cta-box { justify-self: center; width: min(100%, 496px); }
}
/* round 8: the plan finder's light screen comes from its squares (v7.js), so the dialog itself is see-through */
dialog.pf-dialog.v7-pixdlg { background: transparent !important; border: 0 !important; }
/* round 8 (Tiago's comment on checkout: "fill in the gaps should be white"): the checkout's fields are white with a thin ink
   border and ink text, like the contact form; "next" is the solid black button (it was white on the off-white panel) */
#pr-checkout :is(input:not([type="radio"]):not([type="checkbox"]), select, textarea) { background: #fff !important; color: #141413 !important;
  border: 1px solid rgba(20, 20, 19, .22) !important; border-radius: 0 !important; box-shadow: none !important; }
#pr-checkout :is(input, select, textarea):focus { border-color: #141413 !important; outline: none; }
#pr-checkout :is(input, textarea)::placeholder { color: rgba(20, 20, 19, .4) !important; }
#pr-checkout [data-next] { background: #141413 !important; color: #F3F3F1 !important; border-color: #141413 !important; }
/* round 8 (Tiago's comment on legal: "adjust the BG for these 3 sections, it's in the old format; I like it darker, blurred
   and paper themed, like a document to sign"): the paper and pen photos stay but go soft (blur), under a warm dark paper wash
   instead of the old black scrim, with a fine paper grain; the closing section gets the same paper tone (CSS, no photo) */
:root { --paper-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .45  0 0 0 0 .4  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
:is(.legal-ch, #lg-end) .ch-bg { background: #2e2822 !important; }
.legal-ch .ch-bg img { filter: blur(7px) saturate(.65) sepia(.2) brightness(.72) !important; transform: scale(1.06) !important; }
:is(.legal-ch, #lg-end) .ch-bg::after { content: ""; position: absolute; inset: 0; background-image: var(--paper-grain); opacity: .35; mix-blend-mode: overlay; pointer-events: none; }
.legal-ch .ch-scrim { opacity: 1 !important; background: linear-gradient(90deg, rgba(40, 33, 27, .72) 0%, rgba(40, 33, 27, .5) 46%, rgba(40, 33, 27, .34) 100%) !important; }
#lg-end .ch-bg img { display: none !important; }
#lg-end .ch-bg { background: radial-gradient(120% 90% at 30% 20%, #4a4037 0%, #362e27 55%, #2a241f 100%) !important; }
#lg-end .ch-scrim { opacity: .35 !important; background: rgba(40, 33, 27, .5) !important; }
/* the closing band's squares on legal are warm paper, not cool grey, over the dark paper */
#lg-end .sc-tiles i.s { background: rgba(241, 235, 225, var(--ta, .94)); }
#lg-end .sc-tiles i.g { background: rgba(241, 235, 225, calc(var(--ta, .6) * .22)); }
/* round 8 (Tiago's comment on the sound button): bottom right on every page, no rectangle. Off: three dots + "sound". On: the
   dots stretch into three vertical bars that move, + "sound". White with mix-blend difference, so it reads dark on the light
   pages and light on the film and dark photos, never boxed. Over the closing chapter it lifts above the footer's last line. */
body .v7-snd.v7-snd2 { position: fixed !important; left: auto !important; top: auto !important; right: var(--gutter) !important; bottom: clamp(14px, 2.6vh, 26px) !important;
  z-index: 46; display: inline-flex; align-items: center; gap: 9px; min-height: 32px; padding: 0 !important; margin: 0;
  background: transparent !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  color: #fff !important; mix-blend-mode: difference; cursor: pointer; transition: bottom 400ms var(--ease); }
body .v7-snd.v7-snd2 .label { color: inherit !important; text-shadow: none !important; font-size: 11px; letter-spacing: .06em; }
.v7-snd2 .snd-ic { display: inline-flex; align-items: center; gap: 3px; width: auto; height: 12px; background: none !important; opacity: 1 !important; animation: none !important; }
.v7-snd2 .snd-ic b { display: block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; transition: height 300ms var(--ease), border-radius 300ms var(--ease); }
.v7-snd2[aria-pressed="true"] .snd-ic b { width: 2px; height: 12px; border-radius: 1px; animation: v7snd2 900ms ease-in-out infinite alternate; transform-origin: 50% 50%; }
.v7-snd2[aria-pressed="true"] .snd-ic b:nth-child(2) { animation-delay: -300ms; animation-duration: 760ms; }
.v7-snd2[aria-pressed="true"] .snd-ic b:nth-child(3) { animation-delay: -600ms; animation-duration: 1040ms; }
@keyframes v7snd2 { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.v7-snd2:hover .label, .v7-snd2:focus-visible .label { text-decoration: underline; text-underline-offset: 3px; }
body:has(.ch.end.is-in) .v7-snd.v7-snd2 { top: auto !important; bottom: clamp(52px, 7vh, 72px) !important; }
@media (prefers-reduced-motion: reduce) { .v7-snd2[aria-pressed="true"] .snd-ic b { animation: none; } }
/* round 8 (Tiago's comment: "the chapters text should be always contrasting, in this case white"): the chapter index on the
   right is solid ink on the light pages and white (with a soft shade) over the landing film and the dark legal page; the
   numbers no longer fade to a pale grey */
body .chx :is(a, .chx-num, .chx-name) { color: rgba(20, 20, 19, .78) !important; text-shadow: none !important; }
body .chx a[aria-current="true"], body .chx a[aria-current="true"] :is(.chx-num, .chx-name) { color: #141413 !important; }
body .chx .chx-tick { background: rgba(20, 20, 19, .6) !important; }
body .chx a[aria-current="true"] .chx-tick { background: #141413 !important; }
:is(html.on-hero body, body:has(.legal-ch)) .chx :is(a, .chx-num, .chx-name) { color: rgba(255, 255, 255, .92) !important; text-shadow: 0 0 2px rgba(0, 0, 0, .35), 0 1px 10px rgba(0, 0, 0, .45) !important; }
:is(html.on-hero body, body:has(.legal-ch)) .chx a[aria-current="true"], :is(html.on-hero body, body:has(.legal-ch)) .chx a[aria-current="true"] :is(.chx-num, .chx-name) { color: #fff !important; }
:is(html.on-hero body, body:has(.legal-ch)) .chx .chx-tick { background: rgba(255, 255, 255, .75) !important; box-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
:is(html.on-hero body, body:has(.legal-ch)) .chx a[aria-current="true"] .chx-tick { background: #fff !important; }
/* round 8 (Tiago's comment: "lines should always be on the same color as text"): each tick takes its own number's colour */
body .chx a .chx-tick, body .chx a[aria-current="true"] .chx-tick,
:is(html.on-hero body, body:has(.legal-ch)) .chx a .chx-tick { background: currentColor !important; }
