/* ===== The shared page format of the redesign (19 Nov 2026), served as /assets/format.css on the home page and the
   Lab page, after chrome.css (tokens, frame) and before the page's own sheet (home.css, labpage.css): the hero, a strip of
   four facts, sections with the name on the left, numbered steps, the Lab band, the Lab verdict line and its venue tags.
   Taken from the approved mock (v2/css/new.css) with spacing moved onto the 4px scale. ===== */

/* hero */
.v-hero > .v-frame { padding-top:64px; padding-bottom:64px; }
.v-hero-grid { display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr); align-items:end; gap:32px 64px; }
.n-h1 { margin:0; }
.n-h1 .a { display:block; font-size:var(--fs-display); line-height:var(--lh-tight); letter-spacing:var(--ls-display); font-weight:800; }
/* the hero's second line is a paragraph after the <h1>, not a part of it: inside the h1 it made the page's h1 smaller
   than its h2s (ops/typeaudit.js) */
.n-h1 .b, .n-h1-sub { display:block; margin-top:20px; max-width:15em; font-size:var(--fs-2xl); line-height:var(--lh-heading); letter-spacing:var(--ls-2xl); font-weight:780; text-wrap:balance; }
.n-h1-sub { margin-bottom:0; }
/* the underlined word: <em> on the home page; <span class="u"> on a page that has a Markdown twin (the twin would print *luck.*) */
.n-h1 em, .n-h1 .u { font-style:normal; position:relative; z-index:0; white-space:nowrap; }
.n-h1 em::after, .n-h1 .u::after { content:""; position:absolute; z-index:-1; height:.28em; left:-.015em; right:-.025em; bottom:.02em; background:var(--yellow); opacity:.95; transform:rotate(-1.2deg); }
.n-h1.lab em::after, .n-h1.lab .u::after { background:var(--lab); }
.n-h1.page .a { font-size:var(--fs-4xl); letter-spacing:var(--ls-4xl); }
.n-lede { margin:0; max-width:520px; font-size:var(--fs-lg); line-height:var(--lh-lead); color:var(--v-muted); }
.n-acts { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }

/* a strip of facts: four cells between hairlines */
.v-strip > .v-frame { padding:0; display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); }
.v-strip .c { display:block; padding:24px 40px; text-decoration:none; }
.v-strip .c + .c { border-left:1px solid var(--v-line); }
.v-strip b { display:block; font-size:var(--fs-xl); line-height:var(--lh-heading); letter-spacing:var(--ls-xl); font-weight:800; font-variant-numeric:tabular-nums; }
.v-strip span { display:block; margin-top:4px; font-size:var(--fs-sm); line-height:var(--lh-small); color:var(--v-muted); }
.v-strip small { display:block; margin-top:4px; font-size:var(--fs-xs); line-height:var(--lh-label); color:var(--v-muted); }
.v-strip a.c span { font-weight:750; color:var(--ink); color:light-dark(var(--ink), #F4EFE5); }

/* sections: the name on the left, the content on the right */
.n-duo { display:grid; grid-template-columns:minmax(0, 300px) minmax(0, 1fr); gap:24px 64px; align-items:start; }
.n-h2 { margin:0; font-size:var(--fs-3xl); line-height:var(--lh-tight); letter-spacing:var(--ls-3xl); font-weight:800; }
.n-sub { margin:12px 0 0; font-size:var(--fs-sm); line-height:var(--lh-small); color:var(--v-muted); }
.n-gap { margin-top:16px; }
.n-say { margin:0; max-width:24em; font-size:var(--fs-xl); line-height:var(--lh-heading); letter-spacing:var(--ls-xl); font-weight:760; text-wrap:balance; }
.n-text { margin:16px 0 0; max-width:var(--measure); font-size:var(--fs-md); line-height:var(--lh-body); color:var(--v-muted); }
.n-steps { list-style:none; margin:40px 0 0; padding:0; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:32px 48px; counter-reset:st; }
.n-steps li { position:relative; padding-left:40px; counter-increment:st; }
.n-steps li::before { content:counter(st); position:absolute; left:0; top:0; font-size:var(--fs-lg); line-height:var(--lh-title); font-weight:800; font-variant-numeric:tabular-nums; color:#A39B90; color:light-dark(#A39B90, #8A857A); }
.n-steps h3 { margin:0; font-size:var(--fs-lg); line-height:var(--lh-title); letter-spacing:var(--ls-lg); font-weight:750; }
.n-steps p { margin:8px 0 0; font-size:var(--fs-md); line-height:var(--lh-body); color:var(--v-muted); }
.n-steps.plain li { padding-left:0; }
.n-steps.plain li::before { content:none; }
.n-more { display:flex; flex-wrap:wrap; gap:8px 24px; margin:24px 0 0; font-size:var(--fs-sm); font-weight:650; }
.n-more a { display:inline-flex; align-items:center; min-height:40px; text-decoration:underline; text-underline-offset:4px; text-decoration-color:#B5ADA1; text-decoration-color:light-dark(#B5ADA1, #6E6B62); }

/* Lab: a band in Lab's own blue */
.v-lab { background:var(--lab-soft); background:light-dark(var(--lab-soft), var(--lab-soft-dark)); border-top-color:var(--v-lab-line); }
.v-lab + .v-sec { border-top-color:var(--v-lab-line); }
.v-lab > .v-frame { border-inline-color:var(--v-lab-line); }
.v-lab .n-sub, .v-lab .n-steps p, .v-lab .n-text { color:var(--v-lab-muted); }
.v-lab .n-steps li::before { color:#4A7594; color:light-dark(#4A7594, var(--lab-pale)); }

/* a Lab verdict in one line: the dot, the verdict, the number of attempts */
.l-verdict { display:flex; align-items:center; gap:12px; margin-top:20px; }
.l-verdict i { display:block; flex:none; width:12px; height:12px; border-radius:50%; background:var(--amber); }
.l-verdict b { font-size:var(--fs-xl); line-height:var(--lh-heading); letter-spacing:var(--ls-xl); font-weight:800; }
.l-verdict span { margin-left:auto; font-size:var(--fs-sm); color:var(--v-muted); white-space:nowrap; }
.l-verdict span b { font-size:var(--fs-xl); color:var(--ink); color:light-dark(var(--ink), #F4EFE5); font-variant-numeric:tabular-nums; }

/* where a venue stands: public ratings, Lab live, next */
.l-tag { display:inline-flex; padding:4px 12px; border-radius:999px; font-size:var(--fs-xs); font-weight:750; line-height:var(--lh-label); color:#20201E; }
.l-tag.pub { background:var(--amber); }
.l-tag.live { background:var(--lab); }
.l-tag.next { background:transparent; color:var(--lab-deep); color:light-dark(var(--lab-deep), var(--lab-pale)); box-shadow:inset 0 0 0 1px var(--v-lab-line); }

@media (max-width: 1000px) {
  .v-strip > .v-frame { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .v-strip .c:nth-child(3) { border-left:0; }
  .v-strip .c:nth-child(n+3) { border-top:1px solid var(--v-line); }
}
@media (max-width: 900px) {
  .v-hero-grid, .n-duo { grid-template-columns:minmax(0, 1fr); }
  .v-hero > .v-frame { padding-top:48px; }
}
@media (max-width: 700px) {
  .v-strip .c { padding:20px 16px; }
  .n-acts .btn { flex:1 1 100%; }
  .n-steps { grid-template-columns:minmax(0, 1fr); gap:24px; margin-top:32px; }
  .l-verdict { flex-wrap:wrap; }
  .l-verdict span { margin-left:0; }
}
