/* ==========================================================================
   Ranch House Roofing — stylesheet
   Hand-authored rebuild of ranchhouseroof.com
   Tokens extracted from the source (see .tools/out/tokens.json)
   ========================================================================== */

/* --- Self-hosted display face ------------------------------------------- */
@font-face {
  font-family: "Grantmouth Vol.2";
  /* woff2 ONLY. The source serves an uncompressed .otf, 110 KB, which was the
     third-heaviest transfer on the homepage - ahead of every image. WOFF2 is
     38 KB, measured, and support has been universal since 2016, so a .otf
     fallback would deploy 110 KB that nothing ever fetches. */
  src: url("../fonts/grantmouth-vol2.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens ------------------------------------------------------------- */
:root {
  --teal: #065779;
  --teal-deep: #08485d;
  --teal-ink: #051c2a;
  --red: #790606;
  --black: #000;
  --white: #fff;
  --grey: #666;
  --grey-dark: #454545;
  --surface: #f7f7f7;
  --surface-alt: #faf9f9;
  --line: #ccc;
  --overlay: rgba(0, 0, 0, .52);
  --overlay-strong: rgba(0, 0, 0, .55);
  --shadow: 0 3px 11px rgba(0, 0, 0, .25);
  --radius-card: 15px;
  --radius-btn: 10px;
  --radius-sm: 5px;
  --max: 1200px;
  --gutter: 20px;
  --header-h: 120px;
  --font-display: "Grantmouth Vol.2", "Georgia", serif;
  --font-body: "Lato", "Segoe UI", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--grey);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

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

/* <picture> is a wrapper, not a box. display:contents keeps the <img> as the
   real layout child of .feature / .hero-copy, so wrapping a photo in a WebP
   <source> cannot shift the layout the visual QA locked in. */
picture { display: contents; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }

ul.plain { list-style: none; padding: 0; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--white);
  color: var(--teal);
  padding: 12px 18px;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

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

/* --- Layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.section { padding: 70px 0; }

.text-center { text-align: center; }

/* --- Type scale (desktop values) ---------------------------------------- */
.t-display-xl { font-family: var(--font-display); font-size: 120px; line-height: .7; font-weight: 400; }
.t-display-lg { font-family: var(--font-display); font-size: 80px;  line-height: .8; font-weight: 400; }
.t-display-md { font-family: var(--font-display); font-size: 60px;  line-height: .8; font-weight: 400; }
.t-h1         { font-size: 45px; line-height: 1; font-weight: 700; text-transform: uppercase; }
.t-h1-sm      { font-size: 40px; line-height: 1; font-weight: 700; text-transform: uppercase; }
.t-h1-xs      { font-size: 35px; line-height: 1; font-weight: 700; text-transform: uppercase; }
.t-lead       { font-size: 25px; }
.t-body-lg    { font-size: 22px; }
.t-body       { font-size: 20px; }
.t-body-sm    { font-size: 18px; }
.t-small      { font-size: 17px; }
.t-xs         { font-size: 13px; }

.eyebrow {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .5px;
}

.shadowed { text-shadow: rgba(0, 0, 0, .4) 0 0 15px; }

.color-teal { color: var(--teal); }
.color-red { color: var(--red); }
.color-white { color: var(--white); }
.color-ink { color: var(--black); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--teal);
  box-shadow: var(--shadow);
  transition: background-color .2s ease, color .2s ease;
}

.btn:hover,
.btn:focus { background: var(--red); color: var(--white); }

.btn--wide { width: 247px; }

.btn--ghost {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  box-shadow: none;
}
.btn--ghost:hover,
.btn--ghost:focus { background: var(--white); color: var(--teal); }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  color: var(--white);
}

.site-header.is-stuck {
  position: fixed;
  background: var(--teal);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .28);
  animation: header-drop .22s ease-out;
}

@keyframes header-drop {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand { flex: 0 0 auto; }
.brand img { width: 190px; }

.site-nav { flex: 1 1 auto; }

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a,
.nav-list .nav-toggle {
  display: block;
  padding: 14px 12px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--white);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus,
.nav-list .nav-toggle:hover { text-decoration: underline; }

.has-sub { position: relative; }

.sub-nav {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--teal);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  display: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
}

.has-sub:hover .sub-nav,
.has-sub:focus-within .sub-nav,
.has-sub.is-open .sub-nav { display: block; }

.sub-nav a {
  padding: 12px 18px;
  font-size: 15px;
}

.header-phone {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.nav-burger {
  display: none;
  width: 46px;
  height: 40px;
  margin-left: auto;
  padding: 8px 6px;
}

.nav-burger span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-open .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav-open .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: var(--teal-ink);
  background-image: url("../images/hero.jpg");
  /* WebP first. A browser that cannot parse image-set() (or type()) discards
     this declaration whole and keeps the JPEG above - so there is no state in
     which a visitor ends up with no background at all. */
  background-image: image-set(
    url("../images/hero.webp") type("image/webp") 1x,
    url("../images/hero.jpg") type("image/jpeg") 1x);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  background-attachment: fixed;
  padding: 120px 40px 0;
  text-align: center;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero > * { position: relative; z-index: 1; }

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 90px;
}

.hero h1 { color: var(--white); margin-bottom: 34px; }

.hero-badge {
  display: block;
  margin: 60px auto 0;
  max-width: 900px;
}

.hero-badge img { width: 100%; }

/* --- Hero layout -------------------------------------------------------- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: center;
  text-align: left;
}

/* Left column holds the "#1 Residential Roofer" badge artwork */
.hero-copy { text-align: center; }

.hero-copy img { margin: 0 auto; width: 100%; max-width: 640px; }

.form-card__title {
  color: var(--white);
  margin-bottom: 22px;
  text-align: left;
}

/* --- Form card ----------------------------------------------------------
   Source: teal #065779, radius 6px, padding 70px 10px 50px 25px,
   margin 150px 0 -70px (card overlaps the section below).               */
.form-card {
  background: var(--teal);
  border-radius: 6px;
  padding: 70px 35px 50px 25px;
  margin: 150px 0 -70px;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.form-card--flat { margin: 0; }

.form-row { margin-top: 10px; text-align: left; }

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

/* The source only shows the label above the select; the rest rely on
   placeholders. Kept in the DOM (and readable) for accessibility. */
.form-row label.label-visible {
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 4px;
  overflow: visible;
  clip: auto;
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  height: 40px;
  margin: 3px 0;
  padding: 0 10px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  border: 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-row textarea { height: 90px; padding: 10px; resize: vertical; }

.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(0, 0, 0, .52); }

.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  padding-right: 34px;
}

.form-submit { margin-top: 16px; }

.form-note,
.form-success,
.form-error { margin-top: 16px; font-size: 16px; }

.form-success,
.form-error { display: none; }

.form-success.is-visible,
.form-error.is-visible { display: block; }

/* --- Form wiring (Stage A5) --------------------------------------------
   Honeypot, per-field validation messages, consent disclosure and the no-JS
   fallback. None of these add visible copy to the parity baseline except the
   consent line and the noscript line, which are declared in verify.py. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-error {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.35;
  color: #ffd6d6;
}

.field-error:empty { display: none; }

.form-row input[aria-invalid="true"],
.form-row select[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  outline: 3px solid #ffb3b3;
  outline-offset: -3px;
}

.form-consent,
.form-noscript {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  color: rgba(255, 255, 255, .82);
}

.form-noscript a { text-decoration: underline; }

.is-hidden { display: none; }

/* --- Display headings (Grantmouth) -------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--teal);
}

.display--xl  { font-size: 120px; line-height: .7; }
.display--100 { font-size: 100px; line-height: .7; }
.display--lg  { font-size: 80px;  line-height: .7; }
.display--md  { font-size: 60px;  line-height: .8; }

.display--shadow { text-shadow: rgba(0, 0, 0, .4) 0 0 15px; }

.display--white { color: var(--white); }
.display--red { color: var(--red); }
.display--teal { color: var(--teal); }

/* --- Page hero (inner pages) -------------------------------------------- */
.page-hero {
  position: relative;
  background-color: var(--teal-ink);
  background-image: url("../images/hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  background-attachment: fixed;
  padding: 200px 40px 70px;
  text-align: center;
  color: var(--white);
}

/* Per-page hero photos, hoisted out of inline style attributes so the WebP
   variants can be offered through image-set(). Each keeps the JPEG declaration
   first, so an unsupported image-set() falls back to the JPEG. */
.page-hero--services {
  background-image: url("../images/new-roof-cleburne.jpg");
  background-image: image-set(
    url("../images/new-roof-cleburne.webp") type("image/webp") 1x,
    url("../images/new-roof-cleburne.jpg") type("image/jpeg") 1x);
}

.page-hero--gutters {
  background-image: url("../images/rain-gutter-installation.jpg");
  background-image: image-set(
    url("../images/rain-gutter-installation.webp") type("image/webp") 1x,
    url("../images/rain-gutter-installation.jpg") type("image/jpeg") 1x);
}

.page-hero--about {
  background-image: url("../images/about.jpg");
  background-image: image-set(
    url("../images/about.webp") type("image/webp") 1x,
    url("../images/about.jpg") type("image/jpeg") 1x);
}

.page-hero--contact {
  background-image: url("../images/contact-roofer.jpg");
  background-image: image-set(
    url("../images/contact-roofer.webp") type("image/webp") 1x,
    url("../images/contact-roofer.jpg") type("image/jpeg") 1x);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.page-hero > * { position: relative; z-index: 1; }

.page-hero .display { margin: 0 auto; }

.page-hero p { margin-top: 10px; }

/* --- Services list ------------------------------------------------------ */
.services { padding: 60px 0; background: var(--white); }

/* Source layout: the services list sits on the left and the
   "local. reliable. roofing experts." statement on the right. */
.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 50px;
  align-items: center;
}

.services-list { max-width: none; }

.statement { text-align: left; }

.statement .display { margin-bottom: 26px; }

.statement p { font-size: 17px; }

.statement p + p { margin-top: 18px; }

.statement .btn { margin-top: 28px; }

.service {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 20px;
  align-items: center;
  padding: 14px 0;
}

.service__icon { display: flex; justify-content: center; }
.service__icon svg { width: 84px; height: 84px; }

.service__title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--teal);
}

.service__body { font-size: 15px; margin-top: 4px; }

/* --- Generic content blocks --------------------------------------------- */
.lede {
  font-size: 17px;
  max-width: 900px;
}

.stack { display: grid; gap: 14px; }

.eyebrow { color: var(--teal); }

/* --- Two column feature ------------------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: center;
}

.feature img { border-radius: 4px; }

/* Visually swap the two columns without moving them in the DOM
   (the source puts the reroof copy on the left, the photo on the right). */
@media (min-width: 1025px) {
  .feature--flip > :first-child { order: 2; }
  .feature--flip > :last-child { order: 1; }
}

/* --- Faded photo band (source: bg roof-repair image, white wash) -------- */
.band-photo {
  position: relative;
  background-color: var(--white);
  background-image: url("../images/roof-repair-cleburne.jpg");
  background-image: image-set(
    url("../images/roof-repair-cleburne.webp") type("image/webp") 1x,
    url("../images/roof-repair-cleburne.jpg") type("image/jpeg") 1x);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: fixed;
  padding: 20px 20px 60px;
  text-align: center;
}

.band-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .5);
}

.band-photo > * { position: relative; z-index: 1; }

/* --- Teal card ---------------------------------------------------------- */
.band-teal {
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 40px;
  margin: 100px 10px;
  text-align: center;
}

.band-teal--flush { padding: 50px 30px 50px; margin: 0; }

.band-teal p { max-width: 950px; margin: 18px auto 0; font-size: 17px; }

/* --- Plain centred band ------------------------------------------------- */
.band-plain { padding: 80px 20px; text-align: center; }

/* --- Service cards (3-up) ----------------------------------------------- */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.svc-card {
  text-align: center;
  background: #f2f2f2;
  border-radius: 4px;
  padding: 26px 22px 30px;
}

.svc-card__icon { display: flex; justify-content: center; margin-bottom: 18px; }

.svc-card__icon svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-card__title {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
}

.svc-card p { margin-top: 10px; font-size: 15px; }

.learn-more {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 26px;
  background: var(--teal);
  color: var(--white);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background-color .2s ease;
}

.learn-more:hover,
.learn-more:focus { background: var(--red); color: var(--white); }

/* --- Info grids --------------------------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
}

.info-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }

.info-item__title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.info-item p { font-size: 15px; }

.sub-head {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.benefits { margin-top: 50px; }

.callout { font-size: 20px; font-weight: 700; }
.callout a { color: var(--red); }

.cta-band__inner { text-align: right; }

.cta-band__inner p { margin-top: 18px; }

/* --- Checklist ---------------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-top: 10px;
  font-size: 17px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 12px;
  height: 12px;
  background: var(--teal);
  border-radius: 50%;
}



/* --- Service-area band -------------------------------------------------
   Source: dark-red gradient, logo left, heading + city list right.      */
.areas {
  background: linear-gradient(120deg, #a02020 0%, #7a0e0e 45%, #420606 100%);
  color: #f7ece2;
  padding: 38px 20px;
}

.areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 6fr);
  gap: 30px;
  align-items: center;
}

.areas-logo { width: 170px; }

.areas h2 {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: .95;
  font-weight: 400;
  color: var(--white);
  text-transform: lowercase;
}

.areas p { font-size: 15px; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  background: var(--teal);
  color: var(--white);
  padding: 45px 20px;
  text-align: center;
}

.cta-band .phone {
  display: inline-block;
  margin-top: 8px;
  font-size: 25px;
  font-weight: 700;
  color: var(--white);
}

.cta-band .addr { margin-top: 10px; font-size: 17px; }

.cta-band .financing {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 18px;
  border: 2px solid var(--white);
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

/* --- Footer -------------------------------------------------------------
   Source: logo | call + address | white "schedule" card, plus a legal line. */
.site-footer {
  background: var(--teal);
  color: var(--white);
  border-top: 6px solid #6d0b0b;
}

.footer-main { padding: 40px 20px 24px; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr);
  gap: 34px;
  align-items: center;
  text-align: left;
}

.footer-logo { width: 200px; margin: 0 auto; }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
}

.footer-social a:hover,
.footer-social a:focus { background: var(--white); color: var(--teal); }

.footer-social svg { width: 16px; height: 16px; }

.footer-call {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-phone {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.footer-addr { margin-top: 8px; font-size: 15px; }

.footer-financing {
  display: inline-block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  /* #ff6b6b was the source colour and failed WCAG2AA on the teal footer:
     2.86:1 against #065779, where 4.5:1 is required. This is the same tint the
     design system already uses for text on teal (.field-error), measured at
     5.98:1. Colour changed deliberately for accessibility - see the QA report. */
  color: #ffd6d6;
}

.footer-cta {
  background: var(--white);
  color: var(--teal);
  border-radius: 4px;
  padding: 26px 24px;
  text-align: center;
}

.footer-cta h2 {
  font-size: 25px;
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.footer-cta .btn {
  background: var(--teal);
  color: var(--white);
  border-radius: 4px;
}

.footer-cta .btn:hover,
.footer-cta .btn:focus { background: var(--red); color: var(--white); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  margin-top: 26px;
  padding-top: 14px;
  font-size: 12px;
  color: var(--white);
}

.footer-legal a { text-decoration: underline; }

.footer-legal a:hover,
.footer-legal a:focus { text-decoration: none; }

/* --- Contact + reach side by side --------------------------------------- */
.reach-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 50px;
  align-items: center;
  text-align: left;
}

.reach-layout .display { margin-bottom: 20px; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --header-h: 96px; }

  .display--xl { font-size: 96px; }
  .display--100 { font-size: 80px; }
  .display--lg { font-size: 64px; }
  .display--md { font-size: 48px; }

  .t-h1 { font-size: 36px; }
  .t-h1-sm { font-size: 32px; }

  .hero { background-attachment: initial; padding: 120px 25px 0; }
  .page-hero { background-attachment: initial; padding: 160px 25px 55px; }

  .hero-grid,
  .feature,
  .services-layout,
  .reach-layout { grid-template-columns: 1fr; gap: 30px; }

  .statement { text-align: center; }

  .form-card { margin: 0 0 40px; }

  .areas-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; text-align: center; }
}

@media (max-width: 767px) {
  .display--xl { font-size: 96px; }
  .display--100 { font-size: 80px; }
  .display--lg { font-size: 64px; }
  .display--md { font-size: 48px; }

  .t-h1 { font-size: 36px; }
  .t-h1-sm { font-size: 32px; }
  .t-h1-xs { font-size: 28px; }
  .t-lead { font-size: 20px; }
  .t-body-lg { font-size: 18px; }
  .t-body { font-size: 16px; }
  .t-body-sm { font-size: 14px; }
  .t-small { font-size: 14px; }
  .t-xs { font-size: 10px; }

  .section { padding: 45px 0; }
  .services { padding: 45px 0 35px; }

  .nav-burger { display: block; }

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 340px);
    background: var(--teal);
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    padding: 90px 0 30px;
    z-index: 120;
  }

  .nav-open .site-nav { transform: translateX(0); }

  .nav-list {
    display: block;
    padding: 0 18px;
  }

  .nav-list a,
  .nav-list .nav-toggle {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    text-align: left;
    width: 100%;
  }

  .sub-nav {
    position: static;
    display: block;
    background: transparent;
    box-shadow: none;
    min-width: 0;
    padding-left: 14px;
  }

  .header-phone { display: none; }

  .header-inner { min-height: 84px; }

  .brand img { width: 150px; }

  .form-card { padding: 45px 22px 35px; margin: 0 0 30px; }

  .service { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

  .service__icon svg { width: 60px; height: 60px; }

  .svc-cards,
  .info-grid,
  .info-grid--4 { grid-template-columns: 1fr; gap: 26px; }

  .svc-card img { height: 200px; }

  .cta-band__inner { text-align: center; }

  .cta-band__inner h2 { font-size: 40px; }

  .band-teal { margin: 40px 0; padding: 30px 20px; }

  .band-photo { background-attachment: scroll; }

  .footer-phone { font-size: 25px; }
  .footer-cta h2 { font-size: 28px; }
  .cta-band .phone { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header.is-stuck { animation: none; }
  .site-nav { transition: none; }
  .hero, .page-hero { background-attachment: scroll; }
}




