/* The Brief (/the-brief/ and /the-brief/<slug>/): the journal home and the article.
   A port of the two prototypes in design_handoff_the_brief/ ("The Brief Home" and "The Brief Article", README.md), in the
   Atlas system: each rule here is the prototype's final value for that element, its layered passes folded into one.
   This sheet is the complete, still page: what no JavaScript and reduced motion show. the-brief/brief.js layers the motion
   on (html.motion) and sets any hidden starting state itself. Loaded after /project/project.css, whose cursor and the
   "Let's talk" ending (.p-cta, templates/lets-talk.html) the pages share with the case studies.
   Gold is never text on paper: small labels on paper are rust. Cormorant only at 24px and up; DM Sans at 16px and up on
   phones. The article is <article class="M1 F">, the home <div class="H1 FH">: the prototypes' own wrappers, kept so the
   two pages can share class names (.byl, .pl__no, .qc) and still differ where the designs do. */
:root {
  --night: #24050A;
  --found: #431B23;
  --found2: #55252F;
  --paper: #E9DECA;
  --paper2: #E1D3BB;
  --paper3: #F3ECDF;
  --metal: #C9A570;
  --metal-line: #B48C55;
  --gold-line: #D9A86E;
  --ink: #1E1517;
  --ink2: #57494A;
  --rust: #7A4626;
  --on2: rgba(233, 222, 202, .84);
  --rule: rgba(30, 21, 23, .16);
  --rule-d: rgba(233, 222, 202, .2);
  --stroke-d: rgba(201, 165, 112, .4);
  --gut: clamp(20px, 4.2vw, 72px);
  --maxw: 1544px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

/* ---------- Ground, type and the shared pieces ---------- */
html { background: var(--paper3); }   /* no grey flash between Brief pages */
body.brief { background: var(--paper3); color: var(--ink); font: 400 18px/28px var(--sans); }
:where(.M1, .H1, .un, .chip) :where(h1, h2, h3, p, ol, ul, figure, blockquote) { margin: 0; padding: 0; }   /* no weight: every class below wins */
:where(.M1, .H1, .un, .chip) :where(ol, ul) { list-style: none; }
.brief ::selection { background: rgba(201, 165, 112, .3); color: var(--ink); }
[hidden] { display: none !important; }
.lab { font: 500 12px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.d { font-family: var(--display); font-weight: 500; letter-spacing: -.012em; }
.d em { font-style: italic; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }   /* a set line, masked so it can rise */
.ln > span { display: block; }
@media (max-width: 899px) { h1 .ln, h1 .ln > span { display: inline; } .hh h1 { text-wrap: balance; } }   /* under 900px both titles wrap freely; the article's in balanced lines, so no word is left alone on one */
.arr { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pill { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font: 500 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .3s, color .3s, box-shadow .3s; }
.pill--gold { background: var(--metal); color: var(--night); }
.pill--gold:hover { background: var(--paper); }
.pill--ink { background: var(--found); color: var(--paper); }
.pill--ink:hover { background: var(--night); }
.lnk { position: relative; display: inline-flex; align-items: center; gap: 10px; font: 500 16px/24px var(--sans); color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap .4s var(--ease); }
.lnk::after { content: ""; position: absolute; inset: -9px 0; }   /* a 45px target around the underlined words */
.lnk:hover { gap: 16px; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 201; padding: 14px 20px; border-radius: 999px; background: var(--night); color: var(--paper); font: 500 15px/1 var(--sans); text-decoration: none; transition: top .3s; }
.skip:focus { top: 16px; }   /* over the first visit's privacy banner too (200), which can reach the top on a short landscape phone */
@media (max-width: 699px) { .skip { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .skip { transition: none; } }
/* focus: rust on paper, gold on the dark grounds; the menu, the ending and the footer keep their own */
.skip:focus-visible, .M1 :focus-visible, .H1 :focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.M1 :is(.bx, .tkp, .qc) :focus-visible, .H1 .qc :focus-visible, .chip :focus-visible, .un :focus-visible { outline: 2px solid var(--metal); outline-offset: 3px; }
.H1 .h1f__c:focus-visible { outline-offset: 5px; }
.M1 .mc:focus, .M1 .toc:focus, .M1 [data-place]:focus, .H1 #latest:focus { outline: 0; }   /* where the skip links land, and the reader's place Tab from the chip holds (brief.js); Tab from there shows the ring */
@media (pointer: fine) { .brief .pill:hover .arr, .brief .lnk:hover .arr { transform: translateX(4px); } .brief .pill .arr, .brief .lnk .arr { transition: transform .45s var(--ease); } }

/* ---------- The drawn artwork: the brand contour field and its one gold contour (no sun on any Brief artwork) ---------- */
.art { position: absolute; inset: 0; overflow: hidden; }
.art--paper { --al: rgba(67, 27, 35, .17); --ag: var(--metal-line); --glow: rgba(201, 165, 112, .55); }
.art--night { --al: rgba(201, 165, 112, .34); --ag: var(--gold-line); --glow: rgba(232, 184, 106, .7); background: var(--night); }
.art__fr { position: absolute; left: 50%; bottom: -1%; width: max(100%, 1100px); margin-left: calc(max(100%, 1100px) / -2); aspect-ratio: 1600 / 700; }
.art--tall .art__fr { left: 0; right: 0; top: -7%; bottom: 0; width: auto; margin: 0; aspect-ratio: auto; }
/* the covers (article and latest card) crop the tall drawing on narrow frames instead of squeezing its lines together */
.hm__c .art--tall .art__fr, .h1f__art .art--tall .art__fr { left: 50%; right: auto; width: max(100%, 900px); margin-left: calc(max(100%, 900px) / -2); }
.art__fr svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.art__fr svg.art__ln { overflow: hidden; }
.art__ln path { fill: none; stroke: var(--al); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.art__gd path { fill: none; stroke: var(--ag); stroke-width: 2.6; vector-effect: non-scaling-stroke; stroke-linecap: round; filter: drop-shadow(0 0 7px var(--glow)); }

/* ---------- Card plates: the theme's ground under the contour lines and the gold contour, drawn as CSS masks.
   The theme and --mx come from the build (brief.json plateThemes); the line spacing never shrinks (a small plate crops). ---------- */
.pl { position: absolute; inset: 0; overflow: hidden; background: var(--pb); color: var(--pt); }
.pl--night { --pb: #24050A; --pc: rgba(201, 165, 112, .4); --pg: #D9A86E; --pt: var(--paper); }
.pl--found { --pb: #431B23; --pc: rgba(233, 222, 202, .26); --pg: #D9A86E; --pt: var(--paper); }
.pl--found2 { --pb: #55252F; --pc: rgba(233, 222, 202, .22); --pg: #E9C48C; --pt: var(--paper); }
.pl--paper { --pb: #E9DECA; --pc: rgba(67, 27, 35, .3); --pg: #9A6438; --pt: var(--ink); }
.pl--paper2 { --pb: #E1D3BB; --pc: rgba(67, 27, 35, .26); --pg: #431B23; --pt: var(--ink); }
.pl--metal { --pb: #C9A570; --pc: rgba(36, 5, 10, .28); --pg: #24050A; --pt: var(--night); }
.pl__ln, .pl__g { position: absolute; inset: 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: auto max(150%, 620px); mask-size: auto max(150%, 620px); -webkit-mask-position: var(--mx) 40%; mask-position: var(--mx) 40%; }
.pl__ln { background: var(--pc); -webkit-mask-image: url(/assets/the-brief/plate-lines.svg); mask-image: url(/assets/the-brief/plate-lines.svg); }
.pl__g { background: var(--pg); -webkit-mask-image: url(/assets/the-brief/plate-gold.svg); mask-image: url(/assets/the-brief/plate-gold.svg); }
/* the plate's number sits on its own backing, so no contour runs through it */
.pl__no { position: absolute; left: 5.5%; bottom: 5.5%; z-index: 2; padding: 7px 10px 6px; margin: 0 0 -6px -10px; border-radius: 4px; background: var(--pb); color: var(--pt); }

/* ========== The article ========== */
.M1 { --gap: clamp(32px, 4vw, 72px); --measure: 860px; background: var(--paper3); color: var(--ink); }

/* The way back to The Brief: the journal's name in Cormorant beside a left arrow in a ring (the share buttons' ring), one link to the
   home. It opens the article (the folio, below), heads the rail while reading (a link of its own, next after the folio's in the tab
   order and before the contents) and closes an article that has no Up next; on phones and tablets the chip carries it. Under the
   pointer or the keyboard the ring fills with foundation and a hairline draws under the name; under a fine pointer the arrow steps
   back. The name itself never moves */
.bk__a { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding-right: 8px; border-radius: 999px; color: var(--found); text-decoration: none; }
.bk__c { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(67, 27, 35, .5); transition: background-color .35s, color .35s, box-shadow .35s; }
.bk__c .arr { transition: transform .45s var(--ease); }
.bk__t { padding-bottom: 4px; margin-bottom: -4px; font-size: 28px; line-height: 1; white-space: nowrap; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .55s var(--ease); }
.bk__a:is(:hover, :focus-visible) .bk__c { background: var(--found); color: var(--paper); box-shadow: none; }
.bk__a:is(:hover, :focus-visible) .bk__t { background-size: 100% 1px; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) { .bk__a:hover .bk__c .arr { transform: translateX(-3px); } }

/* 1 to 3. The folio (the way back, a hairline, the meta line: topic, date and read time), title, dek and byline. Under 900px the
   meta line sits under the way back */
.hh { padding-top: 124px; }
.hh__fo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 28px; }
.hh__fo > div { padding-left: 22px; border-left: 1px solid var(--rule); }
.hh__fo .bk__t { font-size: clamp(28px, 1.6vw, 32px); }
.ameta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; min-height: 24px; color: var(--ink2); }
.ameta > span { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.ameta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .55; }   /* dots, never a rule that reads as a dash */
.ameta__br { display: none; }
.hh h1 { font-size: clamp(64px, 9.6vw, 164px); line-height: .88; }
/* A title whose set lines fit a 320px phone at 32px (the build marks it .fit and gives its widest line in ems as --fit; FIT in
   build-brief.mjs) keeps those lines at every width, set no larger than its room allows, so a phone shows the lines the author set
   and none breaks on its own. Any other title, and a browser without container units, wraps freely under 900px as above */
@supports (width: 1cqi) {
  .hh [data-hero-in] { container-type: inline-size; }
  .hh h1.fit { font-size: max(32px, min(clamp(64px, 9.6vw, 164px), 98cqi / var(--fit))); }
  @media (max-width: 899px) { .hh h1.fit .ln, .hh h1.fit .ln > span { display: block; } }
}
.hh__ft { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-top: 40px; padding-bottom: 56px; }
.hh__ft > p { max-width: 42ch; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; color: var(--ink2); text-wrap: balance; }   /* the dek in even lines, its last word never alone */
.hh__by { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.byl { display: flex; align-items: center; gap: 14px; }
.byl img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.byl__n { font-weight: 500; }
.byl__r { font-size: 15px; line-height: 20px; opacity: .75; }
/* share: LinkedIn, email, copy link; the rail carries it from 1200px, the byline below */
.sh { display: flex; align-items: center; gap: 10px; }
.sh .lab { margin-right: 6px; opacity: .75; }
.sh__b { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: inset 0 0 0 1px currentColor; color: inherit; cursor: pointer; transition: background-color .3s, color .3s; }
.sh__b svg { width: 18px; height: 18px; }
.sh__b:hover, .sh__b.ok { background: var(--metal); color: var(--night); box-shadow: none; }
html:not(.js) [data-copy] { display: none; }   /* copying needs the script */
@media (min-width: 1200px) { .hh__by .sh { display: none; } }

/* 4. The cover: the night ridge, inset to the gutters (the motion widens it to the full width) */
.hm { position: relative; height: clamp(300px, 40vw, 600px); }
.hm__c { position: absolute; inset: 0; overflow: hidden; background: var(--night); clip-path: inset(0 var(--gut) 0 var(--gut) round 16px); }
.hm__c .pl__no { left: calc(var(--gut) + 26px); bottom: 24px; padding: 0; margin: 0; background: none; color: var(--paper); opacity: .8; }

/* 5. The rail and the text column */
.grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--gap); align-items: start; padding-block: 104px 64px; }
.nc { display: none; }
.rail { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 32px; }
/* the way back heads the rail; once the close (an article with no Up next) is on screen it steps aside, so one shows at a time */
.rail__bk { padding-bottom: 26px; border-bottom: 1px solid var(--rule); transition: opacity .45s, visibility 0s; }
.rail__bk .bk__t { font-size: 24px; }
.rail.bk-off .rail__bk { opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
/* without the script "Skip to contents" (a link to #contents) lands with the rail and the text top-aligned under the bar, where the
   rail pins (112px) or up to 25px lower; Tab from there is the first contents link. With the script brief.js takes the link */
.toc { scroll-margin-top: 224px; }
.toc > .lab { margin-bottom: 10px; opacity: .75; }
.toc__l { position: relative; }
.toc__l::before { content: ""; position: absolute; left: -14px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: rgba(30, 21, 23, .1); }   /* the spine the marker slides along */
.toc__ind { position: absolute; left: -14px; top: 0; z-index: 1; width: 2px; height: 0; border-radius: 2px; background: var(--metal); opacity: 0; transition: transform .6s var(--ease), height .6s var(--ease), opacity .3s; }
.toc__ind.on { opacity: 1; }
.toc ol { display: grid; gap: 2px; }
.toc a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px; align-items: baseline; padding: 8px 0; color: var(--ink2); text-decoration: none; transition: color .4s; }
.toc a:hover { color: var(--ink); }
.toc a.cur, .toc a.on, .toc a[aria-current] { color: var(--rust); }
.rail__pr { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 12px; }   /* the time label over a short progress rule */
.rail__pr .lab { color: var(--rust); padding-bottom: 2px; }
.rail__p { position: relative; width: 100%; max-width: 200px; height: 2px; border-radius: 2px; background: rgba(30, 21, 23, .14); overflow: hidden; }
.rail__p i { position: absolute; inset: 0; background: var(--metal); transform: scaleX(0); transform-origin: 0 50%; }
.rail__sh { padding-top: 24px; border-top: 1px solid var(--rule); }
.rail__off { display: none; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--rule); }   /* from 75% read it takes the share block's place */
.rail__off .lab { color: var(--rust); }
.rail__ot { max-width: 230px; font-size: 24px; line-height: 1.08; }
.rail.late .rail__sh { display: none; }
.rail.late .rail__off { display: flex; }
.rail.late.end .rail__off { display: none; }
.mc { display: flex; flex-direction: column; gap: 96px; min-width: 0; scroll-margin-top: 112px; }   /* "Skip to the article" lands with the text clear of the bar, level with the rail where it pins */

/* 6. The 20-second version */
.bx { padding: 26px 28px; border-radius: 14px; background: var(--found); color: var(--paper); }
.bx__lab { margin-bottom: 16px; color: var(--metal); }
.bx ol { display: grid; gap: 14px; }
.bx li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.bx li .lab { color: var(--metal); }
.bx li p { font-size: 17px; line-height: 26px; }

/* 7. Sections: rust number, heading, paragraphs; the first opens on a drop cap */
.ab { scroll-margin-top: calc(var(--nav-h, 76px) + 28px); }   /* a link to #s2 (the contents, the chip, a deep link) lands with its heading clear of the bar */
.sh2 { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.sh2__n { display: inline-block; color: var(--rust); }
.sh2 h2 { font-size: clamp(36px, 3.4vw, 54px); line-height: 1; text-wrap: balance; }   /* no word left alone on a last line */
.ab > p, .ab > .pr > p { max-width: var(--measure); font-size: 20px; line-height: 1.7; }
.ab > .pr { max-width: var(--measure); }
.ab > .pr > p { max-width: 64ch; }
.ab > p + p, .ab > p + .pr, .ab > .pr + p, .ab > .pr + .pr { margin-top: 1.05em; }
#s1 > p:first-of-type::first-letter { float: left; font: 500 5.4em/.78 var(--display); margin: .06em .1em 0 -.03em; color: var(--found); }
/* the key line: a full-height highlight, one rounded block per wrapped line (the motion sweeps it in) */
.ab mark.hl { color: var(--ink); background: linear-gradient(rgba(201, 165, 112, .3), rgba(201, 165, 112, .3)) no-repeat 0 0 / 100% 100%; padding: .1em .16em; margin: 0 -.16em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: color 1.2s var(--ease); }
.ab mark.hl.on { color: var(--found); }
.ab p a:not(.snr) { color: var(--found); text-decoration: underline 1px rgba(67, 27, 35, .4); text-underline-offset: 4px; transition: text-decoration-color .3s; }
.ab p a:not(.snr):hover { text-decoration-color: currentColor; }
/* notes: a number at the end of the sentence (a 44px hit area), the card under its paragraph, always open */
.snr { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; margin-left: 4px; padding: 0 4px; border: 0; border-radius: 9px; background: none; color: var(--rust); font: 500 11px/1 var(--mono); text-decoration: none; vertical-align: super; cursor: pointer; transition: background-color .3s, color .3s; }
.snr::after { content: ""; position: absolute; inset: -13px; }
.snr.hot { background: var(--metal); color: var(--night); }
.sn { display: block; max-width: 680px; margin: 18px 0 0; padding: 14px 20px 15px; border-left: 2px solid var(--metal); border-radius: 0 12px 12px 0; background: rgba(201, 165, 112, .13); color: var(--ink2); font-size: 15px; line-height: 24px; transition: background-color .35s, color .35s; scroll-margin-top: calc(var(--nav-h, 76px) + 28px); }   /* a jump to a note (no script, a #note- link) lands clear of the bar */
.sn .lab { margin-right: 8px; color: var(--rust); }
.sn.hot { background: rgba(201, 165, 112, .26); color: var(--ink); }
.sn a { color: inherit; text-decoration: underline 1px rgba(30, 21, 23, .35); text-underline-offset: 3px; }

/* 9. Pull quote: foundation, at most 18 characters a line, a hairline above */
.qw { display: flex; flex-direction: column; gap: 22px; }
.pq { padding: 56px 0 8px; border-top: 1px solid rgba(30, 21, 23, .2); }
.pq p { max-width: 18ch; font-size: clamp(40px, 4.8vw, 78px); line-height: 1.02; color: var(--found); text-wrap: balance; }

/* 11. The closing ends on the Ridge mark; the author's sign-off follows it */
.endmark { display: inline-block; width: 1.5em; height: auto; margin-left: .4em; vertical-align: -.08em; overflow: visible; color: var(--found); }
.endmark path { fill: none; stroke: currentColor; stroke-width: 24; stroke-linecap: round; }
.qe__by { display: flex; align-items: center; gap: 14px; max-width: var(--measure); margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--rule); color: var(--ink2); font-size: 15px; line-height: 1.55; }
.qe__by img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.qe__by p { flex: 1 1 auto; font-size: inherit; line-height: inherit; text-wrap: pretty; }   /* the name and the studio's are each held together (.nw) */
.qe__by b { color: var(--ink); font-weight: 500; }
.qe__li { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(30, 21, 23, .3); color: var(--ink); font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color .35s, color .35s, box-shadow .35s; }
.qe__li svg { width: 17px; height: 17px; margin-top: -1px; }
.qe__li:hover { background: var(--found); color: var(--paper); box-shadow: none; }
/* when the closing section is followed by a figure, the steps or the questions, the sign-off closes the body instead, after the last
   section: 44px under it, as in a section (.mc's gap less 52px, or 20px under 900px) */
.mc > .qe__by--end { margin-top: -52px; }
.fq + .qe__by--end { border-top: 0; padding-top: 0; }   /* after the questions their last rule is the hairline above it */

/* 12. About Latitude 29, 56px under the sign-off; 13. the newsletter card (only once its email tool is connected) */
.qe { display: flex; flex-direction: column; gap: 48px; margin-top: -40px; padding-bottom: clamp(24px, 3vw, 48px); }
.bp { display: flex; flex-direction: column; gap: 14px; max-width: var(--measure); margin-top: 8px; }
.bp__k { color: var(--rust); }
.bp__t { font-size: clamp(32px, 3vw, 44px); line-height: 1.04; color: var(--found); }
.bp__p { max-width: 56ch; font-size: 18px; line-height: 29px; }
.bp__ft { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 10px; }
/* an article's own studio ending ("## From the studio", in About's place): its label, its paragraphs, then its last paragraph as the
   large line, the call to talk underlined in it (a 44px target around the words) */
.bp--studio .bp__t { margin-top: 6px; text-wrap: pretty; }   /* "let’s talk" never alone on a short last line; in balanced lines on the
   smallest phones, where pretty still leaves it alone */
@media (max-width: 359px) { .bp--studio .bp__t { text-wrap: balance; } }
.bp__cta a { position: relative; color: inherit; white-space: nowrap; text-decoration: underline 1px rgba(67, 27, 35, .45); text-underline-offset: .14em; transition: text-decoration-color .3s; }
.bp__cta a::after { content: ""; position: absolute; inset: -6px -2px; }
.bp__cta a:hover { text-decoration-color: currentColor; }

/* 14, when there is no other article to suggest: the way back closes the article on a hairline the width of the page, the home's
   own first line beside it. From 1200px it sits on the article's grid: the way back under the rail, the line under the text */
.bke__in { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 40px 0 clamp(72px, 7vw, 120px); border-top: 1px solid var(--rule); }
.bke .bk__a { gap: 18px; }
.bke .bk__c { width: 56px; height: 56px; }
.bke .bk__t { font-size: clamp(36px, 3vw, 48px); }
.bke__p { max-width: 36ch; color: var(--ink2); font-size: 18px; line-height: 1.5; }
@media (min-width: 1200px) { .bke__in { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--gap); align-items: center; } .bke .bk__a { width: max-content; } }   /* the link (and its focus ring) the size of the lockup, which may reach into the gap */
@media (min-width: 1200px) and (max-width: 1439px) { .bke__in { grid-template-columns: 220px minmax(0, 1fr); } }

/* ---------- The newsletter card (article and home): foundation, the contour drawing on its right ---------- */
.qc { position: relative; overflow: hidden; padding: clamp(36px, 4.6vw, 76px); border-radius: 18px; background: var(--found); color: var(--paper); }
.qc .art { left: 46%; background: none; }
.qc .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--found) 0%, rgba(67, 27, 35, .55) 30%, rgba(67, 27, 35, 0) 65%); }
.qc__in { position: relative; display: flex; flex-direction: column; gap: 20px; max-width: 600px; }
.qc__k { color: var(--metal); }
.qc__t { font-size: clamp(34px, 3.3vw, 50px); line-height: 1.04; text-wrap: balance; }
.qc__t span { display: block; }
.qc .nl__f { position: relative; display: block; max-width: 560px; margin: 6px 0 0; }
.qc .nl__f input { display: block; width: 100%; min-height: 62px; padding: 0 236px 0 26px; border: 0; border-radius: 999px; background: rgba(233, 222, 202, .07); box-shadow: inset 0 0 0 1px rgba(233, 222, 202, .38); color: var(--paper); font: 400 16px var(--sans); transition: box-shadow .3s, background-color .3s; }
.qc .nl__f input::placeholder { color: var(--on2); opacity: 1; }
.qc .nl__f input:focus { outline: 0; background: rgba(233, 222, 202, .12); box-shadow: inset 0 0 0 2px var(--metal); }
.qc .nl__f .pill { position: absolute; right: 7px; top: 7px; bottom: 7px; min-height: 0; }
.nl__hp { position: absolute; left: -9999px; }   /* the honeypot */
.nl__ok { display: none; }
.nl__in.ok .nl__f, .nl__in.ok .qc__fine { display: none; }
.nl__in.ok .nl__ok { display: block; }
.nl__ok .d { font-size: clamp(28px, 2.4vw, 34px); line-height: 1.1; color: var(--metal); }
.nl__mk { display: block; width: 58px; height: auto; margin: 0 0 16px; overflow: visible; color: var(--metal); }
.nl__mk path { fill: none; stroke: currentColor; stroke-width: 22; stroke-linecap: round; }
.qc__fine { margin-top: -6px; max-width: 50ch; color: var(--on2); font-size: 15px; line-height: 1.55; }
@media (max-width: 899px) { .qc .art { display: none; } }
@media (max-width: 699px) {
  .qc .nl__f input { padding-right: 22px; }
  .qc .nl__f .pill { position: static; min-height: 52px; margin-top: 10px; }
  .qc__fine { font-size: 16px; }
}

/* ---------- 8. Fig. "shortlist": its final state (the scroll scene is brief.js, from 900px with motion). Words: content/brief/figures/shortlist.json ---------- */
.ex { --exb: var(--night); --exc: var(--paper); --exr: rgba(233, 222, 202, .14); }
.ex__st { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ex__cap { margin-bottom: 28px; color: var(--rust); }
.ex__steps { display: grid; gap: 26px; }
.ex__step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.ex__sn { color: var(--rust); }
.ex__step h3 { margin-bottom: 6px; font-size: clamp(28px, 2.4vw, 38px); line-height: 1; }
.ex__step p { max-width: 34ch; font-size: 16px; line-height: 24px; opacity: .82; }
.ex__ui { position: relative; padding: clamp(20px, 2vw, 30px); border-radius: 18px; background: var(--exb); color: var(--exc); box-shadow: 0 30px 80px rgba(30, 21, 23, .24); }
.ex__q { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--exr); font-size: 17px; }
.ex__q svg { flex: none; width: 20px; height: 20px; color: var(--metal); }
.ex__meta { display: flex; justify-content: space-between; margin: 20px 0 14px; color: var(--metal); }
.ex__body { position: relative; }
.ex__list { display: none; }   /* the ten links: only the motion shows them, before they fold into the answer */
.ex__r { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 14px; align-items: center; padding: 7px 0; }
.ex__fav { width: 18px; height: 18px; border-radius: 50%; background: var(--exr); }
.ex__r span, .ex__nb { display: flex; flex-direction: column; gap: 7px; }
.ex__r b, .ex__nb b, .ex__lines b { display: block; height: 7px; border-radius: 4px; background: var(--exr); }
.ex__r b + b { height: 10px; background: rgba(201, 165, 112, .32); }
.ex__lines { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.ex__lines b:nth-child(1) { width: 100%; }
.ex__lines b:nth-child(2) { width: 93%; }
.ex__lines b:nth-child(3) { width: 58%; }
.ex__names { display: grid; gap: 10px; }
.ex__nm { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 66px; padding: 12px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--exr); transition: background-color .6s, box-shadow .6s, filter .6s; }
.ex__nn { font-size: 30px; line-height: 1; color: var(--metal); }
.ex__you { color: var(--night); opacity: 0; transition: opacity .5s; }
.ex__nm.on { background: var(--metal); box-shadow: none; }
.ex__nm.on .ex__nn { color: var(--night); }
.ex__nm.on b { background: rgba(36, 5, 10, .28); }
.ex__nm.on .ex__you { opacity: 1; }
.ex.k2 .ex__nm:not(.on) { filter: opacity(.4); }

/* ---------- 8b. Fig. "touchpoints" ("Three ways to find a winery. One more decision before you book."): one device, four screens.
   Words: content/brief/figures/touchpoints.json. Markup: templates/brief-figures/touchpoints.html. Scene: the-brief/figures/touchpoints.js.
   This block is the still figure, what reduced motion, no JavaScript, a short window and a blocked library show: on a paper plate,
   the three ways to the winery (a map listing, a friend's text, an assistant's shortlist) and its booking page, the tasting the
   friend named chosen and the button lit, with a ring for each under it and one hairline in the plate's own gold that runs through
   the three into the booking page's ring. From 560px of figure the four stand on one shelf; under that they stack, each of the
   three cropped to what it says, so the words stay readable on a phone. Each screen is drawn once at 270 by 500 and scaled (--s);
   the drawing is decorative (aria-hidden) and the figure's words are its text alternative (.sr). Gold inside the screens marks only
   the winery and, at the end, the button. Nothing inside is focusable. ---------- */
figure.tp { --tpg: #9A6438; container-type: inline-size; }   /* --tpg: the paper plate's own gold (.pl--paper). The rules for the figure itself name it
   figure.tp: the footer's thread anchor is an <i class="tp"> too (footer.css) */
.tp__st { display: flex; flex-direction: column; }
.tp__cap { margin-bottom: 20px; color: var(--rust); text-wrap: balance; }   /* above the drawing, as Fig. 1 of the first article; no word left alone */
.tp__pl { --ss: .62; --sb: 1; --sv: 1; position: relative; overflow: hidden; padding: 44px 28px 34px; border-radius: 18px; }   /* the scales: small screens, booking page, stacked (set here: a container query styles only what is inside .tp) */
.tp__art { --mx: 30%; }
.tp__art .pl__ln { opacity: .38; }
.tp__gh { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; }   /* the gold contour in two halves, so the scene can draw it in from both edges */
.tp__gh--l { left: 0; }
.tp__gh--r { right: 0; }
.tp__gi { position: absolute; top: 0; bottom: 0; width: 200%; }
.tp__gh--l .tp__gi { left: 0; }
.tp__gh--r .tp__gi { right: 0; }
.tp__gi .pl__g { opacity: .8; }

/* the shelf: three screens small, a step, the booking page full size; their rings on one line under them */
.tp__fr { position: relative; display: grid; grid-template-columns: repeat(3, auto) 28px auto; grid-template-rows: auto auto; align-items: end; justify-content: center; column-gap: 18px; row-gap: 24px; }
.tp__dv, .tp__win, .tp__ix { display: contents; }
.tp__ph { --s: var(--ss); --ch: 500px; position: relative; grid-row: 1; width: calc(290px * var(--s)); height: calc(520px * var(--s)); border-radius: calc(40px * var(--s)); background: var(--night); box-shadow: inset 0 0 0 1px rgba(201, 165, 112, .42), 0 calc(28px * var(--s)) calc(64px * var(--s)) rgba(30, 21, 23, .26); }
.tp__ph--map { grid-column: 1; }
.tp__ph--msg { grid-column: 2; }
.tp__ph--ai { grid-column: 3; }
.tp__ph--book { --s: var(--sb); grid-column: 5; }
.tp__sc { position: absolute; left: calc(10px * var(--s)); top: calc(10px * var(--s)); width: 270px; height: var(--ch); overflow: hidden; border-radius: 30px; background: var(--night); color: var(--paper); font: 400 14px/1.42 var(--sans); transform: scale(var(--s)); transform-origin: 0 0; }
.tp__sc svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tp__sc i, .tp__sc b { font-style: normal; }
.tp__hl { display: none; }

/* the map: the brand's contour field as the terrain, three roads, a few places, the winery's gold marker and its listing */
.tp__map { position: absolute; inset: -4%; background: rgba(233, 222, 202, .15); -webkit-mask-image: url(/assets/the-brief/plate-lines.svg); mask-image: url(/assets/the-brief/plate-lines.svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: auto 700px; mask-size: auto 700px; -webkit-mask-position: 36% 30%; mask-position: 36% 30%; }
.tp__rd { position: absolute; inset: 0; width: 100%; height: 100%; }
.tp__rd path { stroke: rgba(233, 222, 202, .08); stroke-width: 9; }
.tp__rd path + path { stroke-width: 6; }
.tp__pt { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 1.5px rgba(233, 222, 202, .48); }
.tp__pin { position: absolute; left: 126px; top: var(--pin, 206px); width: 18px; height: 18px; }
.tp__dot { position: absolute; inset: 0; border-radius: 50%; background: var(--metal); box-shadow: 0 0 0 3px var(--night), 0 0 22px 6px rgba(232, 184, 106, .38); }
.tp__halo { position: absolute; inset: -3px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--metal); opacity: .38; transform: scale(1.9); }
.tp__srch { position: absolute; left: 12px; right: 12px; top: 14px; display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px; border-radius: 20px; background: var(--found); box-shadow: inset 0 0 0 1px rgba(233, 222, 202, .1), 0 10px 24px rgba(0, 0, 0, .28); }
.tp__srch svg { flex: none; width: 15px; height: 15px; color: rgba(233, 222, 202, .6); }
.tp__card { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 16px 16px 15px; border-radius: 20px; background: var(--found); box-shadow: inset 0 0 0 1px rgba(233, 222, 202, .08), 0 -12px 32px rgba(0, 0, 0, .3); }
.tp__nm { margin-bottom: 8px; font-size: 24px; line-height: 1.04; color: var(--metal); }
.tp__li { font-size: 13px; line-height: 19px; color: var(--on2); }
.tp__li--open { display: flex; align-items: center; gap: 7px; color: var(--paper); }
.tp__li--open i { width: 6px; height: 6px; border-radius: 50%; background: rgba(233, 222, 202, .7); }

/* the friend's text: her initial and name at the left, the conversation so far as quiet shapes, then her two messages, the winery's
   name in the first picked out in gold */
.tp__vl { position: absolute; inset: 0; background: var(--night); opacity: 0; visibility: hidden; }   /* the scene: a screen stepping back into the dark */
.tp__hd { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 11px; height: 60px; padding: 0 16px; border-bottom: 1px solid rgba(233, 222, 202, .1); }
.tp__av { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--found2); font-size: 19px; line-height: 1; }
.tp__cv { position: absolute; left: 12px; right: 12px; top: 70px; bottom: 70px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 7px; overflow: hidden; }
.tp__ob { flex: none; display: flex; flex-direction: column; gap: 6px; width: 122px; padding: 12px 13px; border-radius: 18px 18px 18px 6px; background: var(--found); opacity: .55; }
.tp__ob--me { align-self: flex-end; width: 148px; border-radius: 18px 18px 6px 18px; background: rgba(233, 222, 202, .08); }
.tp__ob i { display: block; height: 6px; border-radius: 3px; background: rgba(233, 222, 202, .2); }
.tp__ob i + i { width: 62%; }
.tp__bb { flex: none; max-width: 214px; padding: 10px 13px 11px; border-radius: 18px 18px 18px 6px; background: var(--found); }
.tp__pk { position: relative; color: var(--metal); white-space: nowrap; }
.tp__pk > i { position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; border-radius: 1px; background: var(--metal); transform-origin: 0 50%; }
.tp__typ { position: absolute; left: 0; bottom: 0; display: flex; gap: 4px; padding: 15px 14px 14px; border-radius: 18px 18px 18px 6px; background: var(--found); opacity: 0; visibility: hidden; }
.tp__typ i { width: 5px; height: 5px; border-radius: 50%; background: rgba(233, 222, 202, .6); }
.tp__in { position: absolute; left: 12px; right: 12px; bottom: 16px; height: 40px; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(233, 222, 202, .16); }

/* the assistant: the question, an answer with room for three names, the winery's lit gold and the other two stepping back */
.tp__q { position: absolute; right: 12px; top: 18px; max-width: 222px; padding: 10px 13px 11px; border-radius: 18px 18px 6px 18px; background: rgba(233, 222, 202, .08); box-shadow: inset 0 0 0 1px rgba(233, 222, 202, .12); }
.tp__ans { position: absolute; left: 12px; right: 12px; top: 118px; }
.tp__sk { display: grid; gap: 7px; margin-bottom: 14px; }
.tp__sk b { display: block; height: 6px; border-radius: 3px; background: rgba(233, 222, 202, .14); transform-origin: 0 50%; }
.tp__sk b + b { width: 74%; }
.tp__nms { display: grid; gap: 6px; }
.tp__nr { position: relative; border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(233, 222, 202, .12); }
.tp__nr:not(.on) { opacity: .4; }
.tp__nr.on { box-shadow: none; }
.tp__gf { position: absolute; inset: 0; border-radius: 13px; background: var(--metal); transform-origin: 0 50%; }
.tp__nc { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 6px; align-items: baseline; padding: 10px 12px 11px; }
.tp__nr.on > .tp__nc { opacity: 0; }
.tp__nr.on > .tp__nc--on { position: absolute; inset: 0; opacity: 1; color: var(--night); }
.tp__nn { font-size: 19px; line-height: 1; color: rgba(233, 222, 202, .6); }
.tp__nc--on .tp__nn { color: var(--night); }
.tp__nc b { display: block; font-weight: 500; line-height: 1.36; }
.tp__nc span > i { display: block; margin-top: 2px; font-size: 13px; line-height: 1.32; opacity: .76; }
.tp__nc--on span > i { opacity: .84; }

/* the winery's own page: its name, its ridge, the three tastings with the one the friend named chosen, and the button, which
   ends in the site's own focus ring (2px rust, 3px out) */
.tp__sc--book { background: var(--paper3); color: var(--ink); }
.tp__bk { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 0 12px 14px; }
.tp__bkh { display: flex; flex: none; align-items: center; justify-content: space-between; height: 46px; padding: 4px 6px 0; }
.tp__wm { font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--found); }
.tp__mn { width: 16px; height: 7px; border-block: 1.5px solid var(--found); }
.tp__hero { position: relative; flex: none; height: 118px; overflow: hidden; border-radius: 14px; }
.tp__hero .pl { --mx: 42%; }
.tp__bkt { margin: 14px 4px 11px; font-size: 30px; line-height: 1; color: var(--found); }
.tp__ops { display: grid; gap: 6px; }
.tp__op { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 12px 10px; border-radius: 12px; background: rgba(233, 222, 202, .7); box-shadow: inset 0 0 0 1px rgba(30, 21, 23, .12); }
.tp__or { position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--found); opacity: 0; }
.tp__op.on .tp__or { opacity: 1; }
.tp__ra { position: relative; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(30, 21, 23, .32); }
.tp__ra > i { position: absolute; inset: 4px; border-radius: 50%; background: var(--found); transform: scale(0); }
.tp__op.on .tp__ra { box-shadow: inset 0 0 0 1.5px var(--found); }
.tp__op.on .tp__ra > i { transform: none; }
.tp__op b { display: block; font-weight: 500; line-height: 1.36; }
.tp__op span > i { display: block; margin-top: 1px; font-size: 13px; line-height: 1.32; color: var(--ink2); }
.tp__btn { position: relative; display: flex; flex: none; align-items: center; justify-content: center; height: 44px; margin: auto 5px 0; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(30, 21, 23, .3); color: var(--night); font-weight: 500; }
.tp__btn > span { position: relative; }
.tp__bf { position: absolute; inset: 0; border-radius: inherit; background: var(--metal); }
.tp__fo { position: absolute; inset: -3px; border-radius: 25px; box-shadow: 0 0 0 2px var(--rust); }   /* outline 2px, offset 3px: the site's ring on paper */

/* the rings: a folded map, a message, a shortlist, then a little apart the booking; the hairline runs through them */
.tp__ixi { position: relative; z-index: 1; grid-row: 2; justify-self: center; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(30, 21, 23, .2); color: rgba(30, 21, 23, .5); }
.tp__ixi:nth-of-type(1) { grid-column: 1; }
.tp__ixi:nth-of-type(2) { grid-column: 2; }
.tp__ixi:nth-of-type(3) { grid-column: 3; }
.tp__ixi:nth-of-type(4) { grid-column: 5; }
.tp__ixi::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--night); opacity: 0; transition: opacity .45s var(--ease); }
.tp__ixi--go > i { position: absolute; inset: 0; border-radius: 50%; background: var(--metal); opacity: 0; transition: opacity .45s var(--ease); }   /* the booking's gold, once the hairline arrives */
.tp__ixi svg { position: relative; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tp__ixi.was { color: var(--found); box-shadow: inset 0 0 0 1px rgba(67, 27, 35, .45); }
.tp__ixi.on { color: var(--metal); box-shadow: none; }
.tp__ixi.on::before, .tp__ixi--go.done > i { opacity: 1; }
.tp__ixi.done { color: var(--night); box-shadow: none; }
.tp__rt { grid-row: 2; grid-column: 1 / -1; align-self: center; height: 1.5px; margin: 0 calc(145px * var(--sb)) 0 calc(145px * var(--ss)); background: var(--tpg); transform-origin: 0 50%; }
@media (prefers-reduced-motion: reduce) { .tp__ixi::before, .tp__ixi--go > i { transition: none; } }

/* the shelf at narrower figures (tablets): the same four, smaller */
@container (max-width: 989px) { .tp__pl { --ss: .55; --sb: .9; padding: 40px 20px 30px; } .tp__fr { grid-template-columns: repeat(3, auto) 24px auto; column-gap: 14px; } }
@container (max-width: 859px) { .tp__pl { --ss: .44; --sb: .8; padding: 32px 16px 26px; } .tp__fr { grid-template-columns: repeat(3, auto) 20px auto; column-gap: 12px; row-gap: 20px; } }
@container (max-width: 719px) { .tp__pl { --ss: .33; --sb: .62; } .tp__fr { grid-template-columns: repeat(3, auto) 16px auto; column-gap: 10px; } .tp__ixi { width: 30px; height: 30px; } }
/* phones: the four stacked, the three ways cropped to what they say (--ch, in the screen's own units) at a readable size, their
   rings on a line down the left that ends at the booking page */
@container (max-width: 559px) {
  .tp__pl { --sv: 1; }
  .tp__cap { margin-bottom: 16px; }
  .tp__pl { padding: 20px 14px 20px 12px; }
  .tp__fr { grid-template-columns: 30px auto; grid-template-rows: repeat(4, auto); align-items: center; justify-content: center; column-gap: 10px; row-gap: 14px; }
  .tp__ph { --s: var(--sv); grid-column: 2; height: calc((var(--ch) + 20px) * var(--s)); border-radius: calc(34px * var(--s)); }
  .tp__ph--map { --ch: 282px; --pin: 82px; grid-row: 1; }
  .tp__ph--msg { --ch: 326px; grid-row: 2; }
  .tp__ob { display: none; }
  .tp__ob:last-of-type { display: flex; }
  .tp__ph--ai { --ch: 404px; grid-row: 3; }
  .tp__ph--book { grid-row: 4; }
  .tp__ph--ai .tp__in { display: none; }
  .tp__sc { height: var(--ch); border-radius: 24px; }
  .tp__ph--book .tp__sc { border-radius: 30px; }
  .tp__ixi { grid-column: 1; width: 30px; height: 30px; }
  .tp__ixi:nth-of-type(n) { grid-column: 1; }
  .tp__ixi:nth-of-type(1) { grid-row: 1; }
  .tp__ixi:nth-of-type(2) { grid-row: 2; }
  .tp__ixi:nth-of-type(3) { grid-row: 3; }
  .tp__ixi:nth-of-type(4) { grid-row: 4; }
  .tp__ixi svg { width: 15px; height: 15px; }
  .tp__rt { grid-column: 1; grid-row: 1 / -1; justify-self: center; align-self: stretch; width: 1.5px; height: auto; margin: calc(151px * var(--sv)) 0 calc(260px * var(--sv)); }
}
@container (max-width: 379px) { .tp__pl { --sv: .9; } }
@container (max-width: 339px) { .tp__pl { --sv: .8; } }
@container (max-width: 299px) { .tp__pl { --sv: .74; padding-inline: 10px 8px; } .tp__fr { column-gap: 8px; } }
/* without container queries (Safari before 16): the same steps from the window's width */
@supports not (width: 1cqw) {
  @media (max-width: 1439px) { .tp__pl { --ss: .55; --sb: .9; padding: 40px 20px 30px; } .tp__fr { grid-template-columns: repeat(3, auto) 24px auto; column-gap: 14px; } }
  @media (max-width: 1199px) { .tp__pl { --ss: .44; --sb: .8; padding: 32px 16px 26px; } .tp__fr { grid-template-columns: repeat(3, auto) 20px auto; column-gap: 12px; row-gap: 20px; } }
  @media (max-width: 799px) { .tp__pl { --ss: .33; --sb: .62; } .tp__fr { grid-template-columns: repeat(3, auto) 16px auto; column-gap: 10px; } .tp__ixi { width: 30px; height: 30px; } }
  @media (max-width: 599px) {
    .tp__cap { margin-bottom: 16px; }
    .tp__pl { padding: 20px 14px 20px 12px; }
    .tp__fr { grid-template-columns: 30px auto; grid-template-rows: repeat(4, auto); align-items: center; justify-content: center; column-gap: 10px; row-gap: 14px; }
    .tp__ph { --s: var(--sv); grid-column: 2; height: calc((var(--ch) + 20px) * var(--s)); border-radius: calc(34px * var(--s)); }
    .tp__ph--map { --ch: 282px; --pin: 82px; grid-row: 1; }
    .tp__ph--msg { --ch: 326px; grid-row: 2; }
    .tp__ob { display: none; }
    .tp__ob:last-of-type { display: flex; }
    .tp__ph--ai { --ch: 404px; grid-row: 3; }
    .tp__ph--book { grid-row: 4; }
    .tp__ph--ai .tp__in { display: none; }
    .tp__sc { height: var(--ch); border-radius: 24px; }
    .tp__ph--book .tp__sc { border-radius: 30px; }
    .tp__ixi, .tp__ixi:nth-of-type(n) { grid-column: 1; width: 30px; height: 30px; }
    .tp__ixi:nth-of-type(1) { grid-row: 1; }
    .tp__ixi:nth-of-type(2) { grid-row: 2; }
    .tp__ixi:nth-of-type(3) { grid-row: 3; }
    .tp__ixi:nth-of-type(4) { grid-row: 4; }
    .tp__rt { grid-column: 1; grid-row: 1 / -1; justify-self: center; align-self: stretch; width: 1.5px; height: auto; margin: calc(151px * var(--sv)) 0 calc(260px * var(--sv)); }
  }
  @media (max-width: 419px) { .tp__pl { --sv: .9; } }
  @media (max-width: 379px) { .tp__pl { --sv: .8; } }
  @media (max-width: 339px) { .tp__pl { --sv: .74; } }
}

/* ---------- 10. The optional panels: the steps panel and the questions ---------- */
.tkp { padding: clamp(32px, 4vw, 64px); border-radius: 18px; background: var(--night); color: var(--paper); }
.tkp .sh2__n { color: var(--metal); }
.tkp .sh2 h2 { font-size: clamp(40px, 4vw, 64px); }
.tkg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tkg li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 14px; background: rgba(233, 222, 202, .06); box-shadow: inset 0 0 0 1px var(--rule-d); }
.tk__n { font-size: 44px; line-height: 1; color: var(--metal); }
.tkg h3 { font-size: clamp(26px, 2.1vw, 32px); line-height: 1.05; }
.tkg p { font-size: 16px; line-height: 24px; color: var(--on2); }
/* steps with no bold lead-in: the paragraph is the step itself, so it reads at text size in paper; three to a row from 1000px (the
   panel is 735px or more there), one under it, so three steps never leave a hole in a grid of two */
.tkg--plain { grid-template-columns: minmax(0, 1fr); }
.tkg--plain p { font-size: 18px; line-height: 28px; color: var(--paper); }
@media (min-width: 1000px) { .tkg--plain { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* a key line on the night panel: paper on a deeper gold field (about 8:1), never gold text */
.tkp mark.hl, .tkp mark.hl.on { color: var(--paper); background-image: linear-gradient(rgba(201, 165, 112, .34), rgba(201, 165, 112, .34)); }
.fq__l { border-top: 1px solid rgba(30, 21, 23, .2); }
.fq__i { border-bottom: 1px solid rgba(30, 21, 23, .2); }
.fq__i button { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 22px 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.fq__i button .d { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.12; text-wrap: balance; transition: color .35s; }
.fq__i button:hover .d { color: var(--rust); }
.fq__pm { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(30, 21, 23, .3); transition: background-color .35s, box-shadow .35s, transform .6s var(--ease); }
.fq__pm::before, .fq__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.fq__pm::after { transform: rotate(90deg); }
.fq__i.on .fq__pm { background: var(--metal); box-shadow: none; transform: rotate(180deg); }
.fq__i.on .fq__pm::after { transform: rotate(0); }
.fq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.fq__a > div { overflow: hidden; }
.fq__a p { max-width: 64ch; padding: 0 56px 26px 0; font-size: 18px; line-height: 1.65; color: var(--ink2); }
.fq__a .pr > p { padding-bottom: 0; }
.fq__a .pr { padding-bottom: 26px; }
.fq__i.on .fq__a { grid-template-rows: 1fr; }
@media (prefers-reduced-motion: reduce) { .fq__a, .fq__pm, .fq__pm::before, .fq__pm::after { transition: none; } }

/* ---------- The section chip (under 1000px, with the script): the way back at its left end (under 900px), then the current
   section, its progress and the contents ---------- */
.chip { display: none; }
@media (max-width: 999px) {
  /* it arrives in .45s and leaves in .25s, taking no taps as it goes, so what it gives way to (About's button) is never under it */
  html.js .chip { display: flex; position: fixed; left: var(--gut); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 55; max-width: calc(100% - var(--gut) * 2); border-radius: 999px; background: var(--night); box-shadow: 0 14px 34px rgba(36, 5, 10, .3); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(14px); transition: opacity .25s, transform .6s var(--ease), visibility 0s .6s; }
  html.js .chip.on { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .45s, transform .6s var(--ease), visibility 0s; }
  html.l29m-open .chip, html.js.l29m-open .chip.on { visibility: hidden; }   /* never over the open menu, and no taps through it */
  /* over the first visit's privacy banner (not modal, so Tab goes past it) while the keyboard is in the chip or its list is open */
  body:has(> .l29-privacy[open]:not(:modal)) .chip:is(:focus-within, .open) { z-index: 201; }
  /* the way back: a gold left arrow and "The Brief", a hairline between it and the section */
  .chip__bk { position: relative; flex: none; display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 15px 0 16px; border-radius: 999px; color: var(--paper); text-decoration: none; transition: background-color .3s; }
  .chip__bk::after { content: ""; position: absolute; right: 0; top: 14px; bottom: 14px; width: 1px; background: rgba(233, 222, 202, .2); }
  .chip__bk .arr { width: 16px; height: 16px; color: var(--metal); }
  .chip__bk:hover { background: rgba(233, 222, 202, .08); }
  .chip :is(.chip__bk, .chip__b):focus-visible { outline-offset: -4px; }   /* the gold ring inside the pill */
  .chip__nav { display: flex; min-width: 0; }
  .chip__b { position: relative; display: flex; align-items: center; gap: 10px; max-width: 100%; min-width: 0; min-height: 48px; padding: 0 18px 2px 16px; border: 0; border-radius: 0 999px 999px 0; background: none; color: var(--paper); font: 500 16px/1 var(--sans); cursor: pointer; overflow: hidden; }
  .chip__n { color: var(--metal); }
  .chip__t { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .chip__c { flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .45s var(--ease); }
  .chip.open .chip__c { transform: rotate(180deg); }
  .chip__p { position: absolute; left: 16px; right: 18px; bottom: 7px; height: 1.5px; border-radius: 2px; background: rgba(233, 222, 202, .18); overflow: hidden; }
  .chip__p b { display: block; height: 100%; background: var(--metal); transform: scaleX(0); transform-origin: 0 50%; }
  .chip__l { position: absolute; left: 0; bottom: calc(100% + 10px); display: grid; gap: 2px; width: max-content; min-width: 250px; max-width: calc(100vw - var(--gut) * 2); padding: 8px; border-radius: 16px; background: var(--night); box-shadow: 0 20px 50px rgba(36, 5, 10, .35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s, transform .5s var(--ease), visibility 0s .5s; }
  .chip.open .chip__l { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .5s var(--ease), visibility 0s; }
  .chip__l a { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--paper); text-decoration: none; font: 500 16px/1.2 var(--sans); }
  .chip__l a .lab { color: var(--metal); }
  .chip__l a[aria-current] { background: rgba(233, 222, 202, .1); }
  .chip__cta { margin-top: 4px; padding-top: 4px; border-top: 1px solid rgba(233, 222, 202, .14); }
  .chip__cta a, .chip__cta a .lab { color: var(--metal); }
  body:has(> .l29-privacy-dock:not([hidden])) .chip { max-width: calc(100% - var(--gut) - 174px); }   /* one row with the privacy button (16px on phones), 16px clear of it */
}
/* beside the privacy button on a phone (before a choice) the way back stays whole, the arrow and "The Brief" as after a choice, and
   the section shows its number alone (its name still read by screen readers, and in the list it opens), so no name is ever cut
   short. Under 420px the paddings close up, and from 360 to 374px the way back's name is set at 11px, as the slim rail sets it.
   Under 360px the way back is always the arrow alone */
@media (max-width: 559px) {
  body:has(> .l29-privacy-dock:not([hidden])) .chip__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 419px) {
  body:has(> .l29-privacy-dock:not([hidden])) .chip__b { gap: 6px; padding-inline: 9px 12px; }
  body:has(> .l29-privacy-dock:not([hidden])) .chip__p { left: 9px; right: 12px; }
}
@media (min-width: 360px) and (max-width: 419px) { body:has(> .l29-privacy-dock:not([hidden])) .chip__bk { gap: 7px; padding: 0 9px 0 13px; } }
@media (min-width: 360px) and (max-width: 374px) {
  body:has(> .l29-privacy-dock:not([hidden])) .chip__bk { gap: 6px; padding: 0 8px 0 12px; }
  body:has(> .l29-privacy-dock:not([hidden])) .chip__bk .lab { font-size: 11px; }
  body:has(> .l29-privacy-dock:not([hidden])) .chip__b { padding-inline: 8px 11px; }
  body:has(> .l29-privacy-dock:not([hidden])) .chip__p { left: 8px; right: 11px; }
}
@media (max-width: 359px) {
  html.js .chip__bk { padding: 0 13px 0 15px; }
  html.js .chip__bk .lab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 900px) { .chip__bk { display: none; } .chip__b { border-radius: 999px; padding-left: 18px; } .chip__p { left: 18px; } }   /* from 900px the rail carries the way back */
/* without the script, under 900px: the chip is its way back alone (its sections need the script), on screen while the article's text
   is, from the text's top at 60% of the screen until About Latitude 29's button comes on screen (16px below the chip, so never under
   it; the close follows), where the browser can tie it to the scroll; it simply shows or hides, nothing moves. Elsewhere the folio,
   the close and the Menu are the way back */
@supports (timeline-scope: --a) and (animation-timeline: view()) {
  @media (max-width: 899px) {
    html:not(.js) main { timeline-scope: --brief-text, --brief-end; }
    html:not(.js) [data-article] { view-timeline: --brief-text block; }
    html:not(.js) [data-end] :is(.bp__ft, [data-endcta]) { view-timeline: --brief-end block; }
    html:not(.js) .chip { display: flex; position: fixed; left: var(--gut); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 55; border-radius: 999px; background: var(--night); box-shadow: 0 14px 34px rgba(36, 5, 10, .3); animation: brief-chip-bk linear both, brief-chip-yield linear forwards; animation-timeline: --brief-text, --brief-end; animation-range: entry 40% exit 8%, entry 0% entry 100%; }
    html:not(.js) .chip__nav, html:not(.js) .chip__bk::after { display: none; }
  }
}
@keyframes brief-chip-bk { 0%, 100% { visibility: hidden; } 1%, 99% { visibility: visible; } }
@keyframes brief-chip-yield { from, to { visibility: hidden; } }   /* hidden from the button's first pixel on screen, and after */
@media (prefers-reduced-motion: reduce) { .chip, .chip__l, .chip__c, .chip__bk { transition: none !important; } }

/* ---------- The gold reading line: the brand's contour across the top of the window (it follows the scroll, motion or not) ---------- */
.gprog { position: fixed; left: 0; right: 0; top: 0; z-index: 75; height: 12px; pointer-events: none; }
.gprog svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gprog path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.gprog__t { stroke: rgba(30, 21, 23, .1); stroke-width: 1; }
.gprog__l { stroke: var(--gold-line); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 3px rgba(232, 184, 106, .75)); }
html:not(.js) .gprog { display: none; }

/* ---------- 14. Up next: other published articles on the night ground (hidden when there are none) ---------- */
.un { padding: clamp(88px, 9vw, 140px) 0; background: var(--night); color: var(--paper); }
.rl__hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.rl__hd .lab { color: var(--metal); }
.un__g { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
.un__big { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 18px; overflow: hidden; background: var(--found); color: inherit; text-decoration: none; }
/* a night plate (No. 01, 07, 13 ...) is the band's own colour: on this ground its card keeps an edge, a gold hairline, and the plate
   sits a shade deeper, in the well the small covers already have */
.un .pl--night { --pb: #1b0407; }
:is(.un__big, .rl__m):has(.pl--night)::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(201, 165, 112, .34); pointer-events: none; }
.un__m { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; }
.un__m .cover, .un__m .pl { transition: transform 1.4s var(--ease); }
.un__big:hover .un__m .pl, .un__big:hover .un__m .cover { transform: scale(1.04); }
.un__t { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.8vw, 40px); }
.un__t .lab { color: var(--metal); }
.un__t h3 { font-size: clamp(36px, 3.6vw, 58px); line-height: 1; }
.un__t p:not(.lab) { max-width: 46ch; color: var(--on2); }   /* the dek's measure; the meta line runs the card's width */
.un__t .pill { align-self: flex-start; margin-top: 8px; }
.un__side { display: grid; gap: 24px; align-content: start; }
.rl__c { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; }
.rl__m { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #1b0407; }
.rl__m .cover { transition: transform 1.4s var(--ease), filter .8s; filter: brightness(.82); }
.rl__c:hover .rl__m .cover, .rl__c:focus-visible .rl__m .cover { transform: scale(1.06); filter: none; }
.rl__c > .lab { color: var(--metal); }
.rl__c h3 { font-size: clamp(26px, 2.3vw, 34px); line-height: 1.05; transition: color .4s; }
.rl__c:hover h3 { color: var(--metal); }
/* one article to suggest (the second article's first weeks): the card lies across the band, cover left and words right, in the
   band's own 1.5 to 1 proportion, as the home's latest card does */
@media (min-width: 900px) {
  .un__g--one { grid-template-columns: minmax(0, 1fr); }
  .un__g--one .un__big { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto; }
  .un__g--one .un__m { align-self: stretch; width: 100%; }   /* at least 16:8.5, and as tall as the words when they run taller */
  .un__g--one .un__t { justify-content: center; }
}
@media (min-width: 600px) and (max-width: 899px) { .un__side { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .un__g { grid-template-columns: minmax(0, 1fr); } .un__m { aspect-ratio: 4 / 3; } }

/* ---------- The article's sizes (README "Layout") ---------- */
@media (min-width: 1200px) { .ab > p, .ab > .pr > p { font-size: 21px; } }
@media (min-width: 1200px) and (max-width: 1439px) { .grid { grid-template-columns: 220px minmax(0, 1fr); } }
/* 1000 to 1199: the slim rail, section numbers on one spine (no labels, no separate progress rule, no share or offer) */
@media (min-width: 1000px) and (max-width: 1199px) {
  .M1 { --gap: 40px; }
  .grid { grid-template-columns: 44px minmax(0, 1fr); }
  .toc > .lab, .rail__pr, .rail__sh, .rail__off, .rail.late .rail__off { display: none; }
  .toc a { grid-template-columns: minmax(0, 1fr); padding: 9px 0; font-size: 0; }   /* still 66px tall: the hidden name keeps its line */
  .toc a .lab { font-size: 11px; }
  .toc__l::before, .toc__ind { left: -10px; }
}
/* the slim rail: the way back is the ring with the journal's name under it in small capitals, set as the slim rail's own numbers are
   (and as the chip carries it); under the pointer the ring fills */
@media (min-width: 1000px) and (max-width: 1199px) {
  .rail__bk { padding-bottom: 0; border-bottom: 0; }
  .rail__bk .bk__a { flex-direction: column; gap: 8px; padding-right: 0; border-radius: 22px 22px 12px 12px; }   /* the focus ring clears the name */
  .rail__bk .bk__t { width: 44px; padding: 0; margin: 0; font: 500 11px/14px var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: center; white-space: normal; background: none; }
}
/* a short window: the rows, the gaps and the way back's own room close up a little, so the way back keeps its name and the offer
   stays inside the window */
@media (min-width: 900px) and (max-height: 820px) {
  .rail { gap: 24px; }
  .toc a { padding-block: 6px; }
}
@media (min-width: 1200px) and (max-height: 820px), (min-width: 900px) and (max-width: 999px) and (max-height: 820px) { .rail__bk { padding-bottom: 18px; } }
/* a rail that at its tallest (the offer in the share block's place) would run past the window's foot: brief.js measures it and adds
   .tight (the build marks a contents list longer than five sections tight, which is what a page without the script keeps). The way
   back is then the ring alone, its name in a foundation pill beside it under the pointer (drawn over the column's edge: the rail
   stacks over it); with the contents label it sits at the end of the label's row and takes no height of its own. Rows and gaps close up */
@media (min-width: 900px) {
  .rail.tight { z-index: 3; gap: 24px; }
  .rail.tight .toc a { padding-block: 6px; }
  .rail.tight .rail__bk { padding-bottom: 0; border-bottom: 0; }
  .rail.tight .rail__bk .bk__a { padding-right: 0; border-radius: 999px; }
  .rail.tight .rail__bk .bk__t { position: absolute; left: calc(100% + 10px); top: 50%; width: auto; padding: 7px 14px 9px; margin: 0; border-radius: 999px; background: var(--found); color: var(--paper); font: 500 22px/1 var(--display); letter-spacing: -.012em; text-transform: none; white-space: nowrap; transform: translateY(-50%); opacity: 0; clip-path: inset(0 100% 0 0 round 999px); pointer-events: none; transition: opacity .3s, clip-path .45s var(--ease); }
  .rail.tight .rail__bk .bk__a:is(:hover, :focus-visible) .bk__t { opacity: 1; clip-path: inset(0 0 0 0 round 999px); }
}
@media (min-width: 1200px), (min-width: 900px) and (max-width: 999px) {
  .rail.tight .rail__bk { position: absolute; top: -14px; right: 0; z-index: 1; }   /* over the label, whose opacity stacks it */
  .rail.tight .toc { scroll-margin-top: 112px; }   /* the contents head the rail: "Skip to contents" lands where it pins */
}
@media (min-width: 1000px) and (max-width: 1199px) { .rail.tight .rail__bk { margin-bottom: -8px; } .rail.tight .toc { scroll-margin-top: 172px; } }
@media (prefers-reduced-motion: reduce) { .bk__a *, .rail__bk, .rail__bk .bk__t { transition: none !important; } }
/* without the script, under 900px (no rail, and the chip's sections need the script): "Skip to contents" shows the rail's contents
   list above the 20-second version, its spine on the gutter, until another link on the page is followed (Back brings it again) */
@media (max-width: 899px) {
  html:not(.js) .rail { display: contents; }
  html:not(.js) .rail > * { display: none; }
  html:not(.js) .rail > .toc:target { display: block; padding-left: 14px; scroll-margin-top: calc(var(--nav-h, 76px) + 28px); }
}
@media (min-width: 900px) and (max-width: 999px) { .grid { grid-template-columns: 240px minmax(0, 1fr); } }
@media (max-width: 899px) {
  .hh { padding-top: 96px; }
  .hh__fo { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 26px; }
  .hh__fo > div { padding-left: 0; border-left: 0; }
  .hh__fo .bk__t { font-size: 26px; }
  .ameta { min-height: 0; }
  .hh__ft { grid-template-columns: minmax(0, 1fr); }
  .hh__by { align-items: flex-start; }
  .hm { height: auto; aspect-ratio: 16 / 11; }
  .grid { grid-template-columns: minmax(0, 1fr); padding-top: 64px; }
  .rail { display: none; }
  .mc { gap: 64px; scroll-margin-top: calc(var(--nav-h, 76px) + 28px); }   /* no rail: the text lands where a section heading does */
  .qe { margin-top: -20px; }
  .mc > .qe__by--end { margin-top: -20px; }
  .ab > p, .ab > .pr > p { font-size: 18px; }
  .ex__st { grid-template-columns: minmax(0, 1fr); }
  .tkg { grid-template-columns: minmax(0, 1fr); }
  .fq__a p { padding-right: 0; }
}
/* Under 600px the section headings scale with the column, as a fitted title does (.hh h1.fit), so the title stays the largest of
   them at every phone width (the live article's is 1.26 times the panel's heading, the largest; 36px and 40px again from about 440px) */
@media (max-width: 599px) {
  .sh2 h2 { font-size: max(25px, min(36px, (100vw - 2 * var(--gut)) / 11)); }
  .tkp .sh2 h2 { font-size: max(27px, min(40px, (100vw - 2 * var(--gut)) / 10.2)); }
}
@media (max-width: 699px) {
  .byl__r, .qe__by { font-size: 16px; }
  .qe__by { align-items: flex-start; }
  .sn { padding: 14px 16px 15px; font-size: 16px; line-height: 25px; }
}
/* 520 and under the month is shortened ("Nov 19, 2026"); 374 and under the meta line breaks into the topic and "Nov 19, 2026 · 3 min
   read" */
@media (max-width: 520px) {
  .ameta { gap: 8px 9px; }
  .ameta > span { gap: 9px; }
  .ameta__x { display: none; }
}
@media (max-width: 374px) {
  .ameta__br { display: block; flex-basis: 100%; height: 0; }
  .ameta__d > i { display: none; }
}

/* ========== The home ========== */
.H1 { background: var(--paper3); color: var(--ink); }

/* 1. Hero: the paper contour field across the whole hero, the label, "The Brief", and the intro on a soft clearing */
.fh { position: relative; display: flex; align-items: flex-end; min-height: max(680px, 82vh); overflow: hidden; padding: 150px 0 92px; background: var(--paper3); }
.fh__veil { position: absolute; inset: 0; background: radial-gradient(ellipse 62% 58% at 16% 90%, rgba(243, 236, 223, .94) 34%, rgba(243, 236, 223, 0) 72%), linear-gradient(0deg, rgba(243, 236, 223, .85), rgba(243, 236, 223, 0) 26%); }
.fh__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: end; width: 100%; }
.fh__in > :first-child { position: relative; z-index: 1; }   /* the title stays in full colour over the intro's clearing where they stack (phones) */
.fh__k { margin-bottom: 22px; color: var(--rust); }
.fh h1 { font-size: clamp(96px, 17.5vw, 310px); line-height: .8; letter-spacing: -.03em; color: var(--found); }
.fh h1 .ln { padding-bottom: .2em; margin-bottom: -.2em; }
.fh__ft { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 24px; padding-bottom: 20px; }
.fh__ft::before { content: ""; position: absolute; z-index: -1; inset: -72px -96px -64px -96px; pointer-events: none; background: radial-gradient(closest-side, rgba(243, 236, 223, .97) 60%, rgba(243, 236, 223, .82) 78%, rgba(243, 236, 223, 0)); }
.fh__ft > p { max-width: 38ch; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; color: var(--ink); }
.fh__lk { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }

/* 2. The latest article: one large card, the whole card one link, wearing the article's own cover */
.h1f { padding-top: 8px; padding-bottom: 88px; scroll-margin-top: 96px; }
.h1f__c { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); border-radius: 18px; overflow: hidden; background: var(--night); color: var(--paper); text-decoration: none; box-shadow: 0 40px 90px rgba(36, 5, 10, .18); }
.h1f__m { position: relative; min-height: 600px; overflow: hidden; }
.h1f__art { position: absolute; inset: 0; overflow: hidden; background: var(--night); }
.h1f__art .pl__no { left: 28px; bottom: 26px; padding: 0; margin: 0; background: none; color: var(--paper); opacity: .85; }
.h1f__t { display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 3.6vw, 56px); }
.h1f__no { font: italic 500 clamp(80px, 8vw, 128px)/.8 var(--display); color: var(--metal); opacity: .9; }
.h1f__k { color: var(--metal); }
.h1f__t h2 { font-size: clamp(40px, 4.6vw, 76px); line-height: .98; text-wrap: balance; }   /* 40px under 870px (46px in the prototype), so a title's last word is not left alone in the card's narrow text column */
@media (max-width: 359px) { .h1f__t { padding-inline: 20px; } .h1f__t h2 { font-size: 11vw; } }   /* the smallest phones: the text column takes the page's 20px margin, and the title scales with the screen, so a line holds about what it does at 360 */
/* A title whose set lines fit the column at 28px on a 320px phone (240px there; the build marks it .fit and gives its widest line in ems as --fit;
   FIT.lead in build-brief.mjs) keeps those lines at every width, as the article's title does, set no larger than the column allows;
   any other title, and a browser without container units, wraps in balanced lines as above */
@supports (width: 1cqi) {
  .h1f__t { container-type: inline-size; }
  .h1f__t h2.fit { font-size: max(28px, min(clamp(40px, 4.6vw, 76px), 98cqi / var(--fit))); }
}
.h1f__d { max-width: 40ch; color: var(--on2); text-wrap: balance; }   /* no word left alone on its last line */
.h1f__ft { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--rule-d); }
.h1f__ft .byl img { width: 40px; height: 40px; }
.h1f__ft .byl__r { display: block; }
.h1f__c .pill { transition: background-color .3s, color .3s; }
.h1f__c:hover .pill { background: var(--metal); color: var(--night); }

/* 3. All articles (two or more articles): the heading, one toolbar row (topics left, search right), the grid */
.hx { padding-bottom: 120px; scroll-margin-top: calc(var(--nav-h, 76px) + 28px); }   /* Browse the archive lands with the heading clear of the bar */
.hx__hd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 6px; }   /* a long count ("1 article for ...") drops under the heading, never squeezes it */
.hx__hd h2 { font-size: 30px; line-height: 1; }
.hx__hd .lab { color: var(--ink2); }
.hx__bar { position: sticky; top: var(--nav-h, 76px); z-index: 20; display: grid; grid-template-columns: auto minmax(180px, 1fr); align-items: center; gap: 12px 24px; padding: 14px 0; margin-bottom: 44px; background: var(--paper3); box-shadow: 0 0 0 100vmax var(--paper3); clip-path: inset(0 -100vmax); border-bottom: 1px solid var(--rule); }
html:not(.js) .hx__bar { display: none; }   /* topics and search need the script; without it every article shows */
.hx__s { position: relative; grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: center; width: 100%; max-width: 320px; }
.hx__s svg { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--ink2); pointer-events: none; }
.hx__s input { width: 100%; min-height: 44px; padding: 0 16px 0 44px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1px rgba(30, 21, 23, .2); color: var(--ink); font: 400 15px var(--sans); -webkit-appearance: none; appearance: none; transition: box-shadow .3s, background-color .3s; }
.hx__s:has(.hx__clr.on) input { padding-right: 42px; }
.hx__s input::placeholder { color: var(--ink2); }
.hx__s input:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--rust); }
.hx__s input::-webkit-search-cancel-button { display: none; }
.hx__clr { position: absolute; right: 8px; display: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--found); color: var(--paper); font: 500 16px/1 var(--sans); cursor: pointer; }
.hx__clr::after { content: ""; position: absolute; inset: -7px; }   /* a 44px target */
.hx__clr.on { display: block; }
/* topic pills: All plus each topic with its count; a pill (.fl__ind) slides to the active one */
.fl { position: relative; grid-column: 1; grid-row: 1; justify-self: start; display: flex; flex-wrap: nowrap; gap: 8px; max-width: 100%; }
.fl__ind { position: absolute; left: 0; top: 0; width: 0; height: 44px; border-radius: 999px; background: var(--found); opacity: 0; transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; }
.fl__ind.on { opacity: 1; }
.fl__b { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1px rgba(30, 21, 23, .24); color: inherit; font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color .3s, color .3s, box-shadow .3s; }
.fl__b span { font: 500 12px/1 var(--mono); opacity: .72; }
.fl__b:hover { box-shadow: inset 0 0 0 1px currentColor; }
.fl__b.on { background: var(--found); color: var(--paper); box-shadow: none; }
.fl.ind .fl__b.on { background: transparent; }
/* the grid: the first two cards large, the rest in threes (two from 1099px, one on phones) */
.hx__g { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 76px 24px; }
.hx__g .cd { grid-column: span 2; scroll-margin-top: calc(var(--nav-h, 76px) + 96px); }   /* keyboard focus brings a card in clear of the bar and the pinned toolbar */
.hx__g.is-all .cd.big { grid-column: span 3; }
.hx__g.is-all .cd.big .cd__m { aspect-ratio: 16 / 10.5; }
.hx__g.is-all .cd.big .cd__t { font-size: clamp(34px, 3.1vw, 50px); }
.h1n { grid-column: 1 / -1; }
.h1n .qc { border-radius: 20px; }
.h1n .qc .art { left: 42%; }
.h1n .qc__in { max-width: 620px; }
.h1n .qc__t { font-size: clamp(36px, 3.5vw, 54px); }
.h1n--solo { padding-bottom: 120px; }   /* one article and the newsletter connected: the card on its own */
#nl { scroll-margin-top: 200px; }
.hx__empty { grid-column: 1 / -1; display: none; padding: 64px 0; text-align: center; }
.hx__empty.on { display: block; }
.hx__empty .d { margin-bottom: 12px; font-size: clamp(36px, 3.4vw, 52px); line-height: 1; }
.hx__empty p { color: var(--ink2); }
.hx__empty a { color: var(--found); text-decoration: underline 1px rgba(67, 27, 35, .4); text-underline-offset: 4px; }
.h1g__more { display: flex; justify-content: center; margin-top: 72px; }
.h1g__mb { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(30, 21, 23, .32); }
.h1g__mb:hover { background: var(--found); color: var(--paper); box-shadow: none; }

/* Cards: the cover (a photo, or the drawn plate), "Topic · N min read", the title, the dek, the byline. The whole card is a link. */
.cd { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; }
.cd__m { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #1b0407; }
.cd__m .cover { transition: transform 1.4s var(--ease); }
.cd:hover .cd__m .cover, .cd:focus-visible .cd__m .cover { transform: scale(1.05); }
.cd__meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--ink2); }
.cd__t { font-size: clamp(28px, 2.3vw, 36px); line-height: 1.04; transition: color .4s; }
.cd:hover .cd__t { color: var(--rust); }
.cd__d { max-width: 46ch; font-size: 16px; line-height: 24px; color: var(--ink2); }
.cd__by { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; color: var(--ink2); font-size: 15px; line-height: 20px; }
.cd__by > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.cd__by > span:first-child > span, .cd__dt { white-space: nowrap; }
.cd__by img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.cd__dt::before { content: "·"; margin-right: 10px; }
.cd__go { display: inline-flex; align-items: center; gap: 8px; color: var(--rust); font: 500 15px/1 var(--sans); opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .6s var(--ease); }
.cd:hover .cd__go, .cd:focus-visible .cd__go { opacity: 1; transform: none; }

/* ---------- The home's sizes ---------- */
@media (max-width: 1279px) { .cd__go { display: none; } }
@media (max-width: 1199px) { .hx__bar { gap: 12px 14px; } .fl { overflow-x: auto; scrollbar-width: none; } .fl::-webkit-scrollbar { display: none; } }
@media (max-width: 1099px) { .hx__g .cd, .hx__g.is-all .cd.big { grid-column: span 3; } }
/* one card in the archive (two articles published): it lies across the row, cover left and words right in the latest card's 1.5 to
   1 proportion, so the row never stands half empty. Two cards or more keep the grid. */
@media (min-width: 900px) {
  .hx__g > a.cd[data-card]:only-of-type { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: 1fr repeat(4, auto) 1fr; gap: 12px clamp(32px, 4vw, 64px); }
  .hx__g > a.cd[data-card]:only-of-type .cd__m { grid-row: 1 / -1; aspect-ratio: 16 / 10.5; }
  .hx__g > a.cd[data-card]:only-of-type > :not(.cd__m) { grid-column: 2; }
  .hx__g > a.cd[data-card]:only-of-type .cd__meta { grid-row: 2; margin-top: 0; }
  .hx__g > a.cd[data-card]:only-of-type .cd__t { grid-row: 3; font-size: clamp(34px, 3.1vw, 50px); }
  .hx__g > a.cd[data-card]:only-of-type .cd__d { grid-row: 4; }
  .hx__g > a.cd[data-card]:only-of-type .cd__by { grid-row: 5; margin-top: 12px; }
}
@media (min-width: 900px) and (max-width: 999px) { .fl { gap: 6px; } }
@media (max-width: 899px) {
  .fh { min-height: max(600px, 84vh); padding-top: 120px; }
  .fh__in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  /* without the hero's links (one article, no newsletter yet) the words keep the place the design gives them over the field, so the
     gold contour runs above the label, never behind it: the links' room stays (a pill and a text link: one row, two on the narrowest phones) */
  .fh__ft:not(:has(.fh__lk)) { padding-bottom: calc(20px + 24px + 52px); }
  .h1f__c { grid-template-columns: minmax(0, 1fr); }
  .h1f__m { min-height: 0; aspect-ratio: 4 / 3; }
  .h1f__no { display: none; }
  .hx__hd { margin-bottom: 2px; }
  .hx__bar { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 10px; margin-bottom: 36px; }
  .hx__s { grid-column: 1; grid-row: 1; justify-self: stretch; max-width: none; }
  /* phones: the pills scroll sideways under the search, edge to edge, fading out on the right */
  .fl { grid-column: 1; grid-row: 2; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut) 48px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 52px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 52px), transparent); }
  .hx__g { gap: 52px 16px; }
  .hx__g .cd, .hx__g.is-all .cd.big { grid-column: 1 / -1; }
  .hx__g.is-all .cd.big .cd__m { aspect-ratio: 4 / 3; }
  .h1n .qc { border-radius: 16px; }
  #nl { scroll-margin-top: 150px; }
}
@media (max-width: 402px) { .fh__ft:not(:has(.fh__lk)) { padding-bottom: calc(20px + 24px + 95px); } }   /* where the two links wrap to two rows */
@media (max-width: 699px) {
  .byl__r, .cd__by, .cd__dt, .fl__b, .hx__s input { font-size: 16px; }   /* phones: no DM Sans under 16px */
}

/* ========== Motion: what the-brief/brief.js layers on (README "Motion", design_handoff_the_brief/reference/behaviour-*.js) ==========
   Everything above is the finished, still page. These rules only start something on a hover, set what a scroll scene needs
   (html.motion, from 900px) or hold the first screen's entrances until the script has taken them over (html.b-pre for the
   hero's words, html.b-art for the drawn covers: set in the head with .motion and lifted by the script as it sets each one up,
   or after 4 seconds if it never starts). Reduced motion and no JavaScript
   get none of it, except the hovers below, which move nothing that is being read. */

/* Page transitions between Brief pages: the clicked card's cover carries into the article; the bar holds still */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-group(brief-cover) { animation-duration: .85s; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }
::view-transition-old(brief-cover), ::view-transition-new(brief-cover) { height: 100%; width: 100%; object-fit: cover; animation-duration: .85s; }
::view-transition-group(site-bar) { animation-duration: .85s; }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: .55s cubic-bezier(0, 0, .2, 1) both brief-vt-in; }
@keyframes brief-vt-in { from { opacity: 0; transform: translateY(14px); } }
.brief .l29m__bar { view-transition-name: site-bar; }
html.js .M1 .hm__c, html.js .H1 .h1f__art { view-transition-name: brief-cover; }   /* a card's cover takes the name on click (brief.js); without the script no cover is named, so none flies from the wrong card */

/* the cursor: gold on the dark grounds, foundation on paper (the homepage's rule); brief.js sets html[data-ground] */
html[data-ground="light"] .cursor { background: var(--found); }
.cursor.is-text { width: 2px; height: 22px; margin: -11px 0 0 -1px; border-radius: 1px; }   /* over the search field */
.has-cursor .cursor.is-live.is-disc { opacity: 0; transition: opacity .25s; }   /* over a round icon button or the way back's ring the dot steps aside, so the icon reads */

/* Headline reveals (SplitText lines in masks): room under each line for the descenders */
.sl-mask { padding-bottom: .24em; margin-bottom: -.24em; }

/* Drawn plates: the gold contour can be traced left to right (--gp runs from -6% to 106%; at rest it shows the whole line) */
@property --gp { syntax: '<percentage>'; inherits: false; initial-value: 106%; }
.pl__g {
  -webkit-mask-image: url(/assets/the-brief/plate-gold.svg), linear-gradient(90deg, #000 var(--gp), transparent calc(var(--gp) + 6%)); mask-image: url(/assets/the-brief/plate-gold.svg), linear-gradient(90deg, #000 var(--gp), transparent calc(var(--gp) + 6%));
  -webkit-mask-size: auto max(150%, 620px), 100% 100%; mask-size: auto max(150%, 620px), 100% 100%;
  -webkit-mask-position: var(--mx) 40%, 0 0; mask-position: var(--mx) 40%, 0 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect;
}
@keyframes brief-gtrace { 0% { --gp: -6%; } 100% { --gp: 106%; } }
@keyframes brief-mk { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes brief-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes brief-fxin { from { opacity: 0; transform: translateY(18px); } }
.nl__mk path { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ok .nl__mk path { animation: brief-mk 1.5s cubic-bezier(.45, 0, .2, 1) both; }   /* the newsletter's thank-you: the Ridge draws itself */
  .ok .nl__mk path:nth-child(2) { animation-delay: .15s; }
  .ok .nl__mk path:nth-child(3) { animation-delay: .3s; }
  html.js .fq__i.on .fq__a p { animation: brief-rise .55s var(--ease) both; }
  .rail.late:not(.end) .rail__off { animation: brief-fxin .6s var(--ease) both; }   /* the offer rises into the share block's place */
  .hx__g.fx [data-card]:not([hidden]) { animation: brief-fxin .7s var(--ease) both; }   /* a change without Flip: the shown cards fade up */
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* a card under the pointer: its contour lines shift a little and the gold line is traced again */
  :is(.cd, .un__big, .rl__c) :is(.pl__ln, .pl__g) { transition: -webkit-mask-position 1.8s var(--ease), mask-position 1.8s var(--ease); }
  :is(.cd, .un__big, .rl__c):hover .pl__ln { -webkit-mask-position: calc(var(--mx) - 5%) 43%; mask-position: calc(var(--mx) - 5%) 43%; }
  :is(.cd, .un__big, .rl__c):hover .pl__g { -webkit-mask-position: calc(var(--mx) - 5%) 43%, 0 0; mask-position: calc(var(--mx) - 5%) 43%, 0 0; animation: brief-gtrace 1.3s cubic-bezier(.45, 0, .2, 1) both; }
}

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  /* Fig. 1 as a scrubbed scene: a 290vh wrapper and the stage (only as tall as the figure) sticky, centred under the bar
     (--ext, measured by the-brief/figures/shortlist.js on load and on every refresh). The page keeps this layout from its first
     paint; the scene itself (the ten links that fold into the answer, the steps lighting in turn) starts once the figure's script
     has set it up (.is-set). Until then, and if that script never comes, the stage holds the figure's finished state. */
  html.motion .ex { height: 290vh; }
  html.motion .ex__st { position: sticky; top: var(--ext, 96px); }
  html.motion .ex.is-set .ex__step { opacity: .28; transition: opacity .5s; }
  html.motion .ex.is-set .ex__step.on { opacity: 1; }
  html.motion .ex.is-set .ex__list { display: grid; }
  html.motion .ex.is-set .ex__ans { position: absolute; left: 0; right: 0; top: 0; }

  /* the first screen, held until brief.js has set its entrances (no flash of the finished frame before they start) */
  html.b-pre [data-s="hero"] .ln > span { transform: translateY(112%); }
  html.b-pre [data-s="hero"] [data-hero-fade] { opacity: 0; }
  html.b-art :is(.fh, .hm) [data-art] :is(.art__ln, .art__gd) { opacity: 0; }
  html.b-art [data-clipin] { clip-path: inset(6% 5% 6% 5% round 22px); }
}

/* Fig. "touchpoints" as a scrubbed scene (the-brief/figures/touchpoints.js), at any width with motion where the window is at least
   600px tall: one device in the paper plate, sized to the window (--k, measured by the script from the small viewport height, so
   a phone's toolbars never resize it), in a wrapper 250vh tall (220vh under 900px), its stage sticky between the bar and the foot
   of the window or the section chip (--tpt). CSS sticky, never a ScrollTrigger pin. Under 900px the caption slides under the bar
   while the stage holds (--tpt is set so), keeping the device large enough to read. The page keeps this layout from its first
   paint and the device shows the booking page, the finished frame, until the script has set the scene up (.is-set); where the
   device would come out smaller than the script's floor, it marks the figure .tp--still and the still figure above returns, as it
   does if the library never comes (brief.js drops html.motion). */
@media (prefers-reduced-motion: no-preference) and (min-height: 600px) {
  html.motion figure.tp:not(.tp--still) { height: 250vh; height: 250svh; }
  html.motion .tp:not(.tp--still) .tp__st { position: sticky; top: var(--tpt, 96px); }
  html.motion .tp:not(.tp--still) .tp__pl { padding: 36px 24px 26px; }
  html.motion .tp:not(.tp--still) .tp__fr { display: flex; flex-direction: column; align-items: center; gap: 22px; }
  html.motion .tp:not(.tp--still) .tp__dv { position: relative; display: block; width: calc(290px * var(--k, 1)); height: calc(520px * var(--k, 1)); border-radius: calc(40px * var(--k, 1)); background: var(--night); box-shadow: inset 0 0 0 1px rgba(201, 165, 112, .42), 0 30px 80px rgba(30, 21, 23, .26); }
  html.motion .tp:not(.tp--still) .tp__win { position: absolute; display: block; inset: calc(10px * var(--k, 1)); overflow: hidden; border-radius: calc(30px * var(--k, 1)); }
  html.motion .tp:not(.tp--still) .tp__ph { --s: var(--k, 1); --ch: 500px; position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; background: none; box-shadow: none; }
  html.motion .tp:not(.tp--still) .tp__ph--book { transform-origin: 0 0; }
  html.motion .tp:not(.tp--still) .tp__sc { left: 0; top: 0; border-radius: 0; }
  html.motion .tp:not(.tp--still) .tp__ph--map { --pin: 206px; }
  html.motion .tp:not(.tp--still) .tp__ph--ai .tp__in { display: block; }
  html.motion .tp:not(.tp--still) .tp__ob { display: flex; }   /* the whole conversation so far (the stacked still keeps only the last) */
  html.motion .tp:not(.tp--still) :is(.tp__ph--msg, .tp__ph--ai) .tp__sc { box-shadow: 0 -16px 40px rgba(0, 0, 0, .4); }
  html.motion .tp:not(.tp--still) .tp__hl { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 1.5px; background: var(--metal); transform-origin: 0 0; opacity: 0; visibility: hidden; }
  html.motion .tp:not(.tp--still) .tp__ix { position: relative; isolation: isolate; display: flex; align-items: center; gap: 22px; }
  html.motion .tp:not(.tp--still) .tp__ixi { z-index: auto; width: 34px; height: 34px; }
  html.motion .tp:not(.tp--still) .tp__ixi--go { margin-left: 18px; }
  html.motion .tp:not(.tp--still) .tp__ixi + .tp__ixi::after { content: ""; position: absolute; z-index: -1; right: 100%; top: 50%; width: 22px; height: 1px; background: rgba(30, 21, 23, .2); }
  html.motion .tp:not(.tp--still) .tp__ixi--go::after { width: 40px; background: repeating-linear-gradient(90deg, rgba(30, 21, 23, .32) 0 3px, transparent 3px 7px); }
  html.motion .tp:not(.tp--still) .tp__rt { position: absolute; z-index: 0; left: 17px; right: 17px; top: 50%; width: auto; height: 1.5px; margin: -.75px 0 0; }   /* over the rings' track, under the rings */
  html.motion .tp.is-set:not(.tp--still) .tp__gh--l { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }
  html.motion .tp.is-set:not(.tp--still) .tp__gh--r { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 72px), transparent); }
  html.motion .tp.is-set:not(.tp--still) :is(.tp__ph, .tp__gh, .tp__gi, .tp__hl) { will-change: transform; }
  html.motion .tp:not(.is-set):not(.tp--still) .tp__ph:not(.tp__ph--book) { visibility: hidden; }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) and (min-height: 600px) {
  html.motion figure.tp:not(.tp--still) { height: 220vh; height: 220svh; }
  html.motion .tp:not(.tp--still) .tp__pl { padding: 16px 14px 14px; }
  html.motion .tp:not(.tp--still) .tp__fr { gap: 14px; }
  html.motion .tp:not(.tp--still) .tp__ix { gap: 16px; }
  html.motion .tp:not(.tp--still) .tp__ixi { width: 30px; height: 30px; }
  html.motion .tp:not(.tp--still) .tp__ixi--go { margin-left: 14px; }
  html.motion .tp:not(.tp--still) .tp__ixi + .tp__ixi::after { width: 16px; }
  html.motion .tp:not(.tp--still) .tp__ixi--go::after { width: 30px; }
  html.motion .tp:not(.tp--still) .tp__rt { left: 15px; right: 15px; }
}
@media (max-width: 359px) and (prefers-reduced-motion: no-preference) and (min-height: 600px) {
  html.motion .tp:not(.tp--still) .tp__pl { padding-inline: 8px; }   /* the smallest phones: the device keeps a readable size */
}
