/* Bibars design system. Decisions are recorded in DESIGN.md. */

@font-face {
  font-family: 'Caveat';
  src: url('/fonts/caveat-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Young Serif';
  src: url('/fonts/young-serif-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/hanken-grotesk-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --cream: #f9f8f3;
  --sand: #efece2;
  --white: #fff;
  --ink: #16150f;
  --ink-soft: #2b2a23;
  --ink-muted: #55534a;
  --on-ink: #f5f2e9;
  --on-ink-muted: #cfc9ba;
  --gold: #c59b27;
  --gold-text: #7c5a07;
  --burgundy: #8b1e22;
  --line: rgba(22, 21, 15, 0.14);
  --line-on-ink: rgba(245, 242, 233, 0.2);
  --field-line: rgba(22, 21, 15, 0.45);
  --tile: #fff;
  --map-icon: none;

  /* These stay the same in both themes: bands, gold and wine are the brand. */
  --night: #16150f;
  --wine: #8b1e22;
  --on-wine: #f7e9e3;
  --gold-hover: #d6ad3c;
  --night-raise: #27251d;

  --map-land: #f9f8f3;
  --map-water: #cdd8d6;
  --map-park: #eceadf;
  --map-road: #e6e3d7;
  --map-fill: #f1efe6;
  --map-label: #55534a;

  --hand: 'Caveat', 'Bradley Hand', cursive;
  --sub: 'Young Serif', Georgia, serif;
  --sans: 'Hanken Grotesk', Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header: 72px;
  --space-section: clamp(72px, 11vw, 160px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-sine: cubic-bezier(0.37, 0, 0.63, 1);
  --hero-dwell: 6500ms;
  --size-title: clamp(3rem, 5.8vw, 5.25rem);
  --size-heading: clamp(2.5rem, 3.8vw, 3.5rem);
}

:root { color-scheme: light; }

/* Dark theme: the visitor's device decides until they use the switch. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --cream: #1d1c15;
    --sand: #28271e;
    --white: #fff;
    --ink: #f5f2e9;
    --ink-soft: #e2ddcf;
    --ink-muted: #bab4a5;
    --gold-text: #e3bd52;
    --burgundy: #f2a79b;
    --line: rgba(245, 242, 233, 0.16);
    --field-line: rgba(245, 242, 233, 0.4);
    --map-icon: invert(1);
    --map-land: #24231b;
    --map-water: #131a1a;
    --map-park: #2a2920;
    --map-road: #38362b;
    --map-fill: #2c2b22;
    --map-label: #bab4a5;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --cream: #1d1c15;
  --sand: #28271e;
  --white: #fff;
  --ink: #f5f2e9;
  --ink-soft: #e2ddcf;
  --ink-muted: #bab4a5;
  --gold-text: #e3bd52;
  --burgundy: #f2a79b;
  --line: rgba(245, 242, 233, 0.16);
  --field-line: rgba(245, 242, 233, 0.4);
  --map-icon: invert(1);
  --map-land: #24231b;
  --map-water: #131a1a;
  --map-park: #2a2920;
  --map-road: #38362b;
  --map-fill: #2c2b22;
  --map-label: #bab4a5;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 64px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
ul[role='list'], ol { list-style: none; }
p { margin: 0; }
dl, dd { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

::selection { background: var(--gold); color: var(--night); }

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

.site-header :focus-visible, .hero :focus-visible, .route-section :focus-visible,
.page-head :focus-visible, .cta :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

h1, h2, h3, h4, .btn, label, legend, summary, .site-nav, .site-footer h2 {
  font-family: var(--sans);
}

h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--hand); font-weight: 700; line-height: 1; }
h1 { font-size: clamp(2.75rem, 5.6vw, 5rem); }
h2 { font-size: clamp(2.5rem, 4.4vw, 3.75rem); }
.split h2 { font-size: var(--size-heading); }
h3, h4 { font-family: var(--sub); font-weight: 400; letter-spacing: -0.005em; }
h3 { font-size: 1.3rem; line-height: 1.2; }
h4 { font-size: 1.02rem; line-height: 1.25; }

.lead { margin-top: 16px; max-width: 62ch; font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; }
.note { margin-top: 12px; color: var(--ink-muted); font-size: 0.975rem; }
.note a { color: var(--ink); }

.wrap { width: min(100%, calc(var(--wrap) + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 30;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--night);
  font-family: var(--sans);
  font-weight: 650;
}
.skip:focus { top: 8px; }

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 650;
  font-stretch: 95%;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn[disabled] { cursor: progress; opacity: 0.7; }
.btn--small { min-height: 42px; padding: 8px 16px; font-size: 0.95rem; }
.btn--gold { background: var(--gold); color: var(--night); }
.btn--ghost { border-color: var(--line-on-ink); color: var(--on-ink); }
.btn--outline { border-color: var(--ink); background: none; color: var(--ink); }
.btn--light { background: var(--cream); color: var(--ink); }

.link {
  display: inline-block;
  margin-top: 20px;
  color: var(--burgundy);
  font-family: var(--sans);
  font-weight: 650;
  font-stretch: 95%;
  text-decoration: underline;
  text-decoration-color: currentColor;
  transition: color 160ms ease;
}
.link--light { color: var(--gold); margin-top: 32px; }
.link--small { margin-top: 8px; font-size: 0.925rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { background: var(--gold-hover); }
  .btn--ghost:hover { border-color: var(--on-ink); }
  .btn--outline:hover { background: var(--night); color: var(--cream); }
  .btn--light:hover { background: var(--white); }
  .link:hover { text-decoration-thickness: 2px; }
  .site-nav__links a:hover { color: var(--on-ink); }
  .site-nav__links a:hover::after { transform: scaleX(1); }
  .lang a:not([aria-current]):hover { color: var(--on-ink); }
  .site-footer :is(ul, .site-footer__legal) a:hover { color: var(--gold); }
  .theme-toggle:hover { background: var(--night-raise); color: var(--on-ink); }
  .jump a:hover { color: var(--burgundy); }
  .product:hover .product__img { transform: translateY(-6px); }
  .page-head__pause:hover { border-color: var(--on-ink); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--night);
  color: var(--on-ink);
}
.site-header__bar { display: flex; align-items: center; gap: 12px; min-height: var(--header); }
.site-header__logo { flex: none; margin-right: auto; }
.site-header__logo img { width: 112px; height: auto; }
.site-header__quick { display: none; }

/* The full bar: links beside the logo, the tools and the one action at the far edge. */
.site-nav { flex: 1; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); margin-left: clamp(16px, 5vw - 30px, 56px); font-weight: 550; font-size: 0.975rem; }
.site-nav__links { display: flex; gap: clamp(14px, 2.4vw - 4px, 30px); margin-right: auto; list-style: none; }
.site-nav__links a { position: relative; display: block; padding: 10px 0; color: var(--on-ink-muted); white-space: nowrap; text-decoration: none; transition: color 160ms ease; }
.site-nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease-out);
}
.site-nav__links a[aria-current='page'] { color: var(--on-ink); }
.site-nav__links a[aria-current='page']::after { transform: scaleX(1); }

.site-nav__tools { display: flex; align-items: center; gap: 6px; }
.lang { display: flex; padding: 3px; background: var(--night-raise); font-size: 0.85rem; font-weight: 650; }
.lang a { display: grid; place-items: center; min-width: 36px; min-height: 32px; color: var(--on-ink-muted); text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.lang a[aria-current='true'] { background: var(--on-ink); color: var(--night); }

.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--on-ink-muted); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle svg { fill: currentColor; }
.theme-toggle__moon { display: none; }
.theme-toggle[aria-pressed='true'] .theme-toggle__sun { display: none; }
.theme-toggle[aria-pressed='true'] .theme-toggle__moon { display: block; }

.site-nav__cta { flex: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 6px 0 10px;
  border: 0;
  background: none;
  color: var(--on-ink);
  font: 600 1rem var(--sans);
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.nav-toggle:active { transform: scale(0.97); }
.nav-toggle__label { order: -1; min-width: 3.6em; text-align: right; }
.nav-toggle__icon { position: relative; width: 20px; height: 12px; }
.nav-toggle__icon span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform 260ms var(--ease-out); }
.nav-toggle__icon span:first-child { top: 0; }
.nav-toggle__icon span:last-child { top: 10px; }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:first-child { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:last-child { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 919px) {
  .site-header__quick { display: inline-flex; }
  .js .nav-toggle { display: inline-flex; }

  /* Without script the links stay on the page as a plain list under the bar. */
  .site-header__bar { flex-wrap: wrap; }
  .site-nav { order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 28px; margin-left: 0; padding-bottom: 28px; }
  .site-nav__links { flex-direction: column; gap: 0; margin-right: 0; }
  .site-nav__links a { padding: 12px 0; color: var(--on-ink); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
  .site-nav__links a::after { display: none; }
  .site-nav__links a[aria-current='page'] { color: var(--gold); }
  .site-nav__cta { order: 2; align-self: flex-start; width: min(100%, 360px); min-height: 52px; font-size: 1.05rem; }
  .site-nav__tools { order: 3; gap: 12px; }
  .lang a { min-width: 48px; min-height: 40px; }
  .theme-toggle { width: 46px; height: 46px; background: var(--night-raise); }

  /* With script it is a sheet that drops from the bar over a dimmed page. */
  .js .site-nav {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header));
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--night);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 150ms ease, transform 150ms var(--ease-out), visibility 0s linear 150ms;
  }
  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 220ms var(--ease-out), transform 280ms var(--ease-out), visibility 0s;
  }
  .js .site-nav :is(.site-nav__links li, .site-nav__cta, .site-nav__tools) {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 120ms ease, transform 120ms ease;
  }
  .js .site-nav.is-open :is(.site-nav__links li, .site-nav__cta, .site-nav__tools) {
    opacity: 1;
    transform: none;
    transition: opacity 260ms var(--ease-out), transform 320ms var(--ease-out);
  }
  .js .site-nav.is-open li:nth-child(2) { transition-delay: 35ms; }
  .js .site-nav.is-open li:nth-child(3) { transition-delay: 70ms; }
  .js .site-nav.is-open li:nth-child(4) { transition-delay: 105ms; }
  .js .site-nav.is-open li:nth-child(5) { transition-delay: 140ms; }
  .js .site-nav.is-open .site-nav__cta { transition-delay: 175ms; }
  .js .site-nav.is-open .site-nav__tools { transition-delay: 210ms; }

  body::after {
    content: '';
    position: fixed;
    inset: var(--header) 0 0;
    z-index: 19;
    background: rgba(22, 21, 15, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }
  .nav-open body::after { opacity: 1; pointer-events: auto; }
  .nav-open { overflow: hidden; }
}

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: end;
  min-height: clamp(620px, calc(100svh - var(--header)), 820px);
  background: var(--night);
  color: var(--on-ink);
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  animation: hero-open 1100ms var(--ease-out-expo) both;
}
.hero__media::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(to top, rgb(22, 21, 15) 38%, rgba(22, 21, 15, 0.6) 52%, rgba(22, 21, 15, 0) 72%); /* taste-skill-ignore: scrim over a photo */
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1400ms ease;
}
.hero__slide.is-active { z-index: 1; opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 62%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transform-origin: var(--focus, 50% 50%);
}
.hero__slide.is-active img, .hero__slide.is-leaving img { animation: hero-drift 9000ms linear both; }
.hero.is-paused .hero__slide img, .hero.is-paused .hero__tick span { animation-play-state: paused; }

.hero__slide--hero-legs { --focus: 73% 40%; }
.hero__slide--hero-beef { --focus: 92% 45%; }
.hero__slide--hero-boards { --focus: 57% 50%; }
.hero__slide--hero-wings { --focus: 100% 40%; }
.hero__slide--hero-whole { --focus: 46% 42%; }
.hero__slide--hero-spiced { --focus: 79% 40%; }

.hero__content { position: relative; z-index: 3; padding-block: 32px 72px; }
.hero__mark { width: 104px; height: auto; margin-bottom: 8px; animation: hero-fade 700ms 80ms ease both; }

.hero h1 { color: var(--on-ink); font-size: clamp(3.5rem, 8.4vw, 6.75rem); }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero__line > * { display: block; animation: hero-line 900ms var(--ease-out-expo) both; }
.hero__line:nth-child(2) > * { animation-delay: 90ms; }
.hero h1 em { color: var(--gold); font-style: normal; }

.hero__rise { animation: hero-rise 800ms 220ms var(--ease-out-expo) both; }
.hero__lead { margin-top: 14px; max-width: 30ch; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.3; }
.hero__sub { margin-top: 6px; color: var(--on-ink-muted); font-size: 1.05rem; }
.hero .actions { margin-top: 20px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 18px; color: var(--on-ink-muted); font-size: 0.9rem; font-weight: 550; }
.hero__badges li { position: relative; }
.hero__badges li + li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -10px;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__controls {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__controls[hidden] { display: none; }
.hero__ticks { display: flex; }
.hero__tick { display: flex; align-items: center; width: 34px; height: 44px; padding: 0 3px; border: 0; background: none; cursor: pointer; }
.hero__tick span { position: relative; display: block; width: 100%; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(245, 242, 233, 0.32); }
.hero__tick span::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero__tick[aria-current='true'] span { background: rgba(245, 242, 233, 0.72); }
.hero__tick[aria-current='true'] span::after { animation: hero-tick var(--hero-dwell) linear both; }
.hero.is-paused .hero__tick span::after { animation-play-state: paused; }
.hero__pause {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-on-ink);
  border-radius: 50%;
  background: rgba(22, 21, 15, 0.55);
  color: var(--on-ink);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 160ms ease;
}
.hero__pause:active { transform: scale(0.94); }
.hero__pause path { fill: currentColor; }
.hero__icon-play { display: none; }
.hero__pause[aria-pressed='true'] .hero__icon-pause { display: none; }
.hero__pause[aria-pressed='true'] .hero__icon-play { display: block; }

/* Packs sit on the photo on phones and overlap the hero's bottom edge above that. */
.hero__packs {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: var(--gutter);
  width: 128px;
  aspect-ratio: 1;
  pointer-events: none;
}
.hero__pack {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  opacity: 0;
  transform: translateY(20px) rotate(-3deg);
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.5)); /* taste-skill-ignore: the pack floats over the photo */
  transition: opacity 600ms ease, transform 900ms var(--ease-out-expo);
}
.hero__pack.is-active { opacity: 1; transform: translateY(0) rotate(-3deg); }

@keyframes hero-open { from { clip-path: inset(0 0 16% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-line { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-tick { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (min-width: 760px) {
  .hero { --pack-size: clamp(200px, 21vw, 300px); }
  .hero__mark { width: 132px; }
  .hero__content { padding-block: 40px 76px; }
  .hero__slide img { height: 100%; }
  .hero__packs {
    top: auto;
    right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + 8px));
    bottom: -40px;
    width: var(--pack-size);
  }
  .hero__badges { max-width: calc(100% - var(--pack-size)); }
  .hero__controls { right: auto; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 10px; }
  .hero__media::after {
    background:
      linear-gradient(to right, rgba(22, 21, 15, 0.82), rgba(22, 21, 15, 0.42) 40%, rgba(22, 21, 15, 0) 66%), /* taste-skill-ignore: scrim over a photo */
      linear-gradient(to top, rgba(22, 21, 15, 0.7), rgba(22, 21, 15, 0) 42%); /* taste-skill-ignore: scrim over a photo */
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero__pause:hover { border-color: var(--on-ink); }
  .hero__tick:hover span { background: rgba(245, 242, 233, 0.6); }
}

/* Route: the one authored motion on the site */
.route-section { overflow-x: clip; padding-block: var(--space-section); background: var(--night); color: var(--on-ink-muted); }
.route-section h2, .route-section h3 { color: var(--on-ink); }
.route-section__link { margin-top: 40px; }

/* The route: one sine curve for line and truck, so each stop lights on arrival.
   Arrival times are the curve's solved values at each stop's share of the line. */
.route-line { --stops: 4; --route-time: 2800ms; position: relative; margin-top: 48px; }
.route-line--three { --stops: 3; }
.route { position: relative; display: grid; gap: 32px; }
.route::before, .route::after {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 2px;
}
.route::before { background: var(--line-on-ink); }
.route::after {
  background: var(--gold);
  transform-origin: top;
  transition: transform var(--route-time) var(--ease-sine);
}
.js .route-line:not(.is-drawn) .route::after { transform: scaleY(0); }

.route__stop {
  position: relative;
  padding-left: 36px;
  transition: opacity 500ms ease var(--arrive, 0ms), transform 600ms var(--ease-out-expo) var(--arrive, 0ms);
}
.route__stop:nth-child(2) { --arrive: calc(var(--route-time) * 0.392); }
.route__stop:nth-child(3) { --arrive: calc(var(--route-time) * 0.608); }
.route__stop:nth-child(4) { --arrive: var(--route-time); }
.route-line--three .route__stop:nth-child(2) { --arrive: calc(var(--route-time) * 0.5); }
.route-line--three .route__stop:nth-child(3) { --arrive: var(--route-time); }
.js .route-line:not(.is-drawn) .route__stop { opacity: 0.3; transform: translateY(10px); }
.route__stop::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 3px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--night); /* taste-skill-ignore: gap in the route line, not a shadow */
  transition: background-color 200ms ease var(--arrive, 0ms);
}
.js .route-line:not(.is-drawn) .route__stop::before { background: var(--ink-soft); }
.route__stop h3 { font-size: 1.3rem; }
.route__stop p { margin-top: 8px; max-width: 34ch; }
.route__stop .route__data {
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 600;
  font-stretch: 95%;
  font-variant-numeric: tabular-nums;
}

.route__truck-track {
  position: absolute;
  z-index: 2;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 2px;
  pointer-events: none;
  transition: transform var(--route-time) var(--ease-sine);
}
.route-line.is-drawn .route__truck-track { transform: translateY(100%); }
.route__truck { position: absolute; top: -12px; left: -21px; overflow: visible; transform: rotate(90deg); }
.js .route-line:not(.is-drawn) .route__truck { opacity: 0; }
.route__truck-box { fill: var(--on-ink); }
.route__truck-cab { fill: var(--gold); }
.route__truck-glass { fill: var(--night); }
.route__truck-wheel { fill: var(--night); stroke: var(--on-ink); stroke-width: 1.5; }
html:not(.js) .route__truck-track { display: none; }

.route-landing { display: grid; gap: 32px; margin-top: 56px; }
.france { display: block; color: var(--on-ink); text-decoration: none; }
.france .link { margin-top: 0; font-family: var(--sub); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 400; line-height: 1.2; }
.france svg { display: block; width: min(100%, 420px); height: auto; margin-bottom: 16px; overflow: visible; }
.france__land { fill: rgba(245, 242, 233, 0.08); stroke: var(--line-on-ink); stroke-width: 1; }
.france__band { fill: var(--gold); transition: opacity 240ms ease; }
.france__band:nth-of-type(2) { transition-delay: 80ms; }
.france__band:nth-of-type(3) { transition-delay: 160ms; }
.france__band:nth-of-type(4) { transition-delay: 240ms; }
.france__band:nth-of-type(5) { transition-delay: 320ms; }
.france__band:nth-of-type(6) { transition-delay: 400ms; }
.france__band:nth-of-type(7) { transition-delay: 480ms; }
.france__band:nth-of-type(8) { transition-delay: 560ms; }
.js .route-landing:not(.is-in) .france__band { opacity: 0; }
.france__pin { fill: var(--on-ink); stroke: var(--night); stroke-width: 1.5; transition: transform 500ms var(--ease-out-expo) 760ms, opacity 200ms ease 760ms; }
.js .route-landing:not(.is-in) .france__pin { opacity: 0; transform: translateY(-28px); }
.route-landing__docks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.route-landing__docks img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: clip-path 800ms var(--ease-out-expo) 300ms; clip-path: inset(0); }
.route-landing__docks img:nth-child(2) { transition-delay: 420ms; }
.js .route-landing:not(.is-in) .route-landing__docks img { clip-path: inset(0 0 100% 0); }

@media (min-width: 900px) {
  .route-line { --route-end: calc((100% - 32px * (var(--stops) - 1)) / var(--stops) - 7px); }
  .route { grid-template-columns: repeat(var(--stops), minmax(0, 1fr)); gap: 32px; padding-top: 36px; }
  .route::before, .route::after { top: 6px; bottom: auto; left: 0; right: var(--route-end); width: auto; height: 2px; }
  .route::after { transform-origin: left; }
  .js .route-line:not(.is-drawn) .route::after { transform: scaleX(0); }
  .route__stop { padding-left: 0; }
  .route__stop::before { top: -36px; }
  .route__truck-track { bottom: auto; left: 0; right: var(--route-end); width: auto; height: 2px; }
  .route-line.is-drawn .route__truck-track { transform: translateX(100%); }
  .route__truck { top: auto; bottom: 3px; left: -22px; transform: none; }
  .route-landing { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
  .route-landing__docks img { aspect-ratio: 4 / 3; }
}

/* Grouped reveals: the first eight cards of a group, 60 ms apart. */
.ranges > :nth-child(-n+8), .buyers > :nth-child(-n+8), .ruled > :nth-child(-n+8),
.ruled-list > :nth-child(-n+8), .products > :nth-child(-n+8), .steps > :nth-child(-n+8),
.stats > :nth-child(-n+8) {
  transition: opacity 500ms ease, transform 600ms var(--ease-out-expo);
}
.js :is(.ranges, .buyers, .ruled, .ruled-list, .products, .steps, .stats):not(.is-in) > :nth-child(-n+8) {
  opacity: 0;
  transform: translateY(24px);
}
:is(.ranges, .buyers, .ruled, .ruled-list, .products, .steps, .stats) > :nth-child(2) { transition-delay: 60ms; }
:is(.ranges, .buyers, .ruled, .ruled-list, .products, .steps, .stats) > :nth-child(3) { transition-delay: 120ms; }
:is(.ranges, .buyers, .ruled, .ruled-list, .products, .steps, .stats) > :nth-child(4) { transition-delay: 180ms; }
:is(.ranges, .buyers, .ruled, .ruled-list, .products, .steps, .stats) > :nth-child(5) { transition-delay: 240ms; }
:is(.ranges, .buyers, .ruled, .ruled-list, .products, .steps, .stats) > :nth-child(6) { transition-delay: 300ms; }
:is(.ranges, .buyers, .ruled, .ruled-list, .products, .steps, .stats) > :nth-child(7) { transition-delay: 360ms; }
:is(.ranges, .buyers, .ruled, .ruled-list, .products, .steps, .stats) > :nth-child(8) { transition-delay: 420ms; }

.stats-field { padding-block: clamp(64px, 8vw, 112px); background: var(--gold); color: var(--night); }
.stats-field h2 { color: var(--night); font-size: var(--size-heading); }
.stats { display: grid; gap: 32px 24px; margin-top: clamp(40px, 7vw, 96px); }
.stats strong { display: block; font-family: var(--sub); font-size: clamp(2.25rem, 3.4vw, 3rem); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.stats span span, .stats strong span { font: inherit; }
.stats li > span { display: block; margin-top: 6px; font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.stats li:first-child strong { font-size: clamp(7.5rem, 15vw, 13.5rem); line-height: 1.05; letter-spacing: -0.03em; }
.stats li:first-child > span { margin-top: 8px; font-size: 1.15rem; }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats li:first-child { grid-column: 1 / -1; }
@media (max-width: 559px) { .stats { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 900px) {
  .stats { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); grid-auto-rows: auto; align-items: end; }
  .stats li:first-child { grid-column: 1; grid-row: 1 / span 3; }
  .stats li:not(:first-child) { grid-column: 2; }
}

/* Ranges: the title holds while the photographs pass. */
.ranges-stage { display: grid; gap: 32px; }
.ranges-stage .ranges { margin-top: 0; gap: clamp(40px, 5vw, 72px); }
.ranges-stage .range img { aspect-ratio: 16 / 10; }
.ranges-stage .range h3 { margin-top: 16px; font-size: clamp(1.4rem, 2vw, 1.75rem); }
@media (min-width: 900px) {
  .ranges-stage { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
  .ranges-stage h2 { position: sticky; top: calc(var(--header) + 40px); font-size: var(--size-title); }
}

/* Buyers run edge to edge. */
.buyers-section { padding-bottom: 0; }
.buyers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 56px); }
.buyers img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.buyers h3 { padding: 14px var(--gutter) clamp(24px, 3vw, 40px); font-size: 1.25rem; }
@media (min-width: 900px) {
  .buyers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .buyers li:first-child h3 { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
}

/* Tremblay: the whole photograph, one solid card on it. */
.place { position: relative; overflow: hidden; background: var(--night); }
.place__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.place__card { position: relative; padding: 28px 0 40px; }
.place__card .link { margin-top: 16px; }
.place__card h2 { font-size: var(--size-heading); }
.place .wrap { background: var(--cream); }
@media (min-width: 900px) {
  .place { display: grid; align-items: end; min-height: clamp(600px, 94svh, 920px); }
  .place__photo { position: absolute; inset: -12px 0 auto; height: calc(100% + 24px); aspect-ratio: auto; }
  .place .wrap { background: none; }
  .place__card { width: min(100%, 560px); margin-bottom: clamp(32px, 5vw, 72px); padding: clamp(28px, 3vw, 44px); background: var(--cream); }
}

@keyframes float { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.float.is-floating { animation: float 3000ms var(--ease-sine) infinite alternate; }

/* Sections */
.section { padding-block: var(--space-section); }
.section--sand { background: var(--sand); }

.split { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .split--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
.split--media img, .split--media video { width: 100%; background: var(--night); }
.split--media video { max-height: 560px; object-fit: contain; }
.split--media .btn { margin-top: 24px; }

.prose { max-width: calc(68ch + var(--gutter) * 2); margin-inline: 0; }
.prose p + p { margin-top: 16px; }
.prose h2 { margin-top: 40px; margin-bottom: 12px; font-size: 1.75rem; }
.prose h2:first-child { margin-top: 0; }
@media (min-width: 900px) {
  .prose--columns { max-width: none; font-size: 1.2rem; }
  .prose--columns { columns: 2; column-gap: 64px; }
  .prose--columns .link { break-before: avoid; }
}

.page-head { padding-block: clamp(40px, 6vw, 72px); background: var(--night); color: var(--on-ink-muted); }
.page-head h1 { color: var(--on-ink); }
.page-head--photos { position: relative; overflow: hidden; }
.page-head--photos .wrap { position: relative; z-index: 2; }
.page-head__media { position: absolute; inset: 0; }
.page-head__media::after { content: ''; position: absolute; z-index: 2; inset: 0; background: linear-gradient(to right, rgba(22, 21, 15, 0.92), rgba(22, 21, 15, 0.62) 60%, rgba(22, 21, 15, 0.3)); } /* taste-skill-ignore: scrim over a photo */
.page-head__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1400ms ease; }
.page-head__slide.is-active { z-index: 1; opacity: 1; }
.page-head__slide img { width: 100%; height: 100%; object-fit: cover; }
.page-head__pause {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-on-ink);
  border-radius: 50%;
  background: rgba(22, 21, 15, 0.55);
  color: var(--on-ink);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 160ms ease;
}
.page-head__pause[hidden] { display: none; }
.page-head__pause:active { transform: scale(0.94); }
.page-head__pause path { fill: currentColor; }
.page-head__icon-play { display: none; }
.page-head__pause[aria-pressed='true'] .page-head__icon-pause { display: none; }
.page-head__pause[aria-pressed='true'] .page-head__icon-play { display: block; }
.page-head--logo .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.page-head--logo img { width: 148px; padding: 12px; background: var(--tile); }
.cert { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.cert__logo { width: 148px; padding: 12px; background: var(--tile); }
.cert p { flex: 1 1 260px; }

.ruled { color: var(--ink); font-family: var(--sub); font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.25; }
.ruled li + li { margin-top: clamp(16px, 2vw, 26px); }

.ruled-list { display: grid; gap: 8px; }
.ruled-list > div { padding: 20px 24px; background: var(--sand); }
.section--sand .ruled-list > div { background: var(--cream); }
.ruled-list dt { color: var(--ink); font-family: var(--sans); font-size: 1.1rem; font-weight: 650; font-stretch: 95%; }
.ruled-list dd { margin-top: 4px; }

/* Home ranges */
.ranges { display: grid; gap: 32px; margin-top: 32px; }
.range img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.range h3 { margin-top: 16px; font-size: 1.4rem; }
.range p { margin-top: 8px; max-width: 52ch; }
.range .link { margin-top: 12px; }

@media (min-width: 900px) {
  .ranges--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Quality steps */
.steps { display: grid; gap: 8px; margin-top: 32px; counter-reset: step; }
.steps li { position: relative; padding: 20px 24px 20px 56px; background: var(--cream); counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 21px;
  left: 24px;
  color: var(--gold-text);
  font-family: var(--sans);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.steps p { margin-top: 4px; }
.steps .data { color: var(--gold-text); font-family: var(--sans); font-weight: 650; font-stretch: 95%; font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.steps + .note { margin-top: 24px; color: var(--ink); font-size: 1.1rem; }

/* FAQ */
.faq details { padding-inline: 24px; background: var(--sand); }
.faq details + details { margin-top: 8px; }
.section--sand .faq details { background: var(--cream); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  font-stretch: 95%;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-text); font-weight: 500; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding-bottom: 16px; max-width: 62ch; }

/* Products */
.jump {
  position: sticky;
  top: var(--header);
  z-index: 10;
  background: var(--sand);
}
.jump ul { position: relative; display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.jump__bar { position: absolute; bottom: 0; left: 0; width: 100px; height: 2px; background: var(--gold); opacity: 0; transform-origin: left; transition: transform 260ms var(--ease-out), opacity 200ms ease; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a {
  display: block;
  padding-block: 14px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.975rem;
  font-weight: 600;
  font-stretch: 95%;
  white-space: nowrap;
  text-decoration: none;
  transition: color 160ms ease;
}

.product-group { margin-top: clamp(48px, 6vw, 80px); }
.product-group > h3 { font-size: 1.5rem; }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 20px; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.product { min-width: 0; }
.product__img { transition: transform 200ms var(--ease-out); }
.product__img {
  width: 100%;
  aspect-ratio: 1;
  padding: 12px;
  object-fit: contain;
  background: var(--tile);
}
.product h4 { margin-top: 10px; overflow-wrap: anywhere; }
.product p { margin-top: 2px; color: var(--ink-muted); font-size: 0.95rem; line-height: 1.4; }
.product .product__pack { color: var(--gold-text); font-family: var(--sans); font-size: 0.875rem; font-weight: 600; font-stretch: 95%; font-variant-numeric: tabular-nums; }

/* Store finder */
.finder { margin-top: 32px; }
.finder__controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: end; }
.finder__controls .field { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .finder__controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto; }
  .finder__controls .field { grid-column: auto; }
}
.finder__count { padding-bottom: 12px; color: var(--ink); font-family: var(--sans); font-weight: 600; font-variant-numeric: tabular-nums; }
.finder__empty { margin-top: 24px; font-size: 1.1rem; }
.stores { display: grid; gap: 4px 32px; margin-top: 24px; }
@media (min-width: 640px) { .stores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .stores { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.store { padding: 14px 12px; }
.store[hidden] { display: none; }
.store h3 { font-size: 1.05rem; overflow-wrap: anywhere; }
.store p { margin-top: 4px; font-size: 0.975rem; line-height: 1.4; }

/* The frame takes any shape. The map refits France to whatever it gets. */
.finder__error { margin-top: 16px; color: var(--ink-muted); }
.finder__reset[hidden], .finder__view[hidden], .finder__map[hidden], .store__show[hidden] { display: none; }
.finder__view { display: inline-flex; margin-top: 20px; padding: 3px; background: var(--sand); }
.finder__view button { min-width: 88px; min-height: 44px; padding: 0 16px; border: 0; background: none; color: var(--ink-soft); font: 600 0.95rem var(--sans); cursor: pointer; }
.finder__view button[aria-pressed='true'] { background: var(--gold); color: var(--night); }
.finder__map {
  position: relative;
  isolation: isolate;
  height: clamp(420px, 68svh, 620px);
  margin-top: 16px;
  overflow: hidden;
  background: var(--sand);
}
/* MapLibre's stylesheet loads later and sets position: relative on this element. */
.finder__canvas { width: 100%; height: 100%; }
.finder__overseas {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  font: 600 0.9rem var(--sans);
  cursor: pointer;
}
.store__show { display: inline-block; min-height: 44px; margin-left: 16px; padding: 0; border: 0; background: none; color: var(--gold-text); font: 600 0.95rem var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.store.is-selected { background: var(--sand); box-shadow: inset 4px 0 var(--gold); } /* taste-skill-ignore: thick selection bar */
.finder .maplibregl-popup-content { padding: 12px 30px 12px 14px; border-radius: 0; background: var(--cream); color: var(--ink-soft); font-family: var(--sans); box-shadow: 0 8px 24px rgba(22, 21, 15, 0.2); } /* taste-skill-ignore: a popup truly floats */
.finder .maplibregl-popup-tip { border-top-color: var(--cream); border-bottom-color: var(--cream); }
.finder .maplibregl-popup-close-button { color: var(--ink); }
.finder .maplibregl-popup-content h3 { font-size: 1.02rem; overflow-wrap: anywhere; }
.finder .maplibregl-popup-content p { margin-top: 4px; font-size: 0.92rem; line-height: 1.35; }
.finder .maplibregl-popup-close-button { width: 30px; height: 30px; font-size: 1.2rem; }
.finder .maplibregl-ctrl-group button { width: 36px; height: 36px; }
.finder .maplibregl-ctrl-group, .finder .maplibregl-ctrl-group:not(:empty) { border-radius: 0; background: var(--cream); box-shadow: none; } /* taste-skill-ignore: map control */
.finder .maplibregl-ctrl-group button + button { border-top-color: var(--line); }
.finder .maplibregl-ctrl-icon { filter: var(--map-icon); }
/* The compact pill is a two-class rule in the MapLibre sheet, which loads after this one, so these selectors match its weight plus one. */
.finder .maplibregl-ctrl-attrib, .finder .maplibregl-ctrl-attrib.maplibregl-compact { background: var(--cream); color: var(--ink-muted); }
.finder .maplibregl-ctrl-attrib a { color: var(--ink-soft); }
.finder .maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-button, .finder .maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button { background-color: transparent; filter: var(--map-icon); }

@media (max-width: 767px) {
  .finder--map[data-view='map'] .stores { display: none; }
  .finder--map[data-view='list'] .finder__map { display: none; }
}
@media (min-width: 768px) {
  .finder__view { display: none; }
  .finder--map .finder__layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr);
    gap: 24px;
    height: clamp(480px, 74svh, 720px);
    margin-top: 24px;
  }
  .finder--map .finder__map { height: 100%; margin-top: 0; }
  .finder--map .stores { grid-template-columns: minmax(0, 1fr); margin-top: 0; overflow-y: auto; overscroll-behavior: contain; align-content: start; }
}

/* Head-office map: a cover with the address until the visitor asks for the map. */
.hq-map { position: relative; isolation: isolate; height: clamp(220px, 32svh, 300px); margin-top: 20px; overflow: hidden; background: var(--sand); }
.hq-map__canvas { width: 100%; height: 100%; }
.hq-map__cover { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center; }
.hq-map__address { color: var(--ink); font-weight: 600; }
.hq-map__note { max-width: 32ch; color: var(--ink-muted); font-size: 0.88rem; }
.hq-map.is-loaded .hq-map__cover { display: none; }
.hq-map .maplibregl-ctrl-group, .hq-map .maplibregl-ctrl-group:not(:empty) { border-radius: 0; background: var(--cream); box-shadow: none; } /* taste-skill-ignore: map control */
.hq-map .maplibregl-ctrl-icon { filter: var(--map-icon); }
.hq-map .maplibregl-ctrl-attrib, .hq-map .maplibregl-ctrl-attrib.maplibregl-compact { background: var(--cream); color: var(--ink-muted); }
.hq-map .maplibregl-ctrl-attrib a { color: var(--ink-soft); }
.hq-map .maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-button, .hq-map .maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button { background-color: transparent; filter: var(--map-icon); }
.place__card .hq-map + .link { margin-top: 12px; }

/* Forms */
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field label, .field legend { color: var(--ink); font-size: 0.975rem; font-weight: 600; font-stretch: 95%; }
input:not([type='checkbox']), select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--field-line);
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
  transition: border-color 160ms ease;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
[aria-invalid='true'] { border-color: var(--burgundy) !important; }
input[type='checkbox'] { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--burgundy); }

.check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--sans); font-size: 1rem; font-weight: 450 !important; cursor: pointer; }
.checks { display: grid; gap: 10px; margin-top: 8px; }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.form { display: grid; gap: 20px; margin-top: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form .btn { justify-self: start; }
.field__error, .form__error { color: var(--burgundy); font-family: var(--sans); font-size: 0.95rem; font-weight: 550; }
.form__error a { color: inherit; }
.form__success { margin-top: 20px; padding-block: 24px; border-block: 2px solid var(--gold); }
.form__success h2 { font-size: 1.6rem; }
.form__success p { margin-top: 8px; }
.form__success:focus { outline: none; }
.honeypot { position: absolute; left: -9999px; }

.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); } /* taste-skill-ignore: real tab rail */
.tabs__tab {
  margin-bottom: -1px;
  padding: 10px 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--ink-muted);
  font: 650 1.15rem var(--sans);
  font-stretch: 95%;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}
.tabs__tab[aria-selected='true'] { border-bottom-color: var(--burgundy); color: var(--ink); }

.pro { display: grid; gap: 48px; }
@media (min-width: 960px) { .pro { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; } }
.pro__side h2 { font-size: 1.3rem; }
.pro__side ul { margin-top: 12px; font-family: var(--sans); font-stretch: 95%; font-variant-numeric: tabular-nums; }
.pro__side li { padding-block: 8px; }

/* Closing band */
.cta { padding-block: clamp(64px, 8vw, 112px); background: var(--wine); color: var(--on-wine); }
.cta h2 { color: #fff; font-size: var(--size-title); }
.cta p { margin-top: 12px; max-width: 54ch; }
.cta__inner { display: grid; gap: 32px; justify-items: start; }
.cta .btn { min-height: 56px; padding-inline: 32px; font-size: 1.05rem; }
@media (min-width: 800px) { .cta__inner { grid-template-columns: 1fr auto; align-items: end; gap: 64px; } }

/* Footer */
.site-footer { overflow: hidden; padding-block: clamp(64px, 8vw, 112px) clamp(20px, 2.4vw, 32px); background: var(--night); color: var(--on-ink-muted); font-size: 1rem; }
/* Tight inside a group, wide between groups: 12px under a heading, 48px or more between columns. */
.site-footer__grid { display: grid; gap: 48px 32px; }
@media (min-width: 360px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__intro { grid-column: 1 / -1; } }
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr); column-gap: clamp(48px, 6vw, 96px); }
  .site-footer__intro { grid-column: auto; }
}
.site-footer__intro p { max-width: 36ch; }
.site-footer__logo { width: 132px; margin-bottom: 20px; }
.site-footer__cta { margin-top: 28px; }
.site-footer h2 { margin-bottom: 12px; color: var(--on-ink); font-size: 1rem; }
.site-footer ul { list-style: none; font-family: var(--sans); font-stretch: 95%; font-size: 0.975rem; }
.site-footer :is(ul, .site-footer__legal) a { display: inline-flex; align-items: center; min-height: 36px; color: inherit; text-decoration: none; transition: color 160ms ease; }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 28px;
  margin-top: clamp(32px, 3.5vw, 48px);
  font-family: var(--sans);
  font-size: 0.925rem;
}
@media (min-width: 800px) { .site-footer__legal span { margin-right: auto; } }
/* The closing line runs the full width of the grid at every size, and wraps rather than clipping on the narrowest phones. */
.site-footer__name { margin-top: clamp(72px, 9vw, 128px); color: var(--gold); font-family: var(--hand); font-size: min(calc((100vw - 2 * var(--gutter) - 16px) / 7.45), calc(var(--wrap) / 7.45)); font-weight: 700; line-height: 0.95; text-wrap: balance; }
@media (max-width: 799px), (pointer: coarse) {
  .site-footer :is(ul, .site-footer__legal) a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-line { --route-time: 1ms; }
  .route__truck-track { display: none; }
  .route__stop { transition: opacity 200ms ease; }
  .route__stop, .js .route-line:not(.is-drawn) .route__stop { transform: none; }
  .france__pin { transition: opacity 200ms ease; }
  .js .route-landing:not(.is-in) .france__pin { transform: none; }
  .route-landing__docks img { transition: none; }
  .js :is(.ranges, .buyers, .ruled, .ruled-list, .products, .steps, .stats):not(.is-in) > :nth-child(-n+8) { transform: none; }
  :is(.ranges, .buyers, .ruled, .ruled-list, .products, .steps, .stats) > * { transition-delay: 0ms !important; }
  .float.is-floating { animation: none; }
  .product__img, .jump__bar { transition: none; }
  .page-head__slide { transition-duration: 200ms; }
  .btn:active, .theme-toggle:active { transform: none; }
  .site-nav__links a::after, .nav-toggle__icon span { transition: none; }
  .js .site-nav, .js .site-nav :is(.site-nav__links li, .site-nav__cta, .site-nav__tools) { transform: none !important; }
  .hero__media, .hero__mark, .hero__line > *, .hero__rise, .hero__slide img { animation: none !important; }
  .hero__slide { transition-duration: 200ms; }
  .hero__pack, .hero__pack.is-active { transition: opacity 200ms ease; transform: rotate(-3deg); }
}
