/* Load tokens.css first. The ws- classes are shared by the gallery and service pages. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ws-text-body);
  background: var(--ws-surface-page);
  font: var(--ws-type-body-weight) var(--ws-type-body-size)/var(--ws-type-body-leading) var(--ws-font-main);
}

h1, h2, h3, h4, p, figure, blockquote {
  margin: 0;
}

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

a {
  color: var(--ws-link);
  text-underline-offset: 0.18em;
}

button, input, textarea, select {
  font: inherit;
}

:focus-visible,
[data-preview-state="focus"] {
  outline: var(--ws-focus-width) solid var(--ws-focus-color, var(--ws-focus-light));
  outline-offset: var(--ws-focus-offset);
}

.ws-skip-link {
  position: absolute;
  top: var(--ws-space-3);
  left: var(--ws-space-3);
  z-index: 20;
  padding: var(--ws-space-3) var(--ws-space-4);
  background: var(--ws-surface-page);
  transform: translateY(-200%);
}

.ws-skip-link:focus {
  transform: none;
}

.ws-container {
  width: 100%;
  max-width: var(--ws-container);
  margin: 0 auto;
  padding: 0 var(--ws-gutter);
}

.ws-section {
  padding: var(--ws-section-space) 0;
}

.ws-heading {
  color: var(--ws-text-heading);
  font-size: var(--ws-type-section-size);
  font-weight: var(--ws-type-section-weight);
  line-height: var(--ws-type-section-leading);
  letter-spacing: var(--ws-type-section-tracking);
}

.ws-heading--feature {
  font-size: var(--ws-type-feature-size);
  font-weight: var(--ws-type-feature-weight);
  line-height: var(--ws-type-feature-leading);
  letter-spacing: var(--ws-type-feature-tracking);
}

.ws-eyebrow {
  color: var(--ws-eyebrow-color, var(--ws-text-eyebrow));
  font: var(--ws-type-eyebrow-weight) var(--ws-type-eyebrow-size)/var(--ws-type-eyebrow-leading) var(--ws-font-accent);
  letter-spacing: var(--ws-type-eyebrow-tracking);
}

.ws-note {
  color: var(--ws-text-note);
  font: 400 1.5rem/1.02 var(--ws-font-accent);
  transform: rotate(-1.8deg);
}

.ws-note--on-dark {
  color: var(--ws-text-on-dark-muted);
}

.ws-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ws-space-4);
}

/* Navigation and phone links */

.ws-emergency-strip {
  --ws-focus-color: var(--ws-focus-on-red);
  background: var(--ws-primary-bg);
  color: var(--ws-surface-page);
  text-align: center;
}

.ws-emergency-strip__inner {
  display: flex;
  min-height: var(--ws-control-min);
  justify-content: center;
  align-items: center;
  gap: 0 var(--ws-space-3);
  flex-wrap: wrap;
}

.ws-emergency-strip__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ws-site-header {
  position: relative;
  z-index: 2;
  background: var(--ws-surface-page);
  border-bottom: 1px solid var(--ws-border-quiet);
}

.ws-site-header--sticky {
  position: sticky;
  top: 0;
  box-shadow: var(--ws-shadow-header);
}

.ws-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--ws-space-4);
}

.ws-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: var(--ws-radius-focus);
}

.ws-brand img {
  width: auto;
  height: var(--ws-logo-header-height);
}

.ws-nav-list {
  display: flex;
  align-items: center;
  gap: var(--ws-space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ws-nav-list a,
.ws-nav-list [data-preview-state] {
  display: inline-flex;
  align-items: center;
  min-height: var(--ws-control-min);
  color: var(--ws-text-heading);
  border-radius: var(--ws-radius-focus);
  font-size: var(--ws-type-navigation-size);
  font-weight: var(--ws-type-navigation-weight);
  line-height: var(--ws-type-navigation-leading);
  letter-spacing: var(--ws-type-navigation-tracking);
  text-decoration: none;
  white-space: nowrap;
}

.ws-nav-list a:hover,
.ws-nav-list a:focus-visible,
.ws-nav-list [aria-current="page"],
.ws-nav-list [aria-current="location"],
.ws-nav-list [data-preview-state="current"] {
  color: var(--ws-link-hover);
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
}

.ws-nav-list a:active {
  color: var(--ws-link-active);
}

.ws-nav-mobile {
  display: none;
}

.ws-nav-toggle {
  display: flex;
  min-height: var(--ws-control-min);
  align-items: center;
  gap: var(--ws-space-2);
  padding: var(--ws-space-2) var(--ws-space-3);
  border: 1px solid var(--ws-border-control);
  border-radius: var(--ws-radius-card);
  color: var(--ws-link);
  font-weight: 600;
}

summary.ws-nav-toggle {
  list-style: none;
  cursor: pointer;
}

.ws-nav-toggle::-webkit-details-marker,
.ws-faq summary::-webkit-details-marker {
  display: none;
}

.ws-nav-toggle::after {
  width: 0;
  height: 0;
  content: "";
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.ws-nav-mobile[open] .ws-nav-toggle::after,
.ws-nav-toggle[data-preview-state="expanded"]::after {
  transform: rotate(180deg);
}

summary.ws-nav-toggle:hover,
summary.ws-nav-toggle:active {
  background: var(--ws-surface-card-muted);
  color: var(--ws-link-active);
}

.ws-nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: var(--ws-space-3) var(--ws-gutter);
  background: var(--ws-surface-page);
  border-bottom: 1px solid var(--ws-border-quiet);
  box-shadow: var(--ws-shadow-header);
}

.ws-nav-panel .ws-nav-list {
  display: block;
}

.ws-nav-panel .ws-nav-list a {
  display: flex;
}

.ws-nav-mobile:not([open]) > .ws-nav-panel {
  display: none;
}

.ws-phone-link {
  display: inline-flex;
  min-height: var(--ws-control-min);
  align-items: center;
  color: var(--ws-phone-text);
  border-radius: var(--ws-radius-focus);
  font-size: var(--ws-type-phone-size);
  font-weight: var(--ws-type-phone-weight);
  line-height: var(--ws-type-phone-leading);
  letter-spacing: var(--ws-type-phone-tracking);
  text-decoration: none;
}

.ws-phone-link__number {
  white-space: nowrap;
}

a.ws-phone-link:hover,
.ws-phone-link[data-preview-state="hover"] {
  color: var(--ws-phone-hover-text);
}

a.ws-phone-link:active,
.ws-phone-link[data-preview-state="active"] {
  color: var(--ws-phone-active-text);
}

a.ws-phone-link:hover .ws-phone-link__number,
a.ws-phone-link:focus-visible .ws-phone-link__number,
a.ws-phone-link:active .ws-phone-link__number,
.ws-phone-link[data-preview-state="hover"] .ws-phone-link__number,
.ws-phone-link[data-preview-state="focus"] .ws-phone-link__number,
.ws-phone-link[data-preview-state="active"] .ws-phone-link__number {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ws-phone-link--strip,
a.ws-phone-link--strip:hover,
a.ws-phone-link--strip:active {
  color: var(--ws-surface-page);
  font-size: 0.85rem;
}

.ws-phone-link--strip .ws-phone-link__number {
  text-decoration: underline;
}

.ws-phone-link--strip:focus-visible {
  outline-offset: -3px;
}

.ws-phone-link--header {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  font-size: 1.05rem;
}

.ws-phone-link--header .ws-phone-link__label {
  color: var(--ws-text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ws-phone-link--storefront {
  gap: var(--ws-space-4);
}

.ws-phone-link--storefront img {
  width: 67px;
  height: 67px;
  flex: 0 0 67px;
  border-radius: var(--ws-radius-circle);
  border: 2px solid var(--ws-surface-card);
  box-shadow: var(--ws-shadow-header);
  object-fit: cover;
}

.ws-phone-link--storefront .ws-phone-link__label {
  display: block;
  margin-bottom: 2px;
  color: var(--ws-text-quote);
  font: 400 1rem/1.5 var(--ws-font-accent);
  letter-spacing: 0;
}

/* Primary phone pill */

.ws-phone-pill {
  --ws-pill-border: var(--ws-phone-border);
  --ws-pill-bg: var(--ws-phone-bg);
  display: inline-flex;
  width: var(--ws-phone-width);
  max-width: 100%;
  min-height: var(--ws-phone-height);
  flex: 0 0 auto;
  align-items: center;
  gap: var(--ws-phone-gap);
  padding: var(--ws-phone-inset) var(--ws-space-4) var(--ws-phone-inset) var(--ws-phone-inset);
  background: var(--ws-pill-bg);
  color: var(--ws-phone-text);
  border: 1px solid var(--ws-pill-border);
  border-radius: var(--ws-radius-pill);
  box-shadow: var(--ws-shadow-phone);
  font-size: var(--ws-type-phone-size);
  font-weight: var(--ws-type-phone-weight);
  line-height: var(--ws-type-phone-leading);
  letter-spacing: var(--ws-type-phone-tracking);
  text-decoration: none;
  transition:
    color var(--ws-motion-fast) var(--ws-motion-ease),
    background-color var(--ws-motion-fast) var(--ws-motion-ease),
    border-color var(--ws-motion-fast) var(--ws-motion-ease),
    box-shadow var(--ws-motion-fast) var(--ws-motion-ease),
    transform var(--ws-motion-fast) var(--ws-motion-ease);
}

.ws-phone-pill--light {
  --ws-focus-color: var(--ws-focus-light);
}

.ws-phone-pill--hero,
.ws-phone-pill--dark {
  --ws-focus-color: var(--ws-focus-dark);
}

a.ws-phone-pill:hover,
.ws-phone-pill[data-preview-state="hover"] {
  --ws-pill-bg: var(--ws-phone-hover-bg);
  --ws-pill-border: var(--ws-phone-hover-border);
  color: var(--ws-phone-hover-text);
  box-shadow: var(--ws-shadow-phone-hover);
  transform: translateY(var(--ws-motion-lift));
}

a.ws-phone-pill:active,
.ws-phone-pill[data-preview-state="active"] {
  --ws-pill-bg: var(--ws-phone-active-bg);
  --ws-pill-border: var(--ws-phone-active-border);
  color: var(--ws-phone-active-text);
  box-shadow: none;
  transform: none;
}

.ws-phone-pill__portrait {
  position: relative;
  width: var(--ws-phone-avatar);
  height: var(--ws-phone-avatar);
  flex: 0 0 var(--ws-phone-avatar);
}

.ws-phone-pill__portrait img {
  width: 100%;
  height: 100%;
  border-radius: var(--ws-radius-circle);
  object-fit: cover;
}

.ws-phone-pill__portrait::after {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--ws-presence-dot);
  border: 2px solid var(--ws-pill-bg);
  border-radius: var(--ws-radius-circle);
}

.ws-phone-pill__number {
  white-space: nowrap;
}

/* Non-phone controls, inline links and links on photo cards */

.ws-action {
  display: inline-flex;
  max-width: 100%;
  min-height: var(--ws-control-min);
  align-items: center;
  justify-content: center;
  gap: var(--ws-space-2);
  padding: var(--ws-space-3) var(--ws-space-5);
  border: 1px solid transparent;
  border-radius: var(--ws-radius-card);
  font-size: var(--ws-type-button-size);
  font-weight: var(--ws-type-button-weight);
  line-height: var(--ws-type-button-leading);
  letter-spacing: var(--ws-type-button-tracking);
  text-align: center;
  text-decoration: none;
}

a.ws-action, button.ws-action {
  cursor: pointer;
}

.ws-action--primary {
  background: var(--ws-primary-bg);
  color: var(--ws-primary-text);
}

.ws-action--primary:is(a, button):not(:disabled):hover,
.ws-action--primary[data-preview-state="hover"] {
  background: var(--ws-primary-hover-bg);
}

.ws-action--primary:is(a, button):not(:disabled):active,
.ws-action--primary[data-preview-state="active"] {
  background: var(--ws-primary-active-bg);
}

.ws-action--secondary {
  background: transparent;
  color: var(--ws-link);
  border-color: var(--ws-border-control);
}

.ws-action--secondary:is(a, button):not(:disabled):hover,
.ws-action--secondary[data-preview-state="hover"] {
  background: var(--ws-surface-card-muted);
  color: var(--ws-link-hover);
}

.ws-action--secondary:is(a, button):not(:disabled):active,
.ws-action--secondary[data-preview-state="active"] {
  background: var(--ws-link-hover);
  color: var(--ws-text-on-dark-strong);
  border-color: var(--ws-link-hover);
}

.ws-action--text {
  justify-content: flex-start;
  padding-right: var(--ws-space-2);
  padding-left: var(--ws-space-2);
  background: transparent;
  color: var(--ws-link);
  text-decoration: underline;
}

.ws-action--text:is(a, button):not(:disabled):hover,
.ws-action--text[data-preview-state="hover"] {
  background: var(--ws-surface-card-muted);
  color: var(--ws-link-hover);
}

.ws-action--text:is(a, button):not(:disabled):active,
.ws-action--text[data-preview-state="active"] {
  color: var(--ws-link-active);
  text-decoration-thickness: 0.15em;
}

.ws-action:disabled,
.ws-action[data-preview-state="disabled"] {
  background: var(--ws-disabled-bg);
  color: var(--ws-disabled-text);
  border-color: var(--ws-disabled-border);
  cursor: default;
  text-decoration: none;
}

.ws-action[aria-busy="true"],
.ws-action[data-preview-state="loading"] {
  background: var(--ws-disabled-bg);
  color: var(--ws-disabled-text);
  border-color: var(--ws-disabled-border);
  cursor: progress;
  text-decoration: none;
}

.ws-action[aria-busy="true"]::before,
.ws-action[data-preview-state="loading"]::before {
  width: 0.9em;
  height: 0.9em;
  flex: 0 0 auto;
  content: "";
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: var(--ws-radius-circle);
}

.ws-action[aria-busy="true"]::before {
  animation: ws-spin 1s linear infinite;
}

@keyframes ws-spin {
  to { transform: rotate(360deg); }
}

.ws-link {
  color: var(--ws-link);
  border-radius: var(--ws-radius-focus);
  text-decoration: underline;
}

a.ws-link:visited,
.ws-link[data-preview-state="visited"] {
  color: var(--ws-link-visited);
}

a.ws-link:hover,
.ws-link[data-preview-state="hover"] {
  color: var(--ws-link-hover);
  text-decoration-thickness: 0.12em;
}

a.ws-link:active,
.ws-link[data-preview-state="active"] {
  color: var(--ws-link-active);
}

.ws-link[aria-current="page"],
.ws-link[aria-current="location"],
.ws-link[data-preview-state="current"] {
  font-weight: 700;
}

.ws-service-link {
  --ws-focus-color: var(--ws-focus-dark);
  display: inline-flex;
  min-height: var(--ws-control-min);
  align-items: center;
  color: var(--ws-link-on-dark);
  border-radius: var(--ws-radius-focus);
  font-size: var(--ws-type-service-link-size);
  font-weight: var(--ws-type-service-link-weight);
  line-height: var(--ws-type-service-link-leading);
  letter-spacing: var(--ws-type-service-link-tracking);
  text-decoration: none;
}

a.ws-service-link:visited,
.ws-service-link[data-preview-state="visited"] {
  color: var(--ws-link-on-dark-visited);
}

a.ws-service-link:hover,
.ws-service-link[data-preview-state="hover"] {
  color: var(--ws-link-on-dark-hover);
  text-decoration: underline;
}

a.ws-service-link:focus-visible,
.ws-service-link[data-preview-state="focus"],
.ws-service-link[aria-current="page"],
.ws-service-link[aria-current="location"],
.ws-service-link[data-preview-state="current"] {
  text-decoration: underline;
}

a.ws-service-link:active,
.ws-service-link[data-preview-state="active"] {
  color: var(--ws-link-on-dark-active);
  text-decoration: underline;
}

/* Photo hero and static review cards */

.ws-hero {
  --ws-focus-color: var(--ws-focus-dark);
  --ws-eyebrow-color: var(--ws-text-on-photo);
  --ws-hero-scrim: linear-gradient(90deg, rgba(9, 53, 84, 0.88) 0%, rgba(9, 53, 84, 0.81) 46%, rgba(9, 53, 84, 0.69) 73%, rgba(9, 53, 84, 0.08) 100%);
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: var(--ws-hero-height, 664px);
  align-items: center;
  padding: 112px 0;
  background: var(--ws-surface-photo);
  color: var(--ws-text-on-photo);
  overflow: hidden;
}

.ws-hero__image,
.ws-hero::before,
.ws-service-card__image,
.ws-service-card::before,
.ws-estimate__media,
.ws-estimate::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
}

.ws-hero__image,
.ws-service-card__image,
.ws-estimate__image {
  height: 100%;
  object-fit: cover;
}

.ws-hero__image {
  object-position: var(--ws-hero-position, center);
}

.ws-hero--homepage .ws-hero__image {
  transform: scaleX(-1);
}

.ws-hero::before,
.ws-service-card::before,
.ws-estimate::before {
  z-index: 1;
  content: "";
  pointer-events: none;
}

.ws-hero::before {
  background: var(--ws-hero-scrim);
}

.ws-hero > .ws-container {
  position: relative;
  z-index: 1;
}

.ws-hero__copy {
  max-width: var(--ws-hero-copy-width, 840px);
}

.ws-hero__title {
  margin: var(--ws-space-4) 0 var(--ws-space-5);
  color: var(--ws-text-on-photo);
  font-size: var(--ws-type-hero-size);
  font-weight: var(--ws-type-hero-weight);
  line-height: var(--ws-type-hero-leading);
  letter-spacing: var(--ws-type-hero-tracking);
  overflow-wrap: break-word;
}

.ws-hero__lead {
  max-width: 510px;
  margin-bottom: var(--ws-space-7);
  color: var(--ws-text-on-photo-muted);
  font-size: var(--ws-type-hero-lead-size);
  font-weight: var(--ws-type-hero-lead-weight);
  line-height: var(--ws-type-hero-lead-leading);
  letter-spacing: var(--ws-type-hero-lead-tracking);
}

.ws-rating {
  display: inline-flex;
  width: 258px;
  max-width: 100%;
  min-height: var(--ws-control-min);
  align-items: center;
  gap: var(--ws-space-2);
  padding: 0 var(--ws-space-3);
  background: var(--ws-rating-bg-solid);
  color: var(--ws-text-on-dark-strong);
  border-radius: var(--ws-radius-pill);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

a.ws-rating:hover,
a.ws-rating:focus-visible {
  background: var(--ws-surface-deep);
  text-decoration: underline;
}

.ws-rating > img {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.ws-rating__stars {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 1px;
}

.ws-rating__stars img {
  width: 15px;
  height: 15px;
}

.ws-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--ws-space-5);
}

.ws-review-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: var(--ws-space-6);
  background: var(--ws-surface-card);
  color: var(--ws-text-quote);
  border: 1px solid var(--ws-border-subtle);
  border-radius: var(--ws-radius-card);
  box-shadow: var(--ws-shadow-card);
}

.ws-review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ws-space-4);
}

.ws-review-card__name {
  color: var(--ws-text-note);
  font: 400 1.5625rem/1.4 var(--ws-font-accent);
}

.ws-review-card__stars {
  margin-bottom: var(--ws-space-2);
  color: var(--color-brand-signal);
  letter-spacing: 0.12em;
}

.ws-review-card blockquote {
  margin: 0 0 var(--ws-space-4);
  font-size: 0.875rem;
  line-height: 1.58;
}

.ws-review-card > a {
  display: inline-flex;
  min-height: var(--ws-control-min);
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Photo service cards */

.ws-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--ws-pair-gap);
}

.ws-service-card {
  --ws-card-copy-start: 42%;
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 347px;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 526 / 347;
  overflow: hidden;
  background: var(--ws-surface-photo);
  border-radius: var(--ws-radius-card);
}

.ws-service-card__image {
  max-width: none;
  object-position: var(--ws-card-position, left center);
}

.ws-service-card::before {
  background: linear-gradient(90deg,
    rgba(9, 53, 84, 0.25) 0%,
    rgba(9, 53, 84, 0.45) 29%,
    var(--ws-overlay-photo-copy) var(--ws-card-copy-start),
    var(--ws-surface-deep) 100%);
}

.ws-service-card__copy {
  position: relative;
  z-index: 1;
  padding: var(--ws-space-8) var(--ws-space-7) var(--ws-space-8) var(--ws-card-copy-start);
}

.ws-service-card__copy h3 {
  margin-bottom: var(--ws-space-3);
  color: var(--ws-text-on-photo);
  font-size: var(--ws-type-service-size);
  font-weight: var(--ws-type-service-weight);
  line-height: var(--ws-type-service-leading);
  letter-spacing: var(--ws-type-service-tracking);
}

.ws-service-card__copy p {
  color: var(--ws-text-on-photo-muted);
  font-size: var(--ws-type-service-body-size);
  font-weight: var(--ws-type-service-body-weight);
  line-height: var(--ws-type-service-body-leading);
  letter-spacing: var(--ws-type-service-body-tracking);
}

.ws-service-card__copy .ws-service-link {
  margin-top: var(--ws-space-2);
}

/* Truck estimate */

.ws-estimate {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--ws-surface-page);
  border: 1px solid var(--ws-surface-card-muted);
  border-radius: var(--ws-radius-card);
  box-shadow: var(--ws-shadow-card);
}

.ws-estimate::before {
  background: linear-gradient(90deg,
    var(--ws-surface-page) 0%,
    var(--ws-overlay-estimate-copy) 42%,
    rgba(246, 244, 240, 0.75) 49%,
    rgba(246, 244, 240, 0.16) 58%,
    rgba(246, 244, 240, 0) 68%);
}

.ws-estimate__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  object-position: center 46%;
}

.ws-estimate__copy {
  position: relative;
  z-index: 1;
  width: 53%;
  padding: var(--ws-space-12) var(--ws-space-14);
}

.ws-estimate__copy .ws-heading,
.ws-certified__copy .ws-heading {
  font-size: var(--ws-type-h4-size);
  font-weight: var(--ws-type-h4-weight);
  line-height: var(--ws-type-h4-leading);
}

.ws-estimate__copy .ws-heading {
  margin: var(--ws-space-1) 0 var(--ws-space-4);
}

.ws-estimate__copy .ws-heading + p {
  margin-bottom: var(--ws-space-7);
  color: var(--ws-text-warm);
}

/* Crew photo prints and Certified Safe */

.ws-polaroid-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0 var(--ws-space-5) -44px;
  padding: 0 var(--ws-space-3) var(--ws-space-3);
}

.ws-polaroid {
  position: relative;
  width: 20%;
  flex: 0 0 auto;
  margin: 0 -5px;
  padding: var(--ws-space-3) var(--ws-space-3) 0;
  background: var(--ws-surface-frame);
  border: 1px solid var(--ws-border-subtle);
  box-shadow: var(--ws-shadow-print);
}

.ws-polaroid--1 {
  z-index: 1;
  transform: translateY(24px) rotate(-7deg);
}

.ws-polaroid--2 {
  z-index: 2;
  transform: translateY(8px) rotate(-4.5deg);
}

.ws-polaroid--3 {
  z-index: 3;
  width: 24%;
  transform: rotate(-1deg);
}

.ws-polaroid--4 {
  z-index: 2;
  transform: translateY(10px) rotate(4deg);
}

.ws-polaroid--5 {
  z-index: 1;
  transform: translateY(28px) rotate(6.5deg);
}

.ws-polaroid__photo {
  position: relative;
  overflow: hidden;
  padding-top: 100%;
  background: var(--ws-surface-card-muted);
}

.ws-polaroid__photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-polaroid figcaption {
  padding: var(--ws-space-3) var(--ws-space-1) var(--ws-space-4);
  color: var(--ws-text-note);
  font: 400 1.2rem/1.2 var(--ws-font-accent);
  text-align: center;
}

.ws-certified {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 36%);
  background: var(--ws-surface-card);
  border: 1px solid var(--ws-surface-card-muted);
  border-radius: var(--ws-radius-card);
}

.ws-certified__copy {
  padding: 100px var(--ws-space-10) var(--ws-space-12);
}

.ws-certified__copy .ws-heading + p {
  margin: var(--ws-space-4) 0 var(--ws-space-6);
  max-width: var(--ws-content-measure);
  color: var(--ws-text-warm);
}

.ws-certified__copy .ws-note {
  margin-bottom: var(--ws-space-3);
}

.ws-certified__seal {
  padding: 94px var(--ws-space-6) var(--ws-space-8);
  border-left: 1px solid var(--ws-surface-card-muted);
  border-radius: 0 var(--ws-radius-card) var(--ws-radius-card) 0;
  background: var(--ws-surface-warm);
  text-align: center;
}

.ws-certified__badge {
  display: flex;
  width: 98px;
  height: 98px;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--ws-space-4);
  background: var(--ws-primary-bg);
  border-radius: var(--ws-radius-circle);
  box-shadow: var(--ws-shadow-seal);
}

.ws-certified__badge img {
  width: 52px;
  height: 62px;
  flex: 0 0 52px;
  object-fit: contain;
}

.ws-certified__title {
  margin-bottom: var(--ws-space-4);
  color: var(--ws-phone-text);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ws-certified__list {
  display: grid;
  gap: var(--ws-space-3);
  max-width: 310px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.ws-certified__list li {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: var(--ws-space-3);
  padding: var(--ws-space-3) var(--ws-space-4);
  background: var(--ws-surface-warm-row);
  color: var(--ws-text-warm);
  border: 1px solid var(--ws-surface-warm);
  border-radius: var(--ws-radius-card);
  font-weight: 500;
  text-align: left;
}

.ws-certified__list img {
  width: 22px;
  height: auto;
  flex: 0 0 22px;
}

/* Storefront */

.ws-storefront {
  padding: var(--ws-space-10) 0 var(--ws-space-24);
  background: var(--ws-surface-page);
}

.ws-storefront__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: var(--ws-space-12);
}

.ws-storefront__visual {
  position: relative;
  width: 50%;
  height: 280px;
  justify-self: center;
}

.ws-storefront__part {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 2px 2px rgba(42, 32, 18, 0.12)) drop-shadow(0 12px 16px rgba(42, 32, 18, 0.16));
}

.ws-storefront__part--hvac {
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 42%;
}

.ws-storefront__part--electrical {
  top: 0;
  left: 0;
  z-index: 2;
  width: 50%;
}

.ws-storefront__part--plumbing {
  top: 32%;
  right: 0;
  z-index: 3;
  width: 52%;
}

.ws-storefront__copy {
  --ws-eyebrow-color: var(--ws-text-warm);
}

.ws-storefront__copy .ws-heading {
  margin: var(--ws-space-2) 0 18px;
}

.ws-storefront__lead {
  margin-bottom: var(--ws-space-7);
  color: var(--ws-text-warm);
  font-size: var(--ws-type-hero-lead-size);
  line-height: var(--ws-type-hero-lead-leading);
}

/* Emergency close and footer */

.ws-emergency {
  --ws-focus-color: var(--ws-focus-dark);
  padding: var(--ws-space-22) 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(227, 242, 255, 0.10), transparent 240px),
    radial-gradient(ellipse at 100% 100%, rgba(227, 242, 255, 0.10), transparent 240px),
    var(--ws-surface-deep);
  color: var(--ws-text-on-dark-muted);
  text-align: center;
}

.ws-emergency__inner {
  width: auto;
}

.ws-emergency__title {
  margin-bottom: var(--ws-space-3);
  color: var(--ws-text-on-dark-strong);
  font-size: var(--ws-type-emergency-size);
  font-weight: var(--ws-type-emergency-weight);
  line-height: var(--ws-type-emergency-leading);
  letter-spacing: var(--ws-type-emergency-tracking);
}

.ws-emergency__description {
  max-width: 440px;
  margin: 0 auto;
}

.ws-emergency__contact {
  margin-top: var(--ws-space-7);
}

.ws-emergency__contact .ws-phone-pill {
  display: flex;
  margin: 0 auto;
}

.ws-emergency__contact .ws-note {
  margin-top: var(--ws-space-3);
  font-size: 1.375rem;
  font-weight: 400;
  transform: none;
}

.ws-site-footer {
  position: relative;
  padding-top: var(--ws-section-space);
  overflow: hidden;
  background: var(--ws-surface-page);
  color: var(--ws-text-body);
}

.ws-footer-watermark {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 280px;
  opacity: 0.35;
  pointer-events: none;
}

.ws-footer-mark {
  position: absolute;
}

.ws-footer-mark--14 { top: 0; left: -40px; width: 105px; }
.ws-footer-mark--15 { top: 8px; left: 40px; width: 117px; }
.ws-footer-mark--13 { top: 0; left: 120px; width: 141px; }

.ws-footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--ws-space-10);
  padding-bottom: var(--ws-space-12);
}

.ws-footer-brand img {
  width: var(--ws-logo-footer-width);
  height: auto;
  margin-bottom: var(--ws-space-4);
}

.ws-footer-brand p {
  max-width: 42ch;
}

.ws-footer-brand p + p {
  margin-top: var(--ws-space-3);
  color: var(--ws-text-muted);
  font-size: var(--ws-type-small-size);
}

.ws-footer-column h2,
.ws-footer-column h3 {
  margin-bottom: var(--ws-space-2);
  color: var(--ws-text-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ws-footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ws-footer-column li {
  padding: var(--ws-space-1) 0;
}

.ws-footer-column .ws-link,
.ws-footer-column .ws-phone-link {
  display: inline-flex;
  min-height: var(--ws-control-min);
  align-items: center;
}

.ws-footer-bottom {
  padding: var(--ws-space-5) 0;
  border-top: 1px solid var(--ws-border-quiet);
  color: var(--ws-text-muted);
  font-size: var(--ws-type-small-size);
  text-align: center;
}

/* Labeled fields and FAQ */

.ws-field {
  display: grid;
  min-width: 0;
  gap: var(--ws-space-2);
}

.ws-field label,
.ws-field__label {
  color: var(--ws-text-body);
  font-weight: 600;
}

.ws-field input,
.ws-field textarea,
.ws-field select,
.ws-field__control {
  display: block;
  width: 100%;
  min-height: var(--ws-control-min);
  padding: var(--ws-space-2) var(--ws-space-3);
  background: var(--ws-surface-card);
  color: var(--ws-text-body);
  border: 1px solid var(--ws-border-control);
  border-radius: var(--ws-radius-card);
}

.ws-field input:disabled,
.ws-field textarea:disabled,
.ws-field select:disabled {
  opacity: 1;
  background: var(--ws-disabled-bg);
  color: var(--ws-disabled-text);
  border-color: var(--ws-disabled-border);
}

.ws-field [aria-invalid="true"] {
  background: var(--ws-state-error-bg);
  border-color: var(--ws-state-error-mark);
}

.ws-field__hint,
.ws-field__error {
  font-size: 0.875rem;
  line-height: 1.4;
}

.ws-field__hint {
  color: var(--ws-text-muted);
}

.ws-field__error {
  color: var(--ws-state-error-text);
  font-weight: 600;
}

.ws-faq {
  border-top: 1px solid var(--ws-border-subtle);
}

.ws-faq details,
.ws-faq__preview {
  border-bottom: 1px solid var(--ws-border-subtle);
}

.ws-faq summary,
.ws-faq__question {
  display: flex;
  min-height: var(--ws-control-min);
  align-items: center;
  justify-content: space-between;
  gap: var(--ws-space-4);
  padding: var(--ws-space-4) var(--ws-space-2);
  color: var(--ws-link);
  font-weight: 600;
}

.ws-faq summary {
  cursor: pointer;
  list-style: none;
}

.ws-faq summary::after,
.ws-faq__question::after {
  flex: 0 0 1em;
  content: "+";
  font-size: 1.2em;
  line-height: 1;
  text-align: center;
}

.ws-faq details[open] summary::after,
.ws-faq__question[data-preview-state="expanded"]::after {
  content: "−";
}

.ws-faq summary:hover {
  color: var(--ws-link-hover);
  text-decoration: underline;
}

.ws-faq summary:active {
  color: var(--ws-link-active);
}

.ws-faq details > div,
.ws-faq__answer {
  max-width: var(--ws-content-measure);
  padding: 0 var(--ws-space-2) var(--ws-space-4);
}

.ws-faq details:not([open]) > div {
  display: none;
}

@media (max-width: 1100px) {
  .ws-service-card {
    min-height: 300px;
  }

  .ws-storefront__inner {
    grid-template-columns: 1fr;
  }

  .ws-storefront__visual {
    height: 250px;
    max-width: 256px;
  }
}

@media (max-width: 1000px) {
  .ws-service-card__copy {
    padding-right: var(--ws-space-5);
  }

  .ws-estimate__copy {
    width: 55%;
    padding-right: var(--ws-space-6);
    padding-left: var(--ws-space-8);
  }
}

@media (max-width: 860px) {
  .ws-nav-desktop,
  .ws-site-header__inner > .ws-phone-link--header {
    display: none;
  }

  .ws-nav-mobile {
    display: block;
  }

  .ws-hero {
    --ws-hero-scrim: linear-gradient(90deg, rgba(9, 53, 84, 0.91) 0%, rgba(9, 53, 84, 0.83) 75%, rgba(9, 53, 84, 0.78) 100%);
    min-height: var(--ws-hero-height-narrow, 510px);
    padding: var(--ws-space-18) 0;
  }

  .ws-hero__image {
    object-position: var(--ws-hero-position-narrow, var(--ws-hero-position, center));
  }

  .ws-hero-break {
    display: none;
  }

  .ws-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ws-estimate {
    min-height: 0;
  }

  .ws-estimate::before {
    display: none;
  }

  .ws-estimate__copy {
    width: 100%;
    padding: var(--ws-space-8) var(--ws-space-6) var(--ws-space-6);
  }

  .ws-estimate__media {
    position: relative;
    height: 0;
    padding-top: 57.1428%;
    overflow: hidden;
  }

  .ws-estimate__media .ws-estimate__image {
    top: -65.625%;
    left: -53.571%;
    width: 182.857%;
    max-width: none;
    height: auto;
  }

  .ws-estimate > .ws-estimate__image {
    position: static;
    height: auto;
  }

  .ws-certified {
    grid-template-columns: 1fr;
  }

  .ws-certified__seal {
    padding: var(--ws-space-8) var(--ws-space-6);
    border-left: 0;
    border-top: 1px solid var(--ws-surface-card-muted);
    border-radius: 0 0 var(--ws-radius-card) var(--ws-radius-card);
  }

  .ws-storefront__copy .ws-eyebrow {
    font-size: 1.25rem;
  }

  .ws-emergency {
    padding: var(--ws-space-16) 0;
  }

  .ws-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--ws-space-8);
  }
}

@media (max-width: 740px) {
  .ws-polaroid-row {
    flex-wrap: wrap;
    gap: var(--ws-space-3);
    margin: 0 0 var(--ws-space-5);
    padding: 0;
  }

  .ws-polaroid {
    width: calc(50% - 6px);
    max-width: 200px;
    margin: 0;
    padding: var(--ws-space-2) var(--ws-space-2) 0;
    transform: none;
  }

  .ws-polaroid figcaption {
    font-size: 1.0625rem;
  }

  .ws-certified__copy {
    padding: var(--ws-space-8) var(--ws-space-6);
  }
}

@media (max-width: 520px) {
  .ws-emergency-strip__inner {
    column-gap: var(--ws-space-2);
  }

  .ws-emergency-strip__label {
    font-size: 0.73rem;
    letter-spacing: 0.055em;
  }

  .ws-phone-link--strip,
  a.ws-phone-link--strip:hover,
  a.ws-phone-link--strip:active {
    font-size: 0.8125rem;
  }

  .ws-phone-pill {
    width: 100%;
    max-width: var(--ws-phone-width-narrow);
  }

  .ws-review-grid {
    grid-template-columns: 1fr;
  }

  .ws-service-card {
    --ws-card-copy-start: 49%;
    min-height: 316px;
    aspect-ratio: 0.96 / 1;
  }

  .ws-service-card__image {
    object-position: var(--ws-card-position-narrow, var(--ws-card-position, left center));
  }

  .ws-service-card__copy {
    padding-top: var(--ws-space-5);
    padding-right: var(--ws-space-3);
    padding-bottom: var(--ws-space-5);
  }

  .ws-service-card__copy h3 {
    margin-bottom: var(--ws-space-2);
  }

  .ws-service-card__copy .ws-service-link {
    margin-top: var(--ws-space-1);
  }

  .ws-estimate__copy,
  .ws-certified__copy,
  .ws-certified__seal {
    padding-right: var(--ws-space-4);
    padding-left: var(--ws-space-4);
  }

  .ws-certified__copy .ws-heading {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-action[aria-busy="true"]::before {
    animation: none;
  }
}

@media (forced-colors: active) {
  :focus-visible,
  [data-preview-state="focus"] {
    outline-color: Highlight;
  }

  .ws-phone-pill,
  .ws-action,
  .ws-rating {
    border-color: ButtonText;
  }

  .ws-phone-pill__portrait::after {
    display: none;
  }
}

/* Canonical portrait call action. Legacy, core Button, and library markup share this rule. */
:is(.phone-pill,.ws-phone-pill,.phone,.wp-block-button.is-style-west-phone .wp-block-button__link) {
  --ws-pill-bg:var(--ws-phone-bg);
  --ws-pill-border:var(--ws-phone-border);
  position:relative;display:inline-flex;align-items:center;justify-content:flex-start;
  flex:0 0 auto;width:var(--ws-phone-width);max-width:100%;min-width:0;
  min-height:var(--ws-phone-height);gap:var(--ws-phone-gap);
  padding:var(--ws-phone-inset) 28px var(--ws-phone-inset) var(--ws-phone-inset);
  box-sizing:border-box;background:var(--ws-pill-bg);color:var(--ws-phone-text);
  border:1px solid var(--ws-pill-border);border-radius:var(--ws-radius-pill);
  box-shadow:var(--ws-shadow-phone);font-family:var(--ws-font-main);
  font-size:var(--ws-type-phone-size);font-weight:var(--ws-type-phone-weight);
  line-height:1.5;letter-spacing:var(--ws-type-phone-tracking);
  text-decoration:none;text-align:left;white-space:nowrap;
  transition:color 200ms,background-color 200ms,border-color 200ms,box-shadow 200ms,transform 200ms;
}
:is(.phone-pill,.ws-phone-pill,.phone,.wp-block-button.is-style-west-phone .wp-block-button__link):visited { color:var(--ws-phone-text); }
:is(.phone-pill,.ws-phone-pill,.phone,.wp-block-button.is-style-west-phone .wp-block-button__link):is(:hover,[data-preview-state="hover"]) {
  --ws-pill-bg:var(--ws-phone-hover-bg);--ws-pill-border:var(--ws-phone-hover-border);
  color:var(--ws-phone-hover-text);box-shadow:var(--ws-shadow-phone-hover);transform:translateY(-1px);
}
:is(.phone-pill,.ws-phone-pill,.phone,.wp-block-button.is-style-west-phone .wp-block-button__link):is(:focus-visible,[data-preview-state="focus"]) {
  --ws-pill-bg:var(--ws-phone-hover-bg);--ws-pill-border:transparent;
  color:var(--ws-phone-active-text);outline:none;box-shadow:none;transform:none;
}
:is(.phone-pill,.ws-phone-pill,.phone,.wp-block-button.is-style-west-phone .wp-block-button__link):is(:active,[data-preview-state="active"]) {
  --ws-pill-bg:var(--ws-phone-active-bg);--ws-pill-border:var(--ws-phone-active-border);
  color:var(--ws-phone-active-text);box-shadow:none;transform:none;
}
:is(.phone-pill,.ws-phone-pill,.phone) :is(.phone-pill-number,.ws-phone-pill__number) {
  color:inherit;font:inherit;letter-spacing:inherit;white-space:nowrap;
}
:is(.phone-pill-avatar-wrap,.ws-phone-pill__portrait,.phone-avatar) {
  position:relative;display:block;flex:0 0 var(--ws-phone-avatar);
  width:var(--ws-phone-avatar);height:var(--ws-phone-avatar);
}
:is(.phone-pill-avatar-wrap,.ws-phone-pill__portrait,.phone-avatar) img {
  display:block;width:50px;height:50px;max-width:none;object-fit:cover;border:0;border-radius:50%;
}
:is(.phone-pill-dot,.phone-presence),.ws-phone-pill__portrait::after {
  position:absolute;inset:1px 1px auto auto;box-sizing:border-box;width:10px;height:10px;
  border:2px solid var(--ws-pill-bg);background:var(--ws-presence-dot);border-radius:50%;
  box-shadow:0 1px 2px rgb(0 0 0 / 20%);
}
.wp-block-button.is-style-west-phone .wp-block-button__link::before {
  content:"";display:block;flex:0 0 var(--ws-phone-avatar);width:50px;height:50px;
  border-radius:50%;background:url('assets/staff-grace.png') center/cover;
}
.wp-block-button.is-style-west-phone .wp-block-button__link::after {
  content:"";position:absolute;top:7px;left:45px;box-sizing:border-box;width:10px;height:10px;
  border:2px solid var(--ws-pill-bg);background:var(--ws-presence-dot);border-radius:50%;
  box-shadow:0 1px 2px rgb(0 0 0 / 20%);
}
@media(max-width:520px) {
  :is(.phone-pill,.ws-phone-pill,.phone,.wp-block-button.is-style-west-phone .wp-block-button__link) { width:var(--ws-phone-width-narrow); }
}
@media(prefers-reduced-motion:reduce) {
  :is(.phone-pill,.ws-phone-pill,.phone,.wp-block-button.is-style-west-phone .wp-block-button__link) { transition:none;transform:none; }
}
.wp-block-button.is-style-west-phone { max-width:100%; }
