/* GreenLeaf Landscaping — site styles
   Tokens first, then base, layout, components, pages. Mobile first. */

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-next-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --leaf: #2e7d32;        /* client primary */
  --leaf-dark: #1f5e23;   /* hover / pressed */
  --bush: #173b1c;        /* ink, dark sections */
  --mist: #eef2ec;        /* eucalypt mist, alt sections */
  --gum: #56655a;         /* muted text */
  --wattle: #e8b230;      /* accent: stars, focus on dark */
  --sandstone: #ebddbd;   /* docket paper */
  --sandstone-line: #cdb98c;
  --docket-ink: #4a3d22;
  --white: #fff;
  --error: #b3261e;

  /* Semantic */
  --bg: var(--white);
  --text: #1c2a1e;
  --text-muted: var(--gum);
  --focus: var(--bush);

  /* Type */
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step--1: 0.9375rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.4rem + 2vw, 2.625rem);
  --step-4: clamp(2.5rem, 1.6rem + 4.2vw, 4.5rem);

  /* Space (8pt rhythm) */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4.5rem;
  --section: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
  --gutter: clamp(1rem, 0.5rem + 3vw, 2.5rem);
  --max: 76rem;

  --radius: 6px;
  --shadow: 0 1px 2px rgb(23 59 28 / 0.08), 0 8px 24px -8px rgb(23 59 28 / 0.25);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 var(--s2);
  text-wrap: balance;
  color: var(--bush);
}
h1 { font-size: var(--step-4); letter-spacing: -0.015em; }
h2 { font-size: var(--step-3); letter-spacing: -0.01em; }
h3 { font-size: var(--step-2); }

p { margin: 0 0 var(--s2); max-width: 65ch; }
ul { margin: 0; padding: 0; }

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

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

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

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

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

.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--bush { background: var(--bush); color: #e6ede4; }
.section--bush h2,
.section--bush h3 { color: var(--white); }
.section--bush a { color: var(--white); }
.section--bush :focus-visible { outline-color: var(--wattle); }

.eyebrow {
  display: block;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: var(--s1);
}
.section--bush .eyebrow { color: var(--wattle); }

.lead { font-size: var(--step-1); line-height: 1.55; }
.muted { color: var(--text-muted); }

/* Placeholder marker: must stay visible until the client confirms */
.confirm {
  display: inline-block;
  background: #fff4cc;
  color: #5c4400;
  border: 1px dashed #a07a00;
  padding: 0.1em 0.45em;
  border-radius: 3px;
  font-size: var(--step--1);
  font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.35em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: 700 var(--step-0)/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--leaf); color: var(--white); }
.btn--primary:hover { background: var(--leaf-dark); }
.btn--ghost { background: transparent; color: var(--bush); border-color: currentColor; }
.btn--ghost:hover { background: var(--bush); color: var(--white); border-color: var(--bush); }
.section--bush .btn--primary { background: var(--wattle); color: var(--bush); }
.section--bush .btn--primary:hover { background: #f3c858; }
.section--bush .btn--ghost { color: var(--white); }
.section--bush .btn--ghost:hover { background: var(--white); color: var(--bush); border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #dfe6dc;
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s1) var(--s2);
  padding-block: var(--s1);
}
.brand { display: block; line-height: 0; }
.brand img { width: 150px; height: 50px; }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  padding: 0.4em 0.9em;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--bush);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-call svg { width: 1.1em; height: 1.1em; color: var(--leaf); }
.header-call:hover { background: #dfe8db; }

.site-nav { width: 100%; }
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 0.75rem;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: #b9cbb5; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--leaf); color: var(--bush); }

.header-quote { display: none; }

@media (min-width: 960px) {
  .site-header__inner { flex-wrap: nowrap; padding-block: var(--s2); }
  .brand img { width: 210px; height: 70px; }
  .site-nav { width: auto; margin-left: auto; }
  .site-nav ul { gap: 0 var(--s4); justify-content: flex-start; }
  .site-nav a { font-size: var(--step-0); }
  .header-quote { display: inline-flex; min-height: 44px; padding-block: 0.5em; }
}

/* ---------- Docket (signature element) ---------- */
.docket {
  --perf: 14px;
  position: relative;
  background:
    repeating-linear-gradient(to bottom, transparent 0 31px, rgb(205 185 140 / 0.45) 31px 32px),
    var(--sandstone);
  color: var(--docket-ink);
  padding: calc(var(--s3) + var(--perf)) var(--s3) var(--s3);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
/* perforated tear-off top edge */
.docket::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--perf);
  background: radial-gradient(circle at 50% 0, transparent 5px, var(--sandstone) 5.5px) 0 0 / 16px var(--perf) repeat-x;
  border-bottom: 2px dashed var(--sandstone-line);
}
.docket__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s2);
  border-bottom: 2px solid var(--docket-ink);
  padding-bottom: var(--s1);
  margin-bottom: var(--s2);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--step--1);
}
.docket__no { letter-spacing: 0.04em; font-weight: 400; }
.docket h2,
.docket h3 { color: var(--bush); }
.docket .h3 { font-size: var(--step-2); }
.docket .checks { list-style: none; display: grid; gap: var(--s1); margin-bottom: var(--s3); }
.docket .checks li { display: flex; gap: 0.6em; align-items: flex-start; }
.docket .checks svg { width: 1.25em; height: 1.25em; flex: none; margin-top: 0.2em; color: var(--leaf); }

.stamp {
  position: absolute;
  right: var(--s3);
  bottom: calc(var(--s3) + 0.25rem);
  transform: rotate(-9deg);
  border: 3px solid var(--leaf);
  color: var(--leaf);
  border-radius: 6px;
  padding: 0.2em 0.55em;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  background: rgb(235 221 189 / 0.6);
}

/* ---------- Home hero ---------- */
.hero { padding-block: var(--s4) var(--section); }
.hero__grid { display: grid; gap: var(--s4); }
.hero h1 { margin-bottom: var(--s3); }
.hero__intro { font-size: var(--step-1); margin-bottom: var(--s3); }
.hero__media { position: relative; }
.hero__media picture img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero__media .docket { margin: calc(var(--s5) * -1) var(--s2) 0; }

@media (min-width: 960px) {
  .hero { padding-top: var(--s5); }
  .hero__grid { grid-template-columns: 5fr 6fr; align-items: center; gap: var(--s5); }
  .hero__media picture img { aspect-ratio: 4 / 5; }
  .hero__media .docket {
    position: absolute;
    left: calc(var(--s3) * -1);
    bottom: calc(var(--s4) * -1);
    width: min(22rem, 70%);
    margin: 0;
    transform: rotate(-1.5deg);
  }
}

/* ---------- Trust strip ---------- */
.trust {
  list-style: none;
  display: grid;
  gap: var(--s2);
  padding-block: var(--s3);
  border-block: 1px solid #d5ded2;
}
.trust li { display: flex; gap: 0.75em; align-items: center; font-weight: 700; color: var(--bush); }
.trust svg { width: 1.75rem; height: 1.75rem; flex: none; color: var(--leaf); }
.trust .stars { color: #a87a00; }
@media (min-width: 720px) {
  .trust { grid-template-columns: repeat(3, auto); justify-content: space-between; }
}

/* ---------- Statement ---------- */
.statement {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.2;
  color: var(--bush);
  max-width: 26ch;
  margin: 0;
  text-wrap: balance;
}

/* ---------- Two-column compare ---------- */
.split { display: grid; gap: var(--s4); }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s6); } }

.tick-list { list-style: none; display: grid; gap: var(--s2); }
.tick-list li { display: flex; gap: 0.75em; align-items: flex-start; }
.tick-list svg { width: 1.4em; height: 1.4em; flex: none; margin-top: 0.15em; color: var(--leaf); }
.tick-list--problems svg { color: var(--gum); }
.tick-list strong { color: var(--bush); }

/* ---------- Services index ---------- */
.service-index { list-style: none; display: grid; border-top: 1px solid #cfd9cb; }
.service-index a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25em var(--s2);
  padding: var(--s3) 0;
  border-bottom: 1px solid #cfd9cb;
  color: var(--text);
  text-decoration: none;
}
.service-index .name { font-family: var(--font-display); font-size: var(--step-2); color: var(--bush); line-height: 1.2; }
.service-index .desc { grid-column: 1; color: var(--text-muted); }
.service-index svg { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 1.5rem; height: 1.5rem; color: var(--leaf); transition: transform 0.18s ease; }
.service-index a:hover .name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.service-index a:hover svg { transform: translateX(4px); }
@media (min-width: 860px) {
  .service-index { grid-template-columns: 1fr 1fr; column-gap: var(--s5); }
}

/* ---------- Work / gallery ---------- */
.work { display: grid; gap: var(--s3); }
.work figure { margin: 0; }
.work img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.work figcaption { padding-top: var(--s1); }
.work figcaption strong { display: block; color: var(--bush); font-size: var(--step-1); }
@media (min-width: 860px) {
  .work--feature { grid-template-columns: 3fr 2fr; grid-template-rows: auto auto; }
  .work--feature figure:first-child { grid-row: span 2; }
  .work--feature figure:first-child img { aspect-ratio: auto; height: 100%; min-height: 100%; }
  .work--feature figure:first-child { display: flex; flex-direction: column; }
  .work--feature figure:first-child a,
  .work--feature figure:first-child picture { flex: 1; display: block; height: 100%; }
}

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s2); margin-bottom: var(--s4); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }

/* ---------- Review ---------- */
.review { margin: 0; max-width: 46rem; }
.review .stars { display: flex; gap: 4px; color: var(--wattle); margin-bottom: var(--s2); }
.review .stars svg { width: 1.5rem; height: 1.5rem; }
.review blockquote { margin: 0; }
.review blockquote p {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.22;
  color: var(--white);
  max-width: none;
}
.review figcaption { font-weight: 700; color: #cfdccc; }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; display: grid; gap: var(--s4); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: var(--s5); border-top: 2px solid var(--bush); }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: var(--s2);
  left: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--leaf);
}
.steps h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 700; margin-bottom: var(--s1); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { display: grid; gap: var(--s3); align-items: center; }
.cta-band h2 { margin-bottom: var(--s1); }
.cta-band p { margin: 0; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: var(--s5) var(--s4); background: var(--mist); }
.page-hero .lead { margin-bottom: 0; }

/* ---------- About ---------- */
.photo-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border: 2px dashed #9bb096;
  border-radius: var(--radius);
  background: var(--mist);
  padding: var(--s3);
  text-align: center;
}
.facts { list-style: none; display: grid; gap: var(--s4) var(--s5); margin-top: var(--s3); }
.facts li { padding-left: var(--s2); border-left: 3px solid var(--leaf); }
.facts strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); color: var(--bush); line-height: 1.2; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(2, 1fr); } }

.areas { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1); }
.areas li { background: var(--white); border: 1px solid #cfd9cb; border-radius: 999px; padding: 0.3em 0.9em; }
.section--mist .areas li { background: var(--white); }

/* ---------- Services page ---------- */
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0.3em 1em; border-radius: 999px;
  background: var(--white); border: 1px solid #b9cbb5;
  color: var(--bush); font-weight: 700; text-decoration: none;
}
.jump a:hover { border-color: var(--leaf); }

.service { display: grid; gap: var(--s3); padding-block: var(--s5); border-bottom: 1px solid #d5ded2; scroll-margin-top: var(--s2); }
.service:last-of-type { border-bottom: 0; }
.service img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.service .tick-list { margin-bottom: var(--s3); }
@media (min-width: 860px) {
  .service { grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: start; }
  .service--text { grid-template-columns: minmax(0, 40rem); }
}

.pricing-note { max-width: 44rem; }
.pricing-note .docket { margin-top: var(--s3); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: var(--s5); }
.gallery figure { margin: 0; }
.gallery .shot { display: block; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery .shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.3s ease; }
.gallery .shot:hover img { transform: scale(1.02); }
.gallery .shot .zoom {
  position: absolute; right: var(--s2); bottom: var(--s2);
  display: inline-flex; align-items: center; gap: 0.4em;
  background: rgb(23 59 28 / 0.88); color: var(--white);
  padding: 0.35em 0.8em; border-radius: 999px; font-weight: 700; font-size: var(--step--1);
}
.gallery .shot .zoom svg { width: 1em; height: 1em; }
.gallery figcaption { padding-top: var(--s2); display: grid; gap: var(--s1); }
.gallery figcaption h2 { font-size: var(--step-2); margin: 0; }
.gallery figcaption p { margin: 0; }

.lightbox {
  width: min(96vw, 1200px);
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--bush);
  color: var(--white);
}
.lightbox::backdrop { background: rgb(10 20 12 / 0.85); }
.lightbox img { width: 100%; height: auto; max-height: calc(94vh - 5rem); object-fit: contain; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s1) var(--s2); }
.lightbox__bar p { margin: 0; font-weight: 700; }
.lightbox__close {
  min-width: 44px; min-height: 44px;
  background: transparent; color: var(--white);
  border: 2px solid rgb(255 255 255 / 0.6); border-radius: var(--radius);
  font: 700 var(--step-0)/1 var(--font-body); cursor: pointer;
}
.lightbox__close:hover { background: rgb(255 255 255 / 0.12); }
.lightbox :focus-visible { outline-color: var(--wattle); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s5); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 7fr 5fr; align-items: start; } }

.contact-list { list-style: none; display: grid; gap: var(--s3); }
.contact-list li { display: flex; gap: var(--s2); align-items: flex-start; }
.contact-list svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--leaf); margin-top: 0.15em; }
.contact-list .label { display: block; font-weight: 700; color: var(--bush); }
.contact-list a { font-size: var(--step-1); font-weight: 700; overflow-wrap: anywhere; }

.hours { border-collapse: collapse; width: 100%; max-width: 22rem; }
.hours th, .hours td { text-align: left; padding: 0.3em 0; border-bottom: 1px solid #d5ded2; font-weight: 400; }
.hours th { padding-right: var(--s3); font-weight: 700; color: var(--bush); }

/* Form (inside docket) */
.form-docket { padding-bottom: var(--s4); }
.form-grid { display: grid; gap: var(--s3); }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label,
.field legend { display: block; font-weight: 700; color: var(--bush); margin-bottom: 0.35em; }
.field .req { color: var(--error); }
.field .hint { display: block; font-size: var(--step--1); color: var(--docket-ink); margin-bottom: 0.35em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6em 0.75em;
  font: inherit;
  color: var(--text);
  background: #fffdf7;
  border: 2px solid #8a7648;
  border-radius: 4px;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--bush); outline-offset: 1px; border-color: var(--bush); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .error { display: block; color: var(--error); font-weight: 700; font-size: var(--step--1); margin-top: 0.35em; }
.field .error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.radios label { display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px; font-weight: 400; color: var(--text); margin: 0; cursor: pointer; }
.radios input { width: 1.25rem; height: 1.25rem; min-height: 0; accent-color: var(--leaf); margin: 0; }

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

.error-summary {
  border: 3px solid var(--error);
  background: #fff;
  border-radius: var(--radius);
  padding: var(--s2) var(--s3);
  margin-bottom: var(--s3);
}
.error-summary h2 { font-family: var(--font-body); font-weight: 700; font-size: var(--step-1); color: var(--error); margin-bottom: var(--s1); }
.error-summary ul { padding-left: 1.2em; }
.error-summary a { color: var(--error); font-weight: 700; }

.form-status { margin-top: var(--s3); padding: var(--s2) var(--s3); border-radius: var(--radius); background: var(--white); border-left: 5px solid var(--leaf); }
.form-status:empty { display: none; }
.form-status.is-error { border-left-color: var(--error); }

/* Turnstile spam check: reserve the widget's 65px so nothing jumps when it loads */
.turnstile { min-height: 65px; }
.turnstile .cf-turnstile { max-width: 100%; }
.turnstile .hint { margin: 0; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s3); }
.form-foot p { margin: 0; font-size: var(--step--1); }
.form-foot a { color: var(--docket-ink); }

/* ---------- Privacy ---------- */
.policy { max-width: 46rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bush); color: #d8e3d5; padding-top: var(--s5); font-size: var(--step--1); }
.site-footer a { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--wattle); }
.footer-grid { display: grid; gap: var(--s4); padding-bottom: var(--s5); }
.footer-grid h2 { font-family: var(--font-body); font-weight: 700; font-size: var(--step-0); color: var(--white); margin-bottom: var(--s1); letter-spacing: 0.02em; }
.footer-brand { font-family: var(--font-display); font-size: var(--step-2); color: var(--white); line-height: 1.1; margin-bottom: var(--s1); }
.footer-grid ul { list-style: none; display: grid; gap: 0.2em; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-grid p { margin-bottom: var(--s1); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-base {
  border-top: 1px solid rgb(255 255 255 / 0.15);
  padding-block: var(--s3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s3);
  align-items: center;
}
.footer-base p { margin: 0; }
.footer-base a { display: inline-flex; align-items: center; min-height: 24px; }
.credit { color: #b3c2af; font-size: 0.8125rem; }
.site-footer .credit a { color: #b3c2af; }

/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: grid; align-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
