/* The lift (11 Nov 2026): the Studio as six floors. The page's look (espresso in a butter frame, compressed shouting, mono
   asides, one vermilion); the owner's own colour only on their own things (their back office, their form). */
@font-face { font-family: "MB Shout"; src: url("../fonts/ArchivoCompressedBlack.woff2") format("woff2"); font-weight: 900; font-display: block; }
@font-face { font-family: "Hubot Sans"; src: url("../fonts/HubotSans.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "MB Display"; src: url("../fonts/type/Archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "MB UI"; src: url("../fonts/type/InstrumentSans.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/MartianMono.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }
:root {
  --esp: #1E1814; --esp-2: #2A231E; --cream: #F5EEDC; --c2: rgba(245, 238, 220, .62); --c3: rgba(245, 238, 220, .14); --ver: #E0553C;
  --shout: "MB Shout", Impact, "Arial Narrow", sans-serif; --ui: "Hubot Sans", "Helvetica Neue", Arial, sans-serif; --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --out: cubic-bezier(.23, 1, .32, 1); --io: cubic-bezier(.77, 0, .175, 1);
  --fr: 10px; --pad: clamp(16px, 2.6vw, 40px);
  --acc: #1E40AF;   /* the owner's colour, set by lift.js */
}
@media (max-width: 760px) { :root { --fr: 6px; } }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--esp); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; color: var(--cream); background: var(--esp);
  font: 430 15px/1.5 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-appearance: none; appearance: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ver); outline-offset: 3px; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; font-weight: 450; letter-spacing: .03em; text-transform: uppercase; }
.sh { font-family: var(--shout); font-weight: 900; text-transform: uppercase; line-height: .84; }
.o { color: transparent; -webkit-text-stroke: max(1px, .011em) var(--ver); }
.v { color: var(--ver); }
.frame { position: fixed; inset: var(--fr); z-index: 60; pointer-events: none; border-radius: 14px; box-shadow: 0 0 0 calc(var(--fr) + 4px) var(--cream); }

/* ---------- the top: where you are ---------- */
.top { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: calc(var(--fr) + 14px) calc(var(--pad) + var(--fr)) 14px; background: var(--esp); }
.top__mark img { display: block; height: 19px; width: auto; }
.top__mid { display: grid; gap: 8px; max-width: 640px; width: 100%; justify-self: center; }
.top__lab { color: var(--c2); white-space: nowrap; }
.top__lab b { color: var(--cream); font-weight: 450; }
.top__name { color: var(--cream); margin-left: 8px; }
.top__bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.top__bar i { height: 3px; background: var(--c3); transition: background-color .3s; }
.top__bar i.on { background: var(--ver); }
.top__acts { display: flex; gap: 8px; }
/* the sound switch (round 13, Qasim's phone: "SOUND OFF" wrapped and the button changed size): a speaker that shows its
   waves when on and a cross when off; the words beside it from tablets up, at a fixed width, so a toggle never moves anything */
.snd { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.snd__s { fill: currentColor; stroke: none; }
.snd__x { display: none; }
[aria-pressed="false"] > .snd { opacity: .7; }
[aria-pressed="false"] > .snd .snd__w { display: none; }
[aria-pressed="false"] > .snd .snd__x { display: inline; }
.snd__t { display: inline-block; min-width: 9ch; text-align: left; white-space: nowrap; }
.top__btn--snd { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.top__btn b { font-weight: inherit; color: var(--ver); }
.top__btn[aria-pressed="false"] b { color: var(--c2); }
.top__btn { padding: 8px 11px; border: 1px solid var(--c3); text-decoration: none; color: var(--cream); transition: border-color .15s; }
@media (hover: hover) and (pointer: fine) { .top__btn:hover { border-color: var(--ver); } }

/* ---------- moving between steps (round 12, Qasim: "it shouldn't, for each step, take me to a new level") ----------
   The lift is how you come in; inside the studio the steps simply follow one another: the step slides away, the next slides in */
.lift.is-leave .fl.is-on { opacity: 0; transform: translateX(calc(var(--dir, 1) * -18px)); transition: opacity .2s, transform .2s var(--io); }
.fl.is-enter { animation: stepin .45s var(--out) both; }
@keyframes stepin { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 22px)); } }
/* from the lobby (12 Nov, Qasim: "it just switches"): the ride
   carries straight on; and the two pages crossfade where the browser can (View Transitions) */
/* inside the car (round 13, Qasim: "the way it pops in doesn't make sense … something nice should happen"): the car's doors
   close in front of you, the lamp counts the floors, it pings, and they open on the studio; Step off rides down the same way */
.car { position: fixed; inset: 0; z-index: 55; pointer-events: none; visibility: hidden; }
.car.is-on { visibility: visible; }
.car__d { position: absolute; top: 0; bottom: 0; width: 50.5%; transition: transform .75s cubic-bezier(.65, 0, .35, 1);
  background: repeating-linear-gradient(90deg, rgba(245, 238, 220, .025) 0 1px, transparent 1px 4px), linear-gradient(90deg, #2E2621, #3B322C 50%, #2E2621); }
.car__d--l { left: 0; transform: translateX(-101%); box-shadow: inset -1px 0 0 #120E0B; }
.car__d--r { right: 0; transform: translateX(101%); box-shadow: inset 1px 0 0 #120E0B; }
.car.is-shut .car__d { transform: none; }
.car__ind { position: absolute; z-index: 1; top: 16vh; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 16px; padding: 12px 22px;
  border-radius: 8px; background: #15110E; box-shadow: inset 0 0 0 1px rgba(245, 238, 220, .16); opacity: 0; transition: opacity .3s; }
.car.is-shut .car__ind { opacity: 1; transition-delay: .35s; }
.car__dir { font-size: 15px; color: #E0553C; }
.car__ind b { min-width: 2ch; text-align: center; font: 900 clamp(44px, 7vw, 72px)/1 "MB Shout", Impact, sans-serif; color: #E0553C; font-variant-numeric: tabular-nums; }
/* round 11 (the lift in the hall): you come in through the lobby's doorway, so the page begins in the car's light and floor 02
   settles in; Step off fades back into the same light. The light is the lobby's own (play.css .hall__in) */
body::after { content: ""; position: fixed; inset: 0; z-index: 45; pointer-events: none; opacity: 0; transition: opacity .8s var(--out);
  background: radial-gradient(130% 75% at 50% 0%, rgba(245, 238, 220, .2), rgba(245, 238, 220, 0) 62%), var(--esp); }
.is-entering body::after { opacity: 1; transition: none; }
.is-leaving body::after { opacity: 1; transition-duration: .45s; }
.top, .go { transition: opacity .6s var(--out); }
.is-entering .top, .is-entering .go { opacity: 0; transition: none; }
.is-entering .lift { opacity: 0; transform: scale(1.12); transition: none; }
.is-arrive .lift { transition: transform 1s cubic-bezier(.2, .7, .2, 1), opacity .55s ease-out; }
.is-arrive body::after { transition-duration: .7s; }
.is-leaving .lift { opacity: 0; transform: scale(1.04); }
.is-leaving .top, .is-leaving .go { opacity: 0; }
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: .28s; }
.lift { transition: transform .5s var(--io), opacity .5s var(--io); }

/* ---------- a floor ---------- */
.lift { position: relative; padding: 0 calc(var(--pad) + var(--fr)); min-height: 0; }
.fl { display: none; min-height: 100%; padding: clamp(12px, 3vh, 36px) 0 24px; }
.fl.is-on { display: grid; }
.q { color: var(--c2); }
.q:focus { outline: none; }
.fl__ft { display: flex; justify-content: space-between; gap: 16px; align-self: end; color: var(--c2); margin-top: 28px; }

/* 01: three answers in giant type */
.fl--1 { grid-template-rows: auto 1fr auto; }
.pick { display: grid; align-content: center; gap: clamp(4px, 1.2vh, 14px); margin-top: 18px; }
.pick__b { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 22px; text-align: left; }
/* sized by the window's height as well as its width, on one line each, so all three answers are on screen at once (Qasim, 12 Nov) */
.pick__w { white-space: nowrap; font: 900 clamp(44px, min(8.6vw, 16.5svh), 176px)/.86 var(--shout); text-transform: uppercase; color: transparent; -webkit-text-stroke: max(1px, .01em) var(--ver);
  transition: color .18s, -webkit-text-stroke-color .18s, transform .35s var(--out); }
.pick__s { color: var(--c2); transition: color .18s; }
.pick__b[aria-checked="true"] .pick__w { color: var(--cream); -webkit-text-stroke-color: transparent; }
.pick__b[aria-checked="true"] .pick__s { color: var(--ver); }
@media (hover: hover) and (pointer: fine) {
  .pick__b:hover .pick__w { color: var(--cream); -webkit-text-stroke-color: transparent; transform: translateX(14px); }
  .pick__b:hover .pick__s { color: var(--cream); }
}

/* 02: make it yours */
.mk { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.mk__ctl { display: grid; gap: 26px; }
.mk__name { display: grid; gap: 8px; }
.mk__name .mono, .mk__row > .mono { color: var(--c2); }
.mk__name input { width: 100%; padding: 0 0 8px; border: 0; border-bottom: 2px solid var(--ver); border-radius: 0; background: transparent; color: var(--cream);
  font: 900 clamp(52px, 5.4vw, 88px)/.9 var(--shout); text-transform: uppercase; outline: none; caret-color: var(--ver); }
.mk__row { display: grid; gap: 10px; }
.looks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.look { min-width: 0; display: grid; gap: 8px; text-align: left; transition: transform .14s var(--out); }
.look:active { transform: scale(.985); }
.look__mini { min-width: 0; display: grid; grid-template-columns: 26% 1fr; gap: 4px; aspect-ratio: 16 / 10; padding: 5px; border-radius: 9px; background: var(--g); outline: 1px solid rgba(245, 238, 220, .14); outline-offset: 0; transition: outline-color .15s; }
.look__mini i { display: grid; align-content: start; gap: 4px; padding: 6px 5px; border-radius: 5px; font-style: normal; }
.look__mini i + i { background: var(--p); padding: 8px; gap: 5px; box-shadow: 0 0 0 1px var(--rule); }
.look__mini u { display: block; height: 3px; border-radius: 2px; background: var(--faint); }
.look__mini i + i u { width: 46%; height: 7px; background: var(--ink); }
.look__mini em { display: block; height: 3px; border-radius: 2px; background: var(--rule); }
.look__mini b { display: block; width: 38%; height: 9px; margin-top: 3px; border-radius: 3px; background: var(--acc); }
.look__t { display: grid; gap: 1px; }
.look__t b { font-size: 13px; font-weight: 600; color: var(--cream); }
.look__t small { font-size: 11.5px; color: var(--c2); }
.look[aria-checked="true"] .look__mini { outline: 2px solid var(--cream); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .look:hover .look__mini { outline-color: rgba(245, 238, 220, .45); } .look[aria-checked="true"]:hover .look__mini { outline-color: var(--cream); } }
.seg { display: inline-grid; grid-auto-flow: column; width: max-content; border: 1px solid var(--c3); }
.seg button { padding: 9px 18px; font: 450 12px var(--mono); text-transform: uppercase; color: var(--c2); }
.seg [aria-checked="true"] { background: var(--cream); color: var(--esp); }
.drop { position: relative; display: grid; place-items: center; min-height: 86px; border: 1px dashed var(--c2); cursor: pointer; transition: border-color .15s, background-color .15s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.is-over { border-color: var(--ver); background: rgba(224, 85, 60, .08); }
.mk__bo { position: relative; }
.tag { display: inline-block; margin-top: 12px; padding: 4px 8px; box-shadow: inset 0 0 0 1px var(--ver); color: var(--cream); }

/* ---------- the owner's own things: the back office, their website, their emails ----------
   The approved Ravn standard (24–26 Oct): a grey ground with a white panel, Fresha + Linear, flat, the business's display face for
   its name and one moment per page (the day), picture-led request cards, the owner's colour only on their own primary action. */
/* Round 3 (12 Nov, Qasim: "the text font looks very bad"): Instrument Sans, the Linear/Fresha kind of face, at 13.5 px, tracked in a hair */
.ui { font-family: "MB UI", "Helvetica Neue", Arial, sans-serif; font-size: 13.5px; font-weight: 420; line-height: 1.45; letter-spacing: -.008em; font-feature-settings: "cv11"; }
.ui b, .ui strong { font-weight: 600; }
.ui .dsp { font-weight: 800; }
/* Round 4 (12 Nov, Qasim: "a bolder look", Archivo instead of the serif): the page's own family, heavy and a touch narrow */
.dsp { font-family: "MB Display", "Arial Narrow", sans-serif; font-weight: 800; font-stretch: 88%; letter-spacing: -.025em; }
.ic { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Round 5 (12 Nov, Qasim: "it should work the same way" as the back office): the four Looks from Settings › Look, light and dark,
   with the real colours from crm-appointments.css (no free colour picker, as decided 11 Oct). */
.bo, .mb, .skin { --p: #fff; --g: #f3f3f1; --ink: #0b0b0b; --acc: #0b0b0b; --on: #fff;
  --mut: color-mix(in srgb, var(--ink) 58%, var(--p)); --faint: color-mix(in srgb, var(--ink) 36%, var(--p));
  --rule: color-mix(in srgb, var(--ink) 11%, var(--p)); --row: color-mix(in srgb, var(--ink) 4%, var(--p)); }
[data-look="bone"] { --p: #f5f0e6; --g: #ebe4d6; --ink: #1c1915; --acc: #1c1915; }
[data-look="oxblood"] { --p: #f6f1ee; --g: #ece3df; --ink: #1b1414; --acc: #6e1f22; }
[data-look="steel"] { --p: #f0f2f3; --g: #e3e7ea; --ink: #121820; --acc: #2c4a5e; }
.is-dark[data-look="ink"] { --p: #0f0f0f; --g: #171717; --ink: #f0efeb; --acc: #f0efeb; --on: #0f0f0f; }
.is-dark[data-look="bone"] { --p: #17140f; --g: #1f1b15; --ink: #efe8db; --acc: #efe8db; --on: #17140f; }
.is-dark[data-look="oxblood"] { --p: #140e0e; --g: #1d1414; --ink: #f1e7e4; --acc: #e07a7d; --on: #140e0e; }
.is-dark[data-look="steel"] { --p: #0d1216; --g: #141b20; --ink: #e6ecef; --acc: #8db4cc; --on: #0d1216; }
.bo {
  display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 0; padding: 10px; border-radius: 16px; background: var(--g); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.bo__side { display: flex; flex-direction: column; gap: 2px; padding: 6px 10px 6px 4px; min-width: 0; }
.bo__brand { display: flex; align-items: center; gap: 9px; padding: 4px 6px 12px; min-width: 0; }
.bo__bn { font-size: 20px; line-height: 1.05; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bo__logo { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--acc); color: #fff; font: 600 12px "MB UI", sans-serif; overflow: hidden; }
.bo__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
/* no logo yet: a quiet placeholder (a dashed frame with a picture mark) until the owner drops theirs */
.bo__logo:not(:has(img)) { background: transparent; color: inherit; opacity: .45; border: 1.2px dashed currentColor; }
.bo__logo svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bo__find { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 7px 9px; border-radius: 8px; background: var(--p); box-shadow: inset 0 0 0 1px var(--rule); color: var(--faint); }
.bo__find kbd { margin-left: auto; font: 500 10px "MB UI", sans-serif; color: var(--faint); padding: 1px 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--rule); }
.bo__nav span { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: color-mix(in srgb, var(--ink) 72%, var(--g)); font-weight: 500; }
.bo__nav span.on { background: var(--p); box-shadow: 0 0 0 1px var(--rule); color: var(--ink); }
.bo__nav em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--mut); font-weight: 500; font-variant-numeric: tabular-nums; }
.bo__nav .on em.n { min-width: 19px; height: 19px; line-height: 19px; padding: 0 5px; border-radius: 10px; background: var(--acc); color: var(--on); text-align: center; font-weight: 600; font-size: 11px; }
.bo__me { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 8px 6px; }
.bo__me b { display: block; font-weight: 600; }
.bo__me small { display: block; color: var(--mut); font-size: 11.5px; }
.bo__sig { display: grid; gap: 4px; padding: 4px 6px 2px; color: var(--faint); font-size: 10.5px; }
.bo__sig img { height: 12px; width: auto; opacity: .75; }
.bo.is-dark .bo__sig img { filter: invert(1); }
.av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--row); box-shadow: inset 0 0 0 1px var(--rule); color: var(--mut); font-size: 11px; font-weight: 600; overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.bo__panel { min-width: 0; border-radius: 12px; background: var(--p); box-shadow: 0 0 0 1px var(--rule); overflow: hidden; }
.bo__bar { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px; border-bottom: 1px solid var(--rule); font-size: 13px; }
.bo__bar b { font-weight: 600; }
.bo__bar span { color: var(--mut); }
.bo__bar i { margin-left: auto; font-style: normal; display: flex; gap: 6px; align-items: center; color: var(--mut); }
.bo__bar i u { text-decoration: none; padding: 5px 11px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); font-weight: 500; }
.bo__body { padding: 26px 26px 26px; }
.bo__day { font-size: 46px; line-height: .95; }
.bo__line { margin: 10px 0 24px; color: var(--mut); font-size: 14.5px; letter-spacing: -.012em; }
.bo__line b { color: var(--ink); font-weight: 600; }
.bo__cols { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
/* the empty reply column fills its height, calm and centred, so the two columns end together */
.bo__reply { display: flex; flex-direction: column; align-self: stretch; }
.bo__reply .calm { flex: 1; flex-direction: column; justify-content: center; text-align: center; gap: 12px; line-height: 1.5; }
.bo__reply .calm .ic { width: 20px; height: 20px; }
.bo__lab { display: flex; gap: 7px; margin-bottom: 10px; font-weight: 600; font-size: 13px; letter-spacing: -.01em; }
.bo__lab span { color: var(--faint); font-weight: 500; font-variant-numeric: tabular-nums; }
.box { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--rule); background: var(--p); overflow: hidden; }
.dayc__hd { display: flex; justify-content: space-between; padding: 9px 12px; border-bottom: 1px solid var(--rule); color: var(--mut); font-size: 12px; }
.dayc__hd b { color: var(--ink); font-weight: 600; }
.dayc__it { display: grid; grid-template-columns: 92px minmax(0, 1fr); margin: 12px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.dayc__it img { width: 100%; height: 100%; min-height: 108px; object-fit: cover; display: block; }
.dayc__tx { padding: 12px 14px; display: grid; gap: 4px; align-content: start; }
.dayc__tx small { display: flex; align-items: center; gap: 6px; color: var(--mut); font-size: 12px; font-weight: 500; }
.dayc__tx strong { font-size: 19px; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.dayc__tx span { color: var(--mut); }
.dayc__free { display: flex; align-items: center; gap: 8px; margin: 0 12px 12px; padding: 11px 12px; border-radius: 9px; background: var(--row); color: var(--mut); font-size: 12.5px; }
.dayc__free b { color: var(--ink); font-weight: 600; }
.up { margin-top: 16px; }
.up__r { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--rule); }
.up__r:first-child { border-top: 0; }
.up__r img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; display: block; }
.up__r b { display: block; font-weight: 600; letter-spacing: -.01em; }
.up__r small { display: block; color: var(--mut); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up__r time { color: var(--mut); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calm { display: flex; align-items: center; gap: 10px; padding: 18px 14px; color: var(--mut); }
/* the request: picture first, the customer's own words, the one next step */
.rq__ph { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 128px; background: var(--rule); }
.rq__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rq__ph > span { position: relative; display: block; height: 100%; overflow: hidden; }
.rq__ph span + span::after { content: attr(data-n); position: absolute; left: 8px; bottom: 7px; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 10.5px; font-weight: 600; }
.rq__b { display: grid; gap: 9px; padding: 12px 14px 14px; }
.rq__who { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.rq__who b { display: block; font-weight: 600; font-size: 14.5px; letter-spacing: -.015em; }
.rq__who small { display: block; color: var(--mut); font-size: 12px; }
.rq__who time { color: var(--mut); font-size: 12px; font-variant-numeric: tabular-nums; }
.rq__q { font-size: 14px; line-height: 1.5; letter-spacing: -.01em; }
.rq__f { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--mut); font-size: 12.5px; }
.rq__f span { display: inline-flex; align-items: center; gap: 5px; }
.rq__f .ic { width: 13px; height: 13px; }
.rq__a { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 9px; font: 550 13.5px "MB UI", sans-serif; letter-spacing: -.01em; transition: transform .14s var(--out), background-color .15s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn--p { background: var(--acc); color: var(--on); }
.btn--o { box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); background: var(--p); }
.btn--q { color: var(--mut); }
.rq__done { display: none; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.rq__done i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--acc); color: var(--on); font-style: normal; font-size: 11px; }
.rq.is-done .rq__a { display: none; }
.rq.is-done .rq__done { display: flex; animation: rise .32s var(--out) both; }
.rq__ft { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-top: 1px solid var(--rule); background: var(--row); color: var(--mut); font-size: 12.5px; }
.rq.is-in { animation: rise .55s var(--out) both; }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } }

/* phones */
.phone { position: relative; width: min(330px, 100%); aspect-ratio: 9 / 19; margin: 0 auto; border-radius: 50px; padding: 11px;
  background: linear-gradient(150deg, #55555a, #1c1c1e 26%, #0c0c0d 62%, #3d3d40); box-shadow: 0 0 0 1px #000, inset 0 0 0 1.5px rgba(255, 255, 255, .07), 0 40px 70px -30px rgba(0, 0, 0, .7); }
/* the side buttons: volume on the left, power on the right */
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #3a3a3d, #1a1a1c); }
.phone::before { left: -3px; top: 22%; height: 10%; box-shadow: 0 calc(100% + 14px) 0 #2a2a2c; }
.phone::after { right: -3px; top: 28%; height: 14%; }
.phone__s { --sr: 38px; position: relative; height: 100%; border-radius: var(--sr); overflow: hidden; background: #fff; color: #17181A; isolation: isolate; }
.phone__s::before { content: ""; position: absolute; z-index: 9; left: 50%; top: 10px; width: 96px; height: 28px; margin-left: -48px; border-radius: 16px; background: #0B0A09; }
.phone__view { position: absolute; inset: 0; overflow: auto; scrollbar-width: none; }
.phone__view::-webkit-scrollbar { display: none; }
.phone__view.is-in { animation: viewin .42s var(--out) both; }
@keyframes viewin { from { opacity: 0; transform: scale(.985); } }
.sbar { position: sticky; top: 0; z-index: 4; display: flex; justify-content: space-between; padding: 15px 26px 6px; font: 600 13px "MB UI", sans-serif; background: inherit; }

/* 03: their website, on the customer's phone: a real site, calm, chosen with pictures */
.cu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(24px, 5vw, 80px); align-items: center; }
.cu__h { font-size: clamp(56px, 7vw, 124px); margin-top: 14px; }
/* floor 03 (round 6): the customer's steps, read back beside their phone */
.steps { margin-top: clamp(20px, 3.5vh, 36px); max-width: 520px; border-top: 1px solid var(--c3); }
.steps > li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--c3); transition: opacity .3s; }
.steps > li.is-next { opacity: .36; }
.steps__n { font: 900 42px/.8 var(--shout); color: transparent; -webkit-text-stroke: 1px var(--ver); transition: color .25s; }
.steps li.is-on .steps__n { color: var(--ver); -webkit-text-stroke-color: transparent; }
.steps li.is-done .steps__n { color: var(--cream); -webkit-text-stroke-color: transparent; }
.steps__b { display: grid; gap: 7px; min-width: 0; }
.steps__b > b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.steps__a { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--c2); font-size: 14px; }
.steps__a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.steps__a img { flex: none; width: 40px; height: 40px; border-radius: 7px; object-fit: cover; }
.steps li.is-on .steps__a { color: var(--cream); }
.steps__a.is-new { animation: fresh .45s var(--out); }
@keyframes fresh { from { opacity: .15; transform: translateX(-6px); } }
.steps__k { font: 450 11px var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .03em; color: var(--c2); }
.steps li.is-on .steps__k { color: var(--ver); }
.steps li.is-done .steps__k { color: var(--cream); font-size: 15px; }
.steps > li.steps__sent { display: flex; justify-content: space-between; gap: 12px; font: 450 11px var(--mono); text-transform: uppercase; letter-spacing: .03em; color: var(--cream); animation: rise .4s var(--out) both; }
.ws { background: #FBFAF7; min-height: 100%; }
.ws__hd { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 46px 20px 12px; background: #FBFAF7; }
.ws__hd b { display: flex; align-items: center; gap: 8px; font-size: 20px; }
.ws__hd .bo__logo { width: 24px; height: 24px; border-radius: 6px; }
.ws__hd svg { width: 20px; height: 20px; stroke: #17181A; stroke-width: 1.6; fill: none; }
.ws__hero { position: relative; margin: 0 12px; height: 170px; border-radius: 16px; overflow: hidden; }
.ws__hero img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); animation: heroin 1.4s var(--out) both; }
@keyframes heroin { from { transform: scale(1.12); } }
.ws__in { padding: 18px 20px 6px; }
.ws__in h3 { font-size: 30px; line-height: 1; }
.ws__in p { margin-top: 8px; color: #6E6F72; font-size: 13.5px; line-height: 1.45; }
.wf { display: grid; gap: 14px; padding: 12px 20px 28px; }
.wf__top { display: grid; gap: 8px; }
.wf__n { font-size: 11.5px; font-weight: 550; color: #8A8B8E; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.wf__st { display: flex; gap: 5px; }
.wf__st i { flex: 1; height: 3px; border-radius: 3px; background: #E4E3DF; transition: background-color .3s; }
.wf__st i.on { background: var(--acc); }
.wf__q { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pics--3 { grid-template-columns: repeat(3, 1fr); }
.pic { position: relative; display: grid; gap: 6px; text-align: left; border-radius: 12px; transition: transform .14s var(--out); }
.pic:active { transform: scale(.97); }
.pic img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 0 0 0 var(--acc); transition: box-shadow .18s; }
.pics--wide .pic img { aspect-ratio: 16 / 10; }
.pics--1 { grid-template-columns: 1fr; }
.pics--1 .pic img { aspect-ratio: 16 / 8; }
.pic b { font-size: 12.5px; font-weight: 550; line-height: 1.2; letter-spacing: -.01em; }
.pic small { display: block; font-size: 11px; color: #6E6F72; font-weight: 450; }
.pic[aria-pressed="true"] img { box-shadow: 0 0 0 2.5px #FBFAF7, 0 0 0 4.5px var(--acc); }
.pic[aria-pressed="true"]::after { content: ""; position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border-radius: 50%; animation: rise .2s var(--out) both;
  background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 9px 15px; border-radius: 20px; box-shadow: inset 0 0 0 1px #DCDBD6; font-size: 13.5px; font-weight: 500; transition: background-color .15s, color .15s, transform .14s var(--out); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: #17181A; color: #fff; box-shadow: none; }
.rng { display: grid; gap: 8px; }
.rng__v { display: flex; justify-content: space-between; align-items: baseline; }
.rng__v b { font-size: 24px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rng input { width: 100%; accent-color: var(--acc); }
.inp { display: grid; gap: 5px; }
.inp span { font-size: 11.5px; color: #6E6F72; }
.inp input { width: 100%; padding: 12px 13px; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px #DCDBD6; background: #fff; font: 450 16px "MB UI", sans-serif; color: #17181A; outline: none; transition: box-shadow .15s; }
.inp input:focus { box-shadow: inset 0 0 0 1.5px var(--acc); }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 13px 14px; border-radius: 12px; background: #F1F0EC; }
.price span { font-size: 12px; color: #6E6F72; }
.price b { white-space: nowrap; font-size: 18px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.send { display: grid; place-items: center; width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; background: var(--acc); color: #fff; font: 600 15px "MB UI", sans-serif; letter-spacing: -.01em; transition: transform .14s var(--out), opacity .2s; }
.send:active { transform: scale(.98); }
.wf__back { justify-self: center; font-size: 12.5px; color: #6E6F72; padding: 4px 10px; }
.sent { display: grid; place-items: center; align-content: center; gap: 10px; height: 100%; padding: 30px; text-align: center; background: #FBFAF7; }
.sent i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--acc); color: #fff; font-style: normal; font-size: 24px; animation: rise .4s var(--out) both; }
.sent b { font-size: 24px; }
.sent p { color: #6E6F72; font-size: 13px; }

/* 04: the run */
.fl--4 { grid-template-rows: auto auto 1fr auto; overflow: clip; }
.fl--4 .q { display: flex; justify-content: space-between; }
.pkt { justify-self: start; display: grid; grid-template-columns: 46px auto; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 16px 8px 8px; border-radius: 10px; background: var(--cream); color: var(--esp); font-size: 13px; }
.pkt img { width: 46px; height: 46px; border-radius: 7px; object-fit: cover; display: block; }
.pkt b { display: block; font-size: 15px; }
.pkt span span { color: #6E6359; }
.run { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); margin-top: clamp(24px, 5vh, 56px); align-content: start; }
.run > li { display: grid; align-content: start; gap: 14px; opacity: .22; transition: opacity .3s; }
.run > li.is-on { opacity: 1; }
.run > li > b { font-size: clamp(44px, 5.1vw, 92px); color: transparent; -webkit-text-stroke: 1px var(--ver); transition: color .25s; }
.run > li.is-on > b { color: var(--cream); -webkit-text-stroke-color: transparent; }
.run > li:last-child.is-on > b { color: var(--ver); }
.run__d { display: grid; gap: 7px; color: var(--c2); font-size: 12px; }
.run__d li { display: flex; justify-content: space-between; gap: 10px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .3s var(--out); padding-bottom: 6px; border-bottom: 1px solid var(--c3); }
.run__d li.on { opacity: 1; transform: none; }
.run__d li b { font: 450 12px var(--mono); color: var(--cream); -webkit-text-stroke: 0; }
.run__d li.x b { text-decoration: line-through; color: var(--c2); }
.run__d li.pick b { color: var(--ver); }
.run__mail { font-size: clamp(14px, 1.15vw, 17px); line-height: 1.5; color: var(--cream); }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--ver); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.big-clock { font-size: clamp(110px, 21vw, 360px); align-self: end; margin-bottom: -.12em; opacity: .55; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 05: it landed: the back office beside the owner's phone (the alert, then the back office in the hand, then the customer's inbox) */
.ld { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 310px); gap: clamp(20px, 3.4vw, 48px); align-items: start; }
.ld__bo .q { margin-bottom: 14px; }
.ld__lab { color: var(--c2); text-align: center; margin-bottom: 10px; transition: color .3s; }
.phone--dark .phone__s { background: #0B0A09; }   /* whatever shows at the screen's edge is the bezel's own black */
.phone.is-buzz { animation: buzz .45s linear 2; }
@keyframes buzz { 0%, 100% { transform: none; } 20% { transform: translateX(-3px) rotate(-1deg); } 40% { transform: translateX(3px) rotate(1deg); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
/* the back office in the hand (the approved phone layout: the day, Needs your reply, four tabs) */
.mb { background: var(--p); color: var(--ink); min-height: 100%; padding-bottom: 70px; }
.mb .sbar { background: var(--p); }
.mb__hd { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px 0; }
.mb__hd .dsp { font-size: 20px; }
.mb__in { padding: 10px 14px 14px; }
.mb__in .bo__day { font-size: 34px; }
.mb__in .bo__line { margin: 4px 0 14px; font-size: 13px; }
.mb .rq__ph { height: 112px; }
.mb .rq__a .btn { padding: 0 12px; }
.mb .rq__a .btn--q { display: none; }
.mb__tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 18px; background: var(--p); border-top: 1px solid var(--rule); }
.mb__tabs span { display: grid; justify-items: center; gap: 3px; font-size: 10.5px; color: var(--mut); }
.mb__tabs span.on { color: var(--ink); font-weight: 600; }
.mb__tabs .ic { width: 18px; height: 18px; }
/* round 6: the lock screen, the Dynamic Island, a glass notification, and the app opening out of it, the way an iPhone does */
.ios { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; color: #fff; background: #1c1c1e var(--wp) center / cover; overflow: hidden; }
.ios::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .34), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .5)); }
.ios > * { position: relative; }
.ios--cust { background: radial-gradient(110% 70% at 15% 5%, #f6b98f 0%, transparent 55%), radial-gradient(120% 90% at 95% 95%, #5b6fdc 0%, transparent 60%), linear-gradient(165deg, #e07f68, #3b4ca6); }
.ios__top { align-self: stretch; display: flex; justify-content: flex-end; padding: 17px 24px 0; height: 44px; }
.ios__sb { display: inline-flex; align-items: center; gap: 5px; }
.ios__sb svg { width: 15px; height: 11px; fill: currentColor; }
.ios__sig { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 10px; }
.ios__sig b { width: 3px; border-radius: 1px; background: currentColor; }
.ios__sig b:nth-child(1) { height: 4px; } .ios__sig b:nth-child(2) { height: 6px; } .ios__sig b:nth-child(3) { height: 8px; } .ios__sig b:nth-child(4) { height: 10px; }
.ios__bat { width: 23px; height: 11px; border-radius: 3.5px; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 45%, transparent); padding: 1.5px; }
.ios__bat b { display: block; width: 78%; height: 100%; border-radius: 2px; background: currentColor; }
.ios__date { margin-top: 30px; font-size: 15px; font-weight: 600; letter-spacing: -.005em; opacity: .94; transition: opacity .2s; }
.ios.is-isl .ios__date { opacity: 0; }
.ios__t { margin-top: -2px; font: 700 84px/1 "MB UI", sans-serif; letter-spacing: -.05em; font-variant-numeric: tabular-nums; opacity: .96; }
.ios__isl { position: absolute; z-index: 10; top: 10px; left: 50%; width: 96px; height: 28px; transform: translateX(-50%); display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 0 16px 0 14px; border-radius: 16px; background: #000; overflow: hidden; transition: width .55s cubic-bezier(.32, .72, 0, 1), height .55s cubic-bezier(.32, .72, 0, 1), border-radius .55s cubic-bezier(.32, .72, 0, 1); }
.ios.is-isl .ios__isl { width: calc(100% - 18px); height: 76px; border-radius: 38px; }
.ios__isl > * { opacity: 0; transition: opacity .15s; }
.ios.is-isl .ios__isl > * { opacity: 1; transition: opacity .25s .25s; }
.ios__isl .bo__logo { width: 38px; height: 38px; border-radius: 50%; background: #1c1c1e; color: #8e8e93; }
.ios__isl .bo__logo:not(:has(img)) { opacity: 0; border: 0; }   /* closed island: nothing shows in the pill (round 10) */
.ios.is-isl .ios__isl .bo__logo { opacity: 1; }
.ios__it { display: grid; min-width: 0; }
.ios__it b { font-size: 14px; font-weight: 600; color: #fff; }
.ios__it small { font-size: 12.5px; color: #a1a1a6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ios__wave { display: inline-flex; align-items: center; gap: 2.5px; height: 18px; }
.ios__wave i { width: 3px; height: 100%; border-radius: 2px; background: #30d158; animation: wave .9s ease-in-out infinite; }
.ios__wave i:nth-child(2) { animation-delay: -.3s; } .ios__wave i:nth-child(3) { animation-delay: -.6s; } .ios__wave i:nth-child(4) { animation-delay: -.15s; }
@keyframes wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.ios__stack { margin-top: auto; align-self: stretch; padding: 0 9px 14px; }
.ios__n { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 22px; color: #111;
  background: rgba(246, 246, 246, .74); -webkit-backdrop-filter: blur(26px) saturate(1.8); backdrop-filter: blur(26px) saturate(1.8);
  opacity: 0; transform: translateY(28px) scale(.95); transition: opacity .35s, transform .6s cubic-bezier(.32, .72, 0, 1); }
.ios.is-n .ios__n { opacity: 1; transform: none; }
.ios.is-tap .ios__n { transform: scale(.955); transition-duration: .18s; }
.ios__ai { align-self: start; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #fff; overflow: hidden; }
.ios__ai .bo__logo { width: 100%; height: 100%; border-radius: 8px; color: #9a9aa0; }
.ios__ai .bo__logo:not(:has(img)) { opacity: 1; border: 0; }
.ios__ai--mail { background: linear-gradient(#2a9bff, #0a6cf0); }
.ios__ai--mail svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; }
.ios__nb { display: grid; gap: 1px; min-width: 0; font-size: 12.5px; line-height: 1.3; }
.ios__nh { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: rgba(0, 0, 0, .5); }
.ios__nh b { font-weight: 600; }
.ios__nb > b { font-size: 13px; font-weight: 600; }
.ios__nb > .ios__sub { font-weight: 500; }
.ios__nb > p:last-child { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #1c1c1e; }
.ios__th { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
.ios__ft { align-self: stretch; display: flex; justify-content: space-between; padding: 4px 38px 30px; }
.ios__ft span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(40, 40, 40, .38); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.ios__ft svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.ios__home { position: absolute; bottom: 8px; left: 50%; width: 118px; height: 4.5px; margin-left: -59px; border-radius: 3px; background: rgba(255, 255, 255, .88); }
.phone__view.is-open { z-index: 5; overflow: hidden; transform-origin: 0 0; animation: open .62s cubic-bezier(.32, .72, 0, 1) both; }
@keyframes open { from { transform: translate(var(--tx), var(--ty)) scale(var(--s)); clip-path: inset(0 0 var(--cb) 0 round var(--r)); } to { transform: none; clip-path: inset(0 0 0 0 round var(--sr)); } }
/* the customer's inbox: Apple Mail, with the business's own email inside */
.em { background: #fff; min-height: 100%; padding: 0 12px 16px; color: #111; }
.em .sbar { background: #fff; margin: 0 -12px; }
.em__nav { display: flex; justify-content: space-between; padding: 6px 4px 10px; color: #0a84ff; font-size: 15.5px; }
.em__who { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 4px 4px 10px; }
.em__who .bo__logo { width: 36px; height: 36px; border-radius: 50%; color: #8e8e93; }
.em__who b { display: block; font-size: 14.5px; font-weight: 600; }
.em__who small, .em__who time { display: block; font-size: 12px; color: #8e8e93; }
.em__subj { margin: 0; padding: 0 4px 12px; font-size: 21px; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.em__card { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #ECEBE7; }
.em__card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.em__body { display: grid; gap: 9px; padding: 16px; font-size: 13px; line-height: 1.5; }
.em__body h5 { margin: 0; font-size: 22px; line-height: 1.05; }
.em__body .send { margin-top: 4px; padding: 12px; font-size: 14px; }
.em__ft { padding: 12px 16px; border-top: 1px solid #EEEDE9; color: #9A9A96; font-size: 10.5px; }

/* 06: want it */
.fl--6 { grid-template-rows: auto auto 1fr auto; }
/* what you just did: the ride, read back as a ruled list */
.recap { align-self: center; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin-top: 34px; }
.recap li { display: grid; align-content: start; gap: 6px; padding-top: 14px; border-top: 1px solid var(--c3); }
.recap .n { font: 900 46px/.8 var(--shout); color: var(--ver); }
.recap .k { color: var(--c2); }
.recap b { font-size: clamp(16px, 1.4vw, 21px); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.fin { font-size: clamp(70px, 12.5vw, 230px); margin-top: 14px; }
.fin span { display: block; }
.fin__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: end; align-self: end; margin-top: 36px; }
.plate { position: relative; padding: 14px 18px 18px; border: 1.5px solid var(--ver); border-radius: 12px; }
.plate__hd { display: flex; justify-content: space-between; gap: 12px; color: var(--c2); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--c3); }
.plate pre { margin: 0; padding-right: 76px; white-space: pre-wrap; overflow-wrap: anywhere; font: 450 13.5px/1.6 var(--mono); font-stretch: 87.5%; }
.plate__b { position: absolute; right: 14px; bottom: 16px; padding: 8px 12px; border: 1px solid var(--c3); }
.fin__acts { display: grid; gap: 8px; }
.cta { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 66px; padding: 0 22px; border: 1.5px solid var(--ver); text-decoration: none; color: var(--ver); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ver); transform-origin: 0 50%; transform: scaleX(0); transition: transform .45s var(--io); }
@media (hover: hover) and (pointer: fine) { .cta:hover::before { transform: none; } .cta:hover { color: var(--esp); } }
.again { justify-self: start; padding: 10px 0; color: var(--cream); }

/* ---------- the way up ---------- */
.go { position: sticky; bottom: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px calc(var(--pad) + var(--fr)) calc(var(--fr) + 14px + env(safe-area-inset-bottom)); background: var(--esp); }
.go__hint { color: var(--c2); }
.go__b { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; background: var(--ver); color: var(--esp); font-size: 12.5px; transition: opacity .2s, transform .14s var(--out); }
.go__b:active { transform: scale(.97); }
.go__b[disabled] { opacity: .25; cursor: default; }

/* ---------- narrower ---------- */
@media (max-width: 1000px) {
  .bo__cols { grid-template-columns: 1fr; }
  .bo__reply { order: -1; }   /* one column: the request comes first */
  .run { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .mk, .cu, .ld { grid-template-columns: 1fr; }
  .cu__r { order: -1; }
  .cu__h { font-size: clamp(48px, 13vw, 96px); margin-bottom: 18px; }
  .ld__bo .bo { display: none; }   /* Qasim, 12 Nov: two Confirm buttons on one screen made no sense */
  .ld__ph .ld__lab { margin-top: 14px; }
  .fin__row { grid-template-columns: 1fr; }
  .recap { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
}
@media (max-width: 760px) {
  .top { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .top__mark { display: none; }
  .top__mid { grid-column: 1; justify-self: stretch; }
  .top__name { display: none; }
  .top__btn { padding: 8px 9px; }
  .pick__w { font-size: clamp(30px, 10.2vw, 96px); }
  .pick__s { width: 100%; margin-bottom: 10px; }
  .fl__ft { flex-direction: column; gap: 6px; }
  .bo { grid-template-columns: 1fr; padding: 6px; }
  .bo__side { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 4px 6px 8px; }
  .bo__brand { padding: 0; flex: 1; }
  .bo__find, .bo__nav, .bo__me { display: none; }
  .bo__sig { order: 9; width: 100%; padding: 6px 2px 0; }
  .bo__body { padding: 16px 14px; }
  .bo__cols { grid-template-columns: 1fr; }
  .bo__bar i { display: none; }
  .mk__name input { font-size: clamp(44px, 14vw, 72px); }
  .phone { width: 100%; max-width: 360px; aspect-ratio: auto; height: min(640px, 76svh); border-radius: 36px; padding: 8px; }
  .phone__s { --sr: 29px; }
  .run { grid-template-columns: 1fr; gap: 20px; margin-top: 22px; }
  .run > li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .run > li > b { font-size: clamp(46px, 14vw, 72px); }
  .big-clock { font-size: 24vw; margin-top: 18px; }
  .top__btn { padding: 8px 10px; }
  .top__btn span { display: none; }
  .top__btn--snd { width: 34px; justify-content: center; padding: 8px 0; }
  .go__hint { display: none; }
  .go__b { flex: 1; justify-content: center; }
}
/* a short laptop window (Qasim's MacBook, about 1288 × 638): each floor fits without scrolling (round 5) */
@media (min-width: 1001px) and (max-height: 820px) {
  .looks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .look__t small { display: none; }
  .mk__ctl { gap: 16px; }
  .drop { min-height: 50px; }
  .fl--2 .bo .up, .fl--2 .bo .up + .box, .fl--5 .bo .up, .fl--5 .bo .up + .box { display: none; }
  .bo__body { padding: 18px 22px 20px; }
  .bo__day { font-size: 38px; }
  .bo__line { margin: 6px 0 16px; }
  .cu__h { font-size: clamp(48px, 10vh, 124px); }
  .phone { zoom: var(--fit, 1); }
  .fl--5 .bo { zoom: .86; }   /* the one press stays above the fold */
  .rq__a .btn--q { display: none; }
  .fl--2 .bo { zoom: .92; }
  .mk { grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); }
  .bo { grid-template-columns: 164px minmax(0, 1fr); }
  .bo__bar { min-height: 44px; }
  .rq__ph { height: 100px; }
  .rq__b { gap: 7px; padding: 10px 14px 12px; }
  .dayc__it { grid-template-columns: 76px minmax(0, 1fr); }
  .dayc__it img { min-height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
