/* ============================================================
   site.css : the shared shell for every razielagency.com page.
   Loaded LAST on every page (after the page's own styles), so one edit here
   moves the whole site. It holds what must not drift between pages: buttons,
   the type floor and scale, section rhythm, cards, the closing call, the
   footer menu and the phone menu. Page files keep their own components.
   Reads tokens only (../tokens/raziel-dark.css). Added 23/11/2026 after the
   design pass found three separate style homes drifting apart.
   ============================================================ */

/* ---------- buttons: one spec ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  padding:11px 22px;border-radius:var(--r-pill);font-size:.9375rem;font-weight:500;line-height:1.2;
  text-decoration:none;
}
.btn-primary,.nav-links a.btn-primary,.mnav-sheet a.btn-primary{background:var(--acc-ui);color:var(--bg-0)}
.btn-primary:hover,.nav-links a.btn-primary:hover{color:var(--bg-0)}
.light .btn-primary{background:var(--lt-ink);color:var(--lt-surface)}
.btn-ghost{color:var(--ink-hi)}

/* ---------- header ---------- */
.nav{flex-wrap:nowrap}
.nav-links{margin-left:auto;flex-wrap:nowrap;gap:var(--sp-5)}
.nav-links a{font-size:var(--text-sm);white-space:nowrap}
.nav-links a.btn{font-size:.9375rem}
/* the tagline gives way before the links wrap */
@media (max-width:1280px){.brand-tag{display:none}}
.nav-links a:not(.btn){color:var(--ink-body)}
.nav-links a:not(.btn):hover,.nav-links a[aria-current="page"]{color:var(--ink-hi)}

/* The phone and tablet menu button. A native <details>, so it works with no script. Hidden on desktop.
   The sheet it opens is the header's one <nav> (see "nav: the same entries on every page" below). */
.mnav{display:none;order:3}
.mnav summary{
  list-style:none;cursor:pointer;height:44px;min-width:44px;display:inline-flex;align-items:center;
  justify-content:center;gap:var(--sp-2);padding:0 var(--sp-4);border:1px solid var(--line-2);
  border-radius:var(--r-pill);color:var(--ink-hi);font-size:.9375rem;font-weight:500;
}
.mnav summary::-webkit-details-marker{display:none}
.mnav-ico{display:block;width:16px;height:8px;border-top:2px solid currentColor;border-bottom:2px solid currentColor}

/* ---------- type: one hero size, one floor ---------- */
main .hero .h1:not(.h1-guide){font-size:clamp(2rem,1.4rem + 2.6vw,3.75rem);line-height:var(--leading-display)}
.hero-wide .h1{max-width:none}

/* Anything a buyer reads as prose is body size. 14px is for sources, form
   hints and the footer only. */
.seg-l li,.fit-c .seg-l li,.ticks li,.fit-c .ticks li,.terms dd,.steps p,.rel span,
.route-t,.surf-c p,.step p,.faq-a,.tool p{font-size:var(--text-body);line-height:var(--leading-body)}
.shot-cap,.hero-shot figcaption,.shot figcaption,.row-pic figcaption,.stage-cap,.hero-note,
.route-go,.route-proof,.surf-note,.tools-note,.tbl,.textlink,.bhandoff-note{font-size:1rem}
.route-t,.surf-c p,.hero-note,.shot-cap,.row-pic figcaption,.route-proof,.surf-note,.tools-note,.rel span{color:var(--ink-body)}
.light .steps p,.light .seg-l li,.light .ticks li{color:var(--lt-ink-body)}
.lede{font-size:var(--text-lead)}
/* the step between a section heading and a card title */
.row .h3{font-size:clamp(1.5rem,1.2rem + 1.1vw,2.25rem);line-height:var(--leading-head);letter-spacing:var(--tracking-h2)}

/* ---------- section rhythm ---------- */
.sect{padding-block:var(--sp-24)}
@media (max-width:860px){.sect{padding-block:var(--sp-16)}}

/* Section numbers are gone site-wide (23/11/2026): the heading does the work. */
.marker{display:none}
.eyebrow .dot{display:none}

/* ---------- cards: one radius, no tier stripes ---------- */
.fit-c,.step,.rel,.route,.surf-c,.post-list li,.tbl-wrap{border-radius:var(--r-lg)}
.fit-yes,.fit-maybe,.fit-no{box-shadow:none}
.proof{border-left:0;padding-left:0}
.quote{border-left-color:var(--acc-hairline)}
/* step numerals: ink, small. Amber is for the mark and large metal on dark. */
.steps li::before{font-family:var(--font-sans);font-size:var(--text-eyebrow);font-weight:500;letter-spacing:var(--tracking-eyebrow);color:var(--lt-ink)}

/* ---------- the closing call: the last screen is not the smallest ---------- */
.cta{border-top:1px solid var(--line-1);padding-block:var(--sp-24)}
.cta-in{display:grid;grid-template-columns:1fr;justify-items:start;gap:var(--sp-8)}
.cta .h3{
  font-size:clamp(1.75rem,1.3rem + 1.7vw,2.75rem);line-height:var(--leading-head);
  letter-spacing:var(--tracking-h2);max-width:26ch;margin:0 0 var(--sp-4);
}
.cta .body{font-size:var(--text-lead);color:var(--ink-body);max-width:var(--measure-lead)}
.cta .btn{min-height:52px;padding:14px 28px;font-size:1.0625rem}
@media (max-width:860px){.cta{padding-block:var(--sp-16)}}
@media (max-width:480px){.cta .h3{font-size:1.5rem}}

/* ---------- product stills: one frame, readable crops ---------- */
.frame{margin:0;border:1px solid var(--line-1);border-radius:var(--r-lg);background:var(--bg-1);overflow:hidden}
.frame img{display:block;width:100%;height:auto}
.frame figcaption{padding:var(--sp-4) var(--sp-6);border-top:1px solid var(--line-1);font-size:1rem;color:var(--ink-body)}
.frame figcaption b{color:var(--ink-hi);font-weight:500}
/* a two-column hero: copy left, one still right */
.hero-2{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);gap:var(--sp-12);align-items:center}
.hero-2 > *{min-width:0}
.hero-2 .h1{max-width:none}
.hero-2 .hero-cta .hero-note{flex:1 1 16rem}
@media (max-width:960px){.hero-2{grid-template-columns:1fr;gap:var(--sp-10)}}

/* ---------- forms ---------- */
.field input,.field textarea{min-height:48px;border:1px solid var(--line-2);background:var(--bg-2)}
.cin input{min-height:44px}

/* ---------- footer: one menu on every page ---------- */
.foot-nav{grid-template-columns:repeat(3,1fr)}
.foot-col a{font-size:.9375rem}
@media (max-width:640px){
  .foot-nav{grid-template-columns:1fr 1fr}
  .foot-col ul{gap:0}
  .foot-col a{display:inline-flex;align-items:center;min-height:44px}
}

/* ---------- blog index and 404: use the page, not one narrow column ---------- */
.post.post-wide{max-width:none}
.post-wide .post-list{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:760px){.post-wide .post-list{grid-template-columns:1fr}}

/* ---------- phone ---------- */
@media (max-width:767px){
  .ind-tab,.ind-pause{min-height:44px}
  .ind-go,.textlink{display:inline-flex;align-items:center;min-height:44px}
  input[type="text"],input[type="number"],input[type="email"],input[type="tel"]{min-height:44px}
  /* two-column tables read as stacked rows; wide comparison tables keep their scroll */
  .tbl:not(.tbl-wide):not(.tbl-3){min-width:0}
  .tbl:not(.tbl-wide):not(.tbl-3) thead{display:none}
  .tbl:not(.tbl-wide):not(.tbl-3) tr{display:block;padding:var(--sp-3) 0;border-bottom:1px solid var(--line-1)}
  .tbl:not(.tbl-wide):not(.tbl-3) tr:last-child{border-bottom:0}
  .tbl:not(.tbl-wide):not(.tbl-3) td{display:block;border:0;padding:2px var(--sp-4)}
}

/* ============================================================
   DESIGN LANE, 23/11/2026 (phase 3). Layout, framing and motion only.
   ============================================================ */

/* read by a screen reader, not shown: keeps a sentence whole when its
   figures are lifted out into large numerals */
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ---------- item 15: the facilities hero is the same two-column hero as the
   other sector pages. Copy in one column, the three views stacked beside it
   (office on top, engineer and client under), nothing overlapping. ---------- */
.hero-fm{align-items:start}
/* this headline is half as long again as the other sector headlines, so it steps down one size to hold four lines */
main .hero .hero-fm .h1:not(.h1-guide){font-size:clamp(2rem,1.3rem + 2.1vw,3rem);margin-bottom:var(--sp-6)}
.hero-fm .lede{margin-bottom:var(--sp-4)}
.hero-fm .cta-row{margin-top:var(--sp-6)}
.hero-fm .stage{grid-template-columns:.62fr 1.13fr;gap:var(--sp-5) var(--sp-4);margin-top:0}
.hero-fm .stage .view:first-child{grid-column:1 / -1}
.hero-fm .stage-cap{margin-top:var(--sp-4)}
@media (max-width:960px){.hero-fm .stage{margin-top:var(--sp-4)}}

/* ---------- item 16: the left column of a split carries a pull line at the
   36px step, so it is not one small sentence in an empty half ---------- */
.split-pull > div:first-child > .lede{
  font-family:var(--font-display);font-weight:600;color:var(--ink-hi);
  font-size:clamp(1.5rem,1.2rem + 1.1vw,2.25rem);line-height:var(--leading-head);
  letter-spacing:var(--tracking-h2);max-width:17ch;margin:0;
}
.light .split-pull > div:first-child > .lede{color:var(--lt-ink)}
.split-pull .body{font-size:var(--text-body);line-height:var(--leading-body)}
/* large figures lifted out of their sentence, each over its own words */
.figs{display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-8);margin:var(--sp-6) 0 var(--sp-5)}
.fig{display:block}
.fig b{
  display:block;font-family:var(--font-display);font-weight:600;color:var(--ink-hi);
  font-size:clamp(3rem,2rem + 3.2vw,4.5rem);line-height:1;letter-spacing:-0.03em;
  font-variant-numeric:tabular-nums;
}
.fig > span{display:block;margin-top:var(--sp-4);padding-top:var(--sp-3);border-top:1px solid var(--line-2);color:var(--ink-body)}
@media (max-width:480px){.figs{gap:var(--sp-5)}}

/* ---------- item 25: a table wider than the phone fades at the edge it
   runs off, with an arrow until the reader has moved it (assets/setpiece.js
   sets the classes; with no script the table scrolls as before) ---------- */
.tbl-shell{position:relative}
.tbl-shell > .tbl-wrap.more-right{
  -webkit-mask-image:linear-gradient(to right,#000 calc(100% - 56px),transparent);
          mask-image:linear-gradient(to right,#000 calc(100% - 56px),transparent);
}
.tbl-shell > .tbl-wrap.more-left{
  -webkit-mask-image:linear-gradient(to left,#000 calc(100% - 56px),transparent);
          mask-image:linear-gradient(to left,#000 calc(100% - 56px),transparent);
}
.tbl-shell > .tbl-wrap.more-left.more-right{
  -webkit-mask-image:linear-gradient(to right,transparent,#000 56px,#000 calc(100% - 56px),transparent);
          mask-image:linear-gradient(to right,transparent,#000 56px,#000 calc(100% - 56px),transparent);
}
.tbl-cue{
  position:absolute;right:var(--sp-3);top:-18px;z-index:2;width:36px;height:36px;border-radius:50%;
  display:none;align-items:center;justify-content:center;pointer-events:none;
  background:var(--acc-ui);color:var(--bg-0);font-size:1.125rem;line-height:1;
  transition:opacity var(--t-micro,200ms) ease;
}
.tbl-shell.can-scroll .tbl-cue{display:flex}
.tbl-shell.moved .tbl-cue{opacity:0}

/* ---------- item 18: one scroll set piece per sector page. Each plays once
   when it comes into view. The start states apply only under .sp-js, which
   the script sets when motion is allowed, so with no script or with reduced
   motion the reader gets the finished state. ---------- */
/* facilities: five tools are struck through one by one and resolve into one system */
.sp-js .tools[data-sp] .tool-x{
  color:var(--ink-hi);text-decoration-color:transparent;
  transition:color 420ms ease,text-decoration-color 420ms ease,opacity 420ms ease;
  transition-delay:calc(var(--i,0) * 170ms + 250ms);
}
.sp-js .tools[data-sp] .tool-x:nth-child(2){--i:1}
.sp-js .tools[data-sp] .tool-x:nth-child(3){--i:2}
.sp-js .tools[data-sp] .tool-x:nth-child(4){--i:3}
.sp-js .tools[data-sp] .tool-x:nth-child(5){--i:4}
.sp-js .tools[data-sp].sp-in .tool-x{color:var(--ink-mute);text-decoration-color:currentColor;opacity:.72}
.sp-js .tools[data-sp] .tool-arrow,.sp-js .tools[data-sp] .tool-one{
  opacity:0;transform:translateX(-14px);
  transition:opacity 480ms var(--ease-enter,ease-out),transform 480ms var(--ease-enter,ease-out);
}
.sp-js .tools[data-sp].sp-in .tool-arrow{opacity:1;transform:none;transition-delay:1250ms}
.sp-js .tools[data-sp].sp-in .tool-one{opacity:1;transform:none;transition-delay:1420ms}
.tools[data-sp] .tool-x,.tools[data-sp] .tool-one{font-size:1rem}

/* dispatch: the job's path from first message to paid, lit a step at a time down a rail */
.seg-l[data-sp="rail"]::before,.seg-l[data-sp="rail"]::after{
  content:"";position:absolute;left:3px;top:1em;bottom:1em;width:1px;background:var(--line-2);
}
.seg-l[data-sp="rail"]{position:relative}
.seg-l[data-sp="rail"]::after{background:var(--acc-small);transform-origin:top}
.seg-l[data-sp="rail"] li::before{z-index:1}
.sp-js .seg-l[data-sp="rail"]::after{transform:scaleY(0);transition:transform 2000ms linear 200ms}
.sp-js .seg-l[data-sp="rail"].sp-in::after{transform:scaleY(1)}
.sp-js .seg-l[data-sp="rail"] li{opacity:.38;transition:opacity 500ms ease;transition-delay:calc(var(--i,0) * 440ms + 200ms)}
.sp-js .seg-l[data-sp="rail"] li::before{background:var(--line-2);transition:background-color 300ms ease;transition-delay:inherit}
.sp-js .seg-l[data-sp="rail"] li:nth-child(2){--i:1}
.sp-js .seg-l[data-sp="rail"] li:nth-child(3){--i:2}
.sp-js .seg-l[data-sp="rail"] li:nth-child(4){--i:3}
.sp-js .seg-l[data-sp="rail"] li:nth-child(5){--i:4}
.sp-js .seg-l[data-sp="rail"].sp-in li{opacity:1}
.sp-js .seg-l[data-sp="rail"].sp-in li::before{background:var(--acc-small)}

/* clinics: the patient's screens arrive in turn and the thread fills in from the top */
.sp-js .mocks[data-sp] .mock{opacity:0;transform:translateY(var(--reveal-rise,24px));
  transition:opacity 600ms var(--ease-enter,ease-out),transform 600ms var(--ease-enter,ease-out)}
.sp-js .mocks[data-sp] .mock:nth-child(2){transition-delay:260ms}
.sp-js .mocks[data-sp] .mock:nth-child(3){transition-delay:0ms}
.sp-js .mocks[data-sp] .mock.sp-in,.sp-js .mocks[data-sp].sp-in .mock:not(.mock-wide){opacity:1;transform:none}
.sp-js .mocks[data-sp] .mock:nth-child(2) .mock-img{clip-path:inset(0 0 72% 0)}
.sp-js .mocks[data-sp].sp-in .mock:nth-child(2) .mock-img{animation:sp-thread 2600ms var(--ease-move,ease) 700ms both}
@keyframes sp-thread{
  0%{clip-path:inset(0 0 72% 0)}
  22%,34%{clip-path:inset(0 0 52% 0)}
  56%,68%{clip-path:inset(0 0 28% 0)}
  100%{clip-path:inset(0 0 0 0)}
}

/* ---- phase 4 (23/11/2026), clinic pages: the foot of "What we build", the closing call, the app row ---- */
/* (a) #build: the two wide cards run edge to edge. A list in a wide card sets its points side by side,
   one per column, under the same three columns as the grid above. Built to order ends the section as a bar:
   words on the left, the page's call on the right. */
@media (min-width:901px){
  .fit-wide .seg-l{max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-6);align-items:start}
  .fit-wide .seg-l li{margin:0;max-width:none}
  .fit-order{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-10)}
  .fit-order .fit-k{margin-bottom:var(--sp-2)}
}
.fit-order .btn{flex:none}
@media (max-width:900px){.fit-order .btn{margin-top:var(--sp-6)}}

/* (b) the closing call: the headline holds the left, the line and the button stand on the right, level with its last line */
@media (min-width:861px){
  .cta-in.cta-split{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:end;column-gap:var(--sp-16)}
  .cta-split .h3{margin-bottom:0;max-width:22ch}
  .cta-split .cta-side{display:grid;gap:var(--sp-6);justify-items:start;padding-left:var(--sp-10);border-left:1px solid var(--line-1)}
}

/* (c) #app: the patient's three screens in one row, then the clinic's screen at full width.
   On a phone the three screens become one swipe row, so the section gets shorter, not longer. */
#app .mocks{grid-template-columns:minmax(0,1fr)}
#app .mock-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-8);align-items:end}
#app .mock-wide{max-width:none}
@media (max-width:900px){
  #app .mock-strip{display:flex;gap:var(--sp-4);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
    margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter);scroll-padding-inline:var(--gutter)}
  #app .mock-strip::-webkit-scrollbar{display:none}
  #app .mock-strip .mock:not(.mock-wide){flex:0 0 min(78vw,320px);max-width:none;scroll-snap-align:start}
}
@media (max-width:640px){
  #app .mock-strip{margin-inline:calc(var(--gutter-mobile) * -1);padding-inline:var(--gutter-mobile);scroll-padding-inline:var(--gutter-mobile)}
}
/* the set piece, re-aimed: the screens arrive in turn, the thread (second in the row) fills in from the top,
   and the clinic's screen (now the second child of .mocks) is left alone */
.sp-js #app .mocks[data-sp] .mock-strip .mock:nth-child(3){transition-delay:520ms}
.sp-js #app .mocks[data-sp] > .mock-wide{transition-delay:0ms}
.sp-js #app .mocks[data-sp] > .mock-wide .mock-img,.sp-js #app .mocks[data-sp].sp-in > .mock-wide .mock-img{clip-path:none;animation:none}
.sp-js #app .mocks[data-sp] .mock-strip .mock:nth-child(2) .mock-img{clip-path:inset(0 0 71% 0)}
@keyframes sp-thread{
  0%{clip-path:inset(0 0 71% 0)}
  22%,34%{clip-path:inset(0 0 42% 0)}
  56%,68%{clip-path:inset(0 0 12% 0)}
  100%{clip-path:inset(0 0 0 0)}
}

/* ---- phase 5 (23/11/2026), clinic pages: section heads that use the whole measure. Opt-in, one pattern. ----
   .sec-head wraps a section's marker, H2 and (if it has one) the intro line under it.
   With a .sec-side: the H2 holds the left 7 of 12, the intro stands on the right 5 behind a hairline,
   level with the H2's last line (the same move as .cta-split). Optional .sec-chips under the intro.
   With .sec-solo (no intro, or a one-line intro that stays under it): the H2 runs across the measure and sets in two lines, not three or four.
   Under 901px everything stacks exactly as it does today. */
.sec-head{margin-bottom:var(--sp-10)}
.sec-head .h2{margin-bottom:var(--sp-6)}
.sec-side > *{margin:0}
.sec-side{display:grid;gap:var(--sp-5);justify-items:start}
.sec-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:var(--sp-2)}
.sec-chips li{font-size:.8125rem;font-weight:500;letter-spacing:.02em;line-height:1;color:var(--acc-small);
  border:1px solid var(--line-1);border-radius:999px;padding:9px 14px;white-space:nowrap}
.light .sec-chips li{color:var(--lt-ink);border-color:var(--lt-line)}
@media (min-width:901px){
  .sec-head{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:var(--sp-16);align-items:end}
  .sec-head > .marker{grid-column:1 / -1}
  .sec-head .h2{margin-bottom:0;max-width:none}
  .sec-head.sec-solo > *{grid-column:1 / -1}
  .sec-head.sec-solo .h2{text-wrap:balance}
  .sec-head.sec-solo > .body{margin:var(--sp-5) 0 0}
  .sec-side{padding-left:var(--sp-10);border-left:1px solid var(--line-1)}
  .light .sec-side{border-left-color:var(--lt-line)}
  .sec-side > .body,.sec-side > .lede{max-width:none;font-size:var(--text-lead);line-height:var(--leading-body)}
}

/* ---- phase 6 (23/11/2026), clinic pages: "the fold". One opt-in pattern for long sections. The index shows group names only, no numbers. ----
   Nothing here touches a section that does not carry the classes.

   THE RULE: the names stay on the page, the detail opens. One control everywhere: a row with its name
   and a ringed plus. Three layouts of the same thing:
     .fold-index  many groups (What we build). Desktop: the names are an index on the left, the open group
                  stands in a panel on the right (one open at a time). Phone: the same rows open in place.
     .fold-tabs   two or three views of one thing (the app screens). A switch, one view on stage.
     .fold-list   short rows (tools, online presence). Rows open in place.
   Plus two layouts that only move things (they hide nothing):
     .sec-split   on a laptop a section's head stands on the left and its content on the right,
                  so the head no longer takes a full-width band of its own.
     .sec-pair    two short sections share one band, side by side on a laptop (Steps and Tools).

   NO SCRIPT: every rule that hides anything sits under html.fold-js, which collapse.js sets as its first
   statement. Without the script the page is the page as it is today, everything open.
   REDUCED MOTION: the last block turns every transition off. */

/* ---------- always on (also with no script): wrappers are invisible, so the open page looks as it does now ---------- */
.fold-tablist[hidden]{display:none}
.fit-g > .fit-wide{grid-column:1 / -1;margin-top:0}
h3.fit-k{margin-top:0}
.tool > .fold-p{grid-area:p}
.fold,.sec-split,.sec-pair,.fold-tablist{--f-line:var(--line-1);--f-ink:var(--ink-hi);--f-body:var(--ink-body);--f-raise:var(--bg-1);--f-on:var(--bg-0)}
.light .fold,.light .sec-split,.light .sec-pair,.light .fold-tablist{--f-line:var(--lt-line);--f-ink:var(--lt-ink);--f-body:var(--lt-ink-body);--f-raise:var(--lt-raised);--f-on:var(--lt-surface)}

/* ---------- the head on the left, the content on the right; and two short sections side by side ---------- */
.sec-pair{display:grid;gap:var(--sp-16)}
.sec-half > .sec-head{display:block;margin:0 0 var(--sp-8)}
.sec-half > .sec-head .h2{margin:0}
@media (min-width:901px){
  .sec-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:var(--sp-16);align-items:start}
  .sec-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--sp-16);align-items:start}
  .sec-split > .sec-head{display:block;margin:0}
  .sec-split > .sec-head .h2,.sec-half > .sec-head .h2{font-size:clamp(2rem,1.1rem + 1.7vw,2.5rem);max-width:none;margin:0;text-wrap:balance}
  .sec-split > .sec-head > .lede,.sec-split > .sec-head > .body{margin:var(--sp-6) 0 0;max-width:30ch}
  .sec-main > :first-child,.sec-main > :first-child > :first-child{margin-top:0}
}
.sec-main .tools,.sec-main .faqs,.sec-main .steps,.sec-main .fit-g{margin-top:0}
.sec-split > .sec-head > .lede{font-family:var(--font-display);font-weight:600;color:var(--f-ink);font-size:var(--text-h3);line-height:var(--leading-title)}
@media (max-width:900px){
  .sec-split > .sec-head{margin-bottom:var(--sp-8)}
  .sec-split > .sec-head > .lede{margin:0}
}
/* sentence-long headlines step down one size on a phone, so a head is four lines, not six */
@media (max-width:640px){.sec-split > .sec-head .h2,.sec-half > .sec-head .h2{font-size:1.625rem}}

/* questions: the same ruled rows and the same ringed plus, a size down, and they glide open */
.sec-main .faq summary{padding-block:var(--sp-5);font-size:var(--text-lead);align-items:center}
.sec-main .faqs{border-top:1px solid var(--line-0)}
.light .sec-main .faqs{border-top-color:var(--lt-line)}
.sec-main .faq summary .fq,.fold-ico{flex:none;width:28px;height:28px;border-radius:50%;border:1px solid var(--acc-hairline);
  display:grid;place-items:center;line-height:1;position:relative;color:var(--f-ink,var(--ink-hi))}
.light .sec-main .faq summary .fq,.light .fold-ico{border-color:var(--lt-muted)}
.sec-main .faq summary .fq{font-size:0}
.sec-main .faq summary .fq::before,.sec-main .faq summary .fq::after,.fold-ico::before,.fold-ico::after{
  content:"";position:absolute;left:50%;top:50%;width:10px;height:1.5px;margin:-.75px 0 0 -5px;background:currentColor;
  transition:transform var(--t-move) var(--ease-move)}
.sec-main .faq summary .fq::after,.fold-ico::after{transform:rotate(90deg)}
.sec-main .faq[open] summary .fq{transform:none}
.sec-main .faq[open] summary .fq::after,.fold-b[aria-expanded="true"] .fold-ico::after{transform:rotate(0deg)}
.sec-main .faq-a{padding-bottom:var(--sp-5)}
@supports (interpolate-size:allow-keywords){
  .sec-main .faq{interpolate-size:allow-keywords}
  .sec-main .faq::details-content{block-size:0;overflow:clip;opacity:0;
    transition:block-size var(--t-move) var(--ease-move),opacity var(--t-move) var(--ease-move),content-visibility var(--t-move) allow-discrete}
  .sec-main .faq[open]::details-content{block-size:auto;opacity:1}
}

/* ---------- the control (collapse.js writes the button inside each .fold-h) ---------- */
.fold-b{appearance:none;-webkit-appearance:none;background:none;border:0;margin:0;padding:0;font:inherit;letter-spacing:inherit;
  color:inherit;text-align:left;cursor:pointer;display:flex;align-items:center;gap:var(--sp-4);width:100%;min-height:56px;
  -webkit-tap-highlight-color:transparent}
.fold-b:focus-visible{outline:2px solid var(--f-ink);outline-offset:2px;border-radius:var(--r-sm)}
.fold-t{flex:1 1 auto;min-width:0}

/* before collapse.js has run (a few ms): hold the folded height so nothing jumps */
.fold-js .fold:not(.fold-on) .fold-p:not(.is-open){display:none}
@media (max-width:900px){.fold-js .fold:not(.fold-on):not(.fold-tabs) .fold-p{display:none}}

/* ---------- rows that open in place (.is-acc: every list, and the index on a phone) ---------- */
.fold.is-acc{display:block;margin-top:var(--sp-8);border-top:1px solid var(--f-line)}
.sec-main > .fold.is-acc{margin-top:0}
.fold.is-acc > .fold-i{display:block;margin:0;padding:0;border:0;border-bottom:1px solid var(--f-line);border-radius:0;background:none}
.fold.is-acc .fold-h{display:block;margin:0;font-family:var(--font-display);font-weight:600;font-size:var(--text-lead);
  line-height:var(--leading-title);color:var(--f-ink)}
.fold.is-acc .fold-b{padding-block:var(--sp-3)}
.fold.is-acc .fold-p{display:grid;grid-template-rows:0fr;visibility:hidden;
  transition:grid-template-rows var(--t-move) var(--ease-move),visibility 0s linear var(--t-move)}
.fold.is-acc .fold-p.is-open{grid-template-rows:1fr;visibility:visible;transition-delay:0s}
.fold.is-acc .fold-in{min-height:0;overflow:hidden;opacity:0;transform:translateY(-6px);
  transition:opacity var(--t-exit) var(--ease-move),transform var(--t-move) var(--ease-move)}
.fold.is-acc .is-open > .fold-in{opacity:1;transform:none}
.fold.is-acc .fold-in::after{content:"";display:block;height:var(--sp-6)}
.fold.is-acc .fold-in > p{margin:0}
.fold.is-acc .seg-l{max-width:none}

/* steps as rows: the small label rides over the title inside the control */
.fold.is-acc .fold-b .trip-role{margin:0 0 var(--sp-1)}
.fold.is-acc.steps .fold-b{padding-block:var(--sp-4)}
.fold.is-acc.steps .fold-in > p{max-width:var(--measure)}


/* ---------- the index (desktop): names on the left, the open group on the right ---------- */
.fold-index.is-stack{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:repeat(14,auto) 1fr;
  column-gap:var(--sp-10);row-gap:0;position:relative}  
.fold-index.is-stack > .fold-i{display:contents}
.fold-index.is-stack .fold-h{grid-column:1;margin:0;border-bottom:1px solid var(--f-line);font-size:var(--text-lead);
  font-family:var(--font-display);font-weight:600;line-height:var(--leading-title);color:var(--f-body);
  transition:color var(--t-micro) var(--ease-move)}
.fold-index.is-stack > .fold-i:first-child .fold-h{border-top:1px solid var(--f-line)}
.fold-index.is-stack .fold-b{min-height:52px;padding:0 var(--sp-4) 0 var(--sp-5);transition:padding var(--t-move) var(--ease-move)}
.fold-index.is-stack .fold-h:hover,.fold-index.is-stack .fold-h:has([aria-expanded="true"]){color:var(--f-ink)}
.fold-index.is-stack .fold-b[aria-expanded="true"]{padding-left:var(--sp-6)}
/* the plus becomes an arrow head that only the open row shows */
.fold-index.is-stack .fold-ico{border:0;width:10px;height:10px;border-radius:0;opacity:0;transform:translateX(-8px) rotate(45deg);
  border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;
  transition:opacity var(--t-move) var(--ease-move),transform var(--t-move) var(--ease-move)}
.fold-index.is-stack .fold-ico::before,.fold-index.is-stack .fold-ico::after{display:none}
.fold-index.is-stack .fold-b[aria-expanded="true"] .fold-ico{opacity:1;transform:rotate(45deg)}
/* the marker that slides to the open row */
.fold-index.is-stack::before{content:"";position:absolute;left:0;top:0;width:2px;height:var(--mh,0px);
  transform:translateY(var(--my,0px));background:var(--f-ink);pointer-events:none;
  transition:transform var(--t-move) var(--ease-move),height var(--t-move) var(--ease-move)}
/* the panel: every group shares one cell, so the section never changes height when you switch */
.fold-index.is-stack .fold-p{grid-column:2;grid-row:1 / -1;display:block;background:var(--f-raise);border:1px solid var(--f-line);
  border-radius:var(--r-lg);padding:var(--sp-10) var(--sp-12);opacity:0;visibility:hidden;transform:translateY(10px);
  transition:opacity var(--t-exit) var(--ease-move),transform var(--t-exit) var(--ease-move),visibility 0s linear var(--t-exit)}
.fold-index.is-stack .fold-p.is-open{opacity:1;visibility:visible;transform:none;
  transition:opacity var(--t-move) var(--ease-enter) 60ms,transform var(--t-move) var(--ease-enter) 60ms,visibility 0s}
.fold-index.is-stack .fold-in::before{content:attr(data-t);display:block;font-family:var(--font-display);font-weight:600;
  font-size:var(--text-h3);line-height:var(--leading-title);letter-spacing:var(--tracking-h2);color:var(--f-ink);margin-bottom:var(--sp-6)}
.fold-index.is-stack .fold-p .seg-l{max-width:none;gap:0;grid-template-columns:1fr}
.fold-index.is-stack .fold-p .seg-l li{font-size:var(--text-body);padding-block:var(--sp-3);border-top:1px solid var(--f-line);max-width:none}
.fold-index.is-stack .fold-p .seg-l li::before{top:calc(var(--sp-3) + .62em)}

/* ---------- the switch (.fold-tabs): one view on stage ---------- */
.fold-js .fold-tablist{display:inline-flex;position:relative;gap:0;padding:4px;margin-top:var(--sp-10);
  border:1px solid var(--f-line);border-radius:var(--r-pill);background:var(--f-raise)}
.fold-js .fold-tablist::before{content:"";position:absolute;top:4px;bottom:4px;left:0;width:var(--mw,0px);transform:translateX(var(--mx,4px));
  border-radius:var(--r-pill);background:var(--f-ink);transition:transform var(--t-move) var(--ease-move),width var(--t-move) var(--ease-move)}
.fold-tablist .fold-b{position:relative;width:auto;min-height:44px;padding:0 var(--sp-6);border-radius:var(--r-pill);
  font-size:1rem;font-weight:500;color:var(--f-body);white-space:nowrap;transition:color var(--t-move) var(--ease-move)}
.fold-tablist .fold-b[aria-selected="true"]{color:var(--f-on)}
.fold-js .fold-tabs .mocks{margin-top:var(--sp-8)}
.fold-js .fold-tabs .fold-p{grid-area:1 / 1;align-self:start;min-width:0}
.fold-js .fold-tabs .fold-p:not(.is-open){opacity:0 !important;visibility:hidden;pointer-events:none;
  transition:opacity var(--t-exit) var(--ease-move),visibility 0s linear var(--t-exit)}
.fold-js .fold-tabs .mock-strip.fold-p{transition:opacity var(--t-move) var(--ease-enter)}
/* the three phones stand on one line, top and bottom, whatever the length of their captions */
.fold-js .fold-tabs .mock-strip{align-items:stretch}
.fold-js .fold-tabs .mock-strip .mock{display:flex;flex-direction:column}
.fold-js .fold-tabs .mock-strip .shot-cap{flex:1 1 auto}
/* the switch already names each view, so the small label over each picture steps back */
.fold-js .fold-tabs .trip-role{display:none}

@media (prefers-reduced-motion:reduce){
  .fold *,.fold::before,.fold *::before,.fold *::after,.fold-tablist::before,.fold-tablist *,
  .sec-main .faq::details-content,.sec-main .faq summary .fq::after{transition:none !important}
}

/* a phone picture with no caption under it keeps all four corners round */
.mock:not(:has(.shot-cap)) .mock-img{border-radius:var(--r-lg)}

/* ============================================================
   ONE PLATE, facelift phases 1 and 2 (23/11/2026).
   "The frame is ours. The screen is the client's."
   Phase 1 (every page): one nav, the "On this page" rail, and the
   components below as opt-in classes. Nothing here changes a page
   that does not carry the classes.
   Phase 2 (dentists pilot): the page opts in with <body class="fx">.
   Tokens: the ONE PLATE block at the foot of tokens/raziel-dark.css.
   ============================================================ */

/* ---------- nav: the same entries on every page, written once ----------
   Who it's for (menu) · What we've built already · Guides (menu) · FAQ · the call.
     <details class="mnav"><summary>Menu</summary></details>
     <nav class="nav-links" aria-label="Site"> details.nav-dd, a, details.nav-dd, a, a.btn </nav>
     <a class="btn btn-primary nav-call">the call again, for the tablet bar</a>
   Desktop: the nav is the bar and the two menus drop down. Under 1025px the SAME nav is the sheet that
   the Menu button opens (.mnav[open] + .nav-links), and its two menus open in place. Native <details>
   throughout, so it all works with no script; assets/nav.js only closes things on a click outside or Escape.
   A page's own anchors live in the rail under its hero, not here. */
.nav{position:relative}
.nav-links{gap:var(--sp-6)}
.nav-links a:not(.btn),.nav-dd > summary{font-size:.9375rem}
.nav-dd{position:relative}
.nav-dd > summary{
  list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:var(--sp-2);min-height:44px;
  color:var(--ink-body);white-space:nowrap;transition:color var(--t-micro) var(--ease-move);
}
.nav-dd > summary::-webkit-details-marker{display:none}
.nav-dd > summary::after{
  content:"";width:6px;height:6px;border-right:1.5px solid var(--ink-mute);border-bottom:1.5px solid var(--ink-mute);
  transform:translateY(-2px) rotate(45deg);
}
.nav-dd > summary:hover,.nav-dd[open] > summary,.nav-dd.is-here > summary{color:var(--ink-hi)}
.nav-menu{
  position:absolute;left:calc(var(--sp-3) * -1);top:100%;z-index:50;display:grid;min-width:272px;padding:var(--sp-2);
  background:var(--bg-1);border:1px solid var(--line-1);border-radius:var(--r-lg);
}
.nav-links .nav-menu a{display:flex;align-items:center;min-height:44px;padding:0 var(--sp-3);border-radius:var(--r-md)}
.nav-links .nav-menu a:hover{background:var(--bg-2)}
.nav-call{display:none}
@media (max-width:1024px){
  .mnav{display:block}
  .nav{gap:var(--sp-3)}
  .nav-call{display:inline-flex;margin-left:auto}
  .nav-links{
    display:none;position:absolute;right:var(--gutter);top:calc(100% - var(--sp-2));z-index:50;
    width:min(320px,calc(100vw - 2 * var(--gutter-mobile)));max-height:calc(100vh - 96px);overflow-y:auto;
    margin:0;padding:var(--sp-2);gap:0;align-items:stretch;
    background:var(--bg-1);border:1px solid var(--line-1);border-radius:var(--r-lg);
  }
  .mnav[open] + .nav-links{display:grid}
  .mnav[open] + .nav-links a:not(.btn),.nav-links .nav-dd > summary{
    display:flex;align-items:center;min-height:44px;padding:0 var(--sp-3);border-radius:var(--r-md);
    font-size:1rem;white-space:normal;
  }
  .nav-links .nav-dd > summary{justify-content:space-between}
  .nav-links .nav-menu{position:static;min-width:0;padding:0 0 var(--sp-2) var(--sp-3);border:0;background:none}
  .nav-links a.btn{display:none}
}
@media (max-width:640px){.nav-links{right:var(--gutter-mobile)}}
/* Under 480px the header holds the mark and the menu; the call is the first
   thing in the hero and the last thing in the menu. */
@media (max-width:480px){
  .nav-call{display:none}
  .mnav{margin-left:auto}
  .mnav[open] + .nav-links a.btn{display:flex;margin-top:var(--sp-2)}
}

/* ---------- the "On this page" rail: a page's own anchors, under its hero ----------
   Not sticky: a bar that rides over text fails the render gate unless it is a
   top bar that hides on the way down. Scrolls sideways on a phone. */
.rail{border-block:1px solid var(--line-0);background:var(--bg-0)}
.rail-in{
  display:flex;align-items:center;gap:var(--sp-6);min-height:var(--rail-h);
  overflow-x:auto;white-space:nowrap;scrollbar-width:none;
}
.rail-in::-webkit-scrollbar{display:none}
.rail-k{
  flex:none;font-size:var(--fx-meta);font-weight:500;letter-spacing:var(--fx-tracking-meta);
  text-transform:uppercase;color:var(--ink-mute);
}
.rail a{
  flex:none;display:inline-flex;align-items:center;min-height:44px;font-size:.9375rem;color:var(--ink-body);
  text-decoration:none;transition:color var(--t-micro) var(--ease-move);
}
.rail a:hover{color:var(--ink-hi)}

/* ---------- the plate: the one product frame ----------
   <figure class="plate">
     <figcaption class="plate-head"><span class="plate-fig">Fig. 1</span>
       <span class="plate-ttl"><b>Bold part.</b> Plain part.</span><span class="plate-sample">Sample data</span></figcaption>
     <div class="plate-stage"><img class="scr scr-phone" ...></div>
   </figure>
   RULES: a screen is whole at the top and sides and cut only at the bottom, and the cut is IN THE PICTURE
   (each picture is shot for the slot it fills). Never crop one with overflow here:
   the render gate fails a clipped image, and a second crop drifts from the first. One bone ring, no bezels.
   The plate looks the same on a dark band and on a cream one. */
.plate{
  position:relative;margin:0;background:var(--bg-1);color:var(--ink-body);
  border:1px solid var(--line-2);border-radius:var(--r-lg);overflow:hidden;
}
.plate::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1px;z-index:2;pointer-events:none;
  background:var(--plate-edge);opacity:.85;
}
.plate-head{
  display:flex;align-items:center;gap:var(--sp-3);min-height:var(--plate-head);padding:0 var(--sp-5);
  border-bottom:1px solid var(--line-1);font-size:var(--text-sm);line-height:1.3;color:var(--ink-body);
}
.plate-fig{
  flex:none;font-size:var(--fx-meta);font-weight:500;letter-spacing:var(--fx-tracking-meta);
  text-transform:uppercase;color:var(--acc-small);
}
.plate-ttl{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.plate-ttl b,.light .plate-ttl b{color:var(--ink-hi);font-weight:500}
.plate-sample{flex:none;margin-left:auto;font-size:var(--fx-meta);color:var(--ink-mute);white-space:nowrap}
.plate-stage{padding:var(--plate-pad) var(--plate-pad) 0}
.plate-stage.is-whole{padding-bottom:var(--plate-pad)}
.plate picture{display:block}
/* a screen in a plate */
.scr{display:block;width:100%;height:auto;box-shadow:0 0 0 1px var(--plate-ring)}
.scr-phone{border-radius:var(--r-phone) var(--r-phone) 0 0}
.scr-desk{border-radius:var(--r-md) var(--r-md) 0 0}
.scr-card{border-radius:var(--r-md)}
/* two phones on one baseline, the second starting lower */
.plate-duo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--sp-5);align-items:end}
@media (max-width:640px){
  .plate-head{flex-wrap:wrap;row-gap:var(--sp-1);padding:var(--sp-3) var(--sp-4)}
  .plate-ttl{order:3;flex:1 0 100%;white-space:normal}
  .plate-stage{padding:var(--plate-pad-mobile) var(--plate-pad-mobile) 0}
  .plate-stage.is-whole{padding-bottom:var(--plate-pad-mobile)}
  .plate-duo{grid-template-columns:minmax(0,1fr)}
  .plate-duo > :nth-child(n+2){display:none}
}

/* ---------- the scale, for a page that opts in (<body class="fx">) ---------- */
.fx{--text-h2:var(--fx-h2);--text-h3:var(--fx-h3);--text-lead:var(--fx-lead);--leading-head:var(--fx-leading-h2)}
.fx .eyebrow{font-size:var(--fx-meta);letter-spacing:var(--fx-tracking-meta);margin-bottom:var(--sp-5)}
.fx .lede{font-size:var(--fx-lead);line-height:1.45}

/* ---------- the place hero (sector pages): copy left, plate right, the sector's place behind the plate ----------
   .place is the slot for the place still. Until a still is approved it shows a plain dark gradient.
   TO DROP THE STILL IN: set --place-img on .place, for example
     <div class="place" aria-hidden="true" style="--place-img:url(../assets/exhibit/NAME.webp)"></div>
   Use the custom property, not an <img>: the copy sits over this layer by design. The fades to black
   (left, top, bottom) are already here, so the still needs none of its own. */
.hero-place{position:relative;padding-block:var(--sp-12) var(--sp-16)}
.place{
  position:absolute;top:0;right:0;bottom:0;width:60%;pointer-events:none;
  background:var(--place-img,none) right center / cover no-repeat,linear-gradient(180deg,var(--bg-2),var(--bg-1));
}
.place::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,var(--bg-0),transparent 58%),
    linear-gradient(180deg,var(--bg-0),transparent 22%,transparent 72%,var(--bg-0));
}
.place-grid{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) min(602px,50%);
  grid-template-rows:auto auto 1fr;column-gap:var(--sp-12);align-items:start;
}
.place-grid > *{grid-column:1;min-width:0}
.place-grid > .plate{grid-column:2;grid-row:1 / span 3}
main .hero .place-grid .h1:not(.h1-guide){
  font-size:var(--fx-display-2);line-height:var(--fx-leading-display-2);max-width:none;margin:0 0 var(--sp-6);
}
.place-grid > .lede{margin:0 0 var(--sp-8);max-width:38ch}
.place-grid > .hero-cta{margin:0}
.place-grid .hero-note{flex:1 1 14rem;max-width:34ch}
@media (max-width:960px){
  /* product on the first phone screen: eyebrow, headline, the call, the plate, then the lead and the note */
  .hero-place{padding-block:var(--sp-6) var(--sp-12)}
  .place{width:100%;top:30%;bottom:10%}
  .place::after{background:linear-gradient(180deg,var(--bg-0),transparent 30%,transparent 70%,var(--bg-0))}
  .place-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:var(--sp-5)}
  .place-grid > .plate{grid-column:1;grid-row:auto;order:3;width:100%;max-width:602px}
  .place-grid > .hero-head{order:1}
  main .hero .place-grid .h1:not(.h1-guide){margin:0}
  .place-grid > .hero-cta{display:contents}
  .place-grid > .hero-cta > .btn{order:2;justify-self:start;grid-column:1}
  .place-grid > .lede{order:4;margin:var(--sp-2) 0 0;max-width:var(--measure-lead)}
  .place-grid > .hero-cta > .hero-note{order:5;grid-column:1;max-width:var(--measure-lead)}
}
@media (max-width:480px){.place-grid > .hero-cta > .btn{justify-self:stretch}}
/* the strip under the rail: the hero's second paragraph, at lead size */
.intro{padding-block:var(--sp-10)}
.intro .body{margin:0;max-width:62ch;font-size:var(--fx-lead);line-height:1.5;color:var(--ink-body)}
@media (max-width:860px){.intro{padding-block:var(--sp-8)}}

/* ---------- the ledger: a list of names, one open, with the figure for the open row ----------
   Rides on the phase 6 fold (assets/collapse.js, data-fold="index"); it only draws it differently.
     <div class="fold fit-g ledger" data-fold="index" data-fold-click data-fold-keep>
       <div class="fold-i"><h3 class="fit-k fold-h">Name</h3>
         <div class="fold-p is-open"><div class="fold-w">
           <div class="fold-in"><ul class="seg-l">...</ul></div>
           <figure class="plate led-fig"><div class="plate-stage">picture</div></figure>   (optional: a row with none shows the first row's)
         </div></div></div>
       <div class="plate-head led-head">Fig. 2 · title · Sample data</div>     (last child: the one label for every figure)
   Laptop: names down the left, the open row's points under its name, its figure in a plate on the right.
   Phone: the same rows; the open row shows its figure, then its points.
   No script: every list is open and the figures stay out, so the page is the plain page.
   No numbers on the rows. */
.led-fig{display:none}
.fold-js .ledger .led-fig{display:block}
.ledger .seg-l{margin:0;max-width:none;gap:var(--sp-2)}
.ledger .seg-l li{padding-left:var(--sp-5);max-width:48ch}
.ledger .seg-l li::before,.light .ledger .seg-l li::before{top:.78em;width:9px;height:1.5px;transform:none;background:var(--lt-muted)}
@media (min-width:901px){
  .ledger.is-stack{
    display:grid;grid-template-columns:minmax(0,1fr) min(660px,56%);grid-template-rows:repeat(31,auto);
    column-gap:var(--sp-16);row-gap:0;margin-top:0;
  }
  .ledger.is-stack > .fold-i,.ledger.is-stack .fold-p,.ledger.is-stack .fold-w{display:contents}
  .ledger.is-stack .fold-h{
    grid-column:1;margin:0;border-top:1px solid var(--f-line);font-family:var(--font-display);font-weight:600;
    font-size:1.25rem;line-height:var(--leading-title);letter-spacing:var(--tracking-h2);color:var(--f-ink);
  }
  .ledger.is-stack > .fold-i:first-child .fold-h{border-top-color:var(--f-ink)}
  .ledger.is-stack .fold-h:has([aria-expanded="true"]){font-size:1.625rem}
  .ledger.is-stack .fold-b{min-height:56px}
  .ledger.is-stack .fold-in{
    grid-column:1;display:grid;grid-template-rows:0fr;visibility:hidden;
    transition:grid-template-rows var(--t-move) var(--ease-move),visibility 0s linear var(--t-move);
  }
  .ledger.is-stack .fold-p.is-open .fold-in{grid-template-rows:1fr;visibility:visible;transition-delay:0s}
  .ledger.is-stack .fold-in > .seg-l{min-height:0;overflow:hidden}
  .ledger.is-stack .seg-l li:last-child{padding-bottom:var(--sp-6)}
  .ledger.is-stack > .fold-i:nth-last-child(2) .fold-in{border-bottom:1px solid var(--f-line)}
  /* every figure shares the right-hand cell; only the open row's is in the page (the rest are display:none,
     so one plate is ever drawn and a lazy picture loads when its row is first opened). It fades in.
     The label (Fig., title, "Sample data") is written ONCE, in .led-head, and lies over the top of whichever
     figure is showing; each figure keeps that strip clear. */
  .fold-js .ledger.is-stack .led-fig{display:none;grid-column:2;grid-row:1 / -1;align-self:start;padding-top:var(--plate-head)}
  .fold-js .ledger.is-stack .fold-p.is-open .led-fig,
  .fold-js .ledger.is-stack:not(:has(.fold-p.is-open .led-fig)) > .fold-i:first-child .led-fig{
    display:block;opacity:1;transition:opacity var(--t-move) var(--ease-enter);
  }
  @starting-style{
    .fold-js .ledger.is-stack .fold-p.is-open .led-fig,
    .fold-js .ledger.is-stack:not(:has(.fold-p.is-open .led-fig)) > .fold-i:first-child .led-fig{opacity:0}
  }
  .fold-js .ledger.is-stack .led-head{
    display:flex;grid-column:2;grid-row:1 / -1;align-self:start;position:relative;z-index:1;
    height:var(--plate-head);min-height:0;margin:1px 1px 0;
  }
}
/* the one figure label. No script: no figures, so no label. Phone: a note under the rows. */
.led-head{display:none}
.fold-js .ledger.is-acc .led-head{
  display:flex;min-height:0;padding:var(--sp-4) 0 0;border:0;color:var(--lt-ink-body);
}
.ledger.is-acc .led-head .plate-fig,.ledger.is-acc .led-head .plate-ttl b,.light .ledger.is-acc .led-head .plate-ttl b{color:var(--lt-ink)}
.ledger.is-acc .led-head .plate-sample{color:var(--lt-ink-body)}
.ledger.is-acc .led-head .plate-ttl{order:0;flex:0 1 auto}
/* rows that open in place (phone and tablet): the wrapper is what folds, the figure leads */
.ledger.is-acc .fold-w{min-height:0;overflow:hidden;display:flex;flex-direction:column}
.ledger.is-acc .fold-in{overflow:visible}
.ledger.is-acc .fold-p.is-open .fold-in{opacity:1;transform:none}
.ledger.is-acc .led-fig{order:-1;width:100%;max-width:440px;margin:var(--sp-1) 0 var(--sp-5)}
.ledger.is-acc .fold-h:has([aria-expanded="true"]){font-size:var(--fx-h3)}
/* every phone figure is a whole panel, so it sits in the stage with room all round */
.ledger.is-acc .plate-stage{padding:var(--plate-pad-mobile)}
.ledger.is-acc .scr{border-radius:var(--r-md)}
/* "Built to order" closes the ledger as a ruled line, not a box */
.fx .fit-order{
  background:none;border:0;border-top:1px solid var(--lt-ink);border-radius:0;
  padding:var(--sp-8) 0 0;margin-top:var(--sp-12);
}
.fx .fit-order .body{margin:0}
@media (prefers-reduced-motion:reduce){.ledger .led-fig,.ledger .fold-in{transition:none !important}}

/* ---------- the exhibit row: one full-width plate, its views switched in the header ----------
   Rides on the phase 6 switch (data-fold="tabs"): the tab list sits in the plate header.
     <div class="plate plate-row fold fold-tabs" data-fold="tabs">
       <div class="plate-head"><span class="plate-fig">Fig. 3</span><div class="fold-tablist" hidden>...</div><span class="plate-sample">Sample data</span></div>
       <div class="plate-views"><div class="ex-cols fold-p is-open" id="...">3 x figure.ex-col</div><figure class="ex-desk fold-p" id="...">...</figure></div>
     </div> */
.plate-row{margin-top:var(--sp-10)}
.plate-row > .plate-head{padding-block:var(--sp-2)}
.fold-js .plate-head .fold-tablist{margin:0;padding:3px;background:var(--bg-0)}
.fold-js .plate-head .fold-tablist::before{top:3px;bottom:3px}
.plate-head .fold-tablist .fold-b{min-height:38px;padding:0 var(--sp-5);font-size:.9375rem}
.plate-views{display:grid;grid-template-columns:minmax(0,1fr)}
/* both views fill the plate, so a screen always stands on its bottom edge */
.fold-js .fold-tabs .plate-views > .fold-p{align-self:stretch}
.ex-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.ex-col{margin:0;padding:var(--sp-6) var(--sp-8) 0;border-right:1px solid var(--line-1);display:flex;flex-direction:column;min-width:0}
.ex-col:last-child{border-right:0}
.ex-cap{display:block;margin:0 0 var(--sp-5);min-height:3.75rem}
.ex-cap .trip-doing{display:block;font-size:var(--fx-h3);line-height:1.2}
.ex-note{display:block;margin-top:var(--sp-1);font-size:var(--text-sm);color:var(--ink-mute)}
.ex-col .scr{margin-top:auto;align-self:center;max-width:300px}
.ex-desk{margin:0;padding:var(--sp-6) var(--plate-pad) 0;display:flex;flex-direction:column}
.ex-desk picture{margin-top:auto}
@media (max-width:1100px){.ex-col{padding-inline:var(--sp-5)}}
@media (max-width:900px){
  .plate-head .fold-tablist .fold-b{min-height:44px}
  .ex-cols{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
  .ex-cols::-webkit-scrollbar{display:none}
  .ex-col{flex:0 0 min(84%,340px);scroll-snap-align:start;padding:var(--sp-5) var(--sp-5) 0}
  .ex-desk{padding:var(--sp-5) var(--plate-pad-mobile) 0}
  .ex-desk picture{max-width:440px}
}
@media (max-width:640px){
  .plate-row > .plate-head .fold-tablist{order:3;flex:1 0 100%}
  .plate-row > .plate-head .fold-tablist .fold-b{flex:1 1 0;justify-content:center;padding:0 var(--sp-3)}
}

/* ============================================================
   ONE PLATE, facelift phases 3 to 5 (24/11/2026): the same frame on every page.
   Additions only. Each block names the page that uses it.
   ============================================================ */

/* ---------- a phone beside one whole panel (cosmetic clinics hero) ----------
   The phone stands on the plate's bottom edge; the panel is a whole card with room under it.
   On a phone the plate shows the phone screen only. */
.plate-pair{display:grid;grid-template-columns:minmax(0,276fr) minmax(0,250fr);gap:var(--sp-5);align-items:start}
.plate-pair > .scr-card{margin-bottom:var(--plate-pad)}
@media (max-width:640px){
  .plate-pair{grid-template-columns:minmax(0,1fr)}
  .plate-pair > :nth-child(n+2){display:none}
}

/* ---------- the home hero (wide hero): the headline across the page, one tabbed plate under it ----------
   <section class="hero hero-one">
     <div class="loop-slot"> video </div>                the smoked glass loop (placed in phase 6, see the foot of this file)
     <div class="wrap">
       <div class="one-head"> eyebrow, h1 </div>
       <div class="one-grid">
         <div class="one-copy"> the reader's line, the two calls </div>
         <div class="plate ind ind-plate" id="ind">
           <div class="plate-head ind-bar"><div class="ind-tabs" role="tablist"> 5 x button.ind-tab </div></div>
           <div class="ind-body">
             <div class="ind-slides"> 5 x .ind-slide (.ind-you, .ind-pain, .ind-tools, a.ind-go) </div>
             <figure class="ind-vis" id="ind-vis"><div class="ind-stage"> 5 x .ind-pic </div><div class="ind-caps"> 5 x figcaption </div></figure>
           </div></div></div></div></section>
   The plate changes on click only (the script is at the foot of the home page). Laptop: the picked business's
   lines on the left of the plate, its picture on the right, and the "we build all of it" line across the foot.
   Phone: the picture, then the lines. Four text styles above the fold: eyebrow, headline, lead, button. */
.hero.hero-one{position:relative;display:block;min-height:0;padding-block:var(--sp-10) var(--sp-24);overflow:hidden}
.hero-one > .wrap{position:relative;z-index:1}
/* THE LOOP SLOT. Shows nothing while it is empty. --loop-poster is the still; a <video> inside plays over it. */
.loop-slot{
  position:absolute;top:0;right:0;bottom:0;width:66%;pointer-events:none;opacity:.35;
  background:var(--loop-poster,none) right center / cover no-repeat;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 46%);mask-image:linear-gradient(90deg,transparent,#000 46%);
}
.loop-slot video{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:760px),(prefers-reduced-motion:reduce){.loop-slot video{display:none}}
main .hero.hero-one .h1:not(.h1-guide){
  font-size:var(--fx-display);line-height:var(--fx-leading-display);letter-spacing:var(--fx-tracking-display);
  max-width:none;margin:0;
}
.hero-one .hero-k{font-size:var(--fx-meta);letter-spacing:var(--fx-tracking-meta);margin:0 0 var(--sp-5)}
.one-grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,820px);column-gap:var(--sp-12);align-items:start;
  margin-top:var(--sp-12);
}
.one-grid > *{min-width:0}
.hero-one .hero-pre{margin:0;font-size:var(--fx-lead);line-height:1.4;color:var(--ink-hi);max-width:28ch}
/* 24/11 (Opus p3-5): 28ch holds the hook to two lines beside the plate at 1440 (22ch broke it into three, read as verse) */
.hero-one .cta-row{margin-top:var(--sp-8)}
/* the plate */
.ind-plate.ind{margin:0}
.ind-plate .ind-bar{padding:var(--sp-2) var(--sp-3);justify-content:flex-start}
.ind-plate .ind-tabs{flex-wrap:nowrap;gap:var(--sp-1);overflow-x:auto;scrollbar-width:none}
.ind-plate .ind-tabs::-webkit-scrollbar{display:none}
.ind-plate .ind-tab{flex:none;border-color:transparent;padding:0 var(--sp-4);min-height:38px;font-size:.9375rem;color:var(--ink-body);white-space:nowrap}
.ind-plate .ind-tab:hover{border-color:transparent;color:var(--ink-hi)}
.ind-plate .ind-tab[aria-selected="true"]{background:var(--bg-3,var(--bg-2));border-color:var(--line-2);color:var(--ink-hi)}
.ind-body{
  display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);grid-template-rows:auto 1fr auto auto;
  grid-template-areas:"you vis" "pain vis" "go vis" "tools tools";
}
.ind-plate .ind-slides,.ind-plate .ind-slide{display:contents}
.ind-plate .ind-slide > *{
  opacity:0;visibility:hidden;margin:0;max-width:none;
  transition:opacity var(--t-exit) var(--ease-move),visibility 0s linear var(--t-exit);
}
.ind-plate .ind-slide.on > *{
  opacity:1;visibility:visible;
  transition:opacity var(--t-move) var(--ease-enter) var(--t-exit),visibility 0s linear var(--t-exit);
}
.ind-plate .ind-you{grid-area:you;padding:var(--sp-6) var(--sp-6) 0;font-size:var(--fx-h3);line-height:1.15}
.ind-plate .ind-pain{grid-area:pain;padding:var(--sp-3) var(--sp-6) 0;font-size:var(--text-body);line-height:1.5;color:var(--ink-body)}
.ind-plate .ind-go{grid-area:go;justify-self:start;align-self:end;margin:var(--sp-3) var(--sp-6) var(--sp-5);display:inline-flex;align-items:center;min-height:44px}
.ind-plate .ind-tools{
  grid-area:tools;padding:var(--sp-4) var(--sp-6);border-top:1px solid var(--line-1);
  font-size:.9375rem;line-height:1.5;color:var(--ink-body);
}
.ind-plate .ind-vis{grid-area:vis;margin:0;padding:var(--sp-6) var(--sp-6) var(--sp-5);border-left:1px solid var(--line-1);min-width:0}
.ind-plate .ind-stage{aspect-ratio:16 / 10;border:0;border-radius:var(--r-md);overflow:visible;background:none}
.ind-plate .ind-pic{transition:opacity var(--t-exit) var(--ease-move),visibility 0s linear var(--t-exit)}
.ind-plate .ind-pic.on{transition:opacity var(--t-move) var(--ease-enter),visibility 0s}
.ind-plate .ind-pic img{
  display:block;width:100%;height:auto;aspect-ratio:16 / 10;border:0;border-radius:var(--r-md);
  background:var(--bg-2);box-shadow:0 0 0 1px var(--plate-ring);
}
.ind-plate .ind-caps{margin-top:var(--sp-4)}
.ind-plate .ind-caps figcaption{margin:0;padding:0;font-size:var(--text-sm);line-height:1.45;color:var(--ink-body);transition:opacity var(--t-exit) var(--ease-move)}
.ind-plate .ind-caps figcaption.on{transition:opacity var(--t-move) var(--ease-enter) var(--t-exit)}
@media (max-width:1180px){
  .one-grid{grid-template-columns:minmax(0,1fr);row-gap:var(--sp-8);margin-top:var(--sp-8)}
  .one-copy{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-5) var(--sp-10)}
  .hero-one .hero-pre{max-width:none;flex:1 1 20rem}
  .hero-one .cta-row{margin-top:0}
}
@media (max-width:900px){
  .hero.hero-one{padding-block:var(--sp-6) var(--sp-16)}
  .ind-body{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"vis" "you" "pain" "tools" "go"}
  .ind-plate .ind-vis{border-left:0;padding:var(--plate-pad-mobile) var(--plate-pad-mobile) 0}
  .ind-plate .ind-you{padding:var(--sp-5) var(--plate-pad-mobile) 0}
  .ind-plate .ind-pain{padding:var(--sp-3) var(--plate-pad-mobile) 0}
  .ind-plate .ind-tools{border-top:0;padding:var(--sp-3) var(--plate-pad-mobile) 0}
  .ind-plate .ind-go{margin:var(--sp-2) var(--plate-pad-mobile) var(--sp-4)}
  .ind-plate .ind-tab{min-height:44px}
}
@media (max-width:640px){
  .ind-plate .ind-stage,.ind-plate .ind-pic img{aspect-ratio:1 / 1}
  .one-copy{display:block}
  .hero-one .cta-row{margin-top:var(--sp-5)}
  .one-grid{margin-top:var(--sp-5);row-gap:var(--sp-6)}
  /* 24/11 (Opus p3-5): on a phone the five business tabs wrap to two rows, so none is cut off past the edge */
  .ind-plate .ind-tabs{flex-wrap:wrap;overflow-x:visible}
}
@media (prefers-reduced-motion:reduce){
  .ind-plate .ind-slide > *,.ind-plate .ind-slide.on > *,.ind-plate .ind-pic,.ind-plate .ind-pic.on,.ind-plate .ind-caps figcaption{transition:none}
}

/* ---------- home, under the hero: the same plate round every product picture ----------
   CSS only; the markup is as it was.
   "We run our own businesses": each still sits in a plate, its line under it.
   "Which businesses do we build for?" (the family row): the picked business is the one plate, with its
   picture whole; the other three are ruled rows with no thumbnail (a screen too small to read is not shown).
   "You get a dashboard...": the three frames carry the plate's edge. */
/* this band re-points the dark tokens to cream, so the plate takes the band's own ink for its glass */
.proof .proof-shots .shot{
  position:relative;background:var(--lt-ink);border:1px solid var(--lt-ink);border-radius:var(--r-lg);padding:0;overflow:hidden;
}
.proof .proof-shots .shot::before,#who .route.lead::before,#who .surf-pic::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1px;z-index:2;pointer-events:none;
  background:var(--plate-edge);opacity:.85;
}
.proof .proof-shots .shot picture{display:block;padding:var(--plate-pad) var(--plate-pad) 0}
.proof .proof-shots .shot img{aspect-ratio:16 / 10;border:0;border-radius:var(--r-md);box-shadow:0 0 0 1px var(--plate-ring)}
.proof .proof-shots .shot figcaption{margin:0;padding:var(--sp-4) var(--plate-pad) var(--sp-5);color:var(--lt-surface)}
.proof .proof-shots .shot figcaption b,.proof .proof-shots .shot figcaption a{color:var(--lt-surface)}
@media (max-width:640px){
  .proof .proof-shots .shot picture{padding:var(--plate-pad-mobile) var(--plate-pad-mobile) 0}
  .proof .proof-shots .shot img{aspect-ratio:1 / 1}
  .proof .proof-shots .shot figcaption{padding-inline:var(--plate-pad-mobile)}
}
#who .route.lead{position:relative;background:var(--bg-1);border-color:var(--line-2);gap:0}
#who .route.lead:hover{transform:none;border-color:var(--acc-hairline)}
#who .route.lead .route-k{
  order:-1;display:flex;align-items:center;min-height:var(--plate-head);padding:0 var(--sp-5);
  border-bottom:1px solid var(--line-1);font-size:var(--fx-meta);letter-spacing:var(--fx-tracking-meta);
}
#who .route.lead .route-pic{
  display:block;margin:var(--plate-pad) var(--plate-pad) 0;height:auto;aspect-ratio:16 / 10;
  border:0;border-radius:var(--r-md);overflow:visible;background:none;
}
#who .route.lead .route-pic img{height:auto;aspect-ratio:16 / 10;border-radius:var(--r-md);box-shadow:0 0 0 1px var(--plate-ring)}
#who .route.lead .route-t{padding:var(--sp-5) var(--plate-pad) 0}
#who .route.lead .route-go{padding:var(--sp-3) var(--plate-pad) var(--sp-6)}
#who .route:not(.lead){background:none;border:0;border-top:1px solid var(--line-1);border-radius:0;overflow:visible}
#who .route:not(.lead):hover{transform:none}
#who .route:not(.lead):hover .route-k{color:var(--acc-small)}
#who .route:not(.lead) .route-pic{display:none}
@media (min-width:641px){
  #who .route:not(.lead){grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;align-content:center;padding:var(--sp-5) 0;row-gap:var(--sp-2)}
  #who .route:not(.lead) .route-k,#who .route:not(.lead) .route-t,#who .route:not(.lead) .route-go{grid-column:1;padding:0}
  #who .route:not(.lead) .route-k{
    font-family:var(--font-display);font-weight:600;font-size:var(--fx-h3);line-height:1.2;
    letter-spacing:var(--tracking-h2);text-transform:none;color:var(--ink-hi);
    transition:color var(--t-micro) var(--ease-move);
  }
  #who .route:not(.lead) .route-t{max-width:44ch}
}
@media (max-width:640px){
  #who .route.lead .route-pic{margin:var(--plate-pad-mobile) var(--plate-pad-mobile) 0;aspect-ratio:16 / 10}
  #who .route.lead .route-t{padding:var(--sp-4) var(--plate-pad-mobile) 0}
  #who .route.lead .route-go{padding:var(--sp-2) var(--plate-pad-mobile) var(--sp-4)}
  #who .route:not(.lead){padding:0}
  #who .routes > .route:last-child{border-bottom:1px solid var(--line-1)}
}
#who .surf-pic{position:relative;border-color:var(--line-2)}

/* ---------- phase 5: the older figures as plates (dispatch, facilities, what we've built, guides) ----------
   Every product picture on these pages is a .plate with a "Fig. n" header; the old caption is the plate's title.
   These screens are whole stills (not yet re-shot per slot), so they sit in the stage with room all round. */
.plate > .plate-head{margin:0;font-size:var(--text-sm)}
.shot-plate .plate-head,.row-pic .plate-head{padding-block:var(--sp-3)}
.shot-plate .plate-ttl,.row-pic .plate-ttl{white-space:normal}
.scr-allphone,.built-shots .scr-allphone{border-radius:var(--r-phone)}
/* the FM phone stills carry a handset and a printed note under it: show the handset only, as before */
.scr-handset{aspect-ratio:960 / 1745;object-fit:cover;object-position:top;border-radius:28px;max-width:260px;margin-inline:auto}
.built-shots .scr{border:0;border-radius:var(--r-md)}
.built-shots .scr.scr-allphone{border-radius:var(--r-phone)}
.plate-foot{margin:0;padding:var(--sp-4) var(--plate-pad);border-top:1px solid var(--line-1);font-size:var(--text-sm);line-height:1.45;color:var(--ink-body)}
/* a whole still in a switched plate (the dispatch board, the facilities hero) */
.ex-desk.is-whole{padding-bottom:var(--plate-pad)}
.ex-desk.is-whole .ex-cap{min-height:0;margin-bottom:var(--sp-4)}
.ex-desk > .scr{margin-top:auto}
.ex-desk.is-handset > .scr{max-width:200px;align-self:center}
.ex-line{display:block;font-size:var(--text-sm);line-height:1.45;color:var(--ink-body)}
.ex-line b{color:var(--ink-hi);font-weight:500}
.place-grid > .plate-row{margin-top:0}
.place-grid > .hero-cta .textlink{align-self:center}
@media (max-width:960px){.place-grid > .hero-cta > .textlink{order:2;grid-column:1;justify-self:start}}
@media (max-width:900px){.ex-desk.is-whole{padding-bottom:var(--plate-pad-mobile)}}
@media (max-width:640px){.plate-foot{padding-inline:var(--plate-pad-mobile)}}
/* on a cream band a list group is ruled off, not boxed (beige on cream reads as washed out) */
.fx .light .fit-g:not(.fold) > .fit-c{
  background:none;border:0;border-top:1px solid var(--lt-ink);border-radius:0;box-shadow:none;padding:var(--sp-5) 0 0;
}
/* a screen in a plate never takes a page's own ".scr-card" frame (dispatch's old one was deleted 24/11/2026; this guards the rest) */
.plate img.scr-card{padding:0;border:0;background:none;border-radius:var(--r-md)}
/* a whole still stands under its caption (the views of a switched plate differ in height) */
.ex-desk.is-whole > .scr,.ex-desk.is-whole > picture{margin-top:0}
/* a long headline in a place hero steps down, so it holds to about four lines */
main .hero .place-grid .h1.h1-long:not(.h1-guide){font-size:clamp(2rem,1.2rem + 2.2vw,2.875rem);line-height:1.06}
/* the CoachRack page keeps its own stills and captions; they take the plate's edge so the frame is the same one */
.fx figure.shot{position:relative;border-color:var(--line-2)}
.fx figure.shot::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1px;z-index:2;pointer-events:none;
  background:var(--plate-edge);opacity:.85;
}
@media (max-width:900px){.ex-desk.is-handset > .scr{max-width:160px}}
/* a hero call with a text link beside the button (facilities) */
@media (min-width:961px){.place-grid > .hero-cta:has(.textlink){display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-4) var(--sp-5)}}

/* ============================================================================================================
   ONE PLATE, facelift phase 6 (24/11/2026): the generated stills and the loop. Approved Q848.
   Three assets only: the smoked glass still and its loop (home), the surgery still (dentists).
   The slots on cosmetic clinics, facilities and dispatch stay empty.
   ============================================================================================================ */
/* THE LOOP, home. The slot is the top of the hero at the still's own shape (16:9), so the still and the loop are
   shown whole and line up frame for frame. A third strength. Its blacks are graded to --bg-0, so only the head and the foot
   need a fade. --loop-poster is the still; the <video> plays over it once it has a frame. */
.loop-slot{
  left:0;right:0;bottom:auto;width:auto;aspect-ratio:16 / 9;max-height:100%;opacity:.33;
  background:var(--loop-poster,none) center top / cover no-repeat;
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 12%,#000 60%,transparent);mask-image:linear-gradient(180deg,transparent,#000 12%,#000 60%,transparent);
}
.loop-slot video{object-position:center top}
/* a phone: the still only (the page gives the video no source there), in its own upright crop, behind the headline */
@media (max-width:760px){
  .loop-slot{aspect-ratio:auto;height:30rem;background-image:var(--loop-poster-m,var(--loop-poster,none))}
}
/* THE PLACE STILL on a laptop (fix after human gate HP6, 24/11/2026). Only a strip of the still shows right of the plate, and at
   "right center" that strip was the chair headrest cut by the screen edge, which a reader took for the back of a head. The still is
   set at the hero's height and pulled 540px past the right edge, so the strip shows the striped wall light and the cabinet instead. */
@media (min-width:961px){
  .place-on > .place{background-size:auto 100%,auto;background-position:right -540px center,0 0}
}
/* THE PLACE STILL on a phone and a tablet, for a page that has one (<section class="hero hero-place place-on">).
   The plate fills the width there, so a still behind it would only show as a smear under the lead. Instead the
   hero closes on the still as its own band, under the note: nothing is written over it. --place-img-m is the band's crop,
   anchored at its foot so the tray and the whole chair show (HP6). */
@media (max-width:960px){
  .place-on{padding-bottom:calc(min(62vw,22rem) + var(--sp-6))}
  .place-on > .place{
    top:auto;bottom:0;left:0;width:100%;height:min(62vw,22rem);
    background:var(--place-img-m,var(--place-img,none)) center 100% / cover no-repeat;
  }
  .place-on > .place::after{
    background:linear-gradient(180deg,var(--bg-0),transparent 36%,transparent 86%,var(--bg-0)),
      linear-gradient(90deg,var(--bg-0),transparent 24%);
  }
}
