/* ==========================================================================
   Grace 4 U Inc — design system
   Direction: Midwest craftsman-trust, veteran owned. Navy ground, white
   paper, flag red hardware. Motif: the seam (red drip-edge hairline) + gable notch.
   ========================================================================== */

/* ---- tokens ------------------------------------------------------------ */
:root {
  /* color */
  --navy:        #002A62;
  --navy-deep:   #001B41;
  --ink:         #0C1524;
  --red:         #C8102E;   /* flag red — CTAs and accents on light grounds */
  --red-dark:    #9A0B23;   /* hover / small type on light grounds */
  --red-lt:      #FF5A62;   /* the same accent, legible on navy and ink */
  --red-ink:     #FFFFFF;   /* type that sits on a red fill */
  --paper:       #F2F4F8;
  --paper-warm:  #E5EAF2;
  --white:       #FFFFFF;
  --body-paper:  #2B3444;
  --body-white:  #1D2635;
  --muted:       #4A5566;
  --rule:        #D3DBE6;
  --rule-navy:   rgba(255,255,255,.16);

  /* type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Figtree", "Avenir Next", "Segoe UI", sans-serif;

  --step--1: clamp(.83rem, .8rem + .12vw, .9rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.115rem);
  --step-1:  clamp(1.28rem, 1.2rem + .38vw, 1.5rem);
  --step-2:  clamp(1.64rem, 1.48rem + .72vw, 2.1rem);
  --step-3:  clamp(2.1rem, 1.82rem + 1.3vw, 3rem);
  --step-4:  clamp(2.6rem, 2.05rem + 2.5vw, 4.35rem);
  --step-5:  clamp(3rem, 2.1rem + 4vw, 4.75rem);

  /* space */
  --s1: .35rem; --s2: .65rem; --s3: 1rem;  --s4: 1.5rem;
  --s5: 2.25rem; --s6: 3.25rem; --s7: 4.75rem; --s8: 7rem;

  --wrap: 1210px;
  --wrap-narrow: 830px;
  --nav-h: 76px;

  --radius: 3px;
  --radius-lg: 6px;

  --shadow-1: 0 1px 2px rgba(12,21,36,.07), 0 3px 10px -4px rgba(12,21,36,.13);
  --shadow-2: 0 2px 4px rgba(12,21,36,.08), 0 14px 34px -14px rgba(12,21,36,.30);
  --shadow-3: 0 4px 8px rgba(12,21,36,.10), 0 30px 60px -24px rgba(12,21,36,.42);

  --ease: cubic-bezier(.22, 1, .36, 1);

  /* z */
  --z-drop: 60; --z-sticky: 70; --z-bar: 80; --z-modal: 90;
}

/* ---- reset-ish --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--body-white);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
  margin: 0 0 var(--s3);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
p { margin: 0 0 var(--s4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 var(--s4); padding-left: 1.15rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s3); top: -100px; z-index: var(--z-modal);
  background: var(--red); color: var(--red-ink); padding: .7rem 1.1rem;
  font-weight: 700; border-radius: var(--radius); transition: top .18s var(--ease);
}
.skip:focus { top: var(--s3); }

/* ---- layout primitives ------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
@media (max-width: 620px) { .wrap, .wrap-narrow { width: calc(100% - 2rem); } }

section { position: relative; }
.band       { padding-block: var(--s8); }
.band-tight { padding-block: var(--s7); }
.band-navy  { background: var(--navy); color: #EAF0F8; }
.band-navy h1, .band-navy h2, .band-navy h3 { color: #fff; }
.band-ink   { background: var(--ink); color: #DCE3EE; }
.band-paper { background: var(--paper); color: var(--body-paper); }
.band-paper h2, .band-paper h3 { color: var(--navy); }
.band-white h2, .band-white h3 { color: var(--navy); }

/* gable notch — the motif. Shallow roof-pitch cut between bands. */
.notch-top    { clip-path: polygon(0 2.1vw, 50% 0, 100% 2.1vw, 100% 100%, 0 100%); margin-top: -2.1vw; }
.notch-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.1vw), 50% 100%, 0 calc(100% - 2.1vw)); padding-bottom: calc(var(--s8) + 2.1vw); }
@media (max-width: 700px) { .notch-top, .notch-bottom { clip-path: none; margin-top: 0; } }

/* the seam — red drip-edge hairline */
.eyebrow {
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .015em;
  color: var(--red-dark);
  margin: 0 0 var(--s2);
  display: inline-block;
  padding-bottom: .45rem;
  border-bottom: 2px solid var(--red);
}
.band-navy .eyebrow, .band-ink .eyebrow { color: var(--red-lt); border-bottom-color: var(--red-lt); }

.section-head { max-width: 46rem; margin-bottom: var(--s6); }
.section-head p { font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
.band-navy .section-head p, .band-ink .section-head p { color: #B9C7DC; }
.band-paper .section-head p { color: var(--body-paper); }

.lede { font-size: var(--step-1); line-height: 1.52; }

/* ---- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body); font-weight: 700; font-size: 1.02rem;
  padding: .95rem 1.6rem; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .16s var(--ease), background-color .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease);
  will-change: transform;
}
.btn svg { flex: none; }
.btn-cta { background: var(--red); color: var(--red-ink); box-shadow: var(--shadow-1); }
.btn-cta:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-cta:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.10); border-color: #fff; transform: translateY(-2px); }
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-line { background: transparent; color: var(--navy); border-color: rgba(0,42,98,.35); }
.btn-line:hover { border-color: var(--navy); background: rgba(0,42,98,.05); transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

.linky {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
  transition: gap .18s var(--ease), color .18s var(--ease);
}
.linky:hover { gap: .8rem; color: var(--red-dark); }
.band-navy .linky, .band-ink .linky { color: #fff; }
.band-navy .linky:hover, .band-ink .linky:hover { color: var(--red-lt); }
.band-navy .linky, .band-ink .linky { border-bottom-color: var(--red-lt); }

/* ---- header ------------------------------------------------------------ */
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

.site-head {
  position: sticky; top: 0; z-index: var(--z-sticky);
  height: var(--nav-h);              /* FIXED — never changes on scroll */
  background: rgba(0,42,98,.97);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-head::after {                  /* the seam, revealed on scroll */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red-lt); opacity: 0; transition: opacity .25s var(--ease);
}
.site-head.scrolled { background: rgba(0,27,65,.985); box-shadow: 0 8px 28px -12px rgba(12,21,36,.6); }
.site-head.scrolled::after { opacity: 1; }
.site-head.scrolled .brand-mark { transform: scale(.88); }   /* transform only */

.head-inner {
  height: 100%; display: flex; align-items: center; gap: var(--s4);
  width: min(100% - 2.5rem, 1320px); margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark { height: 46px; width: auto; transform-origin: left center; transition: transform .25s var(--ease); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt b { font-family: var(--display); font-size: 1.22rem; color: #fff; font-weight: 600; letter-spacing: -.02em; }
.brand-txt span { font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: #9FB6D4; font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.main-nav > li { position: relative; }
.main-nav a, .nav-trigger {
  display: flex; align-items: center; gap: .3rem;
  padding: .6rem .72rem; font-size: .95rem; font-weight: 600;
  color: #DEE7F3; text-decoration: none; background: none; border: 0; cursor: pointer;
  border-radius: var(--radius); transition: color .16s var(--ease), background-color .16s var(--ease);
}
.main-nav a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.10); }
.chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease); }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(-135deg) translateY(-2px); }

.drop-menu {
  position: absolute; top: 100%; left: 0;   /* FLUSH — no dead hover gap */
  margin: 0; padding: .55rem; padding-top: .75rem;
  list-style: none; min-width: 268px;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3); border-top: 3px solid var(--red);
  z-index: var(--z-drop);
}
.drop-menu[hidden] { display: none; }
.drop-menu.wide { min-width: 560px; columns: 2; column-gap: .4rem; }
.drop-menu li { break-inside: avoid; }

/* Services menu — the four trades, in the order the logo says them */
.drop-menu.grouped {
  columns: auto; min-width: 620px;
  grid-template-columns: 1fr 1fr; gap: .2rem 1rem; padding: .85rem .8rem 1rem;
}
/* `display` only ever set on the open state — a bare `display: grid` here would
   outrank `.drop-menu[hidden]` and the panel could never close. */
.drop-menu.grouped:not([hidden]) { display: grid; }
.drop-menu.grouped ul { list-style: none; margin: 0; padding: 0; }
.drop-grp { margin-bottom: .55rem; }
.grp-ttl {
  display: block; font-family: var(--body); font-size: .68rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; color: var(--red-dark);
  padding: .1rem .7rem .3rem; border-bottom: 1px solid var(--rule); margin-bottom: .3rem;
}
.drop-menu a {
  color: var(--body-white); padding: .5rem .7rem; border-radius: var(--radius);
  font-weight: 600; font-size: .92rem;
}
.drop-menu a:hover { background: var(--paper); color: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .has-drop:hover .drop-menu { display: block; }
  .has-drop:hover .drop-menu.grouped { display: grid; }
}

/* nav hover preview (explore layer #4) */
.nav-peek {
  position: absolute; top: 100%; left: 0; margin-top: 0; padding-top: .7rem;
  width: 300px; z-index: var(--z-drop);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-peek-in {
  background: #fff; color: var(--body-white); border-radius: var(--radius-lg);
  border-top: 3px solid var(--red); box-shadow: var(--shadow-3); padding: 1rem 1.1rem;
}
.nav-peek b { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--navy); margin-bottom: .2rem; }
.nav-peek span { font-size: .87rem; line-height: 1.45; color: var(--muted); display: block; }
@media (hover: hover) and (pointer: fine) {
  .has-peek:hover .nav-peek { opacity: 1; visibility: visible; transform: translateY(0); }
}
@media (max-width: 1080px) { .nav-peek { display: none; } }

.head-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #fff; text-decoration: none; font-weight: 800; font-size: 1.06rem;
  padding: .5rem .3rem; white-space: nowrap;
  transition: color .16s var(--ease);
}
.head-phone:hover { color: var(--red-lt); }
.head-phone .ico { color: var(--red-lt); }

.burger {
  display: none; background: none; border: 0; padding: .55rem; cursor: pointer;
  width: 44px; height: 44px; border-radius: var(--radius);
}
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px;
               transition: transform .25s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  :root { --nav-h: 64px; }
  .brand-mark { height: 38px; }
  .brand-txt span { display: none; }
  .burger { display: block; }
  .head-phone span.num { display: none; }
  .main-nav {
    position: fixed; inset: var(--nav-h) 0 0 auto; width: min(400px, 88vw);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); padding: var(--s3) var(--s3) var(--s7);
    overflow-y: auto; box-shadow: -20px 0 50px -20px rgba(0,0,0,.6);
    transform: translateX(100%); transition: transform .3s var(--ease);
    z-index: var(--z-sticky);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > li { border-bottom: 1px solid var(--rule-navy); }
  .main-nav a, .nav-trigger { padding: .95rem .6rem; font-size: 1.02rem; width: 100%; }
  .nav-trigger { justify-content: space-between; }
  .drop-menu {
    position: static; box-shadow: none; border-top: 0; border-left: 2px solid var(--red-lt);
    background: transparent; border-radius: 0; min-width: 0; margin: 0 0 .6rem .6rem; padding: .2rem 0 .2rem .7rem;
  }
  .drop-menu.wide { columns: 1; min-width: 0; }
  .drop-menu.grouped { min-width: 0; padding: .2rem 0 .2rem .7rem; }
  .drop-menu.grouped:not([hidden]),
  .has-drop:hover .drop-menu.grouped { display: block; }
  .grp-ttl { color: #8FA9C9; border-bottom-color: var(--rule-navy); padding-left: 0; }
  .drop-menu a { color: #C9D6E8; }
  .drop-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
}

/* mobile sticky bottom bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: none; grid-template-columns: 1fr 1fr 1fr;
  background: var(--navy-deep); border-top: 2px solid var(--red-lt);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .12rem;
  padding: .6rem .3rem; color: #fff; text-decoration: none; font-size: .74rem; font-weight: 700;
  letter-spacing: .02em; border-right: 1px solid var(--rule-navy);
}
.mobile-bar a:last-child { border-right: 0; }
.mobile-bar a.hot { background: var(--red); color: var(--red-ink); }
@media (max-width: 860px) { .mobile-bar { display: grid; } body { padding-bottom: 62px; } }

/* ---- HOME hero (full-bleed photo + scrim + offset card) ---------------- */
.hero-home { position: relative; background: var(--ink); color: #fff; isolation: isolate; }
.hero-home .hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-home .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-home::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(103deg, rgba(0,21,52,.95) 0%, rgba(0,27,65,.86) 42%, rgba(0,27,65,.42) 74%, rgba(0,27,65,.30) 100%),
    linear-gradient(0deg, rgba(6,14,28,.6) 0%, rgba(6,14,28,0) 45%);
}
.hero-home-in { padding-block: clamp(4rem, 9vw, 8rem) clamp(6rem, 11vw, 9.5rem); max-width: 43rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--step--1); font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #FFD7DA; background: rgba(255,90,98,.16); border: 1px solid rgba(255,90,98,.42);
  padding: .42rem .8rem; border-radius: 100px; margin-bottom: var(--s4);
}
.hero-home h1 { font-size: var(--step-5); color: #fff; margin-bottom: var(--s4); }
/* display-size type, so it can carry a deeper red than the small accents
   and still clear contrast against the hero scrim */
.hero-home h1 em { font-style: normal; color: #FF3B48; }
.hero-sub { font-size: var(--step-1); color: #D3DEEE; max-width: 34rem; margin-bottom: var(--s5); line-height: 1.48; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem var(--s4); margin-top: var(--s5); list-style: none; padding: 0; }
.hero-chips li { display: flex; align-items: center; gap: .45rem; font-size: .93rem; font-weight: 600; color: #C6D5E9; }
.hero-chips svg { color: var(--red-lt); flex: none; }

.hero-card {
  position: relative; margin-top: -4.5rem; margin-bottom: var(--s7); z-index: 3;
  background: #fff; color: var(--body-white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3); border-top: 3px solid var(--red);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-card > div { padding: 1.5rem 1.4rem; border-right: 1px solid var(--rule); }
.hero-card > div:last-child { border-right: 0; }
.hero-card b { display: block; font-family: var(--display); font-size: 2.15rem; color: var(--navy); line-height: 1; margin-bottom: .35rem; font-weight: 700; }
.hero-card b .count { font: inherit; color: inherit; }
.hero-card > div > span { font-size: .87rem; color: var(--muted); font-weight: 600; line-height: 1.35; display: block; }
@media (max-width: 900px) { .hero-card { grid-template-columns: 1fr 1fr; margin-top: -3rem; } .hero-card > div:nth-child(2) { border-right: 0; } .hero-card > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } }
@media (max-width: 460px) { .hero-card { grid-template-columns: 1fr; } .hero-card > div { border-right: 0; border-bottom: 1px solid var(--rule); } }

/* ---- trust bar --------------------------------------------------------- */
.trustbar { background: var(--paper-warm); border-bottom: 1px solid var(--rule); }
.trustbar ul {
  list-style: none; margin: 0; padding: var(--s4) 0; display: flex; flex-wrap: wrap;
  gap: var(--s3) var(--s5); align-items: center; justify-content: center;
}
.trustbar li { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .94rem; color: var(--navy); }
.trustbar svg { color: var(--red-dark); flex: none; }

/* ---- doorway service cards (explore #1) -------------------------------- */
.silo-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s4); }
.door {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg);
  text-decoration: none; color: inherit; isolation: isolate;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--red); }
.door-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-warm); }
.door-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.door:hover .door-photo img { transform: scale(1.045); }
.door-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.door h3 { font-size: var(--step-1); color: var(--navy); margin-bottom: .5rem; }
.door p { font-size: .96rem; color: var(--muted); margin-bottom: var(--s3); }
.door-peek { margin: 0 0 var(--s3); padding: 0; list-style: none; }
.door-peek li {
  font-size: .87rem; color: var(--body-paper); padding-left: 1.1rem; position: relative;
  margin-bottom: .3rem; line-height: 1.4;
}
.door-peek li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--red); }
.door-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--navy); font-size: .93rem; }
.door-more .arw { transition: transform .2s var(--ease); }
.door:hover .door-more .arw { transform: translateX(5px); }

/* On pointer devices the peek is hidden until hover; on touch it is always shown. */
@media (hover: hover) and (pointer: fine) {
  .door-peek {
    display: grid; grid-template-rows: 0fr; opacity: 0; margin-bottom: 0;
    transition: grid-template-rows .3s var(--ease), opacity .25s var(--ease), margin-bottom .3s var(--ease);
  }
  .door-peek > .peek-in { overflow: hidden; }
  .door:hover .door-peek, .door:focus-within .door-peek { grid-template-rows: 1fr; opacity: 1; margin-bottom: var(--s3); }
}
.door.lg { grid-column: span 6; }
.door.sm { grid-column: span 3; }
.door.sm .door-photo { aspect-ratio: 16 / 9; }
.door.sm h3 { font-size: 1.16rem; }
@media (max-width: 1000px) { .door.lg { grid-column: span 6; } .door.sm { grid-column: span 6; } }
@media (max-width: 660px) { .door.lg, .door.sm { grid-column: span 12; } }

/* ---- split (why-us, about teaser) -------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s7); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s5); } .split.reverse > :first-child { order: 0; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-2); width: 100%; }
.split-media .tag {
  position: absolute; bottom: 1rem; left: 1rem; background: var(--navy); color: #fff;
  padding: .55rem .95rem; border-radius: var(--radius); font-size: .84rem; font-weight: 700;
  border-left: 3px solid var(--red-lt);
}

.reasons { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s4); }
.reasons li { display: grid; grid-template-columns: 42px 1fr; gap: var(--s3); align-items: start; }
.reasons .ic {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(200,16,46,.10); border-radius: 50%; color: var(--red-dark);
}
.band-navy .reasons .ic, .band-ink .reasons .ic { background: rgba(255,90,98,.18); color: var(--red-lt); }
.reasons b { display: block; font-family: var(--display); font-size: 1.14rem; margin-bottom: .18rem; }
.reasons p { font-size: .96rem; margin: 0; color: var(--muted); }
.band-navy .reasons p, .band-ink .reasons p { color: #AFC1D9; }
.band-paper .reasons p { color: var(--body-paper); }

/* ---- process rail (home only) ------------------------------------------ */
.rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: var(--s6); }
.rail li { list-style: none; padding: var(--s5) var(--s4) var(--s5) 0; border-top: 2px solid var(--rule-navy); position: relative; }
.rail li::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 2px; background: var(--red-lt);
  transition: width .7s var(--ease);
}
.rail.in li::before { width: 100%; }
.rail li:nth-child(2)::before { transition-delay: .16s; }
.rail li:nth-child(3)::before { transition-delay: .32s; }
.rail li:nth-child(4)::before { transition-delay: .48s; }
.rail .n { font-family: var(--display); font-size: 1rem; color: var(--red-lt); font-weight: 700; display: block; margin-bottom: .6rem; }
.rail h3 { font-size: 1.24rem; color: #fff; margin-bottom: .45rem; }
.rail p { font-size: .94rem; color: #AFC1D9; margin: 0; }
@media (max-width: 880px) { .rail { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .rail { grid-template-columns: 1fr; } .rail li { padding-right: 0; } }

/* ---- service area ------------------------------------------------------ */
.area-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s6); align-items: start; }
@media (max-width: 900px) { .area-wrap { grid-template-columns: 1fr; } }
.area-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--rule); }
.area-map iframe { display: block; width: 100%; height: 400px; border: 0; }
.city-list { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .1rem .8rem; }
.city-list a {
  display: block; padding: .5rem 0; font-weight: 700; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--rule); transition: color .16s var(--ease), padding-left .16s var(--ease);
}
.city-list a:hover { color: var(--red-dark); padding-left: .35rem; }
.also-serving { font-size: .95rem; color: var(--muted); }
.also-serving b { color: var(--body-paper); }

/* ---- guarantee band ---------------------------------------------------- */
.guarantee { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s5); align-items: center; }
@media (max-width: 860px) { .guarantee { grid-template-columns: 1fr; text-align: left; } }
.guarantee .seal {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--red); color: var(--red); flex: none;
}

/* ---- gallery mosaic (home) --------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: var(--s3); }
.mosaic a { position: relative; overflow: hidden; border-radius: var(--radius); display: block; background: var(--paper-warm); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.mosaic a:hover img { transform: scale(1.06); }
.mosaic a::after {
  content: attr(data-cap); position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .85rem .7rem;
  font-size: .8rem; font-weight: 700; color: #fff;
  background: linear-gradient(0deg, rgba(6,14,28,.85), transparent);
  opacity: 0; transition: opacity .25s var(--ease);
}
.mosaic a:hover::after { opacity: 1; }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
@media (max-width: 800px) { .mosaic .tall { grid-row: span 2; } .mosaic .wide { grid-column: span 2; } }
@media (max-width: 800px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 128px; } }

/* ---- before/after slider (explore #3) ---------------------------------- */
.ba {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  aspect-ratio: 4 / 3; touch-action: pan-y; user-select: none; cursor: ew-resize; background: var(--ink);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after-pane { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .ba-tag {
  position: absolute; top: .85rem; padding: .35rem .7rem; font-size: .72rem; font-weight: 800;
  letter-spacing: .09em; background: rgba(6,14,28,.78); color: #fff; border-radius: 3px;
}
.ba .ba-tag.b { left: .85rem; }
.ba .ba-tag.a { right: .85rem; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: var(--red);
  transform: translateX(-1.5px); pointer-events: none;
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,.45);
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0;
}
.ba-range:focus-visible + .ba-handle::after { outline: 3px solid #fff; outline-offset: 3px; }

/* ---- FAQ accordion ----------------------------------------------------- */
.faq { max-width: 54rem; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4);
  background: none; border: 0; text-align: left; cursor: pointer;
  padding: 1.25rem 0; font-family: var(--display); font-size: 1.2rem; font-weight: 600;
  color: var(--navy); letter-spacing: -.02em; line-height: 1.3;
  transition: color .16s var(--ease);
}
.faq-q:hover { color: var(--red-dark); }
.faq-q .pm { flex: none; width: 22px; height: 22px; position: relative; margin-top: .28rem; }
.faq-q .pm::before, .faq-q .pm::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--red);
  transform: translate(-50%,-50%); transition: transform .28s var(--ease), opacity .28s var(--ease);
}
.faq-q .pm::before { width: 16px; height: 2px; }
.faq-q .pm::after  { width: 2px; height: 16px; }
.faq-q[aria-expanded="true"] .pm::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding-bottom: 1.25rem; color: var(--body-paper); max-width: 46rem; }
.faq-a p:first-child { padding-top: .1rem; }

/* ---- where to next (explore #5) ---------------------------------------- */
.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--s4); }
.next-card {
  display: block; padding: 1.5rem 1.5rem 1.6rem; text-decoration: none; color: inherit;
  background: rgba(255,255,255,.05); border: 1px solid var(--rule-navy); border-radius: var(--radius-lg);
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.next-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.10); border-color: var(--red-lt); }
.next-card .lbl { font-size: .7rem; font-weight: 800; letter-spacing: .11em; color: var(--red-lt); display: block; margin-bottom: .55rem; }
.next-card b { display: block; font-family: var(--display); font-size: 1.24rem; color: #fff; margin-bottom: .35rem; letter-spacing: -.02em; }
.next-card span.d { font-size: .92rem; color: #AFC1D9; display: block; }
.next-card .arw { display: inline-block; margin-top: .8rem; color: var(--red-lt); transition: transform .2s var(--ease); }
.next-card:hover .arw { transform: translateX(6px); }

/* light variant on paper bands */
.band-paper .next-card, .band-white .next-card { background: #fff; border-color: var(--rule); }
.band-paper .next-card b, .band-white .next-card b { color: var(--navy); }
.band-paper .next-card span.d, .band-white .next-card span.d { color: var(--muted); }
.band-paper .next-card .lbl, .band-white .next-card .lbl { color: var(--red-dark); }

/* ---- final CTA + form -------------------------------------------------- */
.cta-final { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
@media (max-width: 940px) { .cta-final { grid-template-columns: 1fr; gap: var(--s5); } }
.form-shell {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-3);
  border-top: 3px solid var(--red); padding: .4rem;
}
.form-shell iframe { display: block; width: 100%; min-height: 1163px; border: 0; border-radius: var(--radius); }
/* ---- booking calendar shell (replaced the lead form site-wide 2026-08-31) --- */
.cal-shell {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-3);
  border-top: 3px solid var(--red); padding: .4rem;
}
.cal-shell iframe { display: block; width: 100%; min-height: 720px; border: 0; border-radius: var(--radius); }
.cta-phone {
  display: inline-flex; align-items: center; gap: .7rem; font-family: var(--display);
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); color: #fff; text-decoration: none;
  font-weight: 600; letter-spacing: -.02em; transition: color .18s var(--ease);
}
.cta-phone:hover { color: var(--red-lt); }

/* ---- footer ------------------------------------------------------------ */
.site-foot { background: var(--ink); color: #A9B8CE; border-top: 3px solid var(--red-lt); }
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s6);
  padding-block: var(--s7) var(--s6);
}
@media (max-width: 940px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-family: var(--body); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
                color: var(--red-lt); margin-bottom: var(--s3); font-weight: 800; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: .42rem; }
.foot-grid a { color: #A9B8CE; text-decoration: none; font-size: .93rem; transition: color .16s var(--ease); }
.foot-grid a:hover { color: var(--red-lt); }
.foot-nap { font-style: normal; font-size: .95rem; line-height: 1.75; }
.foot-nap b { color: #fff; font-family: var(--display); font-size: 1.2rem; font-weight: 600; display: block; margin-bottom: .5rem; }
.foot-nap a.tel { color: #fff; font-weight: 800; font-size: 1.08rem; text-decoration: none; }
.foot-nap a.tel:hover { color: var(--red-lt); }
.socials { display: flex; gap: .5rem; margin-top: var(--s3); }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--rule-navy); color: #A9B8CE;
  transition: border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.socials a:hover { border-color: var(--red-lt); color: var(--red-lt); transform: translateY(-2px); }
.foot-legal {
  border-top: 1px solid var(--rule-navy); padding-block: var(--s4);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center;
  font-size: .85rem;
}
.foot-legal a { color: #A9B8CE; }
.foot-legal .dba { margin-right: auto; }

/* ---- SERVICE page ------------------------------------------------------ */
.hero-svc { background: var(--navy); color: #fff; }
.hero-svc-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: var(--s7); align-items: center; padding-block: var(--s7); }
@media (max-width: 940px) { .hero-svc-in { grid-template-columns: 1fr; gap: var(--s5); padding-block: var(--s6); } }
.hero-svc h1 { font-size: var(--step-4); color: #fff; }
.hero-svc .hero-sub { margin-bottom: var(--s5); }
.hero-svc-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-3); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.crumbs { font-size: .85rem; color: #9FB6D4; padding-top: var(--s4); }
.crumbs a { color: #9FB6D4; text-decoration: none; }
.crumbs a:hover { color: var(--red-lt); }
.crumbs span { opacity: .5; margin: 0 .4rem; }

/* sticky anchor rail — service pages only */
.anchor-rail {
  position: sticky; top: var(--nav-h); z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--rule);
}
.anchor-rail ul { display: flex; gap: var(--s5); list-style: none; margin: 0; padding: 0; overflow-x: auto;
                  scrollbar-width: none; -ms-overflow-style: none; }
.anchor-rail ul::-webkit-scrollbar { display: none; }
.anchor-rail a {
  display: block; padding: 1rem .1rem; font-size: .9rem; font-weight: 700; color: var(--muted);
  text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.anchor-rail a:hover, .anchor-rail a.active { color: var(--navy); border-color: var(--red); }

.prose { max-width: 44rem; }
.prose h2 { font-size: var(--step-2); color: var(--navy); margin-top: var(--s6); }
.prose h2:first-child, .svc-aside + h2 { margin-top: 0; }
.prose h3 { font-size: var(--step-1); color: var(--navy); margin-top: var(--s5); }
.prose ul li, .prose ol li { margin-bottom: .5rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { padding-left: 1.5rem; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: 7px; height: 7px; background: var(--red); }

/* materials table — service pages only */
.spec-table { width: 100%; border-collapse: collapse; margin: var(--s5) 0; font-size: .95rem; }
.spec-table caption { text-align: left; font-weight: 700; color: var(--muted); font-size: .88rem; padding-bottom: .6rem; }
.spec-table th, .spec-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec-table thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; border-bottom: 0; }
.spec-table tbody tr:nth-child(even) { background: var(--paper); }
.spec-table td:first-child { font-weight: 700; color: var(--navy); }
.table-scroll { overflow-x: auto; }

.photo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s3); }
.photo-strip figure { margin: 0; }
.photo-strip img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-1); }
.photo-strip figcaption { font-size: .82rem; color: var(--muted); padding-top: .5rem; }

/* ---- CITY page --------------------------------------------------------- */
.hero-city { background: var(--navy); color: #fff; padding-block: var(--s7) var(--s7); position: relative; overflow: hidden; }
.hero-city::before {
  content: ""; position: absolute; right: -6%; top: -30%; width: 46vw; height: 150%;
  background: radial-gradient(circle at 50% 50%, rgba(255,90,98,.15), transparent 62%);
  pointer-events: none;
}
.city-name { font-size: clamp(2.8rem, 1.6rem + 5.4vw, 6rem); color: #fff; line-height: .95; margin-bottom: var(--s3); }
.city-name small { display: block; font-family: var(--body); font-size: clamp(.95rem,.85rem + .4vw,1.2rem);
                   font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--red-lt); margin-bottom: .7rem; }
.city-meta { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); list-style: none; padding: 0; margin: var(--s5) 0 0; }
.city-meta li { display: flex; align-items: center; gap: .5rem; font-size: .95rem; color: #C6D5E9; font-weight: 600; }
.city-meta svg { color: var(--red-lt); flex: none; }

.two-col { columns: 2; column-gap: var(--s6); }
.two-col p { break-inside: avoid; }
@media (max-width: 820px) { .two-col { columns: 1; } }

/* local problem cards — city pages only */
.problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.problems > div { padding: var(--s5) var(--s4) var(--s5) 0; border-bottom: 1px solid var(--rule); }
.problems h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: .5rem; display: flex; align-items: baseline; gap: .6rem; }
.problems h3::before { content: ""; width: 10px; height: 10px; background: var(--red); flex: none; transform: translateY(-1px); }
.problems p { font-size: .95rem; color: var(--body-paper); margin: 0; }

.hood-grid { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.hood-grid li { background: #fff; border: 1px solid var(--rule); padding: .5rem .95rem; border-radius: 100px; font-size: .9rem; font-weight: 600; color: var(--body-paper); }

.local-proof { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s6); align-items: center; }
@media (max-width: 880px) { .local-proof { grid-template-columns: 1fr; } }

/* ---- reviews widget shell ---------------------------------------------- */
.review-shell { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-1); border: 1px solid var(--rule); padding: var(--s4); }
.review-shell iframe { min-height: 460px; width: 100%; border: 0; }
.review-shell { min-height: 300px; }

/* ---- utilities --------------------------------------------------------- */
.center { text-align: center; margin-inline: auto; }
.mt5 { margin-top: var(--s5); } .mt6 { margin-top: var(--s6); } .mt4 { margin-top: var(--s4); }
.mb0 { margin-bottom: 0; }
.count { font-variant-numeric: tabular-nums; }

/* ---- motion: reveals (content visible without JS) ---------------------- */
.js .rv { opacity: 0; transform: translateY(20px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .rv-s > * { opacity: 0; transform: translateY(18px); }
.js .rv-s.in > * { opacity: 1; transform: none; transition: opacity .42s var(--ease), transform .42s var(--ease); }
.js .rv-s.in > *:nth-child(2) { transition-delay: .07s; }
.js .rv-s.in > *:nth-child(3) { transition-delay: .14s; }
.js .rv-s.in > *:nth-child(4) { transition-delay: .21s; }
.js .rv-s.in > *:nth-child(5) { transition-delay: .28s; }
.js .rv-s.in > *:nth-child(6) { transition-delay: .35s; }
.js .rv-s.in > *:nth-child(7) { transition-delay: .42s; }
.js .rv-s.in > *:nth-child(8) { transition-delay: .49s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .js .rv, .js .rv-s > *, .js .rv.in, .js .rv-s.in > * { opacity: 1 !important; transform: none !important; }
  .rail li::before { width: 100% !important; }
}

@media print {
  .site-head, .mobile-bar, .drop-menu, .nav-peek { display: none !important; }
  body { color: #000; }
}

/* ---- service-page contact aside (floated into the prose column) --------- */
/* The contact card. It used to be a sticky float, which is a broken pair:
   text only wraps around a float at its original position, so once the card
   stuck it slid down over the prose. It is now a real second column, so it can
   pin to the top of the viewport without ever covering a line of copy. */
.svc-aside {
  width: 310px;
  margin: 0 0 var(--s5);
  padding: 1.5rem 1.45rem 1.6rem;
  background: var(--paper);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.svc-aside .ttl {
  font-family: var(--display); font-size: 1.24rem; font-weight: 600;
  color: var(--navy); line-height: 1.15; letter-spacing: -.02em; margin-bottom: .55rem;
}
.svc-aside .sub { font-size: .92rem; color: var(--muted); line-height: 1.5; margin-bottom: var(--s3); }
.svc-aside .btn { width: 100%; justify-content: center; margin-bottom: .55rem; padding: .8rem 1rem; font-size: .97rem; }
.svc-aside .creds { list-style: none; padding: 0; margin: var(--s3) 0 0; border-top: 1px solid var(--rule); padding-top: var(--s3); }
.svc-aside .creds li {
  font-size: .84rem; color: var(--body-paper); line-height: 1.4;
  padding-left: 1.15rem; position: relative; margin-bottom: .45rem;
}
.svc-aside .creds li:last-child { margin-bottom: 0; }
.svc-aside .creds li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 7px; height: 7px; background: var(--red);
}
@media (max-width: 1100px) {
  .svc-aside { width: auto; margin: 0 0 var(--s5); }
  .svc-aside .btn { width: auto; }
}

/* service prose widens to sit alongside the aside */
.page-service .prose { max-width: 100%; }
.page-service .prose > h2,
.page-service .prose > h3,
.page-service .prose > p,
.page-service .prose > ul,
.page-service .prose > ol { max-width: 46rem; }

@media (min-width: 1101px) {
  .page-service .prose {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    column-gap: var(--s6);
    align-items: start;
  }
  .page-service .prose > * { grid-column: 1; min-width: 0; max-width: none; padding-right: 0; }
  /* one tall right-hand track the card can pin inside for the whole article */
  .page-service .prose > .svc-aside {
    grid-column: 2;
    grid-row: 1 / span 400;
    align-self: start;
    position: sticky;
    top: calc(var(--nav-h) + 70px);   /* clears the header + the anchor rail */
    margin: 0;
  }
  /* grid items do not collapse margins the way flow siblings do — take the
     preceding block's bottom margin back out so the vertical rhythm holds */
  .page-service .prose > h2 { margin-top: calc(var(--s6) - var(--s4)); }
  .page-service .prose > h3 { margin-top: calc(var(--s5) - var(--s4)); }
  .page-service .prose > h2:first-of-type { margin-top: 0; }
}

/* ---- city hero: tighter crown, visible red wash ------------------------ */
.hero-city { padding-block: var(--s5) var(--s7); }
.hero-city .crumbs { padding-top: 0; margin-bottom: var(--s6); }
.hero-city::before {
  right: -10%; top: -40%; width: 62vw; height: 180%;
  background: radial-gradient(circle at 50% 50%, rgba(255,90,98,.22), rgba(255,90,98,.05) 45%, transparent 68%);
}
.hero-city .hero-sub { margin-bottom: var(--s5); }

/* ---- three pillars (homepage) ------------------------------------------ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; gap: var(--s5); } }
.pillars > div { text-align: center; padding: 0 var(--s3); }
.pillars .pnum {
  width: 64px; height: 64px; margin: 0 auto var(--s3);
  display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: var(--red-lt);
}
.pillars h3 { font-size: var(--step-2); color: var(--navy); margin-bottom: .6rem; }
.pillars p { color: var(--muted); font-size: 1rem; max-width: 24rem; margin-inline: auto; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { display: inline-block; }

/* ---- before / after pair ----------------------------------------------- */
/* one project's matched pair: same camera position, before and after */
.ba-set + .ba-set { margin-top: var(--s7); }
.ba-set > h3 {
  font-family: var(--body); font-size: .78rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red-lt);
  margin-bottom: var(--s3); padding-bottom: .5rem; border-bottom: 1px solid var(--rule-navy);
}
.band-paper .ba-set > h3, .band-white .ba-set > h3 {
  color: var(--red-dark); border-bottom-color: var(--rule);
}
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 780px) { .ba-pair { grid-template-columns: 1fr; } }
.ba-pair figure { margin: 0; }
.ba-pair img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  aspect-ratio: 4/3; object-fit: cover;
}
.ba-pair figcaption {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  padding-top: var(--s3); font-size: .95rem; color: #B9C7DC;
}
.ba-lbl {
  font-size: .7rem; font-weight: 800; letter-spacing: .11em;
  padding: .3rem .65rem; border-radius: 3px;
  background: rgba(255,255,255,.14); color: #fff;
}
.ba-lbl.after { background: var(--red); color: var(--red-ink); }

/* ---- warranty cards ---------------------------------------------------- */
.warranty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
@media (max-width: 940px) { .warranty-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .warranty-grid { grid-template-columns: 1fr; } }
.wcard {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.6rem; border-top: 3px solid var(--navy);
}
.wcard.hot { border-top-color: var(--red); }
.wcard .wnum {
  display: block; font-family: var(--display); font-size: 1.75rem; font-weight: 700;
  color: var(--navy); line-height: 1; letter-spacing: -.025em; margin-bottom: .5rem;
}
.wcard.hot .wnum { color: var(--red-dark); font-size: 1.45rem; }
.wcard h3 { font-family: var(--body); font-size: .8rem; font-weight: 800; letter-spacing: .1em;
            text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.wcard p { font-size: .93rem; color: var(--body-paper); margin: 0; line-height: 1.5; }
.wcard a { color: var(--navy); font-weight: 700; }

.pay-band {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s5); align-items: center;
  background: #fff; border-left: 3px solid var(--red); border-radius: var(--radius-lg);
  padding: var(--s5); box-shadow: var(--shadow-1);
}
@media (max-width: 860px) { .pay-band { grid-template-columns: 1fr; } }
.pay-band h3 { font-size: var(--step-1); color: var(--navy); }
.pay-band p { color: var(--body-paper); }

/* ---- 5-step process rail ----------------------------------------------- */
.rail.rail-5 { grid-template-columns: repeat(5, 1fr); }
.rail.rail-5 li:nth-child(5)::before { transition-delay: .64s; }
@media (max-width: 1080px) { .rail.rail-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .rail.rail-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .rail.rail-5 { grid-template-columns: 1fr; } }

/* plain inline link — for runs of several links where .linky would be static */
.plainlink { color: var(--navy); font-weight: 700; text-decoration: underline;
             text-decoration-color: rgba(0,42,98,.3); text-underline-offset: 3px;
             transition: text-decoration-color .16s var(--ease), color .16s var(--ease); }
.plainlink:hover { color: var(--red-dark); text-decoration-color: var(--red); }

/* hero scrim: let the photography carry more of the frame (americashomeplace direction) */
.hero-home::after {
  background:
    linear-gradient(100deg, rgba(0,21,52,.93) 0%, rgba(0,27,65,.80) 34%, rgba(0,27,65,.30) 64%, rgba(0,27,65,.10) 100%),
    linear-gradient(0deg, rgba(6,14,28,.42) 0%, rgba(6,14,28,0) 38%);
}


/* ---- free-estimate calendar pop-up ------------------------------------- */
/* The "Get a Free Estimate" buttons open this instead of scrolling to a band.
   The GHL booking iframe is injected by site.js on first open, so no page pays
   the third-party cost until a visitor actually asks for the calendar. */
.cal-modal {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center; padding: var(--s4);
}
.cal-modal[hidden] { display: none; }
.cal-modal-backdrop {
  position: absolute; inset: 0; background: rgba(12,21,36,.74);
  opacity: 0; transition: opacity .22s var(--ease); cursor: pointer;
}
.cal-modal.is-open .cal-modal-backdrop { opacity: 1; }
.cal-modal-panel {
  position: relative; width: min(780px, 100%); max-height: min(94vh, 1000px);
  display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius-lg); border-top: 3px solid var(--red);
  box-shadow: var(--shadow-3); overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.985);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.cal-modal.is-open .cal-modal-panel { opacity: 1; transform: none; }
.cal-modal-head {
  flex: none; display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--s3); padding: 1.2rem 1.5rem 1rem; border-bottom: 1px solid var(--rule);
}
.cal-modal-head h2 { font-size: var(--step-1); color: var(--navy); margin: .35rem 0 .35rem; }
.cal-modal-head p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.cal-modal-x {
  flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule); background: var(--paper); border-radius: 50%;
  color: var(--navy); cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease);
}
.cal-modal-x:hover { background: var(--red); border-color: var(--red); color: var(--red-ink); }
.cal-modal-body {
  flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; padding: .4rem;
}
.cal-modal-body iframe { display: block; width: 100%; min-height: 700px; border: 0; border-radius: var(--radius); }
.cal-modal-load { padding: 3rem 1rem; text-align: center; color: var(--muted); }
body.modal-open { overflow: hidden; }

@media (max-width: 720px) {
  .cal-modal { padding: 0; align-items: flex-end; }
  .cal-modal-panel { width: 100%; max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .cal-modal-head { padding: 1rem 1rem .85rem; }
  .cal-modal-head p { font-size: .9rem; }
  .cal-modal-body iframe { min-height: 620px; }
}
@media (prefers-reduced-motion: reduce) {
  .cal-modal-panel, .cal-modal-backdrop { transition: none; }
}

/* ---- CTA band booking card (replaces the inline calendar off the contact page) -- */
.cta-book {
  background: rgba(255,255,255,.06); border: 1px solid var(--rule-navy);
  border-top: 3px solid var(--red-lt); border-radius: var(--radius-lg);
  padding: var(--s5); align-self: start;
}
.cta-book .ttl {
  font-family: var(--display); font-size: var(--step-2); color: #fff;
  letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .6rem;
}
.cta-book .sub { color: #B9C7DC; margin: 0 0 var(--s4); }
.cta-book .btn { width: 100%; justify-content: center; }
.cta-book ul { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: .6rem; }
.cta-book li { position: relative; padding-left: 1.7rem; color: #B9C7DC; font-size: .95rem; }
.cta-book li::before {
  content: ""; position: absolute; left: .15rem; top: .38em; width: .72rem; height: .38rem;
  border-left: 2px solid var(--red-lt); border-bottom: 2px solid var(--red-lt);
  transform: rotate(-45deg);
}

/* ---- contact page: calendar gets its own full-width feature band -------- */
.cal-feature .cal-shell { max-width: 900px; margin-inline: auto; }
.cal-feature .cal-alt { text-align: center; margin-top: var(--s4); color: var(--muted); }
.cal-feature .cal-alt a { margin: 0 .2rem; }
.cal-steps {
  list-style: none; margin: 0 auto var(--s5); padding: 0; max-width: 900px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3);
}
.cal-steps li {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 1rem 1.1rem; font-size: .95rem; color: var(--body-paper);
}
.cal-steps b { display: block; font-family: var(--display); color: var(--navy); font-size: 1.05rem; margin-bottom: .2rem; }
@media (max-width: 720px) { .cal-steps { grid-template-columns: 1fr; } }
