/* ==========================================================================
   Biotova · site.css
   One stylesheet for index.html, tests.html, sampling.html, contact.html.

   Structure
   - Every page is a stack of full-width bands: .bt-band plus a tone modifier
     (--deep, --mist, --navy). Seafoam ground is the default tone.
   - Inside every band sits .bt-grid, a 12 column grid whose column lines are
     drawn by the band itself, so the grid stays exposed behind the content.
   - .bt-band__num holds the oversized slab numeral (columns 1-3), shown whole
     inside its band. .bt-band__body holds content (columns 4-12).
     .bt-band__full spans all twelve columns.
   - Motion is limited to horizontal snap strips (.bt-strip), the filter
     transition on tests.html and the mobile menu. No scroll reveals.
   - Nothing is hidden in the resting state. Script only adds polish.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ground: #DDEFE7;
  --deep: #BCDCCF;
  --mist: #EEF6F2;
  --navy: #14284B;
  --text: #14284B;
  --muted: #4A6273;
  --line: #2C4466;
  --coral: #E0533D;

  --f-display: Rockwell, 'Rockwell Nova', 'Roboto Slab', 'American Typewriter', 'DejaVu Serif', Georgia, serif;
  --f-body: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', 'Segoe UI', sans-serif;
  --f-mono: ui-monospace, 'SF Mono', Consolas, 'DejaVu Sans Mono', monospace;

  --fs-label: 0.75rem;
  --fs-small: 0.875rem;
  --fs-ui: 1rem;
  --fs-body: 1.125rem;
  --fs-lead: 1.375rem;
  --fs-h1: clamp(2.5rem, 1.386rem + 4.571vw, 5.5rem);
  --fs-h1-page: clamp(2.5rem, 1.8rem + 2.9vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 1.471rem + 1.143vw, 2.5rem);
  --fs-price: clamp(1.75rem, 1.471rem + 1.143vw, 2.5rem);
  --fs-num: clamp(6rem, 4.143rem + 7.619vw, 11rem);

  --max: 1440px;
  --pad: clamp(1rem, 2.4vw, 2.5rem);
  --gut: clamp(0.75rem, 1.15vw, 1.25rem);
  --mast-h: 64px;
  --measure: 64ch;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 759.98px) {
  :root { --mast-h: 56px; }
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--mast-h) + 1.25rem);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; overflow-wrap: anywhere; }
p, li, dd, dt { overflow-wrap: anywhere; }
p { text-wrap: pretty; }

img, svg { max-width: 100%; }
svg { height: auto; }
[hidden] { display: none !important; }

a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--navy); color: var(--ground); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.bt-skip {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--navy);
  color: var(--ground);
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.bt-skip:focus { top: 0.75rem; }

.bt-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Links ---------- */
.bt-band a:not([class]),
.bt-hero a:not([class]),
.bt-prose a,
.bt-foot a:not([class]) {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color .2s ease, text-decoration-thickness .2s ease;
}
.bt-band a:not([class]):hover,
.bt-hero a:not([class]):hover,
.bt-prose a:hover,
.bt-foot a:not([class]):hover {
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
}

/* Inline link with a sliding arrow: <a class="bt-link">Text <svg class="bt-link__arrow"></svg></a> */
.bt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: var(--fs-ui);
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color .2s ease;
}
.bt-link__arrow {
  width: 100%;
  max-width: 1rem;
  flex: 0 0 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform .25s var(--ease);
}
.bt-link:hover { text-decoration-color: var(--coral); }
.bt-link:hover .bt-link__arrow { transform: translateX(4px); }

/* Button that hugs its text */
.bt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: auto;
  padding: 0.85rem 1.35rem 0.8rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: var(--f-body);
  font-size: var(--fs-ui);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.bt-btn:hover { background: var(--navy); color: var(--ground); border-color: var(--navy); }
.bt-band--navy .bt-btn:hover { background: var(--ground); color: var(--navy); border-color: var(--ground); }

/* ---------- Type roles ---------- */
.bt-h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.bt-h1--page { font-size: var(--fs-h1-page); line-height: 1; }

.bt-h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 24ch;
}
.bt-h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-lead);
  line-height: 1.2;
}

.bt-kicker,
.bt-label {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--band-muted, var(--muted));
}
.bt-kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.9rem; }
.bt-kicker__n { color: var(--band-fg, var(--text)); }

.bt-lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  max-width: 48ch;
}
.bt-help {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--band-muted, var(--muted));
  max-width: 60ch;
}
.bt-mono {
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.bt-prose > * + * { margin-top: 1em; }
.bt-prose p, .bt-prose li { max-width: var(--measure); }
.bt-prose h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-lead);
  line-height: 1.2;
  margin-top: 2.25rem;
}
.bt-prose h3:first-child { margin-top: 0; }
.bt-prose ul, .bt-prose ol { padding-left: 1.2em; }
.bt-prose li + li { margin-top: 0.4em; }
.bt-prose strong { font-weight: 600; }

/* Badge: a state or fact, set as a small ruled tag */
.bt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.55rem 0.24rem;
  border: 1px solid var(--band-rule, var(--line));
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
  white-space: nowrap;
}
.bt-badge--solid { background: var(--band-fg, var(--navy)); color: var(--band-bg, var(--ground)); border-color: var(--band-fg, var(--navy)); }
.bt-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Masthead ---------- */
.bt-mast {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.bt-mast__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  min-height: var(--mast-h);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
}
.bt-wordmark {
  grid-column: 1 / 4;
  padding-inline: var(--gut);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: start;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.18em;
  color: inherit;
  text-decoration: none;
}
/* Small core glyph before the wordmark: an outlined tube, hatched topsoil */
.bt-wordmark__mark {
  display: inline-block;
  width: 0.62rem;
  height: 1.15rem;
  border: 1.5px solid currentColor;
  background:
    repeating-linear-gradient(135deg, currentColor 0 1px, transparent 1px 3px) top / 100% 62% no-repeat;
}
.bt-menu-toggle { display: none; }

.bt-nav { grid-column: 4 / -1; min-width: 0; padding-inline: var(--gut); }
.bt-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}
.bt-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem clamp(1.25rem, 2.4vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.bt-nav__link {
  display: inline-block;
  padding-block: 0.4rem;
  font-size: var(--fs-ui);
  font-weight: 500;
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
  transition: text-decoration-color .2s ease;
}
.bt-nav__link:hover { text-decoration-color: var(--coral); }
.bt-nav__link[aria-current="page"] { text-decoration-color: var(--navy); }
.bt-nav__link[aria-current="page"]:hover { text-decoration-color: var(--coral); }
.bt-mast__meta {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 1023.98px) and (min-width: 760px) {
  .bt-mast__meta { display: none; }
}

@media (max-width: 759.98px) {
  .bt-mast__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.6rem;
    gap: 0.4rem 1rem;
  }
  .bt-wordmark { padding-inline: 0; font-size: 1.3rem; }
  .bt-nav { flex: 1 1 100%; padding-inline: 0; }
  .bt-nav__inner { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .bt-nav__list { gap: 0.1rem 1.25rem; }

  /* With script running, the links fold behind the Menu toggle */
  .js .bt-mast__inner { flex-wrap: nowrap; height: var(--mast-h); padding-block: 0; }
  .js .bt-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    font-family: var(--f-mono);
    font-size: var(--fs-label);
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .bt-menu-toggle__bars {
    position: relative;
    width: 1rem;
    height: 9px;
  }
  .bt-menu-toggle__bars::before,
  .bt-menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 1.5px;
    background: currentColor;
    transition: transform .3s var(--ease), top .3s var(--ease);
  }
  .bt-menu-toggle__bars::before { top: 0; }
  .bt-menu-toggle__bars::after { top: 7.5px; }
  .bt-mast.is-open .bt-menu-toggle__bars::before { top: 3.75px; transform: rotate(45deg); }
  .bt-mast.is-open .bt-menu-toggle__bars::after { top: 3.75px; transform: rotate(-45deg); }

  .js .bt-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--ground);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .34s var(--ease), visibility 0s linear .34s;
  }
  .js .bt-mast.is-open .bt-nav {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows .34s var(--ease), visibility 0s linear 0s;
  }
  .js .bt-nav__inner { overflow: hidden; min-height: 0; gap: 0; align-items: stretch; }
  .js .bt-nav__list { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .js .bt-nav__list li { border-top: 1px solid rgba(44, 68, 102, .25); }
  .js .bt-nav__list li:first-child { border-top: 0; }
  .js .bt-nav__link {
    display: block;
    padding: 0.95rem var(--pad);
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 1.375rem;
    transition: text-decoration-color .2s ease;
  }
  .js .bt-mast__meta { padding: 0.9rem var(--pad) 1.1rem; border-top: 1px solid var(--line); }
}

/* ---------- Bands and the exposed grid ---------- */
.bt-band,
.bt-hero {
  --band-bg: var(--ground);
  --band-fg: var(--text);
  --band-muted: var(--muted);
  --band-rule: var(--line);
  --band-col: rgba(44, 68, 102, .13);
  --band-num: #C1DED1;
  position: relative;
  background: var(--band-bg);
  color: var(--band-fg);
}

.bt-band {
  --band-pt: clamp(3rem, 5.6vw, 6.5rem);
  --band-pb: clamp(3.5rem, 7vw, 8rem);
  padding-top: var(--band-pt);
  padding-bottom: var(--band-pb);
  border-top: 1px solid var(--line);
  overflow: hidden;
  overflow: clip;
}
.bt-band--tight { --band-pt: clamp(2.5rem, 4vw, 4.5rem); --band-pb: clamp(3rem, 5vw, 5.5rem); }
.bt-band--roomy { --band-pt: clamp(3.5rem, 7vw, 8.5rem); --band-pb: clamp(4.5rem, 9vw, 10rem); }

.bt-band--deep {
  --band-bg: var(--deep);
  --band-muted: #3B5365;
  --band-col: rgba(44, 68, 102, .17);
  --band-num: #9FC8B7;
}
.bt-band--mist {
  --band-bg: var(--mist);
  --band-col: rgba(44, 68, 102, .11);
  --band-num: #D2E7DD;
}
.bt-band--navy {
  --band-bg: var(--navy);
  --band-fg: var(--ground);
  --band-muted: #A8C1CB;
  --band-rule: rgba(221, 239, 231, .4);
  --band-col: rgba(221, 239, 231, .085);
  --band-num: #21416F;
}
.bt-band--navy ::selection { background: var(--ground); color: var(--navy); }
.bt-band--closure { border-top: 3px solid var(--coral); }

/* The visible column lines: twelve tracks plus a closing line */
.bt-band::before,
.bt-hero::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
  background-image:
    linear-gradient(to right, var(--band-col) 0 1px, transparent 1px),
    linear-gradient(to left, var(--band-col) 0 1px, transparent 1px);
  background-size: calc(100% / 12) 100%, 100% 100%;
  background-repeat: repeat-x, no-repeat;
  background-origin: content-box;
  background-clip: content-box;
  pointer-events: none;
  z-index: 0;
}

.bt-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}
.bt-grid > * { min-width: 0; }

.bt-band__num {
  grid-column: 1 / 4;
  grid-row: 1 / span 6;
  padding-inline: var(--gut);
  pointer-events: none;
  user-select: none;
}
.bt-num {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-num);
  line-height: 0.74;
  letter-spacing: -0.04em;
  color: var(--band-num);
  font-variant-numeric: lining-nums;
}
.bt-band__body { grid-column: 4 / -1; padding-inline: var(--gut); }
.bt-band__full { grid-column: 1 / -1; padding-inline: var(--gut); }

.bt-band__head { display: grid; gap: 1rem; max-width: 60rem; }
.bt-band__head .bt-lead { margin-top: 0.4rem; }
.bt-band__head + * { margin-top: clamp(2rem, 4vw, 3.5rem); }
.bt-band__foot { margin-top: clamp(2rem, 3.5vw, 3rem); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }

.bt-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 4rem);
}
.bt-cols > * { min-width: 0; }

.bt-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  align-items: start;
}
.bt-split > * { min-width: 0; }
.bt-split__aside { position: sticky; top: calc(var(--mast-h) + 5rem); }

@media (max-width: 1023.98px) {
  .bt-split { grid-template-columns: minmax(0, 1fr); }
  .bt-split__aside { position: static; max-width: 34rem; }
}

@media (max-width: 759.98px) {
  .bt-band::before,
  .bt-hero::before { background-size: calc(100% / 4) 100%, 100% 100%; }
  .bt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bt-band__num,
  .bt-band__body,
  .bt-band__full { grid-column: 1 / -1; grid-row: auto; }
  /* On a phone the section kicker carries the number; the large numeral would only
     sit above the content as a half seen shape. */
  .bt-band__num { display: none; }
  .bt-cols { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Technical drawings: shared line language ---------- */
.bt-fig {
  position: relative;
  margin: 0;
  padding: 2.4rem clamp(0.9rem, 1.6vw, 1.5rem) 1rem;
  border: 1px solid var(--band-rule);
  background: var(--band-bg);
  color: var(--band-fg);
}
.bt-fig__tag,
.bt-fig__scale {
  position: absolute;
  top: 0.75rem;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--band-muted);
}
.bt-fig__tag { left: clamp(0.9rem, 1.6vw, 1.5rem); }
.bt-fig__scale { right: clamp(0.9rem, 1.6vw, 1.5rem); }
.bt-fig__cap {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--band-rule);
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--band-muted);
}

.bt-draw {
  display: block;
  width: 100%;
  height: auto;
  color: inherit;
  overflow: visible;
}
.bt-draw__ln {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.bt-draw__ln--fine { stroke-width: 0.75; }
.bt-draw__ln--bold { stroke-width: 1.75; }
.bt-draw__ln--faint { stroke-opacity: 0.45; }
.bt-draw__ln--dash { stroke-dasharray: 3 3; }
.bt-draw__ln--coral { stroke: var(--coral); stroke-width: 1.75; }
.bt-draw__fill { fill: currentColor; stroke: none; }
.bt-draw__ground { fill: var(--band-bg); }
.bt-draw__txt {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  fill: currentColor;
}
.bt-draw__txt--caps { font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.bt-draw__txt--big { font-size: 13px; }
.bt-draw__txt--end { text-anchor: end; }
.bt-draw__txt--mid { text-anchor: middle; }
.bt-draw__txt--muted { fill: var(--band-muted); }

/* ---------- Hero, Band 00 ---------- */
.bt-hero {
  display: flex;
  flex-direction: column;
  min-height: min(calc(100svh - var(--mast-h)), 980px);
}
.bt-hero__grid {
  flex: 1 1 auto;
  align-items: center;
  padding-block: clamp(2.25rem, 4.6vw, 4.5rem) clamp(2rem, 3.6vw, 3.25rem);
}
.bt-hero__text {
  grid-column: 1 / 8;
  padding-inline: var(--gut);
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.75rem);
  align-content: center;
}
.bt-hero__text .bt-h1 { max-width: 13ch; }
.bt-hero__text .bt-lead { max-width: 34ch; }
.bt-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 0.5rem; }

.bt-hero__figure {
  grid-column: 8 / -1;
  margin-inline: var(--gut);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bt-core__svg--bench { display: block; max-height: 8rem; }

/* Home opening: the navy band tone, the title across the full width, and the
   core laid flat on the bench under it, so the five steps follow straight on */
.bt-home .bt-mast {
  --ground: #14284B;
  --text: #DDEFE7;
  --muted: #A8C1CB;
  --line: rgba(221, 239, 231, .4);
  --navy: #DDEFE7;
  color: var(--text);
}
.bt-home .bt-hero {
  --band-bg: var(--navy);
  --band-fg: var(--ground);
  --band-muted: #A8C1CB;
  --band-rule: rgba(221, 239, 231, .4);
  --band-col: rgba(221, 239, 231, .085);
  --band-num: #21416F;
}
.bt-home .bt-hero ::selection { background: var(--ground); color: var(--navy); }
.bt-home .bt-steps { color: var(--text); }
@media (min-width: 760px) {
  .bt-home .bt-hero__text { grid-column: 1 / -1; }
  .bt-home .bt-hero__text .bt-h1 { max-width: 22ch; }
  .bt-home .bt-hero__figure { grid-column: 1 / -1; margin-top: clamp(1rem, 2vw, 1.75rem); }
  .bt-home .bt-hero__figure .bt-core__svg--bench { max-height: 18rem; }
}
@media (min-width: 1000px) {
  .bt-home .bt-hero__grid { row-gap: clamp(1rem, 1.6vw, 1.5rem); padding-block: clamp(1.75rem, 3vw, 3rem) clamp(1.5rem, 2.4vw, 2.25rem); }
  .bt-home .bt-hero__text > .bt-h1 { font-size: clamp(2.5rem, 1.1rem + 4vw, 5rem); }
  .bt-home .bt-hero__figure .bt-core__svg--bench { max-height: 13.5rem; }
  .bt-home .bt-hero__text { display: contents; }
  .bt-home .bt-hero__text > * { padding-inline: var(--gut); }
  .bt-home .bt-hero__text > .bt-kicker { grid-column: 1 / -1; grid-row: 1; }
  .bt-home .bt-hero__text > .bt-h1 { grid-column: 1 / -1; grid-row: 2; }
  .bt-home .bt-hero__text > .bt-lead { grid-column: 9 / -1; grid-row: 3; align-self: end; }
  .bt-home .bt-hero__text > .bt-hero__actions { grid-column: 9 / -1; grid-row: 4; align-self: start; }
  .bt-home .bt-hero__figure { grid-column: 1 / 9; grid-row: 3 / 5; margin-top: 0; }
}

.bt-steps {
  position: relative;
  z-index: 1;
  background: var(--deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bt-steps__list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.bt-step {
  min-width: 0;
  border-left: 1px solid var(--line);
}
.bt-step:last-child { border-right: 1px solid var(--line); }
.bt-step__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "num day" "name name";
  align-items: start;
  gap: 0.55rem 0.75rem;
  height: 100%;
  padding: clamp(1rem, 1.6vw, 1.4rem) var(--gut) clamp(1.1rem, 1.8vw, 1.5rem);
  color: inherit;
  text-decoration: none;
}
.bt-step__num {
  grid-area: num;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 1rem + 3vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--line);
  transition: color .2s ease;
}
.bt-step__name {
  grid-area: name;
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.2;
}
.bt-step__day {
  grid-area: day;
  padding-top: 0.35rem;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3B5365;
  white-space: nowrap;
}
.bt-step__link:hover .bt-step__num { color: var(--navy); }

@media (max-width: 1099.98px) and (min-width: 760px) {
  .bt-step__link { grid-template-areas: "num" "day" "name"; grid-template-columns: minmax(0, 1fr); }
  .bt-step__day { padding-top: 0; }
}

@media (max-width: 759.98px) {
  .bt-hero { min-height: 0; }
  .bt-hero__grid { padding-block: 1.6rem 1.25rem; }
  .bt-hero__text,
  .bt-hero__figure { grid-column: 1 / -1; }
  .bt-hero__text { gap: 0.9rem; }
  .bt-hero__text .bt-h1 { max-width: none; }
  .bt-hero__text .bt-lead { font-size: var(--fs-body); }
  .bt-hero__figure { margin-top: 1.25rem; padding: 1.9rem 0.75rem 0.6rem; }
  .bt-hero__figure .bt-fig__cap { display: none; }
  .bt-core__svg--bench { display: block; max-height: 8rem; }

  .bt-steps__list { grid-template-columns: minmax(0, 1fr); }
  .bt-step { border-left: 0; border-top: 1px solid var(--line); }
  .bt-step:first-child { border-top: 0; }
  .bt-step:last-child { border-right: 0; }
  .bt-step__link {
    grid-template-columns: 2.9rem minmax(0, 1fr) auto;
    grid-template-areas: "num name day";
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem var(--gut);
  }
  .bt-step__num { font-size: 2rem; }
  .bt-step__name { font-size: 1.125rem; }
  .bt-step__day { padding-top: 0; }
}

/* ---------- Band 01: how a job runs, five ruled rows ---------- */
.bt-job {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--band-rule);
}
.bt-job__row {
  display: grid;
  grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem clamp(1.5rem, 3vw, 3.25rem);
  padding-block: clamp(1.6rem, 2.6vw, 2.4rem) clamp(1.8rem, 3vw, 2.75rem);
  border-top: 1px solid var(--band-rule);
}
.bt-job__head {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.6rem;
}
.bt-job__num {
  font-family: var(--f-display);
  font-size: 2.25rem;
  line-height: 0.9;
  color: var(--band-muted);
  transition: color .2s ease;
}
.bt-job__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-lead);
  line-height: 1.15;
}
.bt-job__col { min-width: 0; }
.bt-job__col .bt-label { margin-bottom: 0.55rem; }
.bt-job__col p { max-width: 46ch; }
.bt-job__col p + p { margin-top: 0.75em; }
.bt-job__row:hover .bt-job__num { color: var(--band-fg); }

@media (max-width: 1099.98px) {
  .bt-job__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-job__head { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 0.5rem 1rem; }
}
@media (max-width: 759.98px) {
  .bt-job__row { grid-template-columns: minmax(0, 1fr); }
  .bt-job__head { grid-template-columns: auto 1fr; }
  .bt-job__head .bt-badge { grid-column: 1 / -1; justify-self: start; }
}

/* Report excerpt with a margin note, used to show what comes back */
.bt-report {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
  gap: 0 1.5rem;
  margin: 0;
}
.bt-report__sheet {
  border: 1px solid var(--band-rule);
  background: var(--mist);
  color: var(--text);
  padding: 1.25rem 1.4rem 1.4rem;
  min-width: 0;
}
.bt-report__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  margin-bottom: 0.4rem;
  border-bottom: 2px solid var(--line);
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bt-report__note {
  align-self: center;
  position: relative;
  padding-left: 1.25rem;
  border-left: 1px solid var(--band-rule);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.45;
}
.bt-tablewrap { overflow-x: auto; max-width: 100%; }
.bt-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
}
.bt-table th, .bt-table td {
  text-align: left;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px dotted var(--line);
  white-space: nowrap;
}
.bt-table th {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 759.98px) {
  .bt-table th, .bt-table td { white-space: normal; padding-right: 0.5rem; }
  .bt-table td:nth-child(2), .bt-table th:nth-child(2) { white-space: nowrap; }
  .bt-report { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .bt-report__note { padding-left: 1rem; }
}

/* ---------- Snap strips: the site's one kind of motion ---------- */
.bt-strip { margin-top: clamp(1.75rem, 3vw, 2.75rem); }
.bt-strip__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-bottom: 0.9rem;
}
.bt-strip__hint {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--band-muted);
}
.bt-strip__nav { display: flex; align-items: center; gap: 1.1rem; }
html:not(.js) .bt-strip__nav { display: none; }
.bt-strip__counter {
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  min-width: 4.5ch;
  text-align: right;
}
.bt-strip__controls { display: flex; }
.bt-strip__btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.85rem;
  border: 1px solid var(--band-rule);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.bt-strip__btn + .bt-strip__btn { border-left: 0; }
.bt-strip__btn svg {
  width: 100%;
  max-width: 1rem;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.bt-strip__btn:hover:not(:disabled) { background: var(--band-fg); color: var(--band-bg); }
.bt-strip__btn:disabled { cursor: default; color: var(--band-muted); opacity: 0.55; }

.bt-strip__track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--band-rule) transparent;
  border-top: 1px solid var(--band-rule);
  border-bottom: 1px solid var(--band-rule);
  border-left: 1px solid var(--band-rule);
}
.bt-strip__track:focus-visible { outline-offset: 4px; }
.bt-strip__card {
  position: relative;
  flex: 0 0 min(320px, 84%);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.1rem, 1.6vw, 1.5rem) clamp(1rem, 1.5vw, 1.4rem) clamp(1.4rem, 2vw, 1.75rem);
  border-right: 1px solid var(--band-rule);
  background: var(--band-bg);
  min-width: 0;
}
.bt-strip__card::after {
  content: "";
  position: absolute;
  left: -1px; right: 0; bottom: -1px;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.bt-strip__card.is-current::after { transform: scaleX(1); }
.bt-strip--days .bt-strip__card { flex-basis: min(288px, 82%); }
.bt-strip--texture .bt-strip__card { flex-basis: min(300px, 82%); }

@media (prefers-reduced-motion: no-preference) {
  .bt-strip__track { scroll-behavior: smooth; }
}

/* Sample card, index Band 02 */
.bt-sample__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--band-rule);
}
.bt-sample__id {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bt-sample__date {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  color: var(--band-muted);
  white-space: nowrap;
}
.bt-sample__place {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-lead);
  line-height: 1.1;
}
.bt-sample__crop { font-size: var(--fs-ui); line-height: 1.4; color: var(--band-muted); margin-top: -0.5rem; }

.bt-chip {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  align-items: center;
}
.bt-chip__swatch {
  grid-row: 1 / span 2;
  width: 3rem;
  aspect-ratio: 1;
  padding: 3px;
  border: 1px solid var(--band-rule);
  background: var(--chip, #5A4632);
  background-clip: content-box;
}
.bt-chip__name {
  align-self: end;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
}
.bt-chip__code {
  align-self: start;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  color: var(--band-muted);
}

.bt-readings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  margin: 0;
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
  border-top: 1px solid var(--band-rule);
}
.bt-readings > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.38rem 0;
  border-bottom: 1px dotted var(--band-rule);
  min-width: 0;
}
.bt-readings dt { color: var(--band-muted); }
.bt-readings dd { margin: 0; text-align: right; }

.bt-sample__rec {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--band-rule);
  font-size: var(--fs-ui);
  line-height: 1.45;
}
.bt-sample__rec .bt-label { display: block; margin-bottom: 0.3rem; }

/* Day card, tests.html compost strip */
.bt-day__mark {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--band-rule);
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bt-day__mark span:last-child { color: var(--band-muted); }
.bt-day__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.15;
}
.bt-day__fig { margin: 0; padding: 0.5rem 0; border-bottom: 1px dotted var(--band-rule); }
.bt-day__fig .bt-draw { max-height: 7.5rem; }
.bt-day__text { font-size: var(--fs-ui); line-height: 1.5; }

/* Texture card, sampling.html Band 04 */
.bt-texture__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-lead);
  line-height: 1.1;
}
.bt-texture__ribbon { margin: 0; padding: 0.6rem 0 0.4rem; border-block: 1px dotted var(--band-rule); }
.bt-texture__ribbon .bt-draw { max-height: 8rem; }
.bt-texture__len {
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
}
.bt-texture__feel { font-size: var(--fs-ui); line-height: 1.5; }

/* ---------- Price cells, index Band 03 ---------- */
.bt-cells {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border: 1px solid var(--band-rule);
}
.bt-cell {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.3rem, 2.2vw, 2.1rem);
  border-left: 1px solid var(--band-rule);
  background: var(--band-bg);
  min-width: 0;
}
.bt-cell:first-child { border-left: 0; }
.bt-cell__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-lead);
  line-height: 1.15;
}
.bt-cell__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3rem 0.75rem; }
.bt-cell__fig,
.bt-price__fig {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-price);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums tabular-nums;
}
.bt-cell__per,
.bt-price__per {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--band-muted);
}
.bt-cell__text { font-size: var(--fs-ui); line-height: 1.5; }
.bt-cell__foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--band-rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem 1rem;
}
@media (max-width: 899.98px) {
  .bt-cells { grid-template-columns: minmax(0, 1fr); }
  .bt-cell { border-left: 0; border-top: 1px solid var(--band-rule); }
  .bt-cell:first-child { border-top: 0; }
}

/* ---------- Tests page: filter tabs ---------- */
.bt-tabsbar {
  position: sticky;
  top: var(--mast-h);
  z-index: 30;
  background: var(--ground);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
html:not(.js) .bt-tabsbar { display: none; }
.bt-tabsbar__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
}
.bt-tabsbar__label {
  grid-column: 1 / 4;
  padding-inline: var(--gut);
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.bt-tabs {
  grid-column: 4 / -1;
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-inline: calc(var(--gut) - 1rem) var(--gut);
}
.bt-tabs__btn {
  position: relative;
  flex: 0 0 auto;
  padding: 1.05rem 1rem 1rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--f-body);
  font-size: var(--fs-ui);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease;
}
.bt-tabs__btn::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem;
  bottom: -1px;
  height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease);
}
.bt-tabs__btn:hover { color: var(--text); }
.bt-tabs__btn[aria-pressed="true"] { color: var(--text); }
.bt-tabs__btn[aria-pressed="true"]::after { transform: scaleX(1); }
.bt-tabs__status {
  margin-left: auto;
  padding-left: 1.5rem;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 759.98px) {
  .bt-tabsbar__label { display: none; }
  .bt-tabs { grid-column: 1 / -1; padding-inline: 0; }
  .bt-tabs__status { display: none; }
}

/* Filter transition, applied by script only and only while a filter change
   is running. Nothing carries a pending transition at rest. */
.js [data-cat].is-leaving,
.js [data-cat-group].is-leaving,
.js [data-cat].is-arriving,
.js [data-cat-group].is-arriving { transition: opacity .24s ease, transform .24s var(--ease); }
.js .is-leaving, .js .is-entering { opacity: 0; transform: translateY(6px); }

/* ---------- Tests page: ruled price rows ---------- */
.bt-prices { border-bottom: 1px solid var(--band-rule); }
.bt-price {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto;
  grid-template-areas:
    "name list fig"
    "meta list fig";
  grid-template-rows: auto 1fr;
  gap: 0.9rem clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(1.75rem, 2.8vw, 2.6rem);
  border-top: 1px solid var(--band-rule);
}
.bt-price__name {
  grid-area: name;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-lead);
  line-height: 1.15;
}
.bt-price__meta { grid-area: meta; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.bt-price__list { grid-area: list; min-width: 0; }
.bt-price__list > p { max-width: 58ch; }
.bt-price__list > p + .bt-measures,
.bt-price__list > .bt-measures + p { margin-top: 1rem; }
.bt-price__figs { grid-area: fig; text-align: right; display: grid; justify-items: end; align-content: start; gap: 0.4rem; }

.bt-measures {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2 15rem;
  column-gap: 2rem;
}
.bt-measures li {
  position: relative;
  break-inside: avoid;
  padding: 0.32rem 0 0.32rem 1.4rem;
  font-size: var(--fs-ui);
  line-height: 1.45;
}
.bt-measures li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.02em;
  width: 0.7rem;
  height: 1px;
  background: var(--band-muted);
  transition: width .22s var(--ease), background-color .2s ease;
}
.bt-measures li:hover::before { width: 0.95rem; background: var(--band-fg); }
.bt-measures--tight li { font-size: var(--fs-small); padding-block: 0.2rem; }

@media (max-width: 899.98px) {
  .bt-price {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name fig"
      "meta fig"
      "list list";
    grid-template-rows: auto auto auto;
  }
  .bt-price__meta { flex-direction: row; flex-wrap: wrap; }
}

/* Large figure callouts */
.bt-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--band-rule);
  border-bottom: 1px solid var(--band-rule);
  margin-block: clamp(1.75rem, 3vw, 2.75rem);
}
.bt-stat {
  padding: 1.25rem var(--gut) 1.4rem;
  border-left: 1px solid var(--band-rule);
  min-width: 0;
}
.bt-stat:first-child { border-left: 0; padding-left: 0; }
.bt-stat__fig {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.8rem + 2.6vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}
.bt-stat__unit { font-size: 0.45em; letter-spacing: 0; margin-left: 0.15em; }
.bt-stat__txt { display: block; margin-top: 0.6rem; font-size: var(--fs-small); line-height: 1.45; color: var(--band-muted); }
@media (max-width: 759.98px) {
  .bt-stats { grid-template-columns: minmax(0, 1fr); }
  .bt-stat { border-left: 0; border-top: 1px solid var(--band-rule); padding-left: 0; }
  .bt-stat:first-child { border-top: 0; }
}

/* Owner's note and signature */
.bt-note {
  border: 1px solid var(--band-rule);
  border-left-width: 4px;
  background: var(--band-bg);
  padding: 1.1rem 1.25rem 1.2rem;
  max-width: 44rem;
}
.bt-note .bt-label { display: block; margin-bottom: 0.4rem; }
.bt-note p { font-size: var(--fs-ui); line-height: 1.55; }

.bt-sign {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-lead);
  line-height: 1;
}
.bt-sign::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: currentColor;
}

/* ---------- Generic ruled list ---------- */
.bt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--band-rule);
}
.bt-list__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.25rem 1rem;
  padding-block: 1.3rem 1.45rem;
  border-top: 1px solid var(--band-rule);
}
.bt-list__mark {
  padding-top: 0.3rem;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  color: var(--band-muted);
  transition: color .2s ease;
}
.bt-list__body { min-width: 0; }
.bt-list__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
}
.bt-list__text {
  margin-top: 0.4rem;
  max-width: 62ch;
  font-size: var(--fs-ui);
  line-height: 1.55;
  color: var(--band-muted);
  transition: color .2s ease;
}
.bt-list__item:hover .bt-list__mark,
.bt-list__item:hover .bt-list__text { color: var(--band-fg); }
.bt-list--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); border-bottom: 0; }
.bt-list--two .bt-list__item { border-bottom: 1px solid var(--band-rule); margin-bottom: -1px; }
@media (max-width: 899.98px) {
  .bt-list--two { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Ruled fact rows ---------- */
.bt-facts { margin: 0; border-bottom: 1px solid var(--band-rule); }
.bt-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  gap: 0.4rem clamp(1.25rem, 3vw, 3rem);
  padding-block: 1.15rem 1.25rem;
  border-top: 1px solid var(--band-rule);
}
.bt-facts dt {
  padding-top: 0.3rem;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--band-muted);
}
.bt-facts dd { margin: 0; max-width: var(--measure); }
.bt-facts dd strong {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-lead);
  display: block;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
@media (max-width: 759.98px) {
  .bt-facts > div { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Page heads ---------- */
.bt-pagehead {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: end;
}
.bt-pagehead--solo { grid-template-columns: minmax(0, 1fr); }
.bt-pagehead__text { display: grid; gap: 1.1rem; align-content: end; }
.bt-pagehead__text .bt-lead { max-width: 40ch; }
.bt-pagehead__fig { min-width: 0; }
@media (max-width: 899.98px) {
  .bt-pagehead { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Sampling page: month calendar ---------- */
.bt-months {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  background: var(--band-rule);
  border: 1px solid var(--band-rule);
}
.bt-months__m {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  padding: 0.85rem 0.2rem 0.75rem;
  background: var(--band-bg);
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}
.bt-months__state { font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--band-muted); }
.bt-months__m.is-good { background: var(--navy); color: var(--ground); }
.bt-months__m.is-good .bt-months__state { color: #A8C1CB; }
@media (max-width: 759.98px) {
  .bt-months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- Sampling page: labelled bag ---------- */
.bt-bag {
  position: relative;
  max-width: 26rem;
  border: 1.5px solid currentColor;
  padding: 0 1.4rem 1.4rem;
}
.bt-bag__zip {
  height: 0.6rem;
  margin: 0.9rem -1.4rem 1.2rem;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.bt-bag__field {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.6rem;
  border-bottom: 1px dotted var(--band-rule);
}
.bt-bag__k {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--band-muted);
}
.bt-bag__v {
  font-family: var(--f-body);
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
}
.bt-bag__foot {
  margin-top: 1rem;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  color: var(--band-muted);
}

/* ---------- Contact page ---------- */
.bt-email {
  display: inline-block;
  max-width: 100%;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 0.9rem + 4.6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration-line: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.14em;
  transition: text-decoration-color .2s ease;
}
.bt-email:hover { text-decoration-color: var(--coral); }

.bt-hours { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--band-rule); }
.bt-hours__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.25rem 1.5rem;
  padding-block: 1rem 1.05rem;
  border-top: 1px solid var(--band-rule);
}
.bt-hours__day {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-lead);
  line-height: 1.2;
}
.bt-hours__time {
  font-family: var(--f-mono);
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bt-hours__help { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--band-muted); }

/* Two short lines of text, no table: index Band 05 */
.bt-hours--plain { border-bottom: 0; }
.bt-hours--plain .bt-hours__line { display: block; border-top: 0; padding-block: 0.15rem; }
.bt-hours--plain .bt-hours__day { font-size: 1.25rem; display: inline; }
.bt-hours--plain .bt-hours__time { display: inline; margin-left: 0.6rem; font-size: 1rem; }

/* Town list with a drawn distance scale */
.bt-towns { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--band-rule); }
.bt-towns__row,
.bt-towns__scale {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) 4.5rem;
  align-items: center;
  gap: 0.5rem clamp(1rem, 2.5vw, 2rem);
}
.bt-towns__row { padding-block: 0.95rem; border-top: 1px solid var(--band-rule); }
.bt-towns__scale {
  padding-bottom: 0.6rem;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  color: var(--band-muted);
}
.bt-towns__ticks { display: flex; justify-content: space-between; grid-column: 2; }
.bt-towns__name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--fs-lead);
  line-height: 1.15;
}
.bt-towns__bar {
  position: relative;
  height: 9px;
  background: linear-gradient(var(--band-rule), var(--band-rule)) center / 100% 1px no-repeat;
}
.bt-towns__bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  height: 3px;
  width: calc(var(--km, 0) * 4%);
  background: var(--band-fg);
  transition: width .35s var(--ease);
}
.bt-towns__bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(var(--km, 0) * 4%);
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border: 1.5px solid var(--band-fg);
  border-radius: 50%;
  background: var(--band-bg);
}
.bt-towns__km {
  text-align: right;
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bt-towns__row--origin .bt-towns__name { font-weight: 600; }
@media (max-width: 759.98px) {
  .bt-towns__row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name km" "bar bar";
  }
  .bt-towns__name { grid-area: name; }
  .bt-towns__km { grid-area: km; }
  .bt-towns__bar { grid-area: bar; }
  .bt-towns__scale { grid-template-columns: minmax(0, 1fr); }
  .bt-towns__scale > :first-child,
  .bt-towns__scale > :last-child { display: none; }
  .bt-towns__ticks { grid-column: 1; }
}

/* ---------- Closure band ---------- */
.bt-closure {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}
.bt-closure > * { min-width: 0; }
.bt-closure__dates {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.bt-closure__note p {
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 44ch;
}
.bt-closure__note p + p { margin-top: 0.9em; }
.bt-closure__side {
  padding-top: 0.4rem;
  border-top: 1px solid var(--band-rule);
  display: grid;
  gap: 1.1rem;
}
.bt-closure__side .bt-label { margin-top: 0.75rem; }
@media (max-width: 899.98px) {
  .bt-closure { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
.bt-foot {
  background: var(--navy);
  color: var(--ground);
  border-top: 1px solid rgba(221, 239, 231, .4);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.bt-foot ::selection { background: var(--ground); color: var(--navy); }
.bt-foot__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad) 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.bt-foot__inner > * { min-width: 0; padding-inline: var(--gut); }
.bt-foot__brand { grid-column: 1 / 6; display: grid; gap: 1.1rem; align-content: start; padding-bottom: 2rem; }
.bt-foot__brand .bt-wordmark { padding-inline: 0; }
.bt-foot__email {
  justify-self: start;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.15;
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color .2s ease;
}
.bt-foot__email:hover { text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.bt-foot__col {
  grid-column: span 2;
  border-left: 1px solid rgba(221, 239, 231, .28);
  padding-bottom: 2rem;
}
.bt-foot__col--wide { grid-column: span 3; }
.bt-foot__label {
  margin-bottom: 0.6rem;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A8C1CB;
}
.bt-foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.bt-foot__links a {
  display: inline-block;
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.3em;
  transition: text-decoration-color .2s ease;
}
.bt-foot__links a:hover { text-decoration-color: var(--coral); }
.bt-foot__links a[aria-current="page"] { text-decoration-color: rgba(221, 239, 231, .6); }
.bt-foot__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.1rem 1.4rem;
  border-top: 1px solid rgba(221, 239, 231, .28);
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A8C1CB;
}
@media (max-width: 1023.98px) {
  .bt-foot__brand { grid-column: 1 / -1; }
  .bt-foot__col, .bt-foot__col--wide { grid-column: span 4; }
  .bt-foot__col:nth-of-type(1) { border-left: 0; }
}
@media (max-width: 759.98px) {
  .bt-foot__inner { grid-template-columns: minmax(0, 1fr); }
  .bt-foot__brand, .bt-foot__col, .bt-foot__col--wide, .bt-foot__legal { grid-column: 1 / -1; }
  .bt-foot__col { border-left: 0; border-top: 1px solid rgba(221, 239, 231, .28); padding-top: 1rem; padding-bottom: 1.25rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .bt-mast, .bt-tabsbar, .bt-strip__nav { display: none; }
  .bt-band::before, .bt-hero::before { display: none; }
  .bt-band, .bt-hero, .bt-foot { background: #fff; color: #000; }
  .bt-strip__track { flex-wrap: wrap; overflow: visible; }
}