/* Vryburg Trailers – site styles */

:root {
  --bg: #eceeeb;          /* galvanised */
  --surface: #ffffff;
  --text: #1d1e1c;        /* tyre */
  --muted: #595e5a;
  --line: #ccd1cc;
  --amber: #f6931e;       /* from the logo */
  --amber-deep: #c96e05;
  --earth: #9a4a24;       /* trailer oxide */
  --on-amber: #1d1e1c;
  --plate-bg: #ffffff;
  --plate-ink: #1d1e1c;
  --board-bg: #1d1e1c;
  --board-ink: #eceeeb;

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --step-3: clamp(2.2rem, 1.6rem + 2.8vw, 3.8rem);

  --head-h: 84px;
  color-scheme: light;
  box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141615;
    --surface: #1d201f;
    --text: #eceeea;
    --muted: #a5aba6;
    --line: #343937;
    --amber-deep: #f8a640;
    --earth: #d17a4f;
    --board-bg: #0b0c0b;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: inherit; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--amber); color: var(--on-amber); padding: 10px 14px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font-family: var(--display); font-weight: 800; font-size: 1.02rem;
  font-variation-settings: "wdth" 80;
  letter-spacing: .01em;
  text-decoration: none; border: 2px solid transparent; border-radius: 3px;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-amber { background: var(--amber); color: var(--on-amber); }
.btn-amber:hover { background: #ffa83d; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: #1d1e1c; }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { background: var(--amber); color: var(--on-amber); }
.btn-line { color: var(--text); border-color: var(--text); background: transparent; }
.btn-line:hover { background: var(--text); color: var(--bg); }
.btn-block { width: 100%; }

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  color: #fff;
  background: #2a1d16;
  overflow: hidden;
  padding-top: calc(var(--head-h) + env(safe-area-inset-top, 0px));
}
.hero-photos { position: absolute; inset: 0; }
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 40% 50%;
  opacity: 0;
}
.hero[data-scene="hire"] [data-scene-photo="hire"],
.hero[data-scene="repair"] [data-scene-photo="repair"],
.hero[data-scene="build"] [data-scene-photo="build"] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { transition: opacity .45s ease; }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,14,10,.94) 0%, rgba(20,14,10,.72) 50%, rgba(20,14,10,.25) 85%),
    linear-gradient(to bottom, rgba(20,14,10,.6), rgba(20,14,10,0) 20%);
}

.hero-body {
  position: relative; z-index: 2;
  margin-top: auto;
  padding-top: 32px;
  padding-bottom: clamp(28px, 5vh, 64px);
}
.hero-title {
  margin: 0;
  max-width: 24ch;
  font-family: var(--display);
  font-style: italic;
  font-weight: 850;
  font-variation-settings: "wdth" 70;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: .95;
  letter-spacing: -.005em;
  word-spacing: .05em;
  text-wrap: balance;
}
/* the slanted axle bar from the logo */
.axle {
  width: min(320px, 50%);
  height: 10px;
  margin: clamp(14px, 2.2vh, 22px) 0 clamp(18px, 3vh, 30px) .15em;
  background: var(--amber);
  transform: skewX(-24deg);
  transform-origin: left;
}

/* three service lanes: the main navigation into the page */
.lanes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: clamp(20px, 3vw, 44px);
  border-top: 1px solid rgba(255,255,255,.28);
}
.lanes li {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: subgrid;
  border-bottom: 1px solid rgba(255,255,255,.28);
}
.lane {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  row-gap: 8px;
  padding: clamp(10px, 1.6vh, 16px) 0;
  color: #fff; text-decoration: none;
}
.lane-word {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-variation-settings: "wdth" 62;
  text-transform: uppercase;
  font-size: clamp(3rem, 6.6vw, 6.6rem);
  line-height: .86;
  letter-spacing: -.005em;
  word-spacing: .12em;
  white-space: nowrap;
  transition: color .2s;
}
.lane-text { max-width: 40ch; color: rgba(255,255,255,.86); line-height: 1.4; }
.lane-fact {
  justify-self: end; text-align: right;
  font-size: var(--step--1); font-weight: 600; color: rgba(255,255,255,.86);
}
.lane-fact strong {
  display: inline-block;
  font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 72;
  font-size: 2rem; line-height: 1; color: #fff; margin: 0 .1em;
}
.lane::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  height: 4px; width: 100%;
  background: var(--amber);
  transform: skewX(-24deg) scaleX(0); transform-origin: left;
}
.lane:hover .lane-word, .lane:focus-visible .lane-word { color: var(--amber); }
.lane:hover::after, .lane:focus-visible::after { transform: skewX(-24deg) scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .lane::after { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
}

.status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: var(--step--1); font-weight: 600;
  background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.2);
  padding: 6px 12px 6px 10px; border-radius: 99px;
  margin-bottom: 16px;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa09b; }
.status[data-open="true"] .status-dot { background: #5fd27a; box-shadow: 0 0 0 3px rgba(95,210,122,.25); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-title, .axle, .lanes li { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .axle { animation-name: drive; animation-delay: .2s; }
  .lanes li:nth-child(1) { animation-delay: .3s; }
  .lanes li:nth-child(2) { animation-delay: .4s; }
  .lanes li:nth-child(3) { animation-delay: .5s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  @keyframes drive { from { transform: skewX(-24deg) scaleX(0); } to { transform: skewX(-24deg) scaleX(1); } }
}

@media (max-width: 1100px) {
  .lanes, .lanes li { display: block; }
  .lane { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  .lane-word { grid-column: 1; }
  .lane-fact { grid-column: 2; grid-row: 1; }
  .lane-text { grid-column: 1 / -1; font-size: var(--step--1); }
}
@media (max-width: 720px) {
  .hero-body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .lane { grid-template-columns: minmax(0, 1fr); padding: 12px 0; row-gap: 4px; }
  .lane-word { font-size: clamp(2.5rem, 13vw, 3.4rem); }
  .lane-fact { grid-column: 1; grid-row: auto; justify-self: start; text-align: left; font-size: .9rem; color: var(--amber); }
  .lane-fact strong { font-size: 1.15rem; color: var(--amber); }
  .lane-text { display: none; }
}
@media (max-height: 820px) and (min-width: 721px) {
  .lane-word { font-size: clamp(2.6rem, 10vh, 5.6rem); }
  .hero-title { font-size: clamp(2rem, 5.4vh, 3.2rem); }
}

/* ---------- Section basics ---------- */

.hire, .specials, .repairs, .fleet, .story, .contact {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
}
.section-title {
  margin: 0 0 .5em;
  font-family: var(--display);
  font-style: italic;
  font-weight: 850;
  font-variation-settings: "wdth" 72;
  font-size: var(--step-3);
  line-height: .98;
  letter-spacing: -.005em;
  max-width: 22ch;
  text-wrap: balance;
}
.section-lede { max-width: 58ch; color: var(--muted); font-size: var(--step-0); }

/* ---------- Hire ---------- */

.hire-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.ladder { list-style: none; margin: 36px 0 0; padding: 0; border-top: 2px solid var(--text); }
.rung {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr) auto;
  gap: 8px 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.rung-load {
  font-family: var(--display); font-style: italic; font-weight: 800;
  font-variation-settings: "wdth" 70;
  font-size: var(--step-1); line-height: 1;
}
.rung-kg { font-size: 2.1em; font-weight: 900; letter-spacing: -.01em; }
.rung-bar {
  height: 12px; margin: 6px 0 14px;
  background: linear-gradient(to right, var(--amber) calc(var(--fill) * 100%), transparent 0);
  border: 1px solid var(--line);
  transform: skewX(-24deg); transform-origin: left;
}
.rung-uses { margin: 0 0 4px; max-width: 46ch; }
.rung-meta { margin: 0; color: var(--muted); font-size: var(--step--1); }
.rung-price {
  text-align: right; white-space: nowrap;
  font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 72;
  font-size: var(--step-2); line-height: 1;
}
.rung-price small {
  font-family: var(--body); font-weight: 500; font-variation-settings: "wdth" 100;
  font-size: var(--step--1); color: var(--muted);
}
.rung-price small:first-child { display: block; margin-bottom: 4px; }

.rung.is-picked { background: linear-gradient(to right, rgba(246,147,30,.12), transparent 70%); }

/* booking panel */
.book {
  position: sticky; top: 20px;
  background: var(--surface);
  border-top: 6px solid var(--amber);
  padding: 26px 24px 24px;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(0,0,0,.35);
}
.book h3 {
  margin: 0 0 6px;
  font-family: var(--display); font-style: italic; font-weight: 850;
  font-variation-settings: "wdth" 75; font-size: var(--step-2); line-height: 1;
}
.book-intro { color: var(--muted); font-size: var(--step--1); margin-bottom: 18px; }
.book-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: var(--step--1); font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.field, .field input, .field select, .field textarea { min-width: 0; }
.book-form { min-width: 0; }
.hire-grid > * { min-width: 0; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 1rem;
  color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 3px;
  min-height: 46px; padding: 10px 12px; width: 100%;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--amber); outline-offset: 0; border-color: var(--amber); }
.stepper { display: flex; }
.stepper button {
  width: 42px; min-height: 46px; font-size: 1.3rem; font-weight: 700;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); cursor: pointer;
}
.stepper button:first-child { border-radius: 3px 0 0 3px; }
.stepper button:last-child { border-radius: 0 3px 3px 0; }
.stepper button:hover { background: var(--amber); color: var(--on-amber); border-color: var(--amber); }
.field .stepper input {
  width: 54px; text-align: center; border-radius: 0; border-left: 0; border-right: 0;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.estimate {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 12px;
  border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 4px;
}
.estimate-label { font-size: var(--step--1); color: var(--muted); }
.estimate-total {
  justify-self: end;
  font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 72;
  font-size: 2.2rem; line-height: 1;
}
.estimate-calc { grid-column: 1 / -1; justify-self: end; font-size: var(--step--1); color: var(--muted); }
.fine { font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- Cattle & flatbeds ---------- */

.specials { background: var(--surface); }
.specials-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px); margin-top: 28px;
}
.special img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; margin-bottom: 20px; }
.special h3 {
  margin: 0 0 8px;
  font-family: var(--display); font-style: italic; font-weight: 850;
  font-variation-settings: "wdth" 75; font-size: var(--step-2); line-height: 1.05;
}
.special > p { max-width: 52ch; }
.fits { width: 100%; border-collapse: collapse; margin: 6px 0 16px; }
.fits th, .fits td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fits thead th { font-size: var(--step--1); color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--text); }
.fits tbody th {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 75;
  white-space: nowrap; width: 1%; padding-right: 24px;
}
.aside-note { color: var(--muted); font-size: var(--step--1); }

/* ---------- Repairs ---------- */

.repairs-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.repairs-photo { margin: 0; }
.repairs-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.repairs-text > p { max-width: 54ch; }
.pull {
  margin: 36px 0 0; padding: 4px 0 0 22px;
  border-left: 6px solid var(--amber);
}
.pull p { font-size: var(--step-1); line-height: 1.4; max-width: 46ch; margin-bottom: 8px; }
.pull footer, .rating footer { font-size: var(--step--1); color: var(--muted); font-weight: 600; }

/* ---------- Fleet board ---------- */

.fleet { background: var(--board-bg); color: var(--board-ink); }
.fleet .section-lede { color: color-mix(in srgb, var(--board-ink) 72%, transparent); }
.fleet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 18px; }
.filters button {
  font: inherit; font-weight: 600; font-size: var(--step--1);
  color: var(--board-ink); background: transparent;
  border: 1px solid color-mix(in srgb, var(--board-ink) 35%, transparent);
  border-radius: 99px; padding: 8px 14px; min-height: 40px; cursor: pointer;
}
.filters button span { opacity: .65; margin-left: 2px; }
.filters button:hover { border-color: var(--amber); }
.filters button[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.filters button[aria-pressed="true"] span { opacity: .8; }

.board { border-top: 2px solid var(--amber); }
.board-row {
  display: grid;
  grid-template-columns: 3.5rem 9.5rem 6rem minmax(0, 1fr) 7rem 5rem;
  align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--board-ink) 14%, transparent);
}
.board-labels { font-size: var(--step--1); color: color-mix(in srgb, var(--board-ink) 60%, transparent); padding: 12px 0; }
.unit-no {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-variation-settings: "wdth" 70; font-size: 1.5rem; line-height: 1; color: var(--amber);
}
.plate {
  justify-self: start;
  display: inline-block;
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 68;
  font-size: 1.05rem; letter-spacing: .06em; line-height: 1;
  color: var(--plate-ink); background: var(--plate-bg);
  border: 2px solid #1d1e1c; outline: 1px solid rgba(255,255,255,.35);
  border-radius: 4px; padding: 6px 8px 5px;
  white-space: nowrap;
}
.unit-rate { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 72; font-size: 1.25rem; text-align: right; }
.unit-rate small { font-family: var(--body); font-weight: 400; font-size: .75rem; opacity: .7; }
.unit-ask-cell { justify-self: end; }
.unit-ask {
  font: inherit; font-weight: 700; font-size: var(--step--1);
  color: var(--board-ink); background: transparent;
  border: 1px solid color-mix(in srgb, var(--board-ink) 40%, transparent);
  border-radius: 3px; padding: 7px 14px; min-height: 38px; cursor: pointer;
}
.unit-ask:hover { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.board-more { margin-top: 24px; }
.btn-line-light { color: var(--board-ink); border-color: color-mix(in srgb, var(--board-ink) 60%, transparent); background: transparent; }
.btn-line-light:hover { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.unit-muted { color: color-mix(in srgb, var(--board-ink) 55%, transparent); }

/* ---------- Photo strip ---------- */

.yard { background: var(--board-bg); padding-bottom: 6px; }
.yard-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 34vw);
  gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.yard-strip img { height: clamp(220px, 30vw, 380px); width: 100%; object-fit: cover; scroll-snap-align: start; }

/* ---------- Story ---------- */

.story-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); }
.timeline { list-style: none; margin: 32px 0 0; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 20px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline p { margin: 0; max-width: 52ch; }
.year {
  font-family: var(--display); font-style: italic; font-weight: 900;
  font-variation-settings: "wdth" 70; font-size: 1.9rem; line-height: 1; color: var(--earth);
}
.team { margin: 0 0 32px; }
.team img { width: 100%; border-radius: 3px; }
.team figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 8px; }
.rating-score { font-weight: 600; margin-bottom: 14px; }
.rating-score span {
  display: block;
  font-family: var(--display); font-style: italic; font-weight: 900; font-variation-settings: "wdth" 70;
  font-size: 4rem; line-height: .9; color: var(--text);
}
.rating blockquote { margin: 0 0 14px; }
.rating blockquote p { margin: 0 0 2px; }

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

.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); }
.details { margin: 24px 0 32px; display: grid; gap: 16px; }
.details div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 12px; }
.details dt { color: var(--muted); font-size: var(--step--1); padding-top: 3px; }
.details dd { margin: 0; font-weight: 600; }
.details a { text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 400; color: var(--muted); }
.map { min-height: 380px; border-radius: 3px; overflow: hidden; background: var(--bg); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

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

.site-foot { background: #1d1e1c; color: #d9dcd8; padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); font-size: var(--step--1); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; }
.foot-grid img { width: 120px; }
.foot-grid p { margin: 0; }
.foot-grid p:last-child { margin-left: auto; }

.callbar { display: none; }

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

@media (max-width: 980px) {
  .hire-grid, .repairs-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .book { position: static; }
  .repairs-photo img { aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
  .specials-grid { grid-template-columns: 1fr; }
  .rung { grid-template-columns: 1fr auto; }
  .rung-body { grid-column: 1 / -1; grid-row: 2; }
  .rung-price { grid-row: 1; grid-column: 2; }

  .board-labels { display: none; }
  .board-row {
    grid-template-columns: 2.8rem auto minmax(0, 1fr) auto;
    grid-template-areas: "no plate . rate" "no load size ask";
    gap: 8px 12px; padding: 14px 0;
  }
  .unit-no { grid-area: no; align-self: start; }
  .board-row > span:nth-child(2) { grid-area: plate; }
  .unit-load { grid-area: load; }
  .unit-size { grid-area: size; }
  .unit-rate { grid-area: rate; }
  .unit-ask-cell { grid-area: ask; }
  .unit-load, .unit-size { font-size: var(--step--1); }

  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .foot-grid p:last-child { margin-left: 0; }

  .callbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #1d1e1c;
    box-shadow: 0 -6px 20px rgba(0,0,0,.25);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; min-height: 56px;
    font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 80;
    font-size: 1.1rem; text-decoration: none; color: #fff;
  }
  .callbar a:first-child { background: var(--amber); color: var(--on-amber); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

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

.faq { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.qa-list { border-top: 2px solid var(--text); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 18px 0;
  font-weight: 700; font-size: var(--step-0);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; flex: none;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--amber-deep);
}
.qa[open] summary::after { content: "−"; }
.qa p { margin: -4px 0 20px; max-width: 60ch; color: var(--muted); }
@media (max-width: 980px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Restore (rub to reveal) ---------- */

.restore { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); background: var(--surface); }
.restore-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.restore-text > p { max-width: 50ch; }
.restore-how { font-weight: 600; }
.restore-done {
  font-family: var(--display); font-style: italic; font-weight: 850; font-variation-settings: "wdth" 75;
  font-size: var(--step-2); line-height: 1.05; color: var(--amber-deep);
}
.restore-stage { margin: 0; position: relative; }
.restore-stage.is-pending > img { visibility: hidden; }
.restore-stage.is-pending { background: #3b2a1f; border-radius: 4px; }
.restore-stage > img, .restore-canvas {
  display: block; width: 100%; aspect-ratio: 1039 / 779; border-radius: 4px;
}
.restore-stage > img { object-fit: cover; }
.restore-canvas {
  position: absolute; top: 0; left: 0; height: auto;
  cursor: grab; touch-action: none;
}
.restore-canvas:active { cursor: grabbing; }
.restore-stage.is-done .restore-canvas { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .restore-canvas { transition: opacity .8s ease; }
}
.restore-hint {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);
  pointer-events: none;
  font-family: var(--display); font-style: italic; font-weight: 900; font-variation-settings: "wdth" 70;
  font-size: clamp(1.4rem, 3vw, 2.2rem); color: #fff; text-transform: uppercase;
  background: rgba(20,14,10,.62); padding: 10px 18px; border-radius: 3px;
  word-spacing: .1em;
  white-space: nowrap;
}
.restore-hint[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .restore-hint { animation: rub 1.6s ease-in-out infinite; }
  @keyframes rub { 0%, 100% { transform: translate(-56%, -50%) rotate(-2deg); } 50% { transform: translate(-44%, -50%) rotate(2deg); } }
}
.restore-meter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.restore-bar {
  flex: 1 1 160px; height: 12px; border: 1px solid var(--line);
  transform: skewX(-24deg); transform-origin: left; overflow: hidden;
}
.restore-bar span { display: block; height: 100%; width: 0; background: var(--amber); transition: width .2s; }
.restore-pct { font-weight: 700; font-size: var(--step--1); min-width: 8.5em; }
.restore-auto {
  font: inherit; font-size: var(--step--1); font-weight: 600; color: var(--muted);
  background: none; border: 0; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.restore-auto:hover { color: var(--text); }
.restore-stage.is-done .restore-auto { display: none; }
@media (max-width: 980px) { .restore-grid { grid-template-columns: 1fr; } }
:lang(af) .hours tr.is-today th::after { content: " (vandag)"; }
.foot-grid a { color: inherit; text-decoration-color: var(--amber); text-underline-offset: 3px; }


/* ---------- Icons ---------- */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; }
.flag { width: 22px; height: 15px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }

/* ---------- Site header (sticky) ---------- */

.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  transition: background-color .25s, box-shadow .25s;
}
.site-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(20,14,10,.55), rgba(20,14,10,0));
  transition: opacity .25s;
}
.site-head.is-scrolled { background: rgba(24,25,23,.94); box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 10px 30px -18px rgba(0,0,0,.6); }
@supports (backdrop-filter: blur(8px)) {
  .site-head.is-scrolled { background: rgba(24,25,23,.82); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); }
}
.site-head.is-scrolled::before { opacity: 0; }

.head-inner { display: flex; align-items: center; gap: 18px; min-height: var(--head-h); }
.brand { margin-right: auto; display: block; }
.brand img { width: clamp(104px, 10vw, 128px); transition: width .25s; }
.site-head.is-scrolled .brand img { width: clamp(96px, 9vw, 116px); }

.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; font-weight: 600; }
.nav-links a {
  display: block; text-decoration: none; padding: 8px 10px; border-radius: 3px;
  transition: background-color .15s, color .15s;
}
.nav-links a:hover { background: rgba(255,255,255,.12); }

.head-wa, .head-call, .menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: 3px;
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 80; font-size: 1rem;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.head-wa { color: #fff; border: 2px solid rgba(255,255,255,.55); }
.head-wa:hover { background: #fff; color: #1d1e1c; border-color: #fff; }
.head-call { background: var(--amber); color: var(--on-amber); border: 2px solid var(--amber); }
.head-call:hover { background: #ffa83d; border-color: #ffa83d; }
.menu-btn { display: none; color: #fff; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.4); font-size: 1rem; }
.menu-btn:hover { background: rgba(255,255,255,.2); }

/* language toggle */
.lang {
  display: inline-flex; padding: 3px; gap: 2px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.22); border-radius: 99px;
}
.lang-opt {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 36px; padding: 0 11px 0 9px; border-radius: 99px;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  color: rgba(255,255,255,.8); text-decoration: none;
  transition: background-color .15s, color .15s;
}
.lang-opt:hover { color: #fff; background: rgba(255,255,255,.12); }
.lang-opt[aria-current="page"] { background: #fff; color: #1d1e1c; }
.lang-opt[aria-current="page"] .flag { box-shadow: 0 0 0 1px rgba(0,0,0,.15); }

/* lane arrow affordance */
.lane-go {
  width: 44px; height: 44px; padding: 11px; flex: none;
  border: 1.5px solid rgba(255,255,255,.4); border-radius: 50%;
  color: #fff; justify-self: end;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.lane:hover .lane-go, .lane:focus-visible .lane-go { background: var(--amber); border-color: var(--amber); color: var(--on-amber); transform: translateX(4px); }
.lanes { grid-template-columns: auto minmax(0, 1fr) auto 44px; }

/* ---------- Mobile menu ---------- */

.menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  background: #1d1e1c; color: #fff;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none !important; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); }
.menu-top img { width: 104px; }
.menu-close {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  font: inherit; font-weight: 700; color: #fff; background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.4); border-radius: 3px; cursor: pointer;
}
.menu-links { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); }
.menu-links li { border-bottom: 1px solid rgba(255,255,255,.16); }
.menu-links a {
  display: block; padding: 12px 0; text-decoration: none;
  font-family: var(--display); font-style: italic; font-weight: 900; font-variation-settings: "wdth" 66;
  font-size: clamp(2rem, 9vw, 3rem); line-height: 1; text-transform: uppercase; word-spacing: .1em;
}
.menu-links a:hover, .menu-links a:focus-visible { color: var(--amber); }
.menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 18px; }
.menu-foot .lang { justify-self: start; }
.menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) { animation: menu-in .25s cubic-bezier(.2,.7,.2,1); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
}
body.menu-open { overflow: hidden; }

/* footer toggle sits on dark */
.site-foot .lang { margin-left: auto; }

/* callbar icons */
.callbar a { gap: 8px; }

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

@media (max-width: 1180px) {
  .nav-main { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 860px) {
  .head-wa { display: none; }
}
@media (max-width: 720px) {
  :root { --head-h: 64px; }
  .head-inner { gap: 10px; }
  .head-call { display: none; }
  .menu-btn { padding: 0 12px; }
  .lang-opt { padding: 0 9px 0 7px; gap: 6px; min-height: 34px; }
  .lane-go { display: none; }
  .lanes { grid-template-columns: none; }
  .site-foot .lang { margin-left: 0; }
}
@media (max-width: 380px) {
  .menu-btn span { display: none; }
  .menu-btn { padding: 0 10px; }
  .menu-actions { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) and (min-width: 721px) {
  .lane { grid-template-columns: minmax(0, 1fr) auto 44px; }
  .lane-go { grid-column: 3; grid-row: 1; align-self: center; }
}

@media (max-width: 400px) {
  .book { padding: 22px 16px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .stepper { width: 100%; }
  .field .stepper input { flex: 1; width: auto; }
  .stepper button { width: 52px; }
}
