.page-shell {
  --content-gutter: clamp(18px, 4vw, 60px);
  max-width: 1440px;
  margin-inline: auto;
}

.wcs-service-index,
.wcs-service-feature {
  width: 100%;
  padding-inline: var(--content-gutter);
}

.g-about,
.g-contact {
  padding-inline: var(--content-gutter);
}

.site-badge {
  display: block;
  aspect-ratio: 1;
}

.f-service {
  --card-badge: clamp(46px, 6cqw, 78px);
}

.f-service-badge {
  position: relative;
  width: var(--card-badge);
  margin: calc(var(--card-badge) * -.5) auto 6px;
  pointer-events: none;
}

.g-values .g-value-badge {
  width: clamp(49px, 6cqw, 82px);
  margin: 0 auto 7px;
}

.g-footer {
  --footer-navy: #00264e;
  --footer-red: #df000b;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 0 clamp(23px, 3.1vw, 46px);
  background: var(--footer-navy);
  color: white;
  border-radius: 50% 50% 0 0 / clamp(12px, 2vw, 28px) clamp(12px, 2vw, 28px) 0 0;
}

.g-footer::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: auto 0 0;
  height: clamp(42px, 8.5vw, 120px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M-8 4C210 146 460 99 710 95C990 90 1215 138 1448 4L1448 25C1215 156 990 107 710 113C460 116 210 164-8 25Z' fill='%23df000b' stroke='white' stroke-width='2.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.g-footer-contact,
.g-footer-bottom {
  display: grid;
  align-items: center;
  padding-inline: var(--content-gutter);
}

.g-footer-contact {
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(16px, 3vw, 44px);
  padding-block: clamp(18px, 2.2vw, 32px) clamp(12px, 1.4vw, 20px);
}

.g-footer-contact a {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 22px);
  min-width: 0;
  color: white;
  font: 700 clamp(26px, 3.4cqw, 48px)/1.1 Oswald, sans-serif;
  text-decoration: none;
}

.g-footer-contact a:last-child {
  border-left: 1px solid #ffffff99;
  padding-left: clamp(16px, 2.5vw, 38px);
  font-size: clamp(17px, 2.22cqw, 32px);
}

.g-footer-contact a > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.g-footer-contact small {
  display: block;
  margin-bottom: 4px;
  font: 500 clamp(14px, 1.6cqw, 23px)/1.1 Oswald, sans-serif;
  text-transform: uppercase;
}

.g-footer-contact .g-contact-icon {
  width: clamp(48px, 5.4cqw, 78px);
  height: clamp(48px, 5.4cqw, 78px);
  border: 2px solid white;
  background: var(--footer-red);
}

.g-footer-bottom {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(18px, 3.2vw, 46px);
  padding-block: clamp(15px, 1.7vw, 24px) 6px;
  border-top: 1px solid #ffffffc9;
  border-radius: 50% 50% 0 0 / 13px 13px 0 0;
}

.g-footer nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.g-footer nav a {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  padding-inline: 4px;
  color: white;
  text-align: center;
  font: 600 clamp(14px, 1.65cqw, 24px)/1.15 Oswald, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
}

.g-footer nav a + a {
  border-left: 1px solid #ffffff66;
}

.g-footer nav .g-service-badge {
  width: clamp(42px, 4.65cqw, 67px);
  max-width: 100%;
}

.g-footer-slogan {
  width: min(100%, 490px);
  justify-self: center;
  mix-blend-mode: lighten;
  clip-path: polygon(0 0, 100% 0, 100% 91%, 93% 100%, 0 100%);
}

.g-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .g-footer-contact,
  .g-footer-bottom {
    grid-template-columns: 1fr;
  }

  .g-footer-contact a:last-child {
    padding-left: 0;
    border-left: 0;
    font-size: clamp(17px, 5vw, 27px);
  }

  .g-footer-slogan {
    max-width: 330px;
  }
}

.wcs-service-badge > .site-badge {
  width: 100%;
}

.wcs-titled-hero { position: relative; }
.wcs-titled-hero h1 {
  position: absolute; bottom: 5%; right: 0; margin: 0;
  padding: .12em .65em .22em .9em; color: white; background: #06264d;
  border-bottom: 4px solid #dc101c; border-radius: 80% 0 0 10% / 32% 0 0 15%;
  font: italic 700 clamp(26px, 4vw, 62px)/1.2 Georgia, serif;
}
.wcs-photo-services, .wcs-gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.wcs-photo-services, .wcs-gallery { padding: clamp(18px, 2.3vw, 34px); }
.wcs-photo-service { display: grid; grid-template-columns: .95fr 1.05fr; background: #f5f5f4; border-radius: 5px; overflow: hidden; }
.wcs-photo-service > div { padding: clamp(14px,1.5vw,24px); align-self: center; }
.wcs-photo-service h2, .wcs-gallery h2, .wcs-review-letter h2 { font: 650 clamp(25px,2.6vw,40px)/1.15 Oswald,sans-serif; color: #06264d; margin: 0; }
.wcs-photo-service h2 { display: flex; gap: 10px; align-items: center; text-transform: uppercase; }
.wcs-tile-badge { width: clamp(36px,4vw,56px); flex-shrink: 0; }
.wcs-tile-photo img { width:100%; height:100%; object-fit:cover; }
.wcs-photo-service p, .wcs-gallery p, .wcs-review-letter p { font: 400 clamp(17px,1.35vw,20px)/1.45 'Source Sans 3',Arial,sans-serif; color: #142e4d; margin: .7em 0 1em; }
.wcs-gallery-grid a { display: block; position: relative; color:white; }
.wcs-gallery-grid img { aspect-ratio: 3/2; }
.wcs-gallery-grid a span { display:block; background:#06264d; padding:10px 16px; font:600 24px Oswald,sans-serif; }
.wcs-gallery-grid a span span { float:right; padding:0; }
.wcs-review-letter { max-width: 640px; margin: clamp(26px,4vw,64px) auto; padding: 0 24px; }
.wcs-letter-logo { display:block; margin:0 auto 18px; object-fit:contain; }
.wcs-review-letter h2 { color:#b90012; }
.wcs-review-letter strong { font:italic 700 30px Georgia,serif; }
@media (max-width: 900px) { .wcs-photo-services { grid-template-columns:1fr; } }
@media (max-width: 560px) {
  .wcs-photo-service, .wcs-gallery-grid { grid-template-columns:1fr; }
  .wcs-tile-photo img { height:auto; aspect-ratio: 3/2; }
  .wcs-titled-hero h1 { position:static; border-radius:0; padding:10px 18px; }
}
.wcs-owners-photo { display:block; width:100%; height:auto; align-self:center; border-radius:6px; }
@media (max-width: 640px) { .wcs-owners-photo { grid-row:1; } }

.estimate-toggle, .home-estimate {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  box-shadow: 0 3px 16px #00264e38;
}
.estimate-toggle {
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 35;
  font-size: 17px;
  cursor: pointer;
}
.home-estimate {
  font-family: 'Source Sans 3', Arial, sans-serif;
  inset-inline-start: auto;
  top: auto;
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + 52px);
  margin: 0;
  width: min(360px, calc(100% - 28px));
  max-height: calc(100dvh - 88px - env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  border: 1px solid #bcc6d0;
  border-radius: 6px;
  background: white;
  color: #06264d;
}
.home-estimate header { display: flex; align-items: center; justify-content: space-between; }
.home-estimate h2 { margin: 0; font: 600 23px Oswald, sans-serif; }
.home-estimate header button { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; font-size: 24px; cursor: pointer; }
.home-estimate form { display: grid; gap: 10px; }
.home-estimate label { display: grid; gap: 4px; font-size: 16px; font-weight: 600; }
.home-estimate input, .home-estimate select, .home-estimate textarea {
  width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px;
  background: white; border: 1px solid #8794a2; border-radius: 4px;
  color: #142e4d; font: 400 16px/1.35 'Source Sans 3', Arial, sans-serif;
}
.home-estimate textarea { resize: vertical; }
.home-estimate-action { align-self: end; }
.home-estimate-action .f-button { width: 100%; min-height: 44px; font-size: 17px; cursor: pointer; }
.home-estimate-action small { display: block; margin-top: 6px; font-size: 14px; }
.home-estimate #draft-status { grid-column: 1 / -1; margin: 0; }

.wcs-area-columns, .wcs-town-intro {
  padding: clamp(24px, 4vw, 54px) var(--content-gutter);
  color: #06264d;
  font: 400 clamp(17px, 1.35vw, 20px)/1.5 'Source Sans 3', Arial, sans-serif;
}
.wcs-area-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 76px); }
.wcs-area-columns h2, .wcs-town-intro h2 { font: 650 clamp(26px, 2.6vw, 40px)/1.15 Oswald, sans-serif; }
.wcs-area-columns h3 { font: 600 21px Oswald, sans-serif; }
.wcs-area-columns p, .wcs-town-intro p { max-width: 68ch; margin: 10px 0 16px; }
.wcs-area-columns ul { margin: 8px 0 14px; padding-left: 1.25em; list-style: disc; }
.wcs-area-columns > div a { text-decoration: underline; }
.wcs-town-intro { padding-bottom: 0; }
.wcs-town-intro .breadcrumbs { margin-bottom: 16px; }
.wcs-town-directory { align-self: center; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.wcs-town-directory a {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 16px;
  background: #f2f4f6; color: #06264d; border-bottom: 2px solid #ccd4dd;
  font: 600 20px Oswald, sans-serif;
}
.wcs-town-directory a span { color: #ba0011; }
.wcs-town-directory a:hover { background: #e5eaf0; }
@media (max-width: 760px) { .wcs-area-columns { grid-template-columns: 1fr; } }

.wcs-policy {
  max-width: 72ch;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 80px) 24px;
  color: #102d48;
  font: 400 1.125rem/1.55 'Source Sans 3', Arial, sans-serif;
  overflow-wrap: anywhere;
}
.wcs-policy h1, .wcs-policy h2 {
  color: #00264e;
  font-family: Oswald, sans-serif;
  line-height: 1.15;
}
.wcs-policy h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 3.75rem); }
.wcs-policy h2 { margin: 1.5em 0 .35em; font-size: 1.55rem; }
.wcs-policy p { margin: 0 0 .85em; }
.wcs-policy .wcs-policy-date { margin: .5em 0 1.75em; font-size: 1rem; }
.wcs-policy a, .g-footer .wcs-policy-links a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.wcs-policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.5rem; padding: .5rem 1rem; }
.wcs-policy-links a { font: 500 1rem/2 'Source Sans 3', Arial, sans-serif; }
