/* ============================================================================
   FROST STRING QUARTET — 02 "RESONANCE"
   Sound made visible: luminous line-work on a bright paper ground.
   Hand-authored, zero-runtime. Tokens first.
   ========================================================================== */

@layer tokens, base, layout, components, motion, utilities;

/* ---------------------------------------------------------------- tokens -- */
@layer tokens {
  :root {
    /* ground */
    --paper: #FCFCFD;
    --paper-warm: #F7F6F3;
    --paper-card: #FFFFFF;
    --rule: #E4E4EA;
    --rule-soft: #EFEFF3;
    --rule-strong: #C9C9D3;

    /* ink */
    --ink: #14162B;
    --ink-80: #33364F;
    --ink-60: #545775;
    --ink-40: #8B8DA3;

    /* the four voices — graphic tier (fills, strokes, plots) */
    --v1: #4F46E5; /* violin I  — indigo */
    --v2: #0EA5A4; /* violin II — teal   */
    --va: #D97706; /* viola     — amber  */
    --vc: #DB2777; /* cello     — rose   */

    /* the four voices — text tier, all >= 4.5:1 on --paper */
    --v1-ink: #4338CA; /*  7.6:1 */
    --v2-ink: #0B7A78; /*  5.1:1 */
    --va-ink: #B45309; /*  4.9:1 */
    --vc-ink: #BE185D; /*  5.9:1 */

    /* washes */
    --v1-wash: color-mix(in oklab, var(--v1) 7%, var(--paper));
    --v2-wash: color-mix(in oklab, var(--v2) 8%, var(--paper));
    --va-wash: color-mix(in oklab, var(--va) 9%, var(--paper));
    --vc-wash: color-mix(in oklab, var(--vc) 7%, var(--paper));

    /* type */
    --font-display: "Instrument Serif", "Playfair Display", "Lora",
      "GFS Baskerville", "Iowan Old Style", "Palatino Linotype", Palatino,
      Georgia, "Times New Roman", serif;
    --font-ui: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont,
      "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono",
      Menlo, Consolas, "DejaVu Sans Mono", "Liberation Mono", monospace;

    --fs-display: clamp(2.75rem, 1.35rem + 5.6vw, 6rem);
    --fs-h1: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);
    --fs-h2: clamp(1.75rem, 1.25rem + 2vw, 2.875rem);
    --fs-h3: clamp(1.25rem, 1.08rem + 0.7vw, 1.6875rem);
    --fs-h4: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
    --fs-lead: clamp(1.0625rem, 0.98rem + 0.55vw, 1.375rem);
    --fs-body: clamp(1rem, 0.975rem + 0.12vw, 1.0625rem);
    --fs-sm: 0.9375rem;
    --fs-xs: 0.8125rem;
    --fs-mono: 0.75rem;
    --fs-mono-lg: 0.8125rem;

    --lh-display: 0.98;
    --lh-tight: 1.1;
    --lh-body: 1.62;

    /* spacing — 4px base */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 44px;
    --s-8: 64px;
    --s-9: 88px;
    --s-10: 128px;
    --section: clamp(56px, 8vw, 116px);
    --gutter: clamp(20px, 4.6vw, 68px);
    --maxw: 1340px;
    --measure: 68ch;

    /* shape + elevation */
    --r-chip: 2px;
    --shadow-card: 0 1px 2px rgb(20 22 43 / 0.06);
    --shadow-lift: 0 1px 2px rgb(20 22 43 / 0.06), 0 10px 24px -14px rgb(20 22 43 / 0.16);

    /* z scale */
    --z-base: 0;
    --z-plot: 10;
    --z-header: 60;
    --z-skip: 90;

    /* motion */
    --ease-out: cubic-bezier(0.22, 0.61, 0.24, 1);
    --ease-spring: cubic-bezier(0.34, 1.42, 0.5, 1);
    --t-fast: 130ms;
    --t-mid: 220ms;
    --t-slow: 420ms;
  }
}

.mission-pillars{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.mission-pillars li{display:grid;grid-template-columns:2.5rem 1fr;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--rule)}
.mission-pillars b{font:500 .72rem/1.4 var(--mono);color:var(--muted)}.mission-pillars strong{font-weight:650;color:var(--ink)}

/* PERFORMANCE-MOBILE-PASS
   Defer below-the-fold painting without changing layout, and keep narrow
   viewports resilient to long labels, translated copy, and form controls. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@supports (content-visibility: auto) {
  main > section:not(:first-child),
  footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
}

@media (max-width: 767px) {
  main,
  main > * {
    min-width: 0;
  }

  input,
  select,
  textarea {
    font-size: max(16px, 1em);
  }

  a,
  button,
  input,
  select,
  textarea {
    touch-action: manipulation;
  }
}

@media print {
  main > section,
  footer {
    content-visibility: visible;
    contain: none;
  }
}

/* ------------------------------------------------------------------ base -- */
@layer base {
  *,
  *::before,
  *::after { box-sizing: border-box; }

  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
  }

  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    line-height: var(--lh-tight);
    letter-spacing: -0.012em;
    text-wrap: balance;
  }
  h1 { font-size: var(--fs-h1); line-height: var(--lh-display); letter-spacing: -0.018em; }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); }
  h4 { font-size: var(--fs-h4); font-family: var(--font-ui); font-weight: 600; letter-spacing: -0.005em; }

  p { margin: 0 0 1em; text-wrap: pretty; }
  p:last-child { margin-bottom: 0; }

  a { color: inherit; text-decoration: none; }

  ul, ol { margin: 0; padding: 0; list-style: none; }

  img, svg, canvas { display: block; max-width: 100%; }
  img { height: auto; background: var(--paper-warm); }

  strong { font-weight: 600; }
  em { font-style: italic; }

  button { font: inherit; color: inherit; background: none; border: 0; margin: 0; }

  ::selection { background: color-mix(in oklab, var(--v1) 22%, transparent); }

  :focus-visible {
    outline: 2px solid var(--v1-ink);
    outline-offset: 3px;
    border-radius: 1px;
  }

  .skip {
    position: fixed;
    top: var(--s-2);
    left: var(--s-2);
    z-index: var(--z-skip);
    padding: 10px 16px;
    background: var(--ink);
    color: var(--paper);
    font: 500 var(--fs-xs)/1 var(--font-ui);
    letter-spacing: 0.02em;
    transform: translateY(-200%);
    transition: transform var(--t-mid) var(--ease-out);
  }
  .skip:focus-visible { transform: translateY(0); }

  .sr {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

/* ---------------------------------------------------------------- layout -- */
@layer layout {
  .shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
  .shell--wide { max-width: 1560px; }

  .band { padding-block: var(--section); position: relative; }
  .band--warm { background: var(--paper-warm); }
  .band--tight { padding-block: clamp(40px, 5vw, 72px); }
  .band + .band--warm, .band--warm + .band { border-top: 1px solid var(--rule); }

  /* the frequency/harmonic axis motif: hairline grid behind bands */
  .band--grid::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(
      to right, var(--rule-soft) 0 1px, transparent 1px 12.5%);
    opacity: 0.9;
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  }

  .band--grid > * { position: relative; z-index: 1; }
  .band--flush { padding-top: 0; }

  .grid { display: grid; gap: var(--s-5); }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @media (max-width: 1023px) {
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 639px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  }

  .stack > * + * { margin-top: var(--s-4); }
  .measure { max-width: var(--measure); }
}

/* ------------------------------------------------------------ components -- */
@layer components {

  /* --- mono utility voice --------------------------------------------- */
  .mono {
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-60);
    font-variant-numeric: tabular-nums;
  }
  .mono--lg { font-size: var(--fs-mono-lg); }
  .mono--plain { text-transform: none; letter-spacing: 0.02em; }
  .mono--ink { color: var(--ink); }

  /* --- section header on the grid ------------------------------------- */
  .sechead {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: var(--s-4);
    margin-bottom: var(--s-6);
  }
  .sechead__idx { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.1em; color: var(--ink-40); }
  .sechead__rule { height: 1px; background: var(--rule); }
  .sechead__title { grid-column: 1 / -1; }
  .sechead__title h2 { max-width: 24ch; }
  .sechead__sub { grid-column: 1 / -1; margin-top: var(--s-3); color: var(--ink-60); max-width: 56ch; }

  /* --- header --------------------------------------------------------- */
  .head {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--rule);
  }
  .head__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
    min-height: 68px;
  }
  .mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-block: 10px;
    view-transition-name: wordmark;
  }
  .mark__glyph { width: 30px; height: 30px; flex: none; }
  .mark__glyph path { fill: none; stroke-width: 1.6; stroke-linecap: round; }
  .mark__txt { display: grid; line-height: 1; }
  .mark__name { font-family: var(--font-display); font-size: 1.1875rem; letter-spacing: -0.01em; }
  .mark__sub { font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-40); margin-top: 4px; }

  .nav { display: flex; align-items: center; gap: clamp(2px, 1.2vw, 22px); }
  .nav__a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--ink-60);
    transition: color var(--t-fast) var(--ease-out);
  }
  .nav__a::after {
    content: "";
    position: absolute;
    left: 10px; right: 10px; bottom: 14px;
    height: 1.5px;
    background: var(--v1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-mid) var(--ease-out);
  }
  .nav__a:hover { color: var(--ink); }
  .nav__a:hover::after { transform: scaleX(1); }
  .nav__a[aria-current="page"] { color: var(--ink); font-weight: 600; }
  .nav__a[aria-current="page"]::after { transform: scaleX(1); background: var(--ink); }

  /* Under 760px the header becomes two rows: wordmark, then a full-bleed
     control rail of five equal 44px targets. No horizontal scroll, ever. */
  @media (max-width: 759px) {
    .head__in {
      display: block;
      min-height: 0;
      padding-bottom: 0;
    }
    .mark { padding-block: 11px 9px; }
    .mark__glyph { width: 26px; height: 26px; }
    .mark__name { font-size: 1.0625rem; }
    .nav {
      gap: 0;
      margin-inline: calc(var(--gutter) * -1);
      border-top: 1px solid var(--rule);
      justify-content: space-between;
    }
    .nav__a {
      flex: 1 1 0;
      justify-content: center;
      min-width: 0;
      padding: 0 2px;
      font-size: 0.6875rem;
      letter-spacing: 0.015em;
    }
    .nav__a::after { left: 25%; right: 25%; bottom: 9px; }
  }

  /* --- buttons -------------------------------------------------------- */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 0;
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.005em;
    cursor: pointer;
    transition: background var(--t-fast) var(--ease-out),
                color var(--t-fast) var(--ease-out),
                transform var(--t-mid) var(--ease-spring),
                box-shadow var(--t-fast) var(--ease-out);
  }
  .btn svg { flex: none; }
  .btn--solid { background: var(--ink); color: var(--paper); }
  .btn--solid:hover { background: var(--v1-ink); transform: translateY(-1px); }
  .btn--solid:active { transform: translateY(0); }
  .btn--ghost { border: 1px solid var(--rule-strong); color: var(--ink); }
  .btn--ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
  .btn--ghost:active { transform: translateY(0); }

  .arrowlink {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    min-height: 44px;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--rule-strong);
    transition: border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
  }
  .arrowlink i { font-style: normal; transition: transform var(--t-mid) var(--ease-spring); }
  .arrowlink:hover { color: var(--v1-ink); border-color: var(--v1); }
  .arrowlink:hover i { transform: translateX(5px); }

  /* --- chips ---------------------------------------------------------- */
  .chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--rule);
    border-radius: var(--r-chip);
    background: var(--paper-card);
    font-size: var(--fs-xs);
    color: var(--ink-80);
    transition: transform var(--t-mid) var(--ease-spring), border-color var(--t-fast) var(--ease-out);
  }
  .chip__dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: currentColor; }
  .chip:hover { transform: translateY(-2px); border-color: var(--rule-strong); }
  .chip--v1 { color: var(--v1-ink); border-color: color-mix(in oklab, var(--v1) 28%, var(--rule)); background: var(--v1-wash); }
  .chip--v2 { color: var(--v2-ink); border-color: color-mix(in oklab, var(--v2) 28%, var(--rule)); background: var(--v2-wash); }
  .chip--va { color: var(--va-ink); border-color: color-mix(in oklab, var(--va) 28%, var(--rule)); background: var(--va-wash); }
  .chip--vc { color: var(--vc-ink); border-color: color-mix(in oklab, var(--vc) 28%, var(--rule)); background: var(--vc-wash); }

  /* --- hero ----------------------------------------------------------- */
  .hero { padding-top: clamp(40px, 6vw, 84px); padding-bottom: 0; }
  .hero__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-bottom: var(--s-5); }
  .hero__eyebrow span { display: inline-flex; align-items: center; gap: 8px; }
  .hero__eyebrow span + span::before {
    content: "·";
    margin-right: var(--s-4);
    color: var(--ink-40);
  }
  .hero__h1 { font-size: var(--fs-display); max-width: 19ch; }
  .hero__h1 em { font-style: italic; color: var(--v1-ink); }
  .hero__lead { max-width: 54ch; font-size: var(--fs-lead); color: var(--ink-60); line-height: 1.5; }
  .hero__cta { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }
  .hero__row {
    margin-top: var(--s-6);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    gap: clamp(28px, 5vw, 84px);
    align-items: start;
  }
  @media (max-width: 899px) {
    .hero__row { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  }

  /* the spec ledger — the page's own axis labels, one per hero */
  .spec { margin: 0; border-top: 1px solid var(--ink); }
  .spec__row {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: var(--s-4);
    align-items: baseline;
    padding-block: 11px;
    border-bottom: 1px solid var(--rule);
  }
  .spec dt {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ink-40);
  }
  .spec dd { margin: 0; font-size: var(--fs-sm); color: var(--ink-80); }
  .spec dd b { font-weight: 500; color: var(--ink); }
  .spec dd i { font-style: normal; display: inline-block; width: 10px; height: 2px; vertical-align: middle; margin-right: 7px; }
  @media (max-width: 419px) {
    .spec__row { grid-template-columns: 96px 1fr; gap: var(--s-3); }
  }

  /* --- the harmonograph plate ----------------------------------------- */
  .field {
    position: relative;
    margin-top: clamp(32px, 5vw, 60px);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
  }
  .field__in {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
    gap: clamp(28px, 4.4vw, 72px);
    align-items: center;
    padding-block: clamp(28px, 4vw, 56px);
  }
  /* the plate itself — square, framed, a printed plate */
  .field__box {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 560px;
    border: 1px solid var(--rule);
    background: var(--paper);
    view-transition-name: field;
  }
  .field__datum,
  .field__static,
  .field__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .field__canvas { opacity: 0; transition: opacity 700ms var(--ease-out); }
  .field.is-live .field__canvas { opacity: 1; }
  .field.is-live .field__static { opacity: 0; transition: opacity 700ms var(--ease-out); }
  .field__static svg { display: block; width: 100%; height: 100%; }

  /* four crop marks — the plate is registered to the page */
  .field__tick {
    position: absolute;
    width: 11px;
    height: 11px;
    pointer-events: none;
    border: 0 solid var(--rule-strong);
  }
  .field__tick--tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
  .field__tick--tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
  .field__tick--bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
  .field__tick--br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

  /* the plate's own caption block */
  .field__kicker {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    color: var(--ink-60);
  }
  .field__kicker span + span::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    margin-right: var(--s-3);
    vertical-align: middle;
    background: var(--rule-strong);
  }
  .field__lede {
    margin-top: var(--s-4);
    max-width: 46ch;
    font-size: var(--fs-body);
    color: var(--ink-80);
    text-wrap: pretty;
  }
  .field__ratio {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2) var(--s-6);
    margin-top: var(--s-5);
    padding-top: var(--s-4);
    border-top: 1px solid var(--rule);
  }
  .field__ratio li { display: flex; flex-direction: column; gap: 6px; }
  .field__ratio b {
    font-family: var(--font-mono);
    font-size: clamp(1.125rem, 0.9rem + 0.6vw, 1.5rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
  }
  .field__ratio i { display: block; width: 100%; min-width: 34px; height: 3px; }
  .field__meta {
    margin-top: var(--s-4);
    color: var(--ink-40);
    letter-spacing: 0.02em;
    text-transform: none;
  }
  .field__meta sup { font-size: 0.82em; line-height: 0; }
  @media (max-width: 899px) {
    .field__in { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); justify-items: stretch; }
    .field__box { max-width: min(100%, 420px); margin-inline: auto; }
  }
  .field__legend {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2) var(--s-6);
    padding-block: var(--s-3);
    border-top: 1px solid var(--rule);
  }
  .field__legend li { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-60); }
  .field__legend b { font-weight: 500; color: var(--ink); }
  .field__legend i { width: 14px; height: 2px; flex: none; align-self: center; }
  .field__legend .field__note {
    margin-left: auto;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--ink-40);
  }
  @media (max-width: 899px) {
    .field__legend { gap: var(--s-2) var(--s-5); }
    .field__legend .field__note { margin-left: 0; flex-basis: 100%; }
  }

  /* --- stats ---------------------------------------------------------- */
  .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
  .stat { padding: var(--s-6) var(--s-5) var(--s-6) 0; border-right: 1px solid var(--rule); }
  .stat:last-child { border-right: 0; }
  .stat__idx { display: block; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.14em; color: var(--ink-40); }
  .stat__v { display: block; margin-top: var(--s-3); font-family: var(--font-display); font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4rem); line-height: 0.9; letter-spacing: -0.02em; }
  .stat__l { display: block; margin-top: var(--s-3); font-size: var(--fs-sm); font-weight: 500; }
  .stat__n { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--ink-60); }
  .stat:nth-child(1) .stat__v { color: var(--v1-ink); }
  .stat:nth-child(2) .stat__v { color: var(--v2-ink); }
  .stat:nth-child(3) .stat__v { color: var(--va-ink); }
  .stat:nth-child(4) .stat__v { color: var(--vc-ink); }
  @media (max-width: 799px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat { padding: var(--s-5) var(--s-4) var(--s-5) 0; }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--rule); }
  }

  /* --- pull quote ----------------------------------------------------- */
  .pull { position: relative; }
  .pull blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 2.4vw, 2.75rem); line-height: 1.2; letter-spacing: -0.015em; hanging-punctuation: first; text-wrap: balance; }
  .pull figcaption { margin-top: var(--s-5); }

  /* --- story / timeline ledger ---------------------------------------- */
  .story { border-top: 1px solid var(--rule); }
  .story__row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: var(--s-5);
    padding-block: var(--s-6);
    border-bottom: 1px solid var(--rule);
    position: relative;
  }
  .story__year { font-family: var(--font-mono); font-size: var(--fs-mono-lg); font-weight: 500; letter-spacing: 0.06em; color: var(--ink-40); padding-top: 6px; }
  .story__body { max-width: 62ch; }
  .story__body h3 { margin-bottom: var(--s-3); }
  .story__body p { color: var(--ink-60); }
  .story__row::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: var(--w, 20%);
    height: 1px;
    background: var(--c, var(--v1));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 700ms var(--ease-out);
  }
  .story__row.is-in::after { transform: scaleX(1); }
  @media (max-width: 639px) {
    .story__row { grid-template-columns: 1fr; gap: var(--s-3); padding-block: var(--s-5); }
    .story__year { padding-top: 0; }
  }

  /* --- figures -------------------------------------------------------- */
  .fig { margin: 0; }
  .fig img { width: 100%; height: auto; }
  .fig--frame img { border: 1px solid var(--rule); }
  .fig figcaption { margin-top: var(--s-3); display: flex; gap: var(--s-3); align-items: baseline; color: var(--ink-60); font-size: var(--fs-xs); }
  .fig figcaption b { flex: none; font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-40); }

  /* --- plates ---------------------------------------------------------
     Every photograph on this site is presented exactly as the harmonograph
     is: hairline frame, four crop marks registering it to the paper, mono
     caption beneath carrying the plate number. Portraits swap the hairline
     for a 2px keyline in that member's chair colour.
     The frame's aspect-ratio is the photograph's own unless a wall asks for
     a common box, so `object-fit: cover` has nothing to crop.              */
  .plate { margin: 0; position: relative; }
  .plate__f {
    position: relative;
    width: 100%;
    border: 1px solid var(--rule);
    /* aspect-ratio + background-color (the manifest average) are inline */
  }
  .plate__f img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .plate--key .plate__f { border: 2px solid var(--key, var(--rule)); }

  /* crop marks sit on the paper just outside the frame, so no mark is ever
     laid over the photograph itself */
  .plate__tick,
  .person__portrait .plate__tick {
    position: absolute;
    width: 10px; height: 10px;
    pointer-events: none;
    border: 0 solid var(--rule-strong);
  }
  .plate__tick--tl { top: -6px; left: -6px; border-top-width: 2px; border-left-width: 2px; }
  .plate__tick--tr { top: -6px; right: -6px; border-top-width: 2px; border-right-width: 2px; }
  .plate__tick--bl { bottom: -6px; left: -6px; border-bottom-width: 2px; border-left-width: 2px; }
  .plate__tick--br { bottom: -6px; right: -6px; border-bottom-width: 2px; border-right-width: 2px; }

  .plate__cap {
    margin-top: var(--s-3);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px var(--s-3);
    align-items: baseline;
    color: var(--ink-60);
    font-size: var(--fs-mono);
    line-height: 1.5;
  }
  .plate__cap b { font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-60); font-variant-numeric: tabular-nums; }
  .plate__cap span { text-wrap: pretty; }
  .plate__cap i { grid-column: 2; font-style: normal; color: var(--ink-60); opacity: 0.86; }

  /* a plate set narrower than its column, so that nothing but `group-care`
     ever out-scales the harmonograph */
  .plate--mid { max-width: 860px; margin-inline: auto; }

  /* the one plate that carries the weight of the whole site */
  .plate--lead .plate__f { border-color: var(--rule-strong); }
  .plate--lead .plate__cap { font-size: var(--fs-mono-lg); }

  /* two plates stacked in a column need more air than a note card does, or the
     caption of the first reads as the label of the second */
  .stack > .plate + .plate { margin-top: var(--s-6); }

  .plates { display: grid; gap: var(--s-6) var(--s-5); }
  .plates--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plates--wall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
  @media (max-width: 1099px) { .plates--wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 899px) { .plates--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 819px) { .plates--wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 559px) { .plates--3 { grid-template-columns: minmax(0, 1fr); } }

  /* --- the plate track ------------------------------------------------
     Five plates across on a desktop; ~1.5 in view on a phone, so the row
     visibly continues. The scroller itself is focusable, which is what makes
     the off-screen plates reachable from the keyboard (arrow keys scroll a
     focused scroll container natively).                                    */
  .track {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    /* without this the first plate snaps to the padding edge and eats the
       gutter, so the row starts flush against the screen edge on a phone */
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    padding: 8px 0 var(--s-4);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .track__in {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4 * var(--s-4)) / 5);
    gap: var(--s-4);
    list-style: none;
    margin: 0; padding: 0;
  }
  .track__i { scroll-snap-align: start; min-width: 0; }
  @media (max-width: 1023px) {
    .track__in { grid-auto-columns: calc((100% - var(--s-4)) / 2.4); }
  }
  @media (max-width: 639px) {
    .track__in { grid-auto-columns: 62vw; }
  }
  .track:focus-visible { outline: 2px solid var(--v1-ink); outline-offset: 3px; }

  /* --- musician cards ------------------------------------------------- */
  .people { display: grid; gap: var(--s-8) var(--s-5); grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @media (max-width: 1099px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 819px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-4); } }
  @media (max-width: 479px) { .people { grid-template-columns: minmax(0, 1fr); } }

  .person { position: relative; }
  /* the studio portrait is a plate too: 4:5 (its native ratio, so nothing is
     cropped), 2px keyline in the member's chair colour, crop marks outside */
  .person__portrait { position: relative; aspect-ratio: 4 / 5; background: var(--paper-warm); border: 2px solid var(--key, var(--rule)); }
  .person__portrait img { width: 100%; height: 100%; object-fit: cover; }
  .person__plate { margin-top: var(--s-3); }
  .person__idx { position: absolute; top: 0; left: 0; z-index: 2; padding: 6px 10px; background: var(--paper); font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.14em; color: var(--ink-60); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .person__wave { margin-top: -1px; border: 1px solid var(--rule); border-top: 0; background: var(--paper-card); }
  .person__wave svg { width: 100%; height: 46px; }
  .person__name { margin-top: var(--s-4); font-size: var(--fs-h3); }
  .person__inst { margin-top: 6px; display: flex; align-items: center; gap: 8px; }
  .person__inst i { width: 12px; height: 2px; flex: none; }
  .person__meta { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--ink-60); }
  .person__meta span { display: block; }
  .person__bio { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--ink-80); }
  .person__honors { margin-top: var(--s-4); border-top: 1px solid var(--rule); }
  .person__honors li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding-block: 9px; border-bottom: 1px solid var(--rule-soft); font-size: var(--fs-xs); color: var(--ink-80); line-height: 1.45; }
  .person__honors li:last-child { border-bottom: 0; }
  .person__honors b { font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.08em; color: var(--ink-40); padding-top: 3px; }
  .person__off { margin-top: var(--s-4); }

  /* compact preview variant */
  .person--mini .person__name { font-size: var(--fs-h4); font-family: var(--font-display); font-weight: 400; }

  /* --- concert plot --------------------------------------------------- */
  .plot { position: relative; display: none; }
  @media (min-width: 1024px) {
    .plot { display: block; }
  }
  .plot__frame {
    position: relative;
    height: 208px;
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
  }
  .plot__grid { position: absolute; inset: 0; pointer-events: none; }
  .plot__gl { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule-soft); }
  .plot__gl b { position: absolute; bottom: -22px; left: 0; transform: translateX(-50%); font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.08em; color: var(--ink-40); }
  .plot__axis { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); }
  .plot__node {
    position: absolute;
    width: 44px; height: 44px;
    margin-left: -22px; margin-bottom: -22px;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: var(--z-plot);
  }
  .plot__node::before {
    content: "";
    position: absolute;
    left: 50%; width: 1px;
    background: color-mix(in oklab, var(--c, var(--v1)) 34%, var(--rule));
    top: 22px; height: var(--stem, 0px);
    transform: translateX(-50%);
  }
  .plot__dot {
    position: relative;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--c, var(--v1));
    transition: transform var(--t-mid) var(--ease-spring), background var(--t-fast) var(--ease-out);
  }
  .plot__node:hover .plot__dot,
  .plot__node:focus-visible .plot__dot,
  .plot__node[aria-pressed="true"] .plot__dot { transform: scale(1.5); background: var(--c, var(--v1)); }
  .plot__card {
    margin-top: var(--s-7);
    padding-top: var(--s-5);
    border-top: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: var(--s-5);
    align-items: start;
    min-height: 116px;
  }
  .plot__card h3 { font-size: var(--fs-h3); }
  .plot__card p { margin: 6px 0 0; color: var(--ink-60); font-size: var(--fs-sm); }

  /* --- ledger (concerts + venues) ------------------------------------- */
  .ledger { border-top: 1px solid var(--ink); }
  .ledger__season {
    display: flex; align-items: baseline; gap: var(--s-3);
    padding-block: var(--s-4) var(--s-2);
    border-bottom: 1px solid var(--rule);
  }
  .ledger__season i { width: 12px; height: 2px; flex: none; align-self: center; }
  .ledger__row {
    display: grid;
    grid-template-columns: 34px 168px 1fr 150px 132px;
    gap: var(--s-4);
    align-items: baseline;
    padding-block: var(--s-4);
    border-bottom: 1px solid var(--rule-soft);
    transition: background var(--t-fast) var(--ease-out);
  }
  .ledger__row:hover { background: var(--paper-warm); }
  .ledger__row b { font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.1em; color: var(--ink-40); }
  .ledger__venue { font-size: var(--fs-body); font-weight: 500; }
  .ledger__date { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.04em; color: var(--ink-60); }
  .ledger__kind { font-size: var(--fs-xs); color: var(--ink-60); }
  .ledger__city { font-size: var(--fs-xs); color: var(--ink-60); }
  @media (max-width: 899px) {
    .ledger__row { grid-template-columns: 30px 1fr; gap: 4px var(--s-3); padding-block: var(--s-4); }
    .ledger__row b { grid-row: span 2; }
    .ledger__venue { grid-column: 2; }
    .ledger__date { grid-column: 2; }
    .ledger__kind { grid-column: 2; }
    .ledger__city { grid-column: 2; }
  }

  .rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-8); }
  @media (max-width: 799px) { .rooms { grid-template-columns: minmax(0, 1fr); } }
  .room {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: var(--s-4);
    padding-block: var(--s-4);
    border-bottom: 1px solid var(--rule);
  }
  .room__n { font-size: var(--fs-body); font-weight: 500; }
  .room__m { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--ink-60); }
  .room__v { display: flex; align-items: center; gap: 8px; }
  .room__ticks { display: flex; gap: 3px; }
  .room__ticks i { width: 3px; height: 16px; background: var(--c, var(--v1)); }
  .room__c { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--ink-60); letter-spacing: 0.06em; }

  /* --- big quote (testimonials) --------------------------------------- */
  .peak { position: relative; padding-block: clamp(32px, 6vw, 72px); }
  .peak__env {
    position: relative;
    width: 100%;
    height: clamp(84px, 11vw, 156px);
    margin-top: clamp(20px, 3vw, 40px);
    pointer-events: none;
  }
  .peak--narrow .peak__env { width: min(100%, 62ch); }
  .peak__env svg { width: 100%; height: 100%; }
  .peak__in { position: relative; z-index: 1; }
  .peak blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 1rem + 4.1vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: balance;
    hanging-punctuation: first;
  }
  .peak__by { margin-top: var(--s-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
  .verified { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid color-mix(in oklab, var(--v2) 34%, var(--rule)); border-radius: var(--r-chip); background: var(--v2-wash); color: var(--v2-ink); font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase; }
  .verified svg { width: 12px; height: 12px; }

  /* --- note card ------------------------------------------------------ */
  .note { border: 1px solid var(--rule); background: var(--paper-card); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-card); }
  .note__k { margin-bottom: var(--s-3); }
  .note h3 { margin-bottom: var(--s-3); }
  .note p { color: var(--ink-60); }
  .note--v1 { border-top: 2px solid var(--v1); }
  .note--v2 { border-top: 2px solid var(--v2); }
  .note--va { border-top: 2px solid var(--va); }
  .note--vc { border-top: 2px solid var(--vc); }

  /* --- form ----------------------------------------------------------- */
  .form { display: grid; gap: var(--s-6); }
  .field-row { display: grid; gap: 8px; }
  .field-row label { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-60); display: flex; align-items: baseline; gap: 8px; }
  .field-row label em { font-style: normal; color: var(--c, var(--v1)); }
  .field-row .helper { font-size: var(--fs-xs); color: var(--ink-60); }
  .inp {
    position: relative;
    display: block;
  }
  .inp input, .inp select, .inp textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 2px;
    font: 400 var(--fs-body)/1.5 var(--font-ui);
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--rule-strong);
    border-radius: var(--r-chip);
    appearance: none;
  }
  .inp textarea { min-height: 132px; resize: vertical; }
  .inp select { cursor: pointer; padding-right: 28px; }
  .inp::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--c, var(--v1));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-slow) var(--ease-out);
  }
  .inp:focus-within::after { transform: scaleX(1); }
  .inp input:focus-visible, .inp select:focus-visible, .inp textarea:focus-visible { outline: 2px solid color-mix(in oklab, var(--c, var(--v1)) 45%, transparent); outline-offset: 4px; }
  .inp--sel::before {
    content: "";
    position: absolute;
    right: 6px; top: 22px;
    width: 7px; height: 7px;
    border-right: 1.5px solid var(--ink-60);
    border-bottom: 1.5px solid var(--ink-60);
    transform: rotate(45deg);
    pointer-events: none;
  }
  .form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }
  .status { min-height: 22px; font-size: var(--fs-xs); color: var(--v2-ink); }
  .status:empty { min-height: 22px; }

  /* --- footer --------------------------------------------------------- */
  .foot { border-top: 1px solid var(--rule); background: var(--paper-warm); }
  .foot__wave { position: relative; height: 96px; overflow: hidden; border-bottom: 1px solid var(--rule-soft); }
  .foot__wave svg { position: absolute; inset: 0; width: 200%; height: 100%; }
  .foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-6); padding-block: var(--s-8) var(--s-6); }
  @media (max-width: 799px) { .foot__in { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } }
  .foot h2 { font-size: var(--fs-h3); max-width: 22ch; }
  .foot p { margin-top: var(--s-3); color: var(--ink-60); font-size: var(--fs-sm); max-width: 40ch; }
  .foot__col h3 { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-40); margin-bottom: var(--s-2); }
  .foot__col li a { display: inline-flex; min-height: 34px; align-items: center; font-size: var(--fs-sm); color: var(--ink-60); transition: color var(--t-fast) var(--ease-out); }
  .foot__col li a:hover { color: var(--ink); }
  .foot__col p { margin-top: 0; }
  .foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-4); border-top: 1px solid var(--rule); }
  .foot__rule { height: 2px; background: var(--ink); }
}

/* ---------------------------------------------------------------- motion -- */
@layer motion {
  @view-transition { navigation: auto; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }

  /* Hero entrance: a 50ms stagger that runs once, on load.
     Gated on html[data-anim="on"], which the head script sets only for a
     document that can actually finish an animation. `both` fills BACKWARDS as
     well as forwards, so an animation that never starts — which is what happens
     to a CSS animation in a background tab — would hold the from-frame
     (opacity 0) forever and leave the hero invisible. Ungated, the resting
     state is the finished state, which is the correct default. */
  @media (prefers-reduced-motion: no-preference) {
    html[data-anim="on"] :is(.hero__eyebrow, .hero__h1, .hero__lead, .hero__cta, .hero + .field, .field) {
      animation: rise 720ms var(--ease-out) both;
    }
    .hero__h1 { animation-delay: 50ms; }
    .hero__lead { animation-delay: 100ms; }
    .hero__cta { animation-delay: 150ms; }
    .field { animation-delay: 200ms; }
  }

  /* Scroll reveals are *armed by the first scroll*, never before. Until then
     every section is at rest and fully visible — correct with JS off, correct
     for print, and correct for a full-page capture that never scrolls. */
  html[data-reveal="on"] .reveal:not(.is-in) { opacity: 0; transform: translateY(16px); }
  html[data-reveal="on"] .reveal.is-in {
    transition: opacity 620ms var(--ease-out) var(--d, 0ms),
                transform 620ms var(--ease-out) var(--d, 0ms);
  }
  html[data-reveal="on"] .story__row:not(.is-in)::after { transform: scaleX(0); }
  html[data-reveal="on"] .story__row.is-in::after { transition: transform 700ms var(--ease-out); }

  /* Native CSS scroll-driven animation: reading progress across the four
     voices, painted on the header hairline. Safe at 0% — the rule is there. */
  .head::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--v1), var(--v2), var(--va), var(--vc));
    transform: scaleX(0);
    transform-origin: left;
  }
  @supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
      .head::after {
        animation: progress linear both;
        animation-timeline: scroll(root block);
      }
    }
  }
  @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  .foot__wave svg { animation: drift 46s linear infinite; }
  @keyframes drift { to { transform: translateX(-50%); } }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      scroll-behavior: auto !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    .story__row::after { transform: scaleX(1) !important; }
    .foot__wave svg, .head::after { animation: none !important; }
    @view-transition { navigation: none; }
  }
}

/* ------------------------------------------------------------- utilities -- */
@layer utilities {
  .mt-2 { margin-top: var(--s-2); }
  .mt-3 { margin-top: var(--s-3); }
  .mt-4 { margin-top: var(--s-4); }
  .mt-5 { margin-top: var(--s-5); }
  .mt-6 { margin-top: var(--s-6); }
  .mt-7 { margin-top: var(--s-7); }
  .mt-8 { margin-top: var(--s-8); }
  .muted { color: var(--ink-60); }
  .lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-80); }
  .c-v1 { color: var(--v1-ink); }
  .c-v2 { color: var(--v2-ink); }
  .c-va { color: var(--va-ink); }
  .c-vc { color: var(--vc-ink); }
  .bg-v1 { background: var(--v1); }
  .bg-v2 { background: var(--v2); }
  .bg-va { background: var(--va); }
  .bg-vc { background: var(--vc); }
  .rule { height: 1px; background: var(--rule); }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 88px); align-items: start; }
  @media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); } }
  .split--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  @media (max-width: 899px) { .split--wide { grid-template-columns: minmax(0, 1fr); } }
  .sticky-top { position: sticky; top: 104px; }
  @media (max-width: 899px) { .sticky-top { position: static; } }
}

/* -------------------------------------------------------------- printing -- */
@media print {
  .head, .foot__wave, .field__canvas, .plot { display: none !important; }
  /* the canvas is gone, so the build-time plate has to come back */
  .field__static { opacity: 1 !important; }
  body { background: #fff; }
}

/* MOBILE-CASCADE-GUARD — keep form controls usable after design-specific rules. */
@media (max-width: 767px) {
  main, main > * { min-width: 0; }
  input, select, textarea { font-size: max(16px, 1em); }
}
