/* firmd.css: the one stylesheet for every public firmd page, the homepage, the rooms, the legal pages and firmd.log.
   The look comes from the films (firmd-video/style.md) and the homepage's drawing: a dark ground, light grey ink,
   Inter for what is read and JetBrains Mono capitals for what labels it, and one warm light for what invites and for the firm's own name.

   1  Tokens         colours, type, measures
   2  Base           the page, links, focus, the shell
   3  Text           display title, lead, label, caption, prose
   4  Actions        the inline call to action, the quiet link, the button
   5  Chrome         header, footer, analytics banner
   6  Page parts     a room or legal page: its head, parts, rules, shots, related rooms
   7  firmd.log      the article list, the footnote, an article, the human-written gauge
   8  Homepage       the beats, the building, the film card: a drawing with its own vocabulary, on the same tokens

   Every element is styled in one place. A new page reuses these classes; a new element gets its rule here, in its
   section, made from the tokens. */
/* the fonts, served from here so no visitor's browser asks Google for them: Latin only, one variable file per family
   and script, under the SIL Open Font License (fonts/OFL.txt) */
@font-face { font-family: 'Caveat'; font-weight: 500 600; font-display: swap; src: url(fonts/caveat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caveat'; font-weight: 500 600; font-display: swap; src: url(fonts/caveat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Gochi Hand'; font-weight: 400; font-display: swap; src: url(fonts/gochi-hand-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 400 800; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 400 800; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400 700; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400 700; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Kalam'; font-weight: 400; font-display: swap; src: url(fonts/kalam-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Kalam'; font-weight: 400; font-display: swap; src: url(fonts/kalam-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Reenie Beanie'; font-weight: 400; font-display: swap; src: url(fonts/reenie-beanie-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* ========== 1  Tokens ========== */
:root {
  /* the ground, from the films */
  --bg: #0A0C10;                            /* film background */
  --bg-2: #11141B;                          /* vignette centre */
  --panel: #12151c;                         /* a panel above the page: the analytics banner, the rooftop sign */
  --steel: #686b72;                         /* the drawing's cut outline, and the banner's edge */

  /* ink, from full to faint */
  --ink: #E6E8EE;                           /* titles, the neutral node in the films */
  --read: rgba(230, 232, 238, .8);          /* text that is read: articles and page prose */
  --ink-2: rgba(230, 232, 238, .65);        /* leads, quiet links */
  --ink-3: rgba(230, 232, 238, .38);        /* labels, dates, the footer */
  --line: rgba(230, 232, 238, .10);         /* rules between parts */
  --line-2: rgba(230, 232, 238, .18);       /* outlines */

  /* the one warm light: the lit Vision room, every invitation, and the name firmd where a line puts it forward */
  --warm: #FFC98A;
  --warm-hi: #FFE7C2;                       /* on hover */
  --warm-line: rgba(255, 201, 138, .55);    /* its underline */

  /* the Flight Levels, from the films */
  --strategy: #6EA8FE;
  --tactics: #5FB045;
  --delivery: #F28B82;
  --refusal: #FF6B5E;                       /* refusals only */

  /* type */
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --display: 700 clamp(36px, 4.6vw, 60px)/1.04 var(--font);   /* a page's title */
  --lead: 400 clamp(17px, 1.35vw, 19px)/1.6 var(--font);      /* the line under it */
  --label: 500 10.5px/1.4 var(--mono);      /* the drawing's floor tags: navigation, dates, part names */
  --label-track: .14em;
  --action: 600 10.5px/1.4 var(--mono);     /* the drawing's Request invite: a label a little bolder */
  --action-track: .12em;
  --caption: 400 12px/1.6 var(--mono);      /* under an image, a page's date */
  --small: 400 11px var(--mono);            /* the footer */

  /* measures */
  --shell: 1120px;                          /* the widest column */
  --gutter: 32px;                           /* 16px on a phone */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);   /* easeInOutCubic, the film camera */
}
@media (max-width: 759px) { :root { --gutter: 16px; } }


/* ========== 2  Base ========== */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background-color: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--ink-2); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* ========== 3  Text ========== */
/* display: a page's title, on the blog and on a room or legal page */
.blog-hero h1, .page-head h1 { max-width: 16ch; font: var(--display); letter-spacing: -0.035em; text-wrap: balance; }

/* lead: the line under a page's title */
.lead { margin: 24px 0 0; max-width: 640px; font: var(--lead); color: var(--ink-2); text-wrap: pretty; }

/* label: mono capitals, as the drawing labels its floors. Navigation, the line above a title, part names, table
   heads. The blog's markup names its labels by place, so they are listed here. */
.label, .page-kicker, .part > h2,
.post-card time, .post-card .more, .article-head time, .back-link, .article-next span, .draft-badge,
.prose h5, .prose h6, .article-table thead th, .cookie-banner button {
  font: var(--label); letter-spacing: var(--label-track); text-transform: uppercase; text-decoration: none;
}
/* the line above a title (firmd.log · date · gauge) stays lowercase, like firmd and firmd.log wherever they appear */
.post-card time, .back-link, .article-head time { text-transform: lowercase; }

/* future: a tag on what is not built yet, in a room's card. Coming soon is dashed, like planned work on a drawing;
   Vision, further out, is dotted. Grey, never warm: it informs, it does not invite. */
.future {
  display: inline-block; padding: 4px 9px; font: var(--label); letter-spacing: var(--label-track); text-transform: uppercase;
  white-space: nowrap; color: var(--ink-2); border: 1px dashed var(--ink-3); border-radius: 2px;
}
.future.vision { border-style: dotted; }
.future[hidden] { display: none; }

/* firmd: the name, in the warm light, where a line puts it forward (a beat), and the firm the headline starts;
   not in every mention */
.firmd { color: var(--warm); }

/* caption: under every image and screenshot (any figcaption), and a page's date */
figcaption, .caption, .page-head .meta { font: var(--caption); color: var(--ink-3); }
figcaption { margin-top: 10px; }

/* prose: text to read. Page prose at 17px, an article at 18px; the same paragraphs, links, lists and code. */
.prose { max-width: 680px; font: 400 17px/1.75 var(--font); color: var(--read); }
.prose.article-body { max-width: none; padding-top: 40px; font-size: 18px; }
.prose p { margin: 0 0 1.25em; text-wrap: pretty; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { margin: 2.1em 0 .6em; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose h4 { font-size: 18px; }
.prose h5, .prose h6 { margin: 2em 0 .8em; color: var(--ink-2); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.3em; }
.prose li { margin: .35em 0; padding-left: .2em; }
.prose li::marker { color: var(--ink-3); }
.prose hr { margin: 2.6em 0; border: 0; border-top: 1px dashed var(--line-2); }
.prose blockquote { margin: 1.6em 0; padding-left: 18px; border-left: 1px solid var(--line-2); color: var(--ink-2); }
.prose code { padding: .1em .35em; font: 400 .84em var(--mono); color: var(--ink); background: rgba(230, 232, 238, .06); border: 1px solid var(--line); border-radius: 3px; }
.prose pre { margin: 1.6em 0; padding: 18px 20px; overflow-x: auto; background: #12151b; border: 1px solid var(--line-2); border-radius: 4px; }
.prose pre code { padding: 0; font-size: 13.5px; line-height: 1.6; background: none; border: 0; }
@media (max-width: 759px) {
  .prose { font-size: 16.5px; }
  .prose.article-body { font-size: 17px; }
}


/* ========== 4  Actions ========== */
/* the call to action: warm capitals on a thin warm line, as the drawing's Request invite. Thoughts on this? and
   Discuss on LinkedIn under an article. Never boxed. */
.action {
  font: var(--action); letter-spacing: var(--action-track); text-transform: uppercase; text-decoration: none;
  color: var(--warm); padding-bottom: 3px; border-bottom: 1px solid var(--warm-line); transition: color .25s, border-color .25s;
}
.action::after { content: " \2192"; }
.action:hover { color: var(--warm-hi); border-bottom-color: var(--warm); }

/* the quiet link: a label in its surroundings' grey that turns white when pointed at. The way back, Read article,
   the building in a room's kicker. */
.back-link, .post-card .more, .page-kicker a { transition: color .25s; }
.back-link:hover, .post-card a:hover .more, .page-kicker a:hover { color: var(--ink); }
.page-kicker a { color: inherit; text-decoration: none; }

/* the button: a choice in a box, only where the reader must choose (the analytics banner) */
.cookie-banner button { padding: 8px 12px; color: var(--ink-2); border: 1px solid var(--line-2); transition: color .25s, border-color .25s; }
.cookie-banner button:hover { color: var(--ink); border-color: var(--ink-3); }
.cookie-banner button.allow { color: var(--warm); border-color: var(--warm-line); }
.cookie-banner button.allow:hover { color: var(--warm-hi); border-color: var(--warm); }


/* ========== 5  Chrome ========== */
/* the header of every page: firmd, a link to the homepage, small mono lowercase on the left, as the footer is on the
   right. On the homepage it appears once the building is in view. */
.site-head { padding: 18px var(--gutter) 12px; font: var(--small); letter-spacing: .04em; color: var(--ink-3); }
.site-head a { text-decoration: none; }
.site-head a:hover { color: var(--ink-2); }
.home .site-head { position: fixed; top: 0; left: 0; z-index: 10; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.home .site-head.is-shown { opacity: 1; visibility: visible; }

/* the footer of every page, the same everywhere: © firmd.ai · why · firmd.log · impressum · privacy · analytics choices,
   small mono lowercase on the right */
.site-foot { display: flex; justify-content: flex-end; padding: 12px var(--gutter) 18px; font: var(--small); letter-spacing: .04em; color: var(--ink-3); }
.site-foot .shell { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 0; max-width: none; margin: 0; padding: 0; }
.site-foot .shell > * + *::before { content: "\00b7"; margin: 0 .8em; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink-2); }

/* the analytics choice: asked once, changed any time from the footer */
.cookie-banner {
  position: fixed; left: 50%; bottom: 16px; z-index: 30; display: none; width: min(560px, calc(100% - 32px));
  transform: translateX(-50%); padding: 16px 18px; background: var(--panel); border: 1px solid var(--steel);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0; font: 400 12px/1.65 var(--mono); color: var(--ink-2); }
.cookie-banner a { color: var(--ink); text-underline-offset: 3px; }
.cookie-banner .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

@media (max-width: 759px) {
  /* on a phone the footer wraps: it starts on the left, and a dot that would open a line is cut off */
  .site-foot { justify-content: flex-start; clip-path: inset(0 0 0 calc(var(--gutter) - 4px)); }
  .site-foot .shell { justify-content: flex-start; margin-left: -2.2em; }
  .site-foot .shell > *::before { content: "\00b7"; display: inline-block; width: 2.2em; margin: 0; text-align: center; }
}


/* ========== 6  Page parts ========== */
/* a room that has no film yet, and the legal pages: each part has its name in a label above its text, as /design/
   names its parts */
.page { padding-bottom: 96px; }
.page-head { padding-top: 88px; padding-bottom: 56px; }
.page-kicker { margin: 0; color: var(--ink-3); }
.page-head h1 { margin: 18px 0 0; }
.page-head .meta { margin: 16px 0 0; }

.part { padding: 40px 0; border-top: 1px solid var(--line); }
.part:last-child { border-bottom: 1px solid var(--line); }
.part > h2 { margin: 0 0 14px; color: var(--ink-3); }
/* the why page reads as one text: its parts follow on without rules between them */
.essay .part { padding: 20px 0; border: 0; }

/* how a room works: its rules side by side, as cells of one plan */
.mech { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; max-width: 880px; background: var(--line); border: 1px solid var(--line); }
.mech > div { padding: 22px 24px; background: var(--bg); }
.mech > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mech h3 { margin: 0; font: 600 17px/1.35 var(--font); letter-spacing: -0.01em; color: var(--ink); }
.mech p { margin: 8px 0 0; font: 400 15px/1.65 var(--font); color: var(--ink-2); }

/* an image with its caption: a room's screenshot, an article's picture */
.shot, .article-image { margin: 0; }
.shot { max-width: 880px; }
.article-image { margin: 2em 0; }
.shot img, .article-image img { display: block; height: auto; border: 1px solid var(--line-2); border-radius: 2px; }
.shot img { width: 100%; }
.article-image img { max-width: 100%; }

.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 880px; }
.related a { display: block; padding: 18px 20px; border: 1px solid var(--line); text-decoration: none; transition: border-color .25s; }
.related a:hover { border-color: var(--ink-3); }
.related strong { font: 600 16px/1.3 var(--font); color: var(--ink); }
.related strong::after { content: " \2192"; color: var(--ink-3); }
.related p { margin: 6px 0 0; font: 400 14px/1.55 var(--font); color: var(--ink-2); }

@media (max-width: 759px) {
  .page { padding-bottom: 64px; }
  .page-head { padding-top: 56px; padding-bottom: 40px; }
  .part { padding: 32px 0; }
  .mech, .related { grid-template-columns: minmax(0, 1fr); }
}


/* ========== 7  firmd.log ========== */
/* the index: the title, the lead with its footnote, then the articles, newest first */
.blog-hero { padding: 96px 0 64px; }
.blog-hero h1 { margin: 0; }
/* the asterisk on "diary" and its note, how these articles are written */
.footnote-mark { margin-left: 1px; color: var(--ink-3); text-decoration: none; }
.footnote-mark:hover { color: var(--ink); }
.footnote { margin: 28px 0 0; max-width: 600px; padding-left: .9em; text-indent: -.9em; font: 400 11px/1.65 var(--font); color: var(--ink-3); text-wrap: pretty; }
.footnote > span:first-child { display: inline-block; width: .9em; text-indent: 0; }
.footnote-gauge { white-space: nowrap; }
.footnote .authorship-bar { margin: 0 5px 0 1px; text-indent: 0; }
.footnote .authorship-bar i { width: 4px; height: 8px; }

.post-list { padding-bottom: 96px; }
.post-card a {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 34px 0;
  border-top: 1px solid var(--line); text-decoration: none;
}
.post-card:last-child a { border-bottom: 1px solid var(--line); }
/* the line above the title: the date, and the gauge */
.post-card time { padding-bottom: 10px; color: var(--ink-3); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; padding-bottom: 10px; }
.post-meta time { padding-bottom: 0; }
.post-card h2 { margin: 0; font: 700 clamp(22px, 2vw, 28px)/1.2 var(--font); letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.post-card p { margin: 10px 0 0; max-width: 680px; font: 400 16px/1.6 var(--font); color: var(--ink-2); }
.post-card .more { margin-top: 16px; color: var(--ink-3); }
.post-card .more::after { content: " \2192"; }
.post-card a:hover h2 { color: #fff; }

/* an article: the line above its title (firmd.log · date · gauge), the title, the text, then what to do next */
.article-shell { max-width: 736px; margin: 0 auto; padding: 72px 32px 96px; }
.article-head { display: flex; flex-wrap: wrap; align-items: baseline; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.back-link { color: var(--ink-3); }
.back-link::after { content: "\00b7"; margin: 0 .7em; color: var(--ink-3); }
.article-head time { color: var(--ink-3); }
.article-head h1 { flex-basis: 100%; margin: 20px 0 0; font: 700 clamp(32px, 4vw, 48px)/1.1 var(--font); letter-spacing: -0.03em; text-wrap: balance; }

/* how much of an article a human wrote: one cell for every tenth, lit from the left */
.authorship { display: inline-flex; align-items: center; font: var(--label); letter-spacing: var(--label-track); color: var(--ink-3); }
.authorship::before { content: "\00b7"; margin: 0 .7em; }
.authorship-bar { display: inline-flex; gap: 2px; margin-right: 10px; }
.authorship-bar i { width: 5px; height: 9px; background: rgba(230, 232, 238, .14); }
.authorship-bar i.lit { background: var(--ink-2); }

.article-table { margin: 1.8em 0; overflow-x: auto; }
.article-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.article-table th, .article-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.article-table thead th { color: var(--ink-2); border-bottom-color: var(--line-2); }

/* the end of an article: book a call about it, or discuss it on LinkedIn; both open in a new tab */
.article-talk { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 56px; }
.article-next { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-next span { display: block; color: var(--ink-3); }
.article-next a { display: inline-block; margin-top: 10px; font: 700 21px/1.3 var(--font); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.article-next a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* drafts, seen only in a preview build */
.draft-badge { margin-left: 12px; padding: 2px 7px; color: var(--warm); border: 1px dashed var(--warm); }

@media (max-width: 759px) {
  .blog-hero { padding: 56px 0 40px; }
  .post-card a { padding: 28px 0; }
  .article-shell { padding: 48px 16px 72px; }
  .article-head .authorship { flex-basis: 100%; margin-top: 10px; }
  .article-head .authorship::before { display: none; }
}


/* ========== 8  Homepage ========== */
/* The drawing has its own vocabulary of materials (cut, walls, desks, pipes) but takes its ink, warm light, labels
   and motion from the tokens above. Every rule is scoped to the homepage's body, class "home", so its names (room,
   note, tag, invite) stay free on other pages. */
/* ---------- the beats: the claim first, then more with every screen scrolled, then the building ---------- */
/* beat 1, the claim, alone on the first screen. Set in Inter like the following beats, in the drawing's
   line colours. It fades as the page scrolls on. */
/* One screen's height. The page fixes it in pixels when it loads and again when the phone turns (see index.html): a
   browser like Vivaldi on the iPhone changes its screen height as its toolbars come and go, and the page, six screens
   tall, would then grow and shrink under a reader who is zooming into the building. */
.home { --screen: 100svh; }
.home .hero { position: relative; height: var(--screen); min-height: 420px; display: grid; place-items: center; padding: 0 32px; text-align: center; }
.home .hero h1 { margin: 0; font: 500 clamp(26px, 4.4vw, 64px)/1.25 var(--font); letter-spacing: .08em; text-transform: uppercase; color: rgba(230, 232, 238, .42); }
.home .hero h1 > span, .home .hero h1 > b { display: block; animation: up 1s var(--ease) both; animation-delay: var(--dl); }
.home .hero h1 b { font-weight: inherit; color: var(--ink); }
.home .cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; text-decoration: none;
  font: 500 10px var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); animation: appear 1s var(--ease) 1.2s both; }
.home .cue:hover { color: var(--ink); }
.home .cue i { width: 1px; height: 36px; background: linear-gradient(var(--ink-2), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } }
@keyframes appear { from { opacity: 0; } }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
/* beats 2 and 3: each holds still on its own screen while its words light up, one after another, as the reader scrolls */
.home .beat { height: calc(2 * var(--screen)); }
.home .beat .pin { position: sticky; top: 0; height: var(--screen); min-height: 420px; display: grid; place-items: center; padding: 0 32px; }
.home .beat p { margin: 0; max-width: 1000px; font: 500 clamp(24px, 3.3vw, 48px)/1.28 var(--font); letter-spacing: -.02em; text-align: center; text-wrap: balance; }
.home .beat p b { font-weight: 700; }
.home .word { color: rgba(230, 232, 238, .14); transition: color .35s var(--ease); }
.home .word.lit { color: var(--ink); }
.home .firmd .word.lit { color: var(--warm); }    /* the name lights up in the warm light */
/* the end of a beat held back: unseen until the words before it are lit, then each word fades in */
.home .later .word { opacity: 0; transition: color .35s var(--ease), opacity .6s var(--ease); }
.home .later .word.lit { opacity: 1; }

/* The building drawing stylesheet is generated by firmd-building. */

/* ---------- film overlay ---------- */
.home .ov {
  position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px 16px;
  background: rgba(10, 12, 16, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s;
}
.home .ov.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.home .o-panel {
  --pc: var(--ink);
  width: min(1040px, 100%, calc((100svh - 230px) * 16 / 9)); min-width: min(100%, 520px);
  transform: translateY(10px); transition: transform .4s var(--ease);
}
.home .ov.open .o-panel { transform: none; }
.home .o-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.home .o-lvl { display: inline-flex; align-items: center; gap: 8px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pc); }
.home .o-lvl i { width: 6px; height: 6px; border-radius: 50%; background: var(--pc); }
.home .o-x { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); margin-right: -8px; }
.home .o-x:hover { color: var(--ink); background: rgba(230, 232, 238, .06); }
.home .o-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.home .o-frame video { width: 100%; height: 100%; display: block; object-fit: contain; }
.home .o-big, .home .o-end {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 12, 16, .55);
}
.home .o-big[hidden], .home .o-end[hidden], .home .o-soon[hidden] { display: none; }
.home .o-big span { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.home .o-big span::before { content: ""; border-left: 18px solid var(--bg); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
/* at a film's end, Replay and Watch next stand low in the frame, clear of the firmd mark its last frame shows */
.home .o-end { align-items: end; padding-bottom: 12%; }
.home .o-end div { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.home .o-end .pill[hidden] { display: none; }
.home .pill { font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; background: rgba(10, 12, 16, .6); }
.home .pill:hover { border-color: var(--ink-2); }
.home .pill.solid { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }
/* a film that does not exist yet: a quiet title card instead of an empty player */
.home .o-soon {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 14px; padding: 7% 8%;
  background-color: #0c0f14;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1.2px, transparent 1.3px),
                    radial-gradient(ellipse at 78% 50%, color-mix(in srgb, var(--pc) 9%, transparent) 0%, transparent 55%);
  background-size: 28px 28px, 100% 100%;
}
.home .o-soon .sk { font: 500 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.home .o-soon .sk::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--ink-2); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { background: var(--ink-2); } }
.home .o-soon strong { font-size: clamp(30px, 5.4vw, 60px); letter-spacing: -0.045em; line-height: 1; font-weight: 700; }
.home .o-soon .sl { margin: 0; max-width: 46%; color: var(--ink-2); font-size: clamp(14px, 1.5vw, 18px); line-height: 1.45; }
.home .o-soon .sf { font: 400 12px var(--mono); color: var(--ink-3); letter-spacing: .04em; }
.home .o-soon .sf:empty { display: none; }
.home .o-soon div { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.home .o-soon .ring { position: absolute; right: 9%; top: 50%; width: 26%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; border: 1px solid color-mix(in srgb, var(--pc) 45%, transparent); }
.home .o-soon .ring::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1px dashed rgba(230, 232, 238, .14); animation: turn 40s linear infinite; }
@keyframes turn { to { transform: rotate(1turn); } }
/* a room with no film yet, described: its points on the left, a screenshot from firmd on the right. The card
   keeps the film card's width and drops its 16:9, growing with its text up to the screen, then scrolling. */
.home .o-panel.is-room { width: min(1040px, 100%); }
.home .o-panel.is-room .o-frame { aspect-ratio: auto; }
.home .o-panel.is-room .o-frame video { display: none; }
.home .o-room {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 44px; align-items: start;
  max-height: calc(100svh - 120px); overflow-y: auto; padding: 44px 48px; background: var(--bg);
}
.home .o-room[hidden] { display: none; }
.home .o-room-text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.home .o-room-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.home .o-room strong { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.04em; line-height: 1.02; font-weight: 700; }
.home .o-room .sl { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.home .o-room ul { display: grid; gap: 12px; margin: 6px 0 4px; padding: 0; list-style: none; }
.home .o-room li { padding-left: 14px; border-left: 1px solid var(--line-2); font: 400 14.5px/1.55 var(--font); color: var(--ink-2); }
.home .o-room li b { font-weight: 600; color: var(--ink); }
.home .o-room-shot { position: sticky; top: 0; margin: 0; }  /* stays in view while a long text scrolls past */
.home .o-room-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: 4px; transition: border-color .25s; }
.home .o-room-shot a:hover img { border-color: var(--ink-3); }
/* with no screenshot, the points fill the card two to a row, each led by its name on a line of its own */
.home .o-room.no-shot { grid-template-columns: minmax(0, 1fr); }
.home .o-room.no-shot ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 36px; }
.home .o-room.no-shot li b { display: block; margin-bottom: 4px; }
.home .o-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 12px; height: 28px; }
.home .o-ctrl[hidden] { visibility: hidden; display: flex; }
.home .o-play { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink); }
.home .o-bar { flex: 1; height: 28px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.home .o-track { position: relative; width: 100%; height: 2px; background: var(--line-2); border-radius: 2px; }
.home .o-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--pc); border-radius: 2px; }
.home .o-time { font: 400 12px var(--mono); color: var(--ink-3); min-width: 92px; text-align: right; }
.home .o-full { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink-2); margin-right: -6px; }
.home .o-full:hover { color: var(--ink); }
/* full screen: the film fills the screen above its controls (Safari before 16.4 knows only the prefixed selector, and
   a selector list it cannot read would drop the whole rule) */
.home .o-player:fullscreen { display: flex; flex-direction: column; background: #000; padding: 0 16px 10px; }
.home .o-player:-webkit-full-screen { display: flex; flex-direction: column; background: #000; padding: 0 16px 10px; }
.home .o-player:fullscreen .o-frame { flex: 1; min-height: 0; aspect-ratio: auto; border: 0; border-radius: 0; margin: 0 -16px; }
.home .o-player:-webkit-full-screen .o-frame { flex: 1; min-height: 0; aspect-ratio: auto; border: 0; border-radius: 0; margin: 0 -16px; }
/* the film's title and its line above it, small; below it, the film to watch next and, for a part of a film, the whole */
.home .o-text { margin: 0 0 12px; }
.home .o-text h2 { margin: 0; font-size: 20px; letter-spacing: -0.02em; font-weight: 700; line-height: 1.2; }
.home .o-text p { margin: 3px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.home .o-links { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; margin-top: 10px; }
.home .o-link { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.home .o-link b { font-weight: 600; color: var(--ink); }
.home .o-link:hover { color: var(--ink); }
.home .o-text[hidden], .home .o-links[hidden], .home .o-link[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .home .hero h1 > span, .home .hero h1 > b, .home .cue, .home .cue i { animation: none; }
  .home .word, .home .later .word { color: var(--ink); opacity: 1; transition: none; }
  .home .firmd .word { color: var(--warm); }
  .home .o-soon .sk::before, .home .o-soon .ring::after, .home .ag.on .say circle, .home .note[data-id="loop"] *, .home svg.flick .dark, .home .needle, .home .now, .home .span.red { animation: none; }
}

/* ---------- a phone on its side: the hero, then the building takes a whole screen's height below it ---------- */
@media (max-height: 520px) {
  .home .hero { padding: 22px 24px 8px; }
  .home .hero p { margin-top: 10px; }
  .home { --draw-min: calc(var(--screen) - 16px); }
  /* the film card keeps the film, its controls and its name, and drops the line under the name */
  .home .ov { padding: 10px 16px; }
  .home .o-panel { width: min(1040px, 100%, calc((100svh - 150px) * 16 / 9)); min-width: 0; }
  .home .o-head { margin-bottom: 6px; }
  .home .o-ctrl { margin-top: 8px; }
  .home .o-text { margin-bottom: 6px; }
  .home .o-text h2 { font-size: 16px; }
  .home .o-text p { display: none; }
  .home .o-links { margin-top: 4px; }
  .home .o-end { padding-bottom: 4%; }
  .home .o-end .pill { font-size: 12.5px; padding: 6px 12px; }
}

/* ---------- phone ---------- */
@media (max-width: 759px) {
  .home .hero, .home .beat .pin { padding: 0 16px; }
  .home { --draw-min: 280px; }
  .home .lot { min-height: 0; container-type: normal; padding: 0 12px; }
  .home .o-panel { min-width: 0; }
  .home .o-soon { gap: 8px; padding: 6%; }
  .home .o-soon .ring { display: none; }
  .home .o-soon .sf { display: none; }
  .home .o-soon .sl { max-width: none; font-size: 13px; }
  .home .o-soon div { margin-top: 2px; }
  .home .o-soon .pill { font-size: 12.5px; padding: 7px 12px; }
  .home .o-end { padding-bottom: 4%; }
  .home .o-end .pill { font-size: 12.5px; padding: 6px 12px; }
  .home .o-room-shot { position: static; }
  .home .o-room { grid-template-columns: minmax(0, 1fr); gap: 24px; max-height: calc(100svh - 100px); padding: 24px 20px; }
  .home .o-room strong { font-size: 30px; }
  .home .o-room.no-shot ul { grid-template-columns: minmax(0, 1fr); }
  .home .o-text h2 { font-size: 18px; }
  .home .o-text p { font-size: 13px; }
}


/* ========== 9  This system, on one page ========== */
/* /design/ shows every element above with its class name: the swatches and specimens it needs */
.ds-part { padding: 48px 0; border-top: 1px solid var(--line); }
.ds-part > h2 { margin: 0 0 6px; color: var(--ink-3); }
.ds-part .part:last-child { border-bottom: 0; }
.ds-part > p { margin: 0 0 28px; max-width: 640px; font: 400 15px/1.6 var(--font); color: var(--ink-2); }
.ds-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 32px; align-items: baseline; padding: 18px 0; border-top: 1px dashed var(--line); }
.ds-row > code { font: var(--caption); color: var(--ink-3); }
.ds-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ds-swatch { font: var(--caption); color: var(--ink-3); }
.ds-swatch i { display: block; height: 56px; margin-bottom: 8px; background: var(--c); border: 1px solid var(--line); }
@media (max-width: 759px) { .ds-row { grid-template-columns: minmax(0, 1fr); } }

/* ========== Logo studies: a self-contained identity review on the public site ========== */
.logo-studies { --logo-light: #f1f0eb; --logo-muted: #a9afb9; }
.logo-studies :focus-visible { outline: 2px solid var(--warm); outline-offset: 5px; }
.logo-skip { position: fixed; top: -80px; left: 20px; z-index: 5; padding: 16px; background: var(--bg); }
.logo-skip:focus { top: 12px; }
.logo-masthead { max-width: 1440px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 48px; border-bottom: 1px solid var(--line-2); font: 12px var(--mono); }
.logo-masthead a { text-decoration: none; }
.logo-home { font-weight: 700; font-size: 20px; color: var(--warm); }
.logo-home span { font-weight: 400; font-size: 12px; color: var(--logo-muted); }
.logo-masthead > a:last-child { color: var(--ink); }
.logo-shell { max-width: 1440px; padding: 0 48px; margin: auto; }
.logo-intro { padding: 68px 0 40px; }
.logo-eyebrow { font: 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--warm); }
.logo-intro h1 { margin: 22px 0 30px; font-size: clamp(46px, 6.5vw, 88px); line-height: 1.02; letter-spacing: -.065em; font-weight: 600; }
.logo-intro-bottom { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.logo-intro-bottom > p:first-child { margin: 0; font-size: 17px; line-height: 1.7; color: var(--logo-muted); }
.logo-summary { flex: 0 0 auto; white-space: nowrap; margin: 0; font: 11px/1.8 var(--mono); color: var(--logo-muted); text-align: right; }
.logo-overview { display: grid; grid-template-columns: repeat(11,minmax(0,1fr)); border: 1px solid var(--line-2); }
.logo-overview a { padding: 22px 8px 16px; display: flex; align-items: center; flex-direction: column; gap: 10px; text-decoration: none; border-right: 1px solid var(--line-2); }
.logo-overview a:last-child { border-right: 0; }
.logo-overview a:hover { background: var(--panel); }
.logo-overview img { margin-bottom: 8px; }
.logo-overview span { font: 10px var(--mono); color: var(--logo-muted); }
.logo-overview b { font-size: 11px; font-weight: 400; text-align: center; }
.logo-review-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 40px; font: 12px/1.7 var(--mono); }
.logo-review-bar p { color: var(--logo-muted); }
.logo-review-bar b { color: var(--ink); font-weight: 400; }
.logo-review-bar button { border: 1px solid var(--line-2); border-radius: 4px; padding: 10px 15px; white-space: nowrap; }
.logo-review-bar button[aria-pressed="true"] { border-color: var(--warm); color: var(--warm); }
#logo-count { display: inline-block; min-width: 22px; margin-left: 8px; color: var(--warm); }
.logo-review-help { color: var(--logo-muted); font-size: 12px; line-height: 1.7; max-width: 740px; margin: 12px 0 38px; }
.logo-direction { border-top: 1px solid var(--line-2); padding: 36px 0 40px; scroll-margin-top: 24px; }
.logo-direction-head { display: grid; grid-template-columns: 60px 1fr 1fr; align-items: start; gap: 20px; margin-bottom: 28px; }
.logo-direction-number { font: 28px/1.3 var(--mono); color: var(--logo-muted); }
.logo-direction-head h2 { font-size: 29px; line-height: 1.2; font-weight: 500; letter-spacing: -.035em; margin: 5px 0 0; }
.logo-direction-head p { color: var(--logo-muted); font-size: 14px; line-height: 1.7; margin: 0; max-width: 420px; }
.logo-candidates { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.logo-candidate { min-width: 0; border: 1px solid var(--line-2); scroll-margin-top: 24px; }
.logo-candidate.is-favorite { border-color: var(--warm); }
.logo-specimen { background: var(--mark-ground); color: var(--mark-ink); }
.logo-card-top { display: flex; justify-content: space-between; padding: 18px 20px 0; font: 11px var(--mono); }
.logo-id { text-decoration: none; font-weight: 700; }
.logo-card-top > span { opacity: .72; }
.logo-lockup { display: flex; justify-content: center; align-items: center; gap: 20px; min-height: 220px; padding: 32px 20px; }
.logo-lockup > img { width: 76px; height: 76px; }
.logo-lockup > span { font: 600 clamp(30px,3vw,43px)/1 var(--mono); letter-spacing: -.07em; }
.logo-micro { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px; border-top: 1px solid color-mix(in srgb,currentColor 18%,transparent); font: 10px var(--mono); }
.logo-micro > span:first-child { margin-right: auto; font-size: 9px; letter-spacing: .06em; }
.logo-micro img { flex-shrink: 0; }
.logo-terminal { min-height: 115px; color: var(--terminal-ink); background: var(--terminal-ground); padding: 16px 20px; border-top: 1px solid var(--line-2); }
.logo-terminal-label { color: #a9afb9; font: 9px var(--mono); letter-spacing: .08em; }
.logo-terminal pre { margin: 14px 0 0; font: 13px/1.3 var(--mono); white-space: pre; }
.logo-terminal b { font-weight: 500; }
.logo-card-actions { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 14px 16px; font: 10px/1.5 var(--mono); background: var(--panel); }
.logo-card-actions > div { display: flex; gap: 14px; }
.logo-card-actions a { text-decoration: none; }
.logo-card-actions button:hover, .logo-card-actions a:hover { color: var(--warm); }
.logo-card-actions [aria-pressed="true"] { color: var(--warm); }
.logo-card-actions [data-favorite] span { font-size: 15px; vertical-align: -1px; }
.logo-direction-note { font: 11px/1.6 var(--mono); color: var(--logo-muted); margin: 16px 0 0; }
#logo-empty { padding: 80px 0; color: var(--logo-muted); }
.logo-end { display: flex; justify-content: space-between; align-items: end; gap: 36px; padding: 48px 0 64px; border-top: 1px solid var(--line-2); }
.logo-end h2 { font-size: 32px; letter-spacing: -.04em; font-weight: 500; margin: 12px 0; }
.logo-end p { color: var(--logo-muted); font-size: 13px; line-height: 1.8; margin: 10px 0 0; }
.logo-end > div:last-child { font: 12px/1.8 var(--mono); }
.logo-end > div:last-child a { color: var(--warm); text-underline-offset: 5px; }
.logo-end > div:last-child p { font-size: 10px; }
#logo-feedback { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 14px 20px; background: var(--ink); color: var(--bg); border-radius: 4px; font: 12px/1.5 var(--mono); box-shadow: 0 8px 40px #0006; z-index: 10; }
#logo-feedback:empty { display: none; }
.logo-studies [hidden] { display: none !important; }
@media (min-width: 1600px) { .logo-lockup { min-height: 250px; } }
@media (max-width: 1050px) {
  .logo-overview { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .logo-overview a:nth-child(5) { border-right: 0; }
  .logo-overview a:nth-child(-n+5) { border-bottom: 1px solid var(--line-2); }
  .logo-lockup { flex-direction: column; gap: 14px; }
  .logo-card-actions { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 700px) {
  .logo-masthead { padding: 24px 20px; font-size: 10px; }
  .logo-home span { display: none; }
  .logo-shell { padding: 0 20px; }
  .logo-intro { padding-top: 40px; }
  .logo-intro-bottom > p:first-child { font-size: 13px; }
  .logo-summary { font-size: 9px; }
  .logo-overview b { display: none; }
  .logo-overview a { padding: 16px 4px 12px; }
  .logo-overview img { width: 32px; height: 32px; }
  .logo-review-bar { align-items: start; font-size: 10px; padding-top: 24px; }
  .logo-review-bar p { max-width: 180px; }
  .logo-direction-head { grid-template-columns: 40px 1fr; gap: 12px; }
  .logo-direction-head p { grid-column: 2; font-size: 13px; }
  .logo-direction-number { font-size: 24px; }
  .logo-direction-head h2 { font-size: 26px; }
  .logo-candidates { grid-template-columns: 1fr; gap: 20px; }
  .logo-lockup { flex-direction: row; min-height: 190px; gap: 24px; }
  .logo-lockup > span { font-size: 42px; }
  .logo-card-actions { padding: 16px 20px; font-size: 11px; }
  .logo-direction-note { font-size: 10px; }
  .logo-end { display: block; }
  .logo-end > div:last-child { margin-top: 28px; }
}
@media print {
  .logo-masthead, .logo-review-bar, .logo-review-help, .logo-card-actions, #logo-feedback, .logo-end { display: none; }
  .logo-shell { padding: 0; }
  .logo-direction { break-inside: avoid; }
  .logo-studies { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* Five selected hidden-agent concepts, five refinements each in the website typeface. */
.type-index { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.type-index a { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 22px 12px 16px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); text-decoration: none; }
.type-index a:hover { background: var(--panel); }
.type-index img { width: min(160px,100%); height: 54px; object-fit: contain; }
.type-index span { font: 10px/1.5 var(--mono); color: var(--logo-muted); text-align: center; }
.type-index b { color: var(--warm); font-weight: 400; margin-right: 6px; }
.type-family-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 24px; }
.type-family-head .logo-eyebrow { margin: 0 0 8px; }
.type-family-head h2 { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -.035em; }
.type-family-head > p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--logo-muted); }
.type-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.type-candidate { display: flex; flex-direction: column; background: var(--panel); }
.type-title { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; padding: 18px 22px; }
.type-title .logo-id { color: var(--warm); font: 12px var(--mono); }
.type-title h3 { margin: 0; font-size: 15px; font-weight: 500; }
.type-title > span { grid-column: 2; margin-top: 5px; font: 10px/1.6 var(--mono); color: var(--logo-muted); }
.type-specimen { min-height: 190px; display: flex; align-items: center; justify-content: center; background: #f1f0eb; padding: 32px; }
.type-specimen > img { display: block; width: min(360px,100%); height: 120px; object-fit: contain; }
.type-scale { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; padding: 14px 22px; min-height: 100px; border-bottom: 1px solid var(--line-2); }
.type-scale > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.type-scale > div > span { flex-basis: 100%; color: var(--logo-muted); font: 9px/1.5 var(--mono); letter-spacing: .06em; }
.type-scale img { object-fit: contain; flex-shrink: 0; }
.type-scale > div:last-child { justify-content: end; }
.type-scale > div:last-child > span { text-align: right; }
.type-note { font-size: 12px; line-height: 1.7; color: var(--logo-muted); padding: 16px 22px; margin: 0; flex: 1; }
.type-candidate .logo-card-actions { border-top: 1px solid var(--line-2); padding: 14px 22px; }
.type-candidate .logo-card-actions > div { gap: 18px; }
.type-index-six { grid-template-columns: repeat(6,minmax(0,1fr)); }
/* A browser tab strip at real size, light and dark, so the favicon is judged where it lives. */
.tab-strip { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-2); }
.tab-mock { display: block; padding: 8px 10px 0; overflow: hidden; }
.tab-mock > span { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 8px 8px 0 0; font: 12px/1 system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-mock img { flex-shrink: 0; }
.tab-light { background: #dee1e6; } .tab-light > span { background: #fff; color: #202124; }
.tab-dark { background: #202124; } .tab-dark > span { background: #35363a; color: #e8eaed; }
/* The newsletter logo studies: square marks, and LinkedIn's Featured card at real size. */
.li-square { border-radius: 4px; }
.li-featured { background: #fff; color: rgba(0,0,0,.9); padding: 14px; border-bottom: 1px solid var(--line-2); font: 14px/1.4 -apple-system, system-ui, sans-serif; }
.li-featured > p { margin: 0; padding: 0 0 8px; color: rgba(0,0,0,.6); font-size: 12px; }
.li-featured > div { display: flex; gap: 16px; background: #f4f2ee; border-radius: 0 0 8px 8px; overflow: hidden; }
.li-art { flex: 0 0 auto; width: 46%; display: flex; align-items: center; justify-content: center; }
.li-art img { display: block; width: min(200px,100%); height: auto; }
.li-text { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px 16px 0; }
.li-text b { font-size: 16px; }
.li-text span:nth-child(2) { color: rgba(0,0,0,.6); }
/* LinkedIn's feed is light: show the small sizes on its page colour. */
.li-scale { background: #f4f2ee; }
.li-scale > div > span { color: rgba(0,0,0,.6); }
@media (max-width: 900px) {
  .type-scale { grid-template-columns: 1fr auto; gap: 14px; }
  .type-scale > div:nth-child(2) { display: none; }
  .type-candidate .logo-card-actions > div { gap: 12px; }
}
@media (max-width: 700px) {
  .type-index { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .type-index a { padding: 16px 8px 12px; }
  .type-index img { width: min(130px,100%); height: 44px; }
  .type-index span { font-size: 9px; }
  .type-grid { grid-template-columns: 1fr; gap: 24px; }
  .type-family-head { display: block; }
  .type-family-head > p { margin-top: 12px; }
  .type-family-head h2 { font-size: 27px; }
  .type-title { padding: 16px; }
  .type-specimen { min-height: 160px; padding: 24px; }
  .type-specimen > img { height: 110px; }
  .type-scale { padding: 14px 16px; }
  .type-note { padding: 16px; }
  .type-candidate .logo-card-actions { padding: 14px 16px; font-size: 10px; }
}

.type-family { scroll-margin-top: 24px; }
.logo-type-studies .logo-review-bar a { color: var(--warm); text-underline-offset: 4px; }
@media (max-width: 700px) { .type-index a:last-child:nth-child(odd) { grid-column: 1 / -1; } }
