/* Mooremiles Couriers */

@font-face {
  font-family: 'Zilla Slab';
  src: url(/fonts/zilla-slab-latin-700-normal.woff2) format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url(/fonts/source-sans-3-latin-wght-normal.woff2) format('woff2');
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --paper: #F6F2E9;
  --paper-2: #ECE5D4;
  --white: #FFFFFF;
  --ink: #1B1A17;
  --green: #1E3B2C;
  --green-deep: #142B1F;
  --yellow: #F0B323;
  --yellow-hover: #DCA216;
  --line: #D6CDB8;
  --input-border: #8C8573;
  --muted: #4D4A43;
  --muted-on-dark: #CDD8CE;
  --required: #B42318;

  --font-head: 'Zilla Slab', Rockwell, 'Roboto Slab', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1180px;
  --pad-x: clamp(20px, 5vw, 56px);
  --pad-y: clamp(56px, 8vw, 104px);
  --radius: 6px;
  --radius-sm: 4px;
  --header-h: 80px;

  --focus: var(--green);
}

.on-dark { --focus: var(--yellow); }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, dl, dd, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

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

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

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad-x));
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--pad-y); }
.section--alt { background: var(--paper-2); }
.section--yellow { background: var(--yellow); }

.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--sm { gap: 10px; }
.stack--md { gap: 32px; }
.stack--lg { gap: 48px; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 48px clamp(40px, 6vw, 88px); }
.split--center { align-items: center; }
.split--start { align-items: start; }
.split--narrow { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
@media (min-width: 980px) { .split--narrow { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

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

.display {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.display--xl { font-size: clamp(44px, 6.6vw, 88px); line-height: 1.02; }
.display--lg { font-size: clamp(34px, 4.4vw, 56px); }
.display--md { font-size: clamp(28px, 3.2vw, 40px); }

.eyebrow { font-weight: 600; font-size: 19px; color: var(--yellow); }

.lead { color: var(--muted); font-size: 20px; text-wrap: pretty; }
.body-muted { color: var(--muted); }

.link-strong {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.link-strong:hover { text-decoration-color: var(--yellow-hover); }
.link-button { background: none; border: 0; padding: 0; text-decoration: underline; min-height: 44px; align-self: flex-start; }

.note { font-size: 15px; color: var(--muted); }

.icon { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: var(--yellow-hover); }
.btn--dark { background: var(--green); color: var(--paper); }
.btn--dark:hover { background: var(--green-deep); }
.btn--sm { font-size: 16px; white-space: nowrap; }
.btn--lg { font-size: 18px; min-height: 54px; padding: 14px 30px; }
.btn--block { width: 100%; font-size: 18px; min-height: 54px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn--primary:focus-visible { outline-color: var(--ink); }

/* ---------- Utility bar ---------- */

.utility { background: var(--green-deep); color: var(--paper); padding-block: 8px; font-size: 15px; }
.utility__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; }
.utility__contact { display: flex; flex-wrap: wrap; gap: 0 24px; }
.utility__link { display: inline-flex; align-items: center; min-height: 32px; color: var(--paper); text-decoration: none; }
.utility__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.utility__cta { color: var(--yellow); font-weight: 600; text-underline-offset: 4px; }

/* ---------- Header + nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { position: relative; display: flex; align-items: center; gap: 16px 32px; padding-block: 14px; }

.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; margin-right: auto; }
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 32px; letter-spacing: -0.01em; }
.logo__sub { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo--footer { color: var(--paper); }
.logo--footer .logo__name { font-size: 38px; }
.logo--footer .logo__sub { color: var(--yellow); }

.nav { display: flex; align-items: center; gap: 4px 28px; font-size: 17px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--yellow-hover); text-decoration-thickness: 3px; text-underline-offset: 6px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  background: none;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  :root { --header-h: 70px; }
  .site-header__inner { padding-block: 10px; gap: 12px; }
  .logo__name { font-size: 28px; }
  .logo__sub { font-size: 11px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -16px rgba(0, 0, 0, 0.25);
    padding: 6px var(--pad-x) 14px;
    font-size: 19px;
  }
  .nav a { padding-block: 10px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .js .nav:not(.is-open) { display: none; }
}

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

.hero { background: var(--green); color: var(--paper); padding: clamp(44px, 7vw, 96px) 0 clamp(52px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 48px clamp(40px, 6vw, 80px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted-on-dark); max-width: 33em; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-top: 4px; }
.hero__call { color: var(--paper); font-weight: 600; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 46px; }

/* Quick quote card */
.docket {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  --focus: var(--green);
}
.docket__head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.docket__title { font-family: var(--font-head); font-weight: 700; font-size: 28px; line-height: 1.1; }
.docket .note { color: var(--muted); }

.route { display: grid; grid-template-columns: 18px 1fr; column-gap: 14px; }
.route__line { display: flex; flex-direction: column; align-items: center; padding-top: 36px; }
.route__dot { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--ink); background: var(--paper); flex: none; }
.route__dot--to { background: var(--yellow); }
.route__dash { flex: 1; width: 0; border-left: 2px dotted var(--input-border); margin: 5px 0; }
.route__line::after { content: ''; height: 30px; }
.route__fields { display: flex; flex-direction: column; gap: 14px; }

.segmented { border: 0; min-width: 0; }
.segmented .field__label { padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.segmented__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; clear: both; }
.segmented__btn {
  min-height: 46px;
  padding: 4px 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--input-border);
  background: var(--white);
  color: var(--ink);
}
.segmented__btn:hover { border-color: var(--ink); }
.segmented__btn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--paper); }

/* Price estimate */
.when-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.when-extra [hidden] { display: none; }
.estimate { border-top: 2px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.estimate[hidden] { display: none; }
.estimate__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
.estimate__total strong { font-family: var(--font-head); font-weight: 700; font-size: 42px; line-height: 1; }
.estimate__lines { border-top: 1px solid var(--line); }
.estimate__line { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.estimate__line dd { font-weight: 700; white-space: nowrap; }
.estimate__msg { font-weight: 600; }
.estimate--error .estimate__msg { color: var(--required); }

/* Place / postcode suggestions */
.lookup { position: relative; }
.lookup__list {
  position: absolute;
  left: 0; right: 0; top: 100%;
  margin-top: 4px;
  z-index: 30;
  max-height: 290px;
  overflow-y: auto;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.35);
}
.lookup__list[hidden] { display: none; }
.lookup__list li { padding: 11px 14px; min-height: 44px; display: flex; align-items: center; cursor: pointer; border-bottom: 1px solid var(--line); }
.lookup__list li:last-child { border-bottom: 0; }
.lookup__list li:hover { background: var(--paper-2); }
.lookup__list li[aria-selected="true"] { background: var(--green); color: var(--paper); }

/* ---------- Road line ---------- */

.lane {
  height: 14px;
  background-color: var(--green-deep);
  background-image: repeating-linear-gradient(90deg, var(--yellow) 0 44px, transparent 44px 88px);
  background-size: 100% 3px;
  background-repeat: no-repeat;
  background-position: 0 center;
}

/* ---------- Assurances ---------- */

.assure { padding-block: 28px; border-bottom: 1px solid var(--line); }
.assure__list { display: flex; flex-wrap: wrap; gap: 6px 40px; }
.assure__item { font-size: 18px; color: var(--muted); }
.assure__item strong { color: var(--ink); font-weight: 700; }

/* ---------- Services ---------- */

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 48px; }
.section-head__aside { max-width: 26em; color: var(--muted); text-wrap: pretty; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px clamp(32px, 4vw, 56px); }
.service { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 3px solid var(--ink); }
.service h3 { font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1.1; }
.service p { color: var(--muted); text-wrap: pretty; }
.service .service__tagline { margin-top: auto; padding-top: 6px; color: var(--ink); font-weight: 700; }
.service .link-strong { align-self: flex-start; min-height: 28px; }

/* ---------- How it works ---------- */

.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; padding: 22px 0; border-top: 2px solid var(--ink); }
.steps li:last-child { border-bottom: 2px solid var(--ink); }
.step__n { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; }
.step__title { font-family: var(--font-head); font-weight: 700; font-size: 26px; line-height: 1.15; }
.steps p { grid-column: 2; margin-top: 4px; }

/* ---------- Van + photos ---------- */

.photo {
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px dashed var(--input-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photo--wide { aspect-ratio: 16 / 10; }
.photo--standard { aspect-ratio: 4 / 3; }
.section--alt .photo { background: var(--paper); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--real { background: #fff; border-style: solid; margin: 0; }
.photo--art { position: relative; margin: 0; background: var(--paper-2); border-style: solid; }
.photo--art img { object-fit: contain; padding: 4% 4% 10%; }
.photo__caption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.photo__tag { font-size: 16px; color: var(--muted); padding: 8px 14px; text-align: center; }

.specs { border-top: 2px solid var(--ink); }
.specs__item { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 20px; flex-wrap: wrap; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 700; font-size: 20px; }

/* ---------- About ---------- */

.why__title { font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1.1; margin-bottom: 8px; }
.why__item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.why__item:first-child { border-top: 2px solid var(--ink); }
.why__item h4 { font-weight: 700; font-size: 20px; line-height: 1.3; }
.why__item p { margin-top: 2px; color: var(--muted); }

/* ---------- Reviews ---------- */

.reviews { padding-block: 0 var(--pad-y); }
.reviews[hidden] { display: none; }
.grid--reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; }
.review { border-left: 5px solid var(--yellow); padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { font-size: 21px; line-height: 1.4; }
.review figcaption { font-size: 16px; color: var(--muted); font-weight: 600; }

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

.callcard { background: var(--green); color: var(--paper); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; --focus: var(--yellow); }
.callcard h3 { font-family: var(--font-head); font-weight: 700; font-size: 28px; line-height: 1.1; }
.callcard p { color: var(--muted-on-dark); }
.callcard a { color: var(--paper); }
.callcard__phone { font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1.2; text-decoration: none; margin-top: 6px; }
.callcard__email { font-size: 18px; text-underline-offset: 4px; }

.formcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.quote-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px 20px; }
.field--wide { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: 16px; font-weight: 600; }
.req { color: var(--required); }

.input {
  width: 100%;
  min-width: 0;
  font-weight: 400;
  font-size: 17px;
  padding: 12px 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
select.input {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231B1A17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
input[type="date"].input { min-height: 52px; }
textarea.input { resize: vertical; min-height: 110px; }
.input::placeholder { color: #757068; }
.input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--required); }

.field-error { color: var(--required); font-size: 15px; font-weight: 600; }

.checks { border: 0; min-width: 0; }
.checks legend { padding: 0; margin-bottom: 8px; }
.checks__row { display: flex; flex-wrap: wrap; gap: 0 22px; }
.check { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 17px; cursor: pointer; }
.check input { width: 21px; height: 21px; margin: 0; flex: none; accent-color: var(--green); }
.check--consent { align-items: flex-start; font-size: 16px; color: var(--muted); padding-block: 4px; }
.check--consent input { margin-top: 2px; }
.check--consent a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.consent .field-error { margin-top: 4px; }

.form-alert { background: #FBE9E6; border: 1px solid var(--required); color: #7A1810; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 16px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.form-foot p { font-size: 15px; color: var(--muted); max-width: 24em; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 8px; }
.success[hidden] { display: none; }
.success:focus { outline: none; }
.success__tick { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--yellow); display: flex; align-items: center; justify-content: center; }
.success h3 { font-family: var(--font-head); font-weight: 700; font-size: 30px; line-height: 1.1; }
.success p { color: var(--muted); }

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

.footer { background: var(--green); color: var(--muted-on-dark); padding-block: 56px 36px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 36px; }
.footer__strap { max-width: 22em; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col a { color: var(--muted-on-dark); width: fit-content; text-underline-offset: 3px; }
.footer__col a:hover { color: var(--white); }
.footer__heading { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--yellow); margin-bottom: 4px; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 15px; color: #AEBBB0; }

/* ---------- Privacy / 404 pages ---------- */

.prose { max-width: 44rem; padding-block: clamp(44px, 6vw, 80px); }
.prose h1 { margin-bottom: 8px; }
.prose h2 { font-family: var(--font-head); font-weight: 700; font-size: 28px; line-height: 1.15; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.prose a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.prose .updated { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin-top: 12px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.prose th { color: var(--ink); font-weight: 700; }
.table-wrap { overflow-x: auto; }

@media (max-width: 480px) {
  body { font-size: 17px; }
  .form-foot .btn { width: 100%; }
  .assure__list { gap: 4px 28px; }
}

@media print {
  .utility, .site-header, .lane, .docket { display: none; }
}
