/* Marine — photographic depth, landscape film and service-page compositions. */
:root {
  --shadow-soft: 0 12px 35px rgb(15 45 54 / 8%);
  --shadow-deep: 0 28px 64px rgb(3 21 29 / 28%);
}
.header { box-shadow: 0 3px 24px rgb(13 42 51 / 5%); }
.header a[aria-current="page"] { color: var(--teal); }
.header a[aria-current="page"]::after { width: 100%; }
.button { border-radius: 7px; }

/* A clean gradient gives the film its own space in the opening. */
.home .hero { background: #102e38; padding-top: 46px; }
.home .hero::before {
  content: "";
  position: absolute;
  inset: -50px;
  background: radial-gradient(ellipse at 95% 45%, #31616a52, transparent 65%),
    linear-gradient(110deg, #102e38, #163a44);
  opacity: 1;
  pointer-events: none;
}
.home .hero::after {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  top: -270px;
  right: -120px;
  background: radial-gradient(circle, #ca9a5152, transparent 65%);
  pointer-events: none;
}
.home .hero > .container { position: relative; z-index: 1; }
.home .hero-grid { grid-template-columns: .96fr 1.04fr; gap: 70px; min-height: 540px; }
.home .hero-copy { position: relative; z-index: 3; padding-bottom: 20px; }
.home h1 { font-size: clamp(44px, 5vw, 70px); text-wrap: balance; }
.home .hero-copy > p { max-width: 445px; }
.hero-media { min-height: 0; padding: 0; display: block; align-self: center; }
.hero-media::before {
  display: none;
}
.hero-media::after { display: none; }
.hero-picture {
  position: absolute;
  inset: 0 0 126px 28px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e3c4966b;
  border-radius: 80px 20px 20px 20px;
  box-shadow: var(--shadow-deep);
  background: #213f46;
}
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 42%; }
.hero-picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #071e2755, transparent 32%, #071e2780);
  pointer-events: none;
}
.hero-picture figcaption {
  position: absolute;
  top: 27px;
  right: 24px;
  z-index: 1;
  text-align: right;
  color: white;
  font-size: 9px;
  letter-spacing: .15em;
}
.hero-picture figcaption span { display: block; font-size: 9px; letter-spacing: 0; color: #d1d9d5; margin-top: 5px; }
.film-feature {
  position: relative;
  width: 100%;
  max-width: none;
  right: auto;
  bottom: auto;
  padding: 0;
  border: 1px solid #a9c8ce5c;
  border-radius: 18px;
  background: #153740;
  box-shadow: 0 25px 60px #03151d55;
  overflow: hidden;
}
.film-heading { font-size: 9px; letter-spacing: .12em; align-items: center; margin: 0; padding: 17px 20px; }
.film-heading > span:last-child { color: var(--brass); letter-spacing: .04em; }
.film-player { aspect-ratio: 16 / 9; border: 0; border-radius: 0; box-shadow: none; }
.film-play { padding: 24px; flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 14px; background: linear-gradient(transparent 25%, #071c23a6); }
.film-play .play-circle { width: 56px; height: 56px; background: var(--brass); }
.film-play > span:last-child { text-shadow: 0 2px 9px #041d28; text-align: left; padding-bottom: 5px; }
.film-play small { font-size: 10px; }
.film-caption { font-size: 12px; margin: 0; padding: 18px 20px 0; }
.film-description { margin: 9px 20px 18px; }
.film-description[open] p { max-height: 170px; overflow: auto; }
.film-feature:has(.film-description[open]) { padding-bottom: 0; }
.hero-service-note {
  top: 110px;
  bottom: auto;
  left: -12px;
  z-index: 3;
  padding: 17px 20px;
  border: 1px solid #d5e4dc70;
  border-radius: 12px;
  background: #f3f3e9ed;
  box-shadow: 0 12px 35px #03151d4d;
  color: #46646b;
  transform: rotate(-3deg);
}
.hero-service-note svg { color: #9c6f3e; }
.hero-service-note strong { color: var(--navy); font-size: 20px; }
.home .service-strip { margin-top: 40px; border-color: #8bbab72e; }
.home .home-emergency { position: relative; box-shadow: 0 12px 35px #163a4110; }
.home .services { background: linear-gradient(#fff, #f9faf7); }
.home .service-row { border-top: 3px solid #d4b17a; box-shadow: 0 8px 22px #163a4106; }
.home .service-row:hover { box-shadow: var(--shadow-soft); }
.home .customers { background: radial-gradient(ellipse at top left, #e4efea, transparent 65%), #f4f2ec; }
.home .customer-panel { box-shadow: 0 15px 40px #163a4110; }
.home .customer-photo::after { inset: 0; background: linear-gradient(120deg, transparent 45%, #092c3c29); }
.home .area-board { position: relative; background: white; box-shadow: 14px 14px 0 #e7efea, var(--shadow-soft); }
.home .contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #15353ef2, #15353edb), url('/assets/commercial-pipework-1280.webp') center / cover;
  filter: blur(3px);
}
.home .contact > .container { position: relative; }
.home .call-prep { background: #244953f5; box-shadow: var(--shadow-deep); }

/* Every service page has a distinct photographic introduction and visual rhythm. */
.service-page { background: #fcfcf9; }
.service-page .detail-hero { position: relative; overflow: hidden; padding: 29px 0 63px; background: #edf2ee; }
.service-page .detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 88% 30%, #c0d8d0 0%, transparent 60%);
  pointer-events: none;
}
.service-page .detail-hero > .container { position: relative; }
.service-page .breadcrumbs { margin-bottom: 35px; color: #557078; font-size: 11px; }
.service-hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 70px; align-items: center; }
.service-hero-copy .eyebrow { font-size: 9px; color: #547367; margin-bottom: 20px; }
.service-page .detail-hero h1 { font-size: clamp(38px, 4vw, 56px); line-height: 1.12; max-width: 600px; text-wrap: balance; }
.service-hero-copy > p { margin: 25px 0 29px; max-width: 530px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.service-hero-copy .button { background: var(--navy); box-shadow: 0 9px 22px #163a411b; }
.service-hero-copy .button:hover { background: #1e5260; }
.service-photo-wrap { position: relative; padding: 0 0 16px 16px; }
.service-photo-wrap::before { content: ""; position: absolute; inset: 24px 20px 0 0; border-radius: 18px; border: 1px solid #b1c7bd; transform: rotate(-4deg); }
.service-hero-photo { position: relative; margin: 0; height: 440px; overflow: hidden; border-radius: 75px 18px 18px 18px; box-shadow: 0 24px 46px #15353e24; background: #14343d; }
.service-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.repair-page .service-hero-photo img { object-position: 57% 50%; }
.emergency-page .service-hero-photo img { object-position: 32% 50%; }
.property-page .service-hero-photo img { object-position: 60% 50%; }
.service-hero-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #0c293bd9); pointer-events: none; }
.service-hero-photo figcaption { position: absolute; z-index: 1; left: 25px; right: 25px; bottom: 24px; color: #fff; }
.service-hero-photo figcaption strong { display: block; max-width: 270px; font: 500 24px/1.25 var(--heading); letter-spacing: -.025em; }
.service-hero-photo figcaption small { display: block; margin-top: 12px; font-size: 9px; letter-spacing: .02em; color: #cddbdc; }
.service-photo-marker { position: absolute; top: 37px; left: -3px; display: grid; place-items: center; width: 72px; height: 72px; background: #ead1a8; color: var(--navy); border: 5px solid #f8f9f2; border-radius: 50%; box-shadow: 0 9px 20px #15353e20; }
.service-photo-marker svg { width: 30px; height: 30px; }
.emergency-page .detail-hero { background: #12343d; color: white; }
.emergency-page .detail-hero::before { background: radial-gradient(ellipse at 85% 20%, #bb955236, transparent 65%); }
.emergency-page .breadcrumbs, .emergency-page .service-hero-copy > p { color: #c6dadc; }
.emergency-page .service-hero-copy .eyebrow { color: var(--mint); }
.emergency-page .service-hero-copy .button { background: var(--brass); color: var(--navy); }
.emergency-page .service-photo-wrap::before { border-color: #a7cbc04d; }
.emergency-page .service-photo-marker { border-color: #12343d; }
.service-wayfinding { background: white; border-bottom: 1px solid #e2e9e3; }
.service-wayfinding .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.service-wayfinding-item { display: flex; align-items: center; gap: 15px; padding: 24px 20px 24px 0; }
.service-wayfinding-item + .service-wayfinding-item { border-left: 1px solid #e2e9e3; padding-left: 30px; }
.service-wayfinding-item > span { display: grid; place-items: center; width: 33px; height: 33px; flex-shrink: 0; border: 1px solid #d8c5a4; border-radius: 50%; font-size: 10px; color: #967146; }
.service-wayfinding-item strong { display: block; font-weight: 600; font-size: 13px; }
.service-wayfinding-item small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.service-page .detail-body { padding: 75px 0 90px; }
.service-page .detail-layout { gap: 65px; }
.service-page .article-copy h2 { margin: 45px 0 18px; font-size: 29px; }
.service-page .article-copy > h2:first-child { margin-top: 0; }
.service-page .article-copy > h2::before { content: ""; display: block; width: 34px; height: 3px; background: #c29c64; margin-bottom: 16px; }
.service-page .article-copy p, .service-page .article-copy li { color: #536a70; }
.service-page .detail-cards { counter-reset: service-card; gap: 15px; margin: 27px 0 38px; }
.service-page .detail-cards article { position: relative; counter-increment: service-card; background: white; border: 1px solid #e1e8df; border-radius: 13px; padding: 25px 25px 25px 78px; box-shadow: 0 6px 19px #163a4105; }
.service-page .detail-cards article::before { content: "0" counter(service-card); position: absolute; left: 23px; top: 27px; color: #886942; background: #f2e6d1; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 10px; }
.service-page .detail-cards h3 { font-size: 21px; }
.service-page .detail-cards p { font-size: 14px; }
.editorial-photo { position: relative; overflow: hidden; margin: 42px 0; border-radius: 14px; box-shadow: var(--shadow-soft); background: #173842; }
.editorial-photo img { width: 100%; height: 280px; object-fit: cover; }
.editorial-photo figcaption { padding: 18px 23px; color: white; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; line-height: 1.5; }
.editorial-photo figcaption small { color: #b9cfd0; font-size: 9px; white-space: nowrap; }
.service-page .service-sidebar { background: #153a44; color: white; border: 1px solid #45636a; border-top: 4px solid #c7a26a; border-radius: 16px; padding: 30px 26px; box-shadow: 0 18px 40px #15353e1c; }
.service-sidebar .sidebar-symbol { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; background: #284e57; color: var(--brass); border-radius: 13px; }
.sidebar-symbol svg { width: 26px; height: 26px; }
.service-page .service-sidebar .eyebrow { color: #b6d9d1; font-size: 8px; margin-bottom: 16px; }
.service-page .service-sidebar h2 { font-size: 27px; }
.service-page .service-sidebar p { color: #b9ced1; }
.service-page .service-sidebar .sidebar-phone { color: var(--brass); font-size: 24px; }
.service-page .service-sidebar .text-link { color: #cce4de; }
.service-page .service-sidebar hr { border-color: #4b6870; }
.service-page .urgent-band { position: relative; background: linear-gradient(120deg, #10313b, #23515a); border-top: 1px solid #42646a; }
.service-page .urgent-band .emergency-number { color: var(--brass); }
.service-page footer { background: white; }

@media (max-width: 1080px) {
  .home .hero-grid { gap: 40px; min-height: 575px; }
  .home h1 { font-size: 54px; }
  .hero-media { min-height: 0; }
  .hero-picture { bottom: 118px; left: 20px; }
  .hero-service-note { top: 110px; left: -10px; padding: 14px; }
  .hero-service-note strong { font-size: 18px; }
  .film-feature { width: 100%; right: auto; padding: 0; }
  .film-heading { font-size: 8px; }
  .service-hero-grid { gap: 40px; }
  .service-page .detail-hero h1 { font-size: 44px; }
  .service-hero-photo { height: 430px; }
  .service-page .detail-layout { gap: 35px; }
  .service-page .service-sidebar { padding: 25px 20px; }
  .service-wayfinding-item + .service-wayfinding-item { padding-left: 20px; }
}
@media (max-width: 820px) {
  .home .hero-grid { gap: 28px; }
  .home h1 { font-size: 44px; }
  .hero-media { min-height: 0; }
  .hero-picture { left: 8px; bottom: 125px; border-top-left-radius: 60px; }
  .hero-service-note { top: 125px; left: -9px; gap: 7px; padding: 12px; }
  .hero-service-note strong { font-size: 15px; }
  .hero-service-note svg { width: 22px; height: 22px; }
  .film-feature { width: 100%; right: 0; }
  .film-heading { font-size: 7px; }
  .film-caption { font-size: 10px; }
  .film-play { font-size: 12px; gap: 8px; }
  .film-play .play-circle { width: 43px; height: 43px; }
  .film-play small { font-size: 8px; }
  .service-hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
  .service-page .detail-hero h1 { font-size: 37px; }
  .service-hero-copy > p { font-size: 14px; }
  .service-photo-wrap { align-self: center; }
  .service-hero-photo { height: 400px; border-top-left-radius: 55px; }
  .service-hero-photo figcaption { left: 20px; right: 15px; }
  .service-hero-photo figcaption strong { font-size: 21px; }
  .service-wayfinding-item { gap: 10px; padding: 20px 12px 20px 0; }
  .service-wayfinding-item + .service-wayfinding-item { padding-left: 15px; }
  .service-wayfinding-item strong { font-size: 12px; }
  .service-wayfinding-item small { font-size: 10px; }
  .service-page .detail-layout { grid-template-columns: 1fr; }
  .service-page .service-sidebar { position: static; max-width: none; }
}
@media (max-width: 600px) {
  .home .hero { padding-top: 35px; }
  .home .hero::before { opacity: 1; }
  .home .hero-grid { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
  .home h1 { font-size: clamp(39px, 10vw, 54px); }
  .home .hero-copy { padding-bottom: 0; }
  .hero-media { width: 100%; max-width: 440px; min-height: 0; margin: 0 auto; }
  .hero-picture { inset: 0 0 119px 26px; border-top-left-radius: 65px; }
  .hero-media::before { inset: 28px -7px 115px 39px; }
  .hero-picture figcaption { top: 23px; right: 20px; font-size: 8px; }
  .hero-picture figcaption span { font-size: 8px; }
  .hero-service-note { top: 123px; left: 0; padding: 15px 17px; }
  .hero-service-note strong { font-size: 18px; }
  .hero-service-note > span { font-size: 8px; }
  .hero-service-note svg { width: 25px; height: 25px; }
  .film-feature { padding: 0; border-radius: 15px; }
  .film-heading { font-size: 8px; }
  .film-player { border: 0; border-radius: 0; }
  .film-play { padding: 13px; font-size: 13px; gap: 9px; }
  .film-play .play-circle { width: 47px; height: 47px; }
  .film-play small { font-size: 9px; }
  .film-caption { font-size: 11px; }
  .home .service-strip { margin-top: 25px; }
  .home .customer-panel { box-shadow: 0 10px 25px #163a4112; }
  .home .area-board { box-shadow: 7px 7px 0 #e7efea, var(--shadow-soft); }
  .service-page .detail-hero { padding: 23px 0 40px; }
  .service-page .breadcrumbs { font-size: 10px; margin-bottom: 28px; gap: 10px; }
  .service-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-page .detail-hero h1 { font-size: clamp(36px, 9vw, 46px); }
  .service-hero-copy > p { font-size: 14px; margin: 22px 0 25px; }
  .service-hero-copy .eyebrow { font-size: 8px; margin-bottom: 17px; }
  .service-photo-wrap { padding: 0 0 13px 12px; }
  .service-hero-photo { height: 300px; border-top-left-radius: 65px; }
  .service-hero-photo figcaption { left: 24px; bottom: 22px; }
  .service-hero-photo figcaption strong { font-size: 25px; }
  .service-photo-marker { top: 28px; left: -3px; width: 62px; height: 62px; }
  .service-photo-marker svg { width: 25px; height: 25px; }
  .service-wayfinding .container { grid-template-columns: 1fr; padding: 8px 0; }
  .service-wayfinding-item, .service-wayfinding-item + .service-wayfinding-item { padding: 14px 0; border-left: 0; gap: 14px; }
  .service-wayfinding-item + .service-wayfinding-item { border-top: 1px solid #e8ece6; }
  .service-wayfinding-item strong { font-size: 13px; }
  .service-wayfinding-item small { font-size: 11px; }
  .service-page .detail-body { padding: 46px 0 58px; }
  .service-page .article-copy h2 { font-size: 27px; margin-top: 36px; }
  .service-page .detail-cards article { padding: 23px 19px 23px 68px; }
  .service-page .detail-cards article::before { left: 18px; top: 24px; width: 30px; height: 30px; }
  .service-page .detail-cards h3 { font-size: 20px; }
  .service-page .detail-cards p { font-size: 13px; }
  .editorial-photo { margin: 34px 0; }
  .editorial-photo img { height: 235px; }
  .editorial-photo figcaption { display: block; font-size: 13px; padding: 18px 20px; }
  .editorial-photo figcaption small { display: block; margin-top: 5px; }
  .service-page .service-sidebar { padding: 28px; }
}
@media (max-width: 380px) {
  .hero-media { min-height: 0; }
  .hero-picture { bottom: 110px; }
  .hero-service-note { top: 100px; padding: 12px; }
  .hero-service-note strong { font-size: 16px; }
  .film-heading { font-size: 7px; }
  .film-play { font-size: 12px; }
  .film-play small { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Regional emergency-service pages, October 29, 2026. */
.home .hero-actions{flex-wrap:wrap}
.local-coverage{padding:28px 0 0}
.regional-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 28px}
.regional-link{display:block;border:1px solid #c5d8d4;border-radius:12px;padding:22px;background:#f3f8f6;color:#163a41;transition:border-color .15s,box-shadow .15s}
.regional-link:hover{border-color:#6d9b93;box-shadow:0 6px 18px #163a4112}
.regional-link strong{display:block;font-size:17px;line-height:1.4;margin-bottom:8px}
.regional-link span{display:block;font-size:13px;line-height:1.65;color:#476168}
.local-questions details{border-top:1px solid #d4e0dc;padding:16px 0}
.local-questions summary{cursor:pointer;font-weight:700;line-height:1.5}
.local-questions details p{margin:12px 0 0}
@media(max-width:600px){.regional-links{grid-template-columns:1fr}.regional-link{padding:19px}.regional-link strong{font-size:16px}}

@media(max-width:900px){.regional-links{grid-template-columns:1fr}}
