:root {
  --navy: #10243b;
  --navy-deep: #09192a;
  --ink: #17212d;
  --slate: #4f5b68;
  --line: #d9dee3;
  --paper: #f5f6f7;
  --white: #ffffff;
  --soft: #eef1f3;
  --accent: #10243b;
  --max: 1280px;
  --radius: 2px;
  --call-clearance: 100px;
  --warm: #f8f6f2;
  --mist: #eaf0f6;
  --glow: rgba(120, 175, 235, .28);
  --shadow-card: 0 16px 36px -20px rgba(9, 25, 42, .38), 0 2px 6px rgba(9, 25, 42, .06);
  --shadow-lift: 0 26px 48px -24px rgba(9, 25, 42, .5), 0 8px 16px -10px rgba(9, 25, 42, .2);
  --overlap: 32px;
  --sec-y: 88px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
  scroll-padding-bottom: var(--call-clearance);
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

figure {
  margin: 0;
}

:focus-visible {
  outline: 3px solid #718ca8;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 30;
  padding: 12px 20px;
  background: var(--navy);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.section {
  padding: var(--sec-y) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255,255,255,.68);
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Libre Franklin", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(3rem, 5.5vw, 5.15rem);
  font-weight: 700;
  color: var(--navy);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 3.6vw, 3.5rem);
  font-weight: 600;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 600;
}

p {
  margin-top: 0;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: .92rem;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}

.button:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.button-ghost {
  background: transparent;
  color: var(--navy);
}

.button-ghost:hover {
  background: var(--navy);
  color: var(--white);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: .85rem;
}

.floating-call {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 25;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 64px;
  padding: 0 30px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 0 18px rgba(120,180,255,.28), 0 8px 24px rgba(7,40,89,.25);
  transition: transform .2s ease;
}

.floating-call::before,
.floating-call::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}

.floating-call::before {
  box-shadow: 0 0 22px rgba(120,180,255,.24);
  animation: call-glow 5s ease-in-out infinite;
}

.floating-call::after {
  box-shadow: 0 0 24px rgba(120,180,255,.28);
  opacity: 0;
  transition: opacity .2s ease;
}

.floating-call-icon {
  flex-shrink: 0;
  font-size: 1.25em;
  line-height: 1;
}

.floating-call:focus-visible {
  outline-color: var(--white);
  transform: translateY(-2px);
}

.floating-call:focus-visible::after {
  opacity: 1;
}

@media (hover: hover) {
  .floating-call:hover {
    transform: translateY(-2px);
  }

  .floating-call:hover::after {
    opacity: 1;
  }
}

@keyframes call-glow {
  0%, 100% { opacity: .35; }
  50% { opacity: .7; }
}

.service-form input,
.service-form textarea,
.service-form button,
.review-action a,
.site-footer a {
  scroll-margin-bottom: var(--call-clearance);
}

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

.utility-bar {
  position: sticky;
  top: 0;
  z-index: 22;
  background: var(--navy-deep);
  color: var(--white);
  border-bottom: 1px solid rgba(120,180,255,.3);
  box-shadow: 0 2px 14px rgba(120,180,255,.22);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.utility-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 3px 20px rgba(120,180,255,.3);
  pointer-events: none;
  animation: call-glow 5s ease-in-out infinite;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 36px;
}

.utility-item {
  padding: 0 18px;
  border-left: 1px solid rgba(255,255,255,.22);
  line-height: 1.2;
  white-space: nowrap;
}

.utility-item:first-child {
  border-left: 0;
}

.utility-item:last-child {
  padding-right: 0;
}

.utility-phone:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.utility-bar :focus-visible {
  outline-color: var(--white);
  outline-offset: 3px;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip-list li {
  padding: 20px 16px;
  border-left: 1px solid var(--line);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.35;
  text-align: center;
}

.trust-strip-list li:first-child {
  border-left: 0;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.review-stars {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: .14em;
  line-height: 1;
}

.review-text {
  flex: 1;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
}

.review-source {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.review-action {
  margin-top: 32px;
  text-align: center;
}

.reviews {
  background: var(--paper);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.15);
  background: var(--navy);
  color: var(--white);
}

.site-header :focus-visible {
  outline-color: var(--white);
}

.header-cta {
  border-color: rgba(255,255,255,.65);
}

.header-cta:hover {
  border-color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 94px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}

.wordmark {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: clamp(.9rem, 1.5vw, 1.16rem);
  letter-spacing: .07em;
  white-space: nowrap;
}

.brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.header-icon {
  filter: brightness(0) invert(1);
  opacity: .65;
  margin-left: 2px;
}

.brand-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 0;
  font-size: .8rem;
  letter-spacing: .02em;
}

.main-nav {
  display: flex;
  gap: 22px;
  font-size: .8rem;
  font-weight: 600;
}

.main-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.hero {
  padding: 38px 0 50px;
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 64px;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 26px;
  color: var(--slate);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: .82rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.hero-visual > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center 54%;
}

.hero-visual figcaption {
  padding: 22px 28px;
  color: white;
}

.hero-visual figcaption span {
  display: block;
  margin-bottom: 6px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.hero-visual figcaption strong {
  font-family: "Libre Franklin", sans-serif;
  font-size: 1rem;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 34px;
}

.split-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-copy {
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 280px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-number {
  display: block;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.service-card p {
  min-height: 100px;
  color: var(--slate);
}

.service-intro {
  background: var(--paper);
}

.service-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 28px;
  background: white;
  padding: 24px;
}

.service-photo {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.service-card-copy {
  min-width: 0;
}

.service-featured .service-number {
  margin-bottom: 22px;
  font-size: .62rem;
}

.service-featured h3 {
  font-size: 1.6rem;
}

.service-featured p {
  min-height: 0;
}

.service-card a,
.text-link {
  color: var(--navy);
  font-weight: 700;
}

.section-dark {
  padding: var(--sec-y) 0;
  background: var(--navy);
  color: white;
}

.statement-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 110px;
}

.statement-copy {
  max-width: 700px;
  color: rgba(255,255,255,.78);
  font-size: 1.16rem;
  line-height: 1.85;
}

.work-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 90px;
}

.work-photo img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: center 58%;
}

.work-photo figcaption {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-size: .8rem;
}

.work-copy {
  max-width: 620px;
}

.work-copy > p:not(.eyebrow) {
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.8;
}

.check-list {
  margin: 26px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.check-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "—";
  margin-right: 12px;
  color: var(--accent);
}

.process {
  background: var(--paper);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #cfd5da;
}

.process-grid article {
  padding: 28px 28px 28px 0;
}

.process-grid article + article {
  padding-left: 28px;
  border-left: 1px solid #cfd5da;
}

.process-grid span {
  display: block;
  margin-bottom: 40px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
}

.process-grid p {
  color: var(--slate);
}

.section-soft {
  padding: var(--sec-y) 0;
  background: var(--soft);
}

.review-layout {
  display: grid;
  grid-template-columns: .8fr 1.4fr;
  gap: 72px;
  align-items: center;
}

.section-heading > p:not(.eyebrow) {
  color: var(--slate);
  line-height: 1.8;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-gallery figure:first-child {
  grid-row: span 2;
}

.project-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-gallery figure:first-child img {
  height: 410px;
}

.project-gallery figcaption {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 600;
}

.project-gallery figcaption span {
  color: var(--slate);
}

.service-area-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
}

.service-area-grid > div:first-child p:last-child {
  max-width: 570px;
  color: var(--slate);
  line-height: 1.8;
}

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  border-top: 1px solid var(--line);
}

.area-list span {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.area-list span:nth-child(even) {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.contact-section {
  padding: var(--sec-y) 0;
  background: var(--navy-deep);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 100px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255,255,255,.72);
  font-size: 1.1rem;
  line-height: 1.75;
}

.phone-link {
  display: inline-block;
  margin-top: 18px;
  border-bottom: 1px solid rgba(255,255,255,.4);
  font-family: "Libre Franklin", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.service-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service-form label {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 700;
}

.service-form input,
.service-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  outline: none;
  background: rgba(255,255,255,.06);
  color: white;
  padding: 15px 16px;
}

.service-form input:focus,
.service-form textarea:focus {
  border-color: rgba(255,255,255,.7);
}

.full-width {
  grid-column: 1 / -1;
}

.form-button {
  width: calc(100% - 262px);
  justify-self: start;
  margin-top: 4px;
  border-color: white;
  background: white;
  color: var(--navy);
}

.form-button:hover {
  border-color: var(--soft);
  background: var(--soft);
  color: var(--navy);
}

.site-footer {
  padding: 50px 0 calc(var(--call-clearance) + env(safe-area-inset-bottom));
  background: #06111d;
  color: rgba(255,255,255,.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
}

.footer-grid strong {
  color: white;
}

.footer-brand {
  margin-bottom: 12px;
  color: white;
}

.footer-brand .wordmark {
  font-size: .95rem;
}

.footer-grid .brand-signature {
  margin-top: 0;
  max-width: 280px;
}

.footer-grid a:hover {
  color: white;
}

@media (max-width: 960px) {
  .header-cta {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 94px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 18px 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.15);
    background: var(--navy);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }

  .nav-toggle {
    display: grid;
    gap: 6px;
    padding: 8px;
  }

  .nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
  }

  .hero-grid,
  .split-heading,
  .statement-grid,
  .work-grid,
  .review-layout,
  .service-area-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    align-content: start;
  }

  .service-featured p {
    min-height: 78px;
  }

  .header-icon {
    display: none;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual > img {
    height: 560px;
    object-position: center 58%;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid article:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  :root {
    --call-clearance: 84px;
  }

  .floating-call {
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    min-height: 58px;
    padding: 0 24px;
    gap: 9px;
    font-size: 1.02rem;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .section,
  .section-dark,
  .section-soft,
  .contact-section {
    padding: 48px 0;
  }

  .hero {
    padding: 30px 0 38px;
  }

  .hero-grid {
    gap: 27px;
  }

  .utility-inner {
    justify-content: center;
    min-height: 32px;
  }

  .utility-area,
  .utility-insured,
  .utility-fl {
    display: none;
  }

  .utility-item {
    padding: 0 16px;
  }

  .utility-phone {
    border-left: 0;
  }

  .utility-item:last-child {
    padding-right: 16px;
  }

  .trust-strip-list {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 12px 10px;
    font-size: .76rem;
  }

  .trust-strip-list li:nth-child(odd) {
    border-left: 0;
  }

  .trust-strip-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .review-card {
    padding: 24px;
  }

  .review-action {
    margin-top: 26px;
  }

  .review-action .button {
    width: 100%;
  }

  .split-heading,
  .statement-grid,
  .work-grid,
  .review-layout,
  .service-area-grid,
  .contact-grid {
    gap: 27px;
  }

  .split-heading,
  .section-heading {
    margin-bottom: 26px;
  }

  .hero-visual > img {
    height: auto;
    aspect-ratio: 4 / 5;
    object-position: center;
  }

  .work-photo img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .header-inner {
    min-height: 78px;
    gap: 12px;
  }

  .main-nav {
    top: 78px;
  }

  .hero-visual figcaption {
    padding: 22px;
  }

  .brand-signature {
    font-size: .75rem;
  }

  .project-gallery {
    gap: 18px;
  }

  .project-gallery img {
    height: 145px;
  }

  .project-gallery figure:first-child img {
    height: 342px;
  }

  .project-gallery figcaption {
    font-size: .7rem;
  }

  .project-gallery figcaption span {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .form-button {
    width: calc(100% - 216px);
    padding-inline: 12px;
    font-size: .85rem;
  }

  .service-grid,
  .process-grid,
  .service-form,
  .area-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card p {
    min-height: 0;
  }

  .service-featured {
    gap: 24px;
  }

  .service-photo {
    height: 300px;
  }

  .process-grid article,
  .process-grid article + article,
  .process-grid article:nth-child(3) {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid #cfd5da;
  }

  .process-grid span {
    margin-bottom: 24px;
  }

  .area-list span:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .full-width {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .floating-call,
  .floating-call::after {
    transition: none;
  }

  .floating-call::before {
    animation: none;
    opacity: .45;
  }

  .utility-bar::after {
    animation: none;
    opacity: .55;
  }
}


/* =========================================================
   VISUAL REFINEMENT LAYER
   Depth, section flow, editorial photography, motion, glow.
   Loaded last on purpose; responsive overrides live at the end.
   ========================================================= */

/* ---------- Typography hierarchy ---------- */
h1 { line-height: .98; }

h2 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.split-heading h2 { max-width: 20ch; }

.service-area h2 { max-width: 22ch; }

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 12px;
  background: currentColor;
  opacity: .55;
  vertical-align: middle;
}

.section-copy,
.statement-copy,
.work-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow) {
  max-width: 58ch;
}

/* ---------- Glow language ---------- */
.button { transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .3s ease; }

.button:hover {
  box-shadow: 0 10px 26px -12px rgba(9, 25, 42, .6), 0 0 22px rgba(120, 175, 235, .32);
}

.hero-actions .button:not(.button-ghost) {
  box-shadow: 0 12px 28px -14px rgba(16, 36, 59, .65);
}

.floating-call {
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 0 26px rgba(120,180,255,.4), 0 10px 28px rgba(7,40,89,.3);
}

.floating-call::before { box-shadow: 0 0 32px rgba(120,180,255,.36); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow-x: clip;
  padding: 56px 0 56px;
  background:
    radial-gradient(760px 520px at 84% 46%, rgba(16, 36, 59, .13), transparent 70%),
    radial-gradient(620px 420px at 2% 0%, rgba(150, 190, 235, .26), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--warm) 100%);
}

.hero-media {
  position: relative;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  z-index: -1;
  border: 1px solid rgba(16, 36, 59, .3);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: -60px -50px -40px -50px;
  z-index: -2;
  background: radial-gradient(closest-side, rgba(16, 36, 59, .3), rgba(16, 36, 59, .08) 60%, transparent 100%);
  pointer-events: none;
}

.hero-visual {
  box-shadow: var(--shadow-lift), 0 0 70px rgba(100, 150, 215, .28);
}

.hero-badge {
  position: absolute;
  left: -36px;
  bottom: 148px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 22px 15px 16px;
  border-left: 3px solid var(--navy);
  background: var(--white);
  box-shadow: var(--shadow-lift), 0 0 30px rgba(120, 175, 235, .22);
}

.hero-badge-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0);
  opacity: .72;
}

.hero-badge strong {
  display: block;
  color: var(--navy);
  font-family: "Libre Franklin", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
}

.hero-badge span {
  display: block;
  margin-top: 3px;
  color: var(--slate);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--warm), #fff);
  box-shadow: 0 14px 30px -24px rgba(9, 25, 42, .55);
}

/* ---------- Services ---------- */
.service-intro {
  padding-bottom: calc(var(--sec-y) + var(--overlap));
  background:
    radial-gradient(720px 440px at 100% 0%, rgba(150, 190, 235, .28), transparent 70%),
    radial-gradient(640px 420px at 0% 100%, rgba(16, 36, 59, .07), transparent 70%),
    var(--warm);
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, .62);
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}

.service-featured { background: var(--white); }

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.service-card a { position: static; }

.service-card a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.service-card a:focus-visible { outline: none; }

.service-card:has(a:focus-visible) {
  outline: 3px solid #718ca8;
  outline-offset: -3px;
}

.service-card a span {
  display: inline-block;
  transition: transform .3s ease, opacity .3s ease;
}

.service-card:active { background: var(--white); }

.service-photo-wrap {
  overflow: hidden;
  box-shadow: 0 12px 26px -16px rgba(9, 25, 42, .55);
}

.service-photo {
  height: 270px;
  transition: transform .45s ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card a span { opacity: .55; }

  .service-card:hover {
    z-index: 2;
    background: var(--white);
    box-shadow: var(--shadow-lift);
    transform: translateY(-5px);
  }

  .service-card:hover::before { transform: scaleX(1); }

  .service-card:hover a span {
    opacity: 1;
    transform: translateX(6px);
  }

  .service-card:hover .service-photo { transform: scale(1.06); }
}

/* ---------- Layered navy feature sections ---------- */
.section-feature {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--overlap) * -1);
  padding-top: calc(var(--sec-y) + var(--overlap));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: 0 -26px 50px -30px rgba(9, 25, 42, .5);
}

.statement {
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(120, 170, 230, .2), transparent 62%),
    radial-gradient(700px 480px at 0% 100%, rgba(120, 170, 230, .12), transparent 70%),
    var(--navy);
}

.statement-grid > div:first-child {
  position: relative;
  isolation: isolate;
}

.statement-grid > div:first-child::before {
  content: "";
  position: absolute;
  top: -44px;
  left: -34px;
  z-index: -1;
  width: 230px;
  height: 193px;
  background: url("assets/images/hose-bib.png") center / contain no-repeat;
  opacity: .07;
}

/* ---------- Reviews ---------- */
.reviews {
  position: relative;
  z-index: 1;
  padding-bottom: calc(var(--sec-y) + var(--overlap) + 90px);
  background:
    radial-gradient(760px 420px at 12% 0%, rgba(150, 190, 235, .35), transparent 70%),
    radial-gradient(640px 420px at 100% 100%, rgba(16, 36, 59, .08), transparent 70%),
    linear-gradient(180deg, var(--mist), #f4f7fb);
}

.review-grid { align-items: stretch; }

.review-card {
  border: 1px solid rgba(16, 36, 59, .1);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}

.review-stars {
  color: #f5b301;
  font-size: 1.2rem;
  letter-spacing: .12em;
  text-shadow: 0 1px 0 rgba(120, 80, 0, .18);
}

.review-action { margin-top: 48px; }

/* ---------- Workmanship: navy anchor with overhanging photo ---------- */
.work {
  background:
    radial-gradient(640px 640px at 18% 40%, rgba(120, 170, 230, .2), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.work-grid { align-items: start; }

.work-photo {
  position: relative;
  z-index: 3;
  margin-top: -170px;
}

.work-photo::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -16px;
  right: 16px;
  bottom: 62px;
  z-index: -1;
  border: 1px solid rgba(110, 150, 205, .6);
}

.work-photo img {
  box-shadow: 0 34px 64px -22px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12), 0 0 80px rgba(120, 170, 230, .26);
}

.photo-chip {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 13px;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.work-photo figcaption {
  border-bottom-color: rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .72);
}

.work.section-feature .work-copy { padding-top: 0; }

.work.section-feature .work-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .8); }

.work .check-list { border-top-color: rgba(255, 255, 255, .2); }

.work .check-list li { border-bottom-color: rgba(255, 255, 255, .2); }

.work .check-list li::before { color: #8fb3dc; }

.work .text-link {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  padding-bottom: 3px;
  transition: border-color .25s ease;
}

.work .text-link:hover { border-bottom-color: var(--white); }

/* ---------- Process ---------- */
.process {
  background:
    radial-gradient(680px 380px at 100% 0%, rgba(150, 190, 235, .22), transparent 70%),
    var(--warm);
}

/* ---------- Project gallery: overlapping editorial cards ---------- */
.section-soft {
  background:
    radial-gradient(720px 460px at 0% 100%, rgba(150, 190, 235, .38), transparent 70%),
    radial-gradient(560px 380px at 100% 0%, rgba(16, 36, 59, .08), transparent 70%),
    var(--mist);
}

.project-gallery {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px 0;
  align-items: start;
}

.project-gallery > figure { position: relative; }

.project-gallery > figure:nth-child(1) {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  z-index: 1;
}

.project-gallery > figure:nth-child(2) {
  grid-column: 7 / 13;
  grid-row: 1;
  margin-top: 36px;
  z-index: 2;
}

.project-gallery > figure:nth-child(3) {
  grid-column: 6 / 12;
  grid-row: 2;
  z-index: 2;
}

.project-gallery img {
  height: 215px;
  border: 6px solid var(--white);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.project-gallery > figure:nth-child(1) img { height: 480px; }

.project-gallery > figure:nth-child(1)::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -16px;
  right: 16px;
  bottom: 44px;
  z-index: -1;
  border: 1px solid rgba(16, 36, 59, .32);
}

.project-gallery figcaption { padding-top: 14px; }

.project-gallery > figure:nth-child(2) figcaption { justify-content: flex-end; }

/* ---------- Service area ---------- */
.service-area {
  padding-bottom: calc(var(--sec-y) + var(--overlap));
  background:
    radial-gradient(700px 420px at 0% 0%, rgba(150, 190, 235, .26), transparent 70%),
    linear-gradient(180deg, #fff, var(--warm));
}

/* ---------- Contact ---------- */
.contact-section {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--overlap) * -1);
  padding-top: calc(var(--sec-y) + var(--overlap));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background:
    radial-gradient(760px 520px at 88% 30%, rgba(120, 175, 235, .22), transparent 66%),
    radial-gradient(600px 420px at 0% 100%, rgba(120, 175, 235, .1), transparent 70%),
    var(--navy-deep);
  box-shadow: 0 -26px 50px -30px rgba(9, 25, 42, .55);
}

.service-form {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 0 60px rgba(120, 175, 235, .16);
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.js .reveal {
  opacity: 0;
  translate: 0 16px;
  transition:
    opacity .55s ease var(--reveal-delay, 0s),
    translate .55s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0s),
    scale .55s ease var(--reveal-delay, 0s);
}

.js .reveal.reveal-media {
  translate: none;
  scale: .98;
}

.js .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-media::before { inset: 14px -12px -14px 14px; }

  .hero-badge {
    left: 14px;
    bottom: 112px;
  }

  .work-photo { margin-top: -130px; }

  .project-gallery > figure:nth-child(1) img { height: 420px; }
}

@media (max-width: 650px) {
  :root { --overlap: 28px; }

  h2 { max-width: none; font-size: clamp(2rem, 9vw, 2.5rem); }

  .hero { padding: 34px 0 48px; }

  .hero-media::before { inset: 10px -8px -10px 10px; }

  .hero-badge {
    left: 10px;
    bottom: 98px;
    padding: 12px 16px 12px 12px;
  }

  .section-feature,
  .contact-section {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding-top: calc(var(--sec-y) + var(--overlap));
  }

  .service-intro,
  .service-area { padding-bottom: calc(var(--sec-y) + var(--overlap)); }

  .reviews { padding-bottom: calc(var(--sec-y) + var(--overlap) + 64px); }

  .review-card:nth-child(2) {
    margin-block: 0;
    padding: 28px 24px;
  }

  .work-photo { margin-top: -96px; }

  .work-photo::before { left: -8px; right: 8px; bottom: 56px; }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .project-gallery > figure:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .project-gallery > figure:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }

  .project-gallery > figure:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .project-gallery img { height: 145px; border-width: 4px; }

  .project-gallery > figure:nth-child(1) img { height: 342px; }

  .project-gallery > figure:nth-child(1)::before { left: -8px; right: 8px; }

  .service-form {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .service-photo { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.reveal-media {
    opacity: 1;
    translate: none;
    scale: 1;
    transition: none;
  }

  .service-card,
  .service-card::before,
  .service-card a span,
  .service-photo,
  .button {
    transition: none;
  }

  .service-card:hover { transform: none; }

  .service-card:hover .service-photo { transform: none; }
}


/* =========================================================
   MOBILE RECOMPOSITION  (screens below 768px)
   Desktop and tablet (768px and up) are not touched by anything below.
   ========================================================= */

/* Mobile-only photo layers stay hidden everywhere else */
.svc-media,
.service-photo-alt { display: none; }

/* iPhone notch / dynamic island: inset the sticky bar (0 on every other device) */
.utility-bar { padding-top: env(safe-area-inset-top); }

@media (max-width: 767px) {

  :root {
    --overlap: 20px;
    --sec-y: 56px;
    --gutter-l: max(14px, env(safe-area-inset-left));
    --gutter-r: max(14px, env(safe-area-inset-right));
    --call-clearance: 92px;
    --m-card: 0 18px 38px -22px rgba(9, 25, 42, .5), 0 2px 6px rgba(9, 25, 42, .07);
    --m-glow: 0 0 34px rgba(110, 165, 235, .24);
  }

  .container {
    width: min(calc(100% - var(--gutter-l) - var(--gutter-r)), 620px);
    margin-left: auto;
    margin-right: auto;
  }

  /* ---------- Typography ---------- */
  h1 {
    margin-bottom: 14px;
    font-size: clamp(2.2rem, 9.6vw, 2.9rem);
    line-height: .98;
    text-wrap: balance;
  }

  h2,
  .split-heading h2,
  .service-area h2 {
    max-width: none;
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 8vw, 2.3rem);
    line-height: 1.04;
    text-wrap: balance;
  }

  .eyebrow { margin-bottom: 10px; font-size: .7rem; }

  .section-copy,
  .statement-copy,
  .work-copy > p:not(.eyebrow),
  .section-heading > p:not(.eyebrow),
  .service-area-grid > div:first-child p:last-child {
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  /* ---------- 1. Hero: message and real work in the first screen ---------- */
  .hero {
    padding: 20px 0 44px;
    background:
      radial-gradient(420px 360px at 100% 64%, rgba(100, 155, 225, .30), transparent 70%),
      radial-gradient(380px 300px at 0% 0%, rgba(150, 190, 235, .42), transparent 70%),
      linear-gradient(180deg, #e6edf6 0%, #f0f4f9 58%, var(--warm) 100%);
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0;
  }

  .hero-copy { display: contents; }

  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; }

  .hero-lede {
    order: 3;
    max-width: 34rem;
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero .hero-actions {
    order: 4;
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
  }

  .hero .hero-actions .button {
    flex: 1 1 0;
    width: auto;
    min-height: 50px;
    padding: 0 12px;
  }

  .hero .hero-actions .button:first-child { flex-grow: 1.3; }

  .hero-media {
    order: 5;
    margin-right: calc(var(--gutter-r) * -1);
  }

  .hero-media::before { inset: 16px 14px -14px -8px; }

  .hero-media::after { inset: -34px -20px -26px -30px; }

  .hero-visual {
    border-radius: var(--r-lg) 0 0 var(--r-lg);
    box-shadow: var(--m-card), 0 0 54px rgba(100, 150, 215, .34);
  }

  .hero-visual > img {
    height: auto;
    aspect-ratio: 1 / 1.04;
    object-position: center 56%;
  }

  .hero-visual figcaption { padding: 14px 20px 15px; }

  .hero-visual figcaption span { margin-bottom: 4px; font-size: .6rem; }

  .hero-visual figcaption strong { font-size: .98rem; }

  .hero-badge {
    left: -6px;
    bottom: 76px;
    gap: 11px;
    padding: 11px 16px 11px 12px;
  }

  .hero-badge-icon { width: 26px; height: 26px; }

  .hero-badge strong { font-size: .92rem; }

  .hero-badge span { font-size: .74rem; }

  .hero .trust-row {
    order: 6;
    gap: 8px;
    margin-top: 22px;
    padding-top: 0;
    border-top: 0;
    font-size: .74rem;
  }

  .hero .trust-row span {
    padding: 6px 11px;
    border: 1px solid var(--line-light);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .72);
  }

  /* ---------- Trust strip: a floating card straddling hero and services ---------- */
  .trust-strip {
    position: relative;
    z-index: 4;
    margin-top: -22px;
    padding: 0 0 6px;
    border: 0;
    background: var(--warm);
    box-shadow: none;
  }

  .trust-strip-list {
    overflow: hidden;
    border: 1px solid var(--line-light);
    border-radius: var(--r-sm);
    background: var(--white);
    box-shadow: var(--sh-standard);
  }

  .trust-strip-list li { min-height: 58px; font-size: .74rem; }

  /* ---------- 2. Services ---------- */
  .service-intro {
    padding: 22px 0 calc(var(--sec-y) + var(--overlap));
    background:
      radial-gradient(520px 340px at 100% 0%, rgba(150, 190, 235, .34), transparent 70%),
      radial-gradient(460px 320px at 0% 100%, rgba(16, 36, 59, .07), transparent 70%),
      var(--warm);
  }

  .split-heading { margin-bottom: 20px; gap: 12px; }

  /* ---------- 4. "Good plumbing is only part of the job" ---------- */
  .statement.section-feature {
    z-index: 2;
    margin-top: calc(var(--overlap) * -1);
    padding: calc(var(--sec-y) + var(--overlap)) 0 calc(var(--sec-y) + var(--overlap));
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }

  .statement-grid { gap: 16px; }

  .statement-copy { font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, .8); }

  .statement-copy p { margin-bottom: 14px; }

  .statement-copy p:last-child { margin-bottom: 0; }

  .statement-grid > div:first-child::after {
    content: "";
    position: absolute;
    inset: -60px -70px -40px -70px;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(110, 165, 235, .3), transparent 100%);
    pointer-events: none;
  }

  .statement-grid > div:first-child::before { top: -34px; left: -20px; width: 190px; height: 160px; }

  .brand-signature { margin-top: 18px; }

  /* ---------- 5. Reviews: swipeable ---------- */
  .reviews {
    z-index: 3;
    margin-top: calc(var(--overlap) * -1);
    padding: calc(var(--sec-y) + var(--overlap)) 0 calc(var(--sec-y) + var(--overlap) + 74px);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background:
      radial-gradient(520px 340px at 10% 0%, rgba(150, 190, 235, .42), transparent 70%),
      radial-gradient(420px 320px at 100% 100%, rgba(16, 36, 59, .08), transparent 70%),
      linear-gradient(180deg, var(--mist), #f4f7fb);
    box-shadow: 0 -22px 40px -30px rgba(9, 25, 42, .5);
  }

  .reviews .section-heading { margin-bottom: 10px; }

  .review-grid {
    display: flex;
    gap: 12px;
    margin-left: calc(var(--gutter-l) * -1);
    margin-right: calc(var(--gutter-r) * -1);
    padding: 10px var(--gutter-r) 26px var(--gutter-l);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter-l);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .review-grid::-webkit-scrollbar { display: none; }

  .review-card,
  .review-card:nth-child(n) {
    flex: 0 0 min(80%, 320px);
    margin-block: 0;
    padding: 26px 24px 22px;
    border: 1px solid rgba(16, 36, 59, .1);
    border-radius: var(--r-md);
    scroll-snap-align: start;
    box-shadow: var(--m-card), 0 0 30px rgba(110, 165, 235, .2);
  }

  .review-card:nth-child(n) .review-text { font-size: 1.05rem; }

  .review-stars { margin-bottom: 14px; font-size: 1.4rem; letter-spacing: .1em; }

  .js .review-card.reveal {
    opacity: 1;
    translate: none;
    scale: 1;
    transition: none;
  }

  .review-action { margin-top: 2px; }

  /* ---------- 6. Workmanship ---------- */
  .work.section-feature {
    z-index: 4;
    margin-top: calc(var(--overlap) * -1);
    padding: 12px 0 calc(var(--sec-y) + var(--overlap));
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background:
      radial-gradient(520px 520px at 90% 30%, rgba(110, 165, 235, .2), transparent 70%),
      linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  }

  .work-grid { gap: 0; }

  .work-photo {
    margin-top: -64px;
    isolation: isolate;
  }

  .work-photo::before { top: 16px; left: -8px; right: 8px; bottom: 70px; }

  .work-photo::after {
    content: "";
    position: absolute;
    inset: -20px -24px 40px -24px;
    z-index: -2;
    background: radial-gradient(closest-side, rgba(110, 165, 235, .42), transparent 100%);
    pointer-events: none;
  }

  .work-photo img {
    height: auto;
    aspect-ratio: var(--ratio-port);
    object-position: center 52%;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    box-shadow: none;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }

  .photo-chip { top: 14px; left: 14px; }

  .work-photo figcaption {
    position: absolute;
    right: 0;
    bottom: 6px;
    left: 0;
    padding: 0 18px;
    border-bottom: 0;
    color: rgba(255, 255, 255, .92);
    font-size: .9rem;
    font-weight: 600;
  }

  .work.section-feature .work-copy { margin-top: 18px; padding-top: 0; }

  .work-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .8); }

  .check-list { margin: 20px 0; }

  .check-list li { padding: 13px 0; font-size: .96rem; }

  /* ---------- 7. Process: vertical timeline ---------- */
  .process {
    position: relative;
    z-index: 5;
    margin-top: calc(var(--overlap) * -1);
    padding: calc(var(--sec-y) + var(--overlap)) 0 calc(var(--sec-y) + var(--overlap));
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background:
      radial-gradient(480px 320px at 100% 0%, rgba(150, 190, 235, .3), transparent 70%),
      var(--warm);
  }

  .process-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    border-top: 0;
  }

  .process-grid::before {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 21px;
    width: 2px;
    background: linear-gradient(180deg, rgba(16, 36, 59, .7), rgba(16, 36, 59, .18));
  }

  .process .process-grid > article,
  .process .process-grid > article + article,
  .process .process-grid > article:nth-child(n) {
    position: relative;
    margin-left: 52px;
    padding: 14px 16px 15px;
    border: 1px solid var(--line-light);
    border-radius: var(--r-sm);
    background: var(--white);
    box-shadow: none;
  }

  .process .process-grid > article::before {
    content: "";
    position: absolute;
    top: 33px;
    left: -8px;
    width: 8px;
    height: 2px;
    background: rgba(16, 36, 59, .45);
  }

  .process .process-grid > article > span {
    position: absolute;
    top: 12px;
    left: -52px;
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: .82rem;
    letter-spacing: .04em;
    box-shadow: 0 0 0 5px var(--warm), 0 10px 18px -8px rgba(9, 25, 42, .6);
  }

  .process-grid h3 { margin-bottom: 4px; font-size: 1.15rem; }

  .process-grid p { margin: 0; font-size: .93rem; line-height: 1.5; }

  /* ---------- 8. Real work. Real care. ---------- */
  .section-soft.project-proof {
    position: relative;
    z-index: 6;
    margin-top: calc(var(--overlap) * -1);
    padding: calc(var(--sec-y) + var(--overlap)) 0 var(--sec-y);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background:
      radial-gradient(520px 360px at 0% 100%, rgba(150, 190, 235, .46), transparent 70%),
      radial-gradient(420px 300px at 100% 0%, rgba(16, 36, 59, .08), transparent 70%),
      var(--mist);
    box-shadow: 0 -20px 38px -30px rgba(9, 25, 42, .45);
  }

  .review-layout { gap: 20px; }

  .project-proof .section-heading { margin-bottom: 0; }











  /* ---------- 9. Service area ---------- */
  .service-area {
    padding: var(--sec-y) 0 calc(var(--sec-y) + var(--overlap));
    background:
      radial-gradient(460px 320px at 0% 0%, rgba(150, 190, 235, .34), transparent 70%),
      linear-gradient(180deg, #fbfaf7, var(--warm));
  }

  .service-area-grid { gap: 20px; }

  .county {
    padding: 0 2px;
    background: linear-gradient(transparent 62%, rgba(120, 175, 235, .5) 62%);
    color: var(--navy);
    font-weight: 700;
  }

  .area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 0;
  }

  .service-area .area-list span:nth-child(n) {
    padding: 9px 15px;
    border: 1px solid var(--line-light);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .86);
    box-shadow: none;
    font-size: .9rem;
  }

  .service-area .area-list span:nth-child(-n + 6) { border-color: rgba(16, 36, 59, .38); }

  /* ---------- 10. Contact ---------- */
  .contact-section {
    z-index: 8;
    margin-top: calc(var(--overlap) * -1);
    padding: calc(var(--sec-y) + var(--overlap)) 0 var(--sec-y);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    background:
      radial-gradient(520px 420px at 90% 38%, rgba(110, 165, 235, .3), transparent 66%),
      radial-gradient(420px 320px at 0% 100%, rgba(110, 165, 235, .12), transparent 70%),
      var(--navy-deep);
  }

  .contact-grid { gap: 22px; }

  .contact-copy p:not(.eyebrow) { font-size: 1rem; }

  .phone-link {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    padding: 14px 12px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .07);
    font-size: clamp(1.7rem, 8.4vw, 2.1rem);
    letter-spacing: -.01em;
  }

  .service-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 20px 16px 18px;
    border: 1px solid rgba(150, 195, 245, .3);
    border-radius: var(--r-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
    box-shadow: 0 0 70px rgba(100, 160, 240, .36), 0 24px 50px -28px rgba(0, 0, 0, .6);
  }

  .service-form input,
  .service-form textarea {
    min-height: 50px;
    border-radius: var(--r-sm);
    font-size: 16px;
  }

  .service-form .form-button {
    width: 100%;
    min-height: 54px;
    margin-top: 2px;
    border-radius: var(--r-sm);
    font-size: 1rem;
  }

  /* The call button steps aside while someone is typing in the form */
  .floating-call { transition: transform .2s ease, opacity .2s ease; }

  body:has(.service-form:focus-within) .floating-call {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
  }

  /* ---------- Footer ---------- */
  .site-footer { padding-top: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: 1 / -1; }

}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .floating-call { transition: none; }
}

@media (max-width: 767px) {
  /* Decorative watermarks/glows must never create sideways scroll on phones. */
  main > section, .site-footer { overflow-x: clip; }
  html, body { max-width: 100%; }
}

@media (max-width: 767px) {
  /* The offset outline frames are a desktop flourish; on phones they read as stray lines over the photos. */
}

/* =========================================================
   DESKTOP REFINEMENT  (header branding, sticky utility bar, service cards)
   Everything here is scoped to min-width media queries; phones (below 768px) are untouched.
   ========================================================= */

/* Hose bib marks: hidden until the desktop header/utility layouts that have room for them */
.brand-divider { display: none; }

/* ---------- Header lockup: wordmark | hose bib ---------- */
@media (min-width: 961px) {
  .brand { gap: 16px; }

  .brand-divider {
    display: block;
    width: 1px;
    height: 26px;
    background: linear-gradient(to bottom, transparent, rgba(160, 200, 255, .55), transparent);
  }

  .site-header .header-icon {
    display: block;
    width: 28px;
    height: auto;
    margin: 0;
    opacity: .72;
    transition: opacity .3s ease;
  }

  .brand:hover .header-icon { opacity: 1; }

  /* a hairline of pale-blue light along the bottom edge: premium, not flashy */
  .site-header {
    border-bottom-color: rgba(150, 195, 245, .22);
    box-shadow: inset 0 -1px 0 rgba(150, 195, 245, .08);
    background:
      radial-gradient(520px 120px at 0% 0%, rgba(120, 175, 235, .14), transparent 70%),
      var(--navy);
  }

  .main-nav a { position: relative; }

  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 1px;
    background: rgba(160, 200, 255, .85);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
  }

  .main-nav a:hover::after,
  .main-nav a:focus-visible::after { transform: scaleX(1); }
}

/* ---------- Utility bar: simple at the top, a compact branded header once the main header has passed ---------- */
/* Phone handset: a plain SVG so its colour is ours to control (no emoji). Shown at every width. */
.utility-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.utility-phone-icon {
  flex: none;
  width: 14px;
  height: 14px;
  color: #b9d6f7;
  opacity: .8;
}

.utility-area { border-left: 0; }

.utility-brand { display: none; }

@media (min-width: 768px) {
  .utility-bar {
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
  }

  .utility-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #050f1b 0%, #0a1c31 50%, #050f1b 100%);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
  }

  /* always right-aligned so the phone and license never slide when the bar changes state */
  .utility-inner {
    position: relative;
    z-index: 1;
    justify-content: flex-end;
  }

  .utility-phone { border-left: 0; }
  .utility-insured { border-right: 1px solid rgba(255, 255, 255, .22); }

  .utility-area,
  .utility-insured {
    max-width: 260px;
    overflow: hidden;
    transition: max-width .25s ease, padding .25s ease, opacity .2s ease, border-width .25s ease;
  }

  .utility-phone-icon,
  .utility-license { transition: opacity .25s ease, color .25s ease, filter .25s ease; }
  .utility-phone { transition: text-shadow .25s ease; }

  /* Left side: hose bib + wordmark. Present from the start (so nothing jumps) but invisible and unfocusable until branded. */
  .utility-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    padding-left: 0;
    color: var(--white);
    font-family: "Libre Franklin", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s;
  }

  .utility-brand-icon {
    display: block;
    width: 22px;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(150, 200, 255, .6));
    opacity: .95;
  }

  /* Branded state */
  .utility-bar.is-branded {
    background-color: #050f1b;
    border-bottom-color: rgba(170, 208, 255, .6);
    box-shadow: 0 1px 0 rgba(190, 220, 255, .22), 0 8px 24px -8px rgba(120, 175, 235, .5);
  }

  .utility-bar.is-branded::before { opacity: 1; }

  .utility-bar.is-branded .utility-brand {
    opacity: 1;
    visibility: visible;
    transition: opacity .25s ease, visibility 0s;
  }


  .utility-bar.is-branded .utility-phone { text-shadow: 0 0 12px rgba(150, 200, 255, .45); }

  .utility-bar.is-branded .utility-phone-icon {
    color: #d6e8ff;
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(150, 200, 255, .7));
  }

  .utility-bar.is-branded .utility-license { opacity: .6; }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .utility-bar,
  .utility-bar::before,
  .utility-brand,
  .utility-area,
  .utility-insured,
  .utility-phone,
  .utility-phone-icon,
  .utility-license { transition: none; }
}

@media (min-width: 961px) and (prefers-reduced-motion: reduce) {
  .site-header .header-icon,
  .main-nav a::after { transition: none; }
}

/* Trust statements stay in the branded bar (900px and up); narrower tablets keep the bar to brand + phone */
@media (min-width: 768px) and (max-width: 899px) {
  .utility-bar.is-branded .utility-area,
  .utility-bar.is-branded .utility-insured {
    max-width: 0;
    padding-inline: 0;
    border-width: 0;
    opacity: 0;
  }
}

.utility-trust-icon { display: none; }

@media (min-width: 768px) {
  .utility-area,
  .utility-insured { display: inline-flex; align-items: center; }

  .utility-trust-icon {
    display: block;
    flex: none;
    width: 0;
    height: 13px;
    margin-right: 0;
    color: #b9d6f7;
    opacity: 0;
    transition: width .3s ease, margin-right .3s ease, opacity .3s ease;
  }
}

@media (min-width: 900px) {
  .utility-area,
  .utility-insured {
    transition: color .25s ease, background-color .25s ease, box-shadow .25s ease, padding .25s ease, border-radius .25s ease;
  }

  /* Branded: the two trust statements become recessed pale-blue pills with small icons */
  .utility-bar.is-branded .utility-area,
  .utility-bar.is-branded .utility-insured {
    margin-left: 10px;
    padding: 5px 14px 5px 12px;
    border-width: 0;
    border-radius: 999px;
    color: #d3e5fb;
    background-color: rgba(120, 175, 235, .1);
    box-shadow: inset 0 1px 3px rgba(2, 8, 16, .55), inset 0 0 0 1px rgba(170, 208, 255, .2);
  }

  .utility-bar.is-branded .utility-trust-icon {
    width: 13px;
    margin-right: 7px;
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(150, 200, 255, .65));
    animation: trust-breathe 5s ease-in-out infinite;
  }

  .utility-bar.is-branded .utility-insured .utility-trust-icon { animation-delay: 2.5s; }

  /* a slow band of light travels along the bar, behind the content */
  .utility-bar.is-branded::before {
    background:
      linear-gradient(100deg, transparent 38%, rgba(150, 200, 255, .13) 50%, transparent 62%) 130% 0 / 260% 100% no-repeat,
      linear-gradient(90deg, #050f1b 0%, #0a1c31 50%, #050f1b 100%);
    animation: bar-sheen 10s linear infinite;
  }
}

@keyframes trust-breathe {
  0%, 100% { opacity: .65; }
  50% { opacity: 1; }
}

@keyframes bar-sheen {
  from { background-position: 130% 0, 0 0; }
  to { background-position: -30% 0, 0 0; }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .utility-trust-icon { transition: none; animation: none !important; }
  .utility-bar.is-branded::before { animation: none; }
}

/* =========================================================
   DESIGN SYSTEM  (final layer)
   One small set of tokens drives every section so the static layout stays calm and
   consistent; the motion system (scroll reveal, hover lift, image scale, header and
   utility-bar transitions) then brings that structure to life.

   CARD TYPES   A Featured  : radius 20, feature shadow   (hero photo, work photo, Water Heaters, Drain & Sewer)
                B Standard  : radius 12, standard shadow  (secondary services, reviews, form panel, gallery photos)
                C Technical : radius 6, hairline border, no shadow (trust strip, process steps, area pills, chips)
   IMAGE RATIOS landscape 4:3 · portrait 4:5 · small supporting detail 1:1
   SPACING      --sec-y (88 desktop / 64 tablet / 56 phone) between sections; 8 · 16 · 24 · 40 steps inside them
   MOTION       hover .3s · image scale .35s · scroll reveal .6s · one easing curve
   ========================================================= */
:root {
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --line-light: rgba(16, 36, 59, .14);
  --line-dark: rgba(255, 255, 255, .18);

  --sh-standard: 0 14px 30px -20px rgba(9, 25, 42, .38), 0 2px 6px rgba(9, 25, 42, .06);
  --sh-feature: 0 30px 56px -32px rgba(9, 25, 42, .5), 0 4px 10px rgba(9, 25, 42, .08);
  --sh-hover: 0 28px 50px -26px rgba(9, 25, 42, .5), 0 8px 16px -10px rgba(9, 25, 42, .18);
  --sh-photo: 0 16px 32px -18px rgba(9, 25, 42, .55);
  --frame: 4px solid var(--white);

  --ratio-land: 4 / 3;
  --ratio-port: 4 / 5;
  --ratio-sq: 1 / 1;

  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 40px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-hover: .3s;
  --t-media: .35s;
  --t-reveal: .6s;
}

@media (max-width: 960px) { :root { --sec-y: 64px; --overlap: 28px; } }
@media (max-width: 767px) { :root { --sec-y: 56px; --overlap: 20px; } }

/* ---------- Motion language: one easing, three durations ---------- */
.js .reveal {
  transition:
    opacity var(--t-reveal) var(--ease) var(--reveal-delay, 0s),
    translate var(--t-reveal) var(--ease) var(--reveal-delay, 0s),
    scale var(--t-reveal) var(--ease) var(--reveal-delay, 0s);
}

.button,
.text-link,
.service-card a span { transition-duration: var(--t-hover); }

/* ---------- Dividers: only the 1px hairline, in two colours ---------- */

.work-photo figcaption { border-bottom: 0; }

.hero .trust-row { border-top-color: var(--line-light); }

/* ---------- Pattern A: text + large image — hero and workmanship photos (type A, 4:5) ---------- */
.hero-visual {
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-feature), 0 0 60px rgba(100, 150, 215, .22);
}

.hero-visual > img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--ratio-port);
  object-fit: cover;
}

.hero-badge { border-radius: var(--r-sm); }

.work-photo img {
  height: auto;
  aspect-ratio: var(--ratio-port);
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-feature), 0 0 70px rgba(120, 170, 230, .22);
}

.photo-chip { border-radius: var(--r-sm); }

/* ---------- Reviews: identical cards (type B) ---------- */
.review-grid .review-card,
.review-grid .review-card:nth-child(n) {
  margin-block: 0;
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  box-shadow: var(--sh-standard);
  transition:
    transform var(--t-hover) var(--ease),
    box-shadow var(--t-hover) var(--ease),
    opacity var(--t-reveal) var(--ease) var(--reveal-delay, 0s),
    translate var(--t-reveal) var(--ease) var(--reveal-delay, 0s),
    scale var(--t-reveal) var(--ease) var(--reveal-delay, 0s);
}

.review-grid .review-card .review-text { font-size: 1.05rem; }

@media (hover: hover) and (pointer: fine) {
  .review-grid .review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-hover);
  }
}

/* ---------- Pattern E: project documentation — one portrait primary, two landscape supports ---------- */
.project-gallery img {
  height: auto;
  border: var(--frame);
  border-radius: var(--r-md);
  box-shadow: var(--sh-photo);
  object-fit: cover;
}

.project-gallery > figure:nth-child(1) img { aspect-ratio: var(--ratio-port); }

/* ---------- Contact form panel (type B on navy) ---------- */
.service-form {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
}

.service-form input,
.service-form textarea,
.service-form .form-button { border-radius: var(--r-sm); }

/* ---------- Services: six identical cards, every photo in its own tile ---------- */
.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--sp-3);
  align-items: stretch;
  border: 0;
}

.service-grid .service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: auto;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--sh-standard);
  transition:
    transform var(--t-hover) var(--ease),
    box-shadow var(--t-hover) var(--ease),
    opacity var(--t-reveal) var(--ease) var(--reveal-delay, 0s),
    translate var(--t-reveal) var(--ease) var(--reveal-delay, 0s),
    scale var(--t-reveal) var(--ease) var(--reveal-delay, 0s);
}

.service-grid .service-card::before { display: none; }

/* photo strip: one 3:2 frame; two-photo cards split it into two 3:4 tiles with a hairline of card between */
.service-grid .media {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  aspect-ratio: 3 / 2;
  height: auto;
  overflow: hidden;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--white);
  box-shadow: none;
}

.service-grid .media-main {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--soft);
}

.service-grid .media-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-media) var(--ease);
}

.service-grid .service-card--water .media-main:last-child img { object-position: 28% 50%; }

/* Home Diagnostics: a brand panel in the same frame, until its photography exists */
.service-grid .media--panel .media-main {
  background:
    radial-gradient(70% 90% at 80% 10%, rgba(120, 175, 235, .35), transparent 70%),
    linear-gradient(145deg, var(--navy), var(--navy-deep));
}

.service-grid .media--panel .media-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/hose-bib.png") center / 22% auto no-repeat;
  filter: brightness(0) invert(1);
  opacity: .16;
}

/* copy: identical rhythm on every card */
.service-grid .service-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: var(--sp-3);
}

.service-grid .service-number {
  display: block;
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.service-grid .service-card h3 {
  margin: 0 0 var(--sp-1);
  font-size: 1.4rem;
  line-height: 1.15;
}

.service-grid .service-card p {
  min-height: 0;
  margin: 0 0 var(--sp-2);
  color: var(--slate);
  font-size: .96rem;
  line-height: 1.6;
}

.service-grid .service-card .service-card-copy > a {
  align-self: flex-start;
  margin-top: auto;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 700;
}

.service-grid .service-card a::after { z-index: 3; }

/* hover: the same lift and scale on every card */
@media (hover: hover) and (pointer: fine) {
  .service-grid .service-card:hover {
    z-index: 2;
    background: var(--white);
    box-shadow: var(--sh-hover);
    transform: translateY(-4px);
  }

  .service-grid .service-card:hover .media-main img { transform: scale(1.04); }
}

@media (min-width: 768px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .service-grid { gap: 14px; }
  .service-grid .service-card-copy { padding: 18px 18px 20px; }
  .service-grid .service-card h3 { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .service-grid .service-card:hover,
  .service-grid .service-card:hover .media-main img,
  .review-grid .review-card:hover { transform: none; }
}

/* Tablet (single-column layouts): keep large photos from growing taller than the viewport */
@media (min-width: 768px) and (max-width: 960px) {
  .hero-visual > img { aspect-ratio: var(--ratio-land); object-position: center 45%; }
  .work-photo { max-width: 520px; }
}

/* =========================================================
   REAL WORK. REAL CARE. — one primary photo, four tiles below
   Uses the shared frame, radius, shadow, ratio and motion tokens.
   ========================================================= */
.proof-layout { display: grid; gap: var(--sp-4); }

.proof-top { display: grid; gap: var(--sp-3); align-items: center; }

.proof-photo { margin: 0; }

.proof-frame {
  overflow: hidden;
  border: var(--frame);
  border-radius: var(--r-md);
  box-shadow: var(--sh-photo);
  background: var(--mist);
  aspect-ratio: var(--ratio-land);
}

.proof-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-media) var(--ease);
}

.proof-photo figcaption {
  margin-top: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .01em;
}

.proof-photo figcaption span {
  margin-right: 8px;
  color: #2f6fb5;
  font-weight: 700;
  letter-spacing: .08em;
}

.proof-primary .proof-frame { aspect-ratio: var(--ratio-port); border-radius: var(--r-lg); box-shadow: var(--sh-feature); }
.proof-primary .proof-frame img { object-position: 50% 50%; }
.proof-primary figcaption { font-size: 1rem; }

.proof-tiles { display: grid; gap: var(--sp-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (hover: hover) {
  .proof-photo:hover .proof-frame img { transform: scale(1.04); }
}

@media (min-width: 900px) {
  .proof-top { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: var(--sp-4); }
}

@media (min-width: 1100px) {
  .proof-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
}

@media (min-width: 768px) and (max-width: 899px) {
  .proof-primary { max-width: 520px; }
}

@media (max-width: 767px) {
  .proof-tiles { grid-template-columns: 1fr; }
  .proof-primary .proof-frame { aspect-ratio: var(--ratio-port); border-radius: var(--r-md); }
}

@media (prefers-reduced-motion: reduce) {
  .proof-photo:hover .proof-frame img { transform: none; }
}

/* =========================================================
   FULL-SCREEN INTRO ("front door")
   Sits directly under the sticky utility bar; the main header floats over it.
   Utility bar behavior is untouched.
   ========================================================= */
.site-header {
  position: absolute;
  left: 0;
  right: 0;
  border-bottom: 0;
  box-shadow: none;
  background: linear-gradient(180deg, rgba(9, 25, 42, .78) 0%, rgba(9, 25, 42, .38) 60%, rgba(9, 25, 42, 0) 100%);
}

.intro {
  --bar-h: 38px;
  --header-h: 94px;
  --intro-action-h: 64px;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--bar-h));
  min-height: calc(100svh - var(--bar-h));
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

/* Media layer: an <img> today, a <video> later; both share these rules. */
.intro-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }

.intro-media > img,
.intro-media > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform-origin: 50% 58%;
  animation: intro-settle 2.6s var(--ease) both;
}

/* Cinematic navy: ~50% overall, deeper at left / lower-left where the text sits, lighter toward the upper right */
.intro-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 25, 42, .72) 0%, rgba(9, 25, 42, .44) 48%, rgba(9, 25, 42, .12) 100%),
    linear-gradient(0deg, rgba(9, 25, 42, .62) 0%, rgba(9, 25, 42, 0) 42%),
    rgba(16, 36, 59, .30);
}

.intro-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--header-h) + var(--sp-3));
  padding-bottom: calc(var(--intro-action-h) + 56px);
}

.intro-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--sp-2);
  font-family: "Libre Franklin", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .9);
}

.intro-mark img { height: 18px; width: auto; filter: brightness(0) invert(1); opacity: .75; }

.intro h1 {
  max-width: none;
  margin: 0 0 var(--sp-2);
  color: var(--white);
  font-size: clamp(3rem, 5.6vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.04em;
  text-shadow: 0 2px 30px rgba(9, 25, 42, .45);
}

.intro-accent { color: #bcd7f5; }

.intro-lede {
  max-width: 28em;
  margin: 0 0 var(--sp-3);
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  line-height: 1.5;
}

.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); }

.intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 34px;
  border-radius: var(--r-sm);
  background: var(--warm);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.02rem;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .5);
  transition: transform var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease), background-color var(--t-hover) var(--ease);
}

.intro-cta span { transition: transform var(--t-hover) var(--ease); }
.intro-cta:hover { transform: translateY(-3px); background: var(--white); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .65), 0 0 22px rgba(150, 195, 245, .35); }
.intro-cta:hover span { transform: translateX(4px); }
.intro-cta:active { transform: translateY(0) scale(.98); }

.intro-call {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
  font-size: .98rem;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  transition: border-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease);
}

.intro-call:hover { color: var(--white); border-color: var(--white); }

.intro :focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

/* Bottom action strip: translucent navy glass, integrated into the intro */
.intro-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(150, 195, 245, .28);
  background: rgba(9, 25, 42, .62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.intro-bar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--intro-action-h);
  color: var(--white);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background-color var(--t-hover) var(--ease);
}

.intro-bar-link + .intro-bar-link { border-left: 1px solid rgba(150, 195, 245, .28); }
.intro-bar-link:hover { background: rgba(255, 255, 255, .08); }
.intro-bar-link:active { background: rgba(255, 255, 255, .14); }

/* Understated scroll cue */
.intro-scroll {
  position: absolute;
  left: 50%;
  bottom: calc(var(--intro-action-h) + 18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .7);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.intro-scroll i {
  display: block;
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0));
  transform-origin: top;
  animation: intro-cue 2.4s var(--ease) infinite 2s;
}

.intro-end { display: block; height: 0; }

/* Entrance: opacity + small translateY, staggered */
.intro-mark, .intro h1, .intro-lede, .intro-actions { animation: intro-rise var(--t-reveal) var(--ease) both; }
.intro-mark { animation-delay: .15s; }
.intro h1 { animation-delay: .3s; }
.intro-lede { animation-delay: .5s; }
.intro-actions { animation-delay: .65s; }
.intro-bar, .intro-scroll { animation: intro-fade .8s var(--ease) both .9s; }

@keyframes intro-settle { from { transform: scale(1.03); } to { transform: scale(1); } }
@keyframes intro-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes intro-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-cue { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* The floating call button would sit on the intro's own action strip, so it waits until the intro is scrolled past */
body.intro-active .floating-call { opacity: 0; visibility: hidden; pointer-events: none; }

/* Old hero is now the lighter "service introduction" */
.hero .hero-title {
  margin-bottom: 26px;
  font-size: clamp(2.3rem, 3.7vw, 3.5rem);
  font-weight: 700;
  line-height: .98;
  color: var(--navy);
}

@media (max-width: 960px) {
  .intro { --header-h: 78px; }
}

@media (max-width: 767px) {
  .intro { --intro-action-h: 60px; }
  .intro-media > img, .intro-media > video { object-position: 38% 54%; }
  .intro-content { justify-content: flex-end; padding-top: calc(var(--header-h) + var(--sp-2)); padding-bottom: calc(var(--intro-action-h) + 24px); }
  .intro-mark { margin-bottom: 12px; font-size: .72rem; }
  .intro h1 { font-size: clamp(2.3rem, 10.2vw, 3.3rem); margin-bottom: 12px; }
  .intro-lede { margin-bottom: var(--sp-2); font-size: 1rem; }
  .intro-actions { gap: 4px; }
  .intro-scrim {
    background:
      linear-gradient(0deg, rgba(9, 25, 42, .78) 0%, rgba(9, 25, 42, .3) 55%, rgba(9, 25, 42, 0) 100%),
      linear-gradient(90deg, rgba(9, 25, 42, .5) 0%, rgba(9, 25, 42, .1) 100%),
      rgba(16, 36, 59, .28);
  }
  .intro-cta { width: 100%; justify-content: center; }
  .intro-actions { width: 100%; }
  .intro-scroll { display: none; }
  .hero .hero-title { order: 2; font-size: clamp(2.2rem, 9.6vw, 2.9rem); margin-bottom: 14px; }
}

@media (max-height: 620px) { .intro-scroll { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .intro-media > img, .intro-media > video,
  .intro-mark, .intro h1, .intro-lede, .intro-actions, .intro-bar, .intro-scroll, .intro-scroll i { animation: none; }
  .intro-cta, .intro-cta span { transition: none; }
  .intro-cta:hover, .intro-cta:hover span { transform: none; }
}

/* =========================================================
   GOOGLE REVIEWS: real customer reviews in a swipeable, scroll-snap row
   3 visible on desktop, 2 on tablet, ~1 (with a peek of the next) on phones.
   ========================================================= */
.reviews-lede {
  max-width: 34em;
  margin: 0;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.6;
}

.review-carousel { position: relative; }

.review-grid:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: var(--r-md); }

.review-card .review-text {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.65;
}
.review-card .review-text p { margin: 0 0 .8em; }
.review-card .review-text p:last-child { margin-bottom: 0; }

.review-card .review-stars { margin-bottom: 16px; }

.review-more {
  align-self: flex-start;
  margin: 0 0 20px;
  padding: 2px 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--navy);
  font-size: .85rem;
  font-weight: 700;
  transition: border-color var(--t-hover) var(--ease);
}
.review-more:hover { border-bottom-color: var(--navy); }

.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}

.review-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: "Libre Franklin", sans-serif;
  font-size: .95rem;
  font-weight: 700;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }

.review-name { margin: 0; color: var(--navy); font-size: .98rem; font-weight: 700; line-height: 1.25; }
.review-card .review-source { margin: 2px 0 0; padding: 0; border: 0; font-size: .7rem; }

.review-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; }
.review-count { margin: 0; color: var(--slate); font-size: .82rem; font-weight: 700; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.review-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color var(--t-hover) var(--ease), background-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease), opacity var(--t-hover) var(--ease);
}
.review-arrow:hover:not(:disabled) { border-color: var(--navy); background: var(--navy); color: var(--white); }
.review-arrow:disabled { opacity: .35; cursor: default; }

@media (min-width: 768px) {
  .review-grid {
    display: flex;
    gap: var(--sp-3);
    margin: -12px -6px 0;
    padding: 12px 6px 36px;
    scroll-padding-inline: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .review-grid::-webkit-scrollbar { display: none; }
  .review-grid .review-card,
  .review-grid .review-card:nth-child(n) {
    flex: 0 0 calc((100% - var(--sp-3)) / 2);
    scroll-snap-align: start;
  }
}

@media (min-width: 1000px) {
  .review-grid .review-card,
  .review-grid .review-card:nth-child(n) { flex-basis: calc((100% - 2 * var(--sp-3)) / 3); }
}

@media (max-width: 767px) {
  .review-arrow { display: none; }
  .review-nav { margin-top: 0; padding-bottom: 6px; }
  .review-grid .review-card,
  .review-grid .review-card:nth-child(n) { flex-basis: min(84%, 340px); }
  .review-card .review-text { font-size: 1.04rem; }
}

@media (prefers-reduced-motion: reduce) {
  .review-more, .review-arrow { transition: none; }
}

/* Keep visually-hidden helper text (sr-only spans) inside the scroll row so it never widens the page */
.review-grid { position: relative; }
