/* ==========================================================================
   stir.css: the page's own rules, after base.css and components.css (round 3, 20 Nov 2026).
   Every colour comes from the logo's palette, as tokens. Switching palette is one change:
   <html data-palette="ember"> (current) or <html data-palette="dawn"> (being considered).
   ========================================================================== */

/* ---------- 1. The logo's palettes (README of the logo files) ---------- */
html[data-palette="ember"] {
  --ember-hi: #2A1206; --ember: #120703; --ember-lo: #070302;
  --iron: #1C1411;
  --potion: #FF8A3D; --potion-deep: #F2541B; --potion-light: #FFC38E;
  --steam: #FFE3CC; --cream: #FFF6EE;
}
html[data-palette="dawn"] {
  --ember-hi: #241B18; --ember: #110D0C; --ember-lo: #070505;
  --iron: color-mix(in oklab, #241B18 70%, #110D0C);
  --potion: #E9875A; --potion-deep: color-mix(in oklab, #E9875A 80%, #070505); --potion-light: #F9BC8C;
  --steam: color-mix(in oklab, #F9BC8C 40%, #FFF8F2); --cream: #FFF8F2;
}

/* ---------- 2. The skill's tokens, fed by the palette ---------- */
html[data-outfit][data-accent="client"] {
  --bg: var(--ember);
  --card: color-mix(in oklab, var(--iron) 78%, var(--ember-hi));
  --sunken: color-mix(in oklab, var(--ember-lo) 62%, var(--ember));
  --ink: var(--cream);
  --ink-2: color-mix(in oklab, var(--cream) 72%, var(--ember));
  --ink-3: color-mix(in oklab, var(--cream) 56%, var(--ember));
  --hairline: color-mix(in oklab, var(--cream) 12%, var(--ember));
  --stroke: color-mix(in oklab, var(--cream) 26%, var(--ember));
  --dark: var(--cream); --on-dark: var(--ember-lo); --on-dark-2: color-mix(in oklab, var(--ember-lo) 70%, var(--cream));
  --a: var(--potion); --a-dark: var(--potion); --a-pale: color-mix(in oklab, var(--potion) 16%, var(--ember));
  --a-deep: var(--potion-light); --a-on: var(--ember-lo); --a-text: var(--potion); --a-marker: transparent;
  --accent: var(--potion); --on-accent: var(--ember-lo); --accent-text: var(--potion);
  --accent-pale: color-mix(in oklab, var(--potion) 14%, var(--card)); --accent-deep: var(--potion-light);
  --shadow-tint: var(--ember-lo);
  --sheen: inset 0 1px 0 color-mix(in oklab, var(--cream) 9%, transparent);
  --f-title: "Onest", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Onest", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --title-weight: 750; --title-tracking: -0.038em; --title-leading: 1.04;
  --r-shell: 20px; --r-card: 14px; --r-button: 0px; --r-small: 8px;
  --t-h1: clamp(2.5rem, 1.4rem + 3.6vw, 5.25rem);      /* 74 px at 1440, 84 px at 1728, 44 px at most on a phone */
  --t-h2: clamp(1.9rem, 1.3rem + 2vw, 3.1rem);
  --pw: min(1320px, 100vw - 2.5rem);                     /* the page: 1320 px on a 1440 screen */
  --page: min(1320px, 100% - 2.5rem);
  --btn-h: 3.25rem;                                       /* header button = hero button */
  --gap-band: clamp(3.5rem, 2rem + 4.5vw, 6rem);
  --spring: cubic-bezier(.3, 1.35, .45, 1);
  --roll: cubic-bezier(.625, .05, 0, 1);
  color-scheme: dark;
}

/* ---------- 3. Ground and basics ---------- */
html { overflow-x: clip; }
body { background: var(--ember-lo); overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background: radial-gradient(70% 46% at 50% 0%, color-mix(in oklab, var(--potion-deep) 13%, transparent), transparent 70%),
              radial-gradient(120% 80% at 50% 0%, var(--ember-hi), var(--ember) 52%, var(--ember-lo) 100%); }
::selection { background: var(--potion); color: var(--ember-lo); }
.aural { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 99; padding: 0.6rem 1rem; border-radius: 999px; background: var(--cream); color: var(--ember-lo); font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }
.title { font-family: var(--f-title); font-weight: var(--title-weight); letter-spacing: var(--title-tracking); line-height: var(--title-leading); text-wrap: balance; }
.title .accent { color: var(--potion-light); }
.lead { color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.5; max-width: 40rem; text-wrap: pretty; }
.todo { color: var(--potion-light); font-style: normal; }
section[id] { scroll-margin-top: 6rem; }
:focus-visible { outline: 2px solid var(--potion-light); outline-offset: 3px; }
.fx { display: block; pointer-events: none; }

/* ---------- 4. The canvas: a design tool's grid behind the page, fading out from the centre ----------
   12 columns of the page (the strongest lines, drawn once at load, ref-273 #1), a fine square grid of five cells per column,
   a small cross where every second column line meets a row; no numbers. The widths are measured on the canvas itself
   (container units), so they are exactly the page's widths: the header's cells use the same twelfths. */
.canvas { position: fixed; inset: 0; z-index: -2; pointer-events: none; container-type: size; }
.canvas__grid, .canvas__cols { --pw: min(1320px, 100cqw - 2.5rem); --col: calc(var(--pw) / 12); --cell: calc(var(--col) / 5); --x0: calc((100cqw - var(--pw)) / 2); }
.canvas__grid { position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cpath d='M0 6.5h13M6.5 0v13' stroke='%23FFE3CC' stroke-opacity='.34' stroke-width='1'/%3E%3C/svg%3E"),
    linear-gradient(0deg, color-mix(in oklab, var(--cream) 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--cream) 3.2%, transparent) 1px, transparent 1px),
    linear-gradient(0deg, color-mix(in oklab, var(--cream) 3.2%, transparent) 1px, transparent 1px);
  background-size: calc(var(--col) * 2) calc(var(--col) * 2), var(--col) var(--col), var(--cell) var(--cell), var(--cell) var(--cell);
  background-position: calc(var(--x0) - 6px) -6px, 0 0, var(--x0) 0, 0 0;
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 38%, #000 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.12) 72%, transparent 92%);
  mask-image: radial-gradient(ellipse 62% 70% at 50% 38%, #000 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.12) 72%, transparent 92%); }
.canvas__cols { position: absolute; top: 0; bottom: 0; left: var(--x0); width: var(--pw); display: grid; grid-template-columns: repeat(12, 1fr);
  -webkit-mask-image: linear-gradient(rgba(0,0,0,.55), #000 18%, #000 72%, transparent); mask-image: linear-gradient(rgba(0,0,0,.55), #000 18%, #000 72%, transparent); }
.canvas__cols i { position: relative; }
.canvas__cols i::before, .canvas__cols::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: color-mix(in oklab, var(--cream) 8%, transparent); transform: scaleY(0); transform-origin: 50% 0; animation: line-draw 1.8s cubic-bezier(.33,1,.68,1) forwards; animation-delay: calc(var(--k, 0) * 60ms); }
.canvas__cols i:nth-child(odd)::before { background: color-mix(in oklab, var(--cream) 11%, transparent); }
.canvas__cols::after { left: auto; right: 0; animation-delay: .7s; }
.canvas__cols i:nth-child(1) { --k: 6; } .canvas__cols i:nth-child(2) { --k: 5; } .canvas__cols i:nth-child(3) { --k: 4; } .canvas__cols i:nth-child(4) { --k: 3; } .canvas__cols i:nth-child(5) { --k: 2; } .canvas__cols i:nth-child(6) { --k: 1; }
.canvas__cols i:nth-child(7) { --k: 0; } .canvas__cols i:nth-child(8) { --k: 1; } .canvas__cols i:nth-child(9) { --k: 2; } .canvas__cols i:nth-child(10) { --k: 3; } .canvas__cols i:nth-child(11) { --k: 4; } .canvas__cols i:nth-child(12) { --k: 5; }
@keyframes line-draw { to { transform: scaleY(1); } }
@media (max-width: 767px) {
  .canvas__grid, .canvas__cols { --col: calc(var(--pw) / 4); --cell: calc(var(--col) / 4); }
  .canvas__cols { grid-template-columns: repeat(4, 1fr); } .canvas__cols i:nth-child(n+5) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .canvas__cols i::before, .canvas__cols::after { animation: none; transform: none; } }

/* the selection handles: four square handles centred on the corners of a frame, like a selected layer in a design tool */
.hd { position: absolute; z-index: 3; width: 7px; height: 7px; border: 1px solid var(--potion); background: var(--ember-lo); translate: -50% -50%; pointer-events: none; transition: opacity 0.3s, scale 0.35s var(--spring); }
.hd--tl { left: 0; top: 0; } .hd--tr { left: 100%; top: 0; } .hd--bl { left: 0; top: 100%; } .hd--br { left: 100%; top: 100%; }

/* ---------- 5. The buttons: rectangular, the potion material kept, handles on hover ----------
   ref-317 #6-#7 cast in potion: a diagonal body with one light band, a lit top rim, a light lip, a dark underside, a long glow
   in six steps; a streak crosses it once on hover; pressed, it sinks. Corners of 4 px: the page is a design tool's canvas,
   a round pill would be the only round thing on it. On hover, a 1 px frame and four square handles: a selected layer.
   Now and then one button in view tilts by a few degrees and settles (.is-nudge, set by stir.js). */
.button { --h: var(--btn-h); font-weight: 650; border-radius: var(--r-button); }
.button, .pager__btn, .menu-btn { outline: 1px solid transparent; outline-offset: 3px; transition: transform 0.4s var(--spring), box-shadow 0.4s var(--spring), filter 0.3s, outline-color 0.25s, background-color 0.25s, color 0.2s; }
.button::after, .menu-btn::after { --hc: var(--potion-light); --hf: var(--ember-lo); content: ""; position: absolute; inset: -7px; z-index: 2; pointer-events: none; opacity: 0; scale: 0.94; transition: opacity 0.2s, scale 0.3s var(--spring);
  background:
    linear-gradient(var(--hf), var(--hf)) left 1px top 1px / 5px 5px no-repeat, linear-gradient(var(--hf), var(--hf)) right 1px top 1px / 5px 5px no-repeat,
    linear-gradient(var(--hf), var(--hf)) left 1px bottom 1px / 5px 5px no-repeat, linear-gradient(var(--hf), var(--hf)) right 1px bottom 1px / 5px 5px no-repeat,
    linear-gradient(var(--hc), var(--hc)) left top / 7px 7px no-repeat, linear-gradient(var(--hc), var(--hc)) right top / 7px 7px no-repeat,
    linear-gradient(var(--hc), var(--hc)) left bottom / 7px 7px no-repeat, linear-gradient(var(--hc), var(--hc)) right bottom / 7px 7px no-repeat; }
.button:hover, .menu-btn:hover, .button:focus-visible, .pager__btn:focus-visible, .menu-btn:focus-visible { outline: 1px solid color-mix(in oklab, var(--potion-light) 75%, transparent); outline-offset: 3px; }
.button:hover::after, .menu-btn:hover::after, .button:focus-visible::after, .menu-btn:focus-visible::after { opacity: 1; scale: 1; }
.button--radiant { position: relative; isolation: isolate; overflow: visible; border-radius: var(--r-button); padding-inline: 1.85rem; color: #2B0C02; font-weight: 700; letter-spacing: -0.005em;
  text-shadow: 0 1px 0 color-mix(in oklab, var(--potion-light) 70%, transparent);
  background:
    radial-gradient(90% 120% at 50% -42%, color-mix(in oklab, white 55%, transparent), transparent 58%),
    linear-gradient(112deg, var(--potion-deep) 0%, var(--potion) 30%, color-mix(in oklab, var(--potion-light) 72%, var(--potion)) 49%, var(--potion) 63%, var(--potion-deep) 100%);
  box-shadow:
    inset 0 1px 0 color-mix(in oklab, white 62%, transparent),
    inset 0 -1.5px 0 color-mix(in oklab, var(--potion-light) 85%, white),
    inset 0 -0.7rem 1rem -0.55rem color-mix(in oklab, var(--potion-deep) 55%, #3A0D00),
    0 0 0 1px color-mix(in oklab, #3A0D00 62%, var(--potion-deep)),
    0 0 0 4px color-mix(in oklab, var(--potion) 10%, transparent),
    0 2px 3px -1px rgb(40 8 0 / .55),
    0 6px 12px -4px color-mix(in oklab, var(--potion-deep) 42%, transparent),
    0 14px 26px -10px color-mix(in oklab, var(--potion-deep) 46%, transparent),
    0 26px 46px -18px color-mix(in oklab, var(--potion) 40%, transparent); }
.button__shine { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; }
.button--radiant .glint { position: absolute; top: -30%; left: -3.5rem; width: 2.6rem; height: 160%; rotate: 22deg; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, white 75%, transparent), transparent);
  transition: left 0.8s ease, opacity 0.8s ease; }
.button--radiant:hover { transform: translateY(-2px); filter: saturate(1.06) brightness(1.04);
  box-shadow:
    inset 0 1px 0 color-mix(in oklab, white 72%, transparent),
    inset 0 -1.5px 0 color-mix(in oklab, var(--potion-light) 85%, white),
    inset 0 -0.7rem 1rem -0.55rem color-mix(in oklab, var(--potion-deep) 55%, #3A0D00),
    0 0 0 1px color-mix(in oklab, #3A0D00 55%, var(--potion-deep)),
    0 3px 4px -1px rgb(40 8 0 / .5),
    0 9px 16px -5px color-mix(in oklab, var(--potion-deep) 50%, transparent),
    0 20px 34px -12px color-mix(in oklab, var(--potion-deep) 55%, transparent),
    0 34px 60px -20px color-mix(in oklab, var(--potion) 55%, transparent); }
.button--radiant:hover .glint, .button--radiant:focus-visible .glint { left: calc(100% + 1rem); opacity: 1; }
.button--radiant:active { transform: translateY(1px) scale(0.985); filter: brightness(0.97); transition-duration: 0.12s;
  box-shadow:
    inset 0 2px 5px color-mix(in oklab, #3A0D00 55%, transparent),
    inset 0 -1px 0 color-mix(in oklab, var(--potion-light) 60%, transparent),
    0 0 0 1px color-mix(in oklab, #3A0D00 70%, var(--potion-deep)),
    0 3px 8px -3px color-mix(in oklab, var(--potion-deep) 50%, transparent); }
.button--radiant.is-nudge { animation: nudge 1.15s cubic-bezier(.3,.7,.3,1); }
@keyframes nudge { 0% { rotate: 0deg; } 16% { rotate: -3deg; translate: 0 -1px; } 38% { rotate: 2.2deg; } 58% { rotate: -1.1deg; } 78% { rotate: 0.4deg; } 100% { rotate: 0deg; translate: 0 0; } }
.button--flat { padding-inline: 1.6rem; background: color-mix(in oklab, var(--cream) 6%, transparent); color: var(--ink); box-shadow: inset 0 0 0 1px var(--stroke), var(--sheen); }
/* the secondary button: no handles, no potion; a quiet line draws under it on hover (the text stays still) */
.button--flat { position: relative; overflow: hidden; }
.button--flat::after { content: none; }
.button--flat::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--potion-light); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.5s var(--roll); }
.button--flat:hover { background: color-mix(in oklab, var(--cream) 9%, transparent); outline-color: transparent; }
.button--flat:hover::before, .button--flat:focus-visible::before { transform: scaleX(1); transform-origin: 0 50%; }
.button--flat:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) { .button--radiant .glint { display: none; } .button--radiant.is-nudge { animation: none; } .button::after, .menu-btn::after { transition: none; } }

/* ---------- 6. Header: two framed pieces on the grid's columns; one strip once the page moves ----------
   ref-258 #2 (two separate boxed groups, the page visible between them) on ref-220 #3's ruled cells. Every cell is a whole
   number of twelfths of the page width, the same twelfths as the canvas columns, so each separator is a column line.
   Top: the logo cell = column 1; the group = columns 6 to 12 (Results 1, How it works 2, Price 1, Questions 1, Get Stir 2).
   Scrolled: the logo slides to column 3 and the group to columns 4 to 10: one strip, square, its lip fills as you read. */
/* Same place in the page in both states (only its drawing tightens): a header that changed the page's height when it
   tightened made the page jump back over the threshold, and it flickered open / tight without end (20 Nov). */
.top { position: sticky; top: 0; z-index: 50; box-sizing: border-box; height: 6.875rem; padding: 1.375rem 0 0; pointer-events: none; transition: padding 0.5s var(--roll); }
.top__in { --frame: color-mix(in oklab, var(--cream) 17%, transparent); position: relative; width: var(--page); height: 5.5rem; margin-inline: auto; transition: height 0.5s var(--roll); }
.top__in > * { pointer-events: auto; }
.cellbox { position: absolute; top: 0; bottom: 0; background: color-mix(in oklab, var(--ember-lo) 66%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: left 0.75s var(--roll), width 0.75s var(--roll), background-color 0.4s; }
.cellbox::before { content: ""; position: absolute; inset: 0; z-index: 2; border: 1px solid var(--frame); pointer-events: none; transition: border-color 0.4s; }
.top__logo { left: 0; width: calc(100% / 12); display: grid; place-items: center; text-decoration: none; }
.top__logo img { height: 3.5rem; width: auto; transition: height 0.5s var(--roll); }
.top__group { left: calc(100% * 5 / 12); width: calc(100% * 7 / 12); display: grid; grid-template-columns: 1fr 2fr 1fr 1fr 2fr; }
.top__links { display: contents; }
.top__links a { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-width: 0; color: var(--ink-2); font-size: 0.9688rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color 0.3s; }
.top__links a + a, .top__act { border-left: 1px solid var(--frame); }
.top__links a::before { content: ""; position: absolute; z-index: -1; left: -2px; right: -2px; bottom: 0; height: 120%; translate: 0 101%; border-radius: 45% 45% 0 0 / 0.6rem 0.6rem 0 0;
  background: linear-gradient(180deg, var(--potion-light), var(--potion) 28%, var(--potion-deep)); transition: translate 0.55s var(--roll), border-radius 0.55s var(--roll); }
.top__links a:hover, .top__links a:focus-visible { color: #2B0C02; }
.top__links a:hover::before, .top__links a:focus-visible::before { translate: 0 0; border-radius: 0; }
.top__act { display: grid; place-items: center; padding: 0 0.9rem; }
.top__act .button { width: 100%; padding-inline: 1rem; }
.roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; vertical-align: top; }
.roll__in { position: relative; display: block; transition: translate 0.48s var(--roll); }
.roll__in::after { content: attr(data-label); position: absolute; left: 0; top: 100%; white-space: nowrap; }
a:hover > .roll .roll__in, a:focus-visible > .roll .roll__in { translate: 0 -100%; }
/* the joined strip (scrolled): one shape behind both pieces, its lip fills with potion as the page is read (ref-179 #1) */
.top__joint { position: absolute; top: 0; bottom: 0; left: calc(100% * 2 / 12); width: calc(100% * 8 / 12); opacity: 0; pointer-events: none; transition: opacity 0.4s 0.2s; background: color-mix(in oklab, var(--ember-lo) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); outline: 1px solid var(--frame); outline-offset: -1px;
  box-shadow: 0 4px 4px -2px rgb(0 0 0 / .35), 0 12px 14px -6px rgb(0 0 0 / .3), 0 28px 34px -16px rgb(0 0 0 / .3), 0 46px 60px -28px color-mix(in oklab, var(--potion-deep) 26%, transparent); }
.top__level { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 4; transform-origin: 0 50%; transform: scaleX(var(--read, 0)); background: linear-gradient(90deg, var(--potion-deep), var(--potion-light)); box-shadow: 0 0 10px color-mix(in oklab, var(--potion) 70%, transparent); }
.top.is-compact { padding-top: 0.75rem; }
.top.is-compact .top__in { height: 4.125rem; }
.top.is-compact .top__joint { opacity: 1; }
.top.is-compact .cellbox { background: color-mix(in oklab, var(--ember-lo) 88%, transparent); }
.top.is-compact .top__logo { left: calc(100% * 2 / 12); }
.top.is-compact .top__logo img { height: 2.75rem; }
.top.is-compact .top__group { left: calc(100% * 3 / 12); }
.top.is-compact .top__group::before { border-left-color: transparent; }
.top.is-compact .top__logo .hd--tr, .top.is-compact .top__logo .hd--br, .top.is-compact .top__group .hd--tl, .top.is-compact .top__group .hd--bl { opacity: 0; scale: 0; }
.top.is-compact .top__act .button { --h: 2.75rem; }
/* the menu (below 1100 px): one framed cell on the right, a panel that hangs from it */
.top__menucell { display: none; }
.menu-btn { position: relative; display: inline-flex; align-items: center; gap: 0.6rem; height: 2.75rem; padding: 0 1rem; border: 0; border-radius: var(--r-button); background: color-mix(in oklab, var(--cream) 6%, transparent); box-shadow: inset 0 0 0 1px var(--stroke); color: var(--ink); font: 600 0.9375rem / 1 var(--f-text); cursor: pointer; }
.menu-btn__bars { display: grid; gap: 4px; width: 1rem; }
.menu-btn__bars i { height: 1.5px; background: currentColor; transition: translate 0.35s var(--roll), rotate 0.35s var(--roll); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { translate: 0 2.75px; rotate: 45deg; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { translate: 0 -2.75px; rotate: -45deg; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 0.6rem); width: min(19rem, 100%); display: grid; padding: 0.5rem; background: color-mix(in oklab, var(--ember-lo) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--frame), 0 1.5rem 3rem -1rem #000; }
.menu-panel[hidden] { display: none; }
.menu-panel > a:not(.button) { padding: 0.95rem 0.75rem; border-bottom: 1px solid var(--frame); color: var(--ink); text-decoration: none; font-size: 1.0625rem; font-weight: 550; }
.menu-panel > a:not(.button):hover { color: var(--potion-light); }
.menu-panel .button { margin-top: 0.6rem; }
@media (max-width: 1099px) {
  .top__group { display: none; }
  .top__menucell { display: grid; place-items: center; left: calc(100% * 10 / 12); width: calc(100% * 2 / 12); }
  .top__joint { left: 0; width: 100%; }
  .top.is-compact .top__logo { left: 0; }
  .top.is-compact .top__logo .hd--tr, .top.is-compact .top__logo .hd--br, .top.is-compact .top__menucell .hd--tl, .top.is-compact .top__menucell .hd--bl { opacity: 0; scale: 0; }
}
@media (max-width: 767px) {
  .top { padding-top: 0.75rem; height: 5.25rem; }
  .top__in { height: 4.5rem; }
  .top__logo { width: 25%; } .top__logo img { height: 3.1rem; }
  .top__menucell { left: 75%; width: 25%; }
  .menu-btn { padding: 0 0.7rem; }
  .top.is-compact { padding-top: 0.5rem; } .top.is-compact .top__in { height: 3.9rem; } .top.is-compact .top__logo img { height: 2.5rem; }
  .menu-panel { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .top__in, .cellbox, .top__links a::before, .roll__in, .top__joint { transition-duration: 0.01s; } }

/* ---------- 7. Hero: alone in the first screen, centred, with air above and below; the headline corrects itself ---------- */
.hero { position: relative; isolation: isolate; display: grid; align-content: center; min-height: clamp(27rem, calc(100svh - 6.875rem), 54rem); padding: clamp(2rem, 5vh, 3.5rem) 0 clamp(3rem, 8vh, 5rem); }
.hero > .fx { position: absolute; inset: -6rem 0 -4rem; z-index: -1; width: 100%; height: calc(100% + 10rem); pointer-events: none; -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, transparent 25%, #000 70%); mask-image: radial-gradient(80% 60% at 50% 30%, transparent 25%, #000 70%); }
.hero__in { width: var(--page); margin-inline: auto; display: grid; justify-items: center; text-align: center; gap: 1.15rem; }
/* the eyebrow between two engraved rules with dots (ref-029 #6) */
.eyebrow { display: flex; align-items: center; height: 1.25rem; gap: 1.1rem; font: 500 0.8125rem / 1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before, .eyebrow::after { content: ""; width: clamp(2.5rem, 9vw, 8rem); height: 1px; background: linear-gradient(90deg, transparent, var(--stroke)); }
.eyebrow::after { transform: scaleX(-1); }
.eyebrow > span { position: relative; padding-inline: 1rem; }
.eyebrow > span::before, .eyebrow > span::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--stroke); }
.eyebrow > span::before { left: 0; } .eyebrow > span::after { right: 0; }
.hero__title { font-family: var(--f-title); font-weight: var(--title-weight); letter-spacing: var(--title-tracking); line-height: 1.04; font-size: var(--t-h1); display: grid; justify-items: center; }
.hero__line2 { display: block; color: var(--ink); }
/* the typed line: every state sits in one grid cell, so nothing reflows */
.typer { display: inline-grid; justify-items: start; text-align: left; }
.typer > * { grid-area: 1 / 1; }
.typer__ghost { visibility: hidden; }
.t-w { position: relative; display: inline-block; padding: 0 0.1em; color: var(--ink); transition: color 0.25s; }
.t-w__text { position: relative; }
.t-w.is-new .t-w__text { color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(180deg, var(--potion-light), var(--potion) 55%, var(--potion-deep)); }
.t-w.is-marked .t-w__text { background: color-mix(in oklab, var(--potion) 32%, transparent); border-radius: 0.06em; }
/* the selection frame: one hairline and four square handles (ref-029 #8) */
.t-w::before { content: ""; position: absolute; inset: 0.04em 0 -0.02em; border: 1.5px solid var(--potion); opacity: 0; scale: 1.04; transition: opacity 0.22s cubic-bezier(.2,.7,.2,1), scale 0.22s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.t-w > i { position: absolute; width: 10px; height: 10px; border: 1.5px solid var(--potion); background: var(--ember); translate: -50% -50%; scale: 0; transition: scale 0.18s var(--ease-spring); }
.t-w > i:nth-of-type(1) { left: 0; top: 0.04em; } .t-w > i:nth-of-type(2) { left: 100%; top: 0.04em; transition-delay: 0.04s; }
.t-w > i:nth-of-type(3) { left: 0; top: calc(100% + 0.02em); transition-delay: 0.08s; } .t-w > i:nth-of-type(4) { left: 100%; top: calc(100% + 0.02em); transition-delay: 0.12s; }
.t-w.is-framed::before { opacity: 1; scale: 1; } .t-w.is-framed > i { scale: 1; }
.caret { position: relative; display: inline-block; width: 0; }
.caret::after { content: ""; position: absolute; left: 0.03em; bottom: -0.08em; width: max(3px, 0.06em); height: 0.95em; border-radius: 2px; background: var(--potion-light); }
.typer.is-idle .caret::after { animation: caret-blink 1s linear infinite; }
.typer.is-done .caret { display: none; }
@keyframes caret-blink { 0%, 33.3% { opacity: 1; } 66.7%, 100% { opacity: 0; } }
.hero .lead { max-width: 46rem; font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.3125rem); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 0.6rem; }
@media (max-width: 560px) {
  .hero { min-height: clamp(26rem, calc(100svh - 5.25rem), 44rem); padding: 1.5rem 0 2.5rem; }
  .hero__in { gap: 0.9rem; }
  .eyebrow { font-size: 0.6875rem; gap: 0.6rem; } .eyebrow::before, .eyebrow::after { width: 1.5rem; }
  .hero__title { font-size: clamp(2.15rem, 10vw, 2.75rem); }
  .typer { justify-items: center; text-align: center; }
  .hero .lead { font-size: 1rem; }
  .hero__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .hero__actions .button { padding-inline: 0.75rem; }
}

/* ---------- 8. The scanner (the client's image): a still reading line, windows cross it and come out designed ----------
   One vertical potion line with a soft glow stands in the middle; on it, the cauldron mark in a dark rounded tile with a
   halo. Sites travel left to right; left of the line each window is the slop version, the part that has crossed is the
   designed version (a clip that follows the line exactly, written per window by stir.js as --cut), with the potion light
   spilling on the side that has just crossed. Each window holds a fuller page that scrolls as it travels.
   Sizes are custom properties (the ?reglages=1 panel changes them live). */
.scan { position: relative; isolation: isolate; padding-block: clamp(3rem, 7vh, 5.5rem) clamp(2.5rem, 6vh, 4.5rem);
  --sw: clamp(17rem, 43vw, 46.5rem); --sh: calc(var(--sw) * 0.62); --sg: clamp(2.5rem, 5vw, 5.5rem); --phw: 14.5rem; }
.scan { --lab-h: clamp(4.25rem, 3rem + 2.6vw, 5.75rem); --lab-gap: clamp(1.4rem, 3vh, 2.25rem); }
.scan__labels { position: relative; z-index: 4; width: var(--page); margin: 0 auto var(--lab-gap); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.scan__label { position: relative; height: var(--lab-h); display: grid; place-items: center; background: color-mix(in oklab, var(--ember-lo) 72%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cream) 17%, transparent); }
.scan__label b { display: block; font: 750 clamp(1.7rem, 0.9rem + 2.1vw, 3.1rem) / 1 var(--f-title); letter-spacing: -0.04em; white-space: nowrap; }
.scan__label--slop { grid-column: 3 / 6; }
.scan__label--slop .hd { border-color: var(--stroke); }
.scan__label--slop b { position: relative; color: color-mix(in oklab, var(--cream) 46%, var(--ember)); }
.scan__label--slop b::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 0.07em; background: color-mix(in oklab, var(--cream) 40%, var(--ember)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s var(--roll) 0.5s; }
.scan__labels.in-view .scan__label--slop b::after { transform: scaleX(1); }
.scan__label--stir { grid-column: 8 / 11; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion) 70%, transparent), 0 0 3rem -1rem color-mix(in oklab, var(--potion) 50%, transparent); }
.scan__label--stir b { color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(180deg, #FFF6EE 10%, var(--potion-light) 45%, var(--potion) 100%); padding-block: 0.06em; }
.scan__stage { position: relative; height: calc(var(--sh) + 3rem); }
.scan.is-phone .scan__stage { height: calc(var(--phw) * 19.5 / 9 + 2.5rem); }
.scan__view { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.scan__view > .fx { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; }
.scan__track { position: absolute; inset: 0; }
.scan.is-paused .scan__track { cursor: default; }
/* the line: crisp along the stage, fading upward between the two labels */
.scan__line { position: absolute; z-index: 5; left: 50%; top: calc((var(--lab-h) + var(--lab-gap)) * -1); bottom: 0; width: 3px; translate: -50% 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--potion) 22%, color-mix(in oklab, var(--potion-light) 60%, var(--potion)) 60%, var(--potion) 100%);
  box-shadow: 0 0 0.9rem 0.1rem color-mix(in oklab, var(--potion) 55%, transparent), 0 0 3rem 0.3rem color-mix(in oklab, var(--potion-deep) 30%, transparent); }
.scan__node { position: absolute; z-index: 6; left: 50%; top: 50%; translate: -50% -50%; width: clamp(5rem, 4rem + 2.4vw, 7rem); aspect-ratio: 1; pointer-events: none; }
.scan__halo { position: absolute; inset: -110%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--potion) 38%, transparent), color-mix(in oklab, var(--potion-deep) 14%, transparent) 55%, transparent); animation: halo 4.5s ease-in-out infinite alternate; }
@keyframes halo { from { opacity: 0.75; scale: 0.94; } to { opacity: 1; scale: 1.04; } }
.scan__tile { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 24%; background: radial-gradient(90% 80% at 50% 20%, #241812, #120c09 70%); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cream) 12%, transparent), inset 0 1px 0 color-mix(in oklab, var(--cream) 18%, transparent), 0 0 0 1px #050302, 0 1.2rem 2.4rem -1rem #000, 0 0 3rem -0.4rem color-mix(in oklab, var(--potion) 60%, transparent); }
.scan__tile img { width: 62%; height: auto; filter: drop-shadow(0 0 0.6rem color-mix(in oklab, var(--potion) 60%, transparent)); }
/* one window: two complete windows stacked (slop, designed), each clipped by the line */
.win { position: absolute; left: 0; top: 50%; width: var(--sw); height: var(--sh); margin-top: calc(var(--sh) / -2); font-size: calc(var(--sw) / 64); will-change: transform; border-radius: 0.9em; box-shadow: 0 0 0 1px color-mix(in oklab, var(--cream) 10%, transparent), 0 2.2em 4em -1.6em #000, 0 1em 2em -1em var(--ember-lo); }
.win__layer { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: inherit; overflow: hidden; }
.win__layer--slop { clip-path: inset(0 calc(100% - var(--cut, 0px)) 0 0); }
.win__layer--stir { clip-path: inset(0 0 0 var(--cut, 0px)); }
.win__spill { position: absolute; inset: 0; z-index: 2; border-radius: inherit; overflow: hidden; pointer-events: none; opacity: var(--spill, 0); }
.win__spill::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--cut, 0px) - 11em); width: 11em; background: linear-gradient(270deg, color-mix(in oklab, var(--potion) 46%, transparent), color-mix(in oklab, var(--potion-deep) 16%, transparent) 40%, transparent); mix-blend-mode: screen; }
.win__spill::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--cut, 0px) - 0.25em); width: 0.25em; background: color-mix(in oklab, var(--potion-light) 70%, transparent); filter: blur(0.15em); }
.win__bar { flex: none; display: flex; align-items: center; gap: 0.5em; height: 2.5em; padding: 0 1em; }
.win__bar i { width: 0.72em; height: 0.72em; border-radius: 50%; }
.win__bar span { margin-inline: auto; padding: 0.3em 1.4em; border-radius: 0.4em; font: 500 0.85em / 1 var(--f-mono); }
.win__layer--slop .win__bar { background: #e9e9f1; } .win__layer--slop .win__bar i { background: #c9c9d6; } .win__layer--slop .win__bar span { background: #fff; color: #8a8aa0; }
.win__layer--stir .win__bar { background: #1d1a19; } .win__layer--stir .win__bar i { background: #4a4442; } .win__layer--stir .win__bar span { background: #2b2726; color: #a39a96; }
.win__view { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.win__page { will-change: transform; transform: translateY(var(--scroll, 0px)); }
/* phone version: a real phone frame (components), one per screen */
.win--phone { width: var(--phw); height: auto; margin-top: calc(var(--phw) * 19.5 / 9 / -2); font-size: inherit; border-radius: 0; box-shadow: none; }
.win--phone .device-phone { --device-w: var(--phw); }
.win--phone .device-phone__screen { background: #fff; }
.win--phone .win__layer { font-size: calc(var(--phw) / 26); border-radius: 0; }
.win--phone .win__spill { border-radius: 0; }
.win--phone .win__stack { position: absolute; inset: 0; }
.win--phone .win__view { padding-top: 2.6em; }
.win--phone .win__layer--slop .win__view { background: #f7f7fc; }

/* slop page: the generic AI page, top to bottom */
.sl { background: #f7f7fc; color: #1d1d2b; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; padding-bottom: 2em; }
.sl__nav { display: flex; align-items: center; gap: 2.2em; padding: 1.5em 2.6em; font-size: 1.05em; }
.sl__nav b { margin-right: auto; font-size: 1.3em; display: flex; align-items: center; gap: 0.45em; }
.sl__nav b::before { content: ""; width: 1.2em; height: 1.2em; border-radius: 0.35em; background: linear-gradient(135deg, #8b5cf6, #3b82f6); }
.sl__nav span { color: #5b5b72; }
.sl__nav em { font-style: normal; padding: 0.6em 1.3em; border-radius: 0.6em; background: linear-gradient(90deg, #7c5cff, #4f8cff); color: #fff; font-weight: 600; }
.sl__hero { margin: 0.6em 2.6em 0; padding: 3em 2em 2.6em; border-radius: 1.4em; text-align: center; background: radial-gradient(60% 80% at 50% 0%, #a78bfa, transparent 70%), linear-gradient(135deg, #8b5cf6, #6366f1 50%, #3b82f6); color: #fff; }
.sl__hero small { display: inline-block; padding: 0.35em 1em; border-radius: 99px; background: rgb(255 255 255 / .2); font-size: 0.95em; }
.sl__hero b { display: block; margin-top: 0.7em; font-size: 3.1em; line-height: 1.08; letter-spacing: -0.02em; }
.sl__hero p { max-width: 30em; margin: 0.8em auto 0; font-size: 1.15em; opacity: 0.85; }
.sl__hero span { display: inline-flex; gap: 0.8em; margin-top: 1.3em; }
.sl__hero span i { font-style: normal; padding: 0.75em 1.5em; border-radius: 0.6em; background: #fff; color: #5b4bff; font-weight: 650; font-size: 1.05em; }
.sl__hero span i + i { background: rgb(255 255 255 / .15); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); }
.sl__logos { display: flex; justify-content: center; gap: 1.6em; margin: 1.8em 2.6em 0; }
.sl__logos i { width: 6em; height: 1.4em; border-radius: 0.4em; background: #dcdce8; }
.sl__h2 { margin: 2.4em 2.6em 0; text-align: center; font-size: 2em; font-weight: 700; letter-spacing: -0.02em; }
.sl__sub { margin: 0.5em auto 0; text-align: center; color: #6b6b85; font-size: 1.1em; max-width: 30em; }
.sl__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4em; margin: 1.6em 2.6em 0; }
.sl__cards div { display: grid; gap: 0.5em; justify-items: center; padding: 1.3em 0.8em; border-radius: 1em; background: #fff; box-shadow: 0 0.2em 0.8em rgb(30 30 60 / .08); font-weight: 650; font-size: 1.05em; text-align: center; }
.sl__cards div small { font-weight: 400; color: #7a7a90; font-size: 0.85em; }
.sl__cards i { width: 2.2em; height: 2.2em; border-radius: 0.6em; background: linear-gradient(135deg, #a78bfa, #60a5fa); }
.sl__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4em; margin: 1.6em 2.6em 0; text-align: center; font-weight: 600; }
.sl__steps p { display: grid; justify-items: center; gap: 0.5em; }
.sl__steps i { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #3b82f6); color: #fff; font-style: normal; }
.sl__tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; margin: 1.6em 2.6em 0; align-items: center; }
.sl__tiers div { display: grid; gap: 0.5em; justify-items: center; padding: 1.4em 1em; border-radius: 1em; background: #fff; box-shadow: 0 0.2em 0.8em rgb(30 30 60 / .08); font-weight: 600; }
.sl__tiers div b { font-size: 2.2em; }
.sl__tiers div em { font-style: normal; padding: 0.45em 1.2em; border-radius: 0.5em; background: #eef; color: #5b4bff; font-size: 0.95em; }
.sl__tiers .is-pop { padding-block: 2em; background: linear-gradient(135deg, #8b5cf6, #3b82f6); color: #fff; }
.sl__tiers .is-pop em { background: #fff; }
.sl__cta { margin: 2.4em 2.6em 0; padding: 2.4em; border-radius: 1.2em; text-align: center; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-size: 1.6em; font-weight: 700; }
.sl__foot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; margin: 2em 2.6em 0; }
.sl__foot i { height: 0.7em; border-radius: 0.3em; background: #dcdce8; }
/* designed page: a placeholder layout per trade, its own colours (to be redone with real Stir output) */
.ds { background: var(--pg-bg); color: var(--pg-ink); font-family: var(--f-text); padding-bottom: 2.5em; }
.ds__nav { display: flex; align-items: center; gap: 2em; padding: 1.5em 2.6em; font-size: 1.05em; }
.ds__nav b { margin-right: auto; font: 800 1.6em / 1 var(--f-title); letter-spacing: -0.035em; }
.ds__nav span { opacity: 0.75; }
.ds__nav em { font-style: normal; padding: 0.55em 1.2em; border-radius: 0.3em; background: var(--pg-acc); color: var(--pg-on); font-weight: 650; }
.ds__main { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.4em; padding: 1em 2.6em 0; align-items: center; }
.ds__kick { font: 500 0.95em / 1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.65; margin-bottom: 1em; }
.ds__title { font: 800 4.3em / 0.95 var(--f-title); letter-spacing: -0.05em; }
.ds__title span { color: var(--pg-acc); }
.ds__sub { margin-top: 0.9em; font-size: 1.15em; line-height: 1.4; opacity: 0.75; max-width: 22em; }
.ds__btn { display: inline-block; margin-top: 1.4em; padding: 0.8em 1.5em; border-radius: 0.3em; background: var(--pg-acc); color: var(--pg-on); font-weight: 650; font-size: 1.05em; }
.ds__img { position: relative; height: 19em; border-radius: 0.6em; background: var(--pg-img); overflow: hidden; }
.ds__img--list { background: color-mix(in oklab, var(--pg-ink) 6%, var(--pg-bg)); }
.ds__list { display: grid; gap: 0.6em; padding: 1.4em; font-size: 1.05em; }
.ds__list p { display: flex; justify-content: space-between; gap: 1em; padding-bottom: 0.6em; border-bottom: 1px dashed color-mix(in oklab, var(--pg-ink) 22%, transparent); }
.ds__band { margin: 3em 2.6em 0; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2em; align-items: end; }
.ds__band h4 { font: 800 2.6em / 1 var(--f-title); letter-spacing: -0.04em; }
.ds__band p { font-size: 1.1em; line-height: 1.5; opacity: 0.72; }
.ds__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; padding: 1.8em 2.6em 0; }
.ds__row div { display: grid; gap: 0.6em; font-weight: 650; font-size: 1.05em; }
.ds__row div::before { content: ""; aspect-ratio: 4 / 5; border-radius: 0.4em; background: var(--pg-img); }
.ds__row small { display: block; font-weight: 400; opacity: 0.7; }
.ds__quote { margin: 3em 2.6em 0; padding: 2em 0; border-block: 1px solid color-mix(in oklab, var(--pg-ink) 18%, transparent); font: 700 2.1em / 1.15 var(--f-title); letter-spacing: -0.03em; max-width: 22em; }
.ds__foot { display: flex; justify-content: space-between; align-items: end; margin: 3em 2.6em 0; }
.ds__foot b { font: 800 5em / 0.8 var(--f-title); letter-spacing: -0.06em; color: var(--pg-acc); }
.ds__foot span { opacity: 0.6; font-size: 0.95em; }
/* the phone versions of both pages */
.pl .sl__nav, .pl .ds__nav { padding: 0.6em 1.4em 1em; gap: 1em; font-size: 1.1em; }
.pl .sl__nav span, .pl .ds__nav span { display: none; }
.pl .sl__hero { margin: 0 1.2em; padding: 2.2em 1.2em 2em; }
.pl .sl__hero b { font-size: 2.4em; }
.pl .sl__hero p { font-size: 1.1em; }
.pl .sl__hero span { flex-direction: column; }
.pl .sl__logos { margin: 1.4em 1.2em 0; gap: 0.8em; } .pl .sl__logos i { width: 4em; }
.pl .sl__h2 { margin: 2em 1.2em 0; font-size: 1.7em; }
.pl .sl__cards, .pl .sl__steps, .pl .sl__tiers { grid-template-columns: 1fr; margin: 1.2em 1.2em 0; gap: 0.8em; }
.pl .sl__cta { margin: 2em 1.2em 0; font-size: 1.3em; padding: 1.6em; }
.pl .sl__foot { margin: 1.6em 1.2em 0; grid-template-columns: 1fr 1fr; }
.pl .ds__main { grid-template-columns: 1fr; padding: 0.4em 1.4em 0; gap: 1.4em; }
.pl .ds__title { font-size: 3.4em; }
.pl .ds__img { height: 12em; }
.pl .ds__band { grid-template-columns: 1fr; margin: 2.4em 1.4em 0; gap: 0.8em; }
.pl .ds__row { grid-template-columns: 1fr 1fr; padding: 1.4em 1.4em 0; }
.pl .ds__quote { margin: 2.4em 1.4em 0; font-size: 1.7em; }
.pl .ds__foot { margin: 2.4em 1.4em 0; } .pl .ds__foot b { font-size: 3.4em; }
@media (max-width: 767px) {
  .scan { --phw: 14rem; }
  .scan { --lab-h: 3.6rem; }
  .scan__labels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .scan__label--slop { grid-column: 1 / 3; margin-right: 1.1rem; } .scan__label--stir { grid-column: 3 / 5; margin-left: 1.1rem; }
  .scan__label b { font-size: clamp(1.25rem, 5.6vw, 1.6rem); }
  .scan__view { -webkit-mask-image: none; mask-image: none; }
  .scan__node { width: 4.25rem; }
}
@media (prefers-reduced-motion: reduce) { .scan__halo { animation: none; } }

/* ---------- the size panel of the scanner (?reglages=1): framed like a layer's properties in a design tool ---------- */
.cfg { position: fixed; left: 1rem; bottom: 1rem; z-index: 90; width: min(21rem, calc(100vw - 2rem)); background: color-mix(in oklab, var(--ember-lo) 95%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cream) 18%, transparent), 0 1.5rem 3rem -1rem #000; font: 400 0.8125rem / 1.3 var(--f-text); color: var(--ink-2); }
.cfg[hidden] { display: none; }
.cfg__head { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.6rem 0.7rem 0.9rem; border-bottom: 1px solid var(--hairline); }
.cfg__head b { margin-right: auto; color: var(--ink); font: 600 0.8125rem / 1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.cfg__fold { width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border: 0; border-radius: 4px; background: color-mix(in oklab, var(--cream) 7%, transparent); box-shadow: inset 0 0 0 1px var(--stroke); color: var(--ink); cursor: pointer; }
.cfg__fold svg { width: 0.9rem; height: 0.9rem; fill: none; stroke: currentColor; stroke-width: 2; transition: rotate 0.3s var(--roll); }
.cfg.is-folded .cfg__fold svg { rotate: 180deg; }
.cfg.is-folded .cfg__body { display: none; }
.cfg__body { display: grid; gap: 0.85rem; padding: 0.9rem; }
.cfg__presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.cfg__presets button, .cfg__copy, .cfg__reset { height: 2.1rem; border: 0; border-radius: 4px; background: color-mix(in oklab, var(--cream) 6%, transparent); box-shadow: inset 0 0 0 1px var(--stroke); color: var(--ink); font: 600 0.8125rem / 1 var(--f-text); cursor: pointer; }
.cfg__presets button:hover, .cfg__reset:hover { box-shadow: inset 0 0 0 1px var(--potion); color: var(--potion-light); }
.cfg__presets button.is-on { background: color-mix(in oklab, var(--potion) 20%, transparent); box-shadow: inset 0 0 0 1px var(--potion); }
.cfg__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 0.75rem; align-items: center; }
.cfg__row label { color: var(--ink); }
.cfg__row output { font: 500 0.8125rem / 1 var(--f-mono); color: var(--potion-light); font-variant-numeric: tabular-nums; }
.cfg__row input { grid-column: 1 / -1; width: 100%; accent-color: var(--potion); }
.cfg__row.is-off { opacity: 0.4; }
.cfg__foot { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem; }
.cfg__copy { background: linear-gradient(152deg, var(--potion-deep), var(--potion) 45%, var(--potion-deep)); color: #2B0C02; box-shadow: none; }
.cfg__reset { padding: 0 0.8rem; }
.cfg__done { min-height: 1em; color: var(--potion-light); font-size: 0.75rem; }


/* ---------- 9. Sections and shared frames ---------- */
.band { width: var(--page); margin-inline: auto; padding-block: var(--gap-band); }
.band__head { display: grid; justify-items: center; text-align: center; gap: 0.9rem; margin: 0 auto clamp(1.75rem, 3.5vw, 3rem); max-width: 52rem; }
.band__head h2 { font-size: var(--t-h2); }
.band + .band { padding-top: calc(var(--gap-band) * 0.55); }
.window { position: relative; border-radius: 14px; background: var(--iron); box-shadow: inset 0 0 0 1px var(--hairline), var(--sheen), 0 1.75rem 3.5rem -2rem var(--ember-lo); overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 0.4rem; height: 2.25rem; padding: 0 0.85rem; border-bottom: 1px solid var(--hairline); }
.window__bar i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: color-mix(in oklab, var(--cream) 14%, var(--iron)); }
.window__bar span { margin-inline: auto; max-width: 60%; padding: 0.2rem 0.9rem; border-radius: 999px; background: color-mix(in oklab, var(--cream) 6%, transparent); font: 500 0.6875rem / 1.3 var(--f-mono); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo--slot { background: color-mix(in oklab, var(--iron) 80%, var(--ember)); color: var(--ink-3); }
.runlabel { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.95rem; border-radius: 999px; background: var(--cream); color: var(--ember-lo); font: 600 0.8125rem / 1.1 var(--f-text); box-shadow: 0 0.6rem 1.4rem -0.6rem var(--ember-lo); white-space: nowrap; }
.runlabel::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--potion); box-shadow: 0 0 0 3px color-mix(in oklab, var(--potion) 25%, transparent); }
/* the scroller: a real page that scrolls inside a screen (by itself, or under the visitor's hand) */
.scroller { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller--duel { position: relative; height: clamp(22rem, 38vw, 36rem); }
.tall { aspect-ratio: var(--ratio); padding: 0; border-radius: 0; align-content: start;
  background: repeating-linear-gradient(180deg, transparent 0 calc(var(--band, 11%) - 1px), var(--hairline) calc(var(--band, 11%) - 1px) var(--band, 11%)), color-mix(in oklab, var(--iron) 80%, var(--ember)); }
.tall::after { opacity: 0.55; }
.tall.is-filled { aspect-ratio: auto; background: none; }
.tall.is-filled img { position: static; height: auto; }
.tall__label { position: sticky; top: 0.6rem; z-index: 1; display: grid; gap: 0.15rem; justify-self: center; margin: 0.6rem; padding: 0.45rem 0.7rem; border-radius: 10px; background: var(--ember-lo); box-shadow: inset 0 0 0 1px var(--hairline); font: 400 0.6875rem / 1.35 var(--f-mono); color: var(--ink-3); text-align: center; }
.tall__label b { color: var(--potion-light); font-weight: 500; }
@media (max-width: 560px) { .device-laptop .tall__label { font-size: 0.5rem; margin: 0.35rem; padding: 0.3rem 0.4rem; } }
.device-phone .tall__label { font-size: 0.5625rem; margin: 2.2rem 0.35rem 0; padding: 0.35rem 0.4rem; }

/* ---------- 10. Results: the stage, Previous / Next on the right (ref-293 #3) ---------- */
.reel { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.75fr) auto; gap: clamp(1.25rem, 2.6vw, 2.75rem); align-items: center; }
.reel__text { display: grid; gap: 1rem; align-content: center; }
.result__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.result__tags span { padding: 0.3rem 0.7rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--stroke); font: 500 0.75rem / 1.2 var(--f-mono); color: var(--ink-2); }
.reel h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.reel.is-swapping [data-r] { animation: word-rise 0.9s var(--ease) both; }
@keyframes word-rise { from { opacity: 0; transform: translateY(0.6rem); } }
.request { position: relative; padding-left: 1.4rem; }
.request::before { content: "\201C"; position: absolute; left: 0; top: -0.35rem; font: 700 2.2rem / 1 var(--f-title); color: var(--potion); }
.request small { display: block; margin-bottom: 0.3rem; font: 500 0.75rem / 1.2 var(--f-mono); color: var(--ink-3); letter-spacing: 0.02em; }
.request p { font-size: 1.0625rem; line-height: 1.5; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0.25rem 1.75rem; padding-top: 1rem; border-top: 1px solid var(--hairline); }
.facts dt { font: 500 0.6875rem / 1.3 var(--f-mono); color: var(--ink-3); letter-spacing: 0.04em; text-transform: uppercase; }
.facts dd { margin: 0; font-weight: 600; font-size: 0.9375rem; }
.reel__segs { display: flex; gap: 4px; }
.reel__segs button { flex: 1; height: 1.6rem; padding: 0; border: 0; background: none; cursor: pointer; }
.reel__segs i { display: block; height: 2px; border-radius: 2px; background: color-mix(in oklab, var(--cream) 14%, transparent); position: relative; overflow: hidden; }
.reel__segs i::after { content: ""; position: absolute; inset: 0; background: var(--potion-light); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }
.reel__segs .is-past i::after { transform: none; }
.reel__stage { position: relative; padding: 0 2.75rem 1.75rem 0; }
.reel__laptop { --device-w: clamp(20rem, 45vw, 47rem); margin-inline: auto; }
.reel__laptop .device-laptop__screen { background: var(--iron); }
.reel__phone { --device-w: clamp(7.5rem, 11vw, 10.5rem); position: absolute; right: 0; bottom: 0; z-index: 2; }
.reel__phone .device-phone__screen { background: var(--iron); }
.reel__phone .scroller { inset: 0; border-radius: inherit; }
.reel__stage .runlabel { position: absolute; left: calc((100% - 2.75rem) / 2); bottom: 0.3rem; translate: -50% 0; z-index: 3; }
.reel.is-swapping .reel__stage .scroller { animation: screen-in 1.05s cubic-bezier(.16,1,.3,1) both; }
@keyframes screen-in { from { opacity: 0.2; transform: translateX(8%) scale(1.04); } }
.pager { display: grid; justify-items: center; gap: 0.9rem; }
.pager__btn { position: relative; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; padding: 0; border: 0; border-radius: var(--r-button); cursor: pointer; color: var(--ink);
  background: radial-gradient(80% 80% at 50% 20%, color-mix(in oklab, var(--cream) var(--lift), var(--iron)), color-mix(in oklab, var(--cream) calc(var(--lift) - 10%), var(--iron))); box-shadow: inset 0 0 0 1px var(--stroke), var(--sheen), 0 0.8rem 1.6rem -0.8rem var(--ember-lo);
  transition: --lift 0.25s ease, scale 0.12s; }
/* round 7: a classic hover for Previous / Next: the background gets slightly lighter, nothing else (the handles are for the main buttons) */
@property --lift { syntax: "<percentage>"; inherits: false; initial-value: 10%; }
.pager__btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pager__btn:hover { --lift: 17%; }
.pager__btn:active { scale: 0.96; }
.pager__count { display: grid; justify-items: center; font: 500 0.8125rem / 1.2 var(--f-mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pager__count span { font: 650 1.375rem / 1 var(--f-title); color: var(--potion-light); }
@media (max-width: 1020px) {
  .reel { grid-template-columns: minmax(0, 1fr); }
  .reel__text { order: 3; }
  .pager { order: 2; display: flex; justify-content: center; align-items: center; }
  .pager__count { display: flex; gap: 0.35rem; align-items: baseline; }
}
@media (max-width: 560px) {
  .reel__stage { padding: 0 1.6rem 1.6rem 0; }
  .reel__laptop { --device-w: calc(100vw - 4.25rem); }
  .reel__phone { --device-w: 6.6rem; }
  .reel__stage .runlabel { left: calc((100% - 1.6rem) / 2); font-size: 0.75rem; padding: 0.45rem 0.8rem; }
  .facts { gap: 0.25rem 1.25rem; }
}
/* ---------- 11. The proof: one request typed once, two filmed runs, a stopwatch each ---------- */
.ask { position: relative; width: calc(100% * 8 / 12); margin: 0 auto clamp(1.5rem, 3vw, 2.25rem); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; padding: 0.85rem 0.85rem 0.85rem 1.1rem;
  background: linear-gradient(180deg, color-mix(in oklab, var(--cream) 5%, var(--iron)), var(--iron)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cream) 16%, transparent), var(--sheen), 0 1.5rem 3rem -2rem #000; }
.ask__label { padding: 0.35rem 0.6rem; background: var(--ember-lo); box-shadow: inset 0 0 0 1px var(--hairline); font: 500 0.6875rem / 1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.ask__text { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); line-height: 1.45; color: var(--ink); }
.ask__text .todo { color: color-mix(in oklab, var(--potion-light) 80%, var(--ember)); }
.ask__send { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0; background: linear-gradient(152deg, var(--potion-deep), var(--potion) 45%, var(--potion-deep)); color: #2B0C02; }
.ask__send svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.films { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.film { margin: 0; display: grid; gap: 0.8rem; }
.film__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.film__who b { font: 650 1.125rem / 1.2 var(--f-text); }
.film--alone .film__who b { color: var(--ink-2); }
.film--stir .film__who b { color: var(--potion-light); }
.watch { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.75rem; background: var(--ember-lo); box-shadow: inset 0 0 0 1px var(--stroke), inset 0 1px 0 color-mix(in oklab, var(--cream) 8%, transparent); font: 600 1.25rem / 1 var(--f-mono); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.film--stir .watch { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion) 55%, transparent); color: var(--potion-light); }
.watch__icon { position: relative; width: 0.95rem; height: 0.95rem; border: 1.5px solid currentColor; border-radius: 50%; opacity: 0.8; }
.watch__icon::before { content: ""; position: absolute; left: 50%; top: -0.32rem; width: 0.35rem; height: 0.18rem; translate: -50% 0; background: currentColor; }
.watch__icon::after { content: ""; position: absolute; left: 50%; top: 18%; width: 1.5px; height: 34%; translate: -50% 0; background: currentColor; transform-origin: 50% 100%; }
.film__frame { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center;
  background: radial-gradient(70% 70% at 50% 45%, color-mix(in oklab, var(--cream) 4%, transparent), transparent 70%), repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in oklab, var(--cream) 3%, transparent) 11px 12px), var(--ember-lo);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cream) 16%, transparent), 0 2rem 4rem -2.5rem #000; }
.film--stir .film__frame { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion) 45%, transparent), 0 2rem 5rem -3rem color-mix(in oklab, var(--potion-deep) 60%, transparent); }
.film--alone .hd { border-color: var(--stroke); }
.film__empty { display: grid; justify-items: center; gap: 0.8rem; color: var(--ink-3); font-size: 0.9375rem; }
.film__play { position: relative; width: 3.5rem; height: 3.5rem; border-radius: 0; box-shadow: inset 0 0 0 1px var(--stroke); }
.film__play::after { content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%; border: solid transparent; border-width: 0.55rem 0 0.55rem 0.9rem; border-left-color: var(--ink-3); }
.film--stir .film__play { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion) 55%, transparent); } .film--stir .film__play::after { border-left-color: var(--potion); }
.film__frame video, .film__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#compare { position: relative; isolation: isolate; }
#compare::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; translate: -50% 0; pointer-events: none; background: radial-gradient(ellipse 44% 62% at 50% 50%, color-mix(in oklab, var(--ember) 97%, transparent) 0%, color-mix(in oklab, var(--ember) 92%, transparent) 55%, transparent 100%); }
@media (max-width: 860px) { .ask { width: 100%; } .films { grid-template-columns: minmax(0, 1fr); } .ask { grid-template-columns: minmax(0, 1fr) auto; } .ask__label { grid-column: 1 / -1; justify-self: start; } }

/* ---------- 12. How it works: double-frame cards whose scene acts out the step ----------
   ref-179 #8 (tile with an inset media panel, its own vertical gradient, a looping self-demonstrating lesson), ref-008 #15
   (a light that travels around the panel's edge), ref-208 #6 (a warm light that follows the pointer), ref-023 #7 (one colour
   marker). Each scene plays only while it is on screen and shows its final state with reduced motion. */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.tile { position: relative; grid-column: span 6; display: grid; grid-template-rows: auto 1fr; padding: 0.5rem; border: 0; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, color-mix(in oklab, var(--iron) 88%, var(--cream)), var(--iron) 30%, color-mix(in oklab, var(--iron) 60%, var(--ember-lo)));
  box-shadow: inset 0 0 0 1px var(--hairline), var(--sheen); transition: box-shadow 0.4s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; opacity: 0; transition: opacity 0.4s; pointer-events: none;
  background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 30%), color-mix(in oklab, var(--potion) 11%, transparent), transparent 70%); }
.tile:hover::before { opacity: 1; }
.tile:hover { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion) 34%, var(--hairline)), var(--sheen), 0 2rem 4rem -2.5rem color-mix(in oklab, var(--potion-deep) 55%, transparent); }
.tile--7 { grid-column: span 7; } .tile--5 { grid-column: span 5; }
.panel { position: relative; isolation: isolate; height: 18rem; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cream) 8%, transparent); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(90deg, color-mix(in oklab, var(--cream) 4%, transparent) 0 1px, transparent 1px 28px); -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 50% at 80% 0%, color-mix(in oklab, var(--potion) 14%, transparent), transparent 70%); transition: opacity 0.5s; opacity: 0.6; }
.tile:hover .panel::after { opacity: 1; }
.panel--a { background: linear-gradient(180deg, #2b1a12, #150c08); }
.panel--b { background: linear-gradient(180deg, #2a1d17, #130d0a); }
.panel--c { background: linear-gradient(180deg, #2c1812, #140a07); }
.panel--d { background: linear-gradient(180deg, #281c16, #120c0a); }
/* the light that travels around the panel's edge (ref-008 #15) */
@property --ca { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.comet { position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ca), transparent 0 78%, color-mix(in oklab, var(--potion) 70%, transparent) 90%, var(--potion-light) 96%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: comet 7s linear infinite; opacity: 0.85; }
.tile:nth-child(2) .comet { animation-delay: -2s; } .tile:nth-child(3) .comet { animation-delay: -4.5s; } .tile:nth-child(4) .comet { animation-delay: -1s; }
@keyframes comet { to { --ca: 360deg; } }
.tile__text { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.85rem; row-gap: 0.35rem; align-content: start; padding: 1.15rem 1rem 0.9rem; }
.tile__text h3 { font: 700 clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem) / 1.2 var(--f-title); letter-spacing: -0.02em; }
.tile__text p { grid-column: 2; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; max-width: 34rem; }
.tile__num { display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 4px; background: color-mix(in oklab, var(--potion) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion) 50%, transparent); color: var(--potion-light); font: 600 0.875rem / 1 var(--f-mono); }

/* scene 1: a research board; the convention of each kind of site is outlined, a leader line names it (ref-179 #8 breakdown,
   ref-008 #17 one lit pill among neutral ones) */
.scene-trade { position: absolute; inset: 0; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1.25rem 1.5rem 1.25rem 1.25rem; }
.tr__tabs { display: grid; gap: 0.45rem; }
.tr__tabs li { display: flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0.7rem; border-radius: 6px; background: color-mix(in oklab, var(--cream) 5%, transparent); box-shadow: inset 0 0 0 1px var(--hairline); font-size: 0.8125rem; color: var(--ink-3); transition: background-color 0.4s, color 0.4s, box-shadow 0.4s; }
.tr__tabs li i { width: 6px; height: 6px; background: var(--stroke); transition: background-color 0.4s, box-shadow 0.4s; }
.tr__tabs li.is-on { background: linear-gradient(152deg, color-mix(in oklab, var(--potion-deep) 70%, var(--ember)), color-mix(in oklab, var(--potion) 55%, var(--ember))); color: var(--cream); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion-light) 45%, transparent), 0 0.6rem 1.4rem -0.6rem color-mix(in oklab, var(--potion) 70%, transparent); }
.tr__tabs li.is-on i { background: var(--potion-light); box-shadow: 0 0 6px var(--potion-light); }
.tr__win { position: relative; height: 14.5rem; border-radius: 8px; background: #1a1614; box-shadow: 0 0 0 1px color-mix(in oklab, var(--cream) 10%, transparent), 0 1.4rem 2.6rem -1.4rem #000; }
.tr__bar { display: flex; align-items: center; gap: 0.3rem; height: 1.6rem; padding: 0 0.6rem; border-bottom: 1px solid #2b2624; }
.tr__bar i { width: 0.42rem; height: 0.42rem; border-radius: 50%; background: #4a4442; }
.tr__bar span { margin-inline: auto; padding: 0.15rem 0.9rem; border-radius: 4px; background: #2b2726; color: #a39a96; font: 500 0.625rem / 1.3 var(--f-mono); }
.tr__screens { position: absolute; inset: 1.6rem 0 0; overflow: hidden; border-radius: 0 0 8px 8px; }
.tr__site { position: absolute; inset: 0; padding: 0.6rem 0.75rem; display: grid; align-content: start; gap: 0.5rem; font-size: 0.625rem; opacity: 0; translate: 0 0.5rem; transition: opacity 0.5s, translate 0.6s var(--ease); }
.tr__site.is-on { opacity: 1; translate: 0 0; }
.tr__nav { display: flex; gap: 0.7rem; align-items: center; } .tr__nav b { margin-right: auto; font: 800 0.85rem / 1 var(--f-title); letter-spacing: -0.03em; } .tr__nav span { opacity: 0.7; }
.tr__mark { border-radius: 4px; transition: box-shadow 0.45s 0.35s; }
.tr__site.is-on .tr__mark { box-shadow: 0 0 0 1.5px var(--potion), 0 0 0 5px color-mix(in oklab, var(--potion) 20%, transparent); }
.tr__site--resto { background: #1a0f0a; color: #f6e7d8; }
.tr__hero { height: 3.4rem; display: grid; align-items: end; padding: 0.45rem 0.55rem; border-radius: 4px; background: radial-gradient(80% 120% at 80% 100%, #a3401a, transparent 60%), linear-gradient(160deg, #3a1d10, #1f0f08); font: 800 0.95rem / 1 var(--f-title); letter-spacing: -0.03em; }
.tr__menu { display: grid; gap: 0.2rem; padding: 0.35rem 0.45rem; }
.tr__menu p { display: flex; justify-content: space-between; padding: 0.15rem 0; border-bottom: 1px dashed rgb(246 231 216 / .2); }
.tr__h { font: 800 0.85rem / 1 var(--f-title); color: #ff7a3a; border: 0 !important; }
.tr__site--shop { background: #f3ede2; color: #1d1a16; }
.tr__cart { opacity: 1 !important; padding: 0.25rem 0.5rem; background: #1d1a16; color: #f3ede2; }
.tr__shirts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
.tr__shirts p { display: grid; gap: 0.25rem; font-weight: 600; }
.tr__shirts p b { font-weight: 500; opacity: 0.7; }
.tr__shirts i { height: 6.2rem; border-radius: 4px; background: linear-gradient(160deg, #e2d7c4, #cdbfa6); position: relative; }
.tr__shirts i::after { content: ""; position: absolute; inset: 22% 22% 16%; background: #3b4a5c; clip-path: polygon(22% 0, 38% 0, 50% 8%, 62% 0, 78% 0, 100% 18%, 88% 34%, 78% 28%, 78% 100%, 22% 100%, 22% 28%, 12% 34%, 0 18%); }
.tr__shirts p:nth-child(2) i::after { background: #b2552e; } .tr__shirts p:nth-child(3) i::after { background: #e9e1d2; }
.tr__site--plans { background: #10151c; color: #e8eef5; }
.tr__plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; padding: 0.3rem; }
.tr__plans p { display: grid; gap: 0.3rem; padding: 0.6rem 0.5rem; border-radius: 4px; background: rgb(255 255 255 / .05); }
.tr__plans p b { font: 800 1.15rem / 1 var(--f-title); }
.tr__plans p i { height: 0.3rem; border-radius: 2px; background: rgb(255 255 255 / .12); } .tr__plans p i + i { width: 70%; }
.tr__plans p.is-on { background: #7ee0b8; color: #0b1015; } .tr__plans p.is-on i { background: rgb(11 16 21 / .2); }
.tr__lead { position: absolute; right: -0.6rem; bottom: -0.9rem; display: flex; align-items: center; gap: 0; z-index: 3; }
.tr__lead i { width: 2.4rem; height: 1px; background: var(--potion); position: relative; transform-origin: 0 50%; }
.tr__lead i::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; background: var(--potion); }
.tr__lead b { padding: 0.4rem 0.7rem; background: var(--potion); color: #2B0C02; font: 650 0.8125rem / 1 var(--f-text); box-shadow: 0 0.6rem 1.4rem -0.6rem color-mix(in oklab, var(--potion) 80%, transparent); white-space: nowrap; }
.tr__lead.is-in b { animation: word-rise 0.5s var(--ease) both; } .tr__lead.is-in i { animation: lead-draw 0.4s var(--ease) both; }
@keyframes lead-draw { from { transform: scaleX(0); } }
@keyframes word-rise { from { opacity: 0; transform: translateY(0.6rem); } }

/* scene 2: the name becomes the shape that frames every photo */
.scene-idea { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 1rem; align-items: center; padding: 1.25rem 1.25rem; }
.idea__card { display: grid; gap: 0.8rem; align-content: center; }
.idea__name { display: grid; gap: 0.2rem; } .idea__name b { font: 800 2.6rem / 0.9 var(--f-title); letter-spacing: -0.05em; color: var(--cream); } .idea__name span { color: var(--ink-3); font: 500 0.6875rem / 1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.idea__means { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; font-size: 0.8125rem; color: var(--ink-3); }
.idea__chip { padding: 0.3rem 0.55rem; background: color-mix(in oklab, var(--cream) 7%, transparent); box-shadow: inset 0 0 0 1px var(--stroke); color: var(--ink); font: 500 0.8125rem / 1 var(--f-mono); transition: background-color 0.4s, box-shadow 0.4s, color 0.4s; }
.scene-idea.s1 .idea__chip--lit { background: var(--potion); color: #2B0C02; box-shadow: 0 0 1.2rem -0.2rem var(--potion); }
.idea__cliches { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.idea__cliches s { position: relative; padding: 0.25rem 0.5rem; box-shadow: inset 0 0 0 1px var(--hairline); color: var(--ink-3); font-size: 0.75rem; text-decoration: none; }
.idea__cliches s::after { content: ""; position: absolute; left: 0.35rem; right: 0.35rem; top: 50%; height: 1.5px; background: var(--potion); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.45s var(--ease); }
.scene-idea.s2 .idea__cliches s::after { transform: scaleX(1); } .scene-idea.s2 .idea__cliches s:nth-child(2)::after { transition-delay: 0.18s; } .scene-idea.s2 .idea__cliches s:nth-child(3)::after { transition-delay: 0.36s; }
.idea__shop { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.6rem; border-radius: 8px; background: #efe7da; box-shadow: 0 1.2rem 2.4rem -1.2rem #000; }
.idea__pic { position: relative; height: 9rem; border-radius: 0 0 4px 4px; background: linear-gradient(170deg, #cfd9d3 0%, #9fb3ab 55%, #7d958c 100%); }
.idea__pic--2 { background: linear-gradient(170deg, #e6d3c0, #c8a88c 60%, #a9876c); margin-top: 1rem; }
.idea__pic svg { position: absolute; left: 0; right: 0; top: -0.1rem; width: 100%; height: 1.2rem; overflow: visible; }
.idea__wave-fill { fill: #efe7da; opacity: 0; transition: opacity 0.5s 0.6s; }
.idea__wave { fill: none; stroke: var(--potion-deep); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 1.1s var(--ease); }
.idea__pic { clip-path: inset(0); }
.scene-idea.s3 .idea__wave { stroke-dashoffset: 0; } .scene-idea.s3 .idea__wave-fill { opacity: 1; }
.scene-idea.s3 .idea__pic--2 .idea__wave { transition-delay: 0.25s; }
.idea__note { grid-column: 1 / -1; font: 500 0.6875rem / 1.2 var(--f-mono); color: #7a5a44; opacity: 0; transition: opacity 0.4s 0.9s; }
.scene-idea.s3 .idea__note { opacity: 1; }
html.js .scene-idea:not(.s1) .idea__means, html.js .scene-idea:not(.s2) .idea__cliches { opacity: 0.35; }
.idea__means, .idea__cliches { transition: opacity 0.4s; }

/* scene 3: a search, a fan of studied references (each a small real layout), one is drawn and its part lands in the page */
.scene-lib { position: absolute; inset: 0; display: grid; grid-template-columns: 1.15fr 0.85fr; grid-template-rows: auto 1fr; gap: 0.6rem 0.5rem; padding: 1rem 1.25rem 1rem; }
.lib__search { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.6rem; height: 2.3rem; padding: 0 0.4rem 0 0.75rem; background: var(--ember-lo); box-shadow: inset 0 0 0 1px var(--stroke); font: 400 0.75rem / 1 var(--f-mono); color: var(--ink); }
.lib__glass { position: relative; width: 0.8rem; height: 0.8rem; border: 1.5px solid var(--ink-3); border-radius: 50%; flex: none; }
.lib__glass::after { content: ""; position: absolute; right: -0.3rem; bottom: -0.3rem; width: 0.35rem; height: 1.5px; background: var(--ink-3); rotate: 45deg; }
.lib__search span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.lib__search .lib__glass { flex: none; }
.lib__search b { padding: 0.35rem 0.5rem; background: color-mix(in oklab, var(--potion) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion) 50%, transparent); color: var(--potion-light); font-weight: 600; }
.lib__fan { position: relative; }
.lib__card { position: absolute; left: 50%; bottom: 0.2rem; width: 5.6rem; height: 7.6rem; margin-left: -2.8rem; padding: 0.4rem; border-radius: 6px; display: grid; grid-template-rows: auto 1.7rem 1fr 0.5rem; gap: 0.3rem;
  background: #f1ebe2; box-shadow: 0 0 0 1px rgb(0 0 0 / .3), 0 0.6rem 1.2rem -0.6rem #000; transform-origin: 50% 130%; rotate: calc((var(--i) - 2) * 10deg); transition: translate 0.6s var(--ease), rotate 0.6s var(--ease), box-shadow 0.3s; }
.lib__card b { font: 500 0.5625rem / 1 var(--f-mono); color: #6b5e53; }
.lib__card i { border-radius: 2px; background: #d8cfc1; }
.lib__card i:nth-of-type(2) { background: repeating-linear-gradient(180deg, #d8cfc1 0 2px, transparent 2px 6px); }
.lib__card i:nth-of-type(3) { width: 55%; background: #1d1a16; }
.lib__card--a { background: #10151c; } .lib__card--a b { color: #8fa1b3; } .lib__card--a i:nth-of-type(1) { background: #7ee0b8; } .lib__card--a i:nth-of-type(2) { background: repeating-linear-gradient(180deg, #2a3440 0 2px, transparent 2px 6px); } .lib__card--a i:nth-of-type(3) { background: #7ee0b8; }
.lib__card--b { background: #e9ece4; } .lib__card--b i:nth-of-type(1) { background: #3e6b4f; }
.lib__card--c { background: #1a0f0a; } .lib__card--c b { color: #b59a86; } .lib__card--c i:nth-of-type(1) { background: linear-gradient(160deg, #a3401a, #3a1d10); } .lib__card--c i:nth-of-type(2) { background: repeating-linear-gradient(180deg, #3a2a22 0 2px, transparent 2px 6px); } .lib__card--c i:nth-of-type(3) { background: #ff7a3a; }
.lib__card--d { background: #f6e7ee; } .lib__card--d i:nth-of-type(1) { background: #ff6183; }
.lib__card--pick { z-index: 2; background: #160d09; } .lib__card--pick b { color: var(--potion-light); } .lib__card--pick i:nth-of-type(1) { background: linear-gradient(90deg, var(--potion-deep), var(--potion)); } .lib__card--pick i:nth-of-type(2) { background: repeating-linear-gradient(180deg, #3a2a22 0 2px, transparent 2px 6px); } .lib__card--pick i:nth-of-type(3) { background: var(--potion); }
.scene-lib.s1 .lib__card--pick { translate: 0 -1.5rem; rotate: 0deg; box-shadow: 0 0 0 1.5px var(--potion), 0 0 0 5px color-mix(in oklab, var(--potion) 18%, transparent), 0 1rem 2rem -0.8rem color-mix(in oklab, var(--potion-deep) 70%, transparent); }
.scene-lib.s1 .lib__card:not(.lib__card--pick) { translate: 0 0.3rem; }
.lib__page { align-self: center; justify-self: center; width: 100%; max-width: 8.6rem; height: 11.2rem; padding: 0.6rem; border-radius: 6px; display: grid; align-content: start; gap: 0.45rem; background: #f4efe6; box-shadow: 0 1rem 2rem -1rem #000; }
.lib__page i { height: 1rem; border-radius: 2px; background: #e1d9cc; } .lib__page i:first-child { height: 2.6rem; background: linear-gradient(160deg, #e4dacb, #d3c6b2); }
.lib__page .lib__slot { height: 2.4rem; background: none; box-shadow: inset 0 0 0 1px #c9bfae; outline: 1px dashed #b8ab96; outline-offset: -4px; transition: background-color 0.3s 0.75s, outline-color 0.3s 0.75s; }
.lib__page .lib__short { width: 60%; }
.scene-lib.s2 .lib__slot { background: linear-gradient(90deg, var(--potion-deep), var(--potion)); outline-color: transparent; }
.lib__part { position: absolute; border-radius: 2px; background: linear-gradient(90deg, var(--potion-deep), var(--potion)); opacity: 0; left: var(--x0, 30%); top: var(--y0, 40%); box-shadow: 0 0.6rem 1.2rem -0.4rem color-mix(in oklab, var(--potion-deep) 70%, transparent); pointer-events: none; }
.scene-lib.s2 .lib__part { animation: part-fly 0.9s var(--ease) both; }
@keyframes part-fly { 0% { opacity: 1; left: var(--x0); top: var(--y0); } 85% { opacity: 1; left: var(--x1); top: var(--y1); width: var(--w1); height: var(--h1); } 100% { opacity: 0; left: var(--x1); top: var(--y1); width: var(--w1); height: var(--h1); } }

/* scene 4: a framed photo slot (crop marks, ratio) and the prompt that writes itself */
.scene-photo { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr); gap: 1.25rem; align-items: center; padding: 1.25rem 1.5rem; }
.photo-mock { position: relative; aspect-ratio: 4 / 5; max-height: 14.5rem; justify-self: center; width: 100%; max-width: 11.6rem; display: grid; place-items: center; align-content: center; gap: 0.6rem;
  background: repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in oklab, var(--cream) 4%, transparent) 9px 10px), color-mix(in oklab, var(--cream) 5%, var(--iron)); outline: 1px dashed color-mix(in oklab, var(--cream) 24%, transparent); outline-offset: -0.6rem; transition: outline-color 0.4s, box-shadow 0.4s; }
.crop { position: absolute; width: 0.9rem; height: 0.9rem; border: solid var(--ink-2); border-width: 0; }
.crop--tl { left: -0.35rem; top: -0.35rem; border-width: 1.5px 0 0 1.5px; } .crop--tr { right: -0.35rem; top: -0.35rem; border-width: 1.5px 1.5px 0 0; }
.crop--bl { left: -0.35rem; bottom: -0.35rem; border-width: 0 0 1.5px 1.5px; } .crop--br { right: -0.35rem; bottom: -0.35rem; border-width: 0 1.5px 1.5px 0; }
.photo-mock__cam { width: 2.4rem; height: 1.8rem; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--ink-3); position: relative; }
.photo-mock__cam::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.8rem; height: 0.8rem; translate: -50% -50%; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.photo-mock__label { font-size: 0.75rem; color: var(--ink-3); }
.photo-mock__ratio { position: absolute; right: 0.5rem; bottom: 0.5rem; padding: 0.2rem 0.4rem; background: var(--ember-lo); font: 500 0.625rem / 1 var(--f-mono); color: var(--ink-2); }
.scene-photo.s2 .photo-mock { outline-color: var(--potion); box-shadow: 0 0 0 1px color-mix(in oklab, var(--potion) 45%, transparent), 0 0 2.5rem -0.6rem color-mix(in oklab, var(--potion) 60%, transparent); }
.scene-photo.s2 .crop { border-color: var(--potion); }
.prompt { display: grid; gap: 0.55rem; padding: 0.9rem 1rem; border-radius: 8px; background: var(--iron); box-shadow: inset 0 0 0 1px var(--stroke), 0 1rem 2rem -1rem var(--ember-lo); min-height: 12.2rem; align-content: start; }
.prompt__head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--hairline); }
.prompt__head b { font: 600 0.8125rem / 1.2 var(--f-text); color: var(--ink); } .prompt__head span { font: 500 0.625rem / 1 var(--f-mono); color: var(--ink-3); }
.prompt__text { min-height: 4.7em; font: 400 0.75rem / 1.55 var(--f-mono); color: var(--ink-2); }
.prompt__chips { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.prompt__chips span { padding: 0.22rem 0.45rem; box-shadow: inset 0 0 0 1px var(--hairline); font: 500 0.625rem / 1 var(--f-mono); color: var(--ink-3); }
.prompt__btn { justify-self: start; padding: 0.45rem 0.75rem; border-radius: 4px; background: var(--potion); color: var(--ember-lo); font: 600 0.75rem / 1 var(--f-text); transition: background-color 0.3s; }
.prompt__btn.is-done { background: var(--cream); }


/* ---------- 13. It checks its own work: a cursor fixes its own frame (ref-321) ---------- */
.taste { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); border-radius: 24px; background: color-mix(in oklab, var(--iron) 82%, var(--ember)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion) 26%, var(--hairline)), var(--sheen), 0 2.5rem 6rem -4rem color-mix(in oklab, var(--potion-deep) 60%, transparent); overflow: hidden; }
.board { position: relative; min-height: 24rem; margin: 0.5rem; border-radius: 18px; background: radial-gradient(color-mix(in oklab, var(--cream) 12%, transparent) 1px, transparent 1.4px) 0 0 / 18px 18px, color-mix(in oklab, var(--ember-lo) 60%, var(--iron)); box-shadow: inset 0 0 0 1px var(--hairline); overflow: hidden; display: grid; place-items: center; }
.artboard { position: relative; width: 17.5rem; }
.artboard__name { margin-bottom: 0.35rem; font: 500 0.6875rem / 1 var(--f-mono); color: var(--ink-3); }
.artboard__page { position: relative; height: 18rem; padding: 0.9rem 1rem; border-radius: 6px; background: #f4efe6; color: #1a1410; box-shadow: 0 1.5rem 3rem -1.5rem var(--ember-lo); }
.ab-nav { display: flex; gap: 0.75rem; align-items: center; font: 500 0.6875rem / 1 var(--f-text); color: #6b5e53; }
.ab-nav b { margin-right: auto; font: 800 0.95rem / 1 var(--f-title); letter-spacing: -0.03em; color: #b8401a; }
.tbox { position: absolute; left: 1rem; top: 3.2rem; width: var(--tw, 1.3rem); min-height: 2.3rem; padding: 0.15rem 0.45rem; border: 1px solid var(--potion); border-radius: 2px; font: 800 1.45rem / 1.25 var(--f-title); letter-spacing: -0.035em; color: #1a1410; transition: width 0.12s linear; }
.tbox.is-dragging { transition: none; }
.tbox > i { position: absolute; width: 7px; height: 7px; border: 1px solid var(--potion); border-radius: 1px; background: #fff; translate: -50% -50%; }
.tbox > i:nth-of-type(1) { left: 0; top: 0; } .tbox > i:nth-of-type(2) { left: 100%; top: 0; } .tbox > i:nth-of-type(3) { left: 0; top: 100%; } .tbox > i:nth-of-type(4) { left: 100%; top: 100%; }
.tbox__caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.15em; background: var(--potion-deep); animation: caret-blink 1.05s steps(1) infinite; }
.tbox.is-still .tbox__caret { display: none; }
.tbox.is-wrong { border-color: var(--potion-deep); box-shadow: 0 0 0 3px color-mix(in oklab, var(--potion-deep) 25%, transparent); }
.ab-sub { position: absolute; left: 1rem; right: 1rem; top: var(--sub-top, 9.4rem); font: 400 0.75rem / 1.4 var(--f-text); color: #6b5e53; transition: top 0.4s var(--ease); }
.ab-btn { position: absolute; left: 1rem; bottom: 1rem; padding: 0.55rem 0.9rem; border-radius: 999px; background: #b8401a; color: #fff6ee; font: 600 0.75rem / 1 var(--f-text); }
.flag { position: absolute; left: 50%; top: 1rem; translate: -50% -0.5rem; padding: 0.45rem 0.8rem; border-radius: 999px; background: var(--potion-deep); color: var(--cream); font: 600 0.8125rem / 1.2 var(--f-text); white-space: nowrap; opacity: 0; transition: opacity 0.3s, translate 0.4s var(--ease), background-color 0.3s; }
.flag.is-on { opacity: 1; translate: -50% 0; }
.flag.is-ok { background: var(--cream); color: var(--ember-lo); }
.ptr { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 0.35s; }
.ptr.is-on { opacity: 1; }
.ptr svg { position: absolute; left: 0; top: 0; overflow: visible; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.ptr__arrow { width: 20px; height: 20px; translate: -3px -2px; } .ptr__arrow path { fill: var(--potion); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.ptr__beam { width: 12px; height: 22px; translate: -6px -11px; display: none; } .ptr__beam path { fill: none; stroke: var(--potion); stroke-width: 1.8; stroke-linecap: round; }
.ptr.is-beam .ptr__arrow { display: none; } .ptr.is-beam .ptr__beam { display: block; }
.ptr.is-grab .ptr__arrow path { fill: var(--potion-light); }
.ptr__tag { position: absolute; left: 12px; top: 15px; padding: 2px 7px; border-radius: 4px; background: var(--potion); color: var(--ember-lo); font: 600 0.6875rem / 16px var(--f-text); white-space: nowrap; }
.taste__side { display: grid; gap: 1.1rem; align-content: space-between; padding: 1.6rem 1.6rem 1.6rem 1.25rem; }
.taste__side h3 { margin-top: 0.7rem; font-size: clamp(1.4rem, 1.15rem + 0.7vw, 1.9rem); }
.taste__side > div > p { margin-top: 0.5rem; color: var(--ink-2); font-size: 0.9875rem; line-height: 1.5; }
.report { display: grid; gap: 0.55rem; }
.report li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.65rem; align-items: start; padding: 0.7rem 0.85rem; border-radius: 12px; background: var(--ember-lo); box-shadow: inset 0 0 0 1px var(--hairline); font-size: 0.9375rem; line-height: 1.4; color: var(--ink-2); transition: opacity 0.4s, box-shadow 0.4s, color 0.4s; }
.report li i { width: 1.1rem; height: 1.1rem; margin-top: 0.1rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--stroke); position: relative; }
html.js .report li:not(.is-on) { opacity: 0.35; }
.report li.is-on { color: var(--ink); }
.report li[data-rl="run"].is-on i { box-shadow: inset 0 0 0 1.5px var(--potion-light); }
.report li[data-rl="fault"].is-on { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion-deep) 60%, transparent); }
.report li[data-rl="fault"].is-on i { background: var(--potion-deep); box-shadow: none; }
.report li[data-rl="fault"].is-on i::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 0.7rem / 1 var(--f-text); color: var(--cream); }
.report li[data-rl="ok"].is-on { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion) 50%, transparent); }
.report li[data-rl="ok"].is-on i { background: var(--potion); box-shadow: none; }
.report li[data-rl="ok"].is-on i::after { content: ""; position: absolute; left: 0.37rem; top: 0.2rem; width: 0.28rem; height: 0.52rem; border: solid var(--ember-lo); border-width: 0 2px 2px 0; rotate: 45deg; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; }
.checklist span { padding: 0.35rem 0.65rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hairline); font-size: 0.8125rem; color: var(--ink-2); }
@media (max-width: 1020px) { .taste { grid-template-columns: minmax(0, 1fr); } .tile--7, .tile--5 { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .tile__art { height: 15rem; }
  .scene-trade { padding: 1rem 0.75rem 3.4rem; gap: 0.45rem; } .mini { height: 9.5rem; padding: 0.45rem; font-size: 0.5625rem; } .mini__h { font-size: 0.8rem; }
  .mini__nav span:not(.mini__cart) { display: none; }
  .scene-trade__say { font-size: 0.8125rem; }
  .scene-lib { padding: 0.75rem; } .lib__card { width: 5.2rem; height: 7rem; margin-left: -2.6rem; } .lib__page { width: 7rem; height: 9.5rem; }
  .scene-photo { padding: 1rem; gap: 0.75rem; } .prompt { padding: 0.75rem; font-size: 0.6875rem; }
  .tile__text { padding: 1rem 1.1rem 1.2rem; }
  .board { min-height: 22rem; } .artboard { width: 16rem; } .taste__side { padding: 1.25rem 1.1rem 1.4rem; } .checklist { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 14. What you get: two cards from the left, two from the right ---------- */
.gets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1.25rem; }
html.js [data-reveal="far-left"] { transform: translateX(-7rem) rotate(-2deg); transition-duration: 0.8s, 1.1s; }
html.js [data-reveal="far-right"] { transform: translateX(7rem) rotate(2deg); transition-duration: 0.8s, 1.1s; }
html.js [data-reveal="far-left"].in-view, html.js [data-reveal="far-right"].in-view { transform: none; }
.get { display: grid; align-content: start; gap: 0.3rem; padding: 0.6rem 0.6rem 1.1rem; border-radius: 18px; background: color-mix(in oklab, var(--iron) 82%, var(--ember)); box-shadow: inset 0 0 0 1px var(--hairline), var(--sheen); }
.get h3 { padding: 0.55rem 0.5rem 0; font-size: 1.0625rem; font-weight: 650; }
.get > p:not(.get__art) { padding: 0 0.5rem; color: var(--ink-2); font-size: 0.875rem; line-height: 1.45; }
.get__art { padding: 0.75rem 0.9rem; border-radius: 12px; background: var(--ember-lo); box-shadow: inset 0 0 0 1px var(--hairline); font: 400 0.72rem / 1.6 var(--f-mono); color: var(--ink-2); white-space: pre; overflow: hidden; min-height: 7.4rem; }
.get__art b { color: var(--ink); font-weight: 500; } .get__art i { color: var(--potion); font-style: normal; }
@media (max-width: 960px) { .gets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gets { grid-template-columns: minmax(0, 1fr); } html.js [data-reveal="far-left"] { transform: translateX(-3rem); } html.js [data-reveal="far-right"] { transform: translateX(3rem); } }
/* ---------- 15. The price: three cards on a glow, the canvas grid covered here ----------
   Today (the lit card, ref-048), the next price with a countdown in days to ONE date (data-next-price-date), the final price.
   Behind: one glow like the top of the page, nothing else; the section's ground covers the grid and fades at its edges. */
.pricing { position: relative; isolation: isolate; padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.pricing__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(48% 52% at 50% 46%, color-mix(in oklab, var(--potion-deep) 24%, transparent), color-mix(in oklab, var(--potion-deep) 8%, transparent) 55%, transparent 78%), var(--ember);
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); animation: glow-breathe 9s ease-in-out infinite alternate; }
@keyframes glow-breathe { from { opacity: 0.88; } to { opacity: 1; } }
.pricing__in { width: var(--page); margin-inline: auto; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; max-width: 70rem; margin-inline: auto; }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 0.85rem; padding: 1.6rem; border-radius: 10px; isolation: isolate;
  background: radial-gradient(130% 70% at 0% 0%, color-mix(in oklab, var(--cream) 8%, var(--iron)) 0%, var(--iron) 42%, var(--ember-lo) 85%); }
.plan::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, color-mix(in oklab, var(--cream) 30%, transparent), color-mix(in oklab, var(--cream) 10%, transparent) 45%, color-mix(in oklab, var(--cream) 5%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.plan--lit { background:
  radial-gradient(45% 28% at 14% 9%, color-mix(in oklab, var(--potion) 80%, transparent) 0%, color-mix(in oklab, var(--potion-deep) 40%, transparent) 45%, transparent 80%),
  linear-gradient(67deg, transparent 32%, color-mix(in oklab, var(--potion-deep) 28%, transparent) 45%, transparent 58%),
  radial-gradient(70% 40% at 100% 0%, var(--ember-lo), transparent 70%),
  radial-gradient(80% 18% at 50% 100%, color-mix(in oklab, var(--potion-deep) 38%, transparent), transparent),
  linear-gradient(180deg, color-mix(in oklab, var(--potion-deep) 14%, var(--ember-lo)), color-mix(in oklab, var(--potion-deep) 20%, var(--ember)) 55%, color-mix(in oklab, var(--potion-deep) 34%, var(--ember))); }
.plan--lit::before { background: linear-gradient(160deg, var(--potion-light), color-mix(in oklab, var(--potion) 35%, var(--ember)) 35%, color-mix(in oklab, var(--potion-deep) 25%, var(--ember)) 70%, var(--potion-deep)); }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; min-height: 1.75rem; font-size: 1.0625rem; font-weight: 500; color: var(--ink); }
.plan__tag { padding: 0.3rem 0.65rem; border-radius: 4px; background: linear-gradient(180deg, color-mix(in oklab, var(--potion-deep) 30%, var(--ember-lo)), var(--potion-deep)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion-light) 40%, transparent); font-size: 0.8125rem; color: var(--cream); }
.plan__price { font: 500 clamp(3rem, 2.4rem + 1.6vw, 4rem) / 1 var(--f-title); letter-spacing: -0.05em; background: linear-gradient(180deg, #f3ece6 15%, color-mix(in oklab, var(--cream) 55%, var(--ember)) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__price .cur, .count__move .cur { font-size: 0.62em; }
.plan--lit .plan__price { background-image: linear-gradient(180deg, #fffaf5 15%, var(--potion-light) 95%); }
.plan__freq { margin-top: -0.35rem; font-size: 0.9375rem; color: var(--ink-2); }
.plan hr { width: 100%; border: 0; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--potion) 60%, transparent) 35%, color-mix(in oklab, var(--potion) 20%, transparent) 70%, transparent); }
.plan__list { display: grid; gap: 0.65rem; align-content: start; }
.plan__list li { position: relative; padding-left: 1.9rem; font-size: 0.9375rem; color: color-mix(in oklab, var(--cream) 90%, var(--potion-light)); }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 0.05rem; width: 1.2rem; height: 1.2rem; border-radius: 3px; background: color-mix(in oklab, var(--potion-deep) 55%, var(--ember-lo)); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--potion-light) 35%, transparent); }
.plan__list li::after { content: ""; position: absolute; left: 0.44rem; top: 0.3rem; width: 0.3rem; height: 0.55rem; border: solid var(--cream); border-width: 0 1.8px 1.8px 0; rotate: 45deg; }
.plan__list--dim li { color: var(--ink-3); } .plan__list--dim li::before { background: color-mix(in oklab, var(--cream) 8%, var(--ember-lo)); } .plan__list--dim li::after { border-color: var(--ink-3); }
.plan__same { align-self: end; font-size: 0.9375rem; color: var(--ink-2); }
.plan .button { width: 100%; }
.plan__refund { text-align: center; font-size: 0.9375rem; color: var(--ink); }
.plan__checkout { text-align: center; font-size: 0.8125rem; color: var(--potion-light); }
.plan__checkout:empty { display: none; }
/* the middle card: $24 → $32 and the days left, computed from the one real date */
.plan--count { grid-template-rows: auto auto 1fr auto; justify-items: center; text-align: center; align-content: stretch;
  background: radial-gradient(70% 55% at 50% 52%, color-mix(in oklab, var(--potion-deep) 20%, transparent), transparent 75%), color-mix(in oklab, var(--ember-lo) 70%, var(--iron)); }
.plan--count::before { background: linear-gradient(180deg, color-mix(in oklab, var(--potion) 45%, transparent), color-mix(in oklab, var(--potion) 12%, transparent) 50%, color-mix(in oklab, var(--potion) 30%, transparent)); }
.plan--count .plan__head { justify-self: stretch; justify-content: center; }
.count__move { display: flex; align-items: center; gap: 0.9rem; font: 500 2rem / 1 var(--f-title); letter-spacing: -0.04em; }
.count__old { position: relative; color: var(--ink-3); }
.count__old::after { content: ""; position: absolute; left: -6%; right: -6%; top: 52%; height: 2px; background: var(--potion); rotate: -8deg; }
.count__arrow { width: 2.6rem; height: 1px; background: linear-gradient(90deg, var(--stroke), var(--potion)); position: relative; }
.count__arrow::after { content: ""; position: absolute; right: 0; top: -3.5px; width: 7px; height: 7px; border: solid var(--potion); border-width: 1px 1px 0 0; rotate: 45deg; }
.count__new { color: var(--potion-light); }
.count__days { align-self: center; display: grid; justify-items: center; gap: 0.5rem; }
.count__days b { font: 600 clamp(5rem, 3.5rem + 4vw, 7.5rem) / 0.9 var(--f-title); letter-spacing: -0.06em; font-variant-numeric: tabular-nums;
  color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(180deg, #4a3a33 0%, #fff6ee 30%, var(--potion-light) 46%, #6b4b3c 58%, #e9d9cc 80%, #5a463d 100%); background-size: 100% 260%; animation: chrome 14s ease-in-out infinite alternate; }
.count__days span { font: 500 0.8125rem / 1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.count__date { font-size: 1rem; color: var(--ink); }
.count__date span { color: var(--potion-light); font-weight: 600; }
@keyframes chrome { from { background-position: 50% 0%; } to { background-position: 50% 100%; } }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 30rem; } }
@media (prefers-reduced-motion: reduce) { .pricing__glow, .count__days b { animation: none; } }

/* ---------- 16. Questions ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq__head { position: sticky; top: 7.5rem; display: grid; gap: 1rem; justify-items: start; }
.faq__head h2 { font-size: var(--t-h2); }
.faq__list { display: grid; gap: 0.55rem; }
.faq details { border-radius: 10px; background: color-mix(in oklab, var(--iron) 78%, var(--ember)); box-shadow: inset 0 0 0 1px var(--hairline); transition: background-color 0.3s; }
.faq details[open] { background: color-mix(in oklab, var(--iron) 70%, var(--ember-hi)); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 1.9rem; gap: 1rem; align-items: center; min-height: 3.6rem; padding: 0.85rem 1rem 0.85rem 1.25rem; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0313rem; border-radius: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 1.9rem; height: 1.9rem; border-radius: 0; background: linear-gradient(var(--potion), var(--potion)) center / 0.8rem 1.6px no-repeat, linear-gradient(var(--potion), var(--potion)) center / 1.6px 0.8rem no-repeat, color-mix(in oklab, var(--potion) 14%, transparent); transition: rotate 0.35s var(--ease-spring); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 1.25rem 1.2rem; color: var(--ink-2); line-height: 1.6; max-width: 40rem; }
@media (max-width: 960px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq__head { position: static; } }

/* ---------- 17. Closing ---------- */
.closing { position: relative; isolation: isolate; display: grid; justify-items: center; gap: 1.15rem; text-align: center; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 3vw, 5rem); width: var(--page); margin-inline: auto; }
.closing > .fx { position: absolute; inset: 0 calc((100vw - 100%) / -2); width: 100vw; height: 100%; z-index: -1; }
.closing__mark { width: clamp(4.5rem, 3rem + 4vw, 6.5rem); height: auto; filter: drop-shadow(0 1.2rem 2rem color-mix(in oklab, var(--potion-deep) 45%, transparent)); }
.closing h2 { font-size: var(--t-h2); max-width: 16ch; }
.closing > p { color: var(--ink-3); font-size: 0.875rem; }

/* ---------- 18. Footer: ruled cells on the columns, then the cauldron seen from above ----------
   ref-220 #14 / ref-270 #3: the links sit in ruled cells, three columns of the canvas each. Then the well: the cauldron's
   mouth seen from above, cut by the bottom of the page; the potion swirls in it, and the word "stir" (the client's file)
   sinks into it and dissolves into its light (ref-019 #19). The visitor's pointer stirs it: circling over the well spins the
   potion faster, the way the spoon of the mark does. */
.foot { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(2.5rem, 5vw, 4rem); }
.foot__cells { position: relative; width: var(--page); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: color-mix(in oklab, var(--ember-lo) 70%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cream) 16%, transparent); }
.foot__cell { display: grid; align-content: start; gap: 0.9rem; min-height: 12rem; padding: 1.5rem 1.4rem; }
.foot__cell + .foot__cell { border-left: 1px solid color-mix(in oklab, var(--cream) 16%, transparent); }
.foot__logo img { height: 4rem; width: auto; }
.foot__cell--brand p { color: var(--ink-2); font-size: 0.9375rem; max-width: 20rem; }
.foot h3 { font: 500 0.75rem / 1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.foot ul { display: grid; gap: 0.55rem; font-size: 0.9375rem; }
.foot a { color: var(--ink-2); text-decoration: none; transition: color 0.2s; } .foot a:hover { color: var(--potion-light); }
.foot li span { color: var(--ink-3); }
.foot__legal { width: var(--page); margin: 1.1rem auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: 0.8125rem; color: var(--ink-3); }
.well { position: relative; height: clamp(17rem, 36vw, 33rem); margin-top: clamp(1rem, 2vw, 2rem); }
.well__mouth { --d: min(118rem, 150vw); position: absolute; left: 50%; top: 72%; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border-radius: 50%; transform: scaleY(0.3);
  background: radial-gradient(closest-side, color-mix(in oklab, var(--potion-light) 55%, var(--potion)) 0%, var(--potion) 12%, var(--potion-deep) 34%, color-mix(in oklab, var(--potion-deep) 45%, var(--ember-lo)) 62%, var(--ember-lo) 92%);
  box-shadow: inset 0 0 0 clamp(0.5rem, 1.1vw, 1.1rem) #0d0806, inset 0 0 0 calc(clamp(0.5rem, 1.1vw, 1.1rem) + 2px) color-mix(in oklab, var(--potion-light) 24%, #2a1a12), inset 0 0 6rem 3rem rgb(0 0 0 / .55), 0 -1rem 8rem 1rem color-mix(in oklab, var(--potion-deep) 40%, transparent); overflow: hidden; }
.well__fx { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; mix-blend-mode: screen; }
.well__shine { position: absolute; inset: 6%; border-radius: 50%; background: conic-gradient(from var(--spin, 0deg), transparent 0 10%, color-mix(in oklab, var(--potion-light) 26%, transparent) 16%, transparent 26% 52%, color-mix(in oklab, var(--cream) 16%, transparent) 60%, transparent 70%); mix-blend-mode: screen; filter: blur(14px); }
.well__word { position: absolute; left: 50%; bottom: 29%; width: min(30rem, 56vw); height: auto; translate: -50% 0; z-index: 2; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, rgba(0,0,0,.35) 78%, transparent 96%); mask-image: linear-gradient(180deg, #000 52%, rgba(0,0,0,.35) 78%, transparent 96%); }
@media (max-width: 860px) { .foot__cells { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot__cell--brand { grid-column: 1 / -1; } .foot__cell:nth-child(2) { border-left: 0; } .foot__cell:nth-child(n+2) { border-top: 1px solid color-mix(in oklab, var(--cream) 16%, transparent); } }
@media (max-width: 560px) { .foot__cells { grid-template-columns: minmax(0, 1fr); } .foot__cell + .foot__cell { border-left: 0; } .foot__cell { min-height: 0; } .well { height: 15rem; } .well__mouth { --d: 200vw; } .well__word { width: 62vw; } }

/* ---------- 19. The buy bar ---------- */
.buybar { position: fixed; left: 50%; bottom: max(0.75rem, env(safe-area-inset-bottom)); z-index: 60; translate: -50% 160%; width: min(30rem, calc(100% - 1.5rem)); display: flex; align-items: center; gap: 1rem; padding: 0.45rem 0.45rem 0.45rem 1.1rem; border-radius: 0; background: color-mix(in oklab, var(--ember-lo) 84%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cream) 16%, transparent), var(--sheen), 0 1rem 2.5rem -1rem var(--ember-lo); transition: translate 0.45s var(--ease); }
.buybar.is-on { translate: -50% 0; }
.buybar p { display: grid; font-size: 0.8125rem; color: var(--ink-3); line-height: 1.25; min-width: 0; }
.buybar p b { color: var(--ink); font-size: 0.9375rem; font-weight: 650; }
.buybar .button { margin-left: auto; }
@media (prefers-reduced-motion: reduce) { .buybar { transition: none; } }


/* ---------- 20. The cursor: a potion drop that splashes on click (fine pointers only) ---------- */
.cur-dot, .cur-ring { display: none; }
html.has-cursor .cur-dot, html.has-cursor .cur-ring { display: block; position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; border-radius: 50%; }
html.has-cursor .cur-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--potion-light); }
html.has-cursor .cur-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid color-mix(in oklab, var(--potion) 75%, transparent); transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background-color 0.25s, opacity 0.3s; }
html.has-cursor .cur-ring.is-link { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: color-mix(in oklab, var(--potion) 12%, transparent); }
html.has-cursor .cur-ring.is-down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
html.has-cursor.cur-hidden .cur-dot, html.has-cursor.cur-hidden .cur-ring { opacity: 0; }
.splash { position: fixed; z-index: 199; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid var(--potion); animation: splash 0.6s cubic-bezier(.2,.7,.2,1) forwards; }
.splash--drop { width: 6px; height: 6px; margin: -3px 0 0 -3px; border: 0; background: var(--potion-light); animation: drop-out 0.55s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes splash { to { transform: scale(5); opacity: 0; } }
@keyframes drop-out { to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }


/* ==========================================================================
   ROUND 4 additions (20 Nov 2026)
   ========================================================================== */
/* ---- the logo "/stir" (the client's files, drawn inline so its two parts can move; the drawing is untouched) ---- */
.lg { display: block; width: 100%; height: auto; overflow: visible; }
.lg__slash { fill: var(--potion); }
.lg__word { fill: var(--cream); }
.lg path, .lg g { transform-box: fill-box; }
.top__logo .logo-art { display: block; width: 72%; transform-origin: 50% 50%; will-change: transform; }
.top__logo .logo-art.is-flying { position: relative; z-index: 80; pointer-events: none; }
.top.is-compact .top__logo .logo-art { width: 66%; }
.scan__tile .lg { width: 70%; filter: drop-shadow(0 0 0.5rem color-mix(in oklab, var(--potion) 55%, transparent)); }
.closing__mark { display: block; width: clamp(4.5rem, 3rem + 4vw, 6.5rem); filter: drop-shadow(0 1.2rem 2rem color-mix(in oklab, var(--potion-deep) 45%, transparent)); }
.foot__logo { display: block; width: 7.5rem; }
@media (max-width: 767px) { .top__logo .logo-art { width: 74%; } }

/* ---- the Claude symbol (official, simple-icons 16.36.0, colour #D97757), behind ONE switch: html[data-claude-logo] ---- */
.cl { display: inline-block; width: 0.74em; height: 0.74em; margin: 0 0.32em 0 0.08em; vertical-align: -0.04em; }
.cl svg { display: block; width: 100%; height: 100%; }
.eyebrow .cl { width: 1.05em; height: 1.05em; vertical-align: -0.16em; margin: 0 0.45em 0 0.1em; }
.cl--title { width: 0.7em; height: 0.7em; margin: 0 0.2em 0 0; vertical-align: 0; }
html[data-claude-logo="off"] .cl { display: none; }

/* ---- How it works, round 4: Stir's real material; tighter gaps ---- */
.bento { gap: 0.5rem; }
.tile { padding: 0.4rem; }
.tile__text { padding: 1rem 0.9rem 0.8rem; }
.taste { margin-top: 0; }
.tr__row { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 0.55rem 0.8rem; align-content: start; padding: 0.9rem 1rem; background: #17120f; color: var(--ink); font-size: 0.75rem; line-height: 1.4; }
.tr__row dt { font: 500 0.625rem / 1.6 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.tr__row dd { margin: 0; color: var(--ink-2); }
.tr__btn { display: inline-block; padding: 0.35rem 0.65rem; background: linear-gradient(112deg, var(--potion-deep), var(--potion) 50%, var(--potion-deep)); color: #2B0C02; font-weight: 650; }
.tr__mark { padding: 0.25rem 0.4rem; margin: -0.25rem -0.4rem; color: var(--ink); }
.tr__no { color: var(--ink-3); text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--potion) 70%, transparent); }
.tr__site.is-on .tr__mark { box-shadow: 0 0 0 1.5px var(--potion), 0 0 0 5px color-mix(in oklab, var(--potion) 20%, transparent); }
.scene-idea { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); grid-template-rows: 1fr auto; gap: 0.8rem 1rem; }
.idea__steps { display: grid; gap: 0.5rem; align-content: center; }
.idea__step { display: grid; gap: 0.2rem; padding: 0.5rem 0.65rem; box-shadow: inset 0 0 0 1px var(--hairline); opacity: 0.35; transition: opacity 0.4s, box-shadow 0.4s; }
.idea__step small { font: 500 0.625rem / 1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.idea__step b { font: 650 0.9375rem / 1.2 var(--f-title); color: var(--ink); }
.idea__cmd { font-family: var(--f-mono) !important; color: var(--potion-light) !important; }
.scene-idea.s1 .idea__step[data-k="1"], .scene-idea.s2 .idea__step[data-k="2"], .scene-idea.s3 .idea__step[data-k="3"] { opacity: 1; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion) 60%, transparent); }
.scene-idea.s2 .idea__step[data-k="1"], .scene-idea.s3 .idea__step[data-k="1"], .scene-idea.s3 .idea__step[data-k="2"] { opacity: 0.8; }
.scene-idea .idea__cliches { grid-column: 1 / -1; opacity: 1 !important; }
.scene-idea.s3 .idea__cliches s::after, .scene-idea.s2 .idea__cliches s::after { transform: scaleX(1); }
.idea__logo { display: grid; gap: 0.6rem; justify-items: center; align-content: center; height: 100%; padding: 0.8rem; background: radial-gradient(70% 60% at 50% 45%, color-mix(in oklab, var(--potion) 16%, transparent), transparent 75%), #110a07; box-shadow: inset 0 0 0 1px var(--hairline); }
.idea__art { width: 88%; }
.idea__art .lg__slash { clip-path: inset(100% 0 0 0); transition: clip-path 0.7s var(--roll); }
.idea__art .lg__word { opacity: 0.14; translate: -0.04em 0; transition: opacity 0.5s 0.45s, translate 0.6s var(--roll) 0.45s; }
.scene-idea.s3 .idea__art .lg__slash { clip-path: inset(0 0 0 0); }
.scene-idea.s3 .idea__art .lg__word { opacity: 1; translate: 0 0; }
.idea__note { font: 500 0.6875rem / 1.2 var(--f-mono); color: var(--potion-light); opacity: 0; transition: opacity 0.4s 0.9s; }
.scene-idea.s3 .idea__note { opacity: 1; }
.lib__card { display: grid; grid-template-rows: auto auto 1fr 0.4rem; gap: 0.3rem; background: #f1ebe2; }
.lib__card em { font: 600 0.5625rem / 1.25 var(--f-text); font-style: normal; color: #2a211b; }
.lib__card i { background: #ddd3c4; } .lib__card i:nth-of-type(2) { width: 60%; background: #ddd3c4; }
.lib__card--pick { background: #160d09; } .lib__card--pick em { color: var(--cream); } .lib__card--pick i:nth-of-type(1) { background: repeating-linear-gradient(90deg, #3a2a22 0 1px, transparent 1px 8px), #241712; } .lib__card--pick i:nth-of-type(2) { background: var(--potion); }
.lib__page small { font: 500 0.5rem / 1 var(--f-mono); color: #8a7b6c; }
.lib__page .lib__slot { height: 3rem; }
.scene-lib.s2 .lib__slot { background: repeating-linear-gradient(90deg, rgb(255 255 255 / .25) 0 1px, transparent 1px 12px), linear-gradient(90deg, var(--potion-deep), var(--potion)); }
.photo-mock__label { font: 500 0.6875rem / 1 var(--f-mono); }
.prompt__text { min-height: 7.6em; }
/* the self-check: real captures of this page, a reading line, the real output of the check */
.board { min-height: 23rem; }
.caps { position: relative; display: flex; align-items: flex-end; gap: 1.25rem; padding: 1.5rem; }
.cap { margin: 0; display: grid; gap: 0.4rem; }
.cap img { display: block; height: auto; box-shadow: 0 0 0 1px color-mix(in oklab, var(--cream) 18%, transparent), 0 1.5rem 3rem -1.5rem #000; background: var(--ember-lo); }
.cap--desk img { width: clamp(15rem, 26vw, 25rem); }
.cap--phone img { width: clamp(5.5rem, 8vw, 7.5rem); border-radius: 6px; }
.cap figcaption { font: 500 0.6875rem / 1 var(--f-mono); color: var(--ink-3); }
.scanbar { position: absolute; top: 1rem; bottom: 1rem; left: 0; width: 2px; background: var(--potion); box-shadow: 0 0 1rem 0.15rem color-mix(in oklab, var(--potion) 60%, transparent); opacity: 0; pointer-events: none; }
.taste.is-scanning .scanbar { animation: scan-pass 2.2s cubic-bezier(.5,0,.5,1) both; }
@keyframes scan-pass { 0% { opacity: 0; left: 4%; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; left: 96%; } }
.term { margin: 0; padding: 0.9rem 1rem; background: #0b0705; box-shadow: inset 0 0 0 1px var(--hairline); font: 400 0.8125rem / 1.65 var(--f-mono); color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.term__cmd { color: var(--ink); }
.term__ok { color: var(--potion-light); }
html.js .term [data-tl] { opacity: 0; transition: opacity 0.3s; }
html.js .term [data-tl].is-on { opacity: 1; }
.checklist span { border-radius: 0; font-family: var(--f-mono); font-size: 0.75rem; }
@media (max-width: 560px) { .caps { padding: 1rem; gap: 0.75rem; } .cap--desk img { width: 13rem; } .cap--phone img { width: 4.6rem; } .term { font-size: 0.6875rem; } }

/* ---- the price, round 4: a title, $24 alive, the two later prices quiet and alike ---- */
.pricing { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.pricing__title { font-size: var(--t-h2); text-align: center; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.plans { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.plan { border-radius: 0; }
.plan--lit { overflow: hidden; }
.plan__liquid { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.plan__liquid i { position: absolute; border-radius: 50%; filter: blur(30px); opacity: 0.9; }
.plan__liquid i:nth-child(1) { left: -25%; top: -20%; width: 85%; height: 55%; background: radial-gradient(closest-side, color-mix(in oklab, var(--potion) 55%, transparent), transparent); animation: liq-a 14s ease-in-out infinite alternate; }
.plan__liquid i:nth-child(2) { right: -30%; top: 30%; width: 80%; height: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--potion-deep) 45%, transparent), transparent); animation: liq-b 17s ease-in-out infinite alternate; }
.plan__liquid i:nth-child(3) { left: 0; bottom: -25%; width: 100%; height: 45%; background: radial-gradient(closest-side, color-mix(in oklab, var(--potion-light) 22%, transparent), transparent); animation: liq-c 11s ease-in-out infinite alternate; }
@keyframes liq-a { to { translate: 35% 55%; scale: 1.2; } }
@keyframes liq-b { to { translate: -45% -40%; scale: 0.85; } }
@keyframes liq-c { to { translate: 10% -50%; scale: 1.25; } }
.later { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.plan--later { grid-template-rows: auto auto auto 1fr; align-content: start; gap: 0.5rem; background: color-mix(in oklab, var(--ember-lo) 78%, var(--iron)); }
.plan--later::before { background: color-mix(in oklab, var(--cream) 11%, transparent); }
.plan--later .plan__head { color: var(--ink-3); font-size: 0.9375rem; }
.later__price { font: 500 clamp(1.9rem, 1.6rem + 0.8vw, 2.4rem) / 1 var(--f-title); letter-spacing: -0.04em; color: color-mix(in oklab, var(--cream) 55%, var(--ember)); }
.later__price .cur { font-size: 0.62em; }
.later__when { font-size: 0.9375rem; color: var(--ink-3); }
.later__count { align-self: end; justify-self: start; padding: 0.4rem 0.65rem; box-shadow: inset 0 0 0 1px var(--hairline); font: 500 0.8125rem / 1 var(--f-mono); color: var(--ink-3); }
.later__count b { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .later { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .plan__liquid i:nth-child(n) { animation: none; } }

/* ---- legal lines ---- */
.foot__seller { flex-basis: 100%; }

/* ---- the footer well, round 4: sharp; the slash stands in the potion like the spoon, the word sinks ---- */
.well__mouth { transform: none; height: calc(var(--d) * 0.3); margin-top: calc(var(--d) * -0.15); background: none; box-shadow: none; overflow: visible; }
.well__fx { border-radius: 0; mix-blend-mode: normal; }
.well__shine { display: none; }
.well__logo { position: absolute; left: 50%; bottom: 22%; width: min(34rem, 62vw); translate: -50% 0; z-index: 2; pointer-events: none; }
.well__logo .lg__word { animation: sink 7s ease-in-out infinite alternate; }
.well__logo .lg__slash { transform-origin: 50% 100%; animation: spoon 5.5s ease-in-out infinite alternate; }
@keyframes sink { from { transform: translateY(0); } to { transform: translateY(9%); } }
@keyframes spoon { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .well__logo .lg__word, .well__logo .lg__slash { animation: none; } }
.well__mouth { inset: 0; left: 0; top: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; }
.well__fx { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 38%); mask-image: linear-gradient(180deg, transparent, #000 38%); }

/* round 4 fixes: the idea card's logo beside the steps; the two later prices stacked, quiet, side by side with the lit card */
.scene-idea .idea__logo { grid-column: 2; grid-row: 1; }
.plans { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); max-width: 58rem; }
.later { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
.plan--later { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; align-content: center; column-gap: 1rem; }
.plan--later .plan__head, .later__price, .later__when { grid-column: 1; }
.later__count { grid-column: 2; grid-row: 1 / 4; align-self: center; }
@media (max-width: 480px) { .plan--later { grid-template-columns: minmax(0, 1fr); } .later__count { grid-column: 1; grid-row: auto; justify-self: start; } }
.later__count { padding: 0.45rem 0.75rem; line-height: 1.35; white-space: nowrap; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 30rem; } }

/* round 4b: while the logo is alone in the centre (intro, once per visit), the hero content waits, hidden, in place */
html.intro-on .hero__in [data-reveal] { opacity: 0 !important; transform: translateY(1.125rem) !important; transition: none !important; }
/* the phone headline flows as one balanced text (no lonely "design"); its height is reserved so typing never moves the page */
@media (max-width: 560px) {
  .hero__title { display: block; text-wrap: balance; min-height: 3.12em; }
  .typer { display: inline; }
  .typer__ghost { display: none; }
  .typer__live { display: inline; }
  .hero__line2 { display: inline; }
}
.nowrap { white-space: nowrap; }

/* ==========================================================================
   ROUND 5 (20 Nov 2026)
   ========================================================================== */
/* 1. the request: a prompt line in Claude Code, typed once, then a blinking caret */
.ask { grid-template-columns: auto minmax(0, 1fr); }
.ask__text { font-family: var(--f-mono); font-size: clamp(0.9375rem, 0.88rem + 0.25vw, 1.0625rem); line-height: 1.55; }
.ask__sign { margin-right: 0.7rem; color: var(--potion); font-weight: 600; }
.ask__typed .todo { transition: opacity 0.5s; }
html.js .ask__typed:not(.is-done) .todo { opacity: 0; }
.ask__caret { display: inline-block; width: 0.55em; height: 1.15em; margin-left: 0.15em; vertical-align: -0.2em; background: var(--potion-light); opacity: 0.85; }
.ask__typed.is-done .ask__caret { animation: caret-blink 1.05s steps(1) infinite; }
@media (prefers-reduced-motion: reduce) { .ask__typed.is-done .ask__caret { animation: none; } }

/* 2. card 5: a live miniature of the hero; the potion line passes top to bottom and the fixed hero appears behind it */
.board { display: grid; place-items: center; }
.fixart { width: min(19rem, 86%); }
.fixart__name { margin-bottom: 0.45rem; font: 500 0.6875rem / 1 var(--f-mono); color: var(--ink-3); }
.fixart__frame { --y: 0%; position: relative; height: 21.5rem; background: #0e0806; box-shadow: 0 0 0 1px color-mix(in oklab, var(--cream) 16%, transparent), 0 1.5rem 3rem -1.5rem #000; overflow: hidden; }
.mh { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 0.7rem; padding: 1.25rem 1rem; text-align: center; color: var(--cream);
  background: radial-gradient(80% 50% at 50% 0%, color-mix(in oklab, var(--potion-deep) 22%, transparent), transparent 70%), #0e0806; }
.mh--bad { clip-path: inset(var(--y) 0 0 0); }
.mh--good { clip-path: inset(0 0 calc(100% - var(--y)) 0); }
.mh__eye { font: 500 0.5rem / 1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.mh__title { display: grid; justify-items: center; font: 750 1.6rem / 1.06 var(--f-title); letter-spacing: -0.04em; }
.mh__lead { max-width: 15rem; font-size: 0.6875rem; line-height: 1.45; color: var(--ink-2); }
.mh__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; width: 100%; align-items: start; }
.mh__btns--bad { grid-template-columns: 1.45fr 0.55fr; }
.mh__go, .mh__see { display: grid; place-items: center; min-height: 2.2rem; padding: 0.4rem 0.5rem; font: 650 0.75rem / 1.2 var(--f-text); }
.mh__go { background: linear-gradient(112deg, var(--potion-deep), var(--potion) 50%, var(--potion-deep)); color: #2B0C02; }
.mh__see { box-shadow: inset 0 0 0 1px var(--stroke); color: var(--ink); }
.mh__alone, .mh__broken { outline: 1.5px dashed color-mix(in oklab, var(--potion-deep) 85%, white); outline-offset: 3px; }
.mh__flag { position: absolute; left: 50%; translate: -50% 0; padding: 0.25rem 0.45rem; background: var(--potion-deep); color: var(--cream); font: 600 0.5625rem / 1.2 var(--f-mono); white-space: nowrap; }
.mh__flag--t { top: 0.6rem; } .mh__flag--b { bottom: 0.6rem; }
.fixart__scan { position: absolute; left: -2%; right: -2%; top: var(--y); height: 2px; translate: 0 -1px; background: var(--potion); box-shadow: 0 0 0.9rem 0.15rem color-mix(in oklab, var(--potion) 65%, transparent); opacity: var(--scan-o, 0); }
.term__bad { color: color-mix(in oklab, var(--potion-deep) 70%, var(--cream)); }
.term [data-tl="ok"] { margin-top: 0.4rem; }

/* 3. the quiet live countdowns */
.later__count { display: flex; align-items: baseline; gap: 0.15rem; font-variant-numeric: tabular-nums; }
.later__count b { min-width: 1.35em; text-align: right; }
.later__count small { margin-right: 0.3rem; font-size: 0.75em; color: var(--ink-3); }
.later__count small:last-child { margin-right: 0; }

/* 4c. the bottom line: only the copyright */
.foot__legal { justify-content: flex-start; }
.foot .todo { color: var(--potion-light); }

/* 5. the legal pages: a readable column framed on the grid (columns 3 to 10) */
.legal { width: var(--page); margin: clamp(2.5rem, 7vh, 4.5rem) auto clamp(2rem, 5vh, 3.5rem); }
.legal__in { position: relative; width: calc(100% * 8 / 12); margin-inline: auto; padding: clamp(1.5rem, 3.5vw, 3.25rem); background: color-mix(in oklab, var(--ember-lo) 84%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cream) 16%, transparent); }
.legal .legal__kicker { margin-top: 0;  font: 500 0.75rem / 1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--potion-light); }
.legal h1 { margin-top: 0.9rem; font-size: var(--t-h2); }
.legal .legal__lede { margin-top: 0.8rem; font-size: 1.125rem; color: var(--ink); max-width: 40rem; }
.legal .legal__date { margin-top: 0.5rem; font: 500 0.75rem / 1.4 var(--f-mono); color: var(--ink-3); }
.legal section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); max-width: 42rem; }
.legal h2 { font: 700 1.1875rem / 1.25 var(--f-title); letter-spacing: -0.015em; color: var(--ink); }
.legal p, .legal li { margin-top: 0.7rem; color: var(--ink-2); font-size: 1rem; line-height: 1.68; }
.legal ul { padding-left: 1.1rem; list-style: square; }
.legal li::marker { color: var(--potion); }
.legal a { color: var(--potion-light); text-underline-offset: 3px; }
.legal a:not([href]) { text-decoration: none; }
@media (max-width: 860px) { .legal__in { width: 100%; } }

/* round 5b: card 5 back to the desktop and phone side by side, both live miniatures of this hero, fixed as the line passes */
.caps { align-items: flex-end; justify-content: center; }
.cap__screen { position: relative; overflow: hidden; background: #0e0806; box-shadow: 0 0 0 1px color-mix(in oklab, var(--cream) 18%, transparent), 0 1.5rem 3rem -1.5rem #000; }
.cap--desk .cap__screen { width: clamp(15rem, 26vw, 25rem); aspect-ratio: 1440 / 900; font-size: calc(clamp(15rem, 26vw, 25rem) / 40); }
.cap--phone .cap__screen { width: clamp(7.5rem, 10vw, 9.5rem); aspect-ratio: 390 / 844; border-radius: 10px; box-shadow: 0 0 0 3px #1b1412, 0 0 0 4px color-mix(in oklab, var(--cream) 14%, transparent), 0 1.5rem 3rem -1.5rem #000; font-size: calc(clamp(7.5rem, 10vw, 9.5rem) / 18); }
.caps .mh { padding: 0.9em 0.8em; gap: 0.6em; align-content: center; font-size: 1em; }
.caps .mh--bad { clip-path: inset(var(--y, 0px) 0 0 0); }
.caps .mh--good { clip-path: inset(0 0 calc(100% - var(--y, 0px)) 0); }
.mh__top { position: absolute; left: 0.8em; right: 0.8em; top: 0.7em; display: flex; gap: 0.35em; align-items: center; }
.mh__top b { margin-right: auto; font: 750 1em / 1 var(--f-title); color: var(--cream); }
.mh__top i { width: 2em; height: 0.5em; background: color-mix(in oklab, var(--cream) 12%, transparent); }
.mh__top i:last-child { width: 2.6em; height: 0.9em; background: var(--potion); }
.cap--phone .mh__top i { display: none; } .cap--phone .mh__top i:last-child { display: block; width: 1.4em; background: color-mix(in oklab, var(--cream) 14%, transparent); }
.caps .mh__eye { font-size: 0.5em; }
.caps .mh__title { font-size: 2.1em; }
.cap--phone .mh__title { font-size: 1.85em; }
.caps .mh__lead { font-size: 0.62em; max-width: 26em; }
.caps .mh__btns { width: auto; gap: 0.5em; }
.mh__btns--row { display: flex; align-items: stretch; justify-content: center; }
.mh__btns--row.is-uneven { align-items: center; }
.caps .mh__go, .caps .mh__see { min-height: 2.6em; padding: 0.5em 1.2em; font-size: 0.7em; }
.mh__btns--row.is-uneven .mh__go { min-height: 3.4em; outline: 1.5px dashed color-mix(in oklab, var(--potion-deep) 85%, white); outline-offset: 3px; }
.cap--phone .mh__btns { width: 100%; }
.cap--phone .mh__go, .cap--phone .mh__see { padding: 0.5em 0.4em; }
.caps .mh__alone, .caps .mh__broken { outline-offset: 2px; }
.caps .scanbar { left: 1rem; right: 1rem; top: var(--line, 0px); bottom: auto; width: auto; height: 2px; translate: 0 -1px; opacity: var(--scan-o, 0); animation: none; }

/* ==========================================================================
   ROUND 6: the real pages (site/examples/), live in iframes at their real width, scaled to fit; no pointer, no focus
   ========================================================================== */
.live, .win__live { position: absolute; inset: 0; overflow: hidden; background: #0d0a09; }
.live iframe, .win__live iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; pointer-events: none; background: #fff; }
.win--phone .win__layer--stir .win__view { padding-top: 0; }
.reel__laptop .device-laptop__screen, .reel__phone .device-phone__screen { position: relative; }
.film__frame .live { inset: 0; }
.honest { max-width: 40rem; font: 500 0.8125rem / 1.5 var(--f-mono); color: var(--ink-3); text-align: center; }
.result__tags .result__count { color: var(--potion-light); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--potion) 45%, transparent); }
.request p { font-size: 0.9688rem; }

/* ==========================================================================
   ROUND 7 (20 Nov 2026)
   ========================================================================== */
/* C. the scanner moves up by exactly four small squares of the canvas grid (a square = 1/60 of the page width on desktop,
   1/16 on the phone; a vertical margin in % is read on the width, the same width the canvas grid is drawn on) */
.scan { margin-top: calc(min(1320px, 100% - 2.5rem) / -15); }
@media (max-width: 767px) { .scan { margin-top: calc(min(1320px, 100% - 2.5rem) / -4); } }

/* B. results: the five texts stacked in one cell (the tallest sets the height, nothing jumps); honest counting */
.reel__items { display: grid; }
.reel__item { grid-area: 1 / 1; display: grid; gap: 0.9rem; align-content: start; visibility: hidden; opacity: 0; }
.reel__item.is-on { visibility: visible; opacity: 1; }
.reel.is-swapping .reel__item.is-on > * { animation: word-rise 0.8s var(--ease) both; }
.reel.is-swapping .reel__item.is-on > :nth-child(2) { animation-delay: 0.05s; }
.reel.is-swapping .reel__item.is-on > :nth-child(3) { animation-delay: 0.1s; }
.reel.is-swapping .reel__item.is-on > :nth-child(4) { animation-delay: 0.15s; }
.reel__text { gap: 1.1rem; }
.request small span { color: var(--ink-2); }
.request p { font-size: 0.9375rem; line-height: 1.5; }
.request--next { margin-top: 0.15rem; }
.request--next::before { content: "\201C"; color: color-mix(in oklab, var(--potion) 55%, var(--ember)); }
.reel__note { padding: 0.55rem 0.75rem; box-shadow: inset 0 0 0 1px var(--hairline); font: 500 0.75rem / 1.45 var(--f-mono); color: var(--ink-3); }
.facts { grid-template-columns: repeat(2, auto); }
@media (min-width: 1021px) { .reel { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.6fr) auto; } }

/* D. the devices opened as in Safari. Sizes are the real ones, read on the screen's own width (container units):
   the laptop's screen is 1440 px wide, the phone's 390 pt. */
.reel__laptop .device-laptop__screen, .device-phone__screen { container-type: inline-size; }
.safari { position: absolute; inset: 0; display: flex; flex-direction: column; }
.safari__page { position: relative; flex: 1; min-height: 0; }
.safari__bar svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* macOS Safari, dark: a 52 px toolbar, traffic lights, sidebar and arrows, the address field in the middle */
.safari--mac { --u: calc(100cqw / 1440); background: #1d1c1f; }
.safari--mac .safari__bar { flex: none; display: grid; grid-template-columns: 1fr minmax(0, calc(var(--u) * 560)) 1fr; align-items: center; height: calc(var(--u) * 52); padding: 0 calc(var(--u) * 18); background: #2c2b2f; box-shadow: inset 0 calc(var(--u) * -1) 0 #0b0b0c; color: #a9a8ae; }
.safari__lights { position: absolute; display: flex; gap: calc(var(--u) * 8); }
.safari__lights i { width: calc(var(--u) * 12); height: calc(var(--u) * 12); border-radius: 50%; background: #ff5f57; }
.safari__lights i:nth-child(2) { background: #febc2e; } .safari__lights i:nth-child(3) { background: #28c840; }
.safari--mac .safari__tools { display: flex; align-items: center; gap: calc(var(--u) * 14); padding-left: calc(var(--u) * 78); }
.safari--mac .safari__tools svg { width: calc(var(--u) * 18); height: calc(var(--u) * 18); }
.safari--mac .safari__tools .is-dim { opacity: 0.4; }
.safari--mac .safari__tools--end { justify-content: flex-end; padding-left: 0; }
.safari__url { position: relative; display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * 6); min-width: 0; color: #e8e7ec; }
.safari--mac .safari__url { height: calc(var(--u) * 30); border-radius: calc(var(--u) * 8); background: rgb(255 255 255 / 0.075); font: 500 calc(var(--u) * 13) / 1 var(--f-text); }
.safari__url b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.safari--mac .safari__lock { width: calc(var(--u) * 12); height: calc(var(--u) * 12); color: #a9a8ae; }
.safari__reload { position: absolute; right: calc(var(--u) * 9); color: #a9a8ae; }
.safari--mac .safari__reload { width: calc(var(--u) * 14); height: calc(var(--u) * 14); }
/* iPhone Safari with the address bar at the top: the status bar under the notch (time, signal, Wi-Fi, battery), then the bar */
.safari--ios { --u: calc(100cqw / 390); background: #161618; }
.sbar { --u: calc(100cqw / 390); flex: none; display: grid; grid-template-columns: 1fr calc(var(--u) * 128) 1fr; align-items: center; height: calc(var(--u) * 54); padding-top: calc(var(--u) * 6); background: #161618; color: #fff; }
.sbar b { justify-self: center; padding-left: calc(var(--u) * 8); font: 600 calc(var(--u) * 17) / 1 var(--f-text); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.sbar__icons { justify-self: center; display: flex; align-items: center; gap: calc(var(--u) * 5); padding-right: calc(var(--u) * 6); }
.sbar svg { display: block; fill: currentColor; }
.sbar__signal { width: calc(var(--u) * 18); height: calc(var(--u) * 12); }
.sbar__wifi { width: calc(var(--u) * 16); height: calc(var(--u) * 12); fill: none !important; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sbar__battery { width: calc(var(--u) * 27); height: calc(var(--u) * 13); }
.sbar--light { background: #f7f7fc; color: #111118; }
.safari--ios .safari__bar { flex: none; display: grid; height: calc(var(--u) * 50); padding: calc(var(--u) * 4) calc(var(--u) * 14) calc(var(--u) * 10); background: #161618; }
.safari--ios .safari__url { height: calc(var(--u) * 36); border-radius: calc(var(--u) * 12); background: rgb(118 118 128 / 0.28); font: 500 calc(var(--u) * 16) / 1 var(--f-text); }
.safari__aa { position: absolute; left: calc(var(--u) * 12); font: 600 calc(var(--u) * 14) / 1 var(--f-text); font-style: normal; color: #e8e7ec; }
.safari--ios .safari__reload { width: calc(var(--u) * 17); height: calc(var(--u) * 17); right: calc(var(--u) * 12); color: #e8e7ec; }
.reel__phone .device-phone__screen, .reel__laptop .device-laptop__screen { background: #161618; }
/* the scanner's phones: the same status bar on both layers; the real page starts under it, never under the notch */
.win--phone .win__view { padding-top: 0; }

/* F. card 5: this hero at its real size (1440 x 900, 390 x 844), scaled down by --k (set by stir.js from the screen's width) */
.cap__screen { font-size: 1rem; }
.cap--phone .cap__screen { border-radius: 12px; }
.caps .mh { display: block; padding: 0; background: none; }
.mini { position: absolute; left: 0; top: 0; overflow: hidden; transform-origin: 0 0; transform: scale(var(--k, 0.26)); color: var(--cream); font: 400 16px / 1.5 var(--f-text); pointer-events: none;
  background: radial-gradient(70% 46% at 50% 0%, color-mix(in oklab, var(--potion-deep) 13%, transparent), transparent 70%), radial-gradient(120% 80% at 50% 0%, var(--ember-hi), var(--ember) 52%, var(--ember-lo) 100%); }
.mini--desk { width: 1440px; height: 900px; }
.mini--phone { width: 390px; height: 844px; }
.mini__grid { position: absolute; inset: 0;
  background-image: linear-gradient(90deg, color-mix(in oklab, var(--cream) 9%, transparent) 1px, transparent 1px), linear-gradient(0deg, color-mix(in oklab, var(--cream) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in oklab, var(--cream) 3.2%, transparent) 1px, transparent 1px), linear-gradient(0deg, color-mix(in oklab, var(--cream) 3.2%, transparent) 1px, transparent 1px);
  background-size: 110px 100%, 100% 110px, 22px 22px, 22px 22px; background-position: 60px 0, 0 0, 60px 0, 0 0;
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 38%, #000 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.12) 72%, transparent 92%); mask-image: radial-gradient(ellipse 62% 70% at 50% 38%, #000 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.12) 72%, transparent 92%); }
.mini--phone .mini__grid { background-size: 87.5px 100%, 100% 87.5px, 21.875px 21.875px, 21.875px 21.875px; background-position: 20px 0, 0 0, 20px 0, 0 0; }
.mini__top { position: absolute; left: 60px; top: 22px; width: 1320px; height: 88px; }
.mini__cell { position: absolute; top: 0; bottom: 0; background: color-mix(in oklab, var(--ember-lo) 66%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cream) 17%, transparent); }
.mini__logo { left: 0; width: 110px; display: grid; place-items: center; }
.mini__logo img { display: block; width: 79px; height: auto; }
.mini__group { left: 550px; width: 770px; display: grid; grid-template-columns: 1fr 2fr 1fr 1fr 2fr; }
.mini__group > span:not(.hd) { display: grid; place-items: center; color: var(--ink-2); font: 500 15.5px / 1.5 var(--f-text); white-space: nowrap; }
.mini__group > span + span:not(.hd) { border-left: 1px solid color-mix(in oklab, var(--cream) 17%, transparent); }
.mini__act { padding: 0 14.4px; }
.mini__act .button { width: 100%; padding-inline: 16px; }
.mini--phone .mini__top { left: 20px; top: 12px; width: 350px; height: 72px; }
.mini--phone .mini__logo { width: 87.5px; } .mini--phone .mini__logo img { width: 63px; }
.mini__menu { left: 262.5px; width: 87.5px; display: grid; place-items: center; }
.mini__menu .menu-btn { padding: 0 11.2px; }
.mini__hero { position: absolute; left: 0; right: 0; top: 314px; display: grid; justify-items: center; gap: 18.4px; text-align: center; }
.mini--phone .mini__hero { top: 269px; padding: 0 20px; gap: 14.4px; }
.mini__eye { display: flex; align-items: center; height: 20px; gap: 17.6px; font: 500 13px / 1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.mini__eye::before, .mini__eye::after { content: ""; width: 128px; height: 1px; background: linear-gradient(90deg, transparent, var(--stroke)); }
.mini__eye::after { transform: scaleX(-1); }
.mini__eye > span { position: relative; padding-inline: 16px; }
.mini__eye > span::before, .mini__eye > span::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--stroke); }
.mini__eye > span::before { left: 0; } .mini__eye > span::after { right: 0; }
.mini__eye .cl { width: 1.05em; height: 1.05em; vertical-align: -0.16em; margin: 0 0.45em 0 0.1em; }
.mini--phone .mini__eye { font-size: 11px; gap: 9.6px; } .mini--phone .mini__eye::before, .mini--phone .mini__eye::after { width: 24px; }
.mini__h1 { display: grid; justify-items: center; font: 750 74.24px / 1.04 var(--f-title); letter-spacing: -0.038em; }
.mini__h1 > span { display: block; white-space: nowrap; }
.mini--phone .mini__h1 { width: 350px; font-size: 39px; }
.mini__lead { max-width: 736px; font-size: 20.96px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.mini--phone .mini__lead { max-width: 350px; font-size: 16px; }
.mini__btns { display: flex; align-items: center; justify-content: center; gap: 14.4px; margin-top: 9.6px; }
.mini--phone .mini__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 9.6px; width: 350px; }
.mini--phone .mini__btns .button { padding-inline: 12px; }
.mini--phone .mini__btns.is-bad { grid-template-columns: 1.55fr 1fr; }
.mini .button { pointer-events: none; }
.mini .mini__tall { --h: 68px; padding-inline: 34px; }
.mini .mini__broken { white-space: normal; line-height: 1.12; }
.mini .mini__tall, .mini .mini__alone, .mini .mini__broken { outline: 4px dashed color-mix(in oklab, var(--potion-deep) 85%, white); outline-offset: 9px; }
.mini--phone .mini__alone, .mini--phone .mini__broken { outline-width: 3px; outline-offset: 5px; }
.mini__alone { justify-self: center; }
.nowrap-d { white-space: nowrap; }
@media (max-width: 560px) { .nowrap-d { white-space: normal; } }
.band__head .honest { max-width: 46rem; }
/* the requests, word for word, under the stage: request 1 on the left half, request 2 (or "no second request") on the right */
.reel { grid-template-areas: "text stage pager" "asks asks asks"; row-gap: clamp(1.75rem, 3vw, 2.75rem); }
.reel__text { grid-area: text; } .reel__stage { grid-area: stage; } .pager { grid-area: pager; }
@media (min-width: 1021px) { .reel { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.75fr) auto; } }
.reel__asks { grid-area: asks; display: grid; padding-top: clamp(1.25rem, 2.4vw, 2rem); border-top: 1px solid var(--hairline); }
.reel__ask { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; visibility: hidden; opacity: 0; }
.reel__ask.is-on { visibility: visible; opacity: 1; }
.reel.is-swapping .reel__ask.is-on > * { animation: word-rise 0.8s var(--ease) both; }
.reel.is-swapping .reel__ask.is-on > :nth-child(2) { animation-delay: 0.08s; }
.reel__none { padding: 0.95rem 1.1rem; box-shadow: inset 0 0 0 1px var(--hairline); font: 500 0.8125rem / 1.55 var(--f-mono); color: var(--ink-3); }
.reel__none b { display: block; margin-bottom: 0.25rem; color: var(--ink-2); font-weight: 600; }
@media (max-width: 1020px) {
  .reel { grid-template-areas: none; }
  .reel__text, .reel__stage, .pager, .reel__asks { grid-area: auto; }
  .reel__asks { order: 4; }
}
@media (max-width: 760px) { .reel__ask { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } }
.reel__item .result__tags { flex-direction: column; align-items: flex-start; }
.reel__ask .request { margin: 0; }
@media (max-width: 560px) { .cap--desk .cap__screen { width: 12.25rem; } .cap--phone .cap__screen { width: 5.75rem; border-radius: 8px; } }
@media (max-width: 560px) { .nowrap-d { display: block; } }

/* ==========================================================================
   ROUND 8 (20 Nov 2026): the owner's notes made on the phone
   ========================================================================== */
/* 1. the headline on a phone: three fixed lines (Create stunning / design with / Claude Code.); the letters still to be
      typed wait, invisible, in their place, so nothing moves while it types and the caret starts on the first line */
.br-m { display: none; }
@media (max-width: 560px) { .hero__title .br-m { display: inline; } }
.t-rest { visibility: hidden; }

/* 2. the phone's Menu button: no frame of its own inside its framed cell, just the icon and the word */
.menu-btn { padding: 0 0.5rem; background: none; box-shadow: none; }
.menu-btn::after { display: none; }
.menu-btn:hover { outline-color: transparent; color: var(--potion-light); }
.menu-btn:focus-visible { outline: 1px solid color-mix(in oklab, var(--potion-light) 75%, transparent); }

/* 3. folded cards, like a question of the FAQ: a title, a small arrow on the right, the text only once opened */
.fold > summary { list-style: none; cursor: pointer; }
.fold > summary::-webkit-details-marker { display: none; }
.fold-arrow { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; background: color-mix(in oklab, var(--potion) 14%, transparent); transition: rotate 0.35s var(--ease-spring), background-color 0.25s; }
.fold-arrow::before { content: ""; width: 0.45rem; height: 0.45rem; border-right: 1.6px solid var(--potion); border-bottom: 1.6px solid var(--potion); rotate: 45deg; translate: 0 -0.12rem; }
.fold > summary:hover .fold-arrow { background: color-mix(in oklab, var(--potion) 26%, transparent); }
.fold[open] > summary .fold-arrow { rotate: 180deg; }
.fold { interpolate-size: allow-keywords; }
.fold::details-content { block-size: 0; overflow: clip; transition: block-size 0.42s var(--ease), content-visibility 0.42s allow-discrete; }
.fold[open]::details-content { block-size: auto; }
.fold[open] > :not(summary) { animation: word-rise 0.55s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .fold::details-content { transition: none; } .fold[open] > :not(summary) { animation: none; } .fold-arrow { transition: none; } }

/* the proof's request: the prompt card, folded */
.ask--fold { display: block; padding: 0.7rem 0.75rem 0.7rem 1.1rem; }
.ask__sum { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 2.4rem; }
.ask__sum .ask__label { grid-column: auto; justify-self: start; }
.ask__peek { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 0.9375rem / 1.4 var(--f-mono); color: var(--ink-3); transition: opacity 0.25s; }
.ask--fold[open] .ask__peek { opacity: 0; }
.ask--fold .ask__text { margin-top: 0.75rem; padding: 0.85rem 0.35rem 0.25rem 0; border-top: 1px solid var(--hairline); }
@media (max-width: 767px) { .ask__peek { visibility: hidden; } }

/* the requests of each example: one folded card each */
.request.fold { margin: 0; padding: 0; background: color-mix(in oklab, var(--cream) 3%, transparent); box-shadow: inset 0 0 0 1px var(--hairline); }
.request.fold::before { left: 0.8rem; top: 0.7rem; font-size: 1.9rem; }
.request.fold > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; min-height: 3.3rem; padding: 0.6rem 0.65rem 0.6rem 2.3rem; }
.request.fold > summary small { margin: 0; color: var(--ink-2); line-height: 1.45; }
.request.fold > p { padding: 0.1rem 1.1rem 1.05rem 2.3rem; }
.reel__ask { align-items: start; }

/* 4. the proof on a phone: each run as it looks on a phone, the two side by side */
@media (max-width: 767px) {
  .films { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.75rem; }
  .film__head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .film__who b { font-size: 0.9375rem; }
  .watch { gap: 0.45rem; padding: 0.4rem 0.6rem; font-size: 1rem; }
  .film__frame { aspect-ratio: 390 / 760; }
}

/* 5. "How it works" on a phone: card 1's table gets the whole width (the three trades become a row of tabs) */
@media (max-width: 560px) {
  [data-scene="trade"] .tile__art { height: 19.5rem; }
  .scene-trade { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0.6rem; padding: 1rem 0.9rem 1.7rem; }
  .tr__tabs { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0.35rem; }
  .tr__tabs li { justify-content: center; padding: 0.5rem 0.3rem; font-size: 0.75rem; white-space: nowrap; }
  .tr__tabs li i { display: none; }
  .tr__win { height: 13.75rem; }
  .tr__row { grid-template-columns: 5.3rem minmax(0, 1fr); padding: 0.8rem 0.85rem; }
}
/* card 5 when stacked: its title, then the two screens, then the check's output right under them (they play together) */
@media (max-width: 1020px) {
  .taste__side { display: contents; }
  .taste__side > div { order: -1; padding: 1.5rem 1.25rem 0.6rem; }
  .taste > .board { order: 0; }
  .taste .term { order: 1; margin: 0 0.5rem; }
  .taste .checklist { order: 2; margin: 1rem 1.25rem 1.4rem; }
}
/* the time of each request: after a dot on a wide screen, on its own line on a phone (never cut in two) */
.request small [data-t] { white-space: nowrap; }
.request small [data-t]::before { content: " · "; }
@media (max-width: 560px) { .request.fold small [data-t] { display: block; margin-top: 0.15rem; } .request.fold small [data-t]::before { content: none; } }
/* card 2 on a phone: room for the crossed-out clichés under the steps; card 5: the eight checks in two columns */
@media (max-width: 560px) {
  [data-scene="idea"] .tile__art { height: 18.5rem; }
  .taste .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ROUND 9 (20 Nov., evening): no short word left alone on a last line (Wadie's rule; check-page "last-word-alone") */
h2, h3, h4 { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
