/* Karst data kit: the shared parts, defined once (ported whole from the approved page template mocks, 2026-11-18). Every page template
   (master/front/templates.js) is built from these and its fill, and nothing else; master/shared/parts.js is their markup and behaviour.
   Front pages (the district home now; Explore, the LCAP hub and the school page as they are ported) wear the editorial look: a vivid
   photograph with navy only on the text side, a Montserrat title with a period, one Baskerville italic line, a cream ground, search in the
   first frame. Dashboards (the project landing and the deep dive, as they are ported) wear the data look: a night glass side panel over the
   project's scenery, a photo band head, glass cards over a muted photo field.
   The parts: the bar, the hero, the search, the section header, the photo band, glass, the catalog card and the glass card, the paths, the
   figures, the rows, the featured pairs, the select with its own thin chevron, the quiet tabs, the chart frame with its source line, the
   table, the tone, the charts, the tooltip, the receipt, the footer and the side panel. The sign-in is the house pill (topnav.js, its look in
   topnav.css), never a second one.
   Colour comes from the edition's own slots, never from a district's name here: its style layer's navy (--f-navy, --f-navy-deep, else the
   tempo ink --color-tempo-ink), its night (--k-night-rgb) and its lines (--f-line, --f-line-strong); without them, the master's navy.
   Data colours (--d1, --d2, --slate) are the house's in every edition. Fonts are the kit's own (master/showcase/fonts), copied beside this file.
   Radius 3px. No pills but the Google sign-in. No coloured rules, no boxed steps, no red, amber or gold. Reduced motion stops all motion. */

@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-300-900.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-300-700.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("fonts/libre-baskerville-latin-italic-400.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --navy: var(--f-navy, var(--color-tempo-ink, #1e2a4a));
  --navy-deep: var(--f-navy-deep, var(--color-tempo-ink, #14203d));
  --night-rgb: var(--k-night-rgb, 11, 22, 49);
  --night: rgb(var(--night-rgb));
  --ink: #1f2842;
  --ink-2: #4b5571;
  --ink-3: #5c6581;
  --taupe: #6e6355;
  --cream: #f8f6f2;
  --paper: #fffcf7;
  --line: var(--f-line, rgba(30, 42, 74, 0.11));
  --line-2: var(--f-line-strong, rgba(30, 42, 74, 0.2));
  /* the charts' colours: Karst's set palette (palette.css), never the district's; the tints are its own colours mixed toward white */
  --d1: var(--palette-1);   /* the first series */
  --d1-soft: color-mix(in srgb, var(--palette-1) 50%, #fff);
  --d1-mist: color-mix(in srgb, var(--palette-1) 12%, #fff);
  --d2: var(--palette-2);   /* the second series */
  --d2-soft: color-mix(in srgb, var(--palette-2) 38%, #fff);
  --slate: color-mix(in srgb, var(--palette-2) 50%, var(--palette-neutral));   /* the reference: all students, the district, last year */
  --sky: #9cc0ee;
  --r: 3px;
  --f-head: "Montserrat", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-it: "Libre Baskerville", Georgia, serif;
  --in: 120ms;
  --out: 280ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.3, .44, 1);
  --pad: clamp(20px, 5vw, 88px);
  --max: 1280px;
  --glass-bg: rgba(255, 253, 249, 0.74);
  --glass-edge: rgba(255, 255, 255, 0.72);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 1px 2px rgba(var(--night-rgb), 0.06), 0 26px 52px -34px rgba(var(--night-rgb), 0.42);
  --panel-w: 288px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--f-body); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--d1); outline-offset: 3px; border-radius: var(--r); }
.k-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.k-wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.k-it { font-family: var(--f-it); font-style: italic; font-weight: 400; letter-spacing: 0; }
.k-num { font-variant-numeric: tabular-nums; }

/* ─── Type ─── */
.k-kick { margin: 0 0 14px; font: 600 0.72rem/1.2 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }
.k-h2 { margin: 0; font: 500 clamp(1.9rem, 3.1vw, 2.75rem)/1.12 var(--f-head); letter-spacing: -0.022em; color: var(--navy-deep); text-wrap: balance; }
.k-h3 { margin: 0; font: 600 1.06rem/1.35 var(--f-head); letter-spacing: -0.008em; color: var(--navy-deep); text-wrap: balance; }
.k-lede { margin: 0; font-size: 1.06rem; line-height: 1.62; color: var(--ink-2); max-width: 60ch; }

/* ─── Text action: one per head. A word and a glyph, never a box. ─── */
.k-act { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font: 600 0.92rem/1 var(--f-head); letter-spacing: 0.01em; text-decoration: none; color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: gap var(--out) var(--ease); }
.k-act svg { width: 16px; height: 16px; transition: transform var(--out) var(--ease); }
.k-act:hover { gap: 13px; transition-duration: var(--in); }
.k-act:hover svg { transform: translateX(2px); transition-duration: var(--in); }
.k-link { color: var(--d1); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--out) var(--ease); }
.k-link:hover { background-size: 100% 1px; transition-duration: var(--in); }

/* ─── The sample label: once per page, in the bar. A dot and two words. ─── */
.k-sample { display: inline-flex; align-items: center; gap: 8px; font: 500 0.78rem/1 var(--f-body); letter-spacing: 0.01em; white-space: nowrap; }
.k-sample i { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px rgba(156, 192, 238, 0.25); }

/* ─── The Google sign-in: the house pill (master/shared/topnav.js signIn, its look in topnav.css), the one pill. ─── */
.k-signin { display: inline-flex; }

/* ─── The front bar: glass over the hero, paper glass once scrolled. One nav, six tabs. ─── */
.k-nav { position: fixed; z-index: 50; inset: 0 0 auto 0; height: 72px; color: #fff; transition: background var(--out) var(--ease), color var(--out) var(--ease), box-shadow var(--out) var(--ease); }
.k-nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--night-rgb), 0.42), rgba(var(--night-rgb), 0)); pointer-events: none; transition: opacity var(--out); }
.k-nav__in { position: relative; display: flex; align-items: center; gap: 28px; height: 100%; }
.k-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.k-brand img { width: auto; height: 13px; flex: none; }
.k-brand > div { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.k-brand--logo b { font-weight: 500; letter-spacing: 0.02em; }
.k-brand b { font: 600 0.98rem/1.1 var(--f-head); letter-spacing: 0.01em; white-space: nowrap; }
.k-brand span { display: block; font: 400 0.72rem/1.2 var(--f-body); opacity: 0.72; white-space: nowrap; }
.k-brand .k-brand__sample { display: none; margin-top: 5px; font-style: normal; font-size: 0.72rem; opacity: 0.86; }
.k-tabs { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.k-tabs a { position: relative; display: block; padding: 10px 0; font: 500 0.88rem/1 var(--f-body); text-decoration: none; opacity: 0.86; transition: opacity var(--out); }
.k-tabs a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 1px; background: currentColor; transition: left var(--out) var(--ease), right var(--out) var(--ease); }
.k-tabs a:hover { opacity: 1; transition-duration: var(--in); }
.k-tabs a:hover::after, .k-tabs a[aria-current="page"]::after { left: 0; right: 0; transition-duration: var(--in); }
.k-tabs a[aria-current="page"] { opacity: 1; font-weight: 600; }
.k-nav__tools { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.k-iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: var(--r); background: transparent; cursor: pointer; opacity: 0.9; transition: background var(--out); }
.k-iconbtn:hover { background: rgba(255, 255, 255, 0.12); transition-duration: var(--in); }
.k-iconbtn svg { width: 19px; height: 19px; }
.k-nav__menu { display: none; }
.k-nav.is-solid { color: var(--navy-deep); background: rgba(255, 252, 247, 0.84); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.k-nav.is-solid::before { opacity: 0; }
.k-nav.is-solid .k-iconbtn:hover { background: rgba(30, 42, 74, 0.06); }
.k-nav.is-solid .k-sample { color: var(--ink-2); }
.k-nav .k-brand .k-mark-light { display: block; }
.k-nav .k-brand .k-mark-dark { display: none; }
.k-nav.is-solid .k-brand .k-mark-light { display: none; }
.k-nav.is-solid .k-brand .k-mark-dark { display: block; }
.k-menu { position: fixed; z-index: 60; inset: 0; display: none; background: rgba(var(--night-rgb), 0.4); }
.k-menu.is-open { display: block; }
.k-menu__sheet { position: absolute; inset: 0 0 auto 0; padding: 18px var(--pad) 28px; background: var(--paper); box-shadow: 0 20px 40px -20px rgba(var(--night-rgb), 0.4); }
.k-menu__top { display: flex; align-items: center; justify-content: space-between; height: 40px; margin-bottom: 10px; color: var(--navy-deep); }
.k-menu ul { list-style: none; margin: 0 0 22px; padding: 0; }
.k-menu li a { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font: 500 1.15rem/1.2 var(--f-head); color: var(--navy-deep); text-decoration: none; }
.k-menu li a[aria-current="page"] { font-weight: 700; }

/* ─── The front hero: a vivid photograph, navy only on the text side. ─── */
.k-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 560px; color: #fff; background: var(--night); }
.k-hero--full { min-height: max(640px, min(100svh, 940px)); align-items: center; }
.k-hero--mid { min-height: clamp(520px, 66svh, 660px); }
.k-hero--stat .k-hero__in { padding-bottom: clamp(120px, 13vh, 150px); }
.k-hero__photo { position: absolute; inset: 0; z-index: -2; }
.k-hero__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.04); transform: scale(1.04); }
.k-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(var(--night-rgb), 0.88) 0%, rgba(var(--night-rgb), 0.72) 30%, rgba(var(--night-rgb), 0.28) 56%, rgba(var(--night-rgb), 0) 76%),
  linear-gradient(180deg, rgba(var(--night-rgb), 0.28) 0%, rgba(var(--night-rgb), 0) 22%); }
.k-hero__in { width: 100%; padding-top: 140px; padding-bottom: clamp(56px, 8vh, 96px); }
.k-hero--full .k-hero__in { padding-top: 120px; }
.k-hero__eyebrow { margin: 0 0 20px; font: 600 0.78rem/1.2 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86); }
.k-title { margin: 0; max-width: 13ch; font: 600 clamp(2.9rem, 5.8vw, 5.5rem)/1.0 var(--f-head); letter-spacing: -0.036em; color: #fff; text-wrap: balance; }
.k-hero__line { margin: 22px 0 0; max-width: 34ch; font: italic 400 clamp(1.12rem, 1.7vw, 1.42rem)/1.5 var(--f-it); color: rgba(255, 255, 255, 0.9); text-wrap: pretty; }
.k-hero__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; margin-top: 34px; }
.k-hero .k-act { color: #fff; }
.k-hero__note { display: inline-flex; align-items: baseline; gap: 12px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--r); background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); font-size: 0.92rem; line-height: 1.45; color: #fff; }
.k-hero__note b { font: 600 0.7rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
@media (prefers-reduced-motion: no-preference) {
  .k-hero__photo img { animation: k-settle 1.6s var(--ease) both; }
  .k-rise { animation: k-rise 0.9s var(--spring) both; }
  .k-rise:nth-child(2) { animation-delay: 0.08s; }
  .k-rise:nth-child(3) { animation-delay: 0.16s; }
  .k-rise:nth-child(4) { animation-delay: 0.26s; }
  .k-rise:nth-child(5) { animation-delay: 0.34s; }
}
@keyframes k-settle { from { transform: scale(1.1); } to { transform: scale(1.04); } }
@keyframes k-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ─── Search: in the first frame. Light glass, 3px, a slash hint. ─── */
.k-search { position: relative; width: min(640px, 100%); margin-top: 36px; }
.k-search__box { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 16px 0 20px; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: var(--r); background: rgba(255, 253, 249, 0.97); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); color: var(--navy-deep); box-shadow: 0 18px 40px -24px rgba(var(--night-rgb), 0.55); transition: box-shadow var(--out) var(--ease), background var(--out); }
.k-search__box:focus-within { background: #fffdf9; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.34), 0 18px 40px -24px rgba(var(--night-rgb), 0.55); transition-duration: var(--in); }
.k-search__box svg { flex: none; width: 19px; height: 19px; color: var(--ink-3); }
.k-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font-size: 1.02rem; color: var(--navy-deep); }
.k-search input::placeholder { color: var(--ink-3); }
.k-search kbd { flex: none; display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: var(--r); font: 500 0.75rem/1 var(--f-body); color: var(--ink-3); }
.k-search__count { flex: none; font: 500 0.82rem/1 var(--f-body); color: var(--ink-3); white-space: nowrap; }
.k-quick { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 16px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.76); }
.k-quick button { padding: 2px 0; border: 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; color: #fff; cursor: pointer; opacity: 0.92; transition: opacity var(--out); }
.k-quick button:hover { opacity: 1; transition-duration: var(--in); }
.k-results { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; max-height: min(460px, 60vh); overflow: auto; padding: 8px; border: 1px solid var(--glass-edge); border-radius: var(--r); background: rgba(255, 252, 247, 0.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(var(--night-rgb), 0.55); display: none; text-align: left; }
.k-results.is-open { display: block; }
.k-results h4 { margin: 10px 12px 6px; font: 600 0.68rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }
.k-results a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 10px 12px; border-radius: var(--r); text-decoration: none; }
.k-results a b { font: 600 0.94rem/1.3 var(--f-head); color: var(--navy-deep); }
.k-results a span { grid-column: 1; font-size: 0.8rem; color: var(--ink-3); }
.k-results a em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 0.76rem; color: var(--ink-3); }
.k-results a:hover, .k-results a.is-on { background: color-mix(in srgb, var(--d1) 8%, transparent); }
.k-results p { margin: 12px; font-size: 0.9rem; color: var(--ink-2); }

/* ─── Sections ─── */
.k-section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.k-section--tight { padding-top: clamp(40px, 4.4vw, 64px); }
.k-section--paths { padding: clamp(36px, 3.6vw, 52px) 0 clamp(40px, 4vw, 60px); }
.k-section--paths + .k-section { padding-top: clamp(64px, 7vw, 104px); }
.k-section--paper { background: var(--paper); }
.k-sechead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 40px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.k-sechead .k-lede { margin-top: 14px; }
.k-sechead__aside { font-size: 0.84rem; line-height: 1.5; color: var(--ink-3); text-align: right; max-width: 34ch; }

/* ─── Glass ─── */
.k-glass { position: relative; border: 1px solid var(--glass-edge); border-radius: var(--r); background: var(--glass-bg); -webkit-backdrop-filter: blur(22px) saturate(1.45); backdrop-filter: blur(22px) saturate(1.45); box-shadow: var(--glass-shadow); }

/* ─── A photo band: a vivid photograph with glass on it. Navy only behind the words. ─── */
.k-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; color: #fff; background: var(--night); }
.k-band__photo { position: absolute; inset: 0; z-index: -2; }
.k-band__photo img { width: 100%; height: 100%; object-fit: cover; }
.k-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--night-rgb), 0.62) 0%, rgba(var(--night-rgb), 0.26) 44%, rgba(var(--night-rgb), 0) 100%), linear-gradient(180deg, rgba(var(--night-rgb), 0.18), rgba(var(--night-rgb), 0) 40%); }
.k-band .k-glass { background: rgba(255, 253, 249, 0.92); border-color: rgba(255, 255, 255, 0.85); }
/* Glass on a photo band carries dark text: the band's white type never reaches inside a card. */
.k-band .k-glass { color: var(--ink); }
.k-band .k-glass .k-kick, .k-band .k-glass .k-src, .k-band .k-glass .k-rows__small, .k-band .k-glass .k-tool, .k-band .k-glass small, .k-band .k-glass .k-hrow__label small { color: var(--ink-2); }
.k-band .k-gcard:hover { background: rgba(255, 253, 249, 0.95); }
.k-band .k-h2, .k-band .k-kick { color: #fff; }
.k-band .k-lede { color: rgba(255, 255, 255, 0.84); }
.k-band .k-sechead__aside { color: rgba(255, 255, 255, 0.8); }

/* ─── The catalog card: an image, a name, one line. The whole card opens. ─── */
.k-cards { --gap: clamp(20px, 2.2vw, 32px); display: grid; gap: clamp(36px, 3.4vw, 48px) var(--gap); grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); container-type: inline-size; }
.k-ccard { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--r); }
/* Every image in a grid is one column's 4:3 height, so a widened card keeps the row even. */
.k-ccard__img { position: relative; overflow: hidden; height: calc((100cqw - (var(--cols, 4) - 1) * var(--gap)) / var(--cols, 4) * 0.75); border-radius: var(--r); background: var(--d1-mist); box-shadow: 0 1px 2px rgba(var(--night-rgb), 0.06), 0 22px 40px -32px rgba(var(--night-rgb), 0.5); }
.k-ccard__img > img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease), opacity var(--out); }
.k-ccard__still { position: absolute; inset: 0; opacity: 0; transition: opacity var(--out) var(--ease); background: var(--paper); }
.k-ccard__still img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.k-ccard__body { display: grid; gap: 6px; padding: 16px 2px 0; }
.k-ccard__name { display: flex; align-items: baseline; gap: 10px; margin: 0; font: 600 1.06rem/1.3 var(--f-head); letter-spacing: -0.01em; color: var(--navy-deep); }
.k-ccard__name svg { flex: none; width: 15px; height: 15px; margin-left: auto; transform: translateY(2px); color: var(--ink-3); transition: transform var(--out) var(--ease), color var(--out); }
.k-ccard__line { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.k-ccard__meta { margin: 2px 0 0; font-size: 0.78rem; line-height: 1.4; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-ccard:hover .k-ccard__img > img { transform: scale(1.045); transition-duration: 1200ms; }
.k-ccard:hover .k-ccard__still { opacity: 1; transition-duration: var(--in); }
.k-ccard:hover .k-ccard__name svg { transform: translate(3px, 2px); color: var(--navy-deep); transition-duration: var(--in); }
.k-ccard:focus-visible { outline-offset: 6px; }
/* The last card on a short row widens into a pair, so no row leaves a hole. */
.k-ccard--wide .k-ccard__line { max-width: 62ch; }
/* Glass cards over a photograph (the home's data projects). */
.k-gcard { display: flex; flex-direction: column; gap: 10px; min-height: 100%; padding: 26px 26px 22px; text-decoration: none; color: var(--navy-deep); transition: transform var(--out) var(--ease), background var(--out); }
.k-gcard:hover { transform: translateY(-3px); background: rgba(255, 253, 249, 0.86); transition-duration: var(--in); }
.k-gcard__icon { width: 26px; height: 26px; color: var(--d1); margin-bottom: 8px; }
.k-gcard h3 { display: flex; align-items: baseline; gap: 10px; margin: 0; font: 600 1.16rem/1.25 var(--f-head); letter-spacing: -0.012em; }
.k-gcard h3 svg { width: 15px; height: 15px; margin-left: auto; color: var(--ink-3); transition: transform var(--out) var(--ease); }
.k-gcard:hover h3 svg { transform: translateX(3px); transition-duration: var(--in); }
.k-gcard p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
.k-gcard small { margin-top: auto; padding-top: 10px; font-size: 0.78rem; color: var(--ink-3); }

/* ─── The paths: five hairline columns, no boxes. ─── */
.k-paths { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.k-path { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 30px 0; text-decoration: none; color: inherit; }
.k-path + .k-path { padding-left: 26px; border-left: 1px solid var(--line); }
.k-path svg.k-path__icon { width: 22px; height: 22px; color: var(--d1); margin-bottom: 10px; }
.k-path b { display: flex; align-items: baseline; gap: 8px; font: 600 1.08rem/1.25 var(--f-head); color: var(--navy-deep); }
.k-path b svg { width: 14px; height: 14px; opacity: 0; transform: translateX(-4px); transition: opacity var(--out), transform var(--out) var(--ease); }
.k-path span { font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.k-path::after { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--navy-deep); transform: scaleX(0); transform-origin: left; transition: transform var(--out) var(--ease); }
.k-path + .k-path::after { left: 0; }
.k-path:hover::after { transform: scaleX(1); transition-duration: var(--in); }
.k-path:hover b svg { opacity: 1; transform: none; transition-duration: var(--in); }

/* ─── Figures. On cream: hairline columns. On a band or a dashboard: glass. ─── */
.k-figs { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.k-fig { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 22px 0; min-width: 0; }
.k-figs > .k-fig + .k-fig { padding-left: 24px; border-left: 1px solid var(--line); }
.k-fig__label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font: 600 0.84rem/1.3 var(--f-body); color: var(--ink); }
.k-fig__value { margin: 6px 0 2px; font: 500 clamp(2.2rem, 3.2vw, 2.9rem)/1 var(--f-head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--navy-deep); }
.k-fig__value small { font-size: 0.5em; font-weight: 500; letter-spacing: 0; margin-left: 2px; }
.k-fig__change { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 0.84rem; line-height: 1.4; color: var(--ink-2); }
.k-fig__change svg { flex: none; width: 13px; height: 13px; }
.k-fig__change .is-good { color: var(--d2); }
.k-fig__change .is-move { color: var(--d1); }
.k-fig__ref { font-size: 0.8rem; color: var(--ink-3); }
.k-fig__spark { margin-top: 10px; height: 30px; }
.k-fig__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 0.78rem; color: var(--ink-3); }
.k-rcpt { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); cursor: pointer; transition: background var(--out), color var(--out); }
.k-rcpt svg { width: 16px; height: 16px; }
.k-rcpt:hover { background: color-mix(in srgb, var(--d1) 10%, transparent); color: var(--d1); transition-duration: var(--in); }
.k-figs--glass { gap: clamp(14px, 1.4vw, 20px); border: 0; }
.k-figs--glass > .k-fig, .k-figs--glass > .k-fig + .k-fig { padding: 20px 20px 16px; border: 1px solid var(--glass-edge); border-radius: var(--r); background: var(--glass-bg); -webkit-backdrop-filter: blur(22px) saturate(1.45); backdrop-filter: blur(22px) saturate(1.45); box-shadow: var(--glass-shadow); }

/* ─── Sentences: where to look next, what we heard. Hairline rows. ─── */
.k-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.k-rows > li { display: grid; grid-template-columns: var(--rowcols, minmax(0, 1fr) auto); align-items: baseline; gap: 8px 36px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.k-rows p { margin: 0; }
.k-rows .k-rows__lead { font: 500 1.08rem/1.5 var(--f-head); color: var(--navy-deep); letter-spacing: -0.005em; }
.k-rows .k-rows__lead b { font-weight: 600; color: var(--d1); font-variant-numeric: tabular-nums; }
.k-rows .k-rows__small { font-size: 0.84rem; color: var(--ink-3); }
.k-rows a.k-act { color: var(--navy-deep); font-size: 0.84rem; white-space: nowrap; }

/* ─── Featured pairs: the page's own still, alternating sides. ─── */
.k-pair { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); text-decoration: none; color: inherit; }
.k-pair + .k-pair { margin-top: clamp(56px, 7vw, 104px); }
.k-pair:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.k-pair:nth-of-type(even) .k-pair__shot { order: 2; }
.k-pair__shot { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r); background: var(--paper); box-shadow: 0 1px 2px rgba(var(--night-rgb), 0.08), 0 40px 70px -40px rgba(var(--night-rgb), 0.55); }
.k-pair__shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1200ms var(--ease); }
.k-pair:hover .k-pair__shot img { transform: scale(1.02); }
.k-pair__for { margin: 0 0 14px; font: 600 0.72rem/1.2 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }
.k-pair h3 { margin: 0 0 14px; font: 600 clamp(1.5rem, 2.3vw, 2.05rem)/1.15 var(--f-head); letter-spacing: -0.02em; color: var(--navy-deep); }
.k-pair p { margin: 0 0 24px; color: var(--ink-2); max-width: 44ch; }
.k-pair .k-act { color: var(--navy-deep); }

/* ─── Selects: their own thin chevron, 16px in. ─── */
.k-sel { position: relative; display: inline-flex; flex-direction: column; gap: 6px; min-width: 0; }
.k-sel > span { font: 600 0.7rem/1 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); }
.k-sel select { -webkit-appearance: none; appearance: none; height: 42px; padding: 0 42px 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(255, 253, 249, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231e2a4a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 10px 6px; font-size: 0.9rem; color: var(--navy-deep); cursor: pointer; transition: border-color var(--out); }
.k-sel select:hover { border-color: rgba(30, 42, 74, 0.38); transition-duration: var(--in); }
/* (the chevron rule: our own thin chevron, an inline SVG 16px in from the right, 42px of room for the words, the same in every state) */
.k-sel--bare > span { display: none; }

/* ─── Quiet text tabs (areas on Explore). Underline, never a pill. ─── */
.k-qtabs { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 0; padding: 0; list-style: none; }
.k-qtabs button { position: relative; padding: 10px 0; border: 0; background: none; font: 500 0.94rem/1 var(--f-body); color: var(--ink-2); cursor: pointer; }
.k-qtabs button sup { margin-left: 5px; font-size: 0.7rem; font-weight: 500; color: var(--ink-3); vertical-align: 0.3em; }
.k-qtabs button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--navy-deep); transition: right var(--out) var(--ease); }
.k-qtabs button:hover { color: var(--navy-deep); }
.k-qtabs button:hover::after { right: 0; transition-duration: var(--in); }
.k-qtabs button[aria-pressed="true"] { color: var(--navy-deep); font-weight: 600; }
.k-qtabs button[aria-pressed="true"]::after { right: 0; }

/* ─── The chart frame: a question, the read, the chart, its source. ─── */
.k-frame { display: flex; flex-direction: column; min-width: 0; padding: clamp(20px, 2vw, 28px); }
.k-frame__head { display: grid; gap: 8px; margin-bottom: 20px; }
.k-frame__read { margin: 0; font-size: 0.93rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.k-frame__read b { font-weight: 600; color: var(--navy-deep); font-variant-numeric: tabular-nums; }
.k-frame__body { position: relative; flex: 1; min-height: 120px; display: flex; flex-direction: column; justify-content: center; }
.k-frame__body > * { width: 100%; }
.k-frame__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.k-src { margin: 0; font-size: 0.78rem; line-height: 1.45; color: var(--ink-3); }
.k-frame__tools { display: flex; gap: 18px; }
.k-tool { display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; border: 0; background: none; font: 500 0.78rem/1 var(--f-body); color: var(--ink-2); cursor: pointer; }
.k-tool svg { width: 14px; height: 14px; }
.k-tool:hover { color: var(--d1); }
.k-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -6px 0 14px; font-size: 0.8rem; color: var(--ink-2); }
.k-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 2px; vertical-align: -1px; }
.k-legend i.is-line { height: 2px; border-radius: 1px; vertical-align: 3px; }
.k-legend i.is-ring { background: transparent !important; border: 1.5px solid var(--slate); border-radius: 50%; }
.k-grid { display: grid; gap: clamp(16px, 1.6vw, 24px); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.k-grid > .k-span-12 { grid-column: span 12; }
.k-grid > .k-span-8 { grid-column: span 8; }
.k-grid > .k-span-7 { grid-column: span 7; }
.k-grid > .k-span-6 { grid-column: span 6; }
.k-grid > .k-span-5 { grid-column: span 5; }
.k-grid > .k-span-4 { grid-column: span 4; }

/* A data table (the Table view and full reports). */
.k-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.k-table th { padding: 10px 12px; border-bottom: 1px solid var(--line-2); font: 600 0.74rem/1.3 var(--f-body); letter-spacing: 0.04em; text-align: right; color: var(--ink-2); white-space: nowrap; }
.k-table th:first-child, .k-table td:first-child { text-align: left; padding-left: 0; }
.k-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: right; color: var(--ink); }
.k-table tbody tr { transition: background var(--out); }
.k-table tbody tr:hover { background: color-mix(in srgb, var(--d1) 5%, transparent); transition-duration: var(--in); }
.k-table tr.is-ref td { font-weight: 600; color: var(--navy-deep); }
.k-table th button { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.k-table th button::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: 0.35; }
.k-table th button[data-dir="asc"]::after { transform: rotate(-135deg) translateY(-1px); opacity: 1; }
.k-table th button[data-dir="desc"]::after { opacity: 1; }
.k-tablewrap { overflow-x: auto; }

/* Status: a tone dot and a word. */
.k-tone { display: inline-flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--ink-2); white-space: nowrap; }
.k-tone i { width: 8px; height: 8px; border-radius: 50%; background: var(--slate); }
.k-tone--met i { background: var(--d2); }
.k-tone--move i { background: var(--d1); }
.k-tone--flat i { background: transparent; border: 1.5px solid var(--slate); }

/* ─── Charts ─── */
.k-chart { position: relative; width: 100%; }
.k-chart svg { display: block; overflow: visible; }
.k-chart text { font-family: var(--f-body); font-size: 12px; fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.k-chart .t-strong { fill: var(--navy-deep); font-weight: 600; }
.k-chart .t-label { fill: var(--ink-2); }
.k-chart .grid { stroke: rgba(30, 42, 74, 0.08); }
.k-chart .base { stroke: rgba(30, 42, 74, 0.22); }
.k-hrow { display: grid; grid-template-columns: var(--lab, 170px) minmax(0, 1fr) 64px; align-items: center; gap: 16px; padding: 7px 0; font-size: 0.86rem; }
.k-hrow__label { color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.k-hrow__val { text-align: right; font-weight: 600; color: var(--navy-deep); font-variant-numeric: tabular-nums; }
.k-hrow__track { position: relative; height: 22px; }
.k-hrow:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--d1) 5%, transparent), color-mix(in srgb, var(--d1) 0%, transparent)); }
.k-hrow--ref .k-hrow__label { font-weight: 600; color: var(--navy-deep); }
.k-hrow--ref { border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 4px; }
.k-dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--d1); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9); transition: transform var(--out) var(--spring); }
.k-dot--ref { background: #fff; border: 2px solid var(--slate); box-shadow: none; }
.k-hrow:hover .k-dot { transform: scale(1.15); transition-duration: var(--in); }
.k-stem { position: absolute; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: var(--d1-soft); }
.k-refline { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 1px dashed rgba(30, 42, 74, 0.36); }
.k-refline b { position: absolute; top: -18px; left: 0; transform: translateX(-50%); font: 600 0.7rem/1 var(--f-body); color: var(--ink-2); white-space: nowrap; }
.k-bar { position: absolute; top: 50%; height: 8px; margin-top: -4px; border-radius: 4px; background: var(--d1); }
.k-bar--b { background: var(--d2); }
.k-bar--soft { background: var(--d1-mist); }
.k-mark { position: absolute; top: 2px; bottom: 2px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--navy-deep); }
.k-mark--base { background: var(--slate); width: 2px; top: 5px; bottom: 5px; }
.k-matrix { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.k-matrix th { padding: 6px 8px; font: 600 0.74rem/1.3 var(--f-body); color: var(--ink-2); text-align: center; vertical-align: bottom; }
.k-matrix th:first-child { text-align: left; padding-left: 0; }
.k-matrix td { padding: 11px 8px; border-radius: 2px; text-align: center; font-weight: 500; transition: box-shadow var(--out); }
.k-matrix td:first-child { padding-left: 0; text-align: left; font-weight: 500; color: var(--ink); background: none !important; white-space: nowrap; }
.k-matrix tr.is-ref td:first-child { font-weight: 700; color: var(--navy-deep); }
.k-matrix td.k-matrix__ref { background: transparent; color: var(--navy-deep); font-weight: 700; border-bottom: 1px solid var(--line-2); border-radius: 0; }
.k-matrix td.k-matrix__ref:hover { box-shadow: none; }
.k-matrix td:not(:first-child):hover { box-shadow: 0 0 0 2px var(--navy-deep); transition-duration: var(--in); }
.k-matrix td a { color: inherit; text-decoration: none; }
.k-matrix td a:hover { text-decoration: underline; }
.k-matrix__scale { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 0.76rem; color: var(--ink-3); }
.k-matrix__scale i { width: 120px; height: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--d1-mist), var(--palette-6)); }
.k-waffle { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; max-width: 460px; }
.k-waffle i { aspect-ratio: 1; border-radius: 2px; background: var(--d1-mist); transition: transform var(--out) var(--spring); }
.k-waffle i.on { background: var(--d1); }
.k-waffle i.on2 { background: var(--d2); }
.k-waffle i:hover { transform: scale(1.25); transition-duration: var(--in); }
.k-waffle-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.k-bigfig { font: 500 2.6rem/1 var(--f-head); letter-spacing: -0.03em; color: var(--navy-deep); font-variant-numeric: tabular-nums; }
.k-bigfig + p { margin: 8px 0 0; font-size: 0.86rem; color: var(--ink-2); max-width: 22ch; }
.k-stackrow { display: grid; grid-template-columns: var(--lab, 150px) minmax(0, 1fr); gap: 16px; align-items: center; padding: 8px 0; font-size: 0.86rem; }
.k-stack { display: flex; height: 26px; gap: 2px; border-radius: 3px; overflow: hidden; }
.k-stack span { display: grid; place-items: center; min-width: 0; font: 600 0.74rem/1 var(--f-body); color: #fff; font-variant-numeric: tabular-nums; transition: filter var(--out); }
.k-stack span:hover { filter: brightness(1.08); transition-duration: var(--in); }

/* The tooltip: paper glass. A paired chart shows both values. */
.k-tip { position: fixed; z-index: 90; pointer-events: none; min-width: 120px; max-width: 260px; padding: 10px 12px; border: 1px solid var(--glass-edge); border-radius: var(--r); background: rgba(255, 252, 247, 0.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 16px 36px -18px rgba(var(--night-rgb), 0.5); font-size: 0.8rem; line-height: 1.45; color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity 140ms, transform 140ms; }
.k-tip.is-on { opacity: 1; transform: none; }
.k-tip b { display: block; margin-bottom: 4px; font: 600 0.8rem/1.3 var(--f-head); color: var(--navy-deep); }
.k-tip div { display: flex; justify-content: space-between; gap: 14px; font-variant-numeric: tabular-nums; }
.k-tip i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; }

/* ─── The receipt: definition, count, source, date, how it could be misread. ─── */
.k-receipt { position: fixed; z-index: 95; inset: 0; display: none; }
.k-receipt.is-open { display: block; }
.k-receipt__scrim { position: absolute; inset: 0; background: rgba(var(--night-rgb), 0.32); opacity: 0; transition: opacity var(--out); }
.k-receipt.is-in .k-receipt__scrim { opacity: 1; }
.k-receipt__sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); overflow: auto; padding: 28px 30px 36px; background: var(--paper); box-shadow: -30px 0 60px -30px rgba(var(--night-rgb), 0.5); transform: translateX(24px); opacity: 0; transition: transform var(--out) var(--spring), opacity var(--out); }
.k-receipt.is-in .k-receipt__sheet { transform: none; opacity: 1; }
.k-receipt__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.k-receipt__top .k-kick { margin: 0; }
.k-receipt__close { color: var(--navy-deep); }
.k-receipt__close:hover { background: rgba(30, 42, 74, 0.06) !important; }
.k-receipt h3 { margin: 0 0 6px; font: 600 1.2rem/1.3 var(--f-head); color: var(--navy-deep); }
.k-receipt__value { margin: 10px 0 22px; font: 500 2.6rem/1 var(--f-head); letter-spacing: -0.03em; color: var(--navy-deep); font-variant-numeric: tabular-nums; }
.k-receipt dl { margin: 0; border-top: 1px solid var(--line-2); }
.k-receipt dt { margin: 16px 0 4px; font: 600 0.7rem/1 var(--f-body); letter-spacing: 0.13em; text-transform: uppercase; color: var(--taupe); }
.k-receipt dd { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 0.92rem; line-height: 1.55; color: var(--ink); }
.k-receipt__note { margin-top: 18px; font-size: 0.82rem; color: var(--ink-3); }

/* ─── The footer: navy, the light mark, the sample said once more in full. ─── */
.k-foot { padding: 56px 0 44px; background: var(--night); color: rgba(255, 255, 255, 0.82); font-size: 0.86rem; }
.k-foot__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: start; }
.k-foot .k-brand { color: #fff; }
.k-foot ul { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
.k-foot ul a { text-decoration: none; opacity: 0.86; }
.k-foot ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.k-foot__small { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }

/* ═══ The dashboard shell: night glass side panel over the project's scenery ═══ */
.k-dash { display: grid; grid-template-columns: var(--panel-w) minmax(0, 1fr); min-height: 100svh; }
.k-field { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--cream); pointer-events: none; }
.k-field img { position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); max-width: none; object-fit: cover; filter: blur(46px) saturate(1.15); opacity: 0.26; }
.k-field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248, 246, 242, 0.2), rgba(248, 246, 242, 0.55)); }
.k-panel { position: relative; z-index: 40; display: flex; flex-direction: column; overflow: hidden; overflow: clip; /* clip, not hidden: hidden makes the panel its own scroller and its sticky column (.k-panel__in) would scroll away with the page */ color: #fff; background: var(--night); }
.k-panel__photo { position: absolute; inset: -40px; z-index: 0; }
.k-panel__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); transform: scale(1.02); }
/* the side panel's deep glass: the edition's photograph through a wash of its night, deep enough that every word holds 4.5:1 (the house side panel's, master/shared/side.css) */
.k-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(130% 34% at 0% 0%, rgba(160, 184, 220, 0.13), rgba(160, 184, 220, 0) 70%), linear-gradient(180deg, rgba(var(--night-rgb), 0.92) 0%, rgba(var(--night-rgb), 0.88) 50%, rgba(var(--night-rgb), 0.74) 80%, rgba(var(--night-rgb), 0.88) 100%); }
.k-panel::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; z-index: 2; width: 1px; background: rgba(255, 255, 255, 0.14); }
.k-panel__in { position: sticky; top: 0; z-index: 3; display: flex; flex-direction: column; gap: 18px; height: 100vh; height: 100svh; padding: 22px 16px 18px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.k-panel__home { display: inline-flex; align-items: center; gap: 10px; padding: 4px 8px; text-decoration: none; color: rgba(255, 255, 255, 0.86); font-size: 0.82rem; }
.k-panel__home img { width: auto; height: 11px; }
.k-panel__home:hover { color: #fff; }
.k-panel__home svg { width: 14px; height: 14px; }
.k-panel__name { margin: 4px 8px 0; font: 600 1.28rem/1.2 var(--f-head); letter-spacing: -0.015em; }
.k-panel__name span { display: block; margin-top: 6px; font: 400 0.8rem/1.4 var(--f-body); letter-spacing: 0; color: rgba(255, 255, 255, 0.84); }
.k-psearch { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r); background: rgba(255, 255, 255, 0.07); transition: background var(--out), border-color var(--out); }
.k-psearch:focus-within { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.34); }
.k-psearch svg { width: 15px; height: 15px; opacity: 0.7; }
.k-psearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 0.86rem; color: #fff; }
.k-psearch input::placeholder { color: rgba(255, 255, 255, 0.8); }
.k-psearch kbd { font: 500 0.7rem/1 var(--f-body); opacity: 0.6; }
.k-panel .k-sel select { width: 100%; height: 40px; border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-opacity='.8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 10px 6px; color: #fff; font-size: 0.86rem; }
.k-panel .k-sel select option { color: var(--ink); }
.k-panel /* (the chevron rule: our own thin chevron, an inline SVG 16px in from the right, 42px of room for the words, the same in every state) */
.k-pnav { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.k-pnav__group { margin: 16px 10px 6px; font: 600 0.68rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.k-pnav__group b { margin-right: 8px; font-weight: 500; color: rgba(255, 255, 255, 0.84); }
.k-pnav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r); text-decoration: none; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); transition: background var(--out), color var(--out); }
.k-pnav a svg { width: 16px; height: 16px; opacity: 0.7; }
.k-pnav a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; transition-duration: var(--in); }
.k-pnav a[aria-current="page"] { background: rgba(255, 255, 255, 0.13); color: #fff; font-weight: 600; }
.k-pnav a[aria-current="page"] svg { opacity: 1; }
.k-panel__foot { display: grid; gap: 14px; margin-top: auto; padding: 16px 8px 4px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.k-panel__foot .k-sample { color: rgba(255, 255, 255, 0.78); }
.k-panel__foot .k-signin { justify-self: start; }
.k-main { min-width: 0; }
.k-dhead { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 380px; color: #fff; background: var(--night); }
.k-dhead--deep { min-height: 300px; }
.k-dhead__photo { position: absolute; inset: 0; z-index: -2; }
.k-dhead__photo img { width: 100%; height: 100%; object-fit: cover; }
.k-dhead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--night-rgb), 0.84) 0%, rgba(var(--night-rgb), 0.58) 34%, rgba(var(--night-rgb), 0.12) 72%, rgba(var(--night-rgb), 0.06) 100%); }
.k-dhead__in { width: 100%; padding: 56px clamp(24px, 3.4vw, 52px) 132px; }
.k-dhead--deep .k-dhead__in { padding-bottom: 116px; }
.k-dtitle { margin: 0; font: 600 clamp(2.5rem, 4.4vw, 4.3rem)/1.02 var(--f-head); letter-spacing: -0.035em; text-wrap: balance; max-width: 16ch; }
.k-dline { margin: 14px 0 0; max-width: 52ch; font-size: 1.06rem; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.k-dstatus { margin: 18px 0 0; font-size: 0.82rem; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }
.k-dstatus i { display: inline-block; vertical-align: 1px; margin-right: 10px; width: 6px; height: 6px; border-radius: 50%; background: #9fd6bf; box-shadow: 0 0 0 3px rgba(159, 214, 191, 0.22); }
.k-dbody { position: relative; padding: 0 clamp(24px, 3.4vw, 52px) 72px; }
.k-dbody > .k-figs { margin-top: -88px; position: relative; z-index: 2; }
.k-read { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: baseline; margin: 44px 0 34px; padding: 0 4px; }
.k-read > b { font: 600 0.7rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }
.k-read p { margin: 0; font: italic 400 clamp(1.1rem, 1.6vw, 1.32rem)/1.55 var(--f-it); color: var(--navy-deep); max-width: 64ch; }
.k-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; margin: 40px 0 26px; padding: 16px 18px; }
.k-filters__count { margin-left: auto; font-size: 0.84rem; color: var(--ink-2); }
.k-filters__right { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; margin-left: auto; }
.k-filters--one .k-filters__right { margin-left: 0; }
.k-dsec { margin-top: 56px; }
.k-dsec > .k-sechead { margin-bottom: 22px; }
.k-dsec .k-h2 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
.k-pagelist { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.k-pagelist a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.k-pagelist a em { font-style: normal; font: 500 0.8rem/1 var(--f-head); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.k-pagelist a b { font: 600 1rem/1.3 var(--f-head); color: var(--navy-deep); }
.k-pagelist a span { grid-column: 2; font-size: 0.86rem; line-height: 1.45; color: var(--ink-2); }
.k-pagelist a svg { grid-row: 1; grid-column: 3; width: 14px; height: 14px; color: var(--ink-3); transition: transform var(--out) var(--ease); }
.k-pagelist a:hover b { color: var(--d1); }
.k-pagelist a:hover svg { transform: translateX(3px); color: var(--navy-deep); transition-duration: var(--in); }
.k-dfoot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--ink-3); }
.k-mbar { display: none; }
.k-waiting { max-width: 760px; margin: 0 0 clamp(32px, 4vw, 48px); padding: clamp(22px, 2.6vw, 32px); }
.k-waiting .k-kick { margin-bottom: 10px; color: var(--ink-2); }
.k-waiting .k-lede { color: var(--ink); }
.k-waiting__acts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; }
.k-waiting .k-act { color: var(--navy-deep); }
.k-dbody > .k-waiting { position: relative; z-index: 2; margin-top: -72px; }
/* the goals with no metric rows yet: one quiet list */
.k-goal--quiet .k-rows > li { padding: 12px 0; }
.k-goal--quiet .k-rows .k-rows__lead { font-size: 0.98rem; }

/* ─── The year: one hairline row, small numerals, no boxes. ─── */
.k-year { position: relative; display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.k-year::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--line-2); }
.k-yearwrap { position: relative; }
.k-year__done { position: absolute; z-index: 1; top: 7px; left: 0; height: 1px; background: var(--navy-deep); }
.k-year li { z-index: 2; }
.k-nw { white-space: nowrap; }
.k-year li { position: relative; padding: 30px 18px 0 0; }
.k-year li::before { content: ""; position: absolute; top: 2px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 1.5px solid var(--slate); }
.k-year li.is-done::before { background: var(--navy-deep); border-color: var(--navy-deep); }
.k-year li.is-now::before { width: 15px; height: 15px; top: 0; left: -2px; background: #fff; border: 2px solid var(--d1); box-shadow: 0 0 0 5px color-mix(in srgb, var(--d1) 14%, transparent); }
.k-year em { display: block; font: 500 0.74rem/1 var(--f-head); font-style: normal; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.k-year b { display: block; margin-top: 8px; font: 600 0.92rem/1.3 var(--f-head); color: var(--navy-deep); }
.k-year span { display: block; margin-top: 6px; font-size: 0.8rem; line-height: 1.45; color: var(--ink-3); }
.k-year li.is-now em { color: var(--d1); font-weight: 600; }
.k-year li.is-later b { color: var(--ink-2); font-weight: 500; }

/* ─── Goals against targets (the LCAP hub's one bullet chart) ─── */
.k-goal { padding: 26px 0 10px; border-top: 1px solid var(--line-2); }
.k-goal + .k-goal { margin-top: 18px; }
.k-goal__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; align-items: baseline; margin-bottom: 14px; }
.k-goal__n { font: 500 2rem/1 var(--f-head); color: var(--d1); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.k-goal__type { font: 600 0.7rem/1 var(--f-body); letter-spacing: 0.13em; text-transform: uppercase; color: var(--taupe); }
.k-goal__text { grid-column: 2; margin: 4px 0 0; font: 500 1.12rem/1.45 var(--f-head); color: var(--navy-deep); max-width: 70ch; }
.k-mrow { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.6fr) 74px 150px; gap: 20px; align-items: center; padding: 12px 0 12px 54px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.k-mrow__name { color: var(--ink); }
.k-mrow__name small { display: block; margin-top: 3px; font-size: 0.76rem; color: var(--ink-3); }
.k-mrow__val { font-weight: 600; text-align: right; color: var(--navy-deep); font-variant-numeric: tabular-nums; }
.k-mrow .k-hrow__track { height: 26px; }
.k-mrow__axis { display: flex; justify-content: space-between; padding-left: 54px; }

/* ─── School page: numbered sections, numerals as type ─── */
.k-numsec { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0 40px; padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line-2); }
.k-numsec__n { font: 300 3.2rem/1 var(--f-head); letter-spacing: -0.04em; color: var(--d1); font-variant-numeric: tabular-nums; }
.k-numsec .k-sechead { margin-bottom: 26px; }
.k-numsec .k-h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.k-statrow { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); margin-top: -72px; position: relative; z-index: 3; gap: clamp(12px, 1.2vw, 18px); }
.k-statrow .k-fig { padding: 20px; }
.k-plan { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 24px; text-decoration: none; color: inherit; }
.k-plan svg { width: 26px; height: 26px; color: var(--d1); }
.k-plan b { display: block; font: 600 1.02rem/1.3 var(--f-head); color: var(--navy-deep); }
.k-plan span { font-size: 0.86rem; color: var(--ink-2); }
.k-plan:hover b { color: var(--d1); }

/* ═══ Phones and narrow screens ═══ */
@media (max-width: 1180px) {
  .k-tabs { gap: 18px; }
  .k-nav .k-sample { display: none; }
  .k-nav .k-brand span { display: none; }
  .k-nav .k-brand .k-brand__sample { display: inline-flex; }
  .k-paths { --cols: 3 !important; }
  .k-paths .k-path:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .k-paths .k-path { border-bottom: 1px solid var(--line); }
  .k-cards { --cols: 3 !important; }
  .k-ccard--wide { grid-column: auto !important; }
  .k-mrow { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 64px; }
  .k-mrow .k-tone { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  :root { --panel-w: 0px; }
  .k-tabs, .k-nav__tools .k-signin { display: none; }
  .k-nav__menu { display: inline-flex; }
  .k-grid > [class*="k-span-"] { grid-column: span 12; }
  .k-dash { display: block; }
  .k-panel { position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); transform: translateX(-102%); transition: transform var(--out) var(--ease); box-shadow: 20px 0 50px -20px rgba(0, 0, 0, 0.5); z-index: 70; }
  .k-panel.is-open { transform: none; }
  .k-mbar { position: sticky; top: 0; z-index: 45; display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 16px; color: #fff; background: rgba(var(--night-rgb), 0.82); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
  .k-mbar b { font: 600 0.98rem/1.2 var(--f-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .k-mbar .k-sample { margin-left: auto; color: rgba(255, 255, 255, 0.78); }
  .k-mbar .k-iconbtn:hover { background: rgba(255, 255, 255, 0.1); }
  .k-cards { --cols: 2 !important; }
  .k-pagelist { --cols: 2 !important; }
  .k-statrow { --cols: 3 !important; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .k-brand span { display: none; }
  .k-nav__in { gap: 12px; }
  .k-nav__tools { gap: 4px; }
  .k-hero::before { background: linear-gradient(0deg, rgba(var(--night-rgb), 0.9) 0%, rgba(var(--night-rgb), 0.62) 46%, rgba(var(--night-rgb), 0.22) 76%, rgba(var(--night-rgb), 0.3) 100%); }
  .k-hero, .k-hero--full, .k-hero--mid { align-items: flex-end; }
  .k-hero--full { min-height: max(620px, 100svh); }
  .k-hero__in, .k-hero--full .k-hero__in { padding-top: 120px; padding-bottom: 40px; }
  .k-title { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .k-search__box { height: 54px; }
  .k-search kbd { display: none; }
  .k-sechead { grid-template-columns: 1fr; }
  .k-sechead__aside { text-align: left; }
  .k-paths { --cols: 2 !important; }
  .k-paths .k-path, .k-paths .k-path + .k-path { padding: 20px 16px 22px 0; border-left: 0; }
  .k-paths .k-path:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .k-paths .k-path span { font-size: 0.84rem; }
  .k-figs { --cols: 2 !important; }
  .k-figs > .k-fig, .k-figs > .k-fig + .k-fig { padding: 18px 14px 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .k-figs > .k-fig:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .k-figs--glass > .k-fig, .k-figs--glass > .k-fig + .k-fig, .k-figs--glass > .k-fig:nth-child(even) { padding: 16px 14px 12px; border: 1px solid var(--glass-edge); }
  .k-fig__value { font-size: 2rem; }
  .k-rows > li { grid-template-columns: 1fr !important; }
  .k-hrow { grid-template-columns: minmax(0, 1fr) 56px; gap: 4px 10px; }
  .k-hrow--axis > span:first-child, .k-hrow--axis > span:last-child { display: none; }
  .k-hrow__label { grid-column: 1; grid-row: 1; white-space: normal; }
  .k-hrow__val { grid-column: 2; grid-row: 1; }
  .k-hrow__track { grid-column: 1 / -1; grid-row: 2; }
  .k-pair, .k-pair:nth-of-type(even) { grid-template-columns: 1fr; gap: 22px; }
  .k-pair:nth-of-type(even) .k-pair__shot { order: 0; }
  .k-cards { --cols: 1 !important; gap: 28px; }
  .k-hrow { --lab: 112px !important; grid-template-columns: var(--lab) minmax(0, 1fr) 52px; gap: 10px; font-size: 0.8rem; }
  .k-stackrow { grid-template-columns: 1fr; gap: 6px; }
  .k-waffle-wrap { grid-template-columns: auto minmax(0, 1fr); gap: 18px; }
  .k-waffle { max-width: 170px !important; justify-self: end; width: 100%; }
  .k-bigfig { font-size: 2.1rem; }
  .k-dhead { min-height: 330px; }
  .k-dhead__in { padding: 36px 20px 112px; }
  .k-dbody { padding: 0 16px 56px; }
  .k-dbody > .k-figs { margin-top: -84px; }
  .k-pagelist { --cols: 1 !important; }
  .k-year { grid-template-columns: 1fr; }
  .k-year::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .k-year__done { display: none; }
  .k-year li { padding: 0 0 22px 32px; }
  .k-year li::before { top: 1px; }
  .k-year li.is-now::before { left: -2px; }
  .k-mrow { grid-template-columns: 1fr 60px; padding-left: 0; gap: 8px 12px; }
  .k-mrow .k-hrow__track { grid-column: 1 / -1; grid-row: 2; }
  .k-mrow__axis { padding-left: 0; }
  .k-goal__head { grid-template-columns: 1fr; }
  .k-goal__text { grid-column: 1; }
  .k-numsec { grid-template-columns: 1fr; }
  .k-numsec__n { font-size: 2.2rem; margin-bottom: 14px; }
  .k-statrow { --cols: 2 !important; margin-top: -56px; }
  .k-foot__in { grid-template-columns: 1fr; }
  .k-filters__count { margin-left: 0; width: 100%; }
  .k-filters .k-sel { flex: 1 1 140px; }
  .k-filters .k-sel select { width: 100%; }
  .k-read { grid-template-columns: 1fr; gap: 8px; }
  .k-matrix { font-size: 0.78rem; border-spacing: 2px; }
  .k-matrix td { padding: 9px 4px; }
  .k-matrix th { padding: 4px; font-size: 0.66rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
@media print {
  .k-nav, .k-panel, .k-mbar, .k-field, .k-hero__photo, .k-band__photo, .k-dhead__photo { display: none !important; }
  .k-hero, .k-band, .k-dhead { background: #fff !important; color: var(--navy-deep) !important; }
  .k-hero::before, .k-band::before, .k-dhead::before { display: none; }
  .k-title, .k-dtitle, .k-hero__line, .k-dline { color: var(--navy-deep) !important; }
  .k-main { margin: 0; }
  .k-glass, .k-figs--glass > .k-fig { background: #fff !important; backdrop-filter: none !important; box-shadow: none !important; border-color: var(--line-2) !important; }
}

/* ─── The district home in the kit v6 register (the report frame, master/system/frame.css, and the deck's cover): the photograph clear
   and bright with no wash across it, the opening words on one light frosted plate in navy ink, linen below, every figure in serif
   italic. The home only (body[data-template="home"]); every other page keeps its own. ─── */
body[data-template="home"] { background: #f6f2ea; }
body[data-template="home"] .k-section--paper { background: #fbf9f4; }
.k-hero--plate::before { background: linear-gradient(180deg, rgba(var(--night-rgb), 0.3) 0%, rgba(var(--night-rgb), 0) 18%); }
.k-hero--plate .k-hero__photo img { filter: none; }
.k-hero--plate .k-hero__copy {
  width: fit-content; max-width: min(100%, 720px); padding: clamp(28px, 3.2vw, 44px) clamp(24px, 3.4vw, 48px) clamp(26px, 3vw, 40px); border-radius: var(--r);
  color: var(--navy-deep); background: linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(251, 249, 244, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.8); border-bottom-color: rgba(14, 63, 91, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 2px 4px rgba(12, 36, 48, 0.04), 0 44px 80px -48px rgba(12, 36, 48, 0.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3);
}
.k-hero--plate .k-hero__eyebrow { color: #3f6178; letter-spacing: 0.26em; }
.k-hero--plate .k-title { color: var(--navy-deep); }
.k-hero--plate .k-hero__line { color: var(--ink-2); }
.k-hero--plate .k-search { margin-top: 28px; }
.k-hero--plate .k-search__box { border-color: var(--line-2); background: #fffdf9; box-shadow: none; }
.k-hero--plate .k-search__box:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--d1) 16%, transparent); }
.k-hero--plate .k-quick { color: var(--ink-3); }
.k-hero--plate .k-quick button { color: var(--navy-deep); }
.k-hero--plate .k-act { color: var(--navy-deep); }
/* a featured page's still (previews/<id>.webp, 1200 x 630) shows whole past the page's 256px side panel: its headline and its row of figures */
body[data-template="home"] .k-pair__shot { aspect-ratio: 944 / 630; }
body[data-template="home"] .k-pair__shot img[src*="previews/"] { object-position: 100% 0; }
body[data-template="home"] .k-fig__value { font-family: var(--f-it); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
body[data-template="home"] .k-rows .k-rows__lead b { font-family: var(--f-it); font-style: italic; font-weight: 400; color: var(--navy-deep); }
body[data-template="home"] .k-figs, body[data-template="home"] .k-rows { border-top-color: rgba(176, 138, 62, 0.26); }
body[data-template="home"] .k-figs > .k-fig + .k-fig, body[data-template="home"] .k-figs, body[data-template="home"] .k-rows > li { border-color: rgba(176, 138, 62, 0.16); }
/* two paths to a row on a phone: an odd last one takes the row, so no cell stands empty beside it; on the plate the search keeps
   room for its short hint (data-short) to read whole */
@media (max-width: 720px) {
  .k-hero--plate .k-hero__copy { padding: 26px 18px 22px; }
  .k-hero--plate .k-search__box { gap: 10px; padding: 0 12px 0 14px; }
  .k-hero--plate .k-search input { font-size: 0.96rem; }
  body[data-template="home"] .k-paths .k-path:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
