/* 3737 North Capital — lookbook-only styles. Builds on variables, global and components.
   Same rules as the site: one Chart background, no lines between sections, no shadows or gradients.
   Dark or white surfaces appear only as small artwork objects (cards, slides, documents). */

/* ---------- Cover ---------- */
.lb-cover .hero__text > .label { margin-bottom: calc(var(--s-1) * -1); }
.lb-cover__meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin-top: var(--s-5); font: 400 0.875rem/1.5 var(--font-mono); color: var(--text-2); }
.lb-cover__meta b { font-weight: 500; color: var(--text); }

/* ---------- Layout: sticky chapter index + chapters ---------- */
.lb-layout { align-items: start; }
.lb-index { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + var(--s-3)); padding-top: var(--section); }
.lb-index ol { list-style: none; display: grid; gap: 0.15rem; }
.lb-index a {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  align-items: baseline;
  padding-block: 0.3rem;
  font: 500 0.9375rem/1.35 var(--font-sans);
  color: var(--text-2);
  text-decoration: none;
}
.lb-index a span { font: 400 0.75rem/1 var(--font-mono); letter-spacing: var(--track-label); color: var(--text-2); }
.lb-index a:hover, .lb-index a[aria-current="true"] { color: var(--text); }
.lb-index a[aria-current="true"] span { color: var(--accent); }
.lb-index__title { margin-bottom: var(--s-2); }
.lb-main { grid-column: 4 / span 9; min-width: 0; }

/* ---------- Chapters and blocks ---------- */
.chapter { padding-top: var(--section); }
.chapter__head { margin-bottom: var(--s-6); }
.chapter__head .h2 { margin-top: var(--s-2); }
.chapter__head .lead { margin-top: var(--s-3); }
.block { margin-top: var(--s-7); }
.block:first-of-type { margin-top: 0; }
.block > .label { margin-bottom: var(--s-2); }
.block > h3 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.block-intro { color: var(--text-2); max-width: var(--measure); margin-bottom: var(--s-4); }

/* Key–value groups */
.kv { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5) var(--col-gap); margin: 0; }
.kv--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kv--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kv dt, .kv h3 { font: 500 var(--fs-label)/1.4 var(--font-mono); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-2); }
.kv dd { margin: 0.5rem 0 0; }
.kv p { margin-top: 0.5rem; color: var(--text-2); }
.kv .big { font: 500 var(--fs-h4)/1.4 var(--font-sans); letter-spacing: -0.01em; color: var(--text); }
.kv > div, .kv > li { min-width: 0; }

.words { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; font: 500 var(--fs-h3)/1.3 var(--font-sans); letter-spacing: -0.02em; }
.words li:nth-child(even) { font-weight: 200; color: var(--slate); }

/* ---------- Logo plates ---------- */
.plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--col-gap); }
.plates--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plate { display: flex; flex-direction: column; gap: var(--s-2); margin: 0; }
.plate__art { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.plate__art img { position: absolute; left: 16%; top: 16%; width: 68%; height: 68%; object-fit: contain; }
.plate__art--ink { background: var(--ink); }
.plate__art--white { background: #FFFFFF; }
.plate__art--red { background: var(--north-red); }
.plate figcaption { font-size: var(--fs-small); color: var(--text-2); }
.plate figcaption strong { display: block; font: 600 1rem/1.4 var(--font-sans); color: var(--text); }
.plate figcaption .mono { display: block; margin-top: 0.2rem; font-size: 0.8125rem; color: var(--text-2); }

/* Anatomy: the three parts of the mark */
.anatomy { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-5) var(--col-gap); align-items: center; }
.anatomy__art img { width: min(100%, 260px); margin-inline: auto; }

/* Clear space diagram */
.clearspace { display: grid; place-items: center; aspect-ratio: 16 / 9; }
.clearspace__box { position: relative; padding: clamp(1.5rem, 4vw, 2.75rem); outline: 1px dashed var(--contour); }
.clearspace__box img { width: clamp(140px, 26vw, 260px); outline: 1px dashed var(--accent); }
.clearspace__x { position: absolute; font: 500 0.75rem/1 var(--font-mono); color: var(--text-2); }
.clearspace__x--t { top: 0.6rem; left: 50%; transform: translateX(-50%); }
.clearspace__x--l { left: 0.5rem; top: 50%; transform: translateY(-50%); }

/* Minimum sizes */
.minsizes { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5) var(--col-gap); align-items: end; }
.minsizes__art { display: flex; align-items: flex-end; min-height: 120px; }
.minsizes p { margin-top: var(--s-2); font-size: var(--fs-small); color: var(--text-2); }
.minsizes strong { display: block; font: 500 0.875rem/1.5 var(--font-mono); color: var(--text); }

/* Placement grid: where the logo sits on a page */
.placement { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.placement__page { position: relative; aspect-ratio: 3 / 4; background: #FFFFFF; border-radius: var(--radius); padding: 9%; }
.placement__page img { width: 34%; }
.placement__page--br img { position: absolute; right: 9%; bottom: 9%; width: 20%; }
.placement__page--center { display: grid; place-items: center; background: var(--ink); }
.placement__page--center img { width: 30%; }

/* Don'ts */
.donts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5) var(--col-gap); }
.dont__art { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 16%; background: #FFFFFF; border-radius: var(--radius); overflow: hidden; }
.dont__art img { width: 60%; max-height: 100%; object-fit: contain; }
.dont__art::after {
  /* The cross-out: a red diagonal through the example */
  content: "";
  position: absolute;
  left: -10%;
  top: 50%;
  width: 120%;
  height: 2px;
  background: var(--accent);
  transform: rotate(-32deg);
}
.dont p { margin-top: var(--s-2); font-size: var(--fs-small); color: var(--text); }
.dont p::before { content: "✕ "; color: var(--accent); font-family: var(--font-mono); }
.do p::before { content: "✓ "; color: var(--text); font-family: var(--font-mono); }
.x-stretch { transform: scaleX(1.6); }
.x-rotate { transform: rotate(-14deg); }
.x-shadow { filter: drop-shadow(6px 8px 6px rgba(26, 26, 26, 0.45)); }
.x-recolour { filter: invert(43%) sepia(83%) saturate(1500%) hue-rotate(185deg) brightness(95%); }
.x-round { border-radius: 30%; overflow: hidden; }
.dont__art > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.dont__art > img.bg + img { position: relative; }

/* ---------- Colour ---------- */
.swatches { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4) var(--col-gap); }
.swatch__chip { aspect-ratio: 1 / 1.15; border-radius: var(--radius); }
.swatch__chip--chart { box-shadow: inset 0 0 0 1px var(--contour); }
.swatch h3 { margin-top: var(--s-2); font-size: 1.0625rem; letter-spacing: -0.01em; }
.swatch__role { font: 500 0.75rem/1.4 var(--font-mono); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-2); }
.swatch dl { margin: 0.6rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.75rem; font: 400 0.8125rem/1.5 var(--font-mono); }
.swatch dt { color: var(--text-2); }
.swatch dd { margin: 0; color: var(--text); }
.swatch p { margin-top: 0.6rem; font-size: 0.9375rem; color: var(--text-2); }

.ratio { display: flex; height: 3.5rem; border-radius: var(--radius); overflow: hidden; }
.ratio span { display: flex; align-items: flex-end; padding: 0.5rem 0.6rem; font: 500 0.75rem/1 var(--font-mono); }
.ratio__legend { margin-top: var(--s-2); font: 400 0.8125rem/1.5 var(--font-mono); color: var(--text-2); }

.pairs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4) var(--col-gap); }
.pair__sample { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-2); aspect-ratio: 16 / 9; padding: var(--s-3); border-radius: var(--radius); }
.pair__sample b { font: 600 2.25rem/1 var(--font-sans); letter-spacing: -0.03em; }
.pair__sample span { font: 400 0.8125rem/1.4 var(--font-mono); }
.pair__verdict { margin-top: var(--s-1); font: 400 0.8125rem/1.5 var(--font-mono); color: var(--text-2); }
.pair__verdict strong { color: var(--text); font-weight: 500; }
.pair__verdict.is-bad strong { color: var(--error); }

/* ---------- Type ---------- */
.specimen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--col-gap); }
.specimen__glyph { font: 600 clamp(6rem, 3rem + 10vw, 11rem)/0.9 var(--font-sans); letter-spacing: -0.05em; }
.specimen__glyph--mono { font: 400 clamp(4.5rem, 2rem + 8vw, 8rem)/0.9 var(--font-mono); letter-spacing: -0.02em; }
.specimen__name { margin-top: var(--s-3); font: 600 var(--fs-h3)/1.2 var(--font-sans); letter-spacing: -0.02em; }
.specimen p { margin-top: var(--s-1); color: var(--text-2); }
.specimen__chars { margin-top: var(--s-2); font-size: 1.0625rem; color: var(--text); word-break: break-word; }

.weights { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3) var(--col-gap); }
.weights b { display: block; font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.03em; }
.weights span { display: block; margin-top: var(--s-1); font: 400 0.8125rem/1.4 var(--font-mono); color: var(--text-2); }

.scale { list-style: none; display: grid; gap: var(--s-4); }
.scale li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--s-1) var(--col-gap); align-items: baseline; }
.scale__spec { font: 400 0.8125rem/1.5 var(--font-mono); color: var(--text-2); }
.scale__spec b { display: block; font-weight: 500; color: var(--text); text-transform: uppercase; letter-spacing: var(--track-label); }
.scale__sample { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Visual language ---------- */
.photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__caption { position: absolute; left: 0.75rem; bottom: 0.6rem; font: 500 0.75rem/1.3 var(--font-mono); letter-spacing: var(--track-label); color: var(--chart); text-transform: uppercase; }
.photos { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4) var(--col-gap); }
.photos p { margin-top: var(--s-2); font-size: var(--fs-small); color: var(--text-2); }
.photos strong { color: var(--text); display: block; }

.graphics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4) var(--col-gap); }
.graphic__art { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.graphic__art > img { width: 100%; height: 100%; object-fit: cover; }
.graphic__art--needle img { width: 34%; height: auto; }
.graphic__art--label { justify-items: start; align-content: center; gap: var(--s-2); padding: var(--s-4); }
.graphic p { margin-top: var(--s-2); font-size: var(--fs-small); color: var(--text-2); }
.graphic strong { display: block; color: var(--text); }

.icons { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4) var(--col-gap); }
.icons svg { width: 3rem; height: 3rem; color: var(--ink); }
.icons svg * { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.icons .is-north { fill: var(--accent); stroke: none; }
.icons p { margin-top: var(--s-2); font: 400 0.8125rem/1.5 var(--font-mono); color: var(--text-2); }

/* ---------- Digital system ---------- */
.gridviz { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); height: 9rem; }
.gridviz span { background: transparent; box-shadow: inset 0 0 0 1px var(--contour); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0.4rem; font: 400 0.6875rem/1 var(--font-mono); color: var(--text-2); }
.gridviz span:nth-child(-n+3) { background: var(--ink); color: var(--chart); box-shadow: none; }
.gridspec { margin-top: var(--s-3); font: 400 0.8125rem/1.6 var(--font-mono); color: var(--text-2); }

.spacing { list-style: none; display: grid; gap: 0.6rem; }
.spacing li { display: grid; grid-template-columns: 5rem 5rem 1fr; align-items: center; gap: var(--col-gap); font: 400 0.8125rem/1 var(--font-mono); color: var(--text-2); }
.spacing i { display: block; height: 0.75rem; background: var(--ink); }
.spacing b { color: var(--text); font-weight: 500; }

.demo { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
.demo-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-2); }
.demo-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; }
.demo-nav img { width: 112px; }

/* ---------- Applications ---------- */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--col-gap); }
.apps__wide { grid-column: 1 / -1; }
.app { margin: 0; min-width: 0; }
.app figcaption { margin-top: var(--s-2); font-size: var(--fs-small); color: var(--text-2); }
.app figcaption strong { display: block; color: var(--text); font-weight: 600; }

/* Website mock */
.mock { border-radius: var(--radius); overflow: hidden; background: #FFFFFF; container-type: inline-size; }
.mock__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding-inline: 12px; background: var(--ink); }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--slate); }
.mock__bar span { margin-left: 12px; font: 400 0.6875rem/1 var(--font-mono); color: var(--contour); }
.mock__page { position: relative; padding: 5cqw 6cqw 7cqw; background: var(--chart); overflow: hidden; }
.mock__nav { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; position: relative; z-index: 1; }
.mock__nav img { width: 14cqw; }
.mock__nav ul { display: flex; gap: 2.2cqw; list-style: none; font-size: 1.4cqw; font-weight: 500; }
.mock__nav .mock__btn { padding: 0.8cqw 1.4cqw; background: var(--ink); color: var(--chart); font-size: 1.3cqw; border-radius: 2px; }
.mock__hero { position: relative; z-index: 1; margin-top: 9cqw; max-width: 60%; }
.mock__hero small { font: 500 1.2cqw/1 var(--font-mono); letter-spacing: 0.08em; color: var(--slate); text-transform: uppercase; }
.mock__hero b { display: block; margin-top: 1.5cqw; font: 600 6.4cqw/0.98 var(--font-sans); letter-spacing: -0.045em; }
.mock__hero p { margin-top: 2cqw; font-size: 1.6cqw; line-height: 1.45; color: var(--slate); max-width: 80%; }
.mock__contours { position: absolute; right: -8%; top: 0; width: 66%; height: 100%; object-fit: cover; object-position: right center; }

/* Business cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); }
.bcard { position: relative; aspect-ratio: 3.5 / 2; border-radius: 3px; overflow: hidden; container-type: inline-size; }
.bcard--front { background: var(--ink); display: grid; place-items: center; }
.bcard--front > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bcard--front .logo { position: relative; width: 22%; }
.bcard--back { background: #FFFFFF; padding: 8%; display: flex; flex-direction: column; justify-content: space-between; }
.bcard--back .who b { display: block; font: 600 6cqw/1.1 var(--font-sans); letter-spacing: -0.02em; }
.bcard--back .who span { display: block; margin-top: 1.5cqw; font: 400 3.4cqw/1.3 var(--font-mono); color: var(--slate); }
.bcard--back .details { display: flex; justify-content: space-between; align-items: flex-end; gap: 4cqw; font: 400 3.2cqw/1.55 var(--font-mono); color: var(--ink); }
.bcard--back .details img { width: 11cqw; flex: none; }

/* Email signature */
.sig { padding: var(--s-4); background: #FFFFFF; border-radius: var(--radius); font-size: 0.9375rem; line-height: 1.5; }
.sig__msg { color: var(--text-2); }
.sig__block { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; align-items: start; margin-top: var(--s-4); }
.sig__block img { width: 40px; }
.sig__block b { display: block; font-weight: 600; }
.sig__block span { display: block; font: 400 0.8125rem/1.6 var(--font-mono); color: var(--text-2); }
.sig__block a { font: 400 0.8125rem/1.6 var(--font-mono); }

/* Slide (16:9) and deck cover */
.slide { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; container-type: inline-size; }
.slide > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide > img.bg--right { left: auto; width: 52%; object-position: 85% center; }
.slide__in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 5.5cqw 6cqw; }
.slide__top, .slide__foot { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; font: 500 1.5cqw/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.slide__top img { width: 12cqw; }
.slide__title { font: 600 6.2cqw/1 var(--font-sans); letter-spacing: -0.045em; max-width: 70%; }
.slide__title .thin { font-weight: 200; }
.slide__sub { margin-top: 2cqw; font-size: 1.9cqw; line-height: 1.4; max-width: 55%; }
.slide--ink { background: var(--ink); color: var(--chart); }
.slide--ink .slide__top, .slide--ink .slide__foot, .slide--ink .slide__sub { color: var(--contour); }
.slide--ink .slide__title .thin { color: var(--contour); }
.slide--paper { background: #FFFFFF; color: var(--ink); }
.slide--paper .slide__top, .slide--paper .slide__foot, .slide--paper .slide__sub { color: var(--slate); }
.slide--paper .slide__title .thin { color: var(--slate); }
.slide__stats { display: flex; gap: 6cqw; }
.slide__stats b { display: block; font: 500 5cqw/1 var(--font-sans); letter-spacing: -0.04em; color: var(--chart); }
.slide__stats span { display: block; margin-top: 1cqw; font: 400 1.4cqw/1.3 var(--font-mono); color: var(--contour); }

/* Social post */
.post { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--chart); container-type: inline-size; }
.post > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post__in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 8cqw; }
.post__in small { font: 500 3cqw/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--contour); }
.post__in b { font: 600 9.5cqw/1 var(--font-sans); letter-spacing: -0.045em; }
.post__in img { width: 12cqw; }
.post__foot { display: flex; justify-content: space-between; align-items: flex-end; font: 400 3cqw/1.3 var(--font-mono); color: var(--contour); }

/* Investment memo (A4 portrait) */
.memo { aspect-ratio: 210 / 297; padding: 9%; background: #FFFFFF; border-radius: var(--radius); container-type: inline-size; display: flex; flex-direction: column; gap: 5%; overflow: hidden; }
.memo__head { display: flex; justify-content: space-between; align-items: flex-start; font: 400 2.4cqw/1.5 var(--font-mono); color: var(--slate); text-align: right; }
.memo__head img { width: 22cqw; }
.memo__label { font: 500 2.4cqw/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.memo h3 { font: 600 6.4cqw/1.05 var(--font-sans); letter-spacing: -0.035em; }
.memo dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqw; margin: 0; }
.memo dt { font: 500 2cqw/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.memo dd { margin: 0.6cqw 0 0; font: 500 3cqw/1.3 var(--font-sans); }
.memo p { font-size: 2.8cqw; line-height: 1.55; color: var(--ink); }
.memo__foot { margin-top: auto; display: flex; justify-content: space-between; font: 400 2cqw/1.4 var(--font-mono); color: var(--slate); }

/* ---------- Usage rules ---------- */
.rules { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--col-gap); }
.rules h3 { font-size: var(--fs-h4); letter-spacing: -0.01em; }
.rules ul { margin-top: var(--s-2); list-style: none; display: grid; gap: 0.5rem; color: var(--text-2); }
.rules ul li { display: grid; grid-template-columns: 1.5rem 1fr; }
.rules ul li::before { font-family: var(--font-mono); }
.rules .is-do li::before { content: "✓"; color: var(--text); }
.rules .is-dont li::before { content: "✕"; color: var(--accent); }

.checklist { list-style: none; counter-reset: chk; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--col-gap); }
.checklist li { counter-increment: chk; display: grid; grid-template-columns: 3rem 1fr; }
.checklist li::before { content: counter(chk, decimal-leading-zero); font: 400 0.875rem/1.9 var(--font-mono); color: var(--text-2); }

.lb-end { padding-block: var(--section); }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .lb-index { display: none; }
  .lb-main { grid-column: 1 / -1; }
  .lb-toc-inline { display: block !important; }
}
.lb-toc-inline { display: none; margin-top: var(--s-6); }
.lb-toc-inline ol { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem var(--col-gap); }
.lb-toc-inline a { display: grid; grid-template-columns: 2.25rem 1fr; padding-block: 0.4rem; text-decoration: none; font-weight: 500; }
.lb-toc-inline a span { font: 400 0.75rem/1.9 var(--font-mono); color: var(--text-2); }

@media (max-width: 1023px) {
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .weights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kv--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .kv, .kv--2, .plates, .plates--3, .donts, .pairs, .specimen, .photos, .graphics, .apps, .cards, .rules, .checklist, .anatomy, .minsizes, .placement { grid-template-columns: minmax(0, 1fr); }
  .kv--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scale li { grid-template-columns: minmax(0, 1fr); }
  .placement { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gridviz { gap: 4px; height: 6rem; }
  .gridviz span { font-size: 0; }
  .spacing li { grid-template-columns: 3.5rem 4rem 1fr; }
}
@media (max-width: 639px) {
  .lb-toc-inline ol { grid-template-columns: minmax(0, 1fr); }
  .weights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
