/* ============================================================
   Enzwa — design system
   Editorial: paper, ink, one clay accent, deep field for contrast.
   ============================================================ */

/* ---- 1 · Tokens ------------------------------------------- */
:root{
  /* THE PRINTED REGISTER.
     Near-greyscale by default: cream ground, warm ink, hairline rules. No brand
     accent chosen for looks. Colour enters only where it carries a referent —
     one hue per kind of document — so every instance of it means something.
     Cream rather than white: none of the best references use #fff, and white
     carries a funerary reading in Chinese tradition. */
  --paper:#FBF9F4;
  --paper-2:#F1EDE3;
  --ink:#16150F;
  --ink-2:#3C3A31;
  --muted:#6A665C;       /* 5.1:1 on paper */
  --rule:#D9D4C6;
  --field:#16150F;       /* the dark ground IS the ink: one greyscale, not two hues */
  --field-2:#1F1D16;
  --field-ink:#F1EDE3;
  --muted-field:#9C978A; /* 6.5:1 on field */
  --rule-field:rgba(241,237,227,.16);

  /* The action colour is ink. A studio selling documents does not need a
     button colour; Heydays, Order and Chimero all make this move. */
  --clay:#16150F;
  --clay-deep:#3C3A31;
  --clay-text:#16150F;
  --clay-field:#F1EDE3;

  /* The referent system: one hue per kind of document. Used on the index-card
     rule, the article's category label, and the ground behind a rebuilt slide.
     Never on a button, never decoratively. */
  --cat-raise:#A8321C;   --cat-raise-t:#F4E3DE;   /* fundraising decks */
  --cat-bid:#1E4B8F;     --cat-bid-t:#DEE5F2;     /* tenders and bids */
  --cat-board:#2A5946;   --cat-board-t:#DDE8E2;   /* board and internal */
  --cat-fund:#5E3475;    --cat-fund-t:#E8DEEE;    /* funds and LPs */
  --cat-ai:#8A5B0F;      --cat-ai-t:#F3E8D5;      /* making AI legible */

  /* Inverted from the convention: grotesque for display, serif for reading.
     Serif-display-over-sans-body is the AI-product arrangement. */
  --serif:'Bricolage Grotesque',-apple-system,'Segoe UI',Helvetica,sans-serif;
  --sans:'Newsreader',Georgia,'Times New Roman',serif;
  /* Fraunces ships a 'wonk' axis and a soft axis. Both are off: we want the
     high-contrast display cut, not the quirky one. */
  --serif-display:'opsz' 96,'wdth' 100,'wght' 500;
  --serif-60:'opsz' 60,'wdth' 100,'wght' 500;
  --serif-34:'opsz' 34,'wdth' 100,'wght' 550;
  --serif-text:'opsz' 14,'wdth' 100,'wght' 600;
  --mono:'DM Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  /* three roles, not two faces doing four jobs:
     --serif is the grotesque (display + UI) · --sans is the reading serif */
  --ui:'Bricolage Grotesque',-apple-system,'Segoe UI',Helvetica,sans-serif;

  --max:1240px;
  --gut:clamp(1.25rem,4vw,3rem);
  --sec:clamp(4.5rem,9vw,8.5rem);
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* ---- 2 · Reset -------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-size:1.0625rem;line-height:1.65;
  font-weight:400;letter-spacing:-.005em;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
::selection{background:var(--clay);color:var(--paper)}

/* ---- 3 · Type --------------------------------------------- */
.display{
  font-family:var(--serif);font-variation-settings:var(--serif-display);font-weight:400;
  font-size:clamp(3.25rem,8vw,7.5rem);line-height:.94;letter-spacing:-.025em;
  margin:0;
}
.h1{font-family:var(--serif);font-variation-settings:var(--serif-display);font-weight:400;font-size:clamp(2.6rem,6vw,5rem);line-height:1;letter-spacing:-.022em;margin:0}
.h2{font-family:var(--serif);font-variation-settings:var(--serif-60);font-weight:400;font-size:clamp(2.1rem,4.4vw,3.5rem);line-height:1.04;letter-spacing:-.02em;margin:0}
.h3{font-family:var(--serif);font-variation-settings:var(--serif-34);font-weight:400;font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.14;letter-spacing:-.015em;margin:0}
.h4{font-family:var(--sans);font-weight:600;font-size:1.0625rem;line-height:1.35;letter-spacing:-.01em;margin:0}
.it{font-style:italic}

.lead{font-size:clamp(1.15rem,1.55vw,1.375rem);line-height:1.5;color:var(--ink-2);letter-spacing:-.012em;margin:0}
.body p{margin:0 0 1.15em}
.body p:last-child{margin-bottom:0}
.small{font-size:.9375rem;line-height:1.55;color:var(--muted)}

.eyebrow{
  font-family:var(--mono);font-size:.75rem;font-weight:400;
  letter-spacing:.08em;color:var(--muted);
  margin:0 0 1.5rem;display:flex;align-items:baseline;gap:.6rem;
}
.eyebrow b{color:var(--clay-text);font-weight:500}
.field .eyebrow{color:var(--muted-field)}
.field .eyebrow b{color:var(--clay-field)}

.fig{font-family:var(--sans);font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.clay{color:var(--clay)}

/* ---- 4 · Layout ------------------------------------------- */
.wrap{max-width:var(--max);margin:0 auto;padding-inline:var(--gut)}
.band{padding-block:var(--sec);position:relative}
.band--alt{background:var(--paper-2)}
.band--tight{padding-block:clamp(3rem,6vw,5rem)}
.field{background:var(--field);color:var(--field-ink)}
.field .lead{color:var(--muted-field)}
.field .small{color:var(--muted-field)}

.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(1.25rem,2.4vw,2.25rem)}
.c-prose{grid-column:1/9}
.c-marg{grid-column:9/13}
.c-full{grid-column:1/13}
.c-half{grid-column:span 6}
@media(max-width:900px){
  .grid{grid-template-columns:1fr}
  .c-prose,.c-marg,.c-half,.c-full{grid-column:1/-1}
}
.measure{max-width:34em}

.rule{height:1px;background:var(--rule);border:0;margin:0}
.field .rule,.rule--field{background:var(--rule-field)}

/* ---- 5 · Header / footer ---------------------------------- */
.hdr{
  position:sticky;top:0;z-index:60;
  background:color-mix(in srgb,var(--paper) 88%,transparent);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--rule);
}
.hdr--field{background:var(--field);border-bottom-color:var(--rule-field);color:var(--field-ink)}
.hdr__in{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;height:66px;max-width:var(--max);margin:0 auto;padding-inline:var(--gut)}
.mark{font-family:var(--serif);font-variation-settings:var(--serif-text);font-size:1.5rem;letter-spacing:-.02em;line-height:1;display:flex;align-items:baseline;gap:.4rem}
.mark::after{content:'';width:6px;height:6px;border-radius:50%;background:var(--clay);display:block;transform:translateY(-1px)}
.nav{display:flex;gap:clamp(1rem,2vw,1.9rem);align-items:center}
.nav a:not(.btn){font-size:.9375rem;color:var(--ink-2);letter-spacing:-.008em;padding-block:.35rem;border-bottom:1px solid transparent;transition:border-color .2s var(--ease),color .2s var(--ease)}
.hdr--field .nav a{color:var(--muted-field)}
.nav a:hover{color:var(--clay);border-bottom-color:var(--clay)}
.nav a[aria-current]{color:var(--ink)}
.hdr--field .nav a[aria-current]{color:var(--field-ink)}
.hdr--field .nav a:hover{color:var(--clay-field);border-bottom-color:var(--clay-field)}


.ftr{background:var(--field);color:var(--field-ink);padding-block:clamp(3.5rem,7vw,6rem) 2.5rem}
.ftr a{color:var(--muted-field);transition:color .2s var(--ease)}
.ftr a:hover{color:var(--clay-field)}
.ftr__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:2.5rem}
.ftr__cols h5{font-family:var(--mono);font-size:.75rem;letter-spacing:.1em;color:var(--muted-field);margin:0 0 1rem;font-weight:400}
.ftr__cols ul{list-style:none;margin:0;padding:0;display:grid;gap:0;font-size:.9375rem}
.ftr__cols li a{display:block;padding-block:.7rem}

/* ---- 6 · Buttons ------------------------------------------ */
.btn{
  display:inline-flex;align-items:center;gap:.7rem;
  background:var(--clay);color:#fff;
  padding:.95rem 1.6rem;border-radius:2px;
  font-size:1rem;font-weight:500;letter-spacing:-.008em;
  transition:background .2s var(--ease),border-color .2s var(--ease),color .2s var(--ease),transform .2s var(--ease);
  border:1px solid var(--clay);
}
.btn:hover{background:var(--clay-deep);border-color:var(--clay-deep);transform:translateY(-1px)}
.btn svg{width:16px;height:16px;flex:none}
.btn--ghost{background:none;color:var(--ink);border-color:var(--rule)}
.btn--ghost:hover{background:none;border-color:var(--ink);color:var(--ink)}
.field .btn--ghost{color:var(--field-ink);border-color:var(--rule-field)}
.field .btn--ghost:hover{border-color:var(--field-ink)}
.btn--sm{padding:.6rem 1.05rem;font-size:.9rem}

.tlink{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.9375rem;font-weight:500;color:var(--clay-text);
  border-bottom:1px solid color-mix(in srgb,var(--clay-text) 40%,transparent);
  padding-bottom:2px;transition:border-color .2s var(--ease)
}
.tlink:hover{border-bottom-color:var(--clay)}
.tlink svg{width:14px;height:14px;transition:transform .2s var(--ease)}
.tlink:hover svg{transform:translateX(3px)}

/* ---- 7 · Hero --------------------------------------------- */
.hero{background:var(--field);color:var(--field-ink);padding-block:clamp(2.75rem,5vw,4.25rem) clamp(3.5rem,6vw,5rem);position:relative;overflow:hidden}
.hero__grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(2rem,5vw,4.5rem);align-items:center}
@media(max-width:980px){.hero__grid{grid-template-columns:1fr;gap:3rem}}
.hero .display{color:var(--field-ink)}
.hero__sub{margin:1.5rem 0 0;max-width:34ch;font-size:clamp(1.1rem,1.5vw,1.3125rem);line-height:1.5;color:var(--muted-field);letter-spacing:-.012em}
.hero__cred{
  font-family:var(--mono);font-size:.72rem;letter-spacing:.06em;line-height:1.7;
  color:var(--muted-field);margin:0 0 1.9rem;padding-top:1.4rem;
  border-top:1px solid var(--rule-field);max-width:62ch;
}
.hero__cta{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}

/* artefact stack — placeholder for the sizzle reel */
.plates{position:relative;aspect-ratio:4/3;width:100%}
.plate{
  position:absolute;inset:0;border:1px solid var(--rule-field);
  background:var(--field-2);border-radius:3px;overflow:hidden;
  box-shadow:0 24px 60px -20px rgba(0,0,0,.55);
  opacity:0;transform:translate(0,0) scale(.94);z-index:1;
  transition:opacity .9s var(--ease),transform .9s var(--ease);
}
/* z-order matters: the front plate is not last in the DOM, so without this the
   back plates render over it and their text bleeds through. */
.plate.is-far{opacity:.2;transform:translate(11.5%,-13%) scale(.9);z-index:2}
.plate.is-back{opacity:.42;transform:translate(6%,-7%) scale(.95);z-index:3}
.plate.is-on{opacity:1;transform:translate(0,0) scale(1);z-index:4}
.plate__label{
  position:absolute;left:0;bottom:0;right:0;
  font-family:var(--mono);font-size:.75rem;letter-spacing:.08em;
  color:var(--muted-field);padding:.7rem .9rem;
  border-top:1px solid var(--rule-field);
  display:flex;justify-content:space-between;background:rgba(0,0,0,.2)
}
.plate svg{width:100%;height:100%;display:block}
.plates__cap{
  margin-top:1.1rem;font-family:var(--mono);font-size:.68rem;
  letter-spacing:.07em;color:var(--muted-field);text-align:right
}

/* ---- 8 · Credential strip --------------------------------- */
.creds{border-block:1px solid var(--rule);background:var(--paper)}
.creds__in{display:grid;grid-template-columns:repeat(4,1fr);max-width:var(--max);margin:0 auto;padding-inline:var(--gut)}
.creds__i{padding:1.75rem 1.5rem;border-right:1px solid var(--rule);font-size:.9375rem;line-height:1.4;color:var(--ink-2)}
.creds__i:last-child{border-right:0}
.creds__i:first-child{padding-left:0}
.creds__i b{display:block;font-family:var(--mono);font-size:.75rem;letter-spacing:.09em;color:var(--clay-text);font-weight:400;margin-bottom:.5rem}
@media(max-width:860px){
  .creds__in{grid-template-columns:repeat(2,1fr)}
  .creds__i{padding:1.25rem 1.25rem 1.25rem 0;border-bottom:1px solid var(--rule)}
  .creds__i:nth-child(2n){border-right:0}
  .creds__i:nth-last-child(-n+2){border-bottom:0}
}
@media(max-width:520px){
  .creds__in{grid-template-columns:1fr}
  .creds__i{border-right:0}
  .creds__i:last-child{border-bottom:0}
}

/* ---- 9 · Format cards ------------------------------------- */
.fmts{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--rule);border:1px solid var(--rule)}
@media(max-width:940px){.fmts{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.fmts{grid-template-columns:1fr}}
.fmt{background:var(--paper);padding:clamp(1.5rem,2.6vw,2.15rem);display:flex;flex-direction:column;gap:1rem;transition:background .25s var(--ease)}
.fmt:hover{background:var(--paper-2)}
.fmt__ico{width:44px;height:44px;color:var(--ink-2)}
.fmt:not(:has(.fmt__ico))::before{content:'';height:44px;flex:none}
.fmt__ico svg{width:100%;height:100%}
.fmt p{margin:0;color:var(--ink-2);font-size:.9688rem;line-height:1.55}
.fmt__meta{margin-top:auto;padding-top:1rem;border-top:1px solid var(--rule);display:flex;justify-content:space-between;gap:1rem;font-family:var(--mono);font-size:.72rem;letter-spacing:.04em;color:var(--muted)}
.fmt__meta b{color:var(--ink);font-weight:500}

/* ---- 10 · Steps ------------------------------------------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.5rem,3vw,3rem);counter-reset:s}
@media(max-width:860px){.steps{grid-template-columns:1fr}}
.step{border-top:2px solid var(--clay);padding-top:1.25rem}
.step__n{font-family:var(--mono);font-size:.8125rem;letter-spacing:.09em;color:var(--clay-text);margin-bottom:.75rem}
.step p:not([class]){margin:.6rem 0 0;color:var(--ink-2);font-size:1.0313rem}
.field .step p{color:var(--muted-field)}

/* ---- 11 · Work cards -------------------------------------- */
.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(1.25rem,2.4vw,2rem)}
@media(max-width:860px){.cards{grid-template-columns:1fr}}
.card{
  border:1px solid var(--rule);background:var(--paper);
  display:flex;flex-direction:column;transition:border-color .25s var(--ease),transform .25s var(--ease);
}
.card:hover{border-color:var(--ink);transform:translateY(-2px)}
.field .card{background:var(--field-2);border-color:var(--rule-field)}
.field .card:hover{border-color:var(--field-ink)}
.card__top{padding:clamp(1.4rem,2.4vw,2rem);flex:1;display:flex;flex-direction:column;gap:.9rem}
.card__kick{font-family:var(--mono);font-size:.8125rem;letter-spacing:.09em;color:var(--clay-text)}
.card p:not([class]){margin:0;color:var(--ink-2);font-size:1.0313rem;line-height:1.55}
.field .card p{color:var(--muted-field)}
.card__foot{padding:1rem clamp(1.4rem,2.4vw,2rem);border-top:1px solid var(--rule);font-family:var(--mono);font-size:.75rem;letter-spacing:.05em;color:var(--muted);display:flex;justify-content:space-between;gap:1rem}
.field .card__foot{border-top-color:var(--rule-field)}

/* ---- 12 · Spec / fact block ------------------------------- */
.spec{
  font-family:var(--mono);font-size:.78rem;line-height:1.7;letter-spacing:.01em;
  border:1px solid var(--rule);background:var(--paper-2);
  padding:1.15rem 1.3rem;display:grid;gap:.45rem;
}
.field .spec{background:var(--field-2);border-color:var(--rule-field)}
.spec div{display:grid;grid-template-columns:6.5rem 1fr;gap:.75rem}
.spec dt,.spec b{color:var(--muted);font-weight:400}
.spec span{color:var(--ink)}
.field .spec span{color:var(--field-ink)}
@media(max-width:520px){.spec div{grid-template-columns:1fr;gap:0}}

/* ---- 13 · Price table ------------------------------------- */
.ptab{width:100%;border-collapse:collapse;font-size:.9688rem}
.ptab th,.ptab td{text-align:left;padding:1.1rem 1rem 1.1rem 0;border-bottom:1px solid var(--rule);vertical-align:top}
.ptab th{font-family:var(--mono);font-size:.75rem;letter-spacing:.09em;color:var(--muted);font-weight:400;padding-bottom:.75rem}
.ptab td:last-child,.ptab th:last-child{text-align:right;padding-right:0;font-variant-numeric:tabular-nums;white-space:nowrap}
.ptab tr:last-child td{border-bottom:0}
.ptab .n{font-weight:600;letter-spacing:-.015em}
.ptab td:last-child{color:var(--clay-text)}
.ptab small{display:block;color:var(--muted);font-size:.875rem;margin-top:.3rem;font-weight:400}

/* ---- 14 · Pull quote / law -------------------------------- */
.law{
  border-left:3px solid var(--clay);padding:.4rem 0 .4rem 1.5rem;
  font-family:var(--serif);font-variation-settings:var(--serif-34);font-size:clamp(1.4rem,2.6vw,2rem);
  line-height:1.22;letter-spacing:-.018em;margin:0;
}
.law cite{display:block;font-family:var(--mono);font-style:normal;font-size:.72rem;letter-spacing:.09em;color:var(--muted);margin-top:1rem}

/* ---- 15 · Reveal (JS-conditional — never CSS-only) -------- */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .55s var(--ease),transform .55s var(--ease)}
.js .reveal.is-in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  .js .reveal{opacity:1!important;transform:none!important;transition:none!important}
  html{scroll-behavior:auto}
  *{animation-duration:.001ms!important;transition-duration:.001ms!important}
}

/* ---- 16 · Utilities --------------------------------------- */
.stack{display:grid;gap:1.5rem}
.stack--sm{gap:.85rem}
.stack--lg{gap:2.5rem}
.row{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}
.mt-l{margin-top:clamp(2.5rem,5vw,4rem)}
.mt-m{margin-top:clamp(1.5rem,3vw,2.5rem)}
.center{text-align:center}
.skip{position:absolute;left:-9999px}
.skip:focus{left:var(--gut);top:.75rem;z-index:99;background:var(--clay);color:#fff;padding:.7rem 1.1rem;border-radius:2px}
:focus-visible{outline:2px solid var(--clay);outline-offset:3px}

/* ============================================================
   17 · The brief flow
   Progressive enhancement: the questions are real markup and
   work as a plain form with JS off. JS turns them into one
   screen at a time and prices the job at the end.
   ============================================================ */
.brief{min-height:calc(100vh - 66px);display:flex;flex-direction:column;background:var(--paper)}
.brief__rail{height:3px;background:var(--rule);position:sticky;top:66px;z-index:40}
.brief__rail i{display:block;height:100%;width:0;background:var(--clay);transition:width .45s var(--ease)}
.brief__in{flex:1;display:flex;align-items:flex-start;padding-block:clamp(2.5rem,6vw,5rem)}
.brief__in>.wrap{width:100%}

.q{border:0;margin:0;padding:0;min-width:0}
.q+.q{margin-top:clamp(3rem,6vw,5rem)}
.brief--js .q{display:none}
.brief--js .q.is-live{display:block;animation:qIn .4s var(--ease) both}
@keyframes qIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.brief--js .q.is-live{animation:none}}

.q__n{font-family:var(--mono);font-size:.72rem;letter-spacing:.09em;color:var(--clay-text);margin-bottom:1rem;display:block}
.q__t{font-family:var(--serif);font-variation-settings:var(--serif-60);font-weight:400;font-size:clamp(1.85rem,3.6vw,2.85rem);line-height:1.08;letter-spacing:-.02em;padding:0;max-width:20ch}
.q__why{margin:1rem 0 0;color:var(--muted);font-size:.9375rem;max-width:52ch}

.opts{display:grid;gap:.6rem;margin-top:clamp(1.75rem,3.5vw,2.5rem);max-width:640px}
.opt{position:relative;display:block;cursor:pointer}
.opt input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;margin:0}
.opt__box{
  display:flex;align-items:center;gap:.9rem;
  border:1px solid var(--rule);background:var(--paper);
  padding:.95rem 1.15rem;border-radius:2px;
  transition:border-color .18s var(--ease),background .18s var(--ease);
}
.opt:hover .opt__box{border-color:var(--ink-2)}
.opt input:focus-visible+.opt__box{outline:2px solid var(--clay);outline-offset:2px}
.opt input:checked+.opt__box{border-color:var(--clay);background:color-mix(in srgb,var(--clay) 6%,var(--paper))}
.opt__k{
  font-family:var(--mono);font-size:.7rem;color:var(--muted);
  border:1px solid var(--rule);border-radius:2px;
  width:22px;height:22px;display:grid;place-items:center;flex:none;
}
.opt input:checked+.opt__box .opt__k{border-color:var(--clay);color:var(--clay)}
.opt__t{font-size:1rem;letter-spacing:-.008em;line-height:1.35}

.field-in{
  width:100%;max-width:640px;margin-top:1.25rem;
  border:1px solid var(--rule);background:var(--paper);
  padding:.9rem 1.1rem;border-radius:2px;font:inherit;color:var(--ink);
}
.field-in:focus{outline:2px solid var(--clay);outline-offset:1px;border-color:var(--clay)}
textarea.field-in{min-height:120px;resize:vertical}
.contact{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-width:760px;margin-top:1.75rem}
@media(max-width:700px){.contact{grid-template-columns:1fr}}
.contact .field-in{margin-top:0}
.lbl{font-family:var(--mono);font-size:.75rem;letter-spacing:.08em;color:var(--muted);display:block;margin-bottom:.5rem}

.brief__nav{display:flex;gap:1rem;align-items:center;margin-top:clamp(2rem,4vw,3rem);flex-wrap:wrap}
.brief__hint{font-family:var(--mono);font-size:.75rem;letter-spacing:.06em;color:var(--muted);margin-left:auto}
@media(max-width:600px){.brief__hint{display:none}}
.brief--js .brief__submit{display:none}

/* estimate */
.est{display:none}
.est.is-live{display:block;animation:qIn .5s var(--ease) both}
.est__head{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(2rem,5vw,4rem);align-items:start}
@media(max-width:860px){.est__head{grid-template-columns:1fr}}
.est__price{font-family:var(--serif);font-variation-settings:var(--serif-display);font-size:clamp(2.6rem,6vw,4.5rem);line-height:1;letter-spacing:-.025em;margin:.5rem 0 0;font-variant-numeric:tabular-nums}
.est__cur{font-family:var(--mono);font-size:.8rem;letter-spacing:.1em;color:var(--muted);display:block;margin-bottom:.4rem}
.est__note{border-left:3px solid var(--clay);padding-left:1.15rem;margin-top:1.75rem;color:var(--ink-2);font-size:.9688rem;max-width:52ch}
.est__cols{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(1.5rem,3vw,2.5rem);margin-top:clamp(2rem,4vw,3rem)}
@media(max-width:760px){.est__cols{grid-template-columns:1fr}}
.est__cols h4{font-family:var(--mono);font-size:.7rem;letter-spacing:.09em;color:var(--muted);font-weight:400;margin:0 0 .9rem}
.est__cols ul{margin:0;padding:0 0 0 1.1rem;display:grid;gap:.45rem;font-size:.9688rem;color:var(--ink-2)}
.ans{margin-top:clamp(2.5rem,5vw,3.5rem);border-top:1px solid var(--rule);padding-top:1.5rem}
.ans dl{margin:0;display:grid;gap:.55rem;font-size:.875rem}
.ans dl>div{display:grid;grid-template-columns:15rem 1fr;gap:1rem;font-family:var(--mono);font-size:.75rem;line-height:1.6}
.ans dt{color:var(--muted)}
.ans dd{margin:0;color:var(--ink)}
@media(max-width:640px){.ans dl>div{grid-template-columns:1fr;gap:.15rem}}

@media print{
  .hdr,.ftr,.brief__rail,.brief__nav,.est__actions{display:none!important}
  body{background:#fff}
  .est{display:block!important}
}

/* --- brief fixes ------------------------------------------- */
/* a <legend> is rendered first whatever the DOM order, so the question
   number has to live inside it */
.q__lg{display:block;width:100%;padding:0;float:none}
.q__lg .q__t{display:block}
/* the heading is focused programmatically for screen readers; the ring
   belongs on real controls, not on a heading */
[tabindex="-1"]:focus{outline:none}
/* .brief__nav{display:flex} outranks the UA [hidden] rule, so the controls
   stayed visible on the estimate screen */
[hidden]{display:none!important}
.brief__in{align-items:center}

/* ============================================================
   18 · Long-form article (teardowns and notes)
   ============================================================ */
.art{padding-block:clamp(3rem,6vw,5rem) clamp(4rem,8vw,7rem)}
.art__hd{max-width:20ch}
.art h1{font-family:var(--serif);font-variation-settings:var(--serif-display);font-weight:400;font-size:clamp(2.5rem,5.5vw,4.4rem);line-height:1.02;letter-spacing:-.024em;margin:0}
.answer{
  font-size:clamp(1.15rem,1.65vw,1.4rem);line-height:1.5;letter-spacing:-.012em;
  color:var(--ink);border-left:3px solid var(--clay);padding-left:clamp(1.15rem,2vw,1.6rem);
  max-width:60ch;margin:clamp(2rem,4vw,3rem) 0 0;
}
.art__body{max-width:32em;font-size:1.1875rem;line-height:1.65}
.art__body p{margin:0 0 1.2em}
.art__body h2{font-family:var(--serif);font-variation-settings:var(--serif-60);font-weight:400;font-size:clamp(1.9rem,3.4vw,2.7rem);line-height:1.08;letter-spacing:-.02em;margin:clamp(3rem,6vw,4.5rem) 0 1.25rem;max-width:20ch}
.art__body h3{font-family:var(--sans);font-weight:600;font-size:1.1875rem;letter-spacing:-.012em;margin:2.25rem 0 .6rem}
.art__body ul,.art__body ol{margin:0 0 1.2em;padding-left:1.15rem;display:grid;gap:.5rem}
.art__body strong{font-weight:600}
.art__body a:not(.tlink):not(.btn){border-bottom:1px solid var(--rule);transition:border-color .2s var(--ease)}
.art__body a:not(.tlink):not(.btn):hover{border-bottom-color:var(--clay);color:var(--clay)}
.finding{border-top:1px solid var(--rule);padding-top:1.15rem;margin-top:2rem}
.finding__n{font-family:var(--mono);font-size:.8125rem;letter-spacing:.09em;color:var(--clay-text);display:block;margin-bottom:.55rem}
.src{font-family:var(--mono);font-size:.75rem;line-height:1.8;color:var(--muted);display:grid;gap:.4rem}
.src a{border-bottom:1px solid var(--rule)}
.src a:hover{color:var(--clay);border-bottom-color:var(--clay)}

/* ============================================================
   19 · Rebuilt slides + the schematic toggle
   ============================================================ */
.rb{margin-top:clamp(2rem,4vw,3rem)}
.rb+.rb{margin-top:clamp(3.5rem,7vw,5.5rem)}
.rb__hd{display:flex;flex-wrap:wrap;gap:1rem;align-items:baseline;justify-content:space-between;margin-bottom:1rem}
.rb__t{font-family:var(--sans);font-weight:600;font-size:1.0625rem;letter-spacing:-.01em;margin:0}
.seg{display:inline-flex;border:1px solid var(--rule);border-radius:2px;overflow:hidden;flex:none}
.seg button{font-family:var(--mono);font-size:.68rem;letter-spacing:.06em;padding:.5rem .85rem;color:var(--muted);transition:background .18s var(--ease),color .18s var(--ease)}
.seg button+button{border-left:1px solid var(--rule)}
.seg button[aria-pressed="true"]{background:var(--clay);color:#fff}
.rb__cap{font-family:var(--mono);font-size:.75rem;letter-spacing:.05em;color:var(--muted);margin:.85rem 0 0}

.slide{
  aspect-ratio:16/9;width:100%;position:relative;overflow:hidden;
  background:var(--paper);border:1px solid var(--rule);
  container-type:inline-size;
}
.slide[hidden]{display:none!important}
.slide--dark{background:var(--field);color:var(--field-ink);border-color:var(--field)}
.sl{position:absolute;inset:0;padding:5.2cqw 6cqw;display:flex;flex-direction:column}
.sl__eye{font-family:var(--mono);font-size:1.35cqw;letter-spacing:.12em;color:var(--muted)}
.slide--dark .sl__eye{color:var(--muted-field)}
.sl__h{font-family:var(--serif);font-variation-settings:var(--serif-60);font-weight:400;font-size:5.6cqw;line-height:1.02;letter-spacing:-.022em;margin:1.6cqw 0 0}
.sl__h--big{font-size:7.4cqw}
.sl__sub{font-size:2.05cqw;line-height:1.42;color:var(--ink-2);margin:2.2cqw 0 0;max-width:46cqw}
.slide--dark .sl__sub{color:var(--muted-field)}
.sl__foot{margin-top:auto;display:flex;justify-content:space-between;gap:2cqw;font-family:var(--mono);font-size:1.3cqw;letter-spacing:.08em;color:var(--muted);padding-top:2.5cqw;border-top:1px solid var(--rule)}
.slide--dark .sl__foot{color:var(--muted-field);border-top-color:var(--rule-field)}
.sl__rule{height:.35cqw;background:var(--clay);width:12cqw;margin:2.6cqw 0 0}

/* the chain: each cell's output is the next cell's input */
.chain{display:flex;align-items:stretch;gap:1.2cqw;margin-top:3.4cqw;flex:1;max-height:32cqw}
.chain__c{flex:1;border:1px solid var(--rule);padding:1.9cqw 1.7cqw;display:flex;flex-direction:column;justify-content:space-between;gap:.9cqw;min-width:0}
.chain__c--out{border-color:var(--clay);background:color-mix(in srgb,var(--clay) 8%,transparent)}
.chain__l{font-family:var(--mono);font-size:1.15cqw;letter-spacing:.07em;color:var(--muted);line-height:1.4}
.chain__v{font-size:3.1cqw;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1}
.chain__c--out .chain__v{color:var(--clay)}
.chain__op{align-self:center;font-family:var(--mono);font-size:2.1cqw;color:var(--muted);flex:none}

/* two-sided split */
.split{display:grid;grid-template-columns:1fr 1fr;gap:2.4cqw;margin-top:3.2cqw;flex:1}
.split__c{border-top:.35cqw solid var(--clay);padding-top:1.6cqw;display:flex;flex-direction:column;gap:1.1cqw}
.split__l{font-family:var(--mono);font-size:1.3cqw;letter-spacing:.09em;color:var(--clay-text)}
.slide--dark .split__l,.slide--dark .range__c--up .range__v,.slide--dark .sl__eye b{color:var(--clay-field)}
.split__h{font-family:var(--serif);font-variation-settings:var(--serif-34);font-size:3.2cqw;line-height:1.08;letter-spacing:-.02em}
.split ul{margin:0;padding-left:1.6cqw;display:grid;gap:.85cqw;font-size:1.75cqw;line-height:1.4;color:var(--ink-2)}
.slide--dark .split ul{color:var(--muted-field)}

/* outcome range */
.range{display:grid;grid-template-columns:1fr 1fr;gap:2.6cqw;margin-top:3.4cqw;flex:1;align-content:start}
.range__c{padding:2cqw 2.2cqw;border:1px solid var(--rule)}
.range__c--up{border-color:var(--clay)}
.range__l{font-family:var(--mono);font-size:1.25cqw;letter-spacing:.09em;color:var(--muted)}
.range__v{font-size:4.4cqw;font-weight:600;letter-spacing:-.03em;line-height:1;margin-top:1.1cqw}
.range__c--up .range__v{color:var(--clay)}
.range__d{font-size:1.7cqw;line-height:1.4;color:var(--ink-2);margin-top:1.2cqw}
.slide--dark .range__d{color:var(--muted-field)}

/* running order map */
.order{display:flex;gap:.55cqw;margin-top:3cqw;align-items:flex-end;height:16cqw}
.order i{flex:1;background:var(--rule);border-radius:.2cqw;height:35%}
.order i.k{background:var(--ink);height:100%}
.order i.m{background:var(--clay);height:100%}
.order__key{display:flex;gap:2.4cqw;margin-top:1.6cqw;font-family:var(--mono);font-size:1.2cqw;letter-spacing:.06em;color:var(--muted)}
.order__key b{font-weight:400;display:inline-flex;align-items:center;gap:.7cqw}
.order__key b::before{content:'';width:1.4cqw;height:1.4cqw;background:var(--rule)}
.order__key b.k::before{background:var(--ink)}
.order__key b.m::before{background:var(--clay)}

/* the schematic: our own diagram of what the original carried — never a copy */
.schem{position:absolute;inset:0;padding:5.2cqw 6cqw;display:flex;flex-direction:column;background:var(--paper-2)}
.schem__t{font-family:var(--mono);font-size:1.3cqw;letter-spacing:.1em;color:var(--muted);margin-bottom:2.4cqw}
.schem__b{flex:1;display:grid;gap:1.4cqw;align-content:start}
.schem__r{border:1px dashed color-mix(in srgb,var(--ink) 26%,transparent);padding:1.5cqw 1.7cqw;font-family:var(--mono);font-size:1.5cqw;line-height:1.45;color:var(--ink-2)}
.schem__r b{color:var(--muted);font-weight:400;letter-spacing:.07em;font-size:1.15cqw;display:block;margin-bottom:.5cqw}
.schem__n{margin-top:auto;font-family:var(--mono);font-size:1.2cqw;color:var(--muted);padding-top:2cqw}

/* provenance table, used on a rebuilt slide */
.prov{margin-top:3cqw;flex:1;display:grid;align-content:start;gap:0}
.prov__r{display:grid;grid-template-columns:1.5fr 1fr 1.6fr;gap:2cqw;padding:1.5cqw 0;border-bottom:1px solid var(--rule);align-items:baseline}
.prov__r:first-child{border-bottom-color:var(--ink)}
.prov__r:first-child span{font-family:var(--mono);font-size:1.15cqw;letter-spacing:.09em;color:var(--muted)}
.prov__k{font-size:1.85cqw;line-height:1.3}
.prov__v{font-size:2.5cqw;font-weight:600;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.prov__s{font-family:var(--mono);font-size:1.3cqw;line-height:1.5;color:var(--muted)}
.prov__r--imp .prov__v,.prov__r--imp .prov__s{color:var(--clay-text)}

/* ============================================================
   20 · Currency switcher
   HKD is the billing currency and sits in the HTML; JS converts on top.
   ============================================================ */
.cursel{
  font-family:var(--mono);font-size:.72rem;letter-spacing:.04em;
  color:var(--ink);background:var(--paper);border:1px solid var(--rule);
  padding:.45rem 1.9rem .45rem .6rem;border-radius:2px;max-width:100%;
  appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%237A7268' stroke-width='1.4'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .6rem center;background-size:10px;
}
.cursel:hover{border-color:var(--ink-2)}
.field .cursel{background-color:var(--field-2);border-color:var(--rule-field);color:var(--field-ink)}
.curnote{font-family:var(--mono);font-size:.75rem;letter-spacing:.04em;color:var(--muted);line-height:1.6;margin:.75rem 0 0}
.curbar{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-top:1rem}
.curbar__l{font-family:var(--mono);font-size:.75rem;letter-spacing:.08em;color:var(--muted)}

/* ============================================================
   21 · Mobile
   ============================================================ */
@media(max-width:760px){
  .hdr__in{gap:.6rem;height:60px}
  .mark{font-size:1.25rem}
  .nav{gap:1rem}
  .nav a:not(.btn){font-size:.8125rem}
  .btn--sm{padding:.5rem .8rem;font-size:.8125rem;white-space:nowrap}
}
/* Notes and About stay in the footer on a phone so the bar does not scroll */
@media(max-width:620px){
  .nav a[href$="notes/"],.nav a[href$="about.html"]{display:none}
}
@media(max-width:700px){
  /* the far plate ran past the viewport and was guillotined by overflow:hidden */
  .plate.is-far{transform:translate(5%,-8%) scale(.92)}
  .plate.is-back{transform:translate(2.5%,-4%) scale(.96)}
  .hero{padding-block:3rem 3.5rem}
  .hero__sub{margin:1.25rem 0 2rem}
  .hero__cta{gap:.85rem}
  .plates{aspect-ratio:5/4}
  .plates__cap{text-align:left}
  .ptab thead{display:none}
  .ptab tr{display:grid;grid-template-columns:1fr auto;gap:.15rem 1rem;padding:1.1rem 0;border-bottom:1px solid var(--rule)}
  .ptab td{border:0;padding:0}
  .ptab td:nth-child(2){grid-column:1;font-family:var(--mono);font-size:.72rem;letter-spacing:.06em;color:var(--muted);order:3}
  .ptab td:last-child{grid-row:1;grid-column:2;text-align:right}
  .est__head{gap:1.75rem}
  .law{font-size:1.35rem;padding-left:1.1rem}
  .art h1,.h1,.h2,.q__t{overflow-wrap:break-word}
}
/* A rebuilt slide stays 16:9 — that is the artefact. On a narrow screen it
   scrolls inside its own frame rather than shrinking to unreadable. */
.slide-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:720px){
  .slide-scroll .slide{min-width:620px}
  .slide-scroll::after{content:''}
  .rb__swipe{display:block}
}
.rb__swipe{display:none;font-family:var(--mono);font-size:.68rem;letter-spacing:.06em;color:var(--muted);margin:.6rem 0 0}
@media(max-width:480px){
  .fmt__meta{flex-direction:column;gap:.35rem}
  .brief__nav{gap:.75rem}
  .btn{padding:.85rem 1.3rem}
  .est__cols{gap:1.75rem}
}

/* ============================================================
   22 · Reconstruction panels
   Our own redraw of an original slide's layout, for criticism.
   Never the source file: nothing here is copied artwork.
   ============================================================ */
.recon{position:absolute;inset:0;background:#DEF2FB;padding:3.4cqw 3.6cqw;display:flex;flex-direction:column}
.recon__bar{display:flex;align-items:baseline;justify-content:space-between;padding:0 1.6cqw 2.2cqw}
.recon__ttl{font-family:var(--sans);font-weight:600;font-size:4.6cqw;color:#29ABE2;letter-spacing:-.01em}
.recon__no{font-family:var(--sans);font-weight:600;font-size:4.2cqw;color:#29ABE2}
.recon__card{flex:1;background:#fff;border-radius:1.6cqw;padding:3cqw;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2cqw}
.recon__lede{font-family:var(--sans);font-size:2.6cqw;color:#3A3A3A;text-align:center}
.recon__row{display:flex;align-items:flex-end;justify-content:center;gap:2.2cqw;width:100%}
.recon__i{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.8cqw;text-align:center;min-width:0}
.recon__dot{background:#EF5B25;border-radius:50%;display:grid;place-items:center;color:#fff;font-family:var(--sans);font-weight:600;letter-spacing:-.02em}
.recon__big{font-family:var(--sans);font-weight:700;font-size:4.6cqw;color:#EF5B25;letter-spacing:-.03em;white-space:nowrap}
.recon__k{font-family:var(--sans);font-weight:600;font-size:2.15cqw;color:#333;letter-spacing:-.01em}
.recon__s{font-family:var(--sans);font-size:1.7cqw;color:#555}
.recon__f{font-family:var(--sans);font-size:1.15cqw;color:#888;max-width:22cqw;line-height:1.35}
.recon__ar{color:#777;font-size:2.6cqw;line-height:1;align-self:center;margin-bottom:6cqw;flex:none}
.recon__ft{font-family:var(--sans);font-size:1.15cqw;color:#7FCCE8;text-align:center;padding-top:1.8cqw}
.recon__note{
  position:absolute;left:1.6cqw;bottom:1.6cqw;
  font-family:var(--mono);font-size:1.1cqw;letter-spacing:.06em;
  color:#5E8DA1;background:rgba(255,255,255,.85);padding:.5cqw .9cqw;border-radius:.3cqw;
}

/* ============================================================
   23 · Emphasis layer
   Three signals, three meanings, learnable in one paragraph:
   clay text = clickable · bold = emphasis · clay bold = the derived figure.
   ============================================================ */
.art__body strong{font-weight:600;letter-spacing:-.012em}
.art__body .fig{font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.02em;white-space:nowrap}
.art__body .fig--key{color:var(--clay-text)}

/* inline article links were the same ink as body copy, with a 1.28:1 underline */
.art__body a:not(.tlink):not(.btn){
  color:var(--clay-text);
  border-bottom:1px solid color-mix(in srgb,var(--clay) 55%,transparent);
  transition:border-color .2s var(--ease);
}
.art__body a:not(.tlink):not(.btn):hover{color:var(--clay-deep);border-bottom-color:var(--clay-deep)}

/* headings were breaking to one-word last lines at 70px */
.display,.h1,.h2,.h3,.art h1,.art__hd,.art__body h2,.art__body h3,.q__t,.sl__h{text-wrap:balance}
.lead,.answer,.art__body p,.hero__sub,.fmt p,.card p,.step p{text-wrap:pretty}

/* six mono blocks inherited the body's negative tracking; mono needs positive */
.ans dl>div,.src,.chain__op,.schem__r,.schem__n,.prov__s,.recon__note{letter-spacing:.04em}

/* ============================================================
   24 · Motion corrections
   ============================================================ */
/* the reveal sat on 600px containers, so a whole slab faded as one unit
   before it was readable */
.js .reveal>*{opacity:0;transform:translateY(12px);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.js .reveal.is-in>*{opacity:1;transform:none}
.js .reveal.is-in>*:nth-child(2){transition-delay:60ms}
.js .reveal.is-in>*:nth-child(3){transition-delay:120ms}
.js .reveal.is-in>*:nth-child(4){transition-delay:180ms}
.js .reveal.is-in>*:nth-child(5){transition-delay:240ms}
.js .reveal.is-in>*:nth-child(n+6){transition-delay:300ms}

/* the schematic/rebuild toggle was a hard cut: the button animated and the
   thing it controlled did not. Both panels are the same 16:9 box, so a
   crossfade cannot shift layout. `hidden` stays for the no-JS stack. */
.rb--js{display:grid}
.rb--js>.rb__hd{grid-row:1}
.rb--js>.slide-scroll{grid-row:2;grid-column:1;opacity:0;transition:opacity .28s var(--ease);pointer-events:none}
.rb--js>.slide-scroll.is-on{opacity:1;pointer-events:auto}
.rb--js>.rb__cap{grid-row:3}

/* nothing acknowledged a press, anywhere */
.btn:active,.seg button:active{transform:translateY(0);transition-duration:60ms}
.card:active{transform:translateY(0)}

/* reading progress on the long articles */
.readrail{position:fixed;left:0;right:0;top:0;height:2px;background:transparent;z-index:70;pointer-events:none}
.readrail i{display:block;height:100%;width:0;background:var(--clay)}

@media(hover:none){
  .btn:hover{transform:none}
  .card:hover{transform:none}
  .tlink:hover svg{transform:none}
}
@media(prefers-reduced-motion:reduce){
  .js .reveal>*{opacity:1!important;transform:none!important;transition:none!important}
  .rb--js>.slide-scroll{transition:none}
}

/* the margin lane was 34% of the canvas and empty down the whole article */
.c-marg--rail{position:sticky;top:calc(66px + 2rem);align-self:start}
@media(max-width:900px){.c-marg--rail{position:static}}

/* ============================================================
   25 · Laptop-first
   Most of these readers are on a 1440x800 or 1512x982 laptop, so the
   usable fold is ~700-800px, not 900. The hero is built to that, and the
   horizontal space the laptop does have gets used.
   ============================================================ */
.hero{padding-block:clamp(1.75rem,3vw,2.75rem) clamp(2.25rem,3.5vw,3rem)}
.hero__grid{gap:clamp(2rem,4vw,3.5rem);align-items:center}
.display{font-size:clamp(2.55rem,5.2vw,4.8rem);line-height:1.04;letter-spacing:-.016em}
.hero__sub{font-size:clamp(1.05rem,1.35vw,1.1875rem);margin:1.25rem 0 0;max-width:38ch}
.hero__cred{margin:0 0 1.5rem;padding-top:1.2rem}
.plates{aspect-ratio:16/11}

/* Newsreader is a text serif: it wants a shade more leading than a grotesque */
body{font-size:1.0625rem;line-height:1.62;letter-spacing:0}
.art__body{font-size:1.1875rem;line-height:1.6}
/* Bricolage is a grotesque: it wants tighter tracking than the serif it replaced */
.display,.h1,.h2{letter-spacing:-.016em}
.h3,.sl__h{letter-spacing:-.012em}

/* ---- the section index: a fixed spine down the right edge ----
   It uses the laptop gutter the layout was throwing away, and it is the
   site quietly demonstrating the scroll-driven product it sells. */
.spine{
  position:fixed;right:max(.9rem,calc((100vw - var(--max))/2 - 2.6rem));
  top:50%;transform:translateY(-50%);z-index:50;
  display:none;flex-direction:column;gap:.1rem;
}
@media(min-width:1180px){.spine{display:flex}}
.spine a{
  display:flex;align-items:center;gap:.6rem;justify-content:flex-end;
  font-family:var(--mono);font-size:.6875rem;letter-spacing:.1em;
  color:var(--muted);padding:.38rem 0;
  transition:color .22s var(--ease);
}
.spine__n{opacity:.55;transition:opacity .22s var(--ease)}
.spine__t{
  max-width:0;overflow:hidden;white-space:nowrap;text-align:right;
  opacity:0;transition:max-width .32s var(--ease),opacity .22s var(--ease);
}
.spine:hover .spine__t{max-width:12rem;opacity:1}
.spine a:hover,.spine a[aria-current]{color:var(--clay-text)}
.spine a[aria-current] .spine__n{opacity:1}
.spine__b{width:14px;height:1px;background:currentColor;opacity:.4;flex:none;transition:width .28s var(--ease),opacity .22s var(--ease)}
.spine a[aria-current] .spine__b{width:26px;opacity:1}
.spine--onfield a{color:var(--muted-field)}
.spine--onfield a:hover,.spine--onfield a[aria-current]{color:var(--clay-field)}
@media(prefers-reduced-motion:reduce){.spine__t,.spine__b{transition:none}}

/* the price table was sitting in 9 of 12 columns with an near-empty margin */
@media(min-width:901px){
  .ptab--wide{width:100%}
  .ptab--wide td:first-child,.ptab--wide th:first-child{width:46%}
}

/* the accent as TYPE needs its light cut on the dark ground; .tlink and the
   inline article link were both using the paper cut and vanished on navy */
.field .tlink,.hero .tlink{color:var(--clay-field);border-bottom-color:color-mix(in srgb,var(--clay-field) 45%,transparent)}
.field .tlink:hover,.hero .tlink:hover{border-bottom-color:var(--clay-field)}

/* Bricolage ships no italic, so the emphasised word was a synthesised oblique.
   Set it in the reading serif's true italic instead: a grotesque display with
   one word in serif italic is the move, and it ties the two faces together. */
.it{font-family:var(--sans);font-style:italic;font-weight:400;letter-spacing:-.01em}

/* the spine was reading as specks: give it weight and a live label */
.spine a{font-size:.72rem}
.spine__n{opacity:.7}
.spine__b{opacity:.55}

/* the plate ground sat within a hair of the field, so the artefact read as a
   hole rather than an object */
.plate{background:#1E2542;border-color:rgba(233,231,224,.22)}
.plate__label{background:rgba(0,0,0,.28)}

/* the spine needs a live label, or it reads as specks in the gutter */
.spine a{padding:.42rem 0}

/* UI belongs to the grotesque; the serif is for reading */
.h4,.btn,.nav a,.opt__t,.field-in,.seg button,.mark,.rb__t,.est__cur,.ftr__cols h5{
  font-family:var(--ui);font-variation-settings:'wdth' 100;
}
.h4{font-weight:600;letter-spacing:-.015em}
.btn{font-weight:500}
.nav a:not(.btn){font-weight:400}
.opt__t{font-weight:400}
.mark{font-weight:600;font-variation-settings:'wdth' 100}

/* ============================================================
   26 · The referent system in use
   ============================================================ */
[data-cat]{--cat:var(--ink);--cat-t:var(--paper-2)}
[data-cat="raise"]{--cat:var(--cat-raise);--cat-t:var(--cat-raise-t)}
[data-cat="bid"]{--cat:var(--cat-bid);--cat-t:var(--cat-bid-t)}
[data-cat="board"]{--cat:var(--cat-board);--cat-t:var(--cat-board-t)}
[data-cat="fund"]{--cat:var(--cat-fund);--cat-t:var(--cat-fund-t)}
[data-cat="ai"]{--cat:var(--cat-ai);--cat-t:var(--cat-ai-t)}

.card[data-cat]{border-top:2px solid var(--cat)}
.card[data-cat] .card__kick{color:var(--cat)}
.art__hd+.answer[data-cat],.answer[data-cat]{border-left-color:var(--cat)}
.catlab{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--mono);font-size:.75rem;letter-spacing:.08em;color:var(--cat);
}
.catlab::before{content:'';width:9px;height:9px;background:var(--cat);flex:none}

/* an issue number asserts a run, which is what a portfolio substitute must do */
.issue{font-family:var(--mono);font-size:.75rem;letter-spacing:.09em;color:var(--muted)}
.issue b{color:var(--ink);font-weight:400}

/* the index row: name left, type and date right, hairline between.
   The single most transplantable structure for a studio with growing output. */
.idx{border-top:1px solid var(--ink);margin-top:1.25rem}
.idx a,.idx div{
  display:grid;grid-template-columns:1fr auto;gap:.4rem 2rem;align-items:baseline;
  padding:1.15rem 0;border-bottom:1px solid var(--rule);
  transition:background .18s var(--ease),padding-left .18s var(--ease);
}
.idx a:hover{background:var(--paper-2);padding-left:.6rem}
.idx__t{font-family:var(--ui);font-weight:600;font-size:1.0625rem;letter-spacing:-.012em}
.idx__m{font-family:var(--mono);font-size:.75rem;letter-spacing:.06em;color:var(--muted);white-space:nowrap}
.idx__s{grid-column:1/2;font-size:.9688rem;color:var(--ink-2);margin:0;max-width:62ch}
@media(max-width:640px){
  .idx a,.idx div{grid-template-columns:1fr}
  .idx__m{grid-row:3}
}

.slide[data-cat] .chain__c--out{border-color:var(--cat);background:color-mix(in srgb,var(--cat) 9%,transparent)}
.slide[data-cat] .chain__c--out .chain__v{color:var(--cat)}
.slide[data-cat] .sl__rule{background:var(--cat)}
.slide[data-cat] .split__c{border-top-color:var(--cat)}
.slide[data-cat] .split__l{color:var(--cat)}
.slide[data-cat] .range__c--up{border-color:var(--cat)}
.slide[data-cat] .range__c--up .range__v{color:var(--cat)}
.slide[data-cat] .order i.m{background:var(--cat)}
.slide[data-cat] .prov__r--imp .prov__v,.slide[data-cat] .prov__r--imp .prov__s{color:var(--cat)}

/* the action colour is ink, so on the ink ground the button inverts */
.field .btn:not(.btn--ghost),.hero .btn:not(.btn--ghost),.hdr--field .btn:not(.btn--ghost){
  background:var(--field-ink);color:var(--field);border-color:var(--field-ink);
}
.field .btn:not(.btn--ghost):hover,.hero .btn:not(.btn--ghost):hover,.hdr--field .btn:not(.btn--ghost):hover{
  background:#fff;border-color:#fff;color:var(--field);
}
.field .eyebrow b,.hero .eyebrow b{color:var(--field-ink);font-weight:500}
