/* L&L Transport Solutions — site styles
   Palette and forms borrow from British primary-route signs:
   green panel, white border, yellow route numbers, mixed-case lettering. */

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

:root {
  --route-green: #00613a;
  --route-green-deep: #004a2c;
  --route-yellow: #ffcc00;
  --white: #ffffff;
  --ink: #10261b;
  --ink-soft: #4a5e53;
  --verge: #eef2ef;
  --rule: #d3ddd6;

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sign: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

  /* Modular scale, ratio 1.25 from 18px body */
  --step--1: 0.889rem;
  --step-0: 1.125rem;
  --step-1: 1.406rem;
  --step-2: 1.758rem;
  --step-3: 2.197rem;
  --step-4: clamp(2.3rem, 1.6rem + 3.2vw, 3.8rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 38rem;
  --wrap: 72rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-sign);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; max-width: var(--measure); text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--route-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--route-yellow);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Route badge (the logo) ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
}
.badge__mark { width: 3.25rem; height: auto; flex: none; }
.badge__name {
  font-family: var(--font-sign);
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.05;
  white-space: nowrap;
}
.badge__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--step--1);
  opacity: 0.8;
}

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

.site-header {
  background: var(--route-green);
  color: var(--white);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-weight: 500;
}
.site-nav a:not(.button) { text-decoration: none; }
.site-nav a:not(.button):hover { text-decoration: underline; text-underline-offset: 0.25em; }

.site-nav__short { display: none; }

@media (max-width: 52rem) {
  .site-nav a:not(.button) { display: none; }
  .site-nav__long { display: none; }
  .site-nav__short { display: inline; }
}

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

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.button--yellow { background: var(--route-yellow); color: var(--ink); }
.button--yellow:hover { background: #ffd83d; }
.button--outline { border-color: currentColor; color: var(--white); }
.button--outline:hover { background: rgba(255, 255, 255, 0.1); }
.button--green { background: var(--route-green); color: var(--white); }
.button--green:hover { background: var(--route-green-deep); }
.button--small { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: var(--step--1); }

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

.hero {
  background: var(--route-green);
  color: var(--white);
  padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 8vw, 6rem);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hero h1 { font-size: var(--step-4); max-width: 14ch; }
.hero__lede { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.45; opacity: 0.92; max-width: 32rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

@media (max-width: 52rem) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* The direction sign: the page's own navigation, drawn as a primary-route sign. */
.sign {
  margin: 0;
  padding: 0.5rem;
  background: var(--route-green);
  border: 0.4rem solid var(--white);
  border-radius: 1.1rem;
  box-shadow: 0 0 0 0.3rem var(--route-green), 0 1.25rem 2.5rem rgba(0, 30, 16, 0.35);
}
.sign__route {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem 0.9rem;
  border-bottom: 0.2rem solid var(--white);
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: var(--step-2);
}
.sign__route span:first-child { color: var(--route-yellow); }
.sign__route span:last-child { font-size: var(--step-0); font-weight: 600; opacity: 0.85; }
.sign ul { list-style: none; margin: 0; padding: 0.35rem 0; }
.sign li + li { border-top: 1px solid rgba(255, 255, 255, 0.22); }
.sign a {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  font-family: var(--font-sign);
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.15;
  text-decoration: none;
  border-radius: 0.5rem;
}
.sign a:hover { background: var(--route-green-deep); }
.sign svg { width: 2.4rem; height: 2.4rem; fill: var(--white); }
.sign .sign__yellow { color: var(--route-yellow); }

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

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--verge { background: var(--verge); }
.section h2 { font-size: var(--step-3); }
.section__intro { margin-top: 0.9rem; color: var(--ink-soft); font-size: var(--step-1); line-height: 1.45; }

/* Services: a plain list with a green rule, not a grid of cards. */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 3.5rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}
.services li { padding-left: 1.25rem; border-left: 0.3rem solid var(--route-green); }
.services h3 { font-size: var(--step-2); }
.services p { margin-top: 0.4rem; color: var(--ink-soft); }

@media (max-width: 44rem) {
  .services { grid-template-columns: 1fr; }
}

/* Steps: a real sequence, so they are numbered and joined by a road line. */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin: 3.25rem 0 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  right: 1.35rem;
  height: 0.3rem;
  background: repeating-linear-gradient(90deg, var(--route-green) 0 1.6rem, transparent 1.6rem 2.6rem);
}
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1.1rem;
  background: var(--route-green);
  color: var(--route-yellow);
  border: 0.2rem solid var(--white);
  box-shadow: 0 0 0 0.15rem var(--route-green);
  border-radius: 0.45rem;
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: var(--step-1);
}
.steps h3 { font-size: var(--step-1); }
.steps p { margin-top: 0.4rem; color: var(--ink-soft); font-size: var(--step-0); }

@media (max-width: 52rem) {
  .steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .steps::before {
    top: 1.35rem;
    bottom: 1.35rem;
    left: 1.2rem;
    right: auto;
    width: 0.3rem;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--route-green) 0 1.6rem, transparent 1.6rem 2.6rem);
  }
  .steps li { padding-left: 4rem; }
  .steps li::before { position: absolute; left: 0; top: 0; }
}

/* App in development: drawn as a yellow temporary road sign, the UK convention for new or changing routes. */
.notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--route-yellow);
  color: var(--ink);
  border: 0.4rem solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 0 0 0 0.3rem var(--route-yellow);
}
.notice :focus-visible { outline-color: var(--ink); }
.notice h2 { font-size: var(--step-3); }
.notice__tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--ink);
  color: var(--route-yellow);
  border-radius: 0.35rem;
  font-weight: 600;
  font-size: var(--step--1);
}
.notice__lede { margin-top: 1rem; font-size: var(--step-1); line-height: 1.45; }
.notice__body { margin: 1rem 0 1.75rem; }
.notice__planned { margin-bottom: 1.25rem; font-weight: 600; }
.notice__note { margin-top: 0.6rem; font-size: var(--step--1); }
.notice__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: start;
}
.notice__features li { padding-left: 1rem; border-left: 0.3rem solid var(--ink); }
.notice__features h3 { font-size: var(--step-1); }
.notice__features p { margin-top: 0.35rem; }

.button--ink { background: var(--ink); color: var(--white); }
.button--ink:hover { background: var(--route-green-deep); }

@media (max-width: 52rem) {
  .notice { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
  .notice__features { grid-template-columns: 1fr; }
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__lines { display: grid; gap: 1.5rem; margin: 2rem 0 0; }
.contact__lines dt { font-weight: 500; color: var(--ink-soft); font-size: var(--step--1); }
.contact__lines dd { margin: 0.15rem 0 0; font-family: var(--font-sign); font-weight: 600; font-size: var(--step-2); line-height: 1.2; }
.contact__lines dd a { text-decoration: none; overflow-wrap: anywhere; }
.contact__lines dd a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.quote-panel {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--white);
  border: 2px solid var(--rule);
  border-radius: 0.75rem;
}
.quote-panel h3 { font-size: var(--step-2); }
.quote-panel ul { margin: 1rem 0 1.75rem; padding-left: 1.2rem; color: var(--ink-soft); }
.quote-panel li + li { margin-top: 0.35rem; }

@media (max-width: 52rem) {
  .contact { grid-template-columns: 1fr; }
}

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

.site-footer {
  background: var(--route-green-deep);
  color: rgba(255, 255, 255, 0.86);
  padding-block: 2.5rem;
  font-size: var(--step--1);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem 3rem;
}
.site-footer p { max-width: 46rem; }
.site-footer strong { color: var(--white); font-weight: 600; }

/* ---------- 404 ---------- */

.lost {
  min-height: 60vh;
  display: grid;
  align-content: center;
  gap: 1.25rem;
  padding-block: 4rem;
}
.lost h1 { font-size: var(--step-4); }
.lost p { font-size: var(--step-1); color: var(--ink-soft); }
