/* VACC modern kit: tokens.css (draft 1, 2026-11-23)
   Fonts and custom properties only. Build order on a site:
   tokens.css, then the site's brand.css (from brand_check.py), then kit.css,
   concatenated into one content-hashed file such as /assets/site.<10 hex>.css.
   Font URLs are relative: keep the font files in a fonts/ folder beside the CSS. */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlow-latin-400-normal.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;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-latin-700-normal.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;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlow-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Type: one family, two weights. */
  --font: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --weight-text: 400;
  --weight-bold: 700;

  /* Five sizes, no more. Display about 72px at 1440, 38px at 390. */
  --step-display: clamp(2.375rem, 1.35rem + 4.1vw, 4.5rem);
  --step-h2: clamp(1.875rem, 1.3rem + 2.3vw, 3.25rem);
  --step-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-small: 1rem;

  --lh-display: 0.98;
  --lh-head: 1.06;
  --lh-body: 1.55;
  --track-display: -0.025em;
  --track-head: -0.015em;

  /* Neutral colours, shared by every site. brand_check.py checks against these. */
  --ground: #ffffff;
  --ground-2: #f2f2ef;
  --ink: #161616;
  --ink-2: #4b4b4b;
  --dark: #161616;
  --on-dark: #ffffff;
  --on-dark-2: #c9c9c6;
  --line-control: #4b4b4b; /* form field borders only: 8.9:1 on white */

  /* Brand defaults: a neutral ink theme. brand.css overrides all of these. */
  --brand: #161616;
  --brand-field: #161616;
  --on-brand: #ffffff;
  --brand-ink: #161616;
  --btn-bg: #161616;
  --btn-fg: #ffffff;
  --btn-field-bg: #ffffff;
  --btn-field-fg: #161616;
  --brand-on-dark: #ffffff;

  /* Space. One pair of outer margins everywhere. */
  --wrap: 82.5rem;
  --margin: clamp(1rem, 0.5rem + 2.6vw, 3rem);
  --gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  --stack: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  --section: clamp(4.5rem, 2.5rem + 7vw, 9rem);
  --measure: 62ch;

  /* Shape and controls. Square corners, decided once. */
  --radius: 0;
  --tap: 3rem;
  --focus-width: 3px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* brand.css for lakesdiesels.com.au: generated by brand_check.py from #16569e on 2026-11-23. Do not edit by hand; re-run the script. */
:root {
  --brand: #16569e;
  --brand-field: #16569e;
  --on-brand: #ffffff;
  --brand-ink: #16569e;
  --btn-bg: #16569e;
  --btn-fg: #ffffff;
  --btn-field-bg: #ffffff;
  --btn-field-fg: #16569e;
  --brand-on-dark: #ffffff;
}

/* VACC modern kit: kit.css (draft 1, 2026-11-23)
   Base styles and components. Uses only the custom properties in tokens.css and brand.css.
   House rules: no gradients, no shadows at rest, no hairline rules, no eyebrows,
   no monospace, no icon cards, square corners. Form fields keep their borders. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: var(--weight-text);
  line-height: var(--lh-body);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: var(--weight-bold); text-wrap: balance; }
h1 { font-size: var(--step-display); line-height: var(--lh-display); letter-spacing: var(--track-display); }
h2 { font-size: var(--step-h2); line-height: var(--lh-head); letter-spacing: var(--track-head); }
h3, h4 { font-size: var(--step-h3); line-height: 1.15; letter-spacing: -0.005em; }
p, ul, ol, dl, blockquote, figure { margin: 0; }
p, li, dd { max-width: var(--measure); }
p + p { margin-top: 1em; }
strong, b { font-weight: var(--weight-bold); }
small, .small { font-size: var(--step-small); }
.num { font-variant-numeric: tabular-nums; }

a { color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.16em; }

:focus-visible { outline: var(--focus-width) solid var(--focus, var(--brand-ink)); outline-offset: 3px; }
::selection { background: var(--brand-field); color: var(--on-brand); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--margin); top: 0.5rem; z-index: 10;
  padding: 0.75rem 1rem; background: var(--ink); color: var(--ground);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

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

/* Field contexts set text, link and focus colours for everything inside. */
.on-brand { background: var(--brand-field); color: var(--on-brand); --focus: var(--on-brand); }
.on-brand a:not(.btn) { color: var(--on-brand); }
.on-dark { background: var(--dark); color: var(--on-dark); --focus: var(--on-dark); }
.on-dark a:not(.btn) { color: var(--on-dark); }
.on-tone { background: var(--ground-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: var(--tap); padding: 0.7rem 1.4rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: var(--weight-bold); line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: transform 120ms var(--ease);
}
.btn:hover { text-decoration: underline; text-decoration-thickness: 0.1em; text-underline-offset: 0.2em; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
/* Secondary: same shape, a 2px border as the control boundary (not decoration). */
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
/* On the brand field. */
.btn--field { background: var(--btn-field-bg); color: var(--btn-field-fg); }
.btn--field-secondary { background: transparent; color: var(--on-brand); border-color: var(--on-brand); }
/* On the dark field. */
.btn--dark { background: var(--on-dark); color: var(--dark); }
.btn[disabled], .btn[aria-disabled="true"], fieldset:disabled .btn { cursor: not-allowed; opacity: 1; background: var(--ground-2); color: var(--ink-2); border-color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header ---------- */
.site-header { background: var(--ground); }
.site-header__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem;
  padding-block: 1rem;
}
.site-logo { display: inline-flex; align-items: center; min-height: var(--tap); min-width: 0; margin-right: auto; color: var(--ink); text-decoration: none; font-weight: var(--weight-bold); font-size: var(--step-h3); line-height: 1.1; }
.site-logo img { max-height: 3.5rem; width: auto; max-width: 100%; }
.site-nav__list { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; padding: 0; list-style: none; }
.site-nav__list a { display: inline-block; padding-block: 0.6rem; color: var(--ink); text-decoration: none; font-weight: var(--weight-bold); }
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 0.12em; text-underline-offset: 0.3em; }
.site-nav__list a[aria-current="page"] { text-decoration-color: var(--brand-ink); }
.nav-toggle { order: 3; }
.nav-toggle[hidden] { display: none; }

@media (max-width: 59.99rem) {
  /* Logo, Call and Menu share the first row; a long name wraps instead of pushing Menu down. */
  .site-header__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.5rem 0.75rem; padding-block: 0.75rem; }
  .site-logo { margin-right: 0; }
  .site-header__call, .nav-toggle { padding-inline: 1rem; }
  .site-nav { order: 4; grid-column: 1 / -1; }
  .js .site-nav:not([data-open]) { display: none; }
  .site-nav__list { flex-direction: column; gap: 0; padding-block: 0.5rem 1rem; }
  .site-nav__list a { padding-block: 0.75rem; font-size: var(--step-h3); }
  .site-header__number { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .site-nav { order: 2; }
  .site-header__call { order: 3; }
}

/* ---------- Hero: brand field with the headline, the site's own photo full-bleed ---------- */
.hero { display: grid; grid-template-columns: 1fr; background: var(--brand-field); color: var(--on-brand); --focus: var(--on-brand); }
.hero__text {
  display: flex; flex-direction: column; justify-content: center; gap: var(--stack);
  padding: clamp(2.5rem, 1.5rem + 4vw, 6rem) var(--margin);
}
.hero__title { max-width: 14em; }
.hero__lede { font-size: var(--step-h3); line-height: 1.3; max-width: 30ch; }
.hero__address { margin-top: 0.25rem; }
.hero .actions { margin-top: 0.5rem; }
.hero__photo { margin: 0; min-height: 16rem; }
.hero__photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 60rem) {
  /* 60/40: keeps taglines up to about 35 characters on two lines from 960 to 1440 px (tested 2026-11-23). */
  .hero { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); min-height: min(82svh, 46rem); }
  .hero__text { padding-left: max(var(--margin), calc((100vw - var(--wrap)) / 2)); padding-right: var(--gap); }
  .hero__photo img { aspect-ratio: auto; position: relative; }
  .hero__photo { position: relative; }
  .hero__photo img { position: absolute; inset: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section__head { display: grid; gap: var(--stack); align-content: start; }
.section__head p { color: inherit; }

/* Services: heading and summary on the left, the list on the right. */
.services__grid { display: grid; gap: var(--gap); }
.services__list { display: grid; gap: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem) var(--gap); padding: 0; list-style: none; }
.service h3 a { color: var(--ink); text-decoration: none; }
.service h3 a:hover { text-decoration: underline; text-decoration-thickness: 0.1em; text-underline-offset: 0.2em; }
.service h3 a span[aria-hidden] { color: var(--brand-ink); }
.service p { margin-top: 0.5rem; }
@media (min-width: 48rem) { .services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .services__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* Split: text beside one photo. Flip alternates the side. */
.split { display: grid; gap: var(--gap); align-items: center; }
.split__photo { margin: 0; }
.split__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__text { display: grid; gap: var(--stack); align-content: start; }
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
  .split--flip .split__photo { order: 2; }
}

/* Reviews: genuine reviews only, word for word, with their source. */
.reviews__grid { display: grid; gap: var(--gap); }
.reviews__list { display: grid; gap: var(--gap); }
.review { display: grid; gap: 0.75rem; }
.review blockquote p { font-size: var(--step-h3); line-height: 1.35; max-width: 34ch; }
.review figcaption { color: var(--ink-2); }
.review__rating { display: block; color: var(--ink); font-weight: var(--weight-bold); }
.reviews__widget { min-height: 18rem; } /* reserves space for a third-party widget */
@media (min-width: 48rem) { .reviews__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .reviews__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }

/* Gallery: same crop for every picture, square corners, links to the full image. */
.gallery__head { margin-bottom: var(--gap); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--stack); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; padding: 0; list-style: none; }
.gallery__grid a { display: block; }
.gallery__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 48rem) { .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; } }

/* Visit: dark field. Phone first, then address, then hours. */
.visit__grid { display: grid; gap: var(--gap); margin-top: var(--gap); }
.visit__email, .visit__note { margin-top: 1rem; }
.visit__note { color: var(--on-dark-2); }
.visit__phone { font-size: var(--step-h2); line-height: 1.05; font-weight: var(--weight-bold); letter-spacing: var(--track-head); font-variant-numeric: tabular-nums; color: var(--brand-on-dark) !important; text-decoration: none; }
.visit__phone:hover { text-decoration: underline; text-decoration-thickness: 0.06em; }
.visit h3 { margin-bottom: 0.75rem; }
.visit address { font-style: normal; }
.visit p + .btn, .visit address + .btn { margin-top: 1rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1.5rem; }
.hours dt { font-weight: var(--weight-bold); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.visit__map { margin-top: var(--gap); }
.visit__map img, .visit__map iframe { width: 100%; aspect-ratio: 21 / 9; border: 0; object-fit: cover; }
@media (min-width: 48rem) { .visit__grid { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); } }
@media (max-width: 47.99rem) { .visit__map img, .visit__map iframe { aspect-ratio: 4 / 3; } }

/* Contact form. Disabled until the mail step passes; the honeypot uses the hidden attribute. */
.contact__grid { display: grid; gap: var(--gap); }
.form { display: grid; gap: 1.25rem; }
.form fieldset { display: grid; gap: 1.25rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: var(--weight-bold); }
.field input, .field textarea, .field select {
  width: 100%; min-height: var(--tap); padding: 0.65rem 0.8rem;
  border: 2px solid var(--line-control); border-radius: var(--radius);
  background: var(--ground); color: var(--ink); font: inherit;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.field__hint { color: var(--ink-2); font-size: var(--step-small); }
.form fieldset:disabled .field input, .form fieldset:disabled .field textarea { background: var(--ground-2); color: var(--ink-2); cursor: not-allowed; }
.form__note { padding: 1rem 1.25rem; background: var(--ground-2); font-weight: var(--weight-bold); max-width: none; }
.on-tone .form__note { background: var(--ground); }
@media (min-width: 60rem) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .form .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (max-width: 59.99rem) { .form .field-row { display: grid; gap: 1.25rem; } }

/* Inner page title. */
.page-title { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-title h1 { font-size: var(--step-display); }
.page-title p { margin-top: var(--stack); font-size: var(--step-h3); line-height: 1.3; }
.page-title + .section, .page-title + .service-groups { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }

/* Service groups without a photo: one grid, so no group sits alone with half the page empty. */
.service-groups__grid { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--gap); }
.service-group { display: grid; gap: 0.75rem; align-content: start; scroll-margin-top: 1.5rem; }
.service-group ul { margin: 0; padding-left: 1.2em; }
.service-group li + li { margin-top: 0.25rem; }
@media (min-width: 48rem) { .service-groups__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75rem) { .service-groups__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Service detail sections on the Services page keep the original anchor ids. */
.service-detail { scroll-margin-top: 1.5rem; }
.service-detail + .service-detail { margin-top: var(--section); }

/* ---------- Footer: the name returns at full width ---------- */
.site-footer { padding-block: var(--section) 2rem; border-top: 1px solid rgb(255 255 255 / 0.18); }
.site-footer__name { font-size: clamp(2.5rem, 0.6rem + 7.4vw, 7.5rem); line-height: 0.92; letter-spacing: -0.035em; font-weight: var(--weight-bold); max-width: none; }
/* A logo made for a dark ground takes the name's place; never show both. */
.site-footer__name img { display: block; height: clamp(3rem, 1.6rem + 4.5vw, 6.5rem); width: auto; max-width: 100%; }
.site-footer__grid { display: grid; gap: var(--gap); margin-top: var(--gap); }
.site-footer__grid ul { padding: 0; list-style: none; }
.site-footer__grid li + li { margin-top: 0.35rem; }
.site-footer address { font-style: normal; }
.site-footer__phone { margin-top: 0.5rem; }
.site-footer__legal { margin-top: calc(var(--gap) * 1.5); color: var(--on-dark-2); font-size: var(--step-small); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.site-footer__member img { max-height: 4rem; width: auto; }
@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Focal point for cropped photos: put the class on the figure. Default is the centre. */
.img-focus-left img { object-position: 20% 50%; }
.img-focus-right img { object-position: 80% 50%; }
.img-focus-top img { object-position: 50% 20%; }
.img-focus-bottom img { object-position: 50% 80%; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .btn:active { transform: none; }
}
