/* ==========================================================================
   Renova — core stylesheet
   Palette and type lifted from the Framer build so the rebuild matches.
   ========================================================================== */

:root {
  /* brand */
  --accent:        #55B5FF;
  --accent-hover:  #3AA0F0;
  --accent-pale:   #AAE0FF;
  --navy:          #0B2E5E;

  /* ink + surfaces */
  --ink:           #1E2428;
  --ink-2:         #252D31;
  --ink-3:         #3B4145;
  --body:          #5F6467;
  --body-soft:     #777F82;
  --line:          #E4E7E9;
  --line-soft:     #F0F2F3;
  --surface:       #FFFFFF;
  --surface-alt:   #F7F9FA;

  /* on-dark */
  --on-dark:        rgba(255,255,255,0.92);
  --on-dark-soft:   rgba(255,255,255,0.72);
  --on-dark-faint:  rgba(255,255,255,0.52);
  --on-dark-line:   rgba(255,255,255,0.14);

  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --radius: 6px;
  --radius-lg: 14px;

  --bar-h: 68px;      /* header height */
  --cta-h: 0px;       /* mobile sticky bar height, set in media query */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--cta-h);
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(38px, 6.2vw, 68px); }
h2 { font-size: clamp(30px, 4.4vw, 48px); }
h3 { font-size: 20px; letter-spacing: -0.03em; line-height: 1.25; }

p { margin: 0; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.eyebrow.on-dark { color: var(--accent); }

.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  max-width: 60ch;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--ink); }
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark p { color: var(--on-dark-soft); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  font-family: var(--font);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #06263F; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--on-dark { background: #fff; color: var(--ink); }
.btn--on-dark:hover { background: var(--accent-pale); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
  position: absolute;
  left: 0; right: 0;
}
.site-header.is-transparent .nav-link,
.site-header.is-transparent .brand-name,
.site-header.is-transparent .header-tel { color: #fff; }

.header-inner {
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand svg { flex: none; }
.brand-name {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.brand-name sup { font-size: 8px; vertical-align: super; opacity: .6; margin-left: 1px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .16s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.header-tel svg { flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: inherit;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  padding: calc(var(--bar-h) + 80px) 0 90px;
  background: linear-gradient(180deg, #8FB8D6 0%, #C9D6DC 42%, #6E7B82 100%);
  background-size: cover;
  background-position: center 62%;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,20,28,.44) 0%, rgba(10,20,28,.14) 46%, rgba(10,20,28,.30) 100%);
  z-index: -1;
}
.hero__inner { text-align: center; max-width: 820px; margin: 0 auto; }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.28); }
.hero .eyebrow { color: var(--accent-pale); }
.hero__sub {
  margin: 20px auto 0;
  max-width: 54ch;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 16px rgba(0,0,0,.3);
}
.hero__actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* page hero (interior pages) */
.page-hero {
  background: var(--ink);
  padding: clamp(96px, 12vw, 150px) 0 clamp(56px, 7vw, 84px);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--on-dark-soft); margin-top: 18px; max-width: 56ch; font-size: 17px; }

/* ---------- trust strip ---------- */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.trust__item { background: var(--surface); padding: 30px 26px; }
.trust__item h3 { font-size: 15px; letter-spacing: -0.02em; margin-bottom: 5px; }
.trust__item p { font-size: 13.5px; color: var(--body-soft); line-height: 1.5; }

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--accent-pale);
  color: var(--navy);
  margin-bottom: 8px;
}
.card p { font-size: 15px; line-height: 1.6; flex: 1; }
.card .link-arrow { margin-top: 14px; }

/* ---------- service group (services page) ---------- */
.svc-group { padding-top: 56px; border-top: 1px solid var(--line); margin-top: 56px; }
.svc-group:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.svc-group__head { max-width: 620px; margin-bottom: 34px; }
.svc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.svc {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--surface);
}
.svc h3 { font-size: 17px; }
.svc p { font-size: 14.5px; line-height: 1.55; }
.svc__spec {
  font-size: 12px;
  color: var(--body-soft);
  letter-spacing: 0.01em;
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
  margin-top: 4px;
}
.svc .btn { align-self: flex-start; margin-top: 10px; }

/* anchor offset for sticky header */
.anchor { scroll-margin-top: calc(var(--bar-h) + 20px); }

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; }
.checklist li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 15.5px; color: var(--body);
}
.checklist li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex: none;
  line-height: 1.5;
}
.section--dark .checklist li { color: var(--on-dark-soft); }

.media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #DCE7EE, #B9CBD6);
  aspect-ratio: 4 / 3;
}
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--on-dark-line); }
.step { background: var(--ink); padding: 30px 26px; }
.step__n {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--accent); margin-bottom: 14px;
}
.step h3 { font-size: 17px; color: #fff; margin-bottom: 7px; }
.step p { font-size: 14.5px; color: var(--on-dark-soft); line-height: 1.55; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.shot__img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #E7EDF1, #C6D3DB);
  display: grid;
  place-items: center;
  color: var(--body-soft);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.shot__img img { width: 100%; height: 100%; object-fit: cover; }
.shot__meta { padding: 16px 18px 18px; }
.shot__tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 5px;
}
.shot__meta h3 { font-size: 16px; }
.shot__meta p { font-size: 13.5px; color: var(--body-soft); margin-top: 4px; }

/* ---------- empty state (reviews before you have real ones) ---------- */
.empty-note {
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  text-align: center;
  color: var(--body-soft);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.review {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  background: var(--surface);
  display: flex; flex-direction: column; gap: 14px;
}
.review blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.review footer { font-size: 13px; color: var(--body-soft); }
.review footer strong { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }

/* ---------- financing ---------- */
.finance {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 34px;
  align-items: center;
}
.finance h2 { color: #fff; }
.finance p { color: var(--on-dark-soft); margin-top: 14px; }
.finance__fine { font-size: 12px; color: var(--on-dark-faint); margin-top: 16px; line-height: 1.5; }

/* ---------- form ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--body-soft);
}
.field .req { color: var(--accent); }
.field input, .field textarea, .field select {
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color .16s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 104px; }
.form__fine { font-size: 12px; color: var(--body-soft); line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 38px);
}
.form-card__head { margin-bottom: 22px; }
.form-card__head h3 { font-size: 21px; margin-bottom: 6px; }
.form-card__head p { font-size: 14px; color: var(--body-soft); }

.form-status {
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14.5px;
  display: none;
}
.form-status.is-ok { display: block; background: #E9F7EC; color: #1B5E2A; border: 1px solid #BFE5C8; }
.form-status.is-err { display: block; background: #FDECEC; color: #8A2020; border: 1px solid #F3C4C4; }

/* ---------- contact detail rail ---------- */
.detail-rail { display: grid; gap: 26px; align-content: start; }
.detail {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.detail dt {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--body-soft); margin-bottom: 6px;
}
.detail dd { margin: 0; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; }
.detail dd small { display: block; font-size: 13.5px; color: var(--body-soft); letter-spacing: 0; margin-top: 3px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 0;
  font-size: 16.5px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.02em;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; font-size: 15px; line-height: 1.65; max-width: 66ch; }

/* ---------- cta band ---------- */
.cta-band { background: var(--accent); text-align: center; }
.cta-band h2 { color: #06263F; }
.cta-band p { color: rgba(6,38,63,.78); margin: 14px auto 0; max-width: 52ch; font-size: 16.5px; }
.cta-band .btn { margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-soft); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--on-dark-line);
}
.site-footer .brand-name { color: #fff; }
.footer-col h4 {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { font-size: 14.5px; color: var(--on-dark-soft); transition: color .16s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-blurb { font-size: 14.5px; line-height: 1.6; color: var(--on-dark-soft); margin-top: 16px; max-width: 34ch; }
.footer-bottom {
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  justify-content: space-between;
  font-size: 12.5px; color: var(--on-dark-faint);
}
.footer-bottom a { color: var(--on-dark-faint); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- mobile sticky CTA bar ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: var(--ink);
  border-top: 1px solid var(--on-dark-line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta .btn { flex: 1; padding: 14px 10px; font-size: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .finance { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split .media { order: -1; }
}

@media (max-width: 780px) {
  :root { --cta-h: 74px; }

  .nav {
    position: fixed;
    inset: var(--bar-h) 0 auto 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0,0,0,.10);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
  .nav-link { padding: 14px var(--gutter); border-bottom: 1px solid var(--line-soft); color: var(--ink) !important; }
  .site-header.is-transparent { position: sticky; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line-soft); }
  .site-header.is-transparent .brand-name,
  .site-header.is-transparent .header-tel { color: var(--ink); }

  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-tel span { display: none; }        /* icon-only tap target on small screens */
  .header-tel {
    width: 40px; height: 40px;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink) !important;
  }

  .mobile-cta { display: flex; }
  .hero { min-height: 560px; }
  .form__row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}

@media print {
  .site-header, .mobile-cta, .cta-band { display: none; }
}

/* ==========================================================================
   REFINEMENTS
   Type treatment, full-screen mobile menu, image-led cards, motion.
   Later rules win, so this block intentionally overrides earlier defaults.
   ========================================================================== */

/* ---- eyebrow: the wide-tracked micro-caps label was the weakest thing on
   the page. Now a short rule + sentence-case label, sized to sit under the
   heading rather than shout above it. ---- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--body-soft);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  flex: none;
}
.section-head.center .eyebrow { justify-content: center; }
.hero .eyebrow { justify-content: center; color: rgba(255,255,255,.82); }
.hero .eyebrow::before { background: var(--accent-pale); }
.eyebrow.on-dark, .page-hero .eyebrow, .section--dark .eyebrow { color: var(--on-dark-soft); }

/* tighter, more confident headings */
h1 { font-weight: 500; letter-spacing: -0.052em; }
h2 { font-weight: 500; letter-spacing: -0.045em; }
h3 { font-weight: 500; letter-spacing: -0.032em; }

/* ---- buttons: quieter case, real feedback ---- */
.btn {
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 8px;
  transition: background-color .2s cubic-bezier(.2,.7,.3,1),
              color .2s ease, border-color .2s ease,
              transform .2s cubic-bezier(.2,.7,.3,1),
              box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { box-shadow: 0 8px 22px -8px rgba(85,181,255,.75); }

.link-arrow {
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.link-arrow::after { transition: transform .22s cubic-bezier(.2,.7,.3,1); }

/* ---- header ---- */
.site-header { transition: background-color .3s ease, border-color .3s ease; }
.nav-toggle, .nav-close {
  background: none; border: 0; cursor: pointer; color: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  transition: opacity .18s ease;
}
.nav-toggle:hover, .nav-close:hover { opacity: .6; }

/* ---- desktop nav ---- */
.nav__panel { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__top, .nav__foot { display: none; }
.nav-link__num { display: none; }
.nav-link {
  position: relative;
  text-transform: none;
  letter-spacing: -0.012em;
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.2,.7,.3,1);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--ink); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(12,18,22,.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s ease;
}
.nav-scrim[hidden] { display: none; }
.nav-scrim.is-on { opacity: 1; }

/* ---- image-led service cards ---- */
.card {
  padding: 0;
  overflow: hidden;
  gap: 0;
  border-radius: 16px;
  transition: border-color .28s ease, transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -26px rgba(15,30,45,.45);
}
.card__media {
  position: relative;
  display: block;
  aspect-ratio: 15 / 11;
  overflow: hidden;
  background: linear-gradient(140deg, #DCE7EE 0%, #AEC4D2 55%, #8FA6B5 100%);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card__media img { transform: scale(1.045); }
.card__badge {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 4px 9px;
  border-radius: 5px;
}
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 9px; }
.card__body h3 { font-size: 21px; }
.card__icon { display: none; }

/* ---- service list items ---- */
.svc {
  border-radius: 14px;
  transition: border-color .24s ease, transform .24s cubic-bezier(.2,.7,.3,1), box-shadow .24s ease;
}
.svc:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -26px rgba(15,30,45,.4);
}

/* ---- gallery: image-first, caption over the photo ---- */
.gallery-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.shot {
  position: relative;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
}
.shot__img { aspect-ratio: 4 / 3.2; }
.shot__img img { transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.shot:hover .shot__img img { transform: scale(1.05); }
.shot__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 20px 20px;
  background: linear-gradient(180deg, rgba(12,18,22,0) 0%, rgba(12,18,22,.86) 62%);
  color: #fff;
}
.shot__meta h3 { color: #fff; font-size: 19px; }
.shot__meta p { color: rgba(255,255,255,.74); font-size: 13.5px; }
.shot__tag { color: var(--accent-pale); letter-spacing: 0.02em; text-transform: none; font-size: 12.5px; }

/* ---- media blocks ---- */
.media { border-radius: 16px; }
.media img { transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.media:hover img { transform: scale(1.03); }

/* ---- forms ---- */
.field input, .field textarea, .field select { border-radius: 8px; padding: 13px 15px; }
.field label { text-transform: none; letter-spacing: -0.005em; font-size: 13px; font-weight: 500; }
.form-card { border-radius: 18px; }

.faq summary { transition: color .18s ease; }
.faq summary:hover { color: var(--accent); }
.faq summary::after { transition: transform .22s ease; }

.footer-col h4 { text-transform: none; letter-spacing: -0.005em; font-size: 13px; font-weight: 500; }

/* ---- scroll reveal ----------------------------------------------------
   Applied only when JS confirms IntersectionObserver support, and cleared
   by a timeout regardless, so content is never stranded invisible.
--------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
    transition-delay: calc(var(--d, 0) * 70ms);
  }
  .js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   Mobile: full-screen menu
   ========================================================================== */
@media (max-width: 780px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--ink);
    display: block;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 0;
    transform: none;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .32s cubic-bezier(.2,.7,.3,1), visibility 0s linear .32s;
  }
  .nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity .32s cubic-bezier(.2,.7,.3,1), visibility 0s;
  }

  .nav__panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: 100%;
    padding: 0 22px calc(22px + env(safe-area-inset-bottom));
  }

  .nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--bar-h);
    flex: none;
  }
  .nav__label {
    font-size: 13px;
    color: var(--on-dark-faint);
    letter-spacing: -0.005em;
  }
  .nav-close { color: #fff; padding: 8px; margin-right: -8px; }

  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: 1;
    justify-content: center;
    padding-bottom: 24px;
  }

  .nav-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid var(--on-dark-line);
    color: #fff !important;
    font-size: clamp(28px, 8.4vw, 40px);
    font-weight: 500;
    letter-spacing: -0.048em;
    opacity: 0;
    transform: translateY(14px);
  }
  .nav[data-open="true"] .nav-link {
    opacity: 1;
    transform: none;
    transition: opacity .42s cubic-bezier(.2,.7,.3,1), transform .42s cubic-bezier(.2,.7,.3,1);
    transition-delay: calc(var(--i) * 55ms + 60ms);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] .nav-link__text { color: var(--accent); }
  .nav-link__num {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--on-dark-faint);
  }

  .nav__foot {
    display: grid;
    gap: 14px;
    flex: none;
    padding-top: 20px;
    border-top: 1px solid var(--on-dark-line);
    opacity: 0;
    transform: translateY(14px);
  }
  .nav[data-open="true"] .nav__foot {
    opacity: 1;
    transform: none;
    transition: opacity .42s cubic-bezier(.2,.7,.3,1) .34s,
                transform .42s cubic-bezier(.2,.7,.3,1) .34s;
  }
  .nav__tel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.03em;
  }

  body.nav-open { overflow: hidden; }

  .nav-scrim { display: none !important; }

  .section { padding: 58px 0; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .cards { gap: 16px; }
  .hero { min-height: 76vh; }
}

@media (max-width: 780px) and (prefers-reduced-motion: reduce) {
  .nav-link, .nav__foot { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   PASS 2 — image-led sections, menu fixes, spacing repairs
   ========================================================================== */

/* ---- FIX: the shared .nav-toggle/.nav-close rule was overriding the
   base `display:none`, so the hamburger showed on desktop too. ---- */
.nav-toggle { display: none !important; }
@media (max-width: 780px) { .nav-toggle { display: inline-flex !important; } }

/* ---- FIX: .card padding was zeroed for image cards, which also stripped
   padding from plain text cards. ---- */
.card--plain { padding: 28px 26px 30px; gap: 10px; }
.card--plain h3 { font-size: 20px; }
.card--plain p { font-size: 15px; }

/* ---- mobile menu: light panel ---- */
@media (max-width: 780px) {
  .nav { background: var(--surface); }
  .nav__label { color: var(--body-soft); }
  .nav-close { color: var(--ink); }
  .nav-link {
    color: var(--ink) !important;
    border-bottom: 1px solid var(--line);
  }
  .nav-link[aria-current="page"] .nav-link__text { color: var(--accent); }
  .nav-link__num { color: var(--body-soft); }
  .nav__foot { border-top: 1px solid var(--line); }
  .nav__tel { color: var(--ink); }
}

/* ---- hero: let it own the first screen ---- */
.hero { min-height: 92vh; }
@media (max-width: 780px) { .hero { min-height: 88vh; } }

/* ---- centered section heads ---- */
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Service feature rows (services page)
   ========================================================================== */
.svc-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.4vw, 64px);
  align-items: center;
  margin-bottom: 44px;
}
.svc-feature__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: linear-gradient(140deg, #DCE7EE 0%, #AEC4D2 55%, #7E97A8 100%);
}
.svc-feature__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
}
.svc-feature:hover .svc-feature__media img { transform: scale(1.03); }

.svc-feature__body { display: flex; flex-direction: column; align-items: flex-start; }
.svc-feature__body h2 { margin-bottom: 14px; }
.svc-feature__body .lede { margin-bottom: 26px; }

.svc-feature .eyebrow { gap: 12px; }
.svc-feature .eyebrow .num {
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.svc-feature__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px 34px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-bottom: 28px;
}
.svc-feature__specs h4 {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--accent);
  margin: 0 0 7px;
}
.svc-feature__specs p { font-size: 15px; line-height: 1.55; color: var(--body); }

/* alternate image side down the page */
.svc-group:nth-of-type(even) .svc-feature__media { order: 2; }

@media (max-width: 860px) {
  .svc-feature { grid-template-columns: 1fr; gap: 26px; }
  .svc-feature__media { aspect-ratio: 16 / 10; order: -1 !important; }
}

/* the small cards below a feature row are supporting detail, so quieten them */
.svc-list { gap: 16px; }
.svc { background: var(--surface-alt); border-color: transparent; }
.svc:hover { background: var(--surface); border-color: var(--accent); }

/* ==========================================================================
   Financing band — full-bleed photo, gradient from the left
   ========================================================================== */
.finance-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  padding: clamp(64px, 9vw, 116px) 0;
}
.finance__bg { position: absolute; inset: 0; z-index: -2; }
.finance__bg img { width: 100%; height: 100%; object-fit: cover; }
.finance-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(96deg,
    rgba(14,20,26,.95) 0%,
    rgba(14,20,26,.90) 28%,
    rgba(14,20,26,.55) 58%,
    rgba(14,20,26,.28) 100%);
}
.finance__inner { max-width: var(--wrap); }
.finance__inner .eyebrow { color: var(--accent); }
.finance__inner .eyebrow::before { background: var(--accent); }
.finance__inner h2 { color: #fff; max-width: 16ch; }
.finance__inner > p {
  color: rgba(255,255,255,.82);
  margin-top: 18px;
  max-width: 46ch;
  font-size: 16.5px;
  line-height: 1.6;
}
.finance__inner .btn { margin-top: 30px; }
.finance__fine {
  font-size: 12.5px;
  color: rgba(255,255,255,.52);
  margin-top: 22px;
  max-width: 52ch;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .finance-band::before {
    background: linear-gradient(180deg, rgba(14,20,26,.72) 0%, rgba(14,20,26,.94) 62%);
  }
  .finance__inner h2 { max-width: none; }
}

/* ==========================================================================
   Contact: image info panel
   ========================================================================== */
.info-panel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.4vw, 40px);
  isolation: isolate;
  background: var(--ink);
}
.info-panel__bg { position: absolute; inset: 0; z-index: -2; }
.info-panel__bg img { width: 100%; height: 100%; object-fit: cover; }
.info-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12,18,24,.78) 0%, rgba(12,18,24,.42) 34%, rgba(12,18,24,.92) 100%);
}
.info-panel h2 { color: #fff; }
.info-panel .eyebrow { color: rgba(255,255,255,.82); }
.info-panel .eyebrow::before { background: var(--accent-pale); }
.info-panel__intro p {
  color: rgba(255,255,255,.86);
  margin-top: 16px;
  max-width: 42ch;
  font-size: 16.5px;
  line-height: 1.6;
}

.info-panel__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.info-panel .detail-rail { gap: 20px; }
.info-panel .detail { border-top-color: rgba(255,255,255,.22); }
.info-panel .detail dt { color: rgba(255,255,255,.62); }
.info-panel .detail dd { color: #fff; }
.info-panel .detail dd a { color: #fff; }
.info-panel .detail dd small { color: rgba(255,255,255,.66); }

.qr-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px 12px;
  text-align: center;
  flex: none;
  width: 168px;
}
.qr-card__img {
  width: 140px;
  height: 140px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  background: var(--surface-alt);
  border-radius: 6px;
  overflow: hidden;
}
.qr-card__img img { width: 100%; height: 100%; object-fit: contain; }
.qr-card span {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}

@media (max-width: 860px) {
  .info-panel { min-height: 0; gap: 34px; }
  .info-panel__foot { flex-direction: column; align-items: stretch; }
  .qr-card { width: 100%; max-width: 240px; }
}

/* ==========================================================================
   PASS 3 — mobile first. This is where the traffic lands.
   ========================================================================== */

@media (max-width: 780px) {

  /* ---- header sits ON the hero, no white bar, no border ---- */
  .site-header {
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    position: absolute;
    left: 0; right: 0; top: 0;
  }
  .site-header.is-solid {
    position: fixed;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
  }
  /* pages without a photo hero need the solid bar from the start */
  .site-header.is-plain {
    position: sticky;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
  }

  /* over the hero photo the controls go white */
  .site-header:not(.is-solid):not(.is-plain) .brand-name { color: #fff; }
  .site-header:not(.is-solid):not(.is-plain) .header-tel {
    color: #fff !important;
    border-color: rgba(255,255,255,.42);
  }
  .site-header:not(.is-solid):not(.is-plain) .nav-toggle { color: #fff; }
  .site-header:not(.is-solid):not(.is-plain) .brand svg path:last-child { fill: #fff; }

  /* the open menu must always be readable */
  .nav[data-open="true"] ~ * { pointer-events: none; }

  /* ---- hero: one job, no duplicate CTAs ----
     The sticky bottom bar already carries Call + Free Estimate and is always
     on screen, so the hero buttons were the same two actions twice. */
  .hero__actions { display: none; }
  .hero { min-height: 92vh; padding-top: calc(var(--bar-h) + 40px); padding-bottom: 120px; }
  .hero__inner { padding-bottom: 10px; }
  .hero h1 { font-size: clamp(40px, 11.4vw, 58px); line-height: 1.02; }
  .hero__sub { font-size: 16px; margin-top: 16px; }
  .hero .eyebrow { font-size: 12px; margin-bottom: 16px; }

  /* a quiet cue that there is more below */
  .hero::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 96px;
    width: 1px;
    height: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.75));
    transform: translateX(-50%);
  }

  /* ---- sticky bar: make it read as the primary action ---- */
  .mobile-cta {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    gap: 9px;
  }
  .mobile-cta .btn { padding: 15px 10px; font-size: 14.5px; border-radius: 10px; }
  .mobile-cta .btn--on-dark {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--rule, var(--line));
    border-color: var(--line);
  }
  .mobile-cta .btn--on-dark:hover { background: var(--surface-alt); }
  :root { --cta-h: 76px; }

  /* ---- typography: tighter, larger touch targets ---- */
  h1 { font-size: clamp(34px, 9.4vw, 46px); }
  h2 { font-size: clamp(27px, 7.6vw, 36px); }
  .lede { font-size: 16px; }
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 30px; }
  .wrap { padding: 0 20px; }

  /* ---- page hero on interior pages ---- */
  .page-hero { padding: calc(var(--bar-h) + 34px) 0 42px; }

  /* ---- cards / features ---- */
  .card__body { padding: 20px 20px 22px; }
  .card__body h3 { font-size: 19px; }
  .svc-feature { margin-bottom: 30px; }
  .svc-feature__body .lede { margin-bottom: 20px; }
  .svc-feature__specs { padding-top: 20px; margin-bottom: 22px; gap: 18px; }
  .svc-group { padding-top: 40px; margin-top: 40px; }
  .svc { padding: 20px; }
  .svc .btn { width: 100%; }

  /* ---- forms: full-width, thumb-friendly ---- */
  .form-card { padding: 22px 20px 24px; border-radius: 16px; }
  .field input, .field textarea, .field select { font-size: 16px; padding: 14px; }
  /* 16px prevents iOS Safari zooming the page on focus */

  /* ---- contact panel ---- */
  .info-panel { padding: 26px 22px 28px; border-radius: 16px; }
  .info-panel__intro p { font-size: 15.5px; }

  /* ---- financing ---- */
  .finance-band { padding: 54px 0; }
  .finance__inner .btn { width: 100%; }

  /* ---- footer ---- */
  .site-footer { padding: 46px 0 24px; }
  .footer-grid { padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* ---- CTA band ---- */
  .cta-band .btn { width: 100%; }
}

/* very small phones */
@media (max-width: 380px) {
  .mobile-cta .btn { font-size: 13.5px; padding: 14px 6px; }
  .hero h1 { font-size: 36px; }
}

/* ==========================================================================
   Hero video support
   Drop a file at assets/video/hero.mp4 and it plays behind the headline,
   with assets/img/hero.jpg as the poster and as the fallback if it fails.
   ========================================================================== */
.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* ---- FIX: an earlier mobile rule (.site-header.is-transparent) outranked the
   pass-3 header styles and kept forcing a white sticky bar over the hero. ---- */
@media (max-width: 780px) {
  .site-header.is-transparent {
    position: absolute;
    left: 0; right: 0; top: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 0;
  }
  .site-header.is-transparent .brand-name,
  .site-header.is-transparent .header-tel { color: #fff !important; }
  .site-header.is-transparent .header-tel { border-color: rgba(255,255,255,.42); }
  .site-header.is-transparent .nav-toggle { color: #fff; }
  .site-header.is-transparent .brand svg path:last-child { fill: #fff; }

  .site-header.is-solid .brand-name,
  .site-header.is-solid .header-tel { color: var(--ink) !important; }
  .site-header.is-solid .nav-toggle { color: var(--ink); }
}

/* ==========================================================================
   PASS 4 — real logo, image-backed sections, richer financing, mobile centring
   ========================================================================== */

/* ---- FIX: the open menu went transparent after scrolling ----------------
   Once the header gains `backdrop-filter`, it becomes the containing block
   for its `position: fixed` descendants — so the full-screen panel was being
   clipped to the 69px header box instead of the viewport. Dropping the filter
   while the menu is open restores the viewport as the containing block. */
body.nav-open .site-header,
body.nav-open .site-header.is-solid,
body.nav-open .site-header.is-plain {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: transparent !important;
  border-bottom-color: transparent !important;
}

/* ---- real logo ---- */
.brand-logo { height: 26px; width: auto; display: block; }
.brand-logo--dark { display: block; }
.brand-logo--light { display: none; }
.site-header.is-transparent .brand-logo--dark,
.site-footer .brand-logo--dark { display: none; }
.site-header.is-transparent .brand-logo--light,
.site-footer .brand-logo--light { display: block; }
body.nav-open .site-header .brand-logo--light { display: none; }
body.nav-open .site-header .brand-logo--dark { display: block; }
.site-footer .brand-logo { height: 24px; }
.nav__top .brand-logo { height: 22px; }

/* ==========================================================================
   Animated scroll cue
   ========================================================================== */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,.22);
  overflow: hidden;
  z-index: 2;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 55%, rgba(255,255,255,0) 100%);
  animation: cue 2.4s cubic-bezier(.6,0,.35,1) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue::after { animation: none; transform: none; opacity: .8; }
}
/* the old static pseudo-line is replaced by the element above */
@media (max-width: 780px) { .hero::before { display: none; } }

/* ==========================================================================
   Page heroes with a photograph behind
   ========================================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding: clamp(110px, 13vw, 168px) 0 clamp(64px, 8vw, 96px);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14,20,26,.86) 0%, rgba(14,20,26,.72) 48%, rgba(14,20,26,.90) 100%);
}
.page-hero .eyebrow {
  justify-content: center;
  color: var(--accent);
  font-weight: 500;
}
.page-hero .eyebrow::before { display: none; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.80); margin: 18px auto 0; max-width: 52ch; }
.page-hero .hero__actions { justify-content: center !important; }

/* ==========================================================================
   Service cards on a photograph
   ========================================================================== */
.svc {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background-image: var(--svc-img);
  background-size: cover;
  background-position: center;
  min-height: 250px;
  justify-content: flex-end;
  padding: 26px 24px 24px;
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,20,26,.42) 0%, rgba(14,20,26,.80) 58%, rgba(14,20,26,.94) 100%);
  transition: background .3s ease;
}
.svc > * { position: relative; }
.svc:hover::before {
  background: linear-gradient(180deg, rgba(14,20,26,.34) 0%, rgba(14,20,26,.76) 58%, rgba(14,20,26,.94) 100%);
}
.svc h3 { color: #fff; }
.svc p { color: rgba(255,255,255,.78); }
.svc__spec { color: rgba(255,255,255,.62); border-top-color: rgba(255,255,255,.20); }
.svc:hover { background-color: transparent; border-color: transparent; }
.svc .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.06);
}
.svc .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

#epoxy      .svc { --svc-img: url("../img/svc-epoxy.jpg"); }
#soft       .svc { --svc-img: url("../img/svc-soft.jpg"); }
#painting   .svc { --svc-img: url("../img/svc-paint.jpg"); }
#turnovers  .svc { --svc-img: url("../img/svc-turnover.jpg"); }
#commercial .svc { --svc-img: url("../img/svc-commercial.jpg"); }

/* ==========================================================================
   Financing — richer, brighter, with supporting points
   ========================================================================== */
.finance-band::before {
  background: linear-gradient(96deg,
    rgba(14,20,26,.93) 0%,
    rgba(14,20,26,.86) 30%,
    rgba(14,20,26,.52) 62%,
    rgba(14,20,26,.22) 100%);
}
.finance__points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px 34px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: 780px;
}
.finance__point { display: flex; gap: 13px; align-items: flex-start; }
.finance__point svg { flex: none; color: var(--accent); margin-top: 2px; }
.finance__point h4 {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 3px;
  letter-spacing: -0.02em;
}
.finance__point p {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.66);
  margin: 0;
  max-width: none;
}
.finance__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ==========================================================================
   Small icons alongside headings, for a bit more life
   ========================================================================== */
.checklist li::before {
  content: "";
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--accent-pale);
  flex: none;
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2E5E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.section--dark .checklist li::before { background-color: rgba(85,181,255,.22); }

/* ==========================================================================
   Contact panel — tighter, better balanced
   ========================================================================== */
.info-panel { min-height: 0; gap: 48px; }
.info-panel__intro h2 { font-size: clamp(28px, 3.4vw, 40px); }
.info-panel .detail { border-top-width: 1px; padding-top: 13px; }
.info-panel .detail dd { font-size: 17px; }
.info-panel .detail-rail { gap: 15px; }

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 780px) {

  /* centred headings throughout, like the reference */
  .section-head { text-align: center; margin-left: auto; margin-right: auto; }
  .section-head .eyebrow { justify-content: center; }
  .section-head .lede { margin-left: auto; margin-right: auto; text-align: center; }
  .svc-group__head, .finance__inner, .info-panel__intro { text-align: center; }
  .svc-group__head .eyebrow,
  .finance__inner .eyebrow,
  .info-panel .eyebrow { justify-content: center; }
  .svc-group__head .lede, .finance__inner > p { margin-left: auto; margin-right: auto; }

  .svc-feature__body { align-items: center; text-align: center; }
  .svc-feature__body .eyebrow { justify-content: center; }
  .svc-feature__specs { text-align: center; }
  .svc-feature__body .btn { width: 100%; }

  .page-hero { padding: calc(var(--bar-h) + 46px) 0 46px; }
  .page-hero p { font-size: 16px; }

  .finance__points {
    margin-top: 26px; padding-top: 24px; gap: 18px;
    text-align: left; max-width: none;
  }
  .finance__point { justify-content: flex-start; }
  .finance__actions { flex-direction: column; }
  .finance__actions .btn { width: 100%; }

  .info-panel { gap: 30px; }
  .info-panel__intro h2 { font-size: 30px; }
  .info-panel .detail { text-align: center; }
  .qr-card { margin: 0 auto; }

  .svc { min-height: 210px; }

  /* the logo swap has to follow the header state on mobile too */
  .site-header.is-solid .brand-logo--light,
  .site-header.is-plain .brand-logo--light { display: none; }
  .site-header.is-solid .brand-logo--dark,
  .site-header.is-plain .brand-logo--dark { display: block; }
}

/* ==========================================================================
   PASS 5 — tighter headers, cleaner service cards, financing promoted
   ========================================================================== */

/* ---- page heroes: shorter, lighter, bolder kicker ---- */
.page-hero {
  padding: clamp(96px, 9vw, 126px) 0 clamp(40px, 4.4vw, 56px);
}
.page-hero::before {
  background: linear-gradient(180deg,
    rgba(14,20,26,.60) 0%,
    rgba(14,20,26,.38) 45%,
    rgba(14,20,26,.68) 100%);
}
.page-hero h1 {
  font-size: clamp(30px, 3.9vw, 50px);
  text-shadow: 0 2px 26px rgba(0,0,0,.34);
}
.page-hero p {
  margin-top: 14px;
  font-size: 16px;
  max-width: 48ch;
  text-shadow: 0 1px 16px rgba(0,0,0,.36);
}
.page-hero .eyebrow {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 12.5px;
  margin-bottom: 12px;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.page-hero .hero__actions { margin-top: 24px !important; }

/* ---- dark service strip under the services header ---- */
.svc-nav {
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.10);
  position: sticky;
  top: var(--bar-h);
  z-index: 40;
}
.svc-nav__inner {
  display: flex;
  gap: 34px;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.svc-nav__inner::-webkit-scrollbar { display: none; }
.svc-nav a {
  position: relative;
  flex: none;
  padding: 17px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,.66);
  white-space: nowrap;
  transition: color .18s ease;
}
.svc-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s cubic-bezier(.2,.7,.3,1);
}
.svc-nav a:hover { color: #fff; }
.svc-nav a:hover::after,
.svc-nav a.is-active::after { transform: scaleX(1); }
.svc-nav a.is-active { color: #fff; }

.svc-group.anchor { scroll-margin-top: calc(var(--bar-h) + 58px); }

/* ---- service cards: clean, not muddy ------------------------------------
   The shared background photo repeated nine times per group read as noise.
   These are supporting detail under a feature row, so they are now crisp
   light cards with an accent rule that draws on hover. */
.svc {
  background-image: none;
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 0;
  padding: 24px 22px 22px;
  justify-content: flex-start;
  border-radius: 12px;
}
.svc::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s cubic-bezier(.2,.7,.3,1);
  inset: auto auto auto 0;
}
.svc:hover::before { transform: scaleX(1); }
.svc h3 { color: var(--ink); font-size: 16.5px; }
.svc p { color: var(--body); font-size: 14.5px; }
.svc__spec {
  color: var(--body-soft);
  border-top-color: var(--line-soft);
  font-size: 12.5px;
}
.svc .btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  padding: 10px 18px;
  font-size: 13px;
}
.svc .btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc:hover {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 16px 34px -26px rgba(15,30,45,.42);
}

/* ---- financing: shorter ---- */
.finance-band { padding: clamp(48px, 5.6vw, 76px) 0; }
.finance__inner h2 { font-size: clamp(28px, 3.6vw, 44px); }
.finance__points { margin-top: 24px; padding-top: 22px; gap: 16px 30px; }
.finance__actions { margin-top: 24px; }
.finance__fine { margin-top: 16px; }

/* ---- contact info panel: tighter ---- */
.info-panel { gap: 30px; padding: clamp(24px, 2.6vw, 32px); }
.info-panel__intro h2 { font-size: clamp(26px, 2.9vw, 34px); }
.info-panel__intro p { font-size: 15.5px; margin-top: 12px; }
.info-panel::before {
  background: linear-gradient(180deg, rgba(12,18,24,.66) 0%, rgba(12,18,24,.34) 34%, rgba(12,18,24,.88) 100%);
}
.info-panel .detail { padding-top: 11px; }
.info-panel .detail dd { font-size: 16px; }
.info-panel .detail dt { font-size: 10px; margin-bottom: 4px; }
.info-panel .detail-rail { gap: 12px; }
.qr-card { width: 148px; padding: 12px 12px 10px; }
.qr-card__img { width: 124px; height: 124px; margin-bottom: 8px; }
.qr-card span { font-size: 12px; }

/* ---- QR block for the homepage ---- */
.qr-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 26px;
}
.qr-strip__img {
  width: 96px; height: 96px; flex: none;
  border-radius: 8px; overflow: hidden;
  background: var(--surface-alt);
}
.qr-strip__img img { width: 100%; height: 100%; object-fit: contain; }
.qr-strip h4 {
  font-size: 15px; font-weight: 500; color: var(--ink);
  margin: 0 0 5px; letter-spacing: -0.02em;
}
.qr-strip p { font-size: 14px; color: var(--body-soft); line-height: 1.5; margin: 0; }

/* ==========================================================================
   Financing modal — shown once, then never again
   ========================================================================== */
.promo {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10,16,22,.62);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.promo.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility 0s;
}
.promo__card {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--surface);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(14px) scale(.985);
  transition: transform .34s cubic-bezier(.2,.7,.3,1);
}
.promo.is-open .promo__card { transform: none; }

.promo__media {
  position: relative;
  overflow: hidden;
  border-radius: 18px 0 0 18px;
  background: var(--ink);
  min-height: 100%;
}
.promo__media img { width: 100%; height: 100%; object-fit: cover; }
.promo__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,20,26,.30) 0%, rgba(14,20,26,.72) 100%);
}
.promo__badge {
  position: absolute;
  left: 20px; bottom: 20px;
  z-index: 2;
  color: #fff;
}
.promo__badge strong {
  display: block;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.promo__badge span { font-size: 13.5px; color: rgba(255,255,255,.74); }

.promo__body { padding: 30px 30px 28px; }
.promo__body h2 { font-size: 27px; margin-bottom: 10px; }
.promo__body > p { font-size: 15px; color: var(--body); margin-bottom: 20px; max-width: 40ch; }
.promo__body .form { gap: 12px; }
.promo__fine { font-size: 12px; color: var(--body-soft); line-height: 1.5; margin-top: 12px; }

.promo__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease;
}
.promo__close:hover { background: var(--accent-pale); }

.promo__dismiss {
  display: block;
  width: 100%;
  margin-top: 12px;
  background: none;
  border: 0;
  padding: 6px;
  font-family: var(--font);
  font-size: 13.5px;
  color: var(--body-soft);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.promo__dismiss:hover { color: var(--ink); }

@media (max-width: 760px) {
  .promo { padding: 0; align-items: flex-end; }
  .promo__card {
    grid-template-columns: 1fr;
    border-radius: 18px 18px 0 0;
    max-height: 92vh;
    transform: translateY(26px);
  }
  .promo__media {
    border-radius: 18px 18px 0 0;
    min-height: 0;
    aspect-ratio: 16 / 7;
  }
  .promo__body { padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); }
  .promo__body h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .promo, .promo__card { transition: none; }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 780px) {
  .page-hero { padding: calc(var(--bar-h) + 30px) 0 34px; }
  .page-hero h1 { font-size: clamp(27px, 7.6vw, 34px); }
  .page-hero p { font-size: 15px; margin-top: 12px; }
  .page-hero .eyebrow { font-size: 11.5px; margin-bottom: 10px; }

  .svc-nav { top: 0; }
  .svc-nav__inner {
    justify-content: flex-start;
    gap: 22px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .svc-nav a { padding: 14px 0; font-size: 12.5px; }

  .info-panel { gap: 24px; padding: 22px 20px 24px; }
  .info-panel__intro h2 { font-size: 26px; }
  .info-panel__intro p { font-size: 15px; }

  .qr-strip { flex-direction: column; text-align: center; gap: 14px; padding: 20px; }

  .finance-band { padding: 44px 0; }
}

/* ==========================================================================
   PASS 6 — scroll cue clear of the sticky bar, smaller popup on phones
   ========================================================================== */

/* the cue was sitting behind the fixed Call / Free Estimate bar */
@media (max-width: 780px) {
  .scroll-cue {
    bottom: calc(var(--cta-h) + 24px);
    height: 38px;
  }
  .scroll-cue::after { height: 38px; }
}

/* popup was filling ~92% of a phone screen — trim it to roughly two thirds */
@media (max-width: 760px) {
  .promo__card { max-height: 86vh; }
  .promo__media { aspect-ratio: 16 / 5.4; }
  .promo__badge { left: 16px; bottom: 14px; }
  .promo__badge strong { font-size: 17px; margin-bottom: 2px; }
  .promo__badge span { font-size: 12px; }

  .promo__body { padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); }
  .promo__body .eyebrow { margin-bottom: 8px; font-size: 11.5px; }
  .promo__body h2 { font-size: 21px; margin-bottom: 6px; }
  .promo__body > p { font-size: 14px; margin-bottom: 14px; }
  .promo__body .form { gap: 9px; }
  .promo__body .field label { font-size: 11.5px; }
  .promo__body .field input { padding: 11px 13px; }
  .promo__fine { margin-top: 9px; font-size: 11.5px; }
  .promo__dismiss { margin-top: 8px; font-size: 13px; padding: 4px; }
  .promo__close { width: 32px; height: 32px; top: 10px; right: 10px; }
}

@media (max-width: 400px) {
  .promo__media { aspect-ratio: 16 / 4.6; }
  .promo__body > p { display: none; }
}

/* ==========================================================================
   PASS 7 — white service strip, no header bar on landing
   ========================================================================== */

.svc-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.svc-nav a { color: var(--body); }
.svc-nav a:hover,
.svc-nav a.is-active { color: var(--ink); }

/* interior pages now land with a transparent header over the photo and only
   gain the solid bar once you scroll past it */
.site-header.is-transparent { border-bottom: 0; }
@media (max-width: 780px) {
  .svc-nav { top: 0; }
}

/* ==========================================================================
   PASS 8 — service cards with real presence, full-height hero, wider reveals
   ========================================================================== */

/* ---- service cards ---- */
.svc {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px 22px;
  transition: border-color .28s ease,
              transform .28s cubic-bezier(.2,.7,.3,1),
              box-shadow .28s ease;
}

/* replaces the thin top rule with a brand wash that blooms from the corner */
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  transform: none;
  background:
    radial-gradient(130% 95% at 0% 0%, rgba(85,181,255,.16) 0%, rgba(85,181,255,0) 62%),
    linear-gradient(180deg, rgba(11,46,94,.03) 0%, rgba(11,46,94,0) 40%);
  opacity: 0;
  transition: opacity .3s ease;
}
.svc:hover::before { transform: none; opacity: 1; }

/* accent edge down the left */
.svc::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--navy) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .34s cubic-bezier(.2,.7,.3,1);
}
.svc:hover::after { transform: scaleY(1); }

.svc__icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-pale);
  color: var(--navy);
  margin-bottom: 14px;
  transition: background-color .3s ease, color .3s ease, transform .3s cubic-bezier(.2,.7,.3,1);
}
.svc:hover .svc__icon {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px) rotate(-4deg);
}

.svc:hover {
  border-color: rgba(85,181,255,.55);
  transform: translateY(-4px);
  box-shadow: 0 20px 42px -24px rgba(30,120,200,.48);
}
.svc h3 { transition: color .24s ease; }
.svc:hover h3 { color: var(--navy); }
.svc .btn--ghost { transition: background-color .24s ease, color .24s ease, border-color .24s ease; }
.svc:hover .btn--ghost { border-color: var(--accent); color: var(--navy); }
.svc .btn--ghost:hover { background: var(--accent); color: #06263F; border-color: var(--accent); }

/* ---- hero owns the whole first screen ---- */
.hero { min-height: 100vh; }
@supports (height: 100svh) {
  .hero { min-height: 100svh; }
}
@media (max-width: 780px) {
  .hero { min-height: 100vh; }
  @supports (height: 100svh) {
    .hero { min-height: calc(100svh - var(--cta-h)); }
  }
}

/* ---- scroll cue: higher and more visible ---- */
.scroll-cue {
  bottom: 58px;
  height: 62px;
  width: 2px;
  background: rgba(255,255,255,.26);
  border-radius: 2px;
}
.scroll-cue::after {
  width: 2px;
  height: 62px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 50%, rgba(255,255,255,0) 100%);
  border-radius: 2px;
}
@media (max-width: 780px) {
  .scroll-cue { bottom: calc(var(--cta-h) + 22px); height: 48px; }
  .scroll-cue::after { height: 48px; }
}

/* ---- first section sits closer to the fold ---- */
.hero + .section { padding-top: clamp(44px, 5vw, 64px); }
@media (max-width: 780px) {
  .hero + .section { padding-top: 38px; }
}

/* ==========================================================================
   Scroll reveal — broader coverage, gentler motion
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s cubic-bezier(.2,.7,.3,1),
                transform .7s cubic-bezier(.2,.7,.3,1);
    transition-delay: calc(var(--d, 0) * 80ms);
  }
  .js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

  /* media panels come in with a touch of scale so photos feel deliberate */
  .js-reveal .media[data-reveal],
  .js-reveal .svc-feature__media[data-reveal],
  .js-reveal .shot[data-reveal] {
    transform: translateY(24px) scale(.985);
  }
  .js-reveal .media[data-reveal].is-in,
  .js-reveal .svc-feature__media[data-reveal].is-in,
  .js-reveal .shot[data-reveal].is-in { transform: none; }
}

/* ==========================================================================
   PASS 9 — contact panel proportions, scroll cue everywhere, popup fixes
   ========================================================================== */

/* ---- contact: the two columns are one object, same height ---- */
#quote .split { align-items: stretch; }

.info-panel {
  min-height: 560px;
  gap: 40px;
  padding: clamp(30px, 3vw, 42px);
  height: 100%;
}
.info-panel__intro h2 { font-size: clamp(30px, 3.2vw, 42px); }
.info-panel__intro p { font-size: 16.5px; margin-top: 14px; max-width: 38ch; }
.info-panel .detail dd { font-size: 18px; }
.info-panel .detail dt { font-size: 10.5px; }
.info-panel .detail-rail { gap: 16px; }
.qr-card { width: 158px; }
.qr-card__img { width: 134px; height: 134px; }

/* the form column matches it */
#quote .form-card { height: 100%; display: flex; flex-direction: column; }
#quote .form-card .form { flex: 1; }

/* ---- scroll cue on interior page headers ---- */
.page-hero { position: relative; }
.page-hero .scroll-cue {
  bottom: 20px;
  height: 40px;
}
.page-hero .scroll-cue::after { height: 40px; }

/* ==========================================================================
   Popup
   ========================================================================== */
.promo__card { grid-template-columns: 0.85fr 1fr; }
.promo__media { min-height: 420px; }
.promo__media img { object-position: center 62%; }

@media (max-width: 760px) {
  /* a floating card, not a sheet stuck to the bottom */
  .promo { align-items: center; padding: 16px; }
  .promo__card {
    grid-template-columns: 1fr;
    border-radius: 18px;
    max-height: min(78vh, 640px);
    transform: translateY(14px) scale(.985);
  }
  .promo__media {
    border-radius: 18px 18px 0 0;
    aspect-ratio: 16 / 8.5;
    min-height: 0;
  }
  .promo__media img { object-position: center 58%; }
  .promo__body { padding: 20px 20px 22px; }
  .promo__body h2 { font-size: 22px; }
  .promo__body > p { display: block; font-size: 14px; margin-bottom: 14px; }
}

@media (max-width: 400px) {
  .promo__media { aspect-ratio: 16 / 7.5; }
  .promo__body > p { display: none; }
}

/* ==========================================================================
   Mobile contact
   ========================================================================== */
@media (max-width: 780px) {
  .info-panel {
    min-height: 0;
    gap: 26px;
    padding: 24px 20px 26px;
  }
  .info-panel__intro h2 { font-size: 27px; }
  .info-panel__intro p { font-size: 15px; margin-top: 10px; max-width: none; }

  /* details side by side instead of a long single column */
  .info-panel .detail-rail {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 12px 18px;
  }
  .info-panel .detail:first-child { grid-column: 1 / -1; }
  .info-panel .detail dd { font-size: 15.5px; }
  .info-panel .detail:first-child dd { font-size: 20px; }

  .info-panel__foot { gap: 20px; }
  .qr-card { width: 100%; max-width: none; display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px; }
  .qr-card__img { width: 78px; height: 78px; margin: 0; flex: none; }
  .qr-card span { font-size: 13px; }

  .page-hero .scroll-cue { bottom: 14px; height: 30px; }
  .page-hero .scroll-cue::after { height: 30px; }
}

/* ==========================================================================
   PASS 10 — scroll cue clearance, animated submit confirmation
   ========================================================================== */

/* the cue was butting straight into the header buttons — give it its own room */
.page-hero { padding-bottom: clamp(74px, 7.5vw, 104px); }
.page-hero .scroll-cue { bottom: 26px; height: 34px; }
.page-hero .scroll-cue::after { height: 34px; }
.page-hero .hero__actions { margin-bottom: 8px; }

@media (max-width: 780px) {
  .page-hero { padding-bottom: 62px; }
  .page-hero .scroll-cue { bottom: 18px; height: 26px; }
  .page-hero .scroll-cue::after { height: 26px; }
}

/* ==========================================================================
   Form success state
   ========================================================================== */
.form-success {
  display: none;
  text-align: center;
  padding: 26px 4px 8px;
}
.form-success.is-on { display: block; }

.form-success__mark {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-pale);
  display: grid;
  place-items: center;
  animation: successPop .5s cubic-bezier(.2,1.3,.4,1) both;
}
.form-success__mark svg { display: block; }
.form-success__mark path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: successDraw .45s cubic-bezier(.4,0,.2,1) .28s forwards;
}

@keyframes successPop {
  0%   { transform: scale(.5); opacity: 0; }
  100% { transform: scale(1);  opacity: 1; }
}
@keyframes successDraw { to { stroke-dashoffset: 0; } }

.form-success h3 {
  font-size: 23px;
  margin-bottom: 8px;
  animation: successRise .5s cubic-bezier(.2,.7,.3,1) .18s both;
}
.form-success p {
  font-size: 15.5px;
  color: var(--body);
  max-width: 34ch;
  margin: 0 auto;
  animation: successRise .5s cubic-bezier(.2,.7,.3,1) .26s both;
}
.form-success .btn {
  margin-top: 20px;
  animation: successRise .5s cubic-bezier(.2,.7,.3,1) .34s both;
}
@keyframes successRise {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: none; }
}

.form.is-sent { display: none; }

@media (prefers-reduced-motion: reduce) {
  .form-success__mark,
  .form-success__mark path,
  .form-success h3,
  .form-success p,
  .form-success .btn { animation: none; stroke-dashoffset: 0; opacity: 1; transform: none; }
}

/* ==========================================================================
   PASS 11 — authoritative service-card styling
   Earlier passes left `.svc:hover::before { background: <dark gradient> }`
   from the photo-card design; the base ::before was later overridden but the
   hover one was not, so hovering re-applied the dark wash at full opacity and
   the card went black. Everything for .svc is declared here, in one place.
   ========================================================================== */

.svc {
  position: relative;
  overflow: hidden;
  background: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px 22px;
  min-height: 0;
  justify-content: flex-start;
  isolation: isolate;
}

/* corner bloom in brand blue */
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  transform: none !important;
  background: radial-gradient(130% 95% at 0% 0%, rgba(85,181,255,.18) 0%, rgba(85,181,255,0) 62%) !important;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1;
  pointer-events: none;
}
.svc:hover::before { opacity: 1; }

/* accent edge */
.svc::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  right: auto;
  width: 3px;
  height: auto;
  background: linear-gradient(180deg, var(--accent) 0%, var(--navy) 100%) !important;
  opacity: 1;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .34s cubic-bezier(.2,.7,.3,1);
  z-index: -1;
}
.svc:hover::after { transform: scaleY(1); }

.svc:hover {
  background: var(--surface) !important;
  border-color: rgba(85,181,255,.55);
  transform: translateY(-4px);
  box-shadow: 0 20px 42px -24px rgba(30,120,200,.48);
}

/* text never inverts */
.svc h3,
.svc:hover h3 { color: var(--ink); }
.svc:hover h3 { color: var(--navy); }
.svc p,
.svc:hover p { color: var(--body); }
.svc__spec,
.svc:hover .svc__spec { color: var(--body-soft); border-top-color: var(--line-soft); }

.svc .btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.svc:hover .btn--ghost { border-color: var(--accent); color: var(--navy); }
.svc .btn--ghost:hover { background: var(--accent); color: #06263F; border-color: var(--accent); }

/* ==========================================================================
   PASS 12 — mobile popup: fit the screen, keep the desktop's structure
   The card was taller than its max-height, so it scrolled internally and
   opened part-way down its own content — the eyebrow and headline sat above
   the visible area. Everything below is about making it fit outright.
   ========================================================================== */

@media (max-width: 760px) {
  .promo__card {
    max-height: none;
    height: auto;
    overflow: visible;
  }

  .promo__media {
    aspect-ratio: 16 / 6.2;
    border-radius: 18px 18px 0 0;
  }
  .promo__media img { object-position: center 60%; }

  /* the badge over the photo competes with the headline — drop it on phones */
  .promo__badge { display: none; }

  .promo__body { padding: 18px 18px 20px; }

  /* keep the blue rule + label exactly as the desktop has it */
  .promo__body .eyebrow {
    display: flex;
    justify-content: flex-start;
    font-size: 12px;
    margin-bottom: 8px;
  }
  .promo__body .eyebrow::before { display: block; width: 18px; }

  .promo__body h2 { font-size: 21px; line-height: 1.12; margin-bottom: 7px; }
  .promo__body > p { display: block; font-size: 13.5px; line-height: 1.5; margin-bottom: 14px; }

  .promo__body .form { gap: 10px; }
  .promo__body .field label { font-size: 11.5px; }
  .promo__body .field input { padding: 11px 13px; font-size: 16px; }
  .promo__body .btn { padding: 14px 20px; }

  .promo__fine { margin-top: 10px; font-size: 11px; }
  .promo__dismiss { margin-top: 8px; font-size: 13px; }
}

/* short screens (iPhone SE and similar): shed the parts that are optional */
@media (max-width: 760px) and (max-height: 730px) {
  .promo__media { aspect-ratio: 16 / 4.6; }
  .promo__body > p { display: none; }
  .promo__body h2 { font-size: 19px; }
  .promo__fine { display: none; }
}

/* very short: the photo goes too */
@media (max-width: 760px) and (max-height: 620px) {
  .promo__media { display: none; }
  .promo__card { border-radius: 16px; }
  .promo { padding: 12px; }
}

/* ==========================================================================
   PASS 13 — intro loader (homepage only)
   Shows immediately, clears as soon as the page is ready. The CSS animation
   is the backstop: even if the JS never runs, the loader fades itself out,
   so the site can never be locked behind it.
   ========================================================================== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: grid;
  place-items: center;
  animation: loaderOut .55s cubic-bezier(.4,0,.2,1) 2.6s forwards;
}
.loader.is-done {
  animation: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s cubic-bezier(.4,0,.2,1), visibility 0s linear .5s;
}
@keyframes loaderOut {
  to { opacity: 0; visibility: hidden; }
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 0 24px;
}

.loader__logo {
  width: 168px;
  height: auto;
  opacity: 0;
  transform: translateY(8px);
  animation: loaderLogo .6s cubic-bezier(.2,.7,.3,1) .08s forwards;
}
@keyframes loaderLogo {
  to { opacity: 1; transform: none; }
}

.loader__bar {
  display: block;
  width: 132px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,.16);
  overflow: hidden;
  opacity: 0;
  animation: loaderLogo .4s ease .28s forwards;
}
.loader__bar i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-pale) 100%);
  transform: scaleX(0);
  transform-origin: left;
  animation: loaderFill 1.9s cubic-bezier(.3,.6,.3,1) .3s forwards;
}
@keyframes loaderFill {
  0%   { transform: scaleX(0); }
  62%  { transform: scaleX(.72); }
  100% { transform: scaleX(1); }
}

/* no JS, no motion: get out of the way fast and without movement */
@media (prefers-reduced-motion: reduce) {
  .loader { animation: loaderOut .3s linear 1s forwards; }
  .loader__logo, .loader__bar { opacity: 1; transform: none; animation: none; }
  .loader__bar i { transform: scaleX(1); animation: none; }
}

/* stop the page scrolling behind the loader */
html.is-loading, html.is-loading body { overflow: hidden; }

/* ==========================================================================
   PASS 14 — reveal motion: slower and further, so it reads as an entrance
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal] {
    transform: translateY(30px);
    transition: opacity .85s cubic-bezier(.16,.7,.24,1),
                transform .85s cubic-bezier(.16,.7,.24,1);
    transition-delay: calc(var(--d, 0) * 110ms);
  }
  .js-reveal .media[data-reveal],
  .js-reveal .svc-feature__media[data-reveal],
  .js-reveal .shot[data-reveal] {
    transform: translateY(34px) scale(.975);
  }
}


/* ==========================================================================
   PASS 15 - desktop scroll glitch
   On desktop the header flipped between position:absolute (over the hero)
   and the base position:sticky (in the document flow). Sticky takes up 68px,
   so crossing the hero pushed the page down, which brought the hero back into
   view, which flipped the header back - an endless jitter at one scroll point.
   Both states are now out of the flow, so switching never moves the page.
   ========================================================================== */
.site-header.is-solid {
  position: fixed;
  left: 0; right: 0; top: 0;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.is-solid .nav-link,
.site-header.is-solid .header-tel { color: var(--ink) !important; }
.site-header.is-solid .brand-logo--dark { display: block; }
.site-header.is-solid .brand-logo--light { display: none; }
