/* THOLE · Kitchen & story · page.css
   Page-only CSS for Kitchen & story, on Kit B's tokens (assets/kit.css) and Home's shared parts (assets/site.css).
   Hearth B (.hs-b) and Producers C (.pr-c) are reused from Home exactly as they are: their CSS lives in site.css and
   nothing here touches them. Shared parts first (.kp-), then each direction's signature move (.ka- and .kb-).
   On promotion: copy this file next to public/kitchen/index.html as page.css, point the page's link at "page.css",
   remove the <base> and the review-only link script, and drop the block of the direction that was not picked.
   No new tokens. */

/* ---------------------------------------------------------------- shared */

/* a line in the owners' own words */
.kp-q { display: grid; gap: 10px; margin: 0; }
.kp-q blockquote p { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 1vw + 14px, 28px); line-height: 1.25; letter-spacing: -0.012em; color: var(--ink); text-wrap: pretty; }
.kp-q figcaption { font-size: var(--fs-small); line-height: 1.45; color: var(--muted); }
.kp-q figcaption b { color: var(--ink); font-weight: 600; }

/* the team, as a ruled roster: first name, then what they do */
.kp-roster { border-top: 1px solid var(--ink); }
.kp-roster li { display: grid; grid-template-columns: minmax(0, 5.6rem) minmax(0, 1fr); gap: 2px 20px; align-items: baseline; padding-block: 13px 14px; border-bottom: 1px solid var(--hair); }
.kp-roster b { font-family: var(--f-display); font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.012em; color: var(--ink); }
.kp-roster span { font-size: 16px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.kp-roster li.is-owner b { font-weight: 700; }
.kp-roster li.is-owner + li:not(.is-owner) { border-top: 1px solid var(--line); }
@media (min-width: 700px) { .kp-roster li { grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); } }

/* the close: one line about the counter, and Book */
.kp-close { padding-block: var(--pad); }
.kp-close__in { display: grid; gap: 22px; justify-items: start; }
.kp-close .t-h2 { max-width: 16ch; }
.kp-close .t-lede { max-width: 38ch; }

/* ================================================================================================================
   b · "The word first"
   The page opens on thole set as a dictionary entry at display size: headword, part of speech, where it's said and
   where it comes from, the sense, then the word in use. A ruled contents list follows, then six short chapters in a
   tighter, scannable form: on the left the number, the name, one line and a photograph or a line in their own words;
   on the right the facts as a ruled list.
   ================================================================================================================ */
.kb-word { padding-block: clamp(28px, 4vw, 64px) var(--pad); }
.kb-k { margin-bottom: clamp(4px, 1vw, 14px); }

/* the entry. "thole" is 2.172em in Hanken Grotesk 700 at -0.03em (font-width.mjs). One column under 900px: 38vw, to
   300px (121px at 320 = 263px wide in 288; 148px at 390 = 322 in 358; 292px at 768 = 634 in 736). Two columns from
   900px: 25vw, 200 to 340px (225px at 900 = 489px wide, leaving 311px for the grammar; 340px at 1360 and up = 738px) */
.kb-entry { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); }
.kb-hw { font-family: var(--f-display); font-weight: 700; font-size: min(38vw, 300px); line-height: .8; letter-spacing: -0.03em; color: var(--ink); margin-left: -.04em; padding-bottom: .06em; }
.kb-hw dfn { font-style: normal; }
.kb-gram { display: grid; margin-top: clamp(18px, 2vw, 28px); border-top: 1px solid var(--ink); }
.kb-gram li { padding-block: 10px 11px; border-bottom: 1px solid var(--hair); font-size: var(--fs-body); line-height: 1.35; color: var(--ink); }
.kb-gram .kb-pos { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 1.4vw + 12px, 30px); letter-spacing: -0.012em; line-height: 1.15; }
.kb-ety { font-weight: 600; }
.kb-sense { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 clamp(14px, 1.6vw, 28px); align-items: baseline; margin-top: clamp(28px, 3.6vw, 56px); padding-top: clamp(16px, 1.8vw, 24px); border-top: 2px solid var(--ink);
  font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 6vw, 88px); line-height: 1; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.kb-sn { color: var(--s-rule); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .kb-entry { grid-template-columns: auto minmax(0, 1fr); align-items: end; }
  .kb-hw { font-size: clamp(200px, 25vw, 340px); }
  .kb-gram { margin-top: 0; margin-bottom: .5em; }
  .kb-sense { grid-column: 1 / -1; }
}

/* the word in use */
.kb-uses { display: grid; gap: clamp(28px, 3vw, 40px) var(--gap); margin-top: clamp(28px, 3.4vw, 48px); }
.kb-use { margin: 0; display: grid; gap: 10px; align-content: start; }
.kb-use blockquote p { font-family: var(--f-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.16; letter-spacing: -0.012em; color: var(--ink); text-wrap: pretty; }
.kb-use--ruth blockquote p { font-family: var(--f-text); font-weight: 400; font-size: clamp(19px, 1.2vw + 13px, 24px); line-height: 1.42; letter-spacing: 0; }
.kb-use figcaption { font-size: var(--fs-small); line-height: 1.45; color: var(--muted); max-width: 46ch; }
.kb-use figcaption b { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .kb-uses { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 4vw, 64px); }
  .kb-use--ruth { padding-left: clamp(24px, 2.4vw, 40px); border-left: 1px solid var(--line); }
}

/* the contents: a ruled list, one line per chapter */
.kb-toc { margin-top: clamp(64px, 7vw, 112px); }
.kb-toc__h { padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.kb-toc a { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 20px; gap: 2px 14px; align-items: baseline; padding-block: 14px 15px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.kb-toc__n { grid-row: span 2; font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--s-rule); font-variant-numeric: tabular-nums; }
.kb-toc__t { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 1.2vw + 12px, 28px); line-height: 1.2; letter-spacing: -0.012em; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .2em; transition: text-decoration-color var(--t-quick); }
.kb-toc__d { grid-column: 2; font-size: var(--fs-small); line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.kb-toc a::after { content: "\2193"; grid-column: 3; grid-row: 1; justify-self: end; font-size: 18px; color: var(--muted); transition: color var(--t-quick), transform var(--t-quick) var(--ease); }
.kb-toc a:hover .kb-toc__t { text-decoration-color: var(--ink); }
.kb-toc a:hover::after { color: var(--ink); transform: translateY(2px); }
@media (min-width: 900px) {
  .kb-toc a { grid-template-columns: 3.4rem minmax(0, 18rem) minmax(0, 1fr) 24px; column-gap: var(--gap); }
  .kb-toc__n { grid-row: auto; }
  .kb-toc__d { grid-column: 3; font-size: 16px; }
  .kb-toc a::after { grid-column: 4; }
}

/* the chapters, short */
.kb-sec { padding-block: var(--pad); }
.kb-ch { display: grid; gap: clamp(24px, 3vw, 40px); }
.kb-ch + .kb-ch { margin-top: clamp(64px, 7vw, 112px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.kb-ch__head { display: grid; gap: 12px; align-content: start; }
.kb-ch__n { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1; color: var(--s-rule); font-variant-numeric: tabular-nums; }
.kb-ch__n::after { content: ""; flex: 1; max-width: 72px; border-top: 2px solid var(--s-rule); }
.kb-ch__t { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.kb-ch__role { font-size: clamp(18px, 0.8vw + 12px, 22px); line-height: 1.4; max-width: 30ch; color: var(--ink); text-wrap: pretty; }
.kb-ch__fig { margin: 12px 0 0; max-width: 26rem; }
.kb-ch__fig .ph { aspect-ratio: 4 / 5; }
.kb-ch__pull { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); max-width: 24em; }
.kb-ch__body { display: grid; gap: clamp(28px, 3vw, 40px); align-content: start; min-width: 0; }
.kb-facts { border-top: 2px solid var(--ink); }
.kb-facts > div { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: 4px 24px; align-items: baseline; padding-block: 14px 15px; border-bottom: 1px solid var(--hair); }
.kb-facts dt { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.kb-facts dd { font-size: 17px; line-height: 1.5; color: var(--ink); max-width: 52ch; text-wrap: pretty; }
.kb-qs { display: grid; gap: 28px; }
.kb-more { font-size: 17px; }
.kb-pair { display: grid; gap: 28px var(--gap); }
.kb-pair figure { margin: 0; }
.kb-pair .ph { aspect-ratio: 3 / 2; }
@media (max-width: 459px) {
  .kb-facts > div { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 700px) {
  .kb-pair { grid-template-columns: 1fr 1fr; }
  .kb-qs { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); column-gap: var(--gap); }
}
@media (min-width: 900px) {
  .kb-ch { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 5vw, 96px); }
  .kb-pair { grid-column: 1 / -1; }
}
