/* =========================================================================
   THE 66TH, CONCEPT 3. ONE SHARED STYLESHEET.

   Every page composes from this file. A page may not carry its own <style>
   block, redefine a colour, or use a size off the scale. Nav and footer
   markup is byte-identical on every page, so changing a nav link here
   changes it everywhere.

   KNOWN GAP (2026-08-23): the homepage, "Concept 3 v2 - Monolith + Verum
   .dc.html", is a design-tool export with every rule written inline, so it
   does NOT read this file yet. Until that page is rebuilt by hand, the nav
   and footer exist in two places and can drift. Token values below were
   lifted from that export so the two agree today.
   ========================================================================= */

/* --- TOKENS -------------------------------------------------------------- */

/* --- BASE ---------------------------------------------------------------- */
*{margin:0;padding:0;box-sizing:border-box}
html,body{overflow-x:clip}
@supports not (overflow:clip){html,body{overflow-x:hidden}}
body{
  background:var(--bg-a);color:var(--ink);
  font-family:var(--font);-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media(prefers-reduced-motion:reduce){*{transition:none !important;animation:none!important}}

.shell{max-width:var(--shell);margin:0 auto;padding:0 var(--gutter)}
/* the nav is fixed, so the first block has to clear it: 68px bar + 14px
   band top and bottom. */
body{padding-top:var(--nav-clear)}

/* --- NAV -----------------------------------------------------------------
   Moved to assets/nav.css 2026-08-25, so the homepage (which cannot read
   this file) and every page that can both draw the same bar from the same
   rules. Pages load two-suns-nav.css alongside this one. Do not re-add nav rules here.
   -------------------------------------------------------------------------- */

/* --- PRIMITIVES ---------------------------------------------------------- */

/* No section labels above headings: see DESIGN.md section 3 (Liam, 2026-09-01). */

/* micro label, e.g. a category */
.kind{
  font-family:var(--font-mono);font-size:var(--t-micro);font-weight:500;
  letter-spacing:.24em;text-transform:uppercase;color:var(--quiet);
}

/* display date */
.big-d{font-size:var(--t-4);font-weight:700;letter-spacing:-.045em;line-height:1;font-variant-numeric:tabular-nums}

/* media plate. .photo centres; without it the image anchors top, which is
   how the per-post diagrams get their baked-in title cropped away. */
/* min-width:0 matters: a grid track sized 1fr keeps min-width auto, so an
   image's intrinsic width can force the column open. Safari does exactly
   that and the page drags sideways on a phone. Pair this with minmax(0,1fr)
   on every track that holds a plate. */
.plate{overflow:hidden;min-width:0;background:var(--bg-b);border:1px solid var(--line);border-radius:var(--r-card);aspect-ratio:12/5}
.plate img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform var(--dur-3) var(--ease)}
.plate.photo img{object-position:center center}
.plate:hover img{transform:scale(1.02)}

/* A screenshot is evidence, so it never gets cropped. The 12/5 frame above is
   for the purpose-drawn diagrams, which are cut to it. A Search Console shot,
   a GA4 panel or a Google review is between 1.1 and 3.7 wide, and cover threw
   away a third of every one of them on the case studies: the top and bottom
   rows of the AI video keyword table, and both ends of the reviewer's name.
   .shot drops the fixed frame and lets the picture set its own height inside
   the same border. */
.plate.shot{aspect-ratio:auto}
.plate.shot img{height:auto;object-fit:contain}

/* A video in a figure gets the same frame. The Tenmar Search Console clip
   carried no width rule at all, so it drew at its poster's own 2532px inside a
   929px column and body{overflow-x:clip} threw the right two thirds off the
   page, the most recent months and the peak included. */
.note-body figure video{display:block;width:100%;height:auto;background:var(--bg-b);border:1px solid var(--line);border-radius:var(--r-card)}

/* text link with a travelling arrow */
.go{
  display:inline-flex;align-items:center;gap:9px;
  font-family:var(--font-mono);font-size:var(--t-label);font-weight:500;
  letter-spacing:.2em;text-transform:uppercase;
  border-bottom:1px solid var(--line);padding-bottom:var(--s-1);
  transition:border-color var(--dur-1),gap var(--dur-2) var(--ease);
}

/* --- FOOTER --------------------------------------------------------------
   The column block and the bottom bar are injected from partials/ by
   deploy.sh, so their links are identical on every page. The homepage adds
   one extra element between them, the .mark-band with the material blob,
   which stays homepage-only: it is that page's closing moment and it needs
   support.js plus five preloaded materials.
   -------------------------------------------------------------------------- */
.site-foot{border-top:1px solid var(--line);background:var(--bg-b);margin-top:var(--s-7)}

/* The footer component itself is in assets/footer.css. This page caps it at
   --shell and centres it; the homepage runs it full bleed. See the note at the
   top of two-suns-footer.css: the difference is real and unsettled, and both overrides
   delete once it is settled. */
.site-foot .foot-cols{max-width:var(--shell);margin:0 auto}
.site-foot .foot-bar{max-width:var(--shell);margin:0 auto;padding:22px clamp(12px,1.6vw,24px) 30px}

/* =========================================================================
   PAGE: NOTES INDEX
   ========================================================================= */
.mast{padding:clamp(22px,3.4vw,50px) 0 clamp(24px,3.4vw,44px)}
.mast p{margin-top:var(--s-4);max-width:54ch;font-size:var(--t-5);line-height:1.5;color:var(--ink-2)}
.mast h1{margin-top:clamp(18px,2.6vw,34px);font-family:var(--font-display);font-size:var(--t-display);font-weight:400;letter-spacing:-.005em;line-height:.94;text-transform:uppercase}

.lead{display:block;padding-bottom:var(--s-7);border-bottom:1px solid var(--line)}
.lead-cap{display:flex;justify-content:space-between;align-items:flex-start;gap:clamp(20px,4vw,64px);padding-top:var(--s-4);flex-wrap:wrap}
.lead-cap h2{font-family:var(--font-display);font-size:var(--t-4);font-weight:400;letter-spacing:-.018em;line-height:1.14;max-width:24ch;transition:color var(--dur-1)}
.lead:hover .lead-cap h2{color:var(--ink-hi)}
.lead-cap p{margin-top:var(--s-3);max-width:56ch;font-size:var(--t-7);line-height:1.7;color:var(--quiet)}
.lead-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none}

.row{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:clamp(26px,5vw,84px);align-items:center;border-bottom:1px solid var(--line);padding:var(--s-5) 0}
.row-top{display:flex;align-items:baseline;justify-content:space-between;gap:var(--s-3);margin-bottom:var(--s-3)}
.row h3{font-size:var(--t-5);font-weight:600;letter-spacing:-.025em;line-height:1.2;margin-bottom:14px;max-width:30ch;transition:color var(--dur-1)}
.row:hover h3{color:var(--ink-hi)}
.row p{font-size:var(--t-7);line-height:1.7;color:var(--quiet);max-width:50ch;margin-bottom:var(--s-4)}
.row:hover .go{border-color:var(--ink);gap:15px}

.arch{padding-top:var(--s-7)}
/* The word FITS the container, edge to edge. Nothing hangs outside it.
   It shipped twice the wrong way: first chopped by the shell with page still
   visible past the cut, then bleeding to the screen edge, which is still text
   outside the container. Liam, 2026-08-26: "the text going out of the
   conatinare seriosuly uncappeabtle".
   assets/fit-text.js measures the text and sets the size so it spans exactly
   the content box at any width. A clamp() cannot do this: the right size
   depends on container width, word, font metrics and letter-spacing together,
   so a hardcoded vw figure is right at one width and wrong everywhere else.
   Never clip display type. Fit it. */
.giant{margin:clamp(16px,2.4vw,30px) 0 clamp(26px,3.4vw,44px)}
.giant span{display:block;font-size:96px;font-weight:700;letter-spacing:-.05em;line-height:.92;white-space:nowrap;text-transform:uppercase}

.ar-head,.ar{display:grid;grid-template-columns:112px minmax(0,1fr) 116px;gap:clamp(16px,2.4vw,34px);align-items:baseline}
.ar-head{font-family:var(--font-mono);font-size:var(--t-micro);font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--quiet);padding-bottom:14px;border-bottom:1px solid var(--line)}
.ar{padding:19px 0;border-bottom:1px solid var(--line);transition:background var(--dur-1)}
.ar:hover{background:var(--wash-row)}
.ar-d{font-family:var(--font-mono);font-size:var(--t-label);font-weight:500;letter-spacing:.1em;color:var(--quiet);white-space:nowrap;font-variant-numeric:tabular-nums}
.ar-d em{font-style:normal;opacity:.55}
.ar-t{font-size:var(--t-7);font-weight:500;letter-spacing:-.01em;line-height:1.4;transition:color var(--dur-1)}
.ar:hover .ar-t{color:var(--ink-hi)}
.ar-c{font-family:var(--font-mono);font-size:var(--t-micro);font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--quiet);text-align:right}

/* --- MOBILE COLLAPSE ----------------------------------------------------- */
@media(max-width:820px){
  .row{grid-template-columns:minmax(0,1fr)}
  .row .plate{order:-1}
  .ar-head,.ar{grid-template-columns:92px minmax(0,1fr)}
  .ar-c{display:none}
}
/* nav mobile rules live in assets/nav.css */

/* --- THE WORK WALL ------------------------------------------------------- */
/* A full-bleed scene: the sites we built, hung in depth, moved by the pointer.
   Captured from Squarespace's "Made with Squarespace" section on 2026-09-01 and
   rebuilt on these tokens. What we took is the MECHANISM, never the screen:
   panels angled toward the centre so the field reads as a corridor, a damped
   glide that keeps moving for about a second after the pointer stops, and the
   live domain as the only label. What is ours: the cream-on-near-black ground,
   the card corners, and the monochrome rule. Colour is the hover reward, which is
   how this section keeps the no-resting-colour rule while still showing the work
   in the colours the clients actually shipped. */
/* The work wall's styles live in two-suns-wall.css, one home read by the wall pages
   and the homepage alike. */

/* --- WHAT IT DOES FOR YOU: lives in assets/benefits.css (its own
   component file, like the wall), loaded by benefits.html alongside this. */

/* =========================================================================
   PAGE: NOTE (one note, read end to end)

   Layouts .note-head, .note-body and .note-foot, plus the prose table, the
   figure and the byline. All of it is declared in docs/DESIGN.md sections 4
   and 5 before it was written here.

   The reading structure is taken from our own live note page, measured
   2026-09-03: a sticky contents rail on the left, a meta row, a sans H1, a
   standfirst, a hairline, then the byline. The language is this site's: serif
   H2s, the 2px plate, mono labels, and the two grounds.

   Why the H1 is sans and the H2s are serif, which inverts the homepage: a long
   title set in Instrument Serif at reading distance loses its contrast against
   the standfirst directly under it, and the serif then has no job left on the
   page. Sans title, serif section headings, one voice each.
   ========================================================================= */
.note{--rail:210px;--railgap:var(--s-5);--col:720px;display:block}

/* --- the head ------------------------------------------------------------
   Nothing in tracked capitals. The breadcrumb, then the headline, then the
   standfirst, then one hairline with who wrote it on the left and the topic,
   date and read time on the right, all in sentence case. Liam 2026-09-27 on the
   case page head ("why is it the ai slop eyebrow stuff"), applied to the notes
   2026-10-25: three rows of mono capitals sat above every note's H1. */
.note-head{padding:var(--s-6) 0 var(--s-5);padding-left:calc(var(--rail) + var(--railgap))}
/* The breadcrumb (Web build baseline 12, Liam, November 9, 2026): the same
   nav.crumbs on every page but the homepage, written in by the build
   (_scripts/breadcrumbs.mjs). On a note, a glossary term and a case study it
   takes the back link's place and look: sentence case, quiet. The trail is one
   line; when it runs out of room it ends in an ellipsis, which cuts the page's
   own name first, since the headline under it says it in full. The 3px of
   padding inside the clip keeps a keyboard focus ring visible. */
.crumbs{font-size:var(--t-7);line-height:1.4;color:var(--quiet);margin-bottom:var(--s-5);max-width:100%}
.crumbs ol{list-style:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:3px;margin:-3px}
.crumbs li{display:inline}
.crumbs li:not(:last-child)::after{content:"/";margin:0 .55em;color:var(--quiet)}
.crumbs a{color:var(--ink-2);transition:color var(--dur-1)}
.crumbs a:hover{color:var(--ink)}
.note-head h1{font-size:var(--t-3);font-weight:400;letter-spacing:-.035em;line-height:1.06;max-width:880px;margin-bottom:var(--s-4);text-wrap:balance}
.note-lede{font-size:var(--t-5);line-height:1.5;letter-spacing:-.012em;color:var(--quiet);max-width:820px;margin-bottom:var(--s-5);text-wrap:pretty}
.note-sig{display:flex;align-items:baseline;justify-content:space-between;gap:var(--s-2) var(--s-5);flex-wrap:wrap;border-top:1px solid var(--line);padding-top:var(--s-3);max-width:880px}
.note-by,.note-meta{display:flex;align-items:baseline;flex-wrap:wrap;font-size:var(--t-7);line-height:1.5;color:var(--quiet)}
.note-by b{font-weight:500;letter-spacing:-.01em;color:var(--ink)}
.note-meta b{font-weight:400;color:var(--ink-2)}
.note-by>*+*::before,.note-meta>*+*::before{content:"\00B7";margin:0 .55em;color:var(--quiet-2)}

/* --- the body ------------------------------------------------------------
   Three tracks: the rail, the reading column, and the room a figure or a table
   breaks out into. The prose never uses that third track, because a --t-6 line
   across the full shell runs past a comfortable measure. */
.note-body{display:grid;grid-template-columns:var(--rail) minmax(0,var(--col)) minmax(0,1fr);column-gap:var(--railgap);padding-bottom:var(--s-7)}
.note-body>*{grid-column:2}
.note-body>figure,.note-body>.note-table{grid-column:2/4}
.note-body p{font-size:var(--t-6);line-height:1.65;color:var(--ink-2);margin:0 0 var(--s-4)}
.note-body h2{font-family:var(--font-display);font-size:var(--t-4);font-weight:200;letter-spacing:-.03em;line-height:1.1;margin:var(--s-6) 0 var(--s-4);scroll-margin-top:var(--nav-clear);text-wrap:balance}
.note-body h2:first-of-type{margin-top:var(--s-5)}
/* The rest of the prose, as the case page body sets it (two-suns-cases.css, .bd-main).
   Until 2026-10-25 none of this had a rule: lists printed at the browser's 16px
   under 21px paragraphs, with no gap between items, bullets hanging outside the
   column and numbered lists showing no numbers, and every H3 sat flush on the
   paragraph under it. 1,932 list items and 1,006 H3s across 80 notes. */
.note-body h3{font-size:var(--t-6);font-weight:500;line-height:1.35;letter-spacing:-.01em;color:var(--ink);margin:var(--s-5) 0 var(--s-2);scroll-margin-top:var(--nav-clear);text-wrap:balance}
.note-body h2+h3{margin-top:0}
.note-body ul,.note-body ol{margin:0 0 var(--s-4);padding-left:1.25em}
.note-body ol{list-style:decimal}
.note-body ul{list-style:disc}
.note-body li{font-size:var(--t-6);line-height:1.65;color:var(--ink-2);margin:0 0 var(--s-2);padding-left:.2em}
.note-body li::marker{color:var(--quiet);font-variant-numeric:tabular-nums}
.note-body li>p{margin:0 0 var(--s-2)}
.note-body li>p:last-child,.note-body li>ul,.note-body li>ol{margin-bottom:0}
.note-body li>ul,.note-body li>ol{margin-top:var(--s-2)}
.note-body strong,.note-body b{font-weight:500;color:var(--ink)}
.note-body blockquote{margin:var(--s-5) 0;padding:0 0 0 var(--s-4);border-left:1px solid var(--edge-4)}
.note-body blockquote p{color:var(--ink)}
.note-body blockquote p:last-child{margin-bottom:0}
.note-body code{font-family:var(--font-mono);font-size:.84em;padding:.1em .38em;border-radius:var(--r-sm);background:var(--wash-field);color:var(--ink)}
.note-body hr{border:0;border-top:1px solid var(--line);margin:var(--s-6) 0}
/* Body links differ from body text on colour, weight and underline, never on
   colour alone: an underline is the only one of the three a reader can see at a
   glance on a near-black ground. A link in a list or a quote reads the same as
   one in a paragraph. */
.note-body p a,.note-body li a,.note-body blockquote a,.note-body figcaption a{color:var(--ink);font-weight:500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:var(--quiet);transition:text-decoration-color var(--dur-1)}
.note-body p a:hover,.note-body li a:hover,.note-body blockquote a:hover,.note-body figcaption a:hover{text-decoration-color:var(--ink)}
/* The card corners every other card on the site takes (DESIGN.md, Liam
   2026-10-15), scoped to the note so it reaches nothing else. Debt 11 rounds
   two-suns-site.css itself when its branch ships. */
.note .plate,.note .note-cta{border-radius:var(--r-card)}
/* a note's cover is drawn 16:9 (DESIGN.md section 8), so its plate is too: the
   12:5 plate cut the top and bottom off the art */
.note .plate.photo{aspect-ratio:16/9}
.note .note-rail a{border-radius:var(--r-sm)}
.note-fine{font-size:var(--t-7);line-height:1.7;color:var(--quiet);border-top:1px solid var(--line);padding-top:var(--s-4);margin-top:var(--s-5)}

/* --- the contents rail --------------------------------------------------- */
.note-rail{grid-column:1;grid-row:1/-1;position:sticky;top:var(--nav-clear);align-self:start;padding-top:var(--s-5)}
.note-rail p{font-family:var(--font-mono);font-size:var(--t-micro);font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--quiet);margin:0 0 var(--s-3)}
.note-rail ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--s-2)}
.note-rail a{display:block;font-size:var(--t-7);line-height:1.35;color:var(--quiet);padding:var(--s-1) var(--s-2);margin-left:calc(var(--s-2) * -1);border-radius:var(--r-sm);transition:color var(--dur-1),background var(--dur-1)}
.note-rail a:hover{color:var(--ink)}
.note-rail a[aria-current="true"]{color:var(--ink);background:var(--wash-row)}
/* the rail is a list inside .note-body, so it steps out of the prose list and
   link rules above */
.note-body .note-rail li{font-size:inherit;line-height:inherit;margin:0;padding:0}
.note-body .note-rail a{font-weight:400;text-decoration:none}

/* --- the figure ----------------------------------------------------------
   The plate is the site's image component. The caption sits BELOW it, outside
   the picture, never as a label laid over it. */
.note-body figure{margin:var(--s-5) 0}
/* sentence case, as on the case pages: a caption is a sentence a reader reads */
.note-body figcaption{font-size:var(--t-7);line-height:1.5;color:var(--quiet);padding-top:var(--s-3);max-width:var(--col)}

/* --- the prose table -----------------------------------------------------
   One hairline under each row and nothing above it, the same grammar as the
   archive rows. It scrolls inside its own box under 900px rather than dragging
   the page sideways. */
.note-table{overflow-x:auto;margin:var(--s-5) 0}
/* A note written without the .note-table wrapper still gets a scroller. The
   Riyadh listicle's comparison table ran 428px wide in a 375px viewport with
   nothing to scroll it and overflow hidden above it, so its last column,
   Headquarters, could not be reached on a phone at all.

   No grid-column here, unlike .note-table. On a note where --rail and --col are
   undefined the grid declaration is invalid and every child auto-places, so
   asking for column 4 grew the implicit grid from one track to three and cut
   the reading column to 92px, tripling the page. */
.note-body>table{display:block;max-width:100%;overflow-x:auto;margin:var(--s-5) 0;border-collapse:collapse}
.note-table table{width:100%;border-collapse:collapse;min-width:680px}
.note-table th,.note-body>table th{font-family:var(--font-mono);font-size:var(--t-micro);font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--quiet);text-align:left;vertical-align:bottom;padding:0 var(--s-4) var(--s-3) 0;border-bottom:1px solid var(--line)}
.note-table td,.note-body>table td{font-size:var(--t-7);line-height:1.55;color:var(--ink-2);vertical-align:top;padding:var(--s-3) var(--s-4) var(--s-3) 0;border-bottom:1px solid var(--line)}
.note-table tr>*:last-child,.note-body>table tr>*:last-child{padding-right:0}
.note-table td:first-child,.note-body>table td:first-child{font-family:var(--font-mono);font-weight:500;color:var(--quiet);font-variant-numeric:tabular-nums;white-space:nowrap}

/* --- the foot ------------------------------------------------------------ */
.note-foot{border-top:1px solid var(--line);padding-top:var(--s-6)}
/* More notes: three of the notebook's sheets (two-suns-notes.css) in a folder with no
   tabs, so all four of its corners round */
.note-more{border-radius:var(--r-card)}
.note-foot h2{font-family:var(--font-display);font-size:var(--t-4);font-weight:200;letter-spacing:-.03em;margin:0 0 var(--s-4)}
/* The closing panel takes the homepage Book a call panel's ground, height and
   padding, because section 4 names that section as its source. It used to show
   assets/cta-scene.webp directly at half opacity. That file was the homepage's
   REFERENCE FRAME, not artwork: the homepage never displayed it, it sampled the
   two figures' pixels out of it to redraw them as a particle field on canvas,
   until the figures shipped as data on October 26, 2026 and it came off the site. Shown flat it carries another company's headline and their
   Schedule a demo button, and at 1232 by 340 against a 898 by 690 picture,
   object-fit cover threw away 64 percent of it and cut the figure off at the
   waist. Liam approved this replacement on 2026-09-04. The particle canvas
   stays homepage-only for now: it is 150 lines of drawing code and it would
   still need that same reference frame shipped to sample from. Debt 6.
   Liam 2026-09-04: "i want the one that i have with the silhouettes". So the
   scene came over too. assets/cta-scene.js is setupCtaScene() lifted out of the
   homepage export unchanged, so this panel draws the SAME dune and the SAME two
   sampled silhouettes rather than an approximation of them, and the height comes
   back with the art. I had shipped a version with no scene in it and it read as
   an empty box; the answer was to port the real thing, not to shrink the box. */
.note-cta{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:var(--r-card);background:radial-gradient(130% 96% at 76% 6%,rgba(237,233,225,0.10) 0%,rgba(237,233,225,0.02) 44%,rgba(237,233,225,0) 68%),var(--bg-a);margin:var(--s-7) 0 var(--s-7);padding:var(--s-5);display:flex;align-items:flex-end;justify-content:space-between;gap:var(--s-5);flex-wrap:wrap;min-height:clamp(360px,52vh,558px)}
/* the scene, drawn by assets/cta-scene.js, exactly as the homepage draws it */
.note-cta canvas{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block}
/* the grain and the floor shadow the homepage panel carries, as pseudo-elements
   because this panel's markup is generated by _scripts/reskin-blog.mjs */
.note-cta::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.08;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");background-size:180px 180px}
.note-cta::after{content:"";position:absolute;left:0;right:0;bottom:0;height:40%;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(18,17,16,0) 0%,rgba(18,17,16,.42) 62%,rgba(18,17,16,.66) 100%)}
.note-cta h2,.note-cta a{position:relative;z-index:2}
.note-cta h2{font-family:var(--font-display);font-size:var(--t-3);font-weight:400;letter-spacing:-.02em;line-height:1.06;max-width:24ch;margin:0}
/* a closing heading with a line under it (the case studies hub) */
.note-cta-copy{position:relative;z-index:2}
.note-cta-copy p{margin:var(--s-3) 0 0;max-width:48ch;font-size:var(--t-6);line-height:1.5;color:var(--ink-2)}

/* --- MOBILE COLLAPSE ----------------------------------------------------- */
@media(max-width:1100px){
  .note-head{padding-left:0;max-width:var(--col)}
  .note-body{grid-template-columns:minmax(0,var(--col))}
  .note-body>*,.note-body>figure,.note-body>.note-table{grid-column:1}
  .note-rail{display:none}
}
@media(max-width:900px){
  /* The table is wider than a phone, so it scrolls inside its own box. Two
     things make that scroll legible rather than looking like a page cut off:
     the Month column stays put on the left, and the right edge fades, which is
     the only cue a reader gets that there is more table to the right. */
  .note-table th:first-child,.note-table td:first-child,.note-body>table th:first-child,.note-body>table td:first-child{position:sticky;left:0;background:var(--bg-a);padding-right:var(--s-3);box-shadow:1px 0 0 var(--line)}
  .note-table{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - var(--s-5)),transparent);mask-image:linear-gradient(to right,#000 calc(100% - var(--s-5)),transparent)}
}
@media(max-width:820px){
  /* The height STAYS on a phone. It used to collapse to min-height:0, which
     squeezed the scene into 185px and put the two lit silhouettes directly
     behind the heading, so the middle of the line went unreadable (caught in a
     375px screenshot, 2026-09-04). The scene needs room above the text, which
     is exactly why the homepage panel keeps its height at every width. */
  .note-cta{padding:var(--s-5)}
  /* A narrow panel is tall for its width, so the scene draws the two figures
     across the middle, right where the heading sits. The floor shadow grows to
     meet the text instead: taller, and dark enough that the line reads over the
     brightest part of the dune. Judged against a 375px screenshot, not the DOM. */
  .note-cta::after{height:74%;background:linear-gradient(180deg,rgba(18,17,16,0) 0%,rgba(18,17,16,.55) 38%,rgba(18,17,16,.86) 72%,rgba(18,17,16,.93) 100%)}
  .note-cta h2{max-width:none}
}

/* ==========================================================================
   PHONE. Read at a real 375px across every page type on 2026-09-04.
   ========================================================================== */
@media(max-width:720px){
  /* 44px of target on the breadcrumb's links. They stay inline, so a trail
     too long for the line is cut inside its words, never a whole step at a time */
  .crumbs{margin-bottom:var(--s-4)}
  .crumbs ol{line-height:44px}
  .crumbs a{padding:14px 0}

  /* A ranked listicle puts a link in every row and the rows were 20px tall.
     The cell is the target now, not the word inside it. */
  .note-table td,.note-body>table td{padding-top:var(--s-4);padding-bottom:var(--s-4)}
  .note-table td a,.note-body>table td a{display:inline-flex;align-items:center;min-height:44px}
}

/* ==========================================================================
   CONTACT PAGE. Three layouts, each declared in concept-3 docs/DESIGN.md
   section 4 with the component it borrows its grammar from. Nothing here is
   new language: the head is the note head without its back link and meta row,
   the two cards are the section card, and the question list is the archive row.
   ========================================================================== */

/* --- Page head ------------------------------------------------------------
   An H1 and a standfirst, then a hairline, then the two ways to start. No
   label above the heading: the heading opens the page. */
.page-head{padding:var(--nav-clear) 0 var(--s-6)}
.page-head h1{margin:0;max-width:13ch;font-family:var(--font-display);font-size:var(--t-1);font-weight:400;letter-spacing:-.024em;line-height:1}
.page-head .stand{margin:var(--s-4) 0 0;max-width:54ch;font-size:var(--t-5);line-height:1.5;color:var(--ink-2)}
.page-head .starts{display:flex;flex-wrap:wrap;gap:var(--s-3);margin-top:var(--s-5);padding-top:var(--s-5);border-top:1px solid var(--line)}

.trap input{height:1px}

/* The buttons, filled (.book) and frame (.frame), are assets/nav.css's: one size on every page,
   52px in a section (Brackets, Liam, October 24, 2026). */

/* --- Contact split --------------------------------------------------------
   The two ways to start, side by side on the 14px gap the service split uses.
   Left books the call, right writes the message. Columns align to the top. */
.contact-split{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.contact-card{min-width:0;display:flex;flex-direction:column;gap:var(--s-3);padding:clamp(24px,2.4vw,32px);border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg-c)}
.contact-card h2{margin:0;font-size:var(--t-5);font-weight:500;letter-spacing:-.02em;line-height:1.14;color:var(--ink)}
.contact-card p{margin:0;max-width:44ch;font-size:var(--t-7);line-height:1.62;color:var(--quiet)}
.contact-card .book,.contact-card .frame{align-self:flex-start;margin-top:var(--s-2)}

/* the form's fields, on the same hairline and wash the rest of the site uses */
#contactForm{display:flex;flex-direction:column;gap:var(--s-3)}
.field{display:flex;flex-direction:column;gap:var(--s-1)}
.field>span{font-family:var(--font-mono);font-size:var(--t-micro);font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--quiet)}
.field input,.field textarea{width:100%;min-width:0;padding:13px 14px;background:var(--wash-field);border:1px solid var(--line);border-radius:var(--r-sm);font-family:var(--font);font-size:var(--t-7);line-height:1.5;color:var(--ink);transition:border-color var(--dur-1) var(--ease)}
.field input::placeholder,.field textarea::placeholder{color:var(--quiet-2)}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--edge-4)}
.field textarea{resize:vertical;min-height:112px}
/* iPhone Safari zooms the page into any field set under 16px when it takes focus,
   and --t-7 is 13px on a phone, so a touch screen gets 16px */
@media (pointer:coarse){.field input,.field textarea{font-size:16px}}
.trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sent{display:none;gap:var(--s-2);flex-direction:column}
.sent h3{margin:0;font-size:var(--t-6);font-weight:500;color:var(--ink)}
form[data-sent] .sent{display:flex}
form[data-sent] .field,form[data-sent] button{display:none}

/* --- Question list --------------------------------------------------------
   The archive row's grammar, one hairline under each row, opened by a press.
   A row is a button so a keyboard reaches it. */
.qa-row{border-bottom:1px solid var(--line)}
.qa-q{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:var(--s-4);padding:var(--s-4) 0;background:none;border:0;cursor:pointer;text-align:left;font-family:var(--font);font-size:var(--t-6);line-height:1.35;letter-spacing:-.012em;color:var(--ink);transition:color var(--dur-1) var(--ease)}
.qa-q:hover{color:var(--ink-hi)}
.qa-q>span{flex:none;font-family:var(--font-mono);font-size:var(--t-label);color:var(--quiet);transition:transform var(--dur-2) var(--ease)}
.qa-row[data-open] .qa-q>span{transform:rotate(45deg)}
.qa-a{overflow:hidden;height:0;transition:height var(--dur-2) var(--ease)}
.qa-a p{margin:0 0 var(--s-4);max-width:76ch;font-size:var(--t-7);line-height:1.66;color:var(--quiet)}
/* the sign-off is not another row, so it clears the last hairline */
.qa>.stand{margin-top:var(--s-5);font-size:var(--t-7);color:var(--quiet)}
.qa>h2{margin:0 0 var(--s-4);font-family:var(--font);font-size:var(--t-4);font-weight:500;letter-spacing:-.02em;color:var(--ink)}

@media(max-width:860px){
  .contact-split{grid-template-columns:1fr}
  .page-head h1{font-size:var(--t-2)}
}

/* ==========================================================================
   ABOUT PAGE. Five layouts, each declared in concept-3 docs/DESIGN.md
   section 4 with the grammar it borrows. Numbers here are list items with
   their own numerals, the way the homepage's process scene numbers its steps,
   not labels sitting above a section heading.
   ========================================================================== */

/* --- Section head, shared by every section below ------------------------- */
/* Each section is padded the way section 4 defines a padded section, so the
   page keeps one vertical rhythm instead of the sections touching. */
.principles,.quotes,.steps,.disciplines,.results{padding:var(--bay) 0}
.about-h{margin:0;max-width:20ch;font-family:var(--font);font-size:var(--t-4);font-weight:500;letter-spacing:-.022em;line-height:1.08;color:var(--ink)}
.about-lede{margin:var(--s-3) 0 var(--s-6);max-width:62ch;font-size:var(--t-7);line-height:1.62;color:var(--quiet)}

/* --- Principles: numbered rows on the archive row's grammar --------------- */
/* with no lede under the heading, the first row keeps the gap the lede would have left */
.about-h+.principle{margin-top:var(--s-6)}
.principle{display:grid;grid-template-columns:64px minmax(0,1fr);gap:var(--s-4);padding:var(--s-4) 0;border-top:1px solid var(--line)}
.principle:last-child{border-bottom:1px solid var(--line)}
.principle>b{font-family:var(--font-mono);font-size:var(--t-label);font-weight:500;letter-spacing:.1em;color:var(--quiet);font-variant-numeric:tabular-nums}
.principle h3{margin:0 0 var(--s-2);font-size:var(--t-6);font-weight:500;letter-spacing:-.015em;color:var(--ink)}
.principle p{margin:0;max-width:68ch;font-size:var(--t-7);line-height:1.62;color:var(--quiet)}

/* --- Quotes: one review per row, the pull quote's voice at reading size --- */
.quotes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.quote{display:flex;flex-direction:column;gap:var(--s-3);padding:clamp(22px,2.2vw,30px);border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg-c)}
/* an odd count ends on a lone card; it takes the full row instead of half */
.quote:last-child:nth-child(odd){grid-column:1/-1}
.quote blockquote{margin:0;font-size:var(--t-6);line-height:1.5;letter-spacing:-.012em;color:var(--ink)}
.quote cite{display:block;font-style:normal;font-size:var(--t-7);color:var(--ink-2)}
.quote cite span{display:block;margin-top:var(--s-1);font-family:var(--font-mono);font-size:var(--t-micro);font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--quiet)}

/* --- Steps: the engagement as four cards, read left to right, top to bottom */
.steps-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.step{display:flex;flex-direction:column;gap:var(--s-2);padding:clamp(22px,2.2vw,30px);border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg-a)}
.step>b{font-family:var(--font-mono);font-size:var(--t-micro);font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--quiet)}
.step h3{margin:0;font-size:var(--t-5);font-weight:500;letter-spacing:-.02em;color:var(--ink)}
.step p{margin:0;max-width:52ch;font-size:var(--t-7);line-height:1.62;color:var(--quiet)}

/* --- Disciplines: the raised card grid, four across ----------------------- */
.disc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.disc{display:flex;flex-direction:column;gap:var(--s-2);padding:clamp(20px,1.9vw,26px);border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg-c)}
.disc>b{font-family:var(--font-mono);font-size:var(--t-micro);font-weight:500;letter-spacing:.2em;color:var(--quiet);font-variant-numeric:tabular-nums}
.disc h3{margin:0;font-size:var(--t-6);font-weight:500;letter-spacing:-.015em;color:var(--ink)}
.disc p{margin:0;font-size:var(--t-7);line-height:1.58;color:var(--quiet)}

/* --- Results: one case per panel, its numbers on a four-up row ------------ */
.result{padding:clamp(24px,2.6vw,34px);border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg-b);margin-bottom:14px}
.result h3{margin:0 0 var(--s-3);max-width:24ch;font-family:var(--font-display);font-size:var(--t-4);font-weight:400;letter-spacing:-.02em;line-height:1.1;color:var(--ink)}
.result>p{margin:0 0 var(--s-5);max-width:76ch;font-size:var(--t-7);line-height:1.62;color:var(--quiet)}
.figs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--s-4);padding-top:var(--s-4);border-top:1px solid var(--line);margin-bottom:var(--s-5)}
.fig b{display:block;font-size:var(--t-4);font-weight:500;letter-spacing:-.03em;line-height:1;color:var(--ink)}
.fig span{display:block;margin-top:var(--s-2);font-family:var(--font-mono);font-size:var(--t-micro);font-weight:500;letter-spacing:.16em;text-transform:uppercase;line-height:1.5;color:var(--quiet)}

@media(max-width:1100px){.disc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){
  .quotes-grid,.steps-grid{grid-template-columns:1fr}
  .figs{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-5) var(--s-4)}
  .principle{grid-template-columns:44px minmax(0,1fr);gap:var(--s-3)}
}
@media(max-width:560px){.disc-grid{grid-template-columns:1fr}}

/* --- Person head ----------------------------------------------------------
   A portrait beside a name, one paragraph and a facts list. Declared in
   concept-3 docs/DESIGN.md section 4. It takes the Note head's H1 and
   standfirst and the Image plate's frame, on the Archive row's grid. */
.person{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:clamp(28px,4vw,64px);align-items:start;padding:var(--nav-clear) 0 var(--bay)}
.person h1{margin:0;max-width:11ch;font-family:var(--font-display);font-size:var(--t-1);font-weight:400;letter-spacing:-.024em;line-height:1}
.person>div>p{margin:var(--s-4) 0 0;max-width:56ch;font-size:var(--t-5);line-height:1.5;color:var(--ink-2)}
.person figure{margin:0}
.person img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg-b)}
.facts{margin:var(--s-6) 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-4) var(--s-5)}
.facts div{border-top:1px solid var(--line);padding-top:var(--s-3)}
.facts dt{font-family:var(--font-mono);font-size:var(--t-micro);font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--quiet)}
.facts dd{margin:var(--s-1) 0 0;font-size:var(--t-7);line-height:1.5;color:var(--ink)}
.facts dd a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);border-bottom:1px solid var(--edge-3);transition:border-color var(--dur-1) var(--ease)}
.facts dd a:hover{border-color:var(--ink)}
.facts dd a+a{margin-left:var(--s-3)}

@media(max-width:900px){
  .person{grid-template-columns:1fr;gap:var(--s-5)}
  .person figure{order:-1;max-width:340px}
  .facts{grid-template-columns:1fr}
}

/* =========================================================================
   CASE STUDIES
   Two layouts declared in active/concept-3/docs/DESIGN.md section 4: Study
   head and Result tiles, on the case pages not yet rebuilt. The hub and the
   rebuilt case pages compose from assets/cases.css (October 24, 2026), which
   replaced the Case index cards and their filter. Everything else here is
   an existing layout: the Note body carries the story, the Archive table
   carries the sites we built, the Note foot carries the related cases and the
   closing panel, and .figs / .fig are the About page's figure row unchanged.
   ========================================================================= */

/* --- Result tiles: the Disciplines card with a figure where the numeral is  */
.tiles{padding:var(--bay) 0;border-top:1px solid var(--line)}
.tiles-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.tile{display:flex;flex-direction:column;gap:var(--s-2);padding:clamp(20px,1.9vw,26px);border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg-c)}
.tile>b{font-family:var(--font-mono);font-size:var(--t-micro);font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--quiet)}
.tile>strong{font-size:var(--t-4);font-weight:500;letter-spacing:-.03em;line-height:1;color:var(--ink)}
.tile>strong em{font-style:normal;font-size:.62em;letter-spacing:0;color:var(--quiet)}
.tile p{margin:0;font-size:var(--t-7);line-height:1.58;color:var(--quiet)}

/* the rendered object: the client's own curve, at the size the homepage gives
   its particle field. Strokes live here so no page carries a colour. */
.curve{display:block;width:100%;height:auto;max-height:100%}
.curve .fill{fill:url(#curveFill)}
.curve .ax{stroke:var(--line);stroke-width:1}
.curve .ln{stroke:var(--ink);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.curve .dt{fill:var(--ink)}
.curve .lb{fill:var(--quiet);font-family:var(--font-mono);font-size:11px;font-weight:500;letter-spacing:.16em}

/* An archive row can carry a name over a line of description: the sites we
   built need both, and the notes index has no <b> so it is untouched. */
.ar-t b{display:block;font-size:var(--t-6);font-weight:500;letter-spacing:-.015em;color:var(--ink)}
.ar-t b + span{display:block;margin-top:var(--s-1);font-size:var(--t-7);line-height:1.55;color:var(--quiet)}

/* A meta row can carry a link out to the client's site (the AI video case did).
   It was 28px of target on a phone. */
.note-meta a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);border-bottom:1px solid var(--edge-3)}
.note-meta a:hover{border-color:var(--ink)}

/* A two-column prose table (a rank beside a search term) fits a phone, so it
   does not need the 680px floor that makes a four-column one scroll. */
.note-table.narrow table{min-width:0;width:100%}
.note-table.narrow{-webkit-mask-image:none;mask-image:none}
/* its label column wraps, or a long label ("Purchaser rate from Google organic search")
   pushes the figures past a phone's edge with nothing to say they are there */
.note-table.narrow td:first-child{white-space:normal}

/* The source line under a case study's results table (Reyal, October 13, 2026) */
.tiles .note-source{margin:var(--s-4) 0 0;font-size:var(--t-7);line-height:1.5;color:var(--ink-2);max-width:72ch}

/* visually hidden, still read aloud (the case studies filter's count) */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
