/* Hither & Thither (sample website). Plain CSS, no build step, nothing loaded from other sites. */

/* Rubik (SIL Open Font License 1.1), served from this site: one variable file for upright (300 to 900)
   and one for italic. */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/rubik-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/rubik-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #fffaf3;
  --card: #ffffff;
  --kraft: #e7c995;
  --kraft-2: #d4ac6a;
  --kraft-3: #b98c4a;
  --kraft-soft: #f6ead5;
  --kraft-line: #e6d3b3;
  --cocoa: #2a1d17;
  --cocoa-2: #36271f;
  --cocoa-3: #4a372c;
  --on-cocoa: #fff4e8;
  --on-cocoa-muted: #d9c6b6;
  --text: #2a1d17;
  --muted: #6a5a50;
  --line: #eadcc6;
  --line-strong: #c9b293;
  --tangerine: #ff7a2f;
  --tangerine-hover: #ff9152;
  --tangerine-ink: #a8430a;
  --tangerine-soft: #ffe6d4;
  --sky: #a7d8f5;
  --sky-soft: #e6f4fc;
  --sky-ink: #1d5d85;
  --go: #1d7446;
  --go-soft: #e1f2e7;
  --busy: #8a3a06;
  --busy-soft: #ffe6d4;
  --error: #b3261e;
  --error-soft: #fdecea;
  --note: #fdf0b4;
  --note-ink: #3d3405;
  --focus: #1d5d85;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(42, 29, 23, 0.06), 0 16px 36px -18px rgba(42, 29, 23, 0.32);
  --shadow-lg: 0 2px 4px rgba(42, 29, 23, 0.06), 0 30px 60px -28px rgba(42, 29, 23, 0.45);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 1em;
  height: 1em;
}

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

.wrap {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--cocoa);
  color: var(--on-cocoa);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Type ---------- */

.display,
.h1,
.h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.display {
  font-size: clamp(2.9rem, 7.4vw, 5.6rem);
  line-height: 0.95;
}

.h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1;
}

.h1 .swoosh,
.h2 .swoosh {
  margin-left: 0.7em;
}

.h2 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.02;
}

.display em,
.h1 em,
.h2 em {
  font-style: italic;
  font-weight: 800;
}

/* A word in a hurry: italic, with three speed lines trailing behind it. */
.swoosh {
  position: relative;
  display: inline-block;
  padding-left: 0.08em;
}

.swoosh::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 0.32em;
  width: 0.62em;
  height: 0.46em;
  margin-right: 0.04em;
  background:
    linear-gradient(currentColor, currentColor) right 0 / 100% 0.075em no-repeat,
    linear-gradient(currentColor, currentColor) right 50% / 70% 0.075em no-repeat,
    linear-gradient(currentColor, currentColor) right 100% / 45% 0.075em no-repeat;
  border-radius: 0.05em;
  opacity: 0.55;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  color: var(--tangerine-ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* A little route: a dot, a dashed road and an arrow. */
.kicker::before {
  content: "";
  width: 2.4rem;
  height: 0.6rem;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 0.3rem 50%, currentColor 0.22rem, transparent 0.24rem),
    repeating-linear-gradient(90deg, currentColor 0 0.32rem, transparent 0.32rem 0.6rem) 0.75rem 50% / calc(100% - 0.75rem) 2px no-repeat;
}

.kicker-light {
  color: var(--tangerine);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--tangerine-ink);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.text-link .icon {
  transition: transform 0.2s ease;
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn .icon {
  transition: transform 0.2s ease;
}

.btn:hover .icon[class*="icon"]:last-child {
  transform: translateX(3px);
}

.btn:hover .icon:first-child:not(:last-child) {
  transform: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  min-height: 2.6rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--tangerine);
  color: var(--cocoa);
}

.btn-primary:hover {
  background: var(--tangerine-hover);
}

.btn-dark {
  background: var(--cocoa);
  color: var(--on-cocoa);
}

.btn-dark:hover {
  background: var(--cocoa-3);
}

.btn-outline {
  border-color: var(--cocoa);
  color: var(--cocoa);
}

.btn-outline:hover {
  background: var(--cocoa);
  color: var(--on-cocoa);
}

.btn-light {
  border-color: rgba(255, 244, 232, 0.5);
  color: var(--on-cocoa);
}

.btn-light:hover {
  border-color: var(--on-cocoa);
  background: rgba(255, 244, 232, 0.08);
}

/* ---------- Sample bar ---------- */

.sample-bar {
  background: var(--note);
  color: var(--note-ink);
  font-size: 0.875rem;
  line-height: 1.45;
}

.sample-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.25rem;
  padding: 0.55rem 0;
}

.sample-bar p {
  margin: 0;
}

.sample-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 243, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(42, 29, 23, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  text-decoration: none;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
}

.bm-bg {
  fill: var(--tangerine);
}

.bm-post {
  fill: var(--cocoa);
}

.bm-here {
  fill: var(--paper);
}

.bm-there {
  fill: var(--cocoa);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-name i {
  color: var(--tangerine-ink);
  font-weight: 700;
}

.brand-sub {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-light .brand-sub {
  color: var(--on-cocoa-muted);
}

.brand-light .brand-name i {
  color: var(--tangerine);
}

.nav ul {
  display: flex;
  gap: 0.2rem;
}

.nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.nav a:hover {
  background: var(--kraft-soft);
}

.nav a[aria-current="page"] {
  background: var(--cocoa);
  color: var(--on-cocoa);
}

.header-cta[aria-current="page"] {
  box-shadow: inset 0 0 0 2px var(--cocoa);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border: 2px solid var(--cocoa);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 1020px) {
  .header-inner {
    gap: 0.75rem;
  }

  .menu-toggle {
    display: grid;
  }

  .menu-toggle[hidden] {
    display: none;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 24px 40px -30px rgba(42, 29, 23, 0.6);
  }

  .nav.is-open {
    display: block;
  }

  .nav ul {
    display: grid;
    gap: 0.25rem;
  }

  .nav a {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
  }

  .no-js .nav,
  html:not(.js) .nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 2.3rem;
    height: 2.3rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-sub {
    font-size: 0.66rem;
  }

  .header-cta {
    padding-inline: 0.85rem;
    font-size: 0.88rem;
  }
}

.nav .nav-book {
  display: none;
}

@media (max-width: 440px) {
  .header-cta {
    display: none;
  }

  .nav .nav-book {
    display: block;
  }

  .nav .nav-book a {
    background: var(--tangerine);
    color: var(--cocoa);
    font-weight: 700;
  }

  .brand-name {
    font-size: 1.15rem;
  }
}

@media (max-width: 340px) {
  .brand-sub {
    display: none;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-kraft {
  background: var(--kraft-soft);
}

.section-tint {
  background: linear-gradient(var(--sky-soft), var(--paper));
}

.section-cocoa {
  --focus: var(--sky);
  background: var(--cocoa);
  color: var(--on-cocoa);
}

.section-head {
  max-width: 44rem;
  margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}

.section-head .h2 {
  margin-bottom: 1rem;
}

.section-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-cocoa .section-head p:last-child {
  color: var(--on-cocoa-muted);
}

.section-head-left {
  margin-left: 0;
  text-align: left;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: clamp(2.25rem, 5vw, 3rem) 0 0;
}

/* ---------- Hero ---------- */

.hero {
  --focus: var(--cocoa);
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 12.75rem;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(255, 255, 255, 0.22), transparent 60%),
    var(--tangerine);
  color: var(--cocoa);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(42, 29, 23, 0.1);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero .display {
  margin-bottom: 1.4rem;
}

.hero .swoosh {
  margin-left: 0.7em;
}

.hero .lead {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.95rem;
}

.hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.hero-facts strong {
  font-size: 1.15rem;
  font-weight: 800;
}

/* Quick estimate card */
.quick {
  --focus: var(--sky-ink);
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: calc(var(--radius) + 4px);
  background: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(42, 29, 23, 0.55), 0 0 0 1px rgba(42, 29, 23, 0.06);
  color: var(--text);
}

.quick-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.35rem;
  color: var(--tangerine-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-title {
  margin-bottom: 1.1rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.quick-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.quick-arrow {
  margin-bottom: 0.95rem;
  color: var(--tangerine-ink);
}

.quick-hint {
  margin: 0.45rem 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.quick-result {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 2px dashed var(--kraft-2);
  border-radius: var(--radius-sm);
  background: var(--kraft-soft);
  min-height: 5.6rem;
}

.quick-result p {
  margin: 0;
}

.quick-idle {
  color: var(--muted);
}

.quick-idle strong {
  color: var(--text);
}

.quick-price {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.quick-price small {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quick-detail {
  margin-top: 0.35rem !important;
  color: var(--muted);
  font-size: 0.92rem;
}

.quick-problem {
  color: var(--error);
  font-weight: 600;
}

/* ---------- Forms ---------- */

.field {
  display: grid;
  gap: 0.35rem;
}

.field + .field {
  margin-top: 0.9rem;
}

label,
.label {
  font-size: 0.95rem;
  font-weight: 600;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.5;
}

select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: url(../img/chevron.svg);
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--kraft-3);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--sky-ink);
  box-shadow: 0 0 0 4px rgba(29, 93, 133, 0.22);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
}

::placeholder {
  color: #8d7d72;
  opacity: 1;
}

.code-input {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.code-input::placeholder {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

/* ---------- Services: box cards ---------- */

.boxes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.box-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.4rem 1.4rem 1.4rem;
  border-radius: 6px 6px var(--radius-sm) var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(42, 29, 23, 0.07) 0 1.1rem, transparent 1.1rem 1.2rem, rgba(42, 29, 23, 0.05) 1.2rem 1.3rem, transparent 1.3rem),
    var(--kraft);
  box-shadow: inset 0 0 0 1px rgba(42, 29, 23, 0.08), 0 14px 26px -18px rgba(42, 29, 23, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Parcel tape across the top flap. */
.box-card::before {
  content: "";
  position: absolute;
  top: -0.35rem;
  left: 50%;
  width: 3.4rem;
  height: 1.9rem;
  border-radius: 2px;
  background: rgba(255, 122, 47, 0.88);
  transform: translateX(-50%);
  box-shadow: 0 1px 0 rgba(42, 29, 23, 0.12);
}

.box-card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: inset 0 0 0 1px rgba(42, 29, 23, 0.08), 0 22px 34px -20px rgba(42, 29, 23, 0.55);
}

.box-marks {
  position: absolute;
  top: 1.65rem;
  right: 1rem;
  display: flex;
  gap: 0.2rem;
  color: rgba(42, 29, 23, 0.55);
}

.box-marks .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.box-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.1rem;
  padding: 0.55rem;
  border-radius: 14px;
  background: var(--paper);
  fill: none;
  stroke: var(--cocoa);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.box-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.box-card p {
  font-size: 0.98rem;
}

.box-price {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 2px dashed rgba(42, 29, 23, 0.25);
  font-size: 0.92rem !important;
}

.box-price span {
  display: block;
  color: rgba(42, 29, 23, 0.78);
}

.box-price strong {
  font-size: 1.35rem;
  font-weight: 800;
}

.box-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  text-decoration: none;
}

.box-link:hover {
  text-decoration: underline;
}

.box-link .icon {
  transition: transform 0.2s ease;
}

.box-link:hover .icon {
  transform: translateX(3px);
}

/* ---------- Prices ---------- */

.prices {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.prices-copy .h2 {
  margin-bottom: 1rem;
}

.ticks {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem;
}

.ticks li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.ticks .icon {
  margin-top: 0.15rem;
  color: var(--tangerine-ink);
}

.rate-card {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

.rates {
  width: 100%;
  border-collapse: collapse;
}

.rates caption {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 800;
  text-align: left;
}

.rates th,
.rates td {
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.rates thead th {
  padding-top: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rates tbody th {
  font-weight: 600;
}

.rate-van {
  display: block;
  font-weight: 700;
}

.rate-crew {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  background: var(--tangerine-soft);
  color: var(--tangerine-ink);
  font-size: 0.85rem;
  font-weight: 700;
}

.rates thead .rates-fits {
  font-size: 0.8rem;
}

.rates td.rates-fits {
  padding-top: 0.95rem;
}

.rates .rates-fits {
  color: var(--muted);
  font-size: 0.93rem;
}

.rates .num {
  text-align: right;
  white-space: nowrap;
}

.rates td.num {
  font-size: 1.15rem;
  font-weight: 800;
}

.rates tbody tr:last-child th,
.rates tbody tr:last-child td {
  border-bottom: 0;
}

.rate-note {
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--sky-soft);
  color: var(--sky-ink);
  font-size: 0.92rem;
}

/* ---------- Move day journey ---------- */

.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
  counter-reset: stop;
}

.stop {
  position: relative;
  padding-top: 4.1rem;
}

/* The dashed road from one stop to the next. */
.stop::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  left: 3rem;
  right: -1.5rem;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--kraft) 0 10px, transparent 10px 18px);
  opacity: 0.6;
}

.stop:nth-child(4n)::before,
.stop:last-child::before {
  right: 0;
  background: linear-gradient(90deg, rgba(231, 201, 149, 0.6), transparent);
}

.stop-pin {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--tangerine);
  color: var(--cocoa);
  box-shadow: 0 0 0 6px var(--cocoa), 0 0 0 8px rgba(255, 122, 47, 0.35);
}

.stop-pin .icon {
  width: 1.45rem;
  height: 1.45rem;
}

.stop-done {
  align-self: start;
  padding: 1.4rem;
  border: 2px dashed rgba(231, 201, 149, 0.45);
  border-radius: var(--radius);
  background: var(--cocoa-2);
}

.stop-done p {
  color: var(--on-cocoa);
}

.stop-done .text-link {
  color: var(--tangerine);
}

.stop-time {
  margin: 0 0 0.3rem;
  color: var(--tangerine);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stop h3 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.stop p:last-child {
  margin: 0;
  color: var(--on-cocoa-muted);
  font-size: 0.97rem;
}

/* ---------- Areas (home) ---------- */

.areas-home {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.areas-copy .h2 {
  margin-bottom: 1rem;
}

.ring-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 1.75rem;
}

.ring-list li {
  position: relative;
  display: grid;
  gap: 0.1rem;
  padding: 0.75rem 1rem 0.75rem 3.1rem;
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}

.ring-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  transform: translateY(-50%);
}

.ring-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.ring-home::before {
  background: var(--tangerine);
  box-shadow: 0 0 0 4px var(--tangerine-soft);
}

.ring-london::before {
  border: 4px solid var(--tangerine);
}

.ring-outer::before {
  border: 3px dashed var(--kraft-3);
}

.ring-far::before {
  border: 2px dotted var(--sky-ink);
}

.map-card {
  padding: clamp(1.2rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

.dotmap {
  width: 100%;
  height: auto;
  aspect-ratio: 38 / 28;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 122, 47, 0.08), transparent 60%),
    var(--paper);
  overflow: hidden;
}

.dm-ring {
  fill: none;
  stroke: var(--kraft-3);
  stroke-width: 0.09;
  stroke-dasharray: 0.35 0.3;
  opacity: 0.7;
}

.dm-ring-label,
.dm-north {
  fill: var(--muted);
  font-family: "Rubik", system-ui, sans-serif;
  font-size: 1.05px;
  font-weight: 600;
}

.dm-dot {
  fill: #cfc5bc;
}

.dm-home {
  fill: var(--tangerine);
}

.dm-london {
  fill: #ffb385;
}

.dm-outer {
  fill: var(--kraft-2);
}

.dm-yard circle {
  fill: var(--cocoa);
  stroke: var(--paper);
  stroke-width: 0.3;
}

.dm-yard-label {
  fill: var(--cocoa);
  stroke: var(--paper);
  stroke-width: 0.4;
  paint-order: stroke;
  font-family: "Rubik", system-ui, sans-serif;
  font-size: 1.3px;
  font-weight: 800;
  text-anchor: middle;
}

.dm-path {
  fill: none;
  stroke: var(--cocoa);
  stroke-width: 0.22;
  stroke-linecap: round;
  stroke-dasharray: 0.5 0.45;
  animation: march 1.2s linear infinite;
}

@keyframes march {
  to {
    stroke-dashoffset: -0.95;
  }
}

.dm-target {
  fill: var(--tangerine);
  stroke: var(--cocoa);
  stroke-width: 0.28;
}

.dm-target.is-off {
  fill: var(--sky);
}

.dm-target-label {
  fill: var(--cocoa);
  stroke: var(--paper);
  stroke-width: 0.35;
  paint-order: stroke;
  font-family: "Rubik", system-ui, sans-serif;
  font-size: 1.5px;
  font-weight: 800;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0.8rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.map-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.map-legend i {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #cfc5bc;
}

.map-legend .lg-home {
  background: var(--tangerine);
}

.map-legend .lg-london {
  background: #ffb385;
}

.map-legend .lg-outer {
  background: var(--kraft-2);
}

.checker {
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.checker-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.checker-title .icon {
  color: var(--tangerine-ink);
}

.checker label {
  display: block;
  margin-bottom: 0.35rem;
}

.checker-row {
  display: flex;
  gap: 0.6rem;
}

.checker-row input {
  flex: 1;
  min-width: 0;
}

.checker-help {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.checker-result:not(:empty) {
  margin-top: 1.2rem;
}

.result-card {
  position: relative;
  padding: 1.1rem 1.15rem 1.1rem 4rem;
  border-radius: var(--radius-sm);
  background: var(--kraft-soft);
}

.result-card .result-dot {
  position: absolute;
  top: 1.15rem;
  left: 1.1rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--tangerine);
  color: var(--cocoa);
}

.result-card.is-far .result-dot {
  background: var(--sky);
}

.result-card.is-unknown {
  padding-left: 1.15rem;
  background: var(--error-soft);
}

.result-card h4 {
  margin-bottom: 0.2rem;
  font-size: 1.12rem;
  font-weight: 800;
}

.result-card p {
  margin: 0;
  font-size: 0.95rem;
}

.result-card p + p {
  margin-top: 0.4rem;
}

/* ---------- Insurance and trade body slots ---------- */

.slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.slot {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.slot-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: var(--sky-soft);
  fill: none;
  stroke: var(--sky-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slot h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.slot p {
  color: var(--muted);
}

.slot-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: auto 0 0 !important;
  padding: 0.75rem 0.9rem;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text) !important;
  font-size: 0.92rem;
}

.tag-example {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: var(--note);
  color: var(--note-ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slots-note {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 46rem;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: 0.97rem;
  text-align: left;
}

.slots-note .icon {
  margin-top: 0.15rem;
  color: var(--sky-ink);
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.faq-layout .section-head {
  position: sticky;
  top: 7rem;
  margin-bottom: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 1.15rem 3rem 1.15rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--cocoa), var(--cocoa)) center / 0.8rem 2px no-repeat,
    linear-gradient(var(--cocoa), var(--cocoa)) center / 2px 0.8rem no-repeat,
    var(--kraft-soft);
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  background:
    linear-gradient(var(--cocoa), var(--cocoa)) center / 0.8rem 2px no-repeat,
    var(--tangerine);
}

.faq summary:hover {
  color: var(--tangerine-ink);
}

.faq details p {
  margin: -0.25rem 0 1.25rem;
  padding-right: 2rem;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.contact-info .h2 {
  margin-bottom: 1rem;
}

.hours {
  display: grid;
  gap: 0.4rem;
  margin: 1.5rem 0;
}

.hours div {
  display: flex;
  gap: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed var(--line-strong);
}

.hours dt {
  min-width: 6rem;
  font-weight: 700;
}

.hours dd {
  margin: 0;
}

.contact-address {
  display: flex;
  gap: 0.5rem;
  color: var(--muted);
}

.contact-address .icon {
  margin-top: 0.15rem;
  color: var(--tangerine-ink);
}

.contact-card {
  --focus: var(--sky);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--cocoa);
  color: var(--on-cocoa);
  box-shadow: var(--shadow-lg);
}

.contact-title {
  margin-bottom: 1.25rem;
  font-size: 1.45rem;
  font-weight: 800;
}

.contact-actions {
  display: grid;
  gap: 0.65rem;
}

.contact-actions .btn {
  justify-content: flex-start;
  padding-inline: 1.2rem;
  overflow-wrap: anywhere;
}

.contact-small {
  margin: 1.1rem 0 0;
  color: var(--on-cocoa-muted);
  font-size: 0.95rem;
}

.contact-small a {
  color: var(--on-cocoa);
  font-weight: 700;
}

/* ---------- Footer ---------- */

.site-footer {
  --focus: var(--sky);
  position: relative;
  background: var(--cocoa);
  color: var(--on-cocoa-muted);
  font-size: 0.95rem;
}

.footer-road {
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--tangerine) 0 36px, transparent 36px 64px);
  opacity: 0.85;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.7fr)) minmax(0, 1.2fr);
  gap: 2.5rem;
  padding: 3.5rem 0 2rem;
}

.footer-brand .brand {
  margin-bottom: 1rem;
  color: var(--on-cocoa);
}

.footer-brand p {
  max-width: 22rem;
}

.footer-address {
  display: flex;
  gap: 0.45rem;
}

.footer-address .icon {
  margin-top: 0.15rem;
  color: var(--tangerine);
}

.footer-title {
  margin-bottom: 0.9rem;
  color: var(--on-cocoa);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav ul,
.footer-contact ul {
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-cocoa);
  text-decoration: underline;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  overflow-wrap: anywhere;
}

.footer-contact .icon {
  color: var(--tangerine);
}

.footer-hours {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.footer-credit {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 244, 232, 0.14);
  font-size: 0.88rem;
}

.footer-credit a {
  color: var(--on-cocoa);
  text-decoration: underline !important;
}

/* ---------- Dialog ---------- */

.dialog {
  width: min(32rem, 100% - 2rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: calc(var(--radius) + 2px);
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.dialog::backdrop {
  background: rgba(42, 29, 23, 0.62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.dialog-body {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.dialog-title:focus {
  outline: none;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--kraft-soft);
  cursor: pointer;
}

.dialog-close:hover {
  background: var(--kraft);
}

.dialog p {
  margin: 0;
}

.sample-note {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--note);
  color: var(--note-ink);
  font-size: 0.93rem;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.message-preview {
  max-height: 16rem;
  overflow: auto;
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 4px 18px 18px 18px;
  background: #dcf8c6;
  color: #1b2a12;
  font: inherit;
  font-size: 0.93rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

@media (max-width: 480px) {
  .dialog-body {
    padding: 1.15rem;
  }

  .dialog-actions .btn {
    flex: 1 1 auto;
  }
}

/* ---------- Page head (inner pages) ---------- */

.page-head {
  --focus: var(--cocoa);
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.75rem, 5vw, 3.75rem);
  background: var(--tangerine);
  color: var(--cocoa);
}

.page-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--cocoa) 0 36px, transparent 36px 64px);
  opacity: 0.85;
}

.page-head .kicker {
  color: var(--cocoa);
}

.page-head .h1 {
  max-width: 48rem;
  margin-bottom: 1rem;
}

.page-head .lead {
  max-width: 42rem;
  margin: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(42, 29, 23, 0.1);
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Prose (privacy) ---------- */

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose-note {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--note);
  color: var(--note-ink);
}

/* ---------- Quote calculator ---------- */

.section-quote {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24.5rem);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.quote-form {
  position: relative;
  padding-left: 3.6rem;
}

/* The route the steps sit on. */
.quote-form::before {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 1.3rem;
  width: 3px;
  background: repeating-linear-gradient(180deg, var(--kraft-2) 0 10px, transparent 10px 18px);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  float: left;
  width: 100%;
  padding: 0;
}

legend + * {
  clear: both;
}

.step {
  position: relative;
  margin-bottom: 1.5rem;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.step-legend {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.step-h {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
}

.step-num {
  position: absolute;
  top: clamp(1.15rem, 3vw, 1.75rem);
  left: -3.65rem;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: var(--tangerine);
  color: var(--cocoa);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 0 0 5px var(--paper);
}

.sub {
  margin-top: 1.5rem;
}

.sub-legend {
  margin-bottom: 0.7rem;
  font-size: 1rem;
  font-weight: 700;
}

.panel-intro {
  color: var(--muted);
}

/* Radio inputs stay in the page for keyboards and screen readers; their labels do the showing. */
.seg input,
.choice-grid input,
.pill-row input,
.day-row input,
.pack-grid input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.seg {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: var(--kraft-soft);
}

.seg label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.seg input:checked + label {
  background: var(--cocoa);
  color: var(--on-cocoa);
}

.seg input:focus-visible + label,
.choice-grid input:focus-visible + label,
.pill-row input:focus-visible + label,
.day-row input:focus-visible + label,
.pack-grid input:focus-visible + label {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.choice:hover {
  border-color: var(--kraft-2);
}

.choice-icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.1rem;
  color: var(--tangerine-ink);
}

.choice-text {
  display: grid;
  gap: 0.1rem;
  line-height: 1.3;
}

.choice-text small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
}

input:checked + .choice {
  border-color: var(--tangerine);
  background: var(--tangerine-soft);
  box-shadow: inset 0 0 0 1px var(--tangerine);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  display: inline-flex;
  flex-direction: column;
  padding: 0.55rem 1rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

.pill small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.pill:hover {
  border-color: var(--kraft-2);
}

input:checked + .pill {
  border-color: var(--tangerine);
  background: var(--tangerine-soft);
  box-shadow: inset 0 0 0 1px var(--tangerine);
}

.pill-row-wide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Items and other counts */
.item-groups {
  display: grid;
  gap: 0.6rem;
}

.item-group {
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.item-group summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.item-group summary::-webkit-details-marker {
  display: none;
}

.item-group summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.item-group[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.item-group-count:not(:empty) {
  padding: 0 0.5rem;
  border-radius: 999px;
  background: var(--tangerine);
  color: var(--cocoa);
  font-size: 0.82rem;
}

.item-group .stepper-list {
  padding: 0 1rem 0.6rem;
}

.item-total {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.stepper-list {
  display: grid;
}

.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
}

.stepper-row:last-child {
  border-bottom: 0;
}

.stepper-label {
  display: grid;
  font-weight: 500;
  line-height: 1.3;
}

.stepper-label small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.stepper-row.has-value .stepper-label {
  font-weight: 700;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.stepper-btn {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--card);
  cursor: pointer;
}

.stepper-btn:hover {
  border-color: var(--cocoa);
  background: var(--kraft-soft);
}

.stepper-btn .icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.6;
}

input.stepper-input {
  width: 3.2rem;
  min-height: 2.4rem;
  padding: 0.2rem;
  border-width: 2px;
  text-align: center;
  font-weight: 700;
  -moz-appearance: textfield;
  appearance: textfield;
}

.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.stepper-row.has-value .stepper-input {
  border-color: var(--tangerine);
  background: var(--tangerine-soft);
}

/* From and to */
.route-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.route-fields .field + .field {
  margin-top: 0;
}

.route-fields label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.end-pin {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--tangerine);
  color: var(--cocoa);
  font-size: 0.85rem;
  font-weight: 800;
}

.end-pin-b {
  background: var(--cocoa);
  color: var(--on-cocoa);
}

.field-note {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  min-height: 1.4rem;
  margin: 0.1rem 0 0;
  font-size: 0.86rem;
  line-height: 1.4;
}

.field-note .icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
}

.field-note.is-ok {
  color: var(--muted);
}

.field-note.is-ok .icon {
  color: var(--tangerine-ink);
}

.field-note.is-error {
  color: var(--error);
  font-weight: 600;
}

.hint {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hint a {
  color: var(--tangerine-ink);
  font-weight: 700;
}

.distance-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--sky-soft);
  color: var(--sky-ink);
}

.distance-line .icon {
  margin-top: 0.1rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
}

.check input {
  width: 1.3rem;
  height: 1.3rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--cocoa);
}

.check label {
  font-weight: 500;
}

.note-estimate {
  display: flex;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--sky-ink);
  border-radius: 4px var(--radius-sm) var(--radius-sm) 4px;
  background: var(--sky-soft);
  color: var(--text);
  font-size: 0.93rem;
}

.note-estimate .icon {
  margin-top: 0.1rem;
  color: var(--sky-ink);
}

/* Access at each end */
.ends {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.end {
  padding: 1.15rem;
  border-radius: 16px;
  background: var(--kraft-soft);
}

.end-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.end .check {
  margin: 0.7rem 0 0.9rem;
}

.end .check label {
  font-size: 0.95rem;
}

/* Days */
.day-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.45rem;
}

.day-pill {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  padding: 0.65rem 0.25rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  text-align: center;
  cursor: pointer;
}

.day-pill:hover {
  border-color: var(--kraft-2);
}

.day-name {
  font-weight: 800;
}

.day-pill small {
  color: var(--muted);
  font-size: 0.76rem;
}

.day-pill.is-premium small {
  color: var(--tangerine-ink);
  font-weight: 700;
}

input:checked + .day-pill {
  border-color: var(--cocoa);
  background: var(--cocoa);
  color: var(--on-cocoa);
}

input:checked + .day-pill small {
  color: var(--on-cocoa-muted);
}

input:checked + .day-pill.is-premium small {
  color: var(--tangerine);
}

/* Packing */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.pack-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
}

.pack-card:hover {
  border-color: var(--kraft-2);
}

.pack-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.pack-price {
  font-weight: 800;
  white-space: nowrap;
}

.pack-card small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.4;
}

input:checked + .pack-card {
  border-color: var(--tangerine);
  background: var(--tangerine-soft);
  box-shadow: inset 0 0 0 1px var(--tangerine);
}

.pack-card.is-off {
  cursor: not-allowed;
  opacity: 0.55;
}

/* The estimate */
.estimate {
  position: sticky;
  top: 6rem;
}

/* On a desktop the card stays in view; if it's taller than the window, only the breakdown scrolls, so
   the price and the buttons are always visible. */
@media (min-width: 961px) {
  .estimate-card {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 7rem);
  }

  .estimate-card > * {
    flex-shrink: 0;
  }

  .estimate-card .breakdown[open] {
    flex: 0 1 auto;
    min-height: 7rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--cocoa-3) transparent;
  }

  .estimate-card .breakdown summary {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--cocoa);
  }
}

.estimate-card {
  --focus: var(--sky);
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--cocoa);
  color: var(--on-cocoa);
  box-shadow: var(--shadow-lg);
}

/* A torn-ticket edge along the top. */
.estimate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.6rem;
  right: 1.6rem;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--tangerine) 0 22px, transparent 22px 36px);
  border-radius: 0 0 4px 4px;
}

.estimate-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.estimate-title {
  color: var(--tangerine);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.estimate-route {
  margin: 0;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.1);
  font-size: 0.88rem;
  font-weight: 600;
}

.estimate-range {
  margin: 0 0 0.35rem;
  font-size: clamp(2.1rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.estimate-sub {
  color: var(--on-cocoa-muted);
}

.estimate-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.estimate-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.1);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.estimate-facts .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--tangerine);
}

.breakdown {
  margin-bottom: 1rem;
  border-top: 1px solid rgba(255, 244, 232, 0.16);
  border-bottom: 1px solid rgba(255, 244, 232, 0.16);
}

.breakdown summary {
  padding: 0.75rem 0;
  font-weight: 700;
  cursor: pointer;
}

.breakdown-table {
  width: 100%;
  margin-bottom: 0.75rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.breakdown-table th,
.breakdown-table td {
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(255, 244, 232, 0.14);
  vertical-align: top;
  text-align: left;
}

.breakdown-table th {
  padding-right: 0.75rem;
  font-weight: 600;
}

.breakdown-table th small {
  display: block;
  color: var(--on-cocoa-muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.breakdown-table .num {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

.breakdown-table .is-info th {
  font-weight: 500;
}

.breakdown-table .is-total th,
.breakdown-table .is-total td {
  padding-top: 0.7rem;
  border-bottom: 0;
  color: var(--tangerine);
  font-size: 1rem;
  font-weight: 800;
}

.estimate-notes {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--on-cocoa-muted);
}

.estimate-notes:empty {
  display: none;
}

.estimate-notes li {
  position: relative;
  padding-left: 1rem;
}

.estimate-notes li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--tangerine);
}

.estimate-label {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(167, 216, 245, 0.12);
  font-size: 0.9rem;
}

.estimate-label .icon {
  margin-top: 0.1rem;
  color: var(--sky);
}

.estimate-actions {
  display: grid;
  gap: 0.6rem;
}

.estimate-actions .btn-outline {
  border-color: rgba(255, 244, 232, 0.55);
  color: var(--on-cocoa);
}

.estimate-actions .btn-outline:hover {
  border-color: var(--on-cocoa);
  background: rgba(255, 244, 232, 0.08);
}

.estimate-alt {
  margin: 0.9rem 0 0;
  color: var(--on-cocoa-muted);
  font-size: 0.9rem;
  text-align: center;
}

.estimate-alt a {
  color: var(--on-cocoa);
  font-weight: 600;
}

.estimate-bar {
  display: none;
}

@media (max-width: 960px) {
  .quote-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .estimate {
    position: static;
  }

  .estimate-bar {
    --focus: var(--sky);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: block;
    background: var(--cocoa);
    color: var(--on-cocoa);
    box-shadow: 0 -10px 30px -12px rgba(42, 29, 23, 0.5);
    transition: transform 0.25s ease;
  }

  .estimate-bar[hidden] {
    display: none;
  }

  .estimate-bar.is-hidden {
    transform: translateY(110%);
  }

  .estimate-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
  }

  .estimate-bar p {
    display: grid;
    margin: 0;
    line-height: 1.2;
  }

  .estimate-bar-label {
    color: var(--on-cocoa-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .estimate-bar strong {
    font-size: 1.2rem;
  }

  .section-quote {
    padding-bottom: 6rem;
  }
}

@media (max-width: 640px) {
  .quote-form {
    padding-left: 0;
  }

  .quote-form::before {
    display: none;
  }

  .step-num {
    position: static;
    width: 2.2rem;
    height: 2.2rem;
    flex-shrink: 0;
    font-size: 1rem;
    box-shadow: none;
  }

  .choice-grid,
  .route-fields,
  .ends,
  .pack-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .day-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pill-row-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seg {
    display: grid;
    width: 100%;
  }

  .seg label {
    padding-inline: 0.6rem;
  }
}

/* ---------- Packing page ---------- */

.pack-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.pack-service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.6rem 1.6rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.pack-service h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.pack-service > p {
  color: var(--muted);
}

.pack-service-featured {
  box-shadow: inset 0 0 0 3px var(--tangerine), var(--shadow-lg);
}

.pack-badge {
  position: absolute;
  top: -0.85rem;
  right: 1.25rem;
  margin: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--tangerine);
  color: var(--cocoa) !important;
  font-size: 0.8rem;
  font-weight: 700;
}

.pack-level {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.pack-level i {
  width: 1.6rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--kraft-soft);
  box-shadow: inset 0 0 0 1px var(--kraft-line);
}

.pack-level i.on {
  background: var(--tangerine);
  box-shadow: none;
}

.ticks-sm {
  gap: 0.5rem;
  margin: 0.5rem 0 1.25rem;
  font-size: 0.97rem;
}

.ticks-sm .icon {
  color: var(--go);
}

.pack-from {
  margin: auto 0 0;
  padding-top: 0.9rem;
  border-top: 2px dashed var(--line);
  color: var(--text) !important;
}

.pack-from strong {
  font-size: 1.5rem;
  font-weight: 800;
}

.table-card {
  margin-top: 2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table caption {
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: left;
}

.price-table th,
.price-table td {
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-table thead th {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-table tbody th {
  font-weight: 600;
}

.price-table .num {
  text-align: right;
  white-space: nowrap;
}

.price-table td.num {
  font-weight: 700;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.table-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.table-note a {
  color: var(--tangerine-ink);
  font-weight: 700;
}

.fragile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.fragile {
  position: relative;
  padding: 1.5rem;
  border-radius: 6px 6px var(--radius-sm) var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow);
}

/* A strip of fragile tape across the top of each card. */
.fragile::before {
  content: "FRAGILE \00B7  HANDLE WITH CARE \00B7  FRAGILE \00B7  HANDLE WITH CARE";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  height: 1.35rem;
  padding: 0 0.75rem;
  border-radius: 6px 6px 0 0;
  background: var(--tangerine);
  color: var(--cocoa);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35rem;
  white-space: nowrap;
}

.fragile-icon {
  width: 2.6rem;
  height: 2.6rem;
  margin: 1.1rem 0 0.9rem;
  fill: none;
  stroke: var(--tangerine-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fragile h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.fragile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* Box shop */
.shop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.shop-guide {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--sky-soft);
}

.shop-guide h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--sky-ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.shop-guide dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.shop-guide dl div {
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--card);
}

.shop-guide dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.shop-guide dd {
  margin: 0;
  font-weight: 800;
}

.shop-guide p {
  margin: 0;
  font-size: 0.93rem;
}

.shop-group + .shop-group {
  margin-top: 1.75rem;
}

.shop-group-title {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.shop-items {
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.shop-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.shop-item:last-child {
  border-bottom: 0;
}

.shop-item.has-value {
  background: linear-gradient(90deg, var(--tangerine-soft), transparent 70%);
}

.shop-name {
  font-size: 1.02rem;
  font-weight: 700;
}

.shop-detail {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.shop-price {
  margin: 0;
  font-weight: 800;
  white-space: nowrap;
}

.order {
  position: sticky;
  top: 6rem;
}

.order-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

.order-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 800;
}

.order-title .icon {
  color: var(--tangerine-ink);
}

.order-lines {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed var(--line);
  font-size: 0.95rem;
}

.order-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.order-lines .num {
  font-weight: 700;
  white-space: nowrap;
}

.order-empty {
  color: var(--muted);
}

.order-delivery {
  margin-bottom: 1rem;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0;
}

.radio-row input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--cocoa);
}

.radio-row label {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 500;
}

.radio-price {
  color: var(--muted);
  white-space: nowrap;
}

.order-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--kraft-soft);
  font-weight: 700;
}

.order-total strong {
  font-size: 1.5rem;
  font-weight: 800;
}

.order-card .field {
  margin-bottom: 0.9rem;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

.field-error {
  margin: 0.15rem 0 0;
  color: var(--error);
  font-size: 0.88rem;
  font-weight: 600;
}

.order-error {
  margin-bottom: 0.75rem;
}

.order-alt {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 960px) {
  .pack-services,
  .fragile-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pack-service-featured {
    margin-top: 0.5rem;
  }

  .shop {
    grid-template-columns: minmax(0, 1fr);
  }

  .order {
    position: static;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .fragile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shop-guide dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-item {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.9rem 1rem;
  }

  .shop-item .stepper {
    grid-column: 1 / -1;
    justify-self: start;
  }

  /* On a phone each row of a price table becomes a small card: the name, then the prices with labels. */
  .price-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .price-table,
  .price-table tbody,
  .price-table caption {
    display: block;
  }

  .price-table tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .price-table tbody tr:last-child {
    border-bottom: 0;
  }

  .price-table tbody th,
  .price-table td {
    padding: 0;
    border: 0;
    text-align: left;
  }

  .price-table tbody th {
    grid-column: 1 / -1;
  }

  .price-table td.num {
    display: grid;
    align-content: end;
    text-align: left;
    white-space: normal;
  }

  .price-table td[data-label]::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.3;
  }
}

/* ---------- Page head art ---------- */

.page-head-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  align-items: center;
  gap: 2rem;
}

.page-head-art {
  width: 100%;
  height: auto;
  margin-bottom: -0.5rem;
}

@media (max-width: 860px) {
  .page-head-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-head-art {
    display: none;
  }
}

/* ---------- Areas page ---------- */

.areas-check {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.map-card-lg .map-legend {
  margin-bottom: 0.5rem;
}

.map-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.areas-side {
  display: grid;
  gap: 1.25rem;
}

.checker-solo {
  padding: clamp(1.4rem, 3vw, 1.75rem);
  border-top: 0;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

.patch-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--kraft-soft);
}

.patch-title {
  margin-bottom: 0.3rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.patch-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.patch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.patch-list li {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--tangerine);
  color: var(--cocoa);
  font-size: 0.88rem;
  font-weight: 700;
}

.two-ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.way {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.way-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.9rem;
  padding: 0.6rem;
  border-radius: 50%;
  background: var(--tangerine);
  fill: none;
  stroke: var(--cocoa);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.way h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.way .ticks {
  margin-bottom: 0;
}

.runs-table tbody th small {
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 960px) {
  .areas-check,
  .two-ways {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Checklist ---------- */

.section-checklist {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.checklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.plan {
  position: sticky;
  top: 6rem;
}

.plan-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

.plan-title {
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.plan-card .hint {
  margin-top: 0.4rem;
}

.progress {
  margin: 1.25rem 0;
}

.progress-label {
  margin: 0 0 0.4rem;
  font-weight: 700;
}

.progress-track {
  height: 0.75rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--kraft-soft);
  box-shadow: inset 0 0 0 1px var(--kraft-line);
}

.progress-bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--tangerine) 0 14px, var(--tangerine-hover) 14px 22px);
  transition: width 0.3s ease;
}

.progress-bar.w-0 {
  width: 0%;
}

.progress-bar.w-5 {
  width: 5%;
}

.progress-bar.w-10 {
  width: 10%;
}

.progress-bar.w-15 {
  width: 15%;
}

.progress-bar.w-20 {
  width: 20%;
}

.progress-bar.w-25 {
  width: 25%;
}

.progress-bar.w-30 {
  width: 30%;
}

.progress-bar.w-35 {
  width: 35%;
}

.progress-bar.w-40 {
  width: 40%;
}

.progress-bar.w-45 {
  width: 45%;
}

.progress-bar.w-50 {
  width: 50%;
}

.progress-bar.w-55 {
  width: 55%;
}

.progress-bar.w-60 {
  width: 60%;
}

.progress-bar.w-65 {
  width: 65%;
}

.progress-bar.w-70 {
  width: 70%;
}

.progress-bar.w-75 {
  width: 75%;
}

.progress-bar.w-80 {
  width: 80%;
}

.progress-bar.w-85 {
  width: 85%;
}

.progress-bar.w-90 {
  width: 90%;
}

.progress-bar.w-95 {
  width: 95%;
}

.progress-bar.w-100 {
  width: 100%;
}

.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.plan-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.stages {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.stages::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1.35rem;
  width: 3px;
  background: repeating-linear-gradient(180deg, var(--kraft-2) 0 10px, transparent 10px 18px);
}

.stage {
  position: relative;
  padding-left: 4rem;
}

.stage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 1rem;
  margin-bottom: 0.75rem;
}

.stage-pin {
  position: absolute;
  top: -0.2rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--kraft);
  color: var(--cocoa);
  box-shadow: 0 0 0 5px var(--paper);
}

.stage.is-now .stage-pin {
  background: var(--tangerine);
}

.stage.is-past .stage-pin {
  background: var(--cocoa);
  color: var(--on-cocoa);
}

.stage-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.stage-when {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.stage-flag {
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: var(--tangerine);
  color: var(--cocoa);
  font-size: 0.8rem;
  font-weight: 700;
}

.stage.is-past .stage-flag {
  background: var(--cocoa);
  color: var(--on-cocoa);
}

.tasks {
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.task {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.task:last-child {
  border-bottom: 0;
}

.task input {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--cocoa);
  cursor: pointer;
}

.task label {
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
}

.task.is-done label {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--tangerine);
  text-decoration-thickness: 2px;
}

@media (max-width: 960px) {
  .checklist-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan {
    position: static;
  }
}

@media (max-width: 640px) {
  .stage {
    padding-left: 3.4rem;
  }

  .stages::before {
    left: 1.15rem;
  }

  .stage-pin {
    width: 2.4rem;
    height: 2.4rem;
  }

  .task {
    padding: 0.85rem 1rem;
  }
}

/* ---------- Booking ---------- */

.popular {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--tangerine-soft);
}

.popular .icon {
  margin-top: 0.15rem;
  color: var(--tangerine-ink);
}

.popular p {
  margin: 0;
  font-size: 0.95rem;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.cal-title {
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
}

.cal-nav {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 2px solid var(--cocoa);
  border-radius: 50%;
  background: var(--card);
  cursor: pointer;
}

.cal-nav:hover:not([disabled]) {
  background: var(--cocoa);
  color: var(--on-cocoa);
}

.cal-nav[disabled] {
  border-color: var(--line);
  color: #a39488;
  cursor: default;
}

.flip {
  transform: scaleX(-1);
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 0.9rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.cal-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cal-legend i {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 3px;
}

.lg-quiet {
  background: var(--go-soft);
  box-shadow: inset 0 0 0 2px var(--go);
}

.lg-popular {
  background: var(--kraft);
}

.lg-busy {
  background: var(--tangerine);
}

.cal-dow,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.cal-dow {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cal-day {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 3.6rem;
  padding: 0.3rem 0.1rem;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  line-height: 1.1;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cal-day:hover:not([disabled]) {
  border-color: var(--cocoa);
}

.cal-day[disabled] {
  border-color: transparent;
  background: transparent;
  color: #a39488;
  cursor: default;
}

.cal-day.is-closed {
  color: var(--muted);
}

.cal-day.is-closed .cal-num {
  text-decoration: line-through;
}

.cal-num {
  font-size: 1.05rem;
  font-weight: 700;
}

.cal-mon {
  color: var(--tangerine-ink);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cal-tag {
  margin-top: 0.15rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cal-day.is-quiet {
  border-color: rgba(29, 116, 70, 0.35);
  background: var(--go-soft);
}

.cal-day.is-popular {
  border-color: var(--kraft-2);
  background: var(--kraft-soft);
}

.cal-day.is-busy {
  border-color: var(--tangerine);
  background: var(--tangerine-soft);
}

.cal-day.is-busy .cal-tag {
  color: var(--busy);
}

.cal-day.is-popular .cal-tag {
  color: #6b4a14;
}

.cal-day[aria-pressed="true"] {
  border-color: var(--cocoa);
  background: var(--cocoa);
  color: var(--on-cocoa);
}

.cal-day[aria-pressed="true"] .cal-tag,
.cal-day[aria-pressed="true"] .cal-mon {
  color: var(--tangerine);
}

.cal-picked {
  margin: 0.9rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--kraft-soft);
  font-size: 0.95rem;
}

.cal-picked.is-busy {
  background: var(--tangerine-soft);
}

.cal-picked.is-quiet {
  background: var(--go-soft);
}

.from-quote {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--go-soft);
  font-size: 0.93rem;
}

.from-quote .icon {
  margin-top: 0.1rem;
  color: var(--go);
}

.from-quote a {
  font-weight: 700;
}

.book-form .route-fields + .field {
  margin-top: 0.75rem;
}

.summary-list {
  display: grid;
  gap: 0;
  margin: 0 0 1rem;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(255, 244, 232, 0.16);
}

.summary-list dt {
  color: var(--on-cocoa-muted);
}

.summary-list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.summary-note:empty {
  display: none;
}

.summary-error {
  margin-bottom: 0.75rem;
  color: #ffb4a8;
}

@media (max-width: 640px) {
  .cal-dow,
  .cal-days {
    gap: 0.2rem;
  }

  .cal-day {
    min-height: 3.1rem;
    border-radius: 9px;
  }

  .cal-num {
    font-size: 0.95rem;
  }

  .cal-tag {
    font-size: 0.56rem;
    letter-spacing: 0;
  }

  /* No room for "Popular" in a phone-sized day: the colour and the legend say it. */
  .cal-day.is-popular .cal-tag {
    display: none;
  }

  /* Nor for "Closed", which ran into the next day: the struck-through date says it. */
  .cal-day.is-closed .cal-tag {
    display: none;
  }
}

/* ---------- Print (the checklist) ---------- */

@media print {
  .sample-bar,
  .site-header,
  .site-footer,
  .page-head-art,
  .plan-actions,
  .plan .btn,
  .estimate-bar,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .page-head {
    padding: 0 0 1rem;
    background: #fff;
  }

  .page-head::after {
    display: none;
  }

  .checklist-layout {
    display: block;
  }

  .plan {
    position: static;
  }

  .plan-card,
  .tasks {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .stage {
    break-inside: avoid;
  }
}

/* ---------- Road and van (hero) ---------- */

.road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 4.5rem;
  background: var(--cocoa);
}

/* The centre line, moving under the van. */
.road::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 5px;
  margin-top: 4px;
  background: repeating-linear-gradient(90deg, var(--kraft) 0 44px, transparent 44px 88px);
  opacity: 0.75;
  animation: road 1.4s linear infinite;
}

.road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
}

@keyframes road {
  to {
    background-position: -88px 0;
  }
}

.van {
  position: absolute;
  right: 9%;
  bottom: 2.4rem;
  width: clamp(14rem, 24vw, 20rem);
  height: auto;
  overflow: visible;
}

.van-body {
  animation: bob 0.9s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(-1.5px);
  }
}

.van-speed path {
  fill: none;
  stroke: var(--cocoa);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.35;
  animation: speed 1.1s ease-in-out infinite;
}

.van-speed path:nth-child(2) {
  animation-delay: 0.25s;
}

.van-speed path:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes speed {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.35;
  }

  50% {
    transform: translateX(-10px);
    opacity: 0.12;
  }
}

.v-box,
.v-cab {
  fill: var(--paper);
  stroke: var(--cocoa);
  stroke-width: 4;
  stroke-linejoin: round;
}

.v-stripe {
  fill: var(--tangerine);
}

.v-name {
  fill: var(--cocoa);
  font-family: "Rubik", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.v-sub {
  fill: var(--tangerine-ink);
  font-family: "Rubik", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.v-window {
  fill: var(--sky);
  stroke: var(--cocoa);
  stroke-width: 3;
  stroke-linejoin: round;
}

.v-line {
  fill: none;
  stroke: var(--cocoa);
  stroke-width: 3;
  stroke-linecap: round;
}

.v-light {
  fill: var(--note);
  stroke: var(--cocoa);
  stroke-width: 2;
}

.v-chassis {
  fill: var(--cocoa);
}

.v-tyre {
  fill: var(--cocoa-3);
  stroke: var(--cocoa);
  stroke-width: 5;
}

.v-hub {
  fill: var(--kraft);
}

.v-spoke {
  stroke: var(--cocoa);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.signpost {
  position: absolute;
  left: 5%;
  bottom: 2.6rem;
  width: clamp(7.5rem, 11vw, 9.5rem);
  height: auto;
}

.sp-post {
  fill: var(--cocoa);
}

.sp-arm {
  stroke: var(--cocoa);
  stroke-width: 4;
  stroke-linejoin: round;
}

.sp-here {
  fill: var(--paper);
}

.sp-there {
  fill: var(--cocoa-2);
}

.sp-text {
  fill: var(--cocoa);
  font-family: "Rubik", system-ui, sans-serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 800;
}

.sp-text-dark {
  fill: var(--paper);
}

/* ---------- Motion ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero-inner,
  .prices,
  .areas-home,
  .faq-layout,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-bottom: 10.5rem;
  }

  .quick {
    max-width: 34rem;
  }

  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stop:nth-child(2n)::before,
  .stop:last-child::before {
    right: 0;
    background: linear-gradient(90deg, rgba(231, 201, 149, 0.6), transparent);
  }

  .stop:nth-child(4n+1)::before,
  .stop:nth-child(4n+3)::before {
    right: -1.5rem;
    background: repeating-linear-gradient(90deg, var(--kraft) 0 10px, transparent 10px 18px);
  }

  .slots {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-layout .section-head {
    position: static;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1180px, 100% - 2.5rem);
  }

  .boxes {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-bottom: 9rem;
  }

  .hero .swoosh {
    margin-left: 0.45em;
  }

  .hero-facts {
    display: grid;
    gap: 0.35rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .van-speed {
    display: none;
  }

  .road {
    height: 3.6rem;
  }

  .van {
    right: 4%;
    bottom: 1.9rem;
    width: 12.5rem;
  }

  .signpost {
    left: 3%;
    bottom: 2rem;
    width: 6.4rem;
  }

  /* On a phone the stops run down the page, with the road on the left. */
  .journey {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .stop {
    padding: 0 0 0 4.25rem;
  }

  .stop::before,
  .stop:nth-child(n)::before {
    top: 3.4rem;
    bottom: -1.5rem;
    left: 1.42rem;
    right: auto;
    width: 3px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--kraft) 0 10px, transparent 10px 18px);
  }

  .stop:last-child::before {
    display: none;
  }

  .rates .rates-fits {
    display: none;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .checker-row {
    flex-direction: column;
  }
}

/* ---------- Data credits ---------- */

.data-credit {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}
