/* Triangle J Water Wells — design system.
   Ink & paper brand (their black/white triangle mark), one accent drawn from
   the thing they actually sell: deep aquifer blue. Slab-serif display (Besley),
   sturdy grotesk body (Archivo), mono (IBM Plex) for depths, license numbers,
   and eyebrows — the "measured" voice of a drilling log. */

:root {
  --ink: #161310;
  --paper: #FCFBF8;
  --aquifer: #155E86;
  --aquifer-deep: #0E4767;
  --caliche: #E6DFD2;
  --caliche-soft: #F2EEE4;
  --steel: #57534C;
  --line: #D9D2C4;
  --display: "Besley", "Georgia", serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Menlo", monospace;
  --measure: 68ch;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --maxw: 76rem;
}

/* Fonts (latin subsets, self-hosted) */
@font-face { font-family: "Besley"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/Besley-600.woff2") format("woff2"); }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/Besley-700.woff2") format("woff2"); }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/Besley-800.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/Archivo-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/Archivo-500.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/Archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/Archivo-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/IBMPlexMono-500.woff2") format("woff2"); }

/* Reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--aquifer); text-underline-offset: 2px; }
a:hover { color: var(--aquifer-deep); }
:focus-visible { outline: 3px solid var(--aquifer); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); font-weight: 700; }
h3 { font-size: clamp(1.12rem, 2vw, 1.3rem); font-weight: 700; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

.eyebrow {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--aquifer);
  margin: 0 0 0.9rem; display: flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 1.4rem; height: 2px; background: var(--aquifer); flex: none; }
.eyebrow-light { color: #CFE3F0; }
.eyebrow-light::before { background: #CFE3F0; }

/* ── Top bar + header ─────────────────────────────────────────── */
.topbar {
  background: var(--ink); color: #EAE6DE;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.42rem var(--pad); font-size: 0.82rem;
}
.topbar-license { margin: 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; }
.topbar-links { display: flex; gap: 1.2rem; white-space: nowrap; }
.topbar a { color: #EAE6DE; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-phone { font-weight: 700; color: #fff !important; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.65rem var(--pad);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { height: 44px; width: auto; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.18rem; line-height: 1.05; letter-spacing: 0.01em; }
.brand-name span { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--steel); }

.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.2rem; align-items: center; }
.site-nav a, .nav-group > button {
  font: 600 0.92rem/1 var(--body); color: var(--ink); text-decoration: none;
  padding: 0.6rem 0.75rem; border: 0; background: none; cursor: pointer;
  display: flex; align-items: center; gap: 0.35rem; border-radius: 3px;
}
.site-nav a:hover, .nav-group > button:hover { background: var(--caliche-soft); color: var(--ink); }
.site-nav a[aria-current="page"], .nav-group > button[data-current] { box-shadow: inset 0 -2px 0 var(--aquifer); border-radius: 3px 3px 0 0; }
.nav-group { position: relative; }
.site-nav .nav-menu {
  list-style: none; margin: 0; display: none; position: absolute; top: 100%; left: 0; min-width: 16.5rem;
  background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--aquifer);
  box-shadow: 0 12px 28px rgba(22, 19, 16, 0.12); padding: 0.4rem 0 !important;
}
.site-nav .nav-group > button[aria-expanded="true"] + .nav-menu { display: block; }
.nav-menu li { width: 100%; }
.nav-menu a { display: block; padding: 0.5rem 1rem; font-weight: 500; }
.site-nav a.nav-cta { background: var(--aquifer); color: #fff !important; font-weight: 700; margin-left: 0.4rem; }
.site-nav a.nav-cta:hover { background: var(--aquifer-deep); color: #fff; }
.nav-toggle { display: none; }

/* Mobile nav */
@media (max-width: 980px) {
  .topbar-license { display: none; }
  /* backdrop-filter would make the header the containing block for the
     fixed-position nav drawer - use a solid background on mobile instead */
  .site-header { background: var(--paper); backdrop-filter: none; }
  .brand, .nav-toggle { position: relative; z-index: 45; }
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--line); border-radius: 4px;
    padding: 0.55rem 0.5rem; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; transition: transform 0.2s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-wrap {
    display: none; position: fixed; inset: calc(var(--headerH, 61px)) 0 0 0; top: 0; left: 0; right: 0; bottom: 0;
    padding: 5.2rem var(--pad) 6rem; background: var(--paper); overflow: auto; z-index: 40;
  }
  .nav-open .nav-wrap { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav a, .nav-group > button { width: 100%; padding: 0.9rem 0.2rem; font-size: 1.05rem; justify-content: space-between; }
  .site-nav .nav-menu { position: static; border: 0; border-top: 0; box-shadow: none; background: var(--caliche-soft); }
  .nav-menu a { padding: 0.7rem 1rem; }
  .site-nav a.nav-cta { margin: 0.8rem 0 0; justify-content: center; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero, .page-head.has-media { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: 0; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(78deg, rgba(13, 11, 9, 0.87) 0%, rgba(13, 11, 9, 0.62) 42%, rgba(13, 11, 9, 0.18) 78%, rgba(13, 11, 9, 0.05) 100%);
}
.hero-inner, .page-head-inner { position: relative; z-index: 2; }
.hero-home .hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(4rem, 11vw, 8.5rem) var(--pad) clamp(3.4rem, 9vw, 7rem);
}
.hero-home h1 { max-width: 15ch; margin-bottom: 0.45em; text-wrap: balance; }
.hero-sub { font-size: clamp(1.05rem, 1.9vw, 1.25rem); max-width: 46ch; margin: 0 0 1.6rem; color: rgba(255, 255, 255, 0.92); }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem 1.6rem; padding: 0; margin: 2.2rem 0 0; }
.hero-proof li { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: #D8E7F1; display: flex; align-items: center; gap: 0.5rem; }
.hero-proof li::before { content: ""; width: 7px; height: 7px; background: var(--aquifer); transform: rotate(45deg); flex: none; }

/* Signature: the depth gauge on the home hero */
.hero-gauge { position: absolute; z-index: 2; top: 0; bottom: 0; right: clamp(1rem, 3vw, 2.6rem); width: 1px; }
.hg-line { position: absolute; top: 8%; bottom: 8%; width: 1px; background: rgba(255, 255, 255, 0.55); }
.hg-tick { position: absolute; right: 0; width: 10px; height: 1px; background: rgba(255, 255, 255, 0.8); }
.hg-tick i {
  position: absolute; right: 16px; top: -0.55em; font: 500 0.68rem var(--mono); font-style: normal;
  color: rgba(255, 255, 255, 0.85); white-space: nowrap; letter-spacing: 0.04em;
}
.hg-mark { background: #7FB6D8; height: 2px; width: 16px; }
.hg-mark i { color: #A8D2EC; }
@media (max-width: 980px) { .hero-gauge { display: none; } }

/* Interior page head */
.page-head { background: var(--ink); color: #fff; position: relative; }
.page-head:not(.has-media) { background: linear-gradient(160deg, var(--ink) 55%, #23303A 130%); }
.page-head-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.6rem, 6vw, 4.6rem) var(--pad) clamp(2.2rem, 5vw, 3.6rem); }
.page-head h1 { max-width: 22ch; text-wrap: balance; }
.page-head .hero-sub { margin-bottom: 0; }
.crumbs { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; margin-bottom: 1.4rem; color: rgba(255, 255, 255, 0.75); }
.crumbs a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumb-sep { margin: 0 0.55rem; opacity: 0.5; }
.page-head.has-media .page-head-inner { padding-top: clamp(3.4rem, 9vw, 6.5rem); padding-bottom: clamp(3rem, 8vw, 5.5rem); }

/* ── Sections ─────────────────────────────────────────────────── */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.4rem, 6vw, 4.2rem) var(--pad); }
.section + .section { padding-top: 0.4rem; }
.section.tone-sand { max-width: none; background: var(--caliche-soft); border-block: 1px solid var(--line); }
.section.tone-sand > * { max-width: var(--maxw); margin-inline: auto; }
.section.tone-sand { padding: clamp(2.4rem, 6vw, 4.2rem) var(--pad) !important; }
.section.tone-ink { max-width: none; background: var(--ink); color: var(--paper); }
.section.tone-ink > * { max-width: var(--maxw); margin-inline: auto; }
.section.tone-ink { padding: clamp(2.4rem, 6vw, 4.2rem) var(--pad) !important; }

.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; max-width: 58ch; }
.lead p { margin: 0 0 1em; }
.prose { max-width: var(--measure); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.35em; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.35em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.55rem 0.75rem; text-align: left; }
.prose th { background: var(--caliche-soft); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }
.prose strong { font-weight: 700; }
.prose blockquote { border-left: 3px solid var(--aquifer); margin: 1.3em 0; padding: 0.2em 0 0.2em 1.1em; color: var(--steel); }

.img-prose { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.4rem, 4vw, 3.2rem); align-items: center; }
.img-prose.flip figure { order: 2; }
.img-prose figure { margin: 0; }
.img-prose img { border: 1px solid var(--line); }
.img-prose figcaption, .photo-band figcaption { font-family: var(--mono); font-size: 0.72rem; color: var(--steel); padding-top: 0.5rem; letter-spacing: 0.04em; }
@media (max-width: 820px) { .img-prose { grid-template-columns: 1fr; } .img-prose.flip figure { order: 0; } }

.photo-band { margin: 0; }
.photo-band img { width: 100%; max-height: 34rem; object-fit: cover; }

/* Stats: drilling-log styling — mono numerals over tick rules */
.stats-band { }
.stats-title { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 700; margin: 0 0 1.6rem; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.6rem; padding: 0; margin: 0; }
.stats li { border-top: 2px solid currentColor; padding-top: 0.7rem; background: linear-gradient(to right, currentColor 1px, transparent 1px) 0 0 / 25% 0.55rem no-repeat; }
.stat-big { display: block; font-family: var(--mono); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.02em; }
.stat-label { font-size: 0.88rem; color: inherit; opacity: 0.82; }
.stats-foot { font-family: var(--mono); font-size: 0.72rem; opacity: 0.65; margin: 1.4rem 0 0; letter-spacing: 0.03em; }

/* Depth gauge (county comparisons) */
.depth-gauge ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; max-width: 44rem; }
.depth-gauge li { display: grid; grid-template-columns: 9.5rem 1fr 5.5rem; gap: 0.9rem; align-items: center; }
.dg-name { font-weight: 600; font-size: 0.95rem; }
.dg-bar { height: 12px; background: var(--caliche-soft); border: 1px solid var(--line); position: relative; }
.dg-bar span { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--aquifer), var(--aquifer-deep)); }
.dg-depth { font-family: var(--mono); font-size: 0.85rem; text-align: right; }
.dg-note { grid-column: 1 / -1; font-size: 0.8rem; color: var(--steel); margin-top: -0.5rem; }
@media (max-width: 620px) { .depth-gauge li { grid-template-columns: 6.5rem 1fr 4.5rem; } }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.3rem; margin-top: 1.6rem; }
.card {
  border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
a.card:hover { border-color: var(--aquifer); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 19, 16, 0.08); color: var(--ink); }
.card-img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.card-body h3 { margin: 0 0 0.3rem; }
.card-body p { margin: 0 0 0.6em; font-size: 0.95rem; color: var(--steel); }
.card-more { margin-top: auto; font: 600 0.85rem var(--body); color: var(--aquifer); }
a.card:hover .card-more { text-decoration: underline; }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 1.4rem; max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.05rem 0.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.05rem; font-family: var(--body); font-weight: 600; }
.faq summary svg { flex: none; transition: transform 0.2s; color: var(--aquifer); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq-a { padding: 0 0.2rem 1.2rem; color: var(--steel); }
.faq-a p:last-child { margin-bottom: 0; }

/* Districts + towns */
.district-logos { list-style: none; display: flex; flex-wrap: wrap; gap: 2rem 2.6rem; align-items: center; padding: 0; margin: 1.8rem 0 0; }
.district-logos li { display: flex; flex-direction: column; gap: 0.5rem; }
.district-logos img { height: 60px; width: auto; }
.district-logos span { font-family: var(--mono); font-size: 0.7rem; color: var(--steel); }
.town-list .town-group { margin-top: 1.4rem; }
.town-list h3 { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aquifer); }
.town-list ul { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.town-list li { font-size: 0.97rem; }

/* Buttons + CTA band */
.btn {
  display: inline-block; font: 700 1rem/1 var(--body); text-decoration: none; text-align: center;
  padding: 0.95rem 1.5rem; border-radius: 3px; border: 2px solid transparent; cursor: pointer;
}
.btn-solid { background: var(--aquifer); color: #fff; }
.btn-solid:hover { background: var(--aquifer-deep); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.section-cta { max-width: none; padding: 0; }
.cta-band { background: var(--ink); color: var(--paper); border-top: 4px solid var(--aquifer); }
.cta-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.6rem, 7vw, 4.5rem) var(--pad); }
.cta-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0 0 0.4rem; }
.cta-text { max-width: 52ch; margin: 0 0 1.6rem; color: rgba(255, 255, 255, 0.85); }
.cta-band .btn-line { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.cta-band .btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Quote form */
.quote-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.6rem, 5vw, 4rem); }
@media (max-width: 880px) { .quote-wrap { grid-template-columns: 1fr; } }
.quote-form { display: grid; gap: 0.95rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--aquifer); padding: clamp(1.2rem, 3vw, 2rem); }
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem; }
@media (max-width: 560px) { .qf-row { grid-template-columns: 1fr; } }
.quote-form label { display: grid; gap: 0.3rem; font: 600 0.85rem var(--body); }
.quote-form input, .quote-form select, .quote-form textarea {
  font: 400 1rem var(--body); padding: 0.7rem 0.8rem; border: 1px solid #C7BFAF; border-radius: 3px; background: var(--paper); color: var(--ink); width: 100%;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--aquifer); outline-offset: 0; border-color: var(--aquifer); }
.qf-consent { grid-template-columns: auto 1fr; align-items: start; gap: 0.6rem !important; display: grid; font-weight: 400 !important; font-size: 0.78rem !important; color: var(--steel); }
.qf-consent input { width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; }
.qf-submit { width: 100%; font-size: 1.05rem; }
.qf-status { margin: 0; font-weight: 600; min-height: 1.2em; }
.qf-alt { margin: 0; font-size: 0.88rem; color: var(--steel); }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #CFC9BE; margin-top: clamp(2rem, 6vw, 4rem); }
.foot-grid {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(2.6rem, 6vw, 4rem) var(--pad) 2rem;
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.4rem;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-id img { height: 72px; width: auto; margin-bottom: 0.9rem; }
.foot-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #fff; margin: 0 0 0.6rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { color: #E4DFD6; }
.site-footer a:hover { color: #fff; }
.foot-hours { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; margin: 0.8rem 0 0; }
.foot-license { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: #9B948A; margin: 0.8rem 0 0; line-height: 1.8; }
.foot-head { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8FB8D2; margin: 0 0 0.8rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.foot-col a { text-decoration: none; font-size: 0.93rem; }
.foot-col a:hover { text-decoration: underline; }
.foot-legal {
  border-top: 1px solid #2E2A25;
  max-width: var(--maxw); margin: 0 auto; padding: 1.2rem var(--pad) 4.6rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; align-items: center; font-size: 0.82rem;
}
.foot-legal p { margin: 0; }
.foot-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; padding: 0; }
.foot-credit { margin-left: auto !important; color: #8A847A; }
@media (min-width: 981px) { .foot-legal { padding-bottom: 1.4rem; } }

/* Sticky mobile call bar */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: none; grid-template-columns: 1fr 1fr;
  background: var(--ink); border-top: 1px solid #2E2A25;
  padding: 0.55rem 0.55rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.55rem;
}
.callbar a { text-align: center; font: 700 0.95rem/1 var(--body); text-decoration: none; padding: 0.85rem 0.5rem; border-radius: 3px; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.callbar-cta { background: var(--aquifer); border-color: var(--aquifer) !important; }
@media (max-width: 980px) { .callbar { display: grid; } }

/* Home page specifics */
.is-home .section-cardGrid h2, .stats-title { max-width: 30ch; }

/* CTA band sits flush against the footer */
main:has(.section-cta:last-child) + footer { margin-top: 0; }
