/* JB's Auto Repairs
   Palette: Sunrise stripe kit only (brown, red, orange, yellow) on white.
   Signature: the 60 Series stripe kick under every page hero. */

/* Archivo, hosted on the site (SIL Open Font License, see fonts/OFL.txt).
   One variable file per alphabet covers every width and weight. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-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 {
  --brown: #2D1813;
  --red: #C3161C;
  --orange: #F36523;
  --yellow: #FFC82F;
  --white: #FFFFFF;

  --ink: var(--brown);
  --ink-soft: #66524A;
  --rule: #E6DEDA;
  --on-brown-soft: #D8CAC3;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);

  /* Type scale, perfect fourth from an 18px body */
  --fs-small: 0.9375rem;
  --fs-body: 1.125rem;
  --fs-lead: clamp(1.1875rem, 1.6vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 3.6vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 6vw, 4.5rem);
  --fs-statement: clamp(1.5rem, 3.2vw, 2.375rem);

  /* Stripe kick geometry.
     --k kick height, --x where the kick starts, --t band thickness, --g gap.
     The kick climbs at about 58 degrees: --c is its cotangent, --a is
     tan(angle / 2), which keeps every band the same width through the bend. */
  --k: clamp(40px, 7.5vw, 104px);
  --x: 54%;
  --t: clamp(8px, 1.05vw, 14px);
  --g: clamp(4px, 0.42vw, 6px);
  --c: 0.62;
  --a: 0.55;
  --bands: calc(3 * (var(--g) + var(--t)));
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--fs-h2);
  font-stretch: 115%;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 750;
  font-stretch: 110%;
  line-height: 1.2;
}

p { margin: 0; max-width: 65ch; text-wrap: pretty; }
p + p { margin-top: 1em; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }

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

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.plain { list-style: none; margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brown);
  color: var(--white);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Placeholder for details that are still to come. Shows up on purpose. */
.todo {
  display: inline-block;
  padding: 0 0.4em;
  border: 2px dashed currentColor;
  background: rgba(255, 200, 47, 0.28);
  font-weight: 600;
  font-style: normal;
  line-height: 1.5;
}

/* ---------- Buttons ---------- */
/* Slanted ends like the cut ends of a stripe. The slant lives on a
   pseudo-element so focus outlines are never clipped. */

.btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: var(--brown);
  transform: skewX(-14deg);
}
.btn:hover { color: var(--white); }
.btn:hover::before { background: var(--red); }

.btn--yellow { color: var(--brown); }
.btn--yellow::before { background: var(--yellow); }
.btn--yellow:hover { color: var(--brown); }
.btn--yellow:hover::before { background: var(--white); }

.btn--outline { color: var(--white); }
.btn--outline::before { background: transparent; box-shadow: inset 0 0 0 2px var(--white); }
.btn--outline:hover { color: var(--brown); }
.btn--outline:hover::before { background: var(--white); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: clamp(28px, 3.5vw, 40px);
  padding-left: 6px;
}

.text-link {
  display: inline-block;
  margin-top: 1.25em;
  font-weight: 700;
  font-stretch: 108%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand__truck { width: auto; height: 46px; }
.brand__word { width: auto; height: 21px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__cta { margin-left: clamp(14px, 1.6vw, 26px); }
.site-nav a:not(.btn) {
  position: relative;
  display: block;
  padding: 10px 11px;
  font-size: 1rem;
  font-weight: 600;
  font-stretch: 104%;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 4px;
  background: var(--orange);
  transform: skewX(-30deg);
}

.nav-toggle { display: none; }

@media (max-width: 1100px) {
  .brand__truck { height: 40px; }
  .brand__word { height: 18px; }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 4px 8px 12px;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 22px;
    height: 3px;
    background: currentColor;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

  .site-header__inner { flex-wrap: wrap; gap: 0 12px; min-height: 68px; }

  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 4px 0 24px;
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }

  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1.125rem;
  }
  .site-nav a[aria-current="page"]::after { left: auto; right: 4px; bottom: 50%; width: 28px; transform: translateY(50%) skewX(-30deg); }
  .site-nav ul { align-items: stretch; }
  .site-nav__cta { align-self: flex-start; margin: 18px 0 0 6px; }
}

@media (max-width: 480px) {
  .brand { gap: 8px; }
  .brand__truck { height: 32px; }
  .brand__word { height: 14px; }
}

/* Smallest phones: icon-only menu button so the header stays on one line.
   The word "Menu" is still read out by screen readers. */
@media (max-width: 360px) {
  .nav-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .js .nav-toggle { padding: 10px 6px; min-width: 44px; justify-content: center; }
}

/* ---------- Hero with the stripe kick ---------- */

.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
}

/* The brown panel. Its stepped bottom edge is the top band of the kit. */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: var(--bands);
  left: 0;
  z-index: -1;
  background: var(--brown);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--k)),
    calc(var(--x) + var(--k) * var(--c)) calc(100% - var(--k)),
    var(--x) 100%,
    0 100%
  );
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: calc(var(--k) + var(--bands) + clamp(36px, 4.5vw, 64px));
}
.hero__inner--text { grid-template-columns: minmax(0, 1fr); }

.hero h1 { max-width: 15ch; }
.hero__lead {
  margin-top: clamp(18px, 2.2vw, 28px);
  max-width: 44ch;
  color: var(--on-brown-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.hero__photo {
  margin: 0;
  justify-self: end;
  width: 100%;
}
.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero__photo--tall img { aspect-ratio: 5 / 4; }

.kick {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--k) + var(--bands));
  pointer-events: none;
}

.kick i,
.stripes i {
  --o1: var(--g);
  --o2: calc(var(--g) + var(--t));
  background: var(--red);
}
.kick i:nth-child(2),
.stripes i:nth-child(2) {
  --o1: calc(2 * var(--g) + var(--t));
  --o2: calc(2 * (var(--g) + var(--t)));
  background: var(--orange);
}
.kick i:nth-child(3),
.stripes i:nth-child(3) {
  --o1: calc(3 * var(--g) + 2 * var(--t));
  --o2: calc(3 * (var(--g) + var(--t)));
  background: var(--yellow);
}

/* Each band is the brown edge shifted down by its offset and right by
   offset * tan(angle / 2), so the bands stay parallel through the kick. */
.kick i {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  clip-path: polygon(
    0 calc(var(--k) + var(--o1)),
    calc(var(--x) + var(--o1) * var(--a)) calc(var(--k) + var(--o1)),
    calc(var(--x) + var(--k) * var(--c) + var(--o1) * var(--a)) var(--o1),
    100% var(--o1),
    100% var(--o2),
    calc(var(--x) + var(--k) * var(--c) + var(--o2) * var(--a)) var(--o2),
    calc(var(--x) + var(--o2) * var(--a)) calc(var(--k) + var(--o2)),
    0 calc(var(--k) + var(--o2))
  );
}

/* The one moment of motion: bands laid down left to right, like vinyl. */
@property --lay {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .kick i {
    -webkit-mask-image: linear-gradient(90deg, #000 var(--lay), transparent var(--lay));
    mask-image: linear-gradient(90deg, #000 var(--lay), transparent var(--lay));
    animation: lay-stripe 1150ms cubic-bezier(0.25, 0.7, 0.2, 1) 200ms both;
  }
  .kick i:nth-child(2) { animation-delay: 290ms; }
  .kick i:nth-child(3) { animation-delay: 380ms; }
}

@keyframes lay-stripe {
  from { --lay: 0%; }
  to { --lay: 100%; }
}

/* Straight version of the kit along the top of the footer */
/* Sunrise order from the top: yellow, orange, red, then the brown footer. */
.stripes {
  display: grid;
  gap: var(--g);
  padding-bottom: var(--g);
}
.stripes i { display: block; height: var(--t); }
.stripes i:nth-child(3) { order: 1; }
.stripes i:nth-child(2) { order: 2; }
.stripes i:nth-child(1) { order: 3; }

@media (max-width: 820px) {
  :root { --x: 58%; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { justify-self: stretch; }
  .hero__photo img,
  .hero__photo--tall img { aspect-ratio: 16 / 10; }
}

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

.section { padding-block: var(--section); }
.section--tight-top { padding-top: clamp(40px, 6vw, 72px); }
.section + .section--rule { border-top: 1px solid var(--rule); }

.section__head { max-width: 44rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { margin-top: 0.9em; color: var(--ink-soft); }

.band {
  background: var(--brown);
  color: var(--white);
  padding-block: clamp(56px, 8vw, 104px);
}
.band a:hover { color: var(--yellow); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split--media-left > :first-child { order: 0; }
.split figure { margin: 0; }
.split figure img { width: 100%; }

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

.statement {
  max-width: 34ch;
  font-size: var(--fs-statement);
  font-weight: 600;
  font-stretch: 106%;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.statement + p { margin-top: 1.25em; font-size: var(--fs-lead); color: var(--ink-soft); }
h2 + .statement { margin-top: 0.8em; }
.statement--small { font-size: clamp(1.25rem, 2.2vw, 1.625rem); }

.lead-ink {
  font-size: var(--fs-lead);
  line-height: 1.5;
}
h2 + .lead-ink { margin-top: 0.9em; }
.section__head .lead-ink { color: var(--ink); }
.band .lead-ink { color: var(--on-brown-soft); }

.h3 {
  font-size: var(--fs-h3);
  font-weight: 750;
  font-stretch: 110%;
  line-height: 1.2;
}

.stack-close { margin-top: 1em; }

/* "Land Cruiser know-how" must always sit on one line, so it shrinks to fit
   instead of wrapping. --fit is that heading's width divided by its font size
   (measured), plus a little room. Re-measure if the heading text changes. */
.one-line {
  --fit: 17.8;
  white-space: nowrap;
  font-size: min(var(--fs-h2), calc(min(100vw - 2 * var(--gutter), var(--wrap)) / var(--fit)));
}
/* A heading across the top, then two columns that start level with each other */
h2 + .split { margin-top: clamp(24px, 3vw, 40px); }

@media (max-width: 560px) {
  .one-line { --fit: 14.45; font-stretch: 92%; }
}

/* Why JB's: the three "we'll tell you" lines sit on the right, level with the
   first promise paragraph. */
.promise-lines { margin: 0; }

.band h2 + p {
  margin-top: 1em;
  color: var(--on-brown-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.big-line {
  max-width: 22ch;
  font-size: var(--fs-h2);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

/* Short sentences set one per line */
.stack {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.625rem, 3.6vw, 2.75rem);
  font-weight: 800;
  font-stretch: 116%;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.stack li + li { margin-top: 0.22em; }
.stack--quiet { font-size: clamp(1.375rem, 2.6vw, 2rem); font-weight: 700; font-stretch: 108%; }

/* ---------- Home ---------- */

.service-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--brown);
}
.service-index a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1.125rem;
  font-weight: 650;
  font-stretch: 106%;
  text-decoration: none;
}
.service-index a:hover { text-decoration: underline; }

@media (max-width: 900px) { .service-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .service-index { grid-template-columns: minmax(0, 1fr); } }

.doors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.door { position: relative; }
.door img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.door h2 {
  margin-top: 20px;
  font-size: var(--fs-h3);
  font-weight: 800;
  font-stretch: 112%;
}
.door h2 a { text-decoration: none; }
.door h2 a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.door:hover h2 a { color: var(--red); text-decoration: underline; }
.door p { margin-top: 8px; color: var(--ink-soft); }

@media (max-width: 820px) {
  .doors { grid-template-columns: minmax(0, 1fr); }
  .door img { aspect-ratio: 16 / 9; }
}

/* Six logos: two even rows of three, or three rows of two on phones, so none is left on its own */
.suppliers {
  --logo-h: clamp(34px, 4vw, 46px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 4vw, 56px) clamp(24px, 5vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.suppliers img {
  width: auto;
  max-width: 100%;
  height: var(--logo-h);
  object-fit: contain;
  object-position: left center;
}
/* A square logo at the same height as the wide ones looks far smaller, so it gets more height */
.suppliers .suppliers__square { height: calc(var(--logo-h) * 1.65); }
@media (max-width: 560px) { .suppliers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Closing call to action ---------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px 48px;
}
.cta h2 { max-width: 20ch; }
.cta p { margin-top: 0.75em; color: var(--ink-soft); }
.cta .actions { margin-top: 0; }

/* ---------- Lists of named items (services, values) ---------- */

.entries {
  margin: 0;
  border-top: 2px solid var(--brown);
}
.entries > div {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 8px clamp(24px, 5vw, 72px);
  padding-block: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--rule);
}
.entries dt {
  font-size: var(--fs-h3);
  font-weight: 800;
  font-stretch: 114%;
  line-height: 1.2;
}
.entries dd { margin: 0; }
.entries dd p { color: var(--ink-soft); }
.entries dd .text-link { margin-top: 0.6em; }

@media (max-width: 720px) {
  .entries > div { grid-template-columns: minmax(0, 1fr); }
}

.beliefs {
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
  max-width: 60ch;
}
.beliefs li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--rule);
  font-size: var(--fs-lead);
  font-weight: 500;
}
.beliefs li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(14px + 0.62em);
  width: 16px;
  height: 5px;
  background: var(--orange);
  transform: skewX(-30deg);
}

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

.quote {
  margin: 0;
  max-width: 34rem;
}
.quote p {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 650;
  font-stretch: 106%;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.quote footer {
  margin-top: 1.1em;
  color: var(--ink-soft);
  font-weight: 600;
}
.quote--on-brown p { color: var(--white); }
.quote--on-brown footer { color: var(--yellow); }

/* ---------- Checklist (touring) ---------- */

.checklist {
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  list-style: none;
  border: 2px solid var(--brown);
}
.checklist li {
  position: relative;
  padding: 12px 0 12px 40px;
  border-bottom: 1px solid var(--rule);
  font-weight: 550;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(12px + 0.15em);
  width: 22px;
  height: 22px;
  border: 2px solid var(--brown);
}

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

/* One column per item, however many there are. */
.trio {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  border-top: 2px solid var(--brown);
  padding-top: clamp(28px, 3.5vw, 40px);
}
.trio p { margin-top: 0.75em; color: var(--ink-soft); }

@media (max-width: 820px) {
  .trio { grid-auto-flow: row; }
}

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 72px);
  border-top: 2px solid var(--brown);
}
.contact-grid > section {
  padding-block: clamp(28px, 3.5vw, 40px);
  border-bottom: 1px solid var(--rule);
}
.contact-grid h2 { font-size: var(--fs-h3); }
.contact-grid .value {
  margin-top: 10px;
  font-size: var(--fs-lead);
  font-weight: 600;
}
.contact-grid .actions { margin-top: 20px; }

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

/* Days and times line up in two columns; the narrow footer stacks them. */
.hours {
  display: grid;
  grid-template-columns: max-content auto;
  gap: 6px 28px;
  margin: 0;
}
.hours div { display: contents; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

.site-footer .hours { grid-template-columns: minmax(0, 1fr); gap: 0; }
.site-footer .hours div + div dt { margin-top: 10px; }

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

.site-footer { margin-top: 0; }
.site-footer__body {
  background: var(--brown);
  color: var(--on-brown-soft);
  padding-block: clamp(48px, 7vw, 88px) 32px;
  font-size: 1rem;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.site-footer .todo { color: var(--yellow); background: transparent; }

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr));
  gap: 40px clamp(24px, 4vw, 56px);
  align-items: start;
}
.site-footer h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1.125rem;
  font-stretch: 110%;
}
.site-footer__col li + li { margin-top: 12px; }
.site-footer__label { display: block; font-size: var(--fs-small); }

.plate {
  display: block;
  max-width: 260px;
  padding: 14px 18px;
  background: var(--white);
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--fs-small);
}
.site-footer__credit {
  max-width: none;
  margin-top: 20px;
  font-size: 0.8125rem;
}
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover,
.site-footer__nav a[aria-current="page"] { text-decoration: underline; }

@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

.split--end { align-items: end; }
