/* ============================================================
   ECO Craft Tiling Group Pty Ltd — art direction: "SETOUT"

   THESIS  A tiler is judged on the setout: where the first line
           lands, how the joints run, whether the falls are true.
           The page is built from that grid — grout hairlines and a
           strict tile module — and refuses the trade-site default
           of a stock photo hero over rounded cards.
   WORLD   Deep kiln green, fired-ochre glaze accent, cool cement
           neutral ramp, bone glaze. Sharp corners (2px), 1px rules
           read as grout joints, tiles drawn in CSS, line icons.
   STORY   A Melbourne homeowner or builder sees method, standards
           and a real setout — then emails for a quote.
   FORM    Dark setout-grid hero with a CSS tile board beside the
           copy; light modular bands; one dark process band.
   ============================================================ */

/* ---------- 1. Tokens (only var() values below this block) ---------- */

:root {
  /* brand */
  --primary: #1f3a34;
  --primary-700: #2b4c44;
  --primary-900: #132521;
  --primary-050: #eaf0ed;

  /* accent — fired ochre glaze */
  --accent: #b8791f;
  --accent-ink: #8a5610;   /* AA on light surfaces */
  --accent-lift: #d99b3c;  /* AA on the dark band */

  /* cement neutral ramp */
  --bg: #f4f5f3;
  --surface: #ffffff;
  --n-100: #e7e9e5;
  --n-200: #d3d7d1;
  --n-400: #9aa19a;
  --n-600: #5f6862;

  /* ink */
  --text-dark: #171c1a;
  --text-muted: #4d5751;
  --text-light: #e5eae7;
  --muted-light: #a9b6b0;
  --border: #d3d7d1;
  --border-dark: #2f4a43;

  /* glaze swatches for CSS-drawn tile work */
  --tile-a: #2f544b;
  --tile-b: #3d6b5f;
  --tile-c: #8a9e93;
  --tile-d: #e7e2d6;
  --tile-e: #b8791f;

  /* layered / translucent values */
  --grid-line: rgba(233, 240, 236, .075);
  --grid-line-lg: rgba(233, 240, 236, .13);
  --header-veil: rgba(244, 245, 243, .82);
  --glow: rgba(184, 121, 31, .26);
  --glow-cool: rgba(61, 107, 95, .45);
  --shadow-1: 0 1px 2px rgba(19, 37, 33, .06);
  --shadow-2: 0 1px 2px rgba(19, 37, 33, .05), 0 10px 28px rgba(19, 37, 33, .09);
  --shadow-lift: 0 2px 4px rgba(19, 37, 33, .07), 0 16px 36px rgba(19, 37, 33, .13);
  --focus-ring: 0 0 0 3px rgba(184, 121, 31, .45);
  --focus-ring-dark: 0 0 0 3px rgba(217, 155, 60, .55);

  /* type */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2.35rem, 5.2vw, 4rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.45rem);
  --fs-h3: 1.14rem;
  --fs-lead: clamp(1.03rem, 1.5vw, 1.2rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-fine: .8125rem;
  --fs-eyebrow: .78rem;

  /* space */
  --s1: .5rem;
  --s2: .75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --s7: 6rem;

  /* geometry */
  --radius: 2px;
  --radius-lg: 4px;
  --hairline: 1px;
  --grout-gap: 4px;
  --container: 1140px;
  --measure: 66ch;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --speed: 180ms;
}

/* ---------- 2. Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0 0 var(--s3);
  text-wrap: balance;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; line-height: 1.25; }

p { margin: 0 0 var(--s3); max-width: var(--measure); }

a { color: var(--accent-ink); text-decoration-thickness: var(--hairline); text-underline-offset: 3px; }
a:hover { color: var(--primary); }

ul { margin: 0 0 var(--s3); padding-left: var(--s4); }
li { margin-bottom: var(--s1); }

strong { font-weight: 700; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius);
}

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

.skip-link {
  position: absolute;
  left: var(--s3);
  top: calc(var(--s3) * -6);
  z-index: 60;
  background: var(--accent);
  color: var(--primary-900);
  padding: var(--s2) var(--s3);
  font-weight: 700;
  border-radius: var(--radius);
  transition: top var(--speed) var(--ease);
}
.skip-link:focus { top: var(--s3); color: var(--primary-900); }

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

.section { padding: var(--s7) 0; }
.section-tight { padding: var(--s6) 0; }
.section-alt {
  background: var(--surface);
  border-top: var(--hairline) solid var(--border);
  border-bottom: var(--hairline) solid var(--border);
}

.eyebrow {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-ink);
  margin: 0 0 var(--s2);
}
.eyebrow-light { color: var(--accent-lift); }

.section-head { max-width: 62ch; margin-bottom: var(--s5); }
.section-head p { color: var(--text-muted); font-size: var(--fs-lead); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 58ch;
}

/* ---------- 3. Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  border: var(--hairline) solid transparent;
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--speed) var(--ease),
              background-color var(--speed) var(--ease),
              color var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-900);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover {
  background: var(--accent-lift);
  border-color: var(--accent-lift);
  color: var(--primary-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-dark);
  color: var(--text-light);
}
.btn-outline:hover {
  background: var(--primary-700);
  border-color: var(--muted-light);
  color: var(--text-light);
  transform: translateY(-1px);
}

.btn-outline-ink {
  background: transparent;
  border-color: var(--n-400);
  color: var(--text-dark);
}
.btn-outline-ink:hover {
  background: var(--primary-050);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

/* ---------- 4. Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-veil);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: var(--hairline) solid var(--border);
}

.navbar { display: block; width: 100%; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
  color: var(--text-dark);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  background: var(--primary);
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-small);
  letter-spacing: -.02em;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 var(--hairline) var(--border-dark);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .98rem;
  letter-spacing: -.02em;
}
.brand-sub {
  font-size: var(--fs-fine);
  color: var(--text-muted);
  letter-spacing: .02em;
}

.nav-menu { display: flex; align-items: center; gap: var(--s4); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li { margin: 0; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: var(--s1) 0;
  color: var(--text-dark);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}
.nav-link:hover { color: var(--accent-ink); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta { padding: .58rem 1.1rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-box { display: grid; gap: 4px; width: 18px; }
.nav-toggle-box span {
  display: block;
  height: 2px;
  background: var(--text-dark);
  border-radius: var(--radius);
}

/* ---------- 5. Hero (dark setout band) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 82% 18%, var(--glow) 0%, transparent 62%),
    radial-gradient(70% 90% at 8% 96%, var(--glow-cool) 0%, transparent 58%),
    linear-gradient(168deg, var(--primary-700) 0%, var(--primary) 42%, var(--primary-900) 100%);
  color: var(--text-light);
  border-bottom: 3px solid var(--accent);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, var(--grid-line-lg) 0 1px, transparent 1px 288px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: var(--s7);
  min-height: 62vh;
  padding: var(--s7) 0;
}

.hero-copy { min-width: 0; }
.hero-copy h1 { color: var(--text-light); }
.hero-copy .lead { color: var(--muted-light); max-width: 46ch; }

.hero-anchor { min-width: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s5);
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  margin: var(--s5) 0 0;
  padding: var(--s4) 0 0;
  border-top: var(--hairline) solid var(--border-dark);
  list-style: none;
  font-size: var(--fs-small);
  color: var(--muted-light);
}
.hero-note li {
  display: flex;
  align-items: center;
  gap: var(--s1);
  margin: 0;
}
.hero-note svg { color: var(--accent-lift); flex: 0 0 auto; }

/* CSS setout board — the hero's visual anchor */
.setout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--grout-gap);
  aspect-ratio: 1 / 1;
  padding: var(--grout-gap);
  background: var(--primary-900);
  border: var(--hairline) solid var(--border-dark);
  box-shadow: var(--shadow-lift);
}
.tile {
  border-radius: var(--radius);
  background: var(--tile-a);
}
.tile-b { background: var(--tile-b); }
.tile-c { background: var(--tile-c); }
.tile-d { background: var(--tile-d); }
.tile-e { background: var(--tile-e); }
.tile-hatch {
  background:
    repeating-linear-gradient(45deg, var(--primary-900) 0 2px, transparent 2px 9px),
    var(--tile-b);
}
.tile-wide { grid-column: span 2; }
.tile-mono {
  grid-column: span 2;
  grid-row: span 2;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.05em;
}
.tile-icon {
  display: grid;
  place-items: center;
  background: var(--primary-700);
  color: var(--accent-lift);
}

/* ---------- 6. Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(70% 130% at 88% 10%, var(--glow) 0%, transparent 60%),
    linear-gradient(160deg, var(--primary-700) 0%, var(--primary) 55%, var(--primary-900) 100%);
  color: var(--text-light);
  border-bottom: 3px solid var(--accent);
  padding: var(--s6) 0;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 72px);
}
.page-hero h1 { color: var(--text-light); max-width: 20ch; }
.page-hero .lead { color: var(--muted-light); margin-bottom: 0; }
.page-hero .lead a { color: var(--accent-lift); }
.page-hero .lead a:hover { color: var(--text-light); }
.page-hero-inner { max-width: 74ch; }

/* ---------- 7. Value props ---------- */

.props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hairline);
  background: var(--border);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.prop { background: var(--surface); padding: var(--s5) var(--s4); }
.prop h3 { margin-bottom: var(--s2); }
.prop p { color: var(--text-muted); font-size: var(--fs-small); margin: 0; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  margin-bottom: var(--s3);
  background: var(--primary-050);
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 var(--hairline) var(--n-200);
}
.icon-tile-accent { background: var(--primary); color: var(--accent-lift); box-shadow: none; }

/* ---------- 8. Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.services-grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  display: block;
  padding: var(--s5) var(--s4);
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease),
              border-color var(--speed) var(--ease);
}
a.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--n-400);
}
.service-card h3 { margin-bottom: var(--s2); }
.service-card p { color: var(--text-muted); font-size: var(--fs-small); margin: 0; }

.service-more {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  margin-top: var(--s3);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--accent-ink);
}

.spec-list { list-style: none; padding: 0; margin: var(--s3) 0 0; }
.spec-list li {
  position: relative;
  padding-left: var(--s4);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: var(--radius);
}

/* ---------- 9. Two-column split band ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s7);
  align-items: center;
}
.split-copy { min-width: 0; }
.split-visual { min-width: 0; }
.split-reverse .split-visual { order: -1; }
.split-copy h2 { margin-bottom: var(--s3); }
.split-copy p { color: var(--text-muted); }

.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--grout-gap);
  padding: var(--grout-gap);
  background: var(--n-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.m-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--tile-d);
}
.m-tile-a { background: var(--tile-a); }
.m-tile-b { background: var(--tile-b); }
.m-tile-c { background: var(--tile-c); }
.m-tile-e { background: var(--tile-e); }
.m-tile-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.m-tile-tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.m-tile-herring {
  background: repeating-linear-gradient(45deg, var(--tile-a) 0 6px, var(--tile-b) 6px 12px);
}

/* ---------- 10. Dark process band ---------- */

.band-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, var(--primary-900) 0%, var(--primary) 100%);
  color: var(--text-light);
  padding: var(--s7) 0;
}
.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 64px);
}
.band-dark h2, .band-dark h3 { color: var(--text-light); }
.band-dark p { color: var(--muted-light); }

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  margin-top: var(--s5);
}
.step { padding-top: var(--s3); border-top: 2px solid var(--border-dark); }
.step-index {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-fine);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-lift);
  margin-bottom: var(--s2);
}
.step h3 { font-size: 1.02rem; margin-bottom: var(--s1); }
.step p { font-size: var(--fs-small); margin: 0; }

/* ---------- 11. Credentials strip (factual only) ---------- */

.creds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--hairline);
  background: var(--border);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
}
.cred { background: var(--surface); padding: var(--s4); }
.cred dt {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: var(--s1);
}
.cred dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--primary);
}

/* ---------- 12. CTA strip ---------- */

.cta-strip {
  background: var(--surface);
  border-top: var(--hairline) solid var(--border);
  border-bottom: 3px solid var(--accent);
  padding: var(--s6) 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  flex-wrap: wrap;
}
.cta-inner h2 { margin-bottom: var(--s2); max-width: 20ch; }
.cta-inner p { color: var(--text-muted); margin: 0; max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- 13. Prose (about / legal) ---------- */

.prose { max-width: var(--measure); }
.prose h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-top: var(--s6);
  padding-top: var(--s4);
  border-top: var(--hairline) solid var(--border);
}
.prose h2:first-child,
.legal-meta + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: var(--s4); }
.prose p, .prose li { color: var(--text-muted); }
.prose li { max-width: var(--measure); }
.prose strong { color: var(--text-dark); }

.legal-meta {
  padding: var(--s4);
  margin-bottom: var(--s5);
  background: var(--primary-050);
  border-left: var(--hairline) solid var(--accent);
  border-radius: var(--radius);
  font-size: var(--fs-small);
}
.legal-meta p { margin: 0; color: var(--text-muted); max-width: none; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
  margin: var(--s5) 0 0;
}
.fact {
  padding: var(--s4);
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
}
.fact dt {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: var(--s1);
}
.fact dd { margin: 0; font-weight: 700; color: var(--text-dark); }

/* ---------- 14. Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--s6);
  align-items: start;
}

.contact-panel {
  padding: var(--s5);
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

.form { display: grid; gap: var(--s3); justify-items: start; }
.field { display: grid; gap: var(--s1); width: 100%; }
.field label {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-dark);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7rem var(--s2);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--text-dark);
  background: var(--bg);
  border: var(--hairline) solid var(--n-400);
  border-radius: var(--radius);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}
.field-hint { font-size: var(--fs-fine); color: var(--text-muted); margin: 0; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-item {
  display: flex;
  gap: var(--s3);
  padding: var(--s4) 0;
  border-bottom: var(--hairline) solid var(--border);
  margin: 0;
}
.contact-item:first-child { padding-top: 0; }
.contact-item h3 { margin-bottom: var(--s1); font-size: 1rem; }
.contact-item p { margin: 0; font-size: var(--fs-small); color: var(--text-muted); }
.contact-item p + p { margin-top: var(--s1); }

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  list-style: none;
  padding: 0;
  margin: var(--s3) 0 0;
}
.area-list li { margin: 0; }
.chip {
  display: inline-block;
  padding: .32rem .7rem;
  background: var(--surface);
  border: var(--hairline) solid var(--border);
  border-radius: var(--radius);
  font-size: var(--fs-fine);
  color: var(--text-muted);
}

/* ---------- 15. Footer ---------- */

.footer {
  background: var(--primary-900);
  color: var(--muted-light);
  border-top: 3px solid var(--accent);
  font-size: var(--fs-small);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--s5);
  padding-top: var(--s6);
  padding-bottom: var(--s6);
}
.footer-col { min-width: 0; }
.footer-col h2 {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-light);
  margin-bottom: var(--s3);
}
.footer .brand { color: var(--text-light); margin-bottom: var(--s3); }
.footer .brand-mark { background: var(--accent); color: var(--primary-900); box-shadow: none; }
.footer .brand-sub { color: var(--muted-light); }
.footer-blurb { color: var(--muted-light); max-width: 42ch; margin-bottom: var(--s3); }
.footer-reg {
  margin: 0;
  font-size: var(--fs-fine);
  line-height: 1.7;
  color: var(--muted-light);
  padding-top: var(--s3);
  border-top: var(--hairline) solid var(--border-dark);
  max-width: 34ch;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: var(--s2); }
.footer-link {
  color: var(--muted-light);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
  overflow-wrap: anywhere;
}
.footer-link:hover { color: var(--accent-lift); text-decoration: underline; }
.footer-link:focus-visible { box-shadow: var(--focus-ring-dark); }

.footer-bottom {
  background: var(--primary);
  border-top: var(--hairline) solid var(--border-dark);
  padding: var(--s4) 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  font-size: var(--fs-fine);
  color: var(--muted-light);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-legal li { margin: 0; }

/* ---------- 16. Responsive ---------- */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s6); }
  .split { grid-template-columns: 1fr; gap: var(--s5); }
  .split-reverse .split-visual { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: repeat(2, 1fr); }
  .setout { max-width: 460px; }
}

@media (max-width: 768px) {
  :root { --s7: 3.5rem; --s6: 3rem; }

  .nav-inner { position: relative; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s3) var(--s4) var(--s4);
    background: var(--surface);
    border-bottom: var(--hairline) solid var(--border);
    box-shadow: var(--shadow-2);
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: var(--hairline) solid var(--border); }
  .nav-link { display: block; padding: var(--s3) 0; }
  .nav-link::after { bottom: 0; }
  .nav-cta { margin-top: var(--s3); width: 100%; }

  .hero-inner { min-height: 0; padding: var(--s6) 0; }
  .setout { max-width: 380px; margin: 0 auto; }
  .props { grid-template-columns: 1fr; }
  .services-grid, .services-grid-2 { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .contact-panel { padding: var(--s4); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .process { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .contact-item { gap: var(--s2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
  .btn:hover, a.service-card:hover { transform: none; }
}
