/* ---------- checkout ----------

   Behind the site, SPACE10-style: the page slides down off it (2026-09-14, a
   prototype). See "checkout" in app.js for why the pieces move one by one
   instead of inside a wrapper. */
/* The checkout wears the OTHER theme (Anthony, 2026-09-14): dark under the
   light site, light under the dark one, so it reads as a separate layer. Only
   the tokens change; every rule below uses them. */
.checkout{
  --ink:#dedede;
  --co-field:#2a2a2a;   /* = --contact-field: a field on a dark card is one grey (2026-09-18 sweep) */
  --chip:rgba(42,42,42,.6);
  --chip-hover:rgba(68,68,68,.85);
  --contact-pill:#f5f5f5;
  --contact-pill-hover:#dedede;
  --contact-ink:#111111;
  --co-field-hover:#333333;   /* one step up from the field, in the checkout's own theme */
  --co-chevron:url("/assets/svg/chevron-down.svg");

  position:fixed;
  top:0;right:0;bottom:0;
  width:var(--co-w, 440px);
  z-index:-1;                  /* under everything, including the in-flow page on a phone */
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:none;
  visibility:hidden;
}
[data-theme="dark"] .checkout{
  --ink:#111111;
  --co-field:#ebebeb;
  --chip:rgba(235,235,235,.6);
  --chip-hover:rgba(204,204,204,.85);
  --contact-pill:#111111;
  --contact-pill-hover:#333333;
  --contact-ink:#ffffff;
  --co-field-hover:#dedede;
  --co-chevron:url("/assets/svg/chevron-down-dark.svg");
}
html.theme-day{--behind:var(--day-behind)}
/* Daylight: the inverted pair — the day's ink as the ground, its ground as the words */
html.theme-day .checkout{--ink:var(--day-bg);--co-field:var(--day-co-field);--co-field-hover:var(--day-co-field-2);--chip:var(--day-co-field);--chip-hover:var(--day-co-field-2);--contact-pill:var(--day-bg);--contact-pill-hover:var(--day-co-field-2);--contact-ink:var(--day-ink)}
.checkout::-webkit-scrollbar{display:none}
html.co-on .checkout{visibility:visible}

/* The ground under the site is the checkout's colour for the visit, so the
   site's rounded corners and the margin its shrinking opens up read as one
   layer. Its own screen-sized element, still and under everything (.co-ground,
   made with .co-frame) — NOT html's background, which used to be switched and
   sometimes left the page black behind the site; and not a fixed layer inside
   the checkout's scroller, which iOS repaints as that scroller changes. */
.co-ground{display:none;position:fixed;inset:0;z-index:-2;background:var(--behind);pointer-events:none}
html.co-on .co-ground{display:block}
/* NOTHING WHITE UNDER THE PAGE WHILE IT IS AWAY (2026-09-15). Shrinking on a
   phone opens a strip down each side of the page, and Anthony's iPhone showed
   those strips WHITE, not the checkout's colour — so something white under the
   site was drawn over .co-ground there. Three things under the page are white
   at rest: the root's own background, .page-ground, and body, whose
   `background` transition kept it white for the first 420ms of the slide. For
   the visit every one of them takes the checkout's colour, INSTANTLY (the page
   still covers the whole screen when the visit starts and again when it ends,
   so neither change is ever seen) — no fade on the root, which iOS does not
   always repaint (see "The black page" in the README). */
html.co-on{background:var(--bg)}   /* THE ROOT NEVER CHANGES COLOUR (2026-09-25, SPACE10's technique): Safari tints its tab bar from the page's root, so it keeps the page's own colour for the whole visit; the checkout's grounds below are separate layers */
html.co-on .page-ground{background:var(--behind);transition:none}
html.co-on body{background:transparent;transition:none;pointer-events:none}
html.co-on .checkout,
html.co-on .blurwrap,
html.co-on .header .wordmark,
html.co-on .head-actions,
html.co-on .footer{pointer-events:auto}
html.co-on .cursor-tip:not(.is-sent):not(.is-error){opacity:0}   /* but it answers a payment */

/* The move. The same translate and scale on every top-level piece — left and
   a little smaller on a laptop, down on a phone (--co-x/--co-y/--co-s and each
   piece's transform-origin come from coLayout). Each keeps its own
   transitions, which is why they are all restated here. */
/* The base rules are the way BACK (--co-out); the co-open rules below restate
   the same lists on the way in (--co-t). A transition takes its timing from
   the state it is going to.

   PLAIN `transform`, NOT the `translate` / `scale` properties (2026-09-15).
   Every Safari hands a transform animation to the GPU; the individual
   properties are newer, and on an iPhone that is exactly the kind of doubt a
   flicker comes from. The wordmark's piece is `.wm-t`, the span INSIDE it: the
   wordmark itself is blended and a transform would cost it the blend (2026-09-17,
   see .wordmark), so the slide moves the span and the blend stays put. */
.blurwrap{transition:filter 520ms var(--ease),background 420ms var(--ease),transform var(--co-out) var(--co-out-ease)}
.wordmark{transition:opacity 200ms var(--ease)}
.wm-t{transition:transform var(--co-out) var(--co-out-ease)}
.head-actions{transition:transform var(--co-out) var(--co-out-ease)}
.footer{transition:filter 380ms var(--ease),transform var(--co-out) var(--co-out-ease)}
.arrows{transition:opacity 300ms var(--ease) 240ms,transform var(--co-out) var(--co-out-ease)}   /* back WITH the strip (it returns 240ms into a page's close), not alone before it */
html.co-open .blurwrap,
html.co-open .head-actions,
html.co-open .footer,
html.co-open .arrows{transform:translate3d(var(--co-x, 0px), var(--co-y, 0px), 0) scale(var(--co-s, 1))}
.wm-t{transform:translate3d(0, 0, 0) scale(1)}
html.co-open .wm-t{transform:translate3d(var(--co-x, 0px), var(--co-y, 0px), 0) scale(var(--co-s, 1))}
html.co-open .blurwrap{transition:filter 520ms var(--ease),background 420ms var(--ease),transform var(--co-t) var(--co-ease)}
html.co-open .wordmark{transition:opacity 200ms var(--ease)}
html.co-open .wm-t{transition:transform var(--co-t) var(--co-ease)}
html.co-open .head-actions{transition:transform var(--co-t) var(--co-ease)}
html.co-open .footer{transition:filter 380ms var(--ease),transform var(--co-t) var(--co-ease)}
html.co-open .arrows{transition:opacity 300ms var(--ease),transform var(--co-t) var(--co-ease)}
/* THE ROUNDED CORNERS ARE FOUR SMALL PIECES, NOT A CLIP (2026-09-15). An
   animated clip-path had to be redrawn on every frame of the slide, and on an
   iPhone that flickered (Anthony). Instead each corner of the page carries a
   radius-sized square in the checkout's colour, cut to a quarter circle, and
   it grows from nothing at that corner as the page comes away — a scale, which
   the phone's compositor animates alone, on the slide's own clock and curve,
   and shrinks again on the way back. They live in .co-frame, a transparent
   screen-sized layer right after .blurwrap that moves and shrinks exactly as
   the page does (it is one of coPieces) — not inside .blurwrap, whose content
   is scrolled on a phone and would carry them away. */
.co-frame{display:none;position:fixed;inset:0;pointer-events:none}
html.co-on .co-frame{display:block}
/* Each piece reaches 1px PAST the page's edges, so the page's own edge — which
   lands on a fractional pixel once it is shrunk — cannot show as a white
   hairline beside the corner; the curve itself stays exactly on the page's
   corner. And a piece shrinks to scale(.001), NOT 0: Safari cannot animate
   towards a zero-size transform, so it held the corner at full size all the
   way back and dropped it at the end (Anthony's recording, 2026-09-15). */
/* ONE MOVEMENT PER PIECE, NOTHING NESTED (2026-09-15). The pieces used to
   shrink inside .co-frame while the frame carried the slide. Safari reported
   the shrink but did not draw it — a transform animating inside another
   animating layer — so on the way back the corner stayed full size and
   vanished at the end (Anthony's second recording). Now the frame stands still
   and each piece carries the page's slide AND its own growth in a single
   transform, the same plain move the page itself makes. With its corner as
   the origin, "move with the page, then grow" works out to a translate of the
   page's own (--co-x, --co-y) plus a correction for where the page's shrink
   takes that corner (--ecx, --ecy, set per piece by coLayout), then a scale of
   the page's scale. */
.co-ear{
  position:absolute;
  width:calc(var(--radius) + 1px);
  height:calc(var(--radius) + 1px);
  transform:translate3d(0px, 0px, 0) scale(.001);
  transition:transform var(--co-out) var(--co-out-ease);
}
html.co-open .co-ear{
  transform:translate3d(calc(var(--co-x, 0px) + var(--ecx, 0px)), calc(var(--co-y, 0px) + var(--ecy, 0px)), 0) scale(var(--co-s, 1));
  transition:transform var(--co-t) var(--co-ease);
}
.co-ear[data-c="tl"]{top:-1px;left:-1px;transform-origin:1px 1px;
  background:radial-gradient(circle var(--radius) at 100% 100%, transparent calc(var(--radius) - .5px), var(--behind) var(--radius))}
.co-ear[data-c="tr"]{top:-1px;right:-1px;transform-origin:calc(100% - 1px) 1px;
  background:radial-gradient(circle var(--radius) at 0 100%, transparent calc(var(--radius) - .5px), var(--behind) var(--radius))}
.co-ear[data-c="bl"]{bottom:-1px;left:-1px;transform-origin:1px calc(100% - 1px);
  background:radial-gradient(circle var(--radius) at 100% 0, transparent calc(var(--radius) - .5px), var(--behind) var(--radius))}
.co-ear[data-c="br"]{bottom:-1px;right:-1px;transform-origin:calc(100% - 1px) calc(100% - 1px);
  background:radial-gradient(circle var(--radius) at 0 0, transparent calc(var(--radius) - .5px), var(--behind) var(--radius))}
/* NO FROSTED GLASS ANYWHERE DURING THE VISIT. A backdrop blur re-blurs what
   is behind it on every frame it moves, and Safari flickers doing it inside a
   moving layer. The header's chips were taken off first; the flicker Anthony
   still saw on the RIGHT of his phone matches the round buttons at the right
   end of every card caption, and the checkout's own X and quantity buttons
   (2026-09-15). All of them go flat for the visit; on the page's white ground
   the difference cannot be seen. */
html.co-on *{-webkit-backdrop-filter:none !important;backdrop-filter:none !important}
/* the corner pieces get their layers before they move, not on the first frame */
html.co-on .co-ear{will-change:transform}
/* NOTHING PAST THE PAGE'S EDGES while it is away. The project page keeps the
   next project's preview (.proj-peek) parked just below the screen, and when
   the page shrank that preview showed in the gap under it, a strip of image
   below the page's own edge (Anthony, 2026-09-15). `clip`, not `hidden`: it
   clips without making .blurwrap a scroller. (On a phone .blurwrap is already
   a clipped window for the visit — see the phone rules.) */
html.co-on .blurwrap{overflow:clip}
/* and the preview itself goes: its top sits exactly on the page's bottom edge,
   which after the shrink is a fractional pixel, so the clip still let a
   half-pixel line of it show along the bottom (Anthony, 2026-09-15). It has no
   job while the checkout is open. */
html.co-on .proj-peek{visibility:hidden}
/* promoted for the whole visit, in the frame BEFORE the slide starts (see
   openCheckout), so the first frames of the move are not spent building layers */
html.co-on .blurwrap,
html.co-on .wm-t,
html.co-on .head-actions,
html.co-on .footer,
html.co-on .arrows{will-change:transform}

.co-inner{
  display:flex;
  flex-direction:column;
  gap:var(--syn-gap);
  padding:var(--pad) var(--pad) var(--syn-gap);
  opacity:0;
  transition:opacity 240ms var(--ease);
}
html.co-open .co-inner{opacity:1;transition:opacity 420ms var(--ease) 300ms}
/* CLOSING, THE CHECKOUT STAYS PUT AND THE PAGE SLIDES BACK OVER IT (2026-09-27,
   his note from his iPhone: "the page basically flashes for like a second… in
   white"). Its contents used to fade out in 240ms the moment the close began,
   while the page takes ~1s to come back — so for most of the slide the screen
   showed the checkout's BARE ground: a blank white panel under the dark theme
   (a blank black one under the light). Now nothing in the checkout changes; the
   page covers it like a drawer closing, and the visit's end hides it once the
   page is back over the whole screen. It takes no presses while it goes. */
html.co-closing .co-inner{opacity:1;transition:none}
html.co-closing .checkout{pointer-events:none}

/* level with the header it replaces: the X where the plus was */
.co-top{display:flex;align-items:center;justify-content:space-between;height:var(--chip-h);font-size:16px}
.co-close .plus{transform:rotate(90deg)}

/* one column: the ruler and its price, quantity, the wallets, and the card
   form folded away behind Pay by card */
.co-flow{display:flex;flex-direction:column;gap:var(--gap);font-size:var(--fs-s)}
.co-dim{opacity:.55}   /* secondary text is .55 everywhere; .4 is for options not chosen (2026-09-18 sweep) */
.co-item{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--gap)}   /* the count on the name block's foot, like Buy and share on a project */
.co-price{font-variant-numeric:tabular-nums}   /* 13, the one-liner's place under the name (was 16 on the right) */
.co-bycard{
  display:flex;
  align-items:center;
  height:var(--ctl-h);
  padding:0 var(--word-x);   /* its word at the rows' inset, like every full-width button's */
  border:0;
  border-radius:999px;   /* a pill at any height: it is 40 on a phone, where 15 left square-ish corners (Anthony, 2026-09-18) */
  background-color:var(--co-field);
  color:var(--ink);
  font:inherit;
  font-size:var(--fs-s);
  cursor:pointer;
  transition:background-color var(--hover) var(--ease);
}
@media (hover:hover){.co-bycard:hover{background-color:var(--co-field-hover)}}.co-bycard.is-pressed{background-color:var(--co-field-hover)}
/* NOT --btn-hover: that is the PAGE's theme, and the checkout wears the other
   one — Pay by card hovered to the colour of its own words and they vanished,
   in both themes (Anthony, 2026-09-19: "the hover animation … is not good"). */
.co-clip{height:0;overflow:hidden}
.checkout.is-card .co-clip{height:auto}
.co-form{display:flex;flex-direction:column;gap:10px;padding:10px 0 4px}   /* fields 10px apart: their names are inside them now */   /* 4px: the clip must not crop the note's descenders */
.co-fine{font-size:var(--fs-s)}
.co-step{display:flex;align-items:center;gap:14px}
.co-step .icon-btn{background-color:var(--co-field);backdrop-filter:none;-webkit-backdrop-filter:none}
.co-step .icon-btn:disabled{opacity:.4;cursor:default}
@media (hover:hover){.co-step .icon-btn:not(:disabled):hover{background-color:var(--co-field-hover)}}.co-step .icon-btn:not(:disabled).is-pressed{background-color:var(--co-field-hover)}   /* the steppers had no hover at all */
.co-glyph{width:12px;height:12px;fill:none;stroke:var(--ink);stroke-width:1;stroke-linecap:round}
.co-n{width:20px;text-align:center;font-variant-numeric:tabular-nums}   /* a whole-pixel width, so the minus beside it sits on the grid */

.co-field{display:flex;flex-direction:column;gap:10px;min-width:0}
.co-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.co-field input,
.co-field select{
  width:100%;
  height:var(--ctl-h);
  padding:0 calc(var(--word-x) - 1px);   /* + the 1px border: the words at the rows' inset */
  border:1px solid transparent;
  border-radius:var(--ctl-r);
  background:var(--co-field);
  color:var(--ink);
  font:inherit;
  font-size:var(--fs-s);
  transition:border-color 200ms var(--ease);
}
.co-field input:focus{outline:none;border-color:color-mix(in srgb, var(--ink) 35%, transparent)}
.co-field [aria-invalid="true"]{border-color:var(--contact-error)}
/* the card on one row — number, MM/YY, CVC — one pill, the way Stripe's own
   card field is drawn, so it reads as one thing to fill in */
.co-cardrow{
  display:flex;
  border:1px solid transparent;
  border-radius:var(--ctl-r);
  background:var(--co-field);
  transition:border-color 200ms var(--ease);
}
.co-cardrow:focus-within{border-color:color-mix(in srgb, var(--ink) 35%, transparent)}
.co-cardrow:has([aria-invalid="true"]){border-color:var(--contact-error)}
.co-field .co-cardrow input{height:calc(var(--ctl-h) - 2px);border:0;background:transparent;border-radius:0;padding:0 0 0 calc(var(--word-x) - 1px)}   /* the row carries the 1px border — 2px less inside it, so the row is the field height like every field (it was 2px taller) */
.co-field .co-cardrow input:first-child{flex:1 1 auto;min-width:0}
.co-field .co-cardrow input:not(:first-child){flex:0 0 70px;padding-left:10px}
.co-field .co-cardrow input:last-child{flex-basis:60px;padding-right:calc(var(--word-x) - 1px)}
/* Every checkout field carries its name inside it, in grey (2026-09-15) — a
   name, never sample text. Get in touch keeps its labels above the fields. */
.co-field input::placeholder{color:var(--ink);opacity:.4}
/* drawn for screen readers only */
.co-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.co-x,
.co-pay{
  height:var(--ctl-h);
  padding:0 var(--word-x);
  border:0;
  border-radius:999px;   /* see .co-bycard */
  background-color:var(--contact-pill);
  color:var(--contact-ink);
  font:inherit;
  font-size:var(--fs-s);
  white-space:nowrap;
  cursor:pointer;
  transition:background-color var(--hover) var(--ease);
}
.co-x{margin-top:var(--gap)}
/* From the wallet down, ONE 10px rhythm (Anthony, 2026-09-15): wallet, Pay by
   card, every field, Pay. The flow's own gap is 20, so the two joins pull back
   by the difference — and, closed, the clip still leaves 20 above the shipping
   line. */
.co-bycard{margin-top:var(--gap)}   /* the wallet's place: 40 under the cart, as the wallet was */
.co-clip{margin-top:calc(-1 * var(--gap))}
@media (hover:hover){.co-x:hover,.co-pay:hover{background-color:var(--contact-pill-hover)}}.co-x.is-pressed,.co-pay.is-pressed{background-color:var(--contact-pill-hover)}
.co-pay{align-self:stretch}
.co-note{font-size:var(--fs-s);opacity:.55}
.co-fine.is-error{color:var(--contact-error);opacity:1}
.co-items{display:flex;flex-direction:column;gap:var(--gap)}
/* the country is a list: drawn as a field, with a small chevron where the words end */
.co-select{position:relative}
.co-field select{appearance:none;-webkit-appearance:none;padding-right:40px;cursor:pointer}
.co-select::after{content:'';position:absolute;right:20px;top:50%;width:6px;height:6px;margin-top:-5px;border-right:1px solid var(--ink);border-bottom:1px solid var(--ink);transform:rotate(45deg);opacity:.55;pointer-events:none}
.co-field select:focus{outline:none;border-color:color-mix(in srgb, var(--ink) 35%, transparent)}
.co-note:empty{display:none}

/* display:flex would override the hidden attribute */
.co-flow[hidden]{display:none}
/* the thank-you after a paid order: the prototype's own ending */
.co-done{display:flex;flex-direction:column;align-items:flex-start;gap:var(--gap);font-size:16px}
.co-done .co-dim{font-size:var(--fs-s)}
.co-done .co-pay{align-self:flex-start}

@media (max-width:768px){
  :root{--ctl-h:40px;--ctl-r:20px;--chip-h:30px;--chip-r:15px}   /* the thumb's size; see --ctl-h */
  /* A journal story is 13 on a phone too (Anthony's Figma, 2026-09-18; it was
     16), and it keeps the doc's 40 under the headline — the same 40 as the open
     Start a project card and the laptop entry. 20 was tried the same evening and
     read as cramped on the phone. */
  body{overflow:visible}
  /* At least a screen tall. The menu blurs .blurwrap with `filter`, and a filter
     makes an element the frame for the FIXED layers inside it — on a phone that
     is the project page itself. There the page is otherwise 0px tall (the strip
     and footer are hidden), so while the menu was open the project collapsed to
     nothing and popped back when it closed (Anthony, 2026-09-15). svh, not
     lvh or dvh: never taller than the screen with its toolbars showing, so the
     document itself never gains a scroll. */
  .blurwrap{position:static;inset:auto;min-height:100svh}
  .stage{position:static;inset:auto;overflow:visible}
  .track{
    position:relative;
    bottom:auto;
    flex-direction:column;
    align-items:stretch;
    padding:var(--header-h) var(--pad) 80px;
    gap:var(--gap);
  }
  .slide{width:100%;height:auto;flex:0 0 auto}
  /* the header inset and its cancelling transform are both desktop-only */
  .head{
    position:static;width:100%;
    padding-top:0;
    transform:none !important;
    height:auto !important;
    overflow:visible !important;
  }
  .footer{position:static;margin-top:40px}
  .media,.surface-card{width:100%}
  /* 4:5 of the card, rounded down to a whole pixel: 353 wide gave 441.25, and
     every caption and chip below it landed on a quarter pixel (icon pass,
     2026-09-19) */
  .media{height:round(down, calc((100vw - 2 * var(--pad)) * 1.25), 1px);aspect-ratio:auto}
  /* The intro and utility cards fill the same 4:5 box a project cover does,
     so "Start a project" sits at the foot of the card. With a 360px minimum
     inside a 419px box it hung in the middle of it. */
  .surface-card{height:100%}
  .caption{opacity:1}          /* no hover on touch */
  /* EVERY CAPTION SHOWS (2026-09-30, his call, after the handover below was
     tuned twice): on a phone each card keeps its caption and its row, so
     nothing moves under the thumb, every card is named as it passes, and Buy
     is always there. One caption at a time is kept behind ?cap=one (the
     scroll-driven handover) and ?cap=timed, which put `cap-one` on <html>.
     */
  /* ONE CAPTION AT A TIME (Anthony, 2026-09-15; now ?cap=one only). Desktop's closed cards are
     clean — a caption only comes with hover — and a phone has no hover. So the
     card being looked at (the one nearest the middle of the screen, chosen in
     app.js, "one caption at a time") shows its caption, and every other CLOSED
     card gives up its caption and the caption's ROW, so pictures sit 20px
     apart. The row's height and top gap move on the fade's clock. Scrolling
     down, the row closing above the new card lifts it 51px — the way the page
     is already moving, never back against it; the same holds scrolling up.
     An open card always shows its own. Hidden, a caption takes no taps (the
     picture opens the card anyway). Tried against keeping the row (a 71px gap)
     and against captions that came back when scrolling stopped; this felt
     best on his iPhone. */
  /* THE HANDOVER MOVES WITH THE SCROLL (2026-09-30, his note: "quite rough
     when I'm scrolling at a normal pace… slow it down, make it smoother, part
     of the animation of me scrolling"). It ran 380ms on --ease, which leaves
     at full speed: at a steady scroll the new card was thrown up to 6.8px in
     one frame on top of the finger. Now the rows move on --drift over
     --cap-row (720), which starts and ends at rest with a low peak, so the
     lift adds to the scroll's speed gradually instead of kicking it (measured
     at a steady scroll: 95% of frames under 2px of extra movement, was 6); at a normal pace handovers overlap
     and read as one continuous drift. The new caption waits for its room to
     be mostly open before it fades in; the old one still leaves quickly, so
     its words are gone before its row has really begun to close. */
  .slide{--cap-row:720ms}
  html.cap-one .slide:not(.is-open):not(.is-closing):not(.cap-on) .caption{
    opacity:0;
    pointer-events:none;
    height:0;
    margin-top:0;
    transition:opacity 180ms var(--ease),height var(--cap-row) var(--drift),margin-top var(--cap-row) var(--drift);
  }
  html.cap-one .slide.cap-on:not(.is-open) .caption{
    opacity:1;
    transition:opacity 360ms var(--ease) calc(var(--cap-row) * .45),height var(--cap-row) var(--drift),margin-top var(--cap-row) var(--drift);
  }
  .slide.is-open .caption,
  .slide.is-closing .caption{
    transition:opacity 320ms var(--ease) 200ms,height 380ms var(--ease),margin-top 380ms var(--ease);
  }
  /* A card closing away from the look point gives up its caption row WITH the
     fold, on the fold's clock — it used to fold, stop, and then lose the row:
     two shifts for one tap (2026-09-26). */
  html.cap-one .slide.is-closing:not(.cap-on) .caption{
    opacity:0;
    pointer-events:none;
    height:0;
    margin-top:0;
    transition:opacity 180ms var(--ease),height 520ms var(--ease),margin-top 520ms var(--ease);
  }

  /* A LIST WITH AN END. Desktop builds three copies of the set so the strip
     can wrap; stacked showed all three one after another, so the page ran the
     35 projects three times over and then stopped anyway. One pass, then the
     footer. A vertical feed that repeats reads as a mistake, not a loop. */
  .slide.is-wrap-copy{display:none}

  /* The intro card has no caption until its brief is open, so it keeps no
     caption ROW either — the empty 51px under it made the gap to the first
     project three times the 20px between every other card. */
  .slide.is-brief:not(.is-open) .caption{display:none}

  /* A SHORTER INTRO CARD ON A PHONE (2026-09-14). At the cover's full 4:5 (419px)
     it filled the first screen with an almost empty grey card and the work only
     began at its bottom edge; sized to its words alone (~185px) it lost the
     weight the first copy on the site should have. 370px sits between.
     2026-10-05: 300 (his okay after a phone review — the first screen showed
     almost no work). Still a full card with the button at its foot, ~120px of
     air over it; the first project comes 70px further into the first screen.
     Every text card follows it, as below. */
  .slide.is-brief .reel{height:auto}
  .slide.is-brief .reel .media{aspect-ratio:auto;height:auto}
  /* ~double the content height (Anthony: the first copy anyone reads should
     feel big), button at the foot, and it still grows if the copy does */
  .slide.is-brief .surface-card{height:auto;min-height:300px;gap:var(--syn-gap)}
  /* EVERY text card is the intro's size on a phone (Anthony, 2026-09-15): About,
     Services and Shop were only as tall as their words, ~150px, beside a 370px
     intro (300 since 2026-10-05). Desktop already draws them all 400x500. */
  .slide:not(.is-brief) > .surface-card{height:auto;min-height:300px;gap:var(--syn-gap)}
  .arrows{display:none}

  /* The menu runs to the foot of the screen with the same 20px it keeps at the
     sides — the 70px it shared with desktop's footer left it short. */
  .panel{left:var(--pad);width:auto;bottom:var(--pad)}

  /* THE HEADER STAYS. The page scrolls on stacked, and the absolute header went
     with it, taking the wordmark and the plus away. Its two parts are fixed
     INDIVIDUALLY rather than the header itself: a fixed header would be a
     stacking context of its own, and the wordmark, blended then, would blend
     with the header's empty box instead of the page — white on white. Its ink
     is measured now, but the two parts stay separate: the plus is pinned to the
     top of the header and the wordmark is centred on its line. */
  /* CENTRED WITH `top`, NOT A TRANSFORM: this element is the blended one and
     must never carry a transform (see .wordmark). The text box is 20px tall,
     the same arithmetic the desktop header's `align-items:center` does. */
  .header .wordmark{position:fixed;left:var(--pad);top:calc((var(--header-h) - 20px) / 2)}
  .header .head-actions{position:fixed;right:var(--pad);top:var(--pad)}
  /* THE WORDMARK TAP WAS DEAD AT ITS RIGHT END (2026-09-15). Hidden header
     controls keep their width, parked at the row's left (see "Hidden header
     controls are sent to the far left"), and on a phone that empty space lies
     over the wordmark — up to 41px of it once a long project name had sized
     the index pill, on every page, until a reload. So the row itself takes no
     taps. Every view-scoped control already states its own pointer-events
     (auto shown, none hidden); the plus is the one that inherits. */
  .header .head-actions{pointer-events:none}
  .header #menuBtn{pointer-events:auto}
  /* and a thumb-sized target: the text is 20px tall in a 70px header. ON THE
     SPAN, so it travels with the words during a checkout visit — the wordmark
     itself never moves (see .wordmark). */
  .header .wordmark .wm-t::after{content:"";position:absolute;inset:-12px -10px -12px -20px}
  /* A THUMB, NOT A CURSOR (Anthony, 2026-09-17). Every row of the menu is 30px
     on a laptop, which is the height of the site's chips and reads right beside
     a pointer; under a thumb it is slim. On a phone the whole menu steps up to
     40 — the height the form's fields already use there, so the panel stays one
     rhythm — and the two links at the foot keep their size but get a tap area
     around them, the same trick the wordmark uses. */
  .panel .pill,
  .panel .contact-head,
  .panel .send,
  /* and Send wherever else the form appears. This rule was written when the
     menu was the only place, so the Start a project panel's Send stayed 30px on
     a phone — under a thumb, and a different size from the four fields above it
     (found by the 2026-09-18 review). */
  .jr-form .send,
  .head-contact .send{height:40px;align-self:stretch}
  /* SEND IS FULL WIDTH ON A PHONE (Anthony, 2026-09-19): the one tap the form
     exists for, as wide as the fields above it and an easy target for a thumb
     — Read more and Pay already are. On a laptop it stays sized to its word.
     The card buttons (Start a project, Read more on a message card) follow:
     40 tall like every other phone control, and full width. */
  .surface-card .btn{align-self:stretch;height:40px;border-radius:20px}
  /* full width here, so their words start at 20 (see "A full-width button") */
  .jr-form .send,
  .head-contact .send,
  .surface-card .btn,
  .synopsis .btn{justify-content:flex-start;justify-items:start;padding:0 var(--word-x)}
  /* half of 40: the pill stays a true pill, and the card keeps its corner */
  .panel .contact{border-radius:20px}
  .panel .pill{border-radius:20px}
  .panel .send,
  .jr-form .send,
  .head-contact .send{border-radius:20px}
  .panel-foot a{position:relative}
  .panel-foot a::after{content:"";position:absolute;inset:-10px -8px}   /* 20 apart now: -10 each way meets, never overlaps */
  /* THE PHONE MENU'S SMALL PRINT (2026-09-24, his note: "a lot of small text
     on the bottom of the menu"). It was five lines on four different gaps
     (Instagram · Linkedin, the clock, Settings, the two legal links, Play).
     Now it is one block of two columns, row for row, 20 apart: Settings,
     Privacy & Access, Terms & Shipping, Play on the left; Instagram, Linkedin
     and the studio clock on the right. The settings fold opens above it,
     across both columns. */
  .panel-small{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));column-gap:20px;row-gap:20px;align-items:start}
  .panel-side{order:-1}                /* Instagram and Linkedin on the LEFT, the small print on the right (his note) */
  .panel-side{display:flex;flex-direction:column;align-items:flex-start;gap:20px;font-size:var(--fs-s);color:var(--ink)}
  .panel-side a{position:relative;opacity:.55;transition:opacity 200ms var(--ease)}
  .panel-side a::after{content:"";position:absolute;inset:-10px -8px}
  /* the studio's line (2026-10-05): across both columns, above them — the
     status at full ink like the laptop's footer, the address dimmed like the
     links; 20 apart and 20 to the columns below, the same step as Instagram to
     Linkedin (his note: one spacing for all four lines) */
  .panel-status{display:flex;flex-direction:column;align-items:flex-start;gap:20px;grid-column:1 / -1;order:-2;font-size:var(--fs-s);color:var(--ink)}
  .panel-status a{position:relative;opacity:.55;transition:opacity 200ms var(--ease)}
  .panel-status a::after{content:"";position:absolute;inset:-10px -8px}
  .panel-status a.is-pressed{opacity:.33}
  .foot-play{position:relative}
  .foot-play::after{content:"";position:absolute;inset:-10px -8px}
  /* the phone's footer sits at the far end of the feed; its clock is in the menu */
  .footer .studio-clock{display:none}

  /* TAP AREAS, NOTHING DRAWN (2026-09-19 review). The header's round buttons
     are 30px and Feed · Index's options 24 — the most-pressed controls on a
     phone, under Apple's 44. Each gets an invisible 44px target around it,
     the wordmark's trick; neighbours are far enough apart that no two
     overlap. The steppers have no backdrop-filter, so the buttons need
     position:relative to hold their own ::after (.jr-x is already absolute). */
  .icon-btn:not(.jr-x){position:relative}
  .icon-btn::after{content:"";position:absolute;inset:-7px}
  /* the header's switches only: the menu's two settings rows are 50 apart and
     already 34 tall, and grown they would overlap */
  .view-seg .seg-opt::after{content:"";position:absolute;inset:-10px 0}
  /* WHERE A BUTTON TICKS, THE SWITCH IS THE TAP AREA (2026-09-19). The ::after
     above paints over the invisible haptic switch (both absolute, the pseudo
     after it), so every tap landed on the pseudo, the click still reached the
     button, and the switch never flipped — no tick on any of them since the
     tap areas went in (Anthony: "I don't feel anything resembling haptic
     feedback"). The switch takes the pseudo's size instead and the pseudo
     stands down. Sized, not inset: an input's auto width is its own. */
  .icon-btn:has(> .haptic-hit)::after,
  .view-seg .seg-opt:has(> .haptic-hit)::after{content:none}
  .icon-btn > .haptic-hit{top:-7px;left:-7px;width:calc(100% + 14px);height:calc(100% + 14px)}
  .view-seg .seg-opt > .haptic-hit{top:-10px;height:calc(100% + 20px)}
  .buy{position:relative}
  .buy::after{content:"";position:absolute;inset:-7px -4px}
  /* Download Press Kit is 9px tall; its ::after is the drawn underline */
  .press::before{content:"";position:absolute;inset:-14px -10px}
  .jr-alt a{position:relative}
  .jr-alt a::after{content:"";position:absolute;inset:-14px -8px}
  /* LISTS OF LINKS GET ROOM BETWEEN THEM. About's email / Instagram / Linkedin
     sat 16px apart and the press rows 10 — a thumb could not pick one. On a
     phone the link lines are 30 apart and the press rows 20, and every link
     gets a target that fills the space to its neighbours without overlapping. */
  .about-lines:has(a){line-height:30px}
  .about-lines a{position:relative}
  .about-lines a::after{content:"";position:absolute;inset:-10px -8px}
  .press-list{gap:20px}
  .press-row a{position:relative}
  .press-row a::after{content:"";position:absolute;inset:-10px -6px}

  /* Stacked is the mirror of desktop: tapping a card expands it SIDEWAYS.
     Figma Mobile_Home_Project Expanded (437:1623) — the cover keeps its place
     and the rest of the images run off to the right at the same height, 20px
     apart, with the synopsis stacked underneath. */
  .reel{
    /* A definite height, or `height:100%` on the images resolves against an
       indefinite one and they fall back to their intrinsic size — which then
       drives the row height instead of the other way round. It is the cover's
       own box: the card width at the 4:5 the closed card already uses. */
    --reel-h:round(down, calc((100vw - 2 * var(--pad)) * 1.25), 1px);
    height:var(--reel-h);
    display:flex;
    flex-direction:row;
    align-items:stretch;
    gap:10px;                 /* pictures 10 apart, as on the laptop (2026-10-28) */
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    overscroll-behavior-x:contain;
    /* bleed past the card so images pass under both screen edges as they
       scroll, rather than stopping at the 20px margin */
    margin-inline:calc(-1 * var(--pad));
    padding-inline:var(--pad);
    /* FREE-FLOWING, no snap. Many images are far wider than the screen, so
       one-image-per-swipe took several swipes to cross a single picture
       (Anthony, 2026-09-14). */
    scroll-snap-type:none;
    /* without this the snapport is the border box, so snapping pulls the cover
       out to the screen edge and eats the 20px margin it should keep at rest */
    scroll-padding-inline:var(--pad);
    /* sideways swipes are driven by skimReel, faster than iOS carries them;
       the browser keeps vertical scrolling and pinch */
    touch-action:pan-y pinch-zoom;
  }
  .reel::-webkit-scrollbar{display:none}
  /* the stretch past either end of the row (skimReel's band) */
  .reel > *{translate:var(--band-x, 0px) 0}
  /* a long press while swiping the row must not stop it with iOS's
     save-image sheet */
  .reel img,
  .reel video{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
  .reel .media{
    flex:0 0 auto;
    width:calc(100vw - 2 * var(--pad));
    height:100%;
    aspect-ratio:auto;        /* width + height are both set; drop the ratio */
  }
  .shots{
    flex-direction:row;
    flex:0 0 auto;
    height:100%;
    margin-top:0;
    gap:10px;
  }
  /* NO FADE ON THE ROW (2026-09-26, measured on the simulated iPhone). The
     pictures after the cover used to fade in (and out on close); fading the
     whole ~4,000px row made the phone draw it as one enormous layer — an
     80–90ms frame at the start of every open and every close — for a fade that
     was barely seen: at rest the next picture starts just past the screen's
     edge, and on close they are sliding away. They now simply slide in and out
     with the row. (The laptop's column keeps its case-in: it is 400px wide.) */
  .slide.is-open .shots,
  .slide.is-closing .shots{animation:none}
  /* The synopsis only fades here too (2026-09-26): its box unfolds DOWNWARD
     (foldCase), and the laptop's 16px rise made the words climb against the
     drawer opening under them — and fall as it closed. */
  .slide.is-open .case{animation:reel-in 420ms var(--ease) 160ms backwards}
  .slide.is-closing .case{animation:reel-out 260ms var(--ease) forwards}
  .shots img,
  .shots video,
  .shots canvas{
    width:auto;
    height:100%;
    flex:0 0 auto;
  }

  /* Figma puts Read more full width at the foot of the synopsis */
  /* stacked keeps it full width — Figma 437:1729, where it is a touch target */
  .synopsis .btn{align-self:stretch;width:100%;height:40px;border-radius:20px}   /* half of 40: a pill (it kept .btn's 15) */

  /* THE PROJECT PAGE ON A PHONE (2026-09-14): one column, the copy FIRST and the
     images under it, and the same endless stream as desktop. So `.project` is
     the scroller here too, fixed over the screen, rather than the page — every
     piece of the stream (the seam barrier, the peek, the frontier, the owner
     read off scrollTop) is built on the scroller genuinely ending at the seam. */
  /* A phone screen is short: five gutters of empty space under the last image
     read as the page having ended. The down arrow marks the end, so the seam
     is one gutter: 10px to the arrow, the arrow, 20px — 60px of white under
     the last image, down from 90 (Anthony, 2026-09-15). The seam is both the
     column's bottom padding and the gap to the next project, so the peek and
     the project that replaces it still line up when the pull crosses. */
  .project{position:fixed;--seam:20px}
  /* the stream never ends, so the page has no foot to show under it */
  body.project-open .footer{display:none}
  /* The feed fades out under the arriving page and only then leaves the
     layout (allow-discrete holds display:none until the fade is done; without
     it, it goes at once as before) — it used to vanish on the tap, leaving
     180ms of bare ground before anything arrived (2026-09-26). */
  body.project-open .stage{display:none;transition:opacity var(--fade) var(--fade-ease),visibility 0s linear var(--fade),display 0s linear var(--fade);transition-behavior:allow-discrete}
  /* On a phone the copy is on TOP, so it arrives first and the pictures under
     it follow — top to bottom, the order it is read in (the laptop's
     image-then-word suits its side-by-side page, not a stacked one). */
  body.project-open .proj-scroll{transition:opacity var(--fade) var(--fade-ease) var(--fade-gap)}
  body.project-open .part-copy{transition:opacity var(--fade) var(--fade-ease) var(--fade-gap)}
  .part-shots{opacity:0;transition:opacity var(--fade) var(--fade-ease)}
  body.project-open .part-shots{opacity:1;transition:opacity var(--fade) var(--fade-ease) calc(var(--fade-gap) + 120ms)}
  .proj-scroll{padding-top:var(--header-h)}
  .proj-part{display:block}
  .part-copy{
    position:static;
    padding-top:0;
    margin:0 0 var(--syn-gap);
    transform:none;           /* the band cancel is for desktop's sticky copy */
  }
  .part-shots{gap:10px}   /* 10, as on the laptop (2026-10-28) */
  .proj-scroll > .proj-part:first-child .part-shots{padding-top:0}   /* copy comes first here */
  .proj-next{display:flex;margin:var(--gap) 0 0 auto}   /* the images' own 20px */
  /* Only the project at the end of the stream offers "next". Once the next one
     has loaded under it the arrow fades out, keeping its room so nothing below
     moves; it comes back if the stream is trimmed back to this project. */
  .proj-next{transition:opacity 260ms var(--ease),background-color var(--hover) var(--ease)}
  .proj-part.is-continued .proj-next{opacity:0;visibility:hidden;pointer-events:none;
    transition:opacity 260ms var(--ease),visibility 0s linear 260ms}
  /* the peek stacks the way the page does: the name, then the cover */
  .proj-peek{flex-direction:column}
  .peek-copy,
  .peek-media{flex:none}

  /* About, stacked: the same document, and the page scrolls rather than the
     section. Same treatment as the project page, and for the same reason — a
     merely-hidden section would still reserve its padding in the flow here, so
     it has to leave the layout entirely. */
  /* no empty band under the press list — the footer keeps its own 40px */
  .about{
    display:none;
    position:static;
    height:auto;
    padding:0 var(--pad);
    overflow:visible;
  }
  /* On a phone the case is in the page flow, so the room the desktop column
     needs under a story would just be a hole before the next card. */
  .slide.is-journal .case{padding-bottom:0}
  .about-doc{padding-bottom:0}
  body.about-open .about,
  body.doc-open .docpage{display:block}
  /* THE STRIP GOES, IT DOES NOT JUST FADE. On a phone the strip is in the page
     FLOW, so a view laid over it at opacity 0 leaves all 120 cards' height
     underneath — the 404 scrolled for eighteen thousand pixels (Anthony,
     2026-09-17). Every full-page view takes it out of the flow instead. */
  body.about-open .stage,
  body.doc-open .stage,
  body.nf-open .stage{display:none}

  /* Services on a phone: the feed. Each chapter's picture at the card's 4:5,
     the caption row under it, chapters 20 apart as the cards are; the grey
     cards at the feed's 370. */
  .svc-page{
    display:none;
    position:static;
    height:auto;
    padding:0 var(--pad);
    overflow:visible;
  }
  body.services-open .svc-page{display:block}
  body.services-open .stage{display:none}
  .svc-doc{padding-bottom:80px}
  .svc-chapters{gap:var(--gap)}
  .svc-chap-media{aspect-ratio:4 / 5}
  .svc-chap-case{max-width:none}
  .svc-steps{grid-template-columns:minmax(0,1fr);gap:var(--gap)}
  .svc-card{min-height:370px;justify-content:space-between}
  .svc-close{min-height:370px}
  .pc-node{min-height:0}
  .svc-page.is-canvas .svc-doc{padding:0}

  /* Checkout on a phone: one column that scrolls inside what the site uncovers.
     Fields are 16px, or iOS zooms the page on focus. */
  .checkout{left:0;bottom:auto;width:auto;height:var(--co-y, 0px)}
  /* SMOOTHER ON A PHONE (2026-09-15). Here .blurwrap is the whole length of
     the page, so animating its clip repainted all of it on every frame — the
     roughness. On a phone the clip is set once, rounded from the start and cut
     to the screen's height as well, and only translate and scale move, which
     the compositor does alone. The curve is iOS's own sheet curve: quick away,
     long gentle landing. */
  /* Slowly and evenly, both ways, so the move can be seen (Anthony,
     2026-09-15: the sheet curve was over before it registered; a quicker way
     back was tried and he preferred the same intentional pace). */
  :root{--co-t:980ms;--co-ease:cubic-bezier(.65,0,.35,1)}
  html.co-open .co-inner{transition:opacity 480ms var(--ease) 420ms}
  /* THE PAGE BECOMES A SCREEN-SIZED WINDOW for the visit (2026-09-15). On a
     phone .blurwrap is normally the whole length of the page, and moving a
     layer that tall is past what an iPhone will composite — the likely cause
     of the page going black behind the checkout. So it is fixed to the screen
     with its own scroll set to where the page was (openCheckout), and put back
     with the page scrolled to the same place when the visit ends. Only a
     screen-sized layer ever moves.
     Being screen-sized is also what lets its corners ANIMATE here, as they do
     on a laptop: they round in with the slide and straighten on the way back,
     on the same curve (Anthony, 2026-09-15 — set once at the start, they popped
     on before the page had moved). The desktop rules above apply unchanged. */
  html.co-on .blurwrap{position:fixed;inset:0;overflow:hidden}
  /* NO LIVE SCROLLER INSIDE THE MOVING PAGE (2026-09-15, later). On an iPhone
     every scrolling box — the project page itself, an open card's photo row —
     is a native scroll view positioned apart from the page's own layer, and
     inside a layer that is sliding and shrinking it can land a frame out of
     step: the flicker that kept coming back. For the visit they stop being
     scrollers. `hidden` keeps each one's scroll position, so nothing moves;
     the gestures are held anyway (holdScroll). */
  html.co-on .project,
  html.co-on .reel{overflow:hidden}
  /* the footer follows .blurwrap in the page and would now sit at the top of
     it, painted over the site; it is never in the strip left showing anyway */
  html.co-on .footer{visibility:hidden}
  .co-field input{height:40px;font-size:16px;border-radius:20px}
  /* THE CARD ON TWO ROWS ON A PHONE (2026-09-19 review): number across the
     width, then expiry and CVC half each — at 70 and 60px beside it they were
     too narrow to type into with a thumb. Three pills instead of one, each
     with its own focus and error edge; the laptop keeps the single row. */
  .co-cardrow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;border-radius:0;background:none}
  .co-cardrow:focus-within,
  .co-cardrow:has([aria-invalid="true"]){border-color:transparent}
  .co-field .co-cardrow input,
  .co-field .co-cardrow input:not(:first-child),
  .co-field .co-cardrow input:last-child{height:40px;border:1px solid transparent;background:var(--co-field);border-radius:20px;padding:0 calc(var(--word-x) - 1px)}
  .co-field .co-cardrow input:first-child{grid-column:1 / -1}
  .co-field .co-cardrow input:focus{border-color:color-mix(in srgb, var(--ink) 35%, transparent)}
  .co-field .co-cardrow [aria-invalid="true"]{border-color:var(--contact-error)}
  .co-x,.co-pay,.co-bycard{height:40px}
  .co-pay{align-self:stretch}

  /* 16px over 353px is a long enough measure already; the paragraphs keep
     their blank line but the gap closes with the shorter leading. */
  .about-intro{gap:30px}   /* on the 10/20/30/40 scale, like every paragraph gap (was 22) */

  /* The rows keep their three runs side by side here too — dropping the
     project onto its own line put it flush left under the YEAR, where it read
     as a fourth column rather than as part of its row. Instead the publication
     is allowed to wrap inside its own run, which only the one very long 2023
     credit actually needs. min-width:0 is what lets a flex item wrap at all. */
  /* A press row that is too long for the phone WRAPS LIKE A LINE OF TEXT, with
     a hanging indent so the continuation sits under the publication, not under
     the year. As flex items the wrapped publication kept its full width, which
     left a wide empty gap before the project name, and its underline broke
     over two ragged lines. The row itself carries the cap trim now, since
     inline runs have no line box of their own to trim. */
  .press-row{
    display:block;
    white-space:normal;
    text-box:trim-both cap alphabetic;
    --year-w:calc(4ch + 10px);
    padding-left:var(--year-w);
    text-indent:calc(-1 * var(--year-w));
  }
  .press-row > *{display:inline;margin-right:10px}
  .press-row > :last-child{margin-right:0}
  .press-row .pr-year{font-variant-numeric:tabular-nums}

  /* Get in touch does not fit a phone header beside About · Services: it is
     one tap away in the menu, where the form lives on a phone anyway. */
  .head-contact,
  .idx-desc{display:none}
  /* Back shows on a phone's project page too (2026-09-19) — it is the only way
     out now that the X beside the title is gone. Not on About, Services or the
     legal pages, where the header switch needs the room and the + menu is
     one tap away. */
  .head-back{display:none}
  body.project-open .head-back{display:flex}
  /* The mini index fits the phone header on the project page, where the switch
     is not shown: the wordmark, the longest name (~150) and the plus come to
     ~330 of 335 on a 375 screen. Its rows are 13px names, far too small to hit
     with a thumb, so the open list spaces them out and each name's touch area
     reaches halfway to its neighbours. Offsets are measured, so a bigger gap
     costs the closed window nothing. */
  .proj-index .idx-list{gap:26px}
  .idx-item{position:relative}
  .idx-item::after{content:'';position:absolute;left:-20px;right:-20px;top:-13px;bottom:-13px}
  /* Carousel · Index fits between the wordmark and the plus: ~115 + 146 + 30
     plus gaps is ~311 of 335 on a 375 phone. Slightly tighter options buy
     room for 360-wide screens. */
  .seg-opt{padding:0 12px}

  /* THE INDEX ON A PHONE (2026-09-14): the rows in the page flow, two columns —
     Name and Type. Service and Year have no room at 335px and are the two a
     phone visitor needs least; sorting by the remaining headings still works.
     No hover, so no preview. */
  .worklist{
    display:none;
    position:relative;
    height:auto;
    padding:0 var(--pad) 80px;
    overflow:visible;
  }
  body.worklist-open .worklist{display:block}
  body.worklist-open .stage{display:none}

  /* THE 4:5 READING BOX IS A LAPTOP'S. A phone's feed card is not 4:5 either —
     it is full width and 370 tall — and a 4:5 box at 380 wide would be 475
     tall in a 760 band, a small card with a lot of nothing around it. So on
     stacked the entry is full width and a share of the band instead.

     AND IT STOPS WELL SHORT OF THE FOOT (Anthony, 2026-09-17): "I would refrain
     from making the card too tall when it extends, just because I want it to be
     very seamless to click out of there... so then you can just keep scrolling
     and see more projects." The full band left barely a strip to press, and
     dismissing it is the commonest thing anyone will do with it. But .78 read
     as short (Anthony, 2026-09-18), so .86: about 100px of feed under the card
     plus the footer's own band on a 393-wide phone, which is still a target you
     can hit without looking. It hangs
     from the header line rather than being centred, so all of that space is in
     one piece at the bottom, where the thumb already is.

     `svh`, not `vh`: never taller than the screen with its toolbars showing,
     the same reason .blurwrap uses it. */
  /* THE BLUR REACHES UNDER SAFARI'S BARS (2026-09-26, his report: "a lot of
     white blank space under the open card"). A fixed layer touching the
     screen's edge makes Safari (iOS 26+) paint its toolbar in the page's plain
     white instead of showing the page under it, so the blurred feed stopped in
     a hard white band above the toolbar. On a phone the blur is part of the page
     instead, placed where you are (--scrim-y, set as it opens — the feed can't
     scroll while an entry is open) and reaching well past both bars, so the
     backdrop runs unbroken to the bottom of the glass. */
  .jr-scrim{position:absolute;inset:auto 0 auto 0;top:calc(var(--scrim-y,0px) - 200px);height:calc(100lvh + 400px)}
  /* ...and nothing fixed touches the bottom edge while an entry is open: the
     panel's full-screen container (transparent, there only to place the card)
     did, and Safari painted its toolbar white for it. On a phone the card is
     placed in pixels from the top, so the container can have no height at all. */
  .jr-panel{bottom:auto;height:0}
  .jr-card{
    top:var(--header-h);
    /* as far down as the screen has, the page's margin above the browser's bar, or
       where the contents stop if that comes first (jrFit). Was 86% of the band
       between the header and the footer lines, which cut Send off on an iPhone 12 mini. */
    height:min(calc(100svh - var(--header-h) - var(--pad)), var(--jr-fit, 100svh));
    left:var(--pad);
    width:calc(100% - var(--pad) * 2);
  }

  /* NOR DOES THE HOLE CLOSE. On stacked the cards are a vertical column at
     100% width, so there is no gutter beside the entry's card to close and
     nowhere sideways for its neighbours to go. The card simply holds its place
     hidden, as it did before any of this. */
  .slide.jr-near{transition:none}
  .slide.jr-near.jr-in-l,
  .slide.jr-near.jr-in-r{transform:none}
  .wl-preview{display:none}
  .wl-head,
  .wl-row{grid-template-columns:repeat(2, minmax(0,1fr))}
  /* A THUMB-SIZED ROW. Desktop's 32px pitch is fine for a pointer and too tight
     for a finger; 18px above and below the 16px line makes each row ~48px, the
     size Android and iOS both ask of a touch target. Rows still touch, so a tap
     never lands between two of them. */
  .wl-row{padding:18px 10px}
  /* no seam of empty space under the last row — that is the stream's, not the
     list's — just the footer's own gap */
  .worklist{padding-bottom:0}
  .worklist .wl-doc{padding-bottom:0}
  .wl-head > :nth-child(n+3),
  .wl-row > :nth-child(n+3){display:none}
  /* touch has no hover, so the 40% dimming would stick to whichever row was
     last tapped */
  .wl-rows:hover .wl-row{opacity:1}

  /* THE CONTACT FORM IS 13px ON A PHONE TOO (Anthony, 2026-09-18), like the
     laptop. It was 16 because iOS zooms the page in when a field under 16px
     takes focus; that is now stopped by maximum-scale=1 on iOS only (the inline
     script in index.html), which still lets people pinch. Everything else
     that types on a phone — the checkout's fields, the old brief — stays 16:
     they were not part of this ask. */
  .brief-field input,
  .brief-field textarea{font-size:16px}
  /* the phone's 40px box is for the thumb, not the type — it stays */
  .field input,
  .field select{height:40px;border-radius:20px}

  /* THE GAP IS SET BY THE THUMB, NOT BY THE LAPTOP (2026-09-18: "on mobile,
     keep it in line with best practice"). The guidance that matters here is
     about PITCH, not field height: Apple asks for 44pt targets and Material for
     48dp, and what actually causes a mis-tap between stacked fields is a thumb
     landing on the line between them. 40px fields 12px apart give a 52px pitch
     — above both — while keeping the 40px the whole menu is built on (every
     pill, switch and Send is 40 on a phone, so the panel reads as one rhythm;
     raising only the fields to 44 would break that for no gain in accuracy,
     since they are also the full width of the screen). Full width × 40 is far
     past WCAG 2.2's 24px minimum. Tighter than the old 20 as he wanted, and no
     tighter than a thumb allows. */
  .contact-fields{gap:12px}

}

/* REDUCED MOTION is the visitor's own system setting, not a site setting.
   Delays go to zero with the durations (2026-09-26): with only the durations
   gone, every staged reveal became a pause and then a pop — an open journal
   entry sat as an empty frosted box for 880ms before its words appeared.
   Pseudo-elements are included; the scripted motion checks reducedMotion(). */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-delay:0s !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    transition-delay:0s !important;
  }
}
