/* Jai Group. Brand colours lifted from the bags: Sikka Gold navy, masoor red.
   Grounds hard-cut per station; the accent has two stops, one hue. */
:root {
  --navy:       #13213A;
  --navy-deep:  #0C1628;
  --machine:    #0A1220;
  --bone:       #ECEAE4;
  --paper:      #F5F4F0;
  --masoor:     #9A3213;
  --red-on-light: #B23A15;
  --red-on-dark:  #F08454;

  --sc-canvas:     var(--bone);
  --sc-surface:    var(--paper);
  --sc-ink:        #13213A;
  --sc-ink-soft:   #4A5468;
  --sc-accent:     var(--red-on-light);
  --sc-accent-ink: #FFF8F2;

  --sc-font-display: "Fraunces", Georgia, serif;
  --sc-font-text:    "Geist", system-ui, sans-serif;
  --sc-font-mono:    "Geist", system-ui, sans-serif;
  --sc-shadow-color: 218 50% 8%;

  --rail: 0px;
  --radius: 6px;
}
@media (min-width: 1100px) { :root { --rail: 12.5rem; } }

/* dark station grounds re-ink their subtree (tokens AND color, see taste.md) */
.is-dark {
  --sc-ink: #EEEDE8; --sc-ink-soft: #A9B4C6;
  --sc-accent: var(--red-on-dark); --sc-accent-ink: #1A0D06;
  --sc-hairline: rgba(238,237,232,.14); --sc-hairline-strong: rgba(238,237,232,.26);
  color: var(--sc-ink);
}

html { scroll-padding-top: 4rem; }
@media (min-width: 1100px) { html { scroll-padding-top: 0; } }
body { background: var(--bone); }
main { margin-left: var(--rail); }

.sc-display { font-weight: 560; font-variation-settings: "opsz" 120; letter-spacing: -0.022em; }
.sc-display--md { font-variation-settings: "opsz" 72; }
.sc-lede { font-size: var(--sc-t-lg); }

.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 var(--sc-t-sm)/1 var(--sc-font-text); letter-spacing: .01em;
  padding: 1rem 1.35rem; border: 0; border-radius: var(--radius);
  background: var(--sc-accent); color: var(--sc-accent-ink);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--sc-e1), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform 140ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .btn:hover { box-shadow: var(--sc-e2), inset 0 1px 0 rgba(255,255,255,.18); transform: translateY(-1px); } }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--small { padding: .7rem 1rem; font-size: var(--sc-t-xs); }
.textlink {
  background: none; border: 0; padding: .25rem 0; cursor: pointer;
  font: 500 var(--sc-t-sm)/1.3 var(--sc-font-text); color: inherit;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em;
  text-decoration-color: color-mix(in oklab, currentColor 45%, transparent);
  transition: text-decoration-color 140ms var(--sc-ease-out);
}
.textlink:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------------ mark & chrome */
.mark { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; }
.mark__sun { width: 2.6rem; height: auto; overflow: visible; flex: none; }
.mark__sun path:first-child { fill: var(--red-on-dark); }
.mark__sun g { stroke: var(--red-on-dark); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.mark__word { font: 650 1.6rem/1 var(--sc-font-display); letter-spacing: -.01em; font-variation-settings: "opsz" 48; white-space: nowrap; }
.mark__word span { font-weight: 400; }
/* Desktop rail: a stacked lockup, the sun rising over the name. */
.line .mark { flex-direction: column; align-items: center; gap: .55rem; align-self: stretch; }
.line .mark__sun { width: 4.2rem; }
.line .mark__word { font-size: 1.9rem; }

.line {
  position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: var(--sc-z-chrome);
  background: var(--navy); color: #EEEDE8;
  display: none; flex-direction: column; padding: 1.75rem 1.4rem 1.6rem;
  box-shadow: 1px 0 0 rgba(255,255,255,.06);
  --sc-accent: var(--red-on-dark); --sc-accent-ink: #1A0D06;
}
@media (min-width: 1100px) { .line { display: flex; } }
.line__list { list-style: none; margin: auto 0; padding: 0; position: relative; z-index: 1; display: grid; gap: 1.55rem; }
.line__list a {
  display: flex; align-items: center; gap: .85rem; text-decoration: none;
  font-size: var(--sc-t-sm); color: #9EAAC0; letter-spacing: .01em;
  transition: color 160ms var(--sc-ease-out);
}
.line__list a:hover { color: #fff; }
.line__node {
  width: 11px; height: 11px; border-radius: 50%; flex: none;
  background: var(--navy); box-shadow: inset 0 0 0 1.5px #5F6E8A;
  transition: background-color 200ms var(--sc-ease-out), box-shadow 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out);
}
.line__list a.is-passed .line__node { background: var(--red-on-dark); box-shadow: none; }
.line__list a.is-here { color: #fff; font-weight: 600; }
.line__list a.is-here .line__node { background: var(--red-on-dark); box-shadow: 0 0 0 4px rgba(240,132,84,.22); transform: scale(1.15); }
.line__track { position: absolute; left: calc(1.4rem + 5px); width: 1px; background: #33415C; top: var(--t, 30%); height: var(--h, 40%); }
.line__fill { position: absolute; inset: 0; background: var(--red-on-dark); transform-origin: 50% 0; transform: scaleY(var(--fill, 0)); }
.line__cta { align-self: flex-start; font-size: var(--sc-t-sm); font-weight: 600; color: #fff; text-underline-offset: .3em; text-decoration-color: var(--red-on-dark); text-decoration-thickness: 2px; }

.bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  display: flex; align-items: center; gap: .9rem; height: 3.5rem; padding: 0 1rem;
  background: color-mix(in oklab, var(--navy) 94%, transparent); color: #EEEDE8;
  backdrop-filter: blur(8px);
}
.bar .mark__sun { width: 2.4rem; } .bar .mark__word { font-size: 1.45rem; }
.bar__station { font-size: var(--sc-t-xs); color: #A9B4C6; letter-spacing: .06em; text-transform: uppercase; padding-left: .9rem; border-left: 1px solid #33415C; }
.bar__cta { margin-left: auto; font-size: var(--sc-t-sm); font-weight: 600; color: #fff; text-decoration-color: var(--red-on-dark); text-decoration-thickness: 2px; text-underline-offset: .3em; padding: .6rem 0; }
@media (min-width: 1100px) { .bar { display: none; } }
[data-sc-progress] { left: var(--rail); z-index: calc(var(--sc-z-chrome) + 1); }

/* ----------------------------------------------------------------- intake */
.intake {
  position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: clip;
  background: radial-gradient(120% 90% at 85% 10%, #F7F5F0 0%, var(--bone) 55%, #DEDBD2 100%);
}
.intake canvas { position: absolute; max-width: none; pointer-events: none; will-change: transform; }
.intake__light {
  position: absolute; inset: -10% -10% auto auto; width: 70%; height: 80%;
  background: radial-gradient(closest-side, rgba(255,250,240,.9), rgba(255,250,240,0));
  will-change: transform, opacity;
}
.intake__far { inset: 0; width: 100%; height: 100%; filter: blur(7px); opacity: .55; }
.intake__heap { right: -4%; bottom: -6%; width: 66%; height: 78%; }
.intake__near { inset: 0; width: 100%; height: 100%; filter: blur(9px); z-index: 3; }
.intake__copy {
  position: absolute; z-index: 2; left: var(--sc-gutter); top: 50%; translate: 0 -54%;
  max-width: min(50rem, 60vw);
}
.intake__l { display: block; white-space: nowrap; }
.intake__h { font-size: clamp(2.8rem, 1.3rem + 3.7vw, 5.6rem); line-height: .96; font-variation-settings: "opsz" 144; color: var(--navy); }
.intake__sub { margin: 1.6rem 0 0; max-width: 34ch; font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink-soft); text-wrap: pretty; }
.intake__acts { margin: 2.2rem 0 0; display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
@media (max-width: 1099px) { .intake { padding-top: 3.5rem; } }
@media (max-width: 760px) {
  .intake__heap { right: -18%; bottom: -4%; width: 136%; height: 50%; }
  .intake__copy { top: 5.5rem; translate: none; max-width: none; right: var(--sc-gutter); }
  .intake__h { font-size: clamp(2.4rem, 10.5vw, 3.4rem); }
  .intake__l { display: inline; white-space: normal; }
  .intake__sub { font-size: var(--sc-t-base); margin-top: 1rem; }
  .intake__acts { margin-top: 1.4rem; gap: 1.2rem; }
}

/* ------------------------------------------------------------- inspection */
.inspection { background: var(--navy-deep); padding-block: clamp(5rem, 10vw, 9rem); }
.inspection { --sc-ink: #EEEDE8; --sc-ink-soft: #A9B4C6; color: var(--sc-ink); --sc-hairline: rgba(238,237,232,.14); }
.inspection__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.inspection__copy h2 { max-width: 14ch; }
.specimens { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sc-hairline); }
.specimens li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.4rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--sc-hairline); }
.specimens canvas { width: 4.5rem; height: 4.5rem; }
.specimens p { margin: 0; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
.specimens b { color: var(--sc-ink); font-weight: 600; margin-right: .3rem; }
@media (max-width: 860px) { .inspection__grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- sortex */
.sortex { background: var(--machine); }
.sortex__stage { background: var(--machine); color: #EEEDE8; --sc-ink: #EEEDE8; --sc-ink-soft: #A9B4C6; --sc-accent: var(--red-on-dark); --sc-accent-ink: #1A0D06; }
.sortex__machine { position: absolute; left: 0; top: 0; bottom: 0; width: 58%; }
.sortex__machine canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sortex__copy { position: absolute; right: var(--sc-gutter); top: 0; bottom: 0; width: min(30rem, 36%); }
.sortex__step { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -60%; }
.sortex__step h2 { color: #F5F3EE; }
.sortex__k { margin: 0 0 .9rem; font-size: var(--sc-t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--red-on-dark); font-weight: 600; }
.sortex__step .sc-lede { color: #E4E3DE; }
.sortex__panel { position: absolute; right: var(--sc-gutter); bottom: clamp(1.5rem, 6vh, 3.5rem); width: min(30rem, 36%); }
.sortex__controls { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.sortex__toggle[aria-pressed="false"] { background: #EEEDE8; color: var(--machine); }
.tally { display: flex; gap: 2rem; margin: 1.2rem 0 0; }
.tally div { min-width: 0; }
.tally dt { font-size: var(--sc-t-xs); color: #A9B4C6; letter-spacing: .06em; text-transform: uppercase; }
.tally dd { margin: .2rem 0 0; font: 500 var(--sc-t-xl)/1 var(--sc-font-text); font-variant-numeric: tabular-nums; }
.tally__miss dd { color: #A9B4C6; }
.tally__miss.is-live dd { color: var(--red-on-dark); }
.tally__note { margin: .7rem 0 0; font-size: var(--sc-t-xs); color: #8D98AC; }
@media (max-width: 860px) {
  .sortex__machine { width: 100%; top: 3.5rem; bottom: 40%; }
  .sortex__copy { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; top: auto; bottom: 0; height: 40%; }
  .sortex__step { top: .4rem; translate: none; }
  .sortex__step h2 { font-size: var(--sc-t-2xl); }
  .sortex__step .sc-lede { font-size: var(--sc-t-base); }
  .sortex__panel { left: auto; right: .75rem; top: 4.1rem; bottom: auto; width: auto; text-align: right; }
  .sortex__controls { justify-content: flex-end; gap: .8rem; }
  .sortex__empty, .tally__note { display: none; }
  .tally { justify-content: flex-end; gap: 1rem; margin-top: .6rem; }
  .tally dd { font-size: var(--sc-t-base); }
  .tally dt { font-size: .66rem; }
}

/* ---------------------------------------------------------------- grading */
.grading {
  background: var(--masoor); padding-block: clamp(5rem, 9vw, 9rem);
  --sc-ink: #F7EFE8; --sc-ink-soft: #F2D9CB; color: var(--sc-ink);
  --sc-accent: #FFF4EC; --sc-accent-ink: var(--masoor);
}
.grading__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: center; }
.tray { margin: 0; }
.tray__frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden;
  background: #EFECE4; box-shadow: 0 2px 4px rgba(40,8,0,.25), 0 24px 50px -12px rgba(40,8,0,.5), inset 0 0 0 1px rgba(0,0,0,.06);
}
.tray__frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tray__after { position: absolute; inset: 0; }
.tray__after::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: rgba(255,255,255,.0); }
.tray figcaption { margin-top: 1rem; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); max-width: 52ch; }
.grading__copy h2 { max-width: 12ch; }
.products { margin: 2.4rem 0 0; }
.products div { padding: 1.3rem 0; border-top: 1px solid rgba(255,240,230,.28); }
.products dt { font: 600 var(--sc-t-xl)/1.1 var(--sc-font-display); font-variation-settings: "opsz" 48; letter-spacing: -.01em; }
.products dd { margin: .5rem 0 0; color: var(--sc-ink-soft); max-width: 40ch; }
/* Real product photos: a sample dish of Chanti, a loose heap of Dal. */
.product { display: grid; grid-template-columns: clamp(6.5rem, 9vw, 8.5rem) 1fr; column-gap: clamp(1.1rem, 2vw, 1.8rem); align-items: center; }
.product__img { grid-row: 1 / span 2; width: 100%; height: auto; }
.product dt { align-self: end; }
.product dd { align-self: start; }
.product__img--chanti {
  aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 0 5px #F7EFE8, 0 3px 6px rgba(40,8,0,.3), 0 16px 30px -10px rgba(40,8,0,.55);
  width: 88%; justify-self: center;
}
.product__img--dal { filter: drop-shadow(0 10px 14px rgba(40,8,0,.45)); }
@media (max-width: 860px) { .grading__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ label */
.label { background: var(--paper); padding-block: clamp(5rem, 9vw, 9rem); }
.label__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 7rem) clamp(2.5rem, 6vw, 7rem); align-items: start; }
.label__copy h2 { max-width: 11ch; }
.panel {
  border: 2px solid var(--navy); border-radius: 4px; padding: 1.2rem 1.4rem 1rem; background: #fff;
  box-shadow: var(--sc-e2); max-width: 30rem;
}
.panel__title { margin: 0; padding-bottom: .7rem; border-bottom: 6px solid var(--navy); font-weight: 700; font-size: var(--sc-t-lg); letter-spacing: -.01em; }
.panel__title span { display: block; font-weight: 400; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.panel__lead { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .9rem 0 .7rem; border-bottom: 2px solid var(--navy); }
.panel__big { font: 600 clamp(3.4rem, 2rem + 4vw, 5.6rem)/.9 var(--sc-font-display); font-variation-settings: "opsz" 144; letter-spacing: -.03em; color: var(--red-on-light); font-variant-numeric: tabular-nums; }
.panel__big small { font-size: .38em; margin-left: .12em; letter-spacing: 0; color: var(--navy); }
.panel__name { font-weight: 600; font-size: var(--sc-t-lg); }
.panel__rows { width: 100%; border-collapse: collapse; }
.panel__rows th, .panel__rows td { padding: .62rem 0; border-bottom: 1px solid rgba(19,33,58,.18); font-size: var(--sc-t-base); }
.panel__rows tr:last-child :is(th, td) { border-bottom: 0; }
.panel__rows th { text-align: left; font-weight: 500; }
.panel__rows td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.facts { grid-column: 1 / -1; list-style: none; margin: 0; padding: 1.6rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; border-top: 1px solid var(--sc-hairline-strong); }
.facts li { font-size: var(--sc-t-sm); color: var(--sc-ink); }
.facts li > span:first-child { display: block; font-size: var(--sc-t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--sc-ink-soft); margin-bottom: .35rem; }
@media (max-width: 860px) { .label__grid { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr 1fr; } }

/* ----------------------------------------------------------------- brands */
.brands { background: var(--navy); }
.brands__stage { background: var(--navy); color: #EEEDE8; --sc-ink: #EEEDE8; --sc-ink-soft: #A9B4C6; --sc-accent: var(--red-on-dark); --sc-accent-ink: #1A0D06; --sc-hairline: rgba(238,237,232,.14); display: flex; align-items: center; }
.rail { gap: clamp(2rem, 4vw, 4.5rem); padding-inline: var(--sc-gutter); align-items: center; }
.rail__lead { flex: none; width: min(28rem, 80vw); }
.rail__lead .sc-body { margin-top: 1.4rem; }
.rail__end { flex: none; width: min(22rem, 76vw); }
.rail__end .textlink { margin-top: 1.2rem; display: inline-block; }
.bag { flex: none; width: clamp(15rem, 21vw, 19rem); }
.bag__img { height: min(52vh, 27rem); display: flex; align-items: flex-end; justify-content: center; }
.bag__img img { max-height: 100%; width: auto; height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,.3), 0 28px 50px -16px rgba(0,0,0,.6); }
.bag h3 { margin: 1.4rem 0 0; font: 600 var(--sc-t-xl)/1 var(--sc-font-display); font-variation-settings: "opsz" 60; letter-spacing: -.01em; }
.bag__spec { margin: .8rem 0 0; font-size: var(--sc-t-sm); }
.bag__spec div { display: grid; grid-template-columns: 6.2rem 1fr; gap: .6rem; padding: .35rem 0; border-top: 1px solid var(--sc-hairline); }
.bag__spec dt { color: var(--sc-ink-soft); }
.bag__spec dd { margin: 0; }
.pick {
  margin-top: 1rem; cursor: pointer; padding: .62rem .9rem; border-radius: var(--radius);
  font: 600 var(--sc-t-xs)/1 var(--sc-font-text); letter-spacing: .03em;
  background: transparent; color: #EEEDE8; border: 1px solid rgba(238,237,232,.4);
  transition: background-color 150ms var(--sc-ease-out), color 150ms var(--sc-ease-out), border-color 150ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.pick:hover { border-color: #EEEDE8; }
.pick:active { transform: scale(.97); }
.pick[aria-pressed="true"] { background: var(--red-on-dark); border-color: var(--red-on-dark); color: #1A0D06; }
@media (prefers-reduced-motion: no-preference) {
  .rail > .bag { opacity: clamp(.55, calc(var(--sc-p, 0) * 6 - var(--i, 0) * .9 + 1), 1); }
}
@media (max-width: 760px) {
  .bag { width: 68vw; }
  .bag__img { height: 40vh; }
}
@media (prefers-reduced-motion: reduce) {
  .brands__stage { align-items: center; }
}

/* --------------------------------------------------------------- dispatch */
.dispatch { background: var(--bone); padding-top: clamp(4.5rem, 6vw, 6rem); min-height: 100vh; display: flex; flex-direction: column; }
.dispatch__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.dispatch__copy h2 { max-width: 11ch; }
.dispatch__copy .sc-body { margin-top: 1.4rem; }
.contact { margin-top: 2.4rem; font-style: normal; border-top: 1px solid var(--sc-hairline-strong); padding-top: 1.4rem; }
.contact p { margin: 0 0 1rem; }
.contact__name { font: 600 var(--sc-t-lg)/1.2 var(--sc-font-display); font-variation-settings: "opsz" 40; }
.contact__name span { font: 400 var(--sc-t-sm) var(--sc-font-text); color: var(--sc-ink-soft); }
.contact a:not(.textlink) { font-weight: 600; }

.slip {
  position: relative; background: #FBFAF7; border-radius: 4px; padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 1px 2px rgba(19,33,58,.12), 0 20px 44px -18px rgba(19,33,58,.35);
}
.slip::before { /* perforated top edge: it is a slip torn off a pad */
  content: ""; position: absolute; left: 0; right: 0; top: -5px; height: 10px;
  background: radial-gradient(circle at 8px 0, var(--bone) 5px, transparent 5.5px) 0 5px / 16px 10px repeat-x;
}
.slip__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px dashed rgba(19,33,58,.35); flex-wrap: wrap; }
.slip__title { margin: 0; font: 600 var(--sc-t-xl)/1 var(--sc-font-display); font-variation-settings: "opsz" 60; }
.slip__from { margin: 0; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); letter-spacing: .06em; text-transform: uppercase; }
.slip__set { border: 0; padding: 0; margin: 1.3rem 0 0; }
.slip__set legend { padding: 0; font-size: var(--sc-t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--sc-ink-soft); margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: .62rem .95rem; border-radius: var(--radius); font-size: var(--sc-t-sm); font-weight: 500;
  border: 1px solid rgba(19,33,58,.28); background: #fff;
  transition: background-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out);
}
.chips label:hover span { border-color: var(--navy); }
.chips input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips input:focus-visible + span { outline: 2px solid var(--red-on-light); outline-offset: 2px; }
.slip__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: .9rem; margin-top: 1.1rem; }
.slip__row--2 { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .4rem; }
.field > span { font-size: var(--sc-t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--sc-ink-soft); }
.field input, .field select {
  width: 100%; min-height: 2.9rem; padding: .6rem .8rem; border-radius: var(--radius);
  border: 1px solid rgba(19,33,58,.3); background: #fff; color: var(--navy);
  transition: border-color 140ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out);
}
.field input:hover, .field select:hover { border-color: rgba(19,33,58,.6); }
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(178,58,21,.35); }
.field input[aria-invalid="true"] { border-color: var(--red-on-light); box-shadow: 0 0 0 1px var(--red-on-light); }
.slip__send { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px dashed rgba(19,33,58,.35); }
.slip__status { margin: .9rem 0 0; min-height: 1.4em; font-size: var(--sc-t-sm); font-weight: 500; }
.slip__status.is-error { color: var(--red-on-light); }
.slip__fine { margin: .2rem 0 0; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
@media (max-width: 860px) {
  .dispatch__grid { grid-template-columns: 1fr; }
  .slip__row, .slip__row--2 { grid-template-columns: 1fr 1fr; }
  .slip__row > :first-child:nth-last-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .slip__row--2 { grid-template-columns: 1fr; } }

.foot {
  margin-top: auto; padding: clamp(2rem, 4vw, 3rem) var(--sc-gutter) 1.4rem;
  display: flex; justify-content: space-between; gap: .4rem 2rem; flex-wrap: wrap;
  font-size: var(--sc-t-xs); color: var(--sc-ink-soft);
}
.foot p { margin: 0; }
