/* ============================================================
   Artificial Turf Barrie — static site
   Design direction: BOLD ATHLETIC
   Near-black/charcoal hero + footer, electric lime accents,
   Barlow Condensed display type, diagonal dividers, big stats.
   ============================================================ */

:root {
  --ink: #0e120e;            /* near-black */
  --charcoal: #171d17;
  --charcoal-2: #1f261f;
  --lime: #c8f31d;           /* electric lime */
  --lime-dark: #a8cf0f;
  --paper: #ffffff;
  --mist: #f2f5ec;
  --body: #2c332c;
  --muted: #5a635a;
  --line: #e2e7da;
  --radius: 10px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lime);
  color: var(--ink);
  padding: .6rem 1rem;
  font-weight: 700;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: .01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: .75rem; }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin-bottom: .4rem; }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 1rem;
  color: var(--ink);
  background: var(--lime);
  padding: .25rem .8rem;
  transform: skewX(-8deg);
  margin-bottom: 1rem;
}
.kicker > span { display: inline-block; transform: skewX(8deg); }

.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--charcoal); color: #d8ded2; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* Diagonal dividers */
.angle-top { clip-path: polygon(0 2.6rem, 100% 0, 100% 100%, 0 100%); padding-top: calc(clamp(3.2rem, 7vw, 5.5rem) + 2.6rem); }
.angle-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.6rem), 0 100%); padding-bottom: calc(clamp(3.2rem, 7vw, 5.5rem) + 2.6rem); }
.angle-both {
  clip-path: polygon(0 2.6rem, 100% 0, 100% calc(100% - 2.6rem), 0 100%);
  padding-top: calc(clamp(3.2rem, 7vw, 5.5rem) + 2.6rem);
  padding-bottom: calc(clamp(3.2rem, 7vw, 5.5rem) + 2.6rem);
}

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

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.15rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  padding: .8rem 1.7rem;
  transform: skewX(-8deg);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn > span { display: inline-block; transform: skewX(8deg); }
.btn:hover { transform: skewX(-8deg) translateY(-2px); }

.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d8ff33; }
.btn-dark { background: var(--ink); color: var(--lime); }
.btn-dark:hover { background: var(--charcoal-2); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px var(--lime); }
.btn-ghost:hover { background: var(--lime); color: var(--ink); }

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

.site-header {
  background: var(--ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--lime);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 46px; height: 46px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.35rem;
  line-height: 1;
  color: #fff;
}
.brand-name em {
  display: block;
  font-style: normal;
  color: var(--lime);
  font-size: 1.05rem;
  letter-spacing: .22em;
}

.site-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.site-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--lime); border-bottom-color: var(--lime); }

/* ----- Dropdown sub-nav (desktop) ----- */
.site-nav .has-sub { position: relative; }
.sub-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: 1.1rem; color: #fff;
  background: none; border: none; cursor: pointer;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.sub-toggle:hover,
.has-sub:hover > .sub-toggle,
.has-sub:focus-within > .sub-toggle { color: var(--lime); border-bottom-color: var(--lime); }
.sub-toggle .caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; transition: transform .2s ease;
}
.has-sub:hover > .sub-toggle .caret,
.sub-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
/* higher specificity than ".site-nav ul { display:flex }" so the panel stays vertical */
.site-nav .sub-menu {
  display: block;
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 232px; z-index: 200;
  list-style: none; margin: 0; padding: .5rem;
  background: var(--charcoal); border: 1px solid var(--charcoal-2);
  border-top: 3px solid var(--lime); border-radius: var(--radius);
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.site-nav .sub-menu::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 12px; }
.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu,
.sub-toggle[aria-expanded="true"] + .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.site-nav .sub-menu li { margin: 0; }
.site-nav .sub-menu a {
  display: block; white-space: nowrap;
  font-size: 1rem; letter-spacing: .04em; padding: .5rem .6rem;
  border-bottom: none; border-radius: 6px;
}
.site-nav .sub-menu a:hover,
.site-nav .sub-menu a[aria-current="page"] { color: var(--lime); background: var(--charcoal-2); border-bottom-color: transparent; }

.header-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--lime);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  padding: .4rem .8rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 3px solid var(--lime);
    padding: 1rem 1.25rem 1.4rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: .4rem; }
  .site-nav a { display: block; font-size: 1.3rem; padding: .5rem 0; }
  /* mobile accordion sub-nav */
  .site-nav .has-sub { position: static; }
  .sub-toggle {
    width: 100%; justify-content: space-between; display: flex;
    font-size: 1.3rem; padding: .5rem 0; border-bottom: 2px solid transparent;
  }
  .site-nav .sub-menu {
    position: static; min-width: 0; opacity: 1; transform: none;
    background: transparent; border: none; box-shadow: none;
    border-top: none; border-radius: 0;
    margin: 0 0 .3rem; padding: 0 0 0 .9rem;
    max-height: 0; visibility: hidden; overflow: hidden;
    transition: max-height .25s ease, visibility .25s ease;
  }
  .sub-toggle[aria-expanded="true"] + .sub-menu { visibility: visible; max-height: 520px; }
  .site-nav .sub-menu a { font-size: 1.15rem; padding: .4rem 0; }
}

/* ---------- Mobile sticky call bar ---------- */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: var(--ink);
  border-top: 3px solid var(--lime);
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.mobile-cta .btn { flex: 1; text-align: center; font-size: 1.05rem; padding: .65rem .5rem; }
@media (max-width: 860px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
}

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

.hero {
  position: relative;
  background: var(--charcoal);
  color: #e7ece0;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  opacity: .28;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,13,10,.92) 35%, rgba(10,13,10,.55) 70%, rgba(10,13,10,.35));
}
.hero > .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--lime); display: block; }
.hero .lede {
  font-size: 1.2rem;
  margin: 1.2rem 0 1.8rem;
  max-width: 34rem;
  color: #cdd5c6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }

.hero-badges { display: flex; gap: 1.2rem; align-items: center; }
.hero-badges img { width: 96px; height: auto; }

.hero--inner { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.hero--inner h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }

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

.quote-card {
  background: #fff;
  color: var(--body);
  padding: 1.6rem 1.5rem 1.8rem;
  border-radius: var(--radius);
  border-top: 6px solid var(--lime);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.quote-card h2, .quote-card h3 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: .25rem;
  color: var(--ink);
}
.field .req { color: #c0392b; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: .6rem .7rem;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: #fafbf7;
  color: var(--body);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--lime-dark);
  box-shadow: 0 0 0 3px rgba(200, 243, 29, .35);
}
.field textarea { min-height: 96px; resize: vertical; }

/* honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-submit { margin-top: 1rem; width: 100%; text-align: center; }
form .btn[disabled] { opacity: .6; cursor: wait; }

.form-status { margin-top: .8rem; font-weight: 600; }
.form-status.error { color: #c0392b; }

.form-confirmation {
  background: var(--mist);
  border-left: 5px solid var(--lime-dark);
  padding: 1.2rem 1.3rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 6px;
}

/* ---------- Stats strip ---------- */

.stats {
  background: var(--lime);
  color: var(--ink);
  padding: 2.4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .98rem;
}

/* ---------- Cards / grids ---------- */

.center { text-align: center; }
.section-head { max-width: 46rem; margin: 0 auto 2.4rem; text-align: center; }
.section-head p { color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .card-grid { grid-template-columns: 1fr; } }

.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid--3 { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 160px;
  overflow: hidden;
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 1.4rem 1.2rem 1.3rem;
  border-radius: var(--radius);
  border-left: 5px solid var(--lime);
  transition: transform .15s ease;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14, 18, 14, .25) 0%, rgba(14, 18, 14, .6) 55%, rgba(14, 18, 14, .9) 100%);
  transition: background .18s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-card:hover::before { background: linear-gradient(180deg, rgba(14, 18, 14, .15) 0%, rgba(14, 18, 14, .5) 55%, rgba(14, 18, 14, .85) 100%); }
.service-card h3 { position: relative; z-index: 2; color: #fff; font-size: 1.3rem; margin: 0; }
.service-card .num {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--lime);
  font-size: 1rem;
  letter-spacing: .15em;
  display: block;
  margin-bottom: .35rem;
}

.info-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.info-card h3 { margin-bottom: .5rem; }

/* ---------- Split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.split .frame { position: relative; }
.split .frame::after {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 3px solid var(--lime);
  border-radius: var(--radius);
  z-index: -1;
}

.split p + p { margin-top: .9rem; }
.split .btn { margin-top: 1.4rem; }

/* check list */
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem; margin: 1.1rem 0; }
@media (max-width: 540px) { .check-list { grid-template-columns: 1fr; } }
.check-list li { padding-left: 1.7rem; position: relative; font-weight: 600; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: .95rem; height: .95rem;
  background: var(--lime);
  clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 16%, 84% 0, 40% 70%);
}
.section--dark .check-list li { color: #e7ece0; }

/* area chips */
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.chip-list li, .chip-list a {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
}
.chip-list li {
  background: var(--charcoal);
  color: var(--lime);
  padding: .35rem .9rem;
  transform: skewX(-8deg);
}
.chip-list li > span, .chip-list li > a { display: inline-block; transform: skewX(8deg); }
.chip-list a { color: var(--lime); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-band h2 { color: #fff; }
.cta-band .accent { color: var(--lime); }
.cta-band .btn { margin-top: 1.4rem; }
.cta-band .cta-phone {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--lime);
  text-decoration: none;
  margin-top: .8rem;
}
.cta-band .cta-phone:hover { color: #fff; }

/* ---------- Contact info row ---------- */

.contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 2rem 0;
}
@media (max-width: 760px) { .contact-row { grid-template-columns: 1fr; } }
.contact-tile {
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius);
  border-top: 4px solid var(--lime);
  padding: 1.3rem 1.2rem;
  text-align: center;
}
.contact-tile .big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--lime);
  text-decoration: none;
  display: block;
  word-break: break-word;
}
.contact-tile .big:hover { color: #fff; }
.contact-tile small { color: #aab3a4; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-display); font-size: .85rem; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 50rem; margin: 0 auto; }
.faq-list details {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-list summary {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 3rem;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--lime-dark);
  font-weight: 700;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details > div { padding: 0 1.2rem 1.1rem; }

/* ---------- Article / prose ---------- */

.prose { max-width: 46rem; margin-inline: auto; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.7rem; }
.prose p { margin: .95rem 0; }
.prose ul, .prose ol { margin: .95rem 0 .95rem 1.4rem; }
.prose a { color: #3c7a00; font-weight: 600; }
.prose a:hover { color: var(--ink); }
/* Buttons inside .prose keep their button colors — without this, `.prose a`
   (0,1,1) out-specifies `.btn-lime`/`.btn-dark` (0,1,0) and tints CTA text green */
.prose a.btn { font-weight: 700; }
.prose a.btn-lime, .prose a.btn-lime:hover { color: var(--ink); }
.prose a.btn-dark, .prose a.btn-dark:hover { color: var(--lime); }
.prose img { border-radius: var(--radius); margin: 1.4rem 0; }

.post-meta {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-size: .95rem;
  margin: .6rem 0 1.6rem;
}
/* Deeper lime (same hue, lower lightness) so the category label clears WCAG AA
   on white/mist — plain --lime-dark (#a8cf0f) only hits 1.81:1 as small text. */
.post-meta .cat { color: #5d7208; font-weight: 700; }

.post-hero-img img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--line);
  flex-wrap: wrap;
}
.post-nav a { color: #3c7a00; font-weight: 600; text-decoration: none; }
.post-nav a:hover { color: var(--ink); }

.breadcrumbs {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }

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

.site-footer {
  background: var(--ink);
  color: #aab3a4;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1rem;
  clip-path: polygon(0 2.2rem, 100% 0, 100% 100%, 0 100%);
  margin-top: 2.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.2rem;
  padding-bottom: 2.2rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h2 {
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: .12em;
  margin-bottom: .9rem;
}
.site-footer img.footer-logo { width: 76px; margin-bottom: .9rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #cdd5c6; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--lime) !important;
}
.footer-bottom {
  border-top: 1px solid #2a322a;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .92rem;
}

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

.error-hero { text-align: center; padding: clamp(4rem, 10vw, 8rem) 0; }
.error-hero .code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 1;
  color: var(--lime);
  text-shadow: 4px 4px 0 var(--ink);
}

/* Mobile overflow guards: prevent horizontal scroll from long words and wide tables */
h1, h2, h3, h4 { overflow-wrap: break-word; }
main table { display: block; overflow-x: auto; max-width: 100%; }
