/* Kara Heinrich's look over the Karst chart library: her sage, slate, sand and lavender (../assets/brand.css),
   Instrument Sans with Instrument Serif italic, light paper ground, no red in any role. Loaded last. */
@font-face { font-family: "Instrument Serif"; src: url("../assets/fonts/instrument-serif-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url("../assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; src: url("../assets/fonts/instrument-sans-latin-400-700.woff2") format("woff2"); font-display: swap; }
:root {
  --k-chart-1:#4f6b59;   /* deep sage leads */
  --k-chart-2:#3e5f80;   /* slate */
  --k-chart-3:#7f9d87;   /* sage */
  --k-chart-4:#6d6894;   /* lavender */
  --k-chart-5:#2f4537;   /* forest */
  --k-chart-6:#9a7b55;   /* deep sand */
  --k-chart-7:#6f93b5;   /* light slate */
  --k-chart-8:#6b7268;   /* muted */
  --k-chart-emphasis:#3e5f80; --k-chart-emphasis-ink:#3e5f80;
  --k-chart-plan:#2f4537; --k-chart-figure:#2f4537;
  --k-chart-context:#b5c8b6;
  --k-chart-good:#2f4537;
  --k-chart-bad:#6d6894;  /* lavender, never red */
  --k-chart-seq-lo:#e3ebe1; --k-chart-seq-hi:#2f4537;
  --k-ink:#1f2522;
  --k-f-ui:"Instrument Sans",system-ui,sans-serif;
  --k-f-figure:"Instrument Sans",system-ui,sans-serif;
  --k-f-wordmark:"Instrument Sans",system-ui,sans-serif;
  --k-f-turn:"Instrument Serif",Georgia,serif;
}
html, body { background:#fcfaf6; color:#1f2522; font-family:"Instrument Sans",system-ui,sans-serif; margin:0; }
.kara-top { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px clamp(16px,5vw,64px); border-bottom:1px solid rgba(47,69,55,.12); }
.kara-top a { color:#2f4537; text-decoration:none; font-weight:600; }
.kara-top a:focus-visible, .kara-back:focus-visible { outline:2px solid #3e5f80; outline-offset:3px; }
.kara-head { padding:clamp(28px,5vw,64px) clamp(16px,5vw,64px) 8px; max-width:960px; }
.kara-head .eyebrow { font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:#4f6b59; font-weight:600; margin:0 0 10px; }
.kara-head h1 { font-weight:500; font-size:clamp(32px,5vw,56px); line-height:1.05; margin:0 0 14px; color:#1f2522; }
.kara-head h1 .turn { font-family:"Instrument Serif",Georgia,serif; font-style:italic; font-weight:400; color:#4f6b59; }
.kara-head p { color:#4a524c; font-size:17px; line-height:1.6; margin:0; }
#gallery { padding:16px clamp(16px,5vw,64px) 64px; }
.kara-foot { padding:24px clamp(16px,5vw,64px) 40px; color:#6b7268; font-size:13px; border-top:1px solid rgba(47,69,55,.12); }
/* the chart groups as her quiet segments */
.kg-bar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.segs { display:flex; flex-wrap:wrap; gap:6px; }
.seg { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border:1px solid rgba(47,69,55,.18); border-radius:999px; background:rgba(255,255,255,.7); color:#2f4537; font:500 14px/1 "Instrument Sans",system-ui,sans-serif; cursor:pointer; transition:background .2s, color .2s; }
.seg:hover { background:#e3ebe1; }
.seg[aria-checked="true"] { background:#2f4537; border-color:#2f4537; color:#fff; }
.seg:focus-visible { outline:2px solid #3e5f80; outline-offset:2px; }
.seg-n { font-size:12px; opacity:.7; }
@media (prefers-reduced-motion: reduce) { .seg { transition:none; } }

/* the kit app shell locks the page to the window above 768px; this is a plain scrolling page */
html, body { height:auto; overflow:visible; }
