@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url(assets/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url(assets/fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(assets/fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }

:root {
  --green: #0d4a3a;
  --green-deep: #08352a;
  --yellow: #ffd21f;
  --ink: #101512;
  --paper: #f2f0e9;
  --rule: #101512;
  --soft: #d5e4dd;
  --red: #b3261e;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.5 Barlow, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1; }
h2 { font-size: clamp(3rem, 6vw, 5.5rem); }
p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img, svg { display: block; }
.defs { position: absolute; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { width: min(1320px, 100% - 80px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 160px) 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: #fff; }
.skip:focus { left: 8px; }

/* Road-number plate, used as the wordmark */
.plate {
  display: inline-block;
  padding: 3px 11px 2px;
  border: 2px solid #fff;
  border-radius: 5px;
  color: var(--yellow);
  font: 700 1.75rem/1.1 var(--display);
  letter-spacing: .06em;
  text-decoration: none;
}

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 96px; }
.nav { display: flex; align-items: center; gap: 36px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:not(.nav-cta):hover { color: var(--yellow); }
.nav-cta { padding: 9px 16px; background: var(--yellow); color: var(--ink); border-radius: 3px; font-weight: 600; }
.nav-cta:hover { background: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px 8px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; height: 3px; margin: 5px 0; background: #fff; }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; min-height: max(720px, min(100svh, 960px)); overflow: hidden; background: var(--green); color: #fff; }
.hero-copy { position: relative; z-index: 2; margin-top: auto; padding: 150px 0 56px; }
.hero h1 { max-width: 6em; font-size: clamp(3.6rem, 6.4vw, 7.25rem); line-height: .95; }
.hero h1 span { color: var(--yellow); }
.hero-copy > p { max-width: 25em; margin-top: 26px; font-size: 1.25rem; line-height: 1.4; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 34px; }
.text-link { font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--yellow); }

.atlas { position: absolute; top: 0; right: -6vw; height: 100%; aspect-ratio: 1200 / 863; }
.atlas img, .atlas-routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.route {
  fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.5s cubic-bezier(.5, 0, .2, 1) calc(.25s + var(--i) * .16s) forwards;
}
.stop { opacity: 0; animation: arrive .35s ease-out calc(1.35s + var(--i) * .16s) forwards; }
.stop circle { fill: var(--yellow); stroke: var(--green); stroke-width: 3; }
.stop text { fill: #fff; font: 600 21px Barlow, Arial, sans-serif; paint-order: stroke; stroke: var(--green); stroke-width: 5px; stroke-linejoin: round; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes arrive { to { opacity: 1; } }

.strap {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, .35);
  font-size: 1rem; font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 58px; padding: 0 24px;
  border: 0; border-radius: 3px;
  font: 600 1.125rem Barlow, Arial, sans-serif; text-decoration: none; cursor: pointer;
}
.btn svg { width: 22px; height: 22px; transition: transform .2s; }
.btn:hover svg { transform: translateX(5px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #fff; }
.btn-dark { min-height: 46px; background: var(--ink); color: #fff; }

/* Services */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.split-head { position: sticky; top: 48px; align-self: start; }
.split-head p { max-width: 22em; margin-top: 24px; }
.ledger { border-bottom: 2px solid var(--rule); }
.ledger li { padding: 28px 0 34px; border-top: 2px solid var(--rule); }
.ledger h3 { font-size: clamp(2.25rem, 3.6vw, 3.25rem); }
.ledger p { max-width: 34em; margin-top: 12px; }

/* Routes */
.routes { padding-top: 0; }
.routes-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.routes-grid > div > p { max-width: 22em; margin-top: 24px; }
.sign { padding: 12px; background: var(--green); border-radius: 20px; color: #fff; box-shadow: 0 2px 0 var(--green-deep); }
.sign-inner { padding: 30px 14px 16px; border: 3px solid #fff; border-radius: 11px; }
.sign-title { padding: 0 20px 14px; color: var(--yellow); font: 700 clamp(2.4rem, 4vw, 3.5rem)/1 var(--display); }
.sign button {
  display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 20px;
  width: 100%; padding: 14px 20px;
  background: none; border: 0; border-radius: 5px; color: inherit;
  font: inherit; text-align: left; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.sign button svg { width: 42px; height: 42px; transform: rotate(var(--b)); }
.sign button:hover, .sign button:focus-visible { background: var(--yellow); color: var(--ink); outline: 0; }
.place { font: 600 clamp(1.9rem, 3.2vw, 2.75rem)/1.05 var(--display); }
.cue { font-size: 1rem; font-weight: 500; }

/* Process */
.process { overflow: hidden; background: var(--yellow); }
.process-lead { margin-top: 18px; font-size: 1.25rem; }
.strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 64px; }
.strip::before { content: ""; position: absolute; top: 11px; left: -100vw; right: -100vw; height: 6px; background: var(--ink); }
.strip li { position: relative; }
.strip li::before {
  content: ""; display: block; position: relative;
  width: 28px; height: 28px; margin-bottom: 30px;
  background: var(--yellow); border: 6px solid var(--ink); border-radius: 50%;
}
.strip li:last-child::before { background: var(--ink); }
.strip h3 { font-size: clamp(2rem, 2.8vw, 2.5rem); }
.strip p { margin-top: 10px; }

/* About */
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.statement { max-width: 20em; margin-top: 30px; font: 500 clamp(1.9rem, 3vw, 2.75rem)/1.12 var(--display); }
.register { border-bottom: 1px solid var(--rule); }
.register > div { padding: 13px 0; border-top: 1px solid var(--rule); }
.register dt { font-size: 1rem; }
.register dd { font-weight: 600; }

/* Contact */
.contact { background: var(--green); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-side p { max-width: 22em; margin: 24px 0 36px; }
.contact-line { display: block; width: fit-content; color: var(--yellow); font: 600 clamp(1.6rem, 2.5vw, 2.25rem)/1.35 var(--display); text-decoration: none; overflow-wrap: anywhere; }
.contact-line:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Consignment-note form */
.note { display: grid; grid-template-columns: 1fr 1fr; background: #fffef9; color: var(--ink); border: 2px solid var(--ink); }
.cell { position: relative; min-width: 0; padding: 12px 16px 10px; border-bottom: 2px solid var(--ink); }
.cell:nth-child(odd):not(.cell-wide) { border-right: 2px solid var(--ink); }
.cell-wide { grid-column: 1 / -1; }
.cell:focus-within { background: #fff6c7; }
.cell label { display: block; font-size: .95rem; font-weight: 600; }
.cell label b { color: var(--red); }
.cell input, .cell select, .cell textarea {
  display: block; width: 100%; padding: 4px 0;
  background: transparent; color: var(--ink);
  border: 0; border-radius: 0; outline: 0;
  font: 500 1.25rem/1.4 Barlow, Arial, sans-serif;
}
.cell input, .cell select { height: 42px; }
.cell select {
  appearance: none; padding-right: 26px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6' fill='none' stroke='%23101512' stroke-width='2.500'/%3E%3C/svg%3E") right center / 15px no-repeat;
}
.cell textarea { resize: vertical; }
::placeholder { color: #6a6f69; opacity: 1; }
.cell:has([aria-invalid="true"]) { background: #fdecea; }
.error { color: var(--red); font-size: 1rem; font-weight: 500; }
.error:empty { display: none; }
.submit {
  grid-column: 1 / -1; height: 74px;
  background: var(--ink); color: var(--yellow);
  border: 0; font: 600 1.9rem var(--display); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.submit:hover { background: var(--yellow); color: var(--ink); }
.submit:focus-visible { outline-offset: -8px; }
.submit:disabled { cursor: progress; background: var(--ink); color: var(--yellow); opacity: .8; }

/* Footer */
.site-footer { padding: 44px 0 30px; background: var(--green-deep); color: #fff; font-size: 1rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 44px; }
.site-footer address { flex: 1 1 340px; font-style: normal; }
.footer-legal { display: flex; gap: 24px; }
.link { padding: 0; background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link:hover { color: var(--yellow); }
.copyright { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .25); color: var(--soft); }

/* Dialogs */
dialog { width: min(560px, 100% - 32px); padding: 32px; background: #fffef9; color: var(--ink); border: 2px solid var(--ink); }
dialog::backdrop { background: rgba(8, 53, 42, .75); }
dialog h2 { font-size: 2.75rem; }
dialog p { margin-top: 14px; }
dialog form { margin-top: 24px; }

/* Toasts, styled as small signs */
.toasts { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: min(380px, 100vw - 32px); }
.toast {
  padding: 15px 18px;
  background: var(--green); color: #fff;
  border: 2px solid #fff; border-radius: 8px;
  box-shadow: 0 0 0 4px var(--green), 0 16px 34px rgba(0, 0, 0, .35);
  animation: toast-in .22s ease-out;
}
.toast strong { display: block; color: var(--yellow); font: 700 1.6rem/1.1 var(--display); }
.toast.is-error { background: var(--yellow); color: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 4px var(--yellow), 0 16px 34px rgba(0, 0, 0, .35); }
.toast.is-error strong { color: var(--ink); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 1040px) {
  .split, .routes-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-head { position: static; }
  .strip { grid-template-columns: 1fr; gap: 32px; }
  .strip::before { top: 14px; bottom: -200px; left: 11px; right: auto; width: 6px; height: auto; }
  .strip li { padding-left: 56px; }
  .strip li::before { position: absolute; left: 0; top: 2px; margin: 0; }

  .hero { min-height: 0; }
  .hero-copy { margin-top: 0; padding: 128px 0 0; }
  .atlas { position: relative; right: auto; width: 130vw; height: auto; margin: -14vw 0 -5vw -30vw; -webkit-mask-image: linear-gradient(transparent, #000 26%); mask-image: linear-gradient(transparent, #000 26%); }

  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 88px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 16px;
    padding: 24px 40px 30px; background: var(--green-deep); font-size: 1.25rem;
  }
  .nav.is-open { display: flex; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-row { min-height: 88px; }
  .nav { padding-inline: 20px; }
  .hero h1 { font-size: clamp(3.4rem, 15.5vw, 5.5rem); }
  .atlas { width: 600px; margin: -70px 0 -30px -160px; }
  .stop text { font-size: 31px; stroke-width: 7px; }
  .stop circle { r: 11; }
  .route { stroke-width: 5; }
  .strap { flex-direction: column; }
  .note { grid-template-columns: 1fr; }
  .cell:nth-child(odd):not(.cell-wide) { border-right: 0; }
  .sign-inner { padding: 22px 4px 8px; }
  .sign-title { padding: 0 14px 8px; }
  .sign button { grid-template-columns: 34px 1fr; gap: 14px; padding: 12px 14px; }
  .sign button svg { width: 32px; height: 32px; }
  .cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route { animation: none; stroke-dashoffset: 0; }
  .stop { animation: none; opacity: 1; }
  .toast { animation: none; }
  .btn svg { transition: none; }
}
