/* ==========================================================================
   Martinez Roofing and Gutter Services LLC
   Design direction: "HONEST, HARD, CLEAN" — their own words from their Google
   listing, built into a civic/architectural identity.

   Palette is derived from their REAL logo (a navy gable-roof crest under an arc
   of stars, over five red banner stripes), sampled straight off the artwork:
     navy #05527E   red #C42738   white
   Elevated here into a deep navy ground + limestone paper + brick-red accent.
   Type is condensed civic signage to match the crest.
   ========================================================================== */

/* === defensive base — injected by harden_css.py; do not hand-edit === */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: calc(var(--nav-h, 72px) + 1rem); }
img, svg, video, iframe, canvas, table { display: block; max-width: 100%; }
p, li, h1, h2, h3, h4, blockquote, td, dd, dt { overflow-wrap: anywhere; }
form[style*="min-height"] { align-content: center; }
/* === end defensive base === */

:root {
  /* --- brand, exact (sampled from assets/logo.png) ---------------------- */
  --navy:     #05527E;
  --red:      #C42738;

  /* --- ground: brand navy driven down to near-black --------------------- */
  --ink:      #061320;
  --ink-2:    #0A1B2A;
  --ink-3:    #0E2436;
  --ink-4:    #143047;
  --line:     #1B3247;
  --line-2:   #27455E;

  /* --- accents --------------------------------------------------------- */
  --navy-hi:  #1077B0;
  --red-hi:   #DE3D4E;
  --red-lo:   #99202F;
  --gold:     #D9A24A;   /* stars only */

  /* --- light: limestone ------------------------------------------------- */
  --paper:    #F5F3EE;
  --paper-2:  #E8E3D9;
  --paper-3:  #D3CCBE;

  /* --- text ------------------------------------------------------------- */
  --fog:      #9DB0C0;
  --fog-2:    #6A7F91;
  --label-fg: #C6D3DD;

  /* --- type ------------------------------------------------------------- */
  --display: "Big Shoulders Display", "Barlow Condensed", Impact, sans-serif;
  --body:    "Barlow", -apple-system, BlinkMacSystemFont, sans-serif;
  --label:   "Barlow Condensed", "Barlow", sans-serif;

  /* --- metrics ---------------------------------------------------------- */
  --nav-h: 74px;
  --gut: clamp(1.15rem, 4vw, 3.5rem);
  --maxw: 1240px;
  --r: 3px;

  /* --- texture: vertical hairlines echoing the logo's banner stripes ---- */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  --seam: repeating-linear-gradient(90deg,
            transparent 0 89px,
            rgba(255,255,255,.04) 89px 90px,
            transparent 90px 180px);

  /* five-point star, for list bullets — straight off the logo */
  --star: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%,
                  50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@media (max-width: 720px) { :root { --nav-h: 62px; } }

/* ==========================================================================
   base
   ========================================================================== */

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .18vw, 1.09rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {                     /* fine grain over everything */
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: .09;
  pointer-events: none;
  z-index: 900;
  mix-blend-mode: overlay;
}

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

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, picture, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* recurring label: limestone caps behind a red rule */
.eyebrow {
  font-family: var(--label);
  font-weight: 600;
  font-size: clamp(.72rem, .68rem + .2vw, .84rem);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--label-fg);
  display: flex;
  align-items: center;
  gap: .7em;
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: clamp(18px, 4vw, 34px);
  height: 3px;
  background: var(--red);
  flex: none;
}
.eyebrow--dark { color: #4A5A67; }

/* ==========================================================================
   buttons
   ========================================================================== */

.btn {
  --_bg: var(--red);
  --_fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95em 1.6em;
  background: var(--_bg);
  color: var(--_fg);
  font-family: var(--label);
  font-weight: 600;
  font-size: clamp(.94rem, .9rem + .22vw, 1.06rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  position: relative;
  transition: background .22s ease, color .22s ease,
              transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset,
              0 10px 26px -14px rgba(0,0,0,.8);
}
.btn:hover { background: var(--red-hi); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --_bg: transparent;
  --_fg: var(--paper);
  border-color: var(--line-2);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(255,255,255,.06);
  border-color: var(--navy-hi);
  color: #fff;
}

.btn--navy { --_bg: var(--navy); }
.btn--navy:hover { background: var(--navy-hi); }

.btn--dark {
  --_bg: var(--ink);
  --_fg: var(--paper);
  box-shadow: 0 10px 26px -16px rgba(0,0,0,.55);
}
.btn--dark:hover { background: var(--ink-3); }

.btn--sm { padding: .7em 1.15em; font-size: .88rem; letter-spacing: .09em; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .85; cursor: default; transform: none; }

/* ==========================================================================
   nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 800;
  height: var(--nav-h);
  background: rgba(6,19,32,.9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__in { height: 100%; display: flex; align-items: center; gap: clamp(.7rem, 2vw, 2rem); }

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; min-width: 0; }
/* the logo is flat art on white — it sits on its own light plate rather than
   being recoloured, so their mark ships exactly as they drew it */
.brand__mark {
  width: clamp(36px, 8vw, 44px);
  height: clamp(36px, 8vw, 44px);
  flex: none;
  background: #F8FCFF;
  border-radius: var(--r);
  padding: 3px;
  box-shadow: 0 2px 10px -4px rgba(0,0,0,.5);
}
/* min-width:0 (from the defensive base) lets this shrink below its content, and
   the nowrap name would then bleed over the phone/CTA. Clip it as a backstop. */
.brand__txt { display: flex; flex-direction: column; min-width: 0; gap: 2px; overflow: hidden; }
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.02rem, .95rem + .5vw, 1.3rem);
  line-height: .88;
  letter-spacing: -.008em;
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--label);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fog-2);
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 400px) { .brand__sub { display: none; } }

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav__links a {
  font-family: var(--label);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--fog);
  position: relative;
  padding-block: .4em;
  transition: color .2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s cubic-bezier(.2,.8,.2,1);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__tel {
  display: flex;
  align-items: center;
  gap: .5em;
  font-family: var(--label);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .04em;
  color: var(--paper);
  white-space: nowrap;
  transition: color .2s ease;
}
.nav__tel:hover { color: #fff; }
.nav__tel svg { width: 15px; height: 15px; flex: none; color: var(--red-hi); }

.burger {
  display: none;
  width: 44px; height: 40px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  cursor: pointer;
  padding: 0;
  place-items: center;
  flex: none;
}
.burger span { display: block; width: 19px; height: 2px; background: var(--paper); position: relative; }
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px; height: 2px;
  background: var(--paper);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* mobile drawer — display:none is the BASE so no [hidden] specificity race */
.drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 799;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem var(--gut) 1.4rem;
  background: rgba(6,19,32,.985);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 26px 40px -24px rgba(0,0,0,.9);
}
.drawer.open { display: flex; }
.drawer a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.55rem;
  text-transform: uppercase;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
}
.drawer a:last-of-type { border-bottom: 0; }
.drawer .btn { margin-top: .8rem; }

@media (max-width: 940px) {
  .nav__links { display: none; }
  .burger { display: grid; }
}
/* Below 620px the bar cannot hold brand + phone + CTA + burger without the
   pieces colliding. The phone drops out of the bar (it stays one tap away in
   the drawer, the hero and the footer) and the CTA goes compact. */
@media (max-width: 620px) {
  .nav__tel { display: none; }
  .nav .btn--sm {
    padding: .62em .8em;
    font-size: .78rem;
    letter-spacing: .06em;
    white-space: nowrap;
  }
}
@media (max-width: 430px) {
  .brand__name { font-size: .95rem; }
  .brand__mark { width: 34px; height: 34px; }
  .nav__in { gap: .55rem; }
}

/* ==========================================================================
   HERO — must fit the first viewport whole: svh sizing + container-query type
   ========================================================================== */

.hero {
  position: relative;
  container-type: inline-size;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow-x: clip;              /* scoped: the seam texture bleeds on purpose */
  background: var(--ink);
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
/* <picture> is only a wrapper — without a definite height, the img's height:100%
   resolves against auto and the photo sits short of its box. */
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(.68) contrast(1.05) brightness(.88);
}
.hero__media::after {            /* layered scrim holds text contrast over the photo */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5,14,24,.96) 0%, rgba(5,14,24,.88) 38%,
                            rgba(5,16,27,.44) 73%, rgba(5,16,27,.62) 100%),
    linear-gradient(to top, rgba(5,14,24,.94) 0%, transparent 46%);
}
.hero::after {                   /* banner-stripe hairlines */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--seam);
  pointer-events: none;
}

/* Sits INSIDE a .wrap, never on the same element: both set max-width, and this
   one is declared later, so combining them would beat the container width and
   auto-margin the text block into the middle of the page. */
.hero__in {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(.8rem, 2.3cqi, 1.6rem);
  padding-block: clamp(1.4rem, 5cqi, 3.4rem);
  max-width: 60ch;
}

.hero h1 {
  font-size: clamp(2.3rem, 9.8cqi, 5.3rem);
  line-height: .9;
  letter-spacing: -.014em;
  text-shadow: 0 2px 30px rgba(0,0,0,.55);
}
.hero h1 em { font-style: normal; color: #fff; display: block; }
.hero h1 .rule {
  display: block;
  width: clamp(70px, 22cqi, 150px);
  height: 5px;
  margin-top: clamp(.5rem, 1.7cqi, .95rem);
  background: linear-gradient(90deg, var(--red) 0 60%, var(--navy-hi) 60% 100%);
}

.hero__sub {
  font-size: clamp(1rem, 2.55cqi, 1.22rem);
  color: #C3D2DE;
  max-width: 44ch;
  line-height: 1.55;
}
.hero__sub strong { color: #fff; font-weight: 600; }

.hero__cta { display: flex; flex-wrap: wrap; gap: clamp(.55rem, 1.6cqi, .9rem); }

/* proof line — the element most often clipped at the fold, so it is sized in cqi */
.proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(.45rem, 1.7cqi, 1rem);
  padding-top: clamp(.2rem, 1cqi, .7rem);
  border-top: 1px solid rgba(255,255,255,.15);
  font-family: var(--label);
  font-size: clamp(.85rem, 2.05cqi, 1rem);
  letter-spacing: .05em;
  color: #B6C6D3;
  line-height: 1.3;
}
.proof__yelp { display: inline-flex; align-items: center; gap: .45em; color: #fff; }
.proof__stars { display: inline-flex; gap: 2px; color: var(--gold); flex: none; }
.proof__stars svg { width: 1em; height: 1em; }
.proof b { color: #fff; font-weight: 600; }
.proof__sep { color: var(--line-2); }
@media (max-width: 560px) { .proof__sep { display: none; } }

/* ==========================================================================
   credentials band
   ========================================================================== */

.seam-band { background: var(--ink-2); border-block: 1px solid var(--line); overflow: hidden; }
.seam-band__in {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(.9rem, 3vw, 2.6rem);
  align-items: center;
  justify-content: center;
  padding-block: clamp(.95rem, 2.4vw, 1.3rem);
}
.seam-band__item {
  display: flex;
  align-items: center;
  gap: .6em;
  font-family: var(--label);
  font-weight: 600;
  font-size: clamp(.79rem, .74rem + .3vw, .95rem);
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--label-fg);
  line-height: 1.2;
}
.seam-band__item svg { width: 17px; height: 17px; flex: none; color: var(--red-hi); }

/* ==========================================================================
   section furniture
   ========================================================================== */

.sec { position: relative; padding-block: clamp(3.4rem, 8.5vw, 7.5rem); }
.sec--paper { background: var(--paper); color: #16202A; }
.sec--paper h1, .sec--paper h2, .sec--paper h3 { color: #0B1B28; }
.sec--ink-2 { background: var(--ink-2); }

.sec__head {
  display: grid;
  gap: clamp(.8rem, 2vw, 1.15rem);
  max-width: 68ch;
  margin-bottom: clamp(2rem, 4.5vw, 3.4rem);
}
.sec__head h2 { font-size: clamp(1.95rem, 1.2rem + 3.3vw, 3.6rem); }
.sec__head p {
  color: var(--fog);
  font-size: clamp(1rem, .97rem + .2vw, 1.12rem);
  max-width: 56ch;
}
.sec--paper .sec__head p { color: #4A555F; }

.sec__head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: clamp(1rem, 3vw, 2.5rem); }
.sec__head--split > div { display: grid; gap: clamp(.7rem, 1.6vw, 1rem); max-width: 62ch; }
@media (max-width: 780px) { .sec__head--split { grid-template-columns: 1fr; align-items: start; } }

/* roof-pitch chevron rule, from the logo's gable */
.pitch-rule {
  height: 8px;
  background-image: repeating-linear-gradient(115deg,
    var(--red) 0 3px, transparent 3px 11px);
  opacity: .6;
}

/* ==========================================================================
   services
   ========================================================================== */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  gap: clamp(.85rem, 1.8vw, 1.3rem);
}

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .28s ease, transform .28s ease, background .28s ease;
}
.svc::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .34s cubic-bezier(.2,.8,.2,1);
}
.svc:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--ink-4); }
.svc:hover::before { transform: scaleY(1); }

.svc__ico {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(196,39,56,.13);
  color: var(--red-hi);
  flex: none;
}
.svc__ico svg { width: 21px; height: 21px; }
.svc h3 { font-size: clamp(1.28rem, 1.1rem + .7vw, 1.62rem); letter-spacing: 0; }
.svc p { color: var(--fog); font-size: .99rem; line-height: 1.58; }

.svc__list {
  list-style: none;
  margin: .2rem 0 0;
  padding: 0;
  display: grid;
  gap: .38rem;
  font-family: var(--label);
  font-size: .93rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8CA0B1;
}
.svc__list li { display: flex; gap: .55em; align-items: flex-start; }
.svc__list li::before {          /* star bullet, lifted from the logo */
  content: "";
  width: 9px; height: 9px;
  margin-top: .42em;
  background: var(--navy-hi);
  clip-path: var(--star);
  flex: none;
}

.svc__note {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--label);
  font-size: .87rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red-hi);
  display: inline-flex;
  align-items: center;
  gap: .45em;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, gap .2s ease;
}
.svc__note:hover { border-color: var(--red); gap: .8em; }

/* free-estimate strip under the grid */
.quote-note {
  margin-top: clamp(1.2rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(.8rem, 2.4vw, 1.6rem);
  padding: clamp(1.15rem, 2.6vw, 1.7rem) clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(100deg, rgba(196,39,56,.16), rgba(5,82,126,.12));
  border: 1px solid rgba(196,39,56,.34);
  border-radius: var(--r);
}
.quote-note p { font-size: 1.02rem; color: var(--paper); flex: 1 1 22ch; min-width: 0; }
.quote-note strong { color: #fff; }

/* ==========================================================================
   gallery — real Google Business Profile photos
   ========================================================================== */

/* Explicit column counts rather than auto-fit: the nine photos tile exactly into
   1 and 3 columns, so desktop gets a clean 3x3 block instead of auto-fit's
   4 + 4 + 1 with a lone orphan on the last row. */
.gal {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(.5rem, 1.2vw, .85rem);
}
@media (min-width: 620px)  { .gal { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gal { grid-template-columns: repeat(3, 1fr); } }
/* at two columns the ninth would sit alone, so it takes the whole row */
@media (min-width: 620px) and (max-width: 1039.98px) {
  .gal figure:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
.gal figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--ink-3);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}
.gal figure picture { display: block; width: 100%; height: 100%; }
.gal figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .5s ease;
  filter: saturate(.85) contrast(1.03);
}
.gal figure:hover img { transform: scale(1.055); filter: saturate(1) contrast(1.05); }
.gal figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.6rem .95rem .8rem;
  font-family: var(--label);
  font-size: .87rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(5,14,24,.94), transparent);
  line-height: 1.3;
}
.gal-note {
  margin-top: clamp(1rem, 2.4vw, 1.5rem);
  font-family: var(--label);
  font-size: .87rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fog-2);
  display: flex;
  align-items: center;
  gap: .6em;
}
.gal-note svg { width: 15px; height: 15px; flex: none; color: var(--red-hi); }

/* ==========================================================================
   stats
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.stat {
  background: var(--ink-2);
  padding: clamp(1.4rem, 3.2vw, 2.3rem) clamp(1.1rem, 2.4vw, 1.7rem);
  display: grid;
  gap: .35rem;
  align-content: start;
}
.stat__n {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.3rem, 1.4rem + 4vw, 3.9rem);
  line-height: .88;
  color: #fff;
  letter-spacing: -.02em;
}
.stat__n .accent { color: var(--red-hi); font-size: .5em; vertical-align: .34em; margin-left: .05em; }
.stat__l {
  font-family: var(--label);
  font-size: .87rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--fog);
  line-height: 1.35;
}

/* ==========================================================================
   proof / review
   ========================================================================== */

.proof-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(.9rem, 2.4vw, 1.6rem);
  align-items: stretch;
}
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr; } }

/* one real testimonial, given the room it deserves rather than padded out
   with filler cards — see README: they have almost no reviews yet */
.pull {
  position: relative;
  padding: clamp(1.6rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid var(--paper-3);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  box-shadow: 0 22px 44px -34px rgba(6,19,32,.55);
}
.pull__stars { display: flex; gap: 3px; color: var(--gold); }
.pull__stars svg { width: 20px; height: 20px; }
.pull blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 1.1rem + 3.4vw, 3.1rem);
  line-height: .96;
  color: #0B1B28;
  letter-spacing: -.01em;
}
.pull footer { margin-top: auto; display: flex; align-items: center; gap: .8rem; }
.pull__av {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  flex: none;
  line-height: 1;
}
.pull__who {
  font-family: var(--label);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #0B1B28;
  line-height: 1.25;
}
.pull__src {
  font-family: var(--label);
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #77838C;
  line-height: 1.25;
}

/* their own words, straight off their Google listing */
.creed {
  padding: clamp(1.5rem, 3.4vw, 2.4rem);
  background: var(--navy);
  border-radius: var(--r);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: clamp(.9rem, 2vw, 1.3rem);
  position: relative;
  overflow: hidden;
}
.creed::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg,
    rgba(255,255,255,.06) 0 3px, transparent 3px 14px);
  pointer-events: none;
}
.creed .eyebrow { color: rgba(255,255,255,.86); position: relative; }
.creed .eyebrow::before { background: #fff; }
.creed p { position: relative; color: rgba(255,255,255,.88); font-size: 1rem; line-height: 1.55; }
/* Two classes deep on purpose: `.creed p` above is (0,1,1) and would otherwise
   beat a bare `.creed__words` (0,1,0) and shrink this to body size. */
.creed .creed__words {
  position: relative;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.2rem);
  line-height: .92;
  letter-spacing: -.01em;
  color: #fff;
}
.creed .creed__words span { display: block; }
.creed .creed__words span:nth-child(2) { color: #FFC2C9; }
.creed cite {
  position: relative;
  margin-top: auto;
  font-family: var(--label);
  font-style: normal;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ==========================================================================
   reach / service area
   ========================================================================== */

.visit {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.2rem, 3.5vw, 3.2rem);
  align-items: start;
}
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }

.info-list { display: grid; gap: clamp(.9rem, 2vw, 1.35rem); }
.info { display: flex; gap: .95rem; align-items: flex-start; }
.info__ico {
  width: 38px; height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--red-hi);
  background: rgba(196,39,56,.11);
}
.info__ico svg { width: 18px; height: 18px; }
.info > div { min-width: 0; }
.info__k {
  font-family: var(--label);
  font-size: .8rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--fog-2);
  line-height: 1.4;
}
.info__v { font-size: 1.06rem; color: var(--paper); font-weight: 500; line-height: 1.45; }
.info__v a { border-bottom: 1px solid var(--line-2); transition: border-color .2s ease, color .2s ease; }
.info__v a:hover { color: #fff; border-color: var(--red); }
.info__v small { display: block; color: var(--fog-2); font-size: .92rem; font-weight: 400; }

.area-card {
  padding: clamp(1.3rem, 3vw, 2.1rem);
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: grid;
  gap: clamp(.9rem, 2vw, 1.25rem);
}
.area-card h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.area-card p { color: var(--fog); font-size: .99rem; }
.areas { display: flex; flex-wrap: wrap; gap: .4rem; }
.areas span {
  font-family: var(--label);
  font-size: .88rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .34em .75em;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--label-fg);
  background: var(--ink-2);
  line-height: 1.3;
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--label);
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-hi);
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: border-color .2s ease, gap .2s ease;
}
.map-link:hover { border-color: var(--red); gap: .8em; }
.map-link svg { width: 15px; height: 15px; flex: none; }

/* ==========================================================================
   final CTA
   ========================================================================== */

.cta {
  position: relative;
  overflow-x: clip;
  background: linear-gradient(118deg, var(--red-lo) 0%, var(--red) 52%, #8E1B29 100%);
  color: #fff;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg,
    rgba(0,0,0,.12) 0 3px, transparent 3px 16px);
  pointer-events: none;
}
.cta__in {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(1rem, 2.6vw, 1.7rem);
  max-width: 66ch;
  margin-inline: auto;
}
.cta h2 { font-size: clamp(2.1rem, 1.3rem + 4.2vw, 4.1rem); color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.cta p { font-size: clamp(1.03rem, 1rem + .3vw, 1.2rem); color: rgba(255,255,255,.94); }
.cta__row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.cta .btn--ghost { --_fg: #fff; border-color: rgba(255,255,255,.55); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ==========================================================================
   footer
   ========================================================================== */

.foot { background: var(--ink); border-top: 1px solid var(--line); padding-block: clamp(2.6rem, 5vw, 4rem) clamp(1.4rem, 2.6vw, 2rem); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.5rem); }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

.foot__brand { display: grid; gap: .9rem; align-content: start; max-width: 40ch; }
.foot__brand img {
  width: 62px;
  height: auto;
  background: #F8FCFF;
  border-radius: var(--r);
  padding: 4px;
}
.foot__brand p { color: var(--fog-2); font-size: .99rem; }
.foot h4 { font-size: 1.05rem; letter-spacing: .12em; color: var(--paper); margin-bottom: .95rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot ul a, .foot ul span {
  font-family: var(--label);
  font-size: .97rem;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--fog);
  transition: color .2s ease;
}
.foot ul a:hover { color: #fff; }

.socials { display: flex; gap: .5rem; margin-top: .3rem; }
.socials a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--fog);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.socials a:hover { color: #fff; border-color: var(--red); background: rgba(196,39,56,.18); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.foot__bar {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--label);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fog-2);
}

/* ==========================================================================
   contact page
   ========================================================================== */

.page-head {
  position: relative;
  overflow-x: clip;
  padding-block: clamp(2.6rem, 6vw, 4.6rem) clamp(2rem, 4vw, 3rem);
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.page-head::after { content: ""; position: absolute; inset: 0; background-image: var(--seam); pointer-events: none; }
/* inner measure element — goes inside a .wrap, not alongside it (see .hero__in) */
.page-head__in { position: relative; display: grid; gap: clamp(.9rem, 2vw, 1.3rem); max-width: 64ch; }
.page-head h1 { font-size: clamp(2.2rem, 1.4rem + 3.8vw, 4rem); }
.page-head p { color: var(--fog); font-size: clamp(1.02rem, 1rem + .25vw, 1.16rem); }
/* the defensive base sets overflow-wrap:anywhere, which would otherwise split a
   phone number across two lines mid-digits */
.tel-inline { color: #fff; white-space: nowrap; border-bottom: 1px solid var(--red); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3.4rem);
  align-items: start;
}
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  padding: clamp(1.3rem, 3vw, 2.3rem);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.form-card > .eyebrow { margin-bottom: .9rem; }
.form-card h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.4rem); margin-bottom: .6rem; }
.form-card > p { color: var(--fog); margin-bottom: clamp(1.3rem, 3vw, 1.9rem); max-width: 48ch; }

#estimate-form { display: grid; gap: clamp(.85rem, 2vw, 1.15rem); }
.field { display: grid; gap: .42rem; }
.field label {
  font-family: var(--label);
  font-weight: 600;
  font-size: .87rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--label-fg);
}
.field label .req { color: var(--red-hi); }
.field label small { display: block; font-family: var(--body); font-size: .8rem; letter-spacing: 0; text-transform: none; color: var(--fog-2); font-weight: 400; }
.field input, .field textarea, .field select {
  font-family: var(--body);
  font-size: 1.02rem;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: .78em .9em;
  width: 100%;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  appearance: none;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #56697A; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--red);
  background: #040E18;
  box-shadow: 0 0 0 3px rgba(196,39,56,.2);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: inherit; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.turnstile-box { min-height: 65px; }

.form-status {
  font-family: var(--label);
  font-size: 1rem;
  letter-spacing: .06em;
  padding: .85em 1em;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--ink-3);
  line-height: 1.5;
}
.form-status.ok { border-color: rgba(120,190,140,.5); background: rgba(80,165,110,.14); color: #C6E8D2; }
.form-status.err { border-color: rgba(222,61,78,.55); background: rgba(222,61,78,.14); color: #F6CBD1; }
.form-status a { color: #fff; border-bottom: 1px solid currentColor; }
.form-fine { font-size: .9rem; color: var(--fog-2); line-height: 1.5; }

.reach { display: grid; gap: clamp(.8rem, 2vw, 1.1rem); }
.reach__card {
  display: flex;
  gap: .95rem;
  align-items: flex-start;
  padding: clamp(1.05rem, 2.4vw, 1.45rem);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .24s ease, transform .24s ease, background .24s ease;
}
a.reach__card:hover { border-color: var(--red); transform: translateY(-2px); background: var(--ink-3); }
.reach__card .info__ico { width: 40px; height: 40px; }
.reach__card > div { min-width: 0; }

/* ==========================================================================
   scroll reveal — BELOW THE FOLD ONLY
   Never put the reveal class on the hero or the header: an above-the-fold
   element parked at opacity 0 cannot paint until the main script runs, which
   wrecks mobile LCP.
   NOTE: keep dotted tokens out of this comment. The LCP guard treats the text
   preceding a rule as part of its selector, so anything written here as a
   dot-prefixed word gets harvested and stripped off real elements.
   ========================================================================== */

.rise {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s cubic-bezier(.2,.8,.2,1), transform .72s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.rise.in { opacity: 1; transform: none; }
.rise.d1 { transition-delay: .07s; }
.rise.d2 { transition-delay: .14s; }
.rise.d3 { transition-delay: .21s; }
.rise.d4 { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
