/*
Theme Name: Swift Asset Partners
Author: Webskitters
Description: Custom classic theme matching the approved Swift HTML design, with ACF-managed homepage and global options.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: swift-asset-partners
*/

/* Local fonts shared by the entire site. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-0.ttf) format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/inter-1.ttf) format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-2.ttf) format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/inter-3.ttf) format('truetype');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(assets/fonts/archivo-0.ttf) format('truetype');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: normal;
  font-display: swap;
  src: url(assets/fonts/archivo-1.ttf) format('truetype');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url(assets/fonts/archivo-2.ttf) format('truetype');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url(assets/fonts/archivo-3.ttf) format('truetype');
}

/* Global design tokens from the Swift Figma file. */
:root {
  --font-body: 'Inter', Arial, sans-serif;
  --font-heading: 'Archivo', Arial, sans-serif;
  --color-primary: #fd6019;
  --color-primary-hover: #d94608;
  --color-heading: #0b2033;
  --color-text: #3b4b58;
  --color-text-secondary: #6c7e8c;
  --color-text-muted: #c3d3de;
  --color-eyebrow-on-dark: #9db2c1;
  --color-border-on-dark: rgb(255 255 255 / 11%);
  --color-border-on-navy: #263849;
  --color-white: #ffffff;
  --color-surface: #f5f7f8;
  --color-services-surface: #f1f3f6;
  --color-surface-dark: #12324b;
  --color-footer-border: #19344d;
  --color-notice: #dbbb34;
  --color-border: #e4e9ed;
  --color-border-muted: #dce2e8;
  --color-primary-surface: #fff4ef;
  --color-focus: #0b2e59;
  --container-max-width: 1600px;
  --container-gutter: 80px;
  --header-height: 100px;
  --section-padding-block: 100px;
  --section-title-size: 42px;
  --button-min-height: 56px;
  --button-padding-block: 16px;
  --button-padding-inline: 30px;
  --button-gap: 17px;
  --radius-small: 3px;
  --transition-duration: 180ms;
  --drawer-duration: 300ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

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

button,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

/* Use on every section's immediate inner wrapper. The section stays full-width. */
.container {
  width: calc(100% - var(--container-gutter) * 2);
  max-width: var(--container-max-width);
  margin-inline: auto;
}

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

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

.site-header {
  position: relative;
  z-index: 20;
  background: var(--color-white);
}

/* Scroll-up sticky header keeps its original space in the page. */
.js {
  scroll-padding-top: calc(var(--sticky-header-height, var(--header-height)) + var(--sticky-header-offset, 0px) + 12px);
}

.js .site-header {
  position: sticky;
  top: 0;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1), opacity 250ms ease;
}

.js .site-header.is-scroll-hidden {
  transform: translateY(calc(-100% - var(--sticky-header-offset, 0px) - 20px));
  opacity: 0;
  pointer-events: none;
}

html[data-animation-enabled="0"] .site-header { transition: none; }

@media print {
  .js .site-header,
  .js .site-header.is-scroll-hidden {
    position: relative;
    top: 0 !important;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }
}

.js .site-header.is-scrolled {
  box-shadow: 0 4px 18px rgb(11 32 51 / 12%);
}

.header-main {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  gap: 32px;
}

.site-logo {
  flex: 0 0 auto;
}

.site-logo img {
  width: 192px;
  height: 59px;
  object-fit: contain;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-left: auto;
}

.navigation-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, calc(5vw - 50px), 46px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: color var(--transition-duration) ease;
}

.navigation-link[aria-current='page'],
.navigation-link:hover,
.services-dropdown[open]>summary {
  color: var(--color-primary);
}

/* The underline enters from the left and wipes away toward the right. */
.menu-label {
  position: relative;
  display: inline-block;
}

.menu-label::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 350ms ease;
  pointer-events: none;
}

.navigation-link:is(:hover, :focus-visible) .menu-label::after,
.footer-links a:is(:hover, :focus-visible) .menu-label::after,
.footer-legal a:is(:hover, :focus-visible) .menu-label::after,
.footer-copyright a:is(:hover, :focus-visible) .menu-label::after,
.footer-contact a:is(:hover, :focus-visible) .menu-label::after,
.service-listing-link:is(:hover, :focus-visible) .menu-label::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* The Services page link and disclosure share a row but have separate targets. */
.navigation-services {
  position: relative;
  display: grid;
  grid-template-columns: max-content 10px;
  column-gap: 8px;
  align-items: start;
}

.services-page-link {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
}

.services-dropdown {
  position: static;
  grid-column: 1 / -1;
  grid-row: 1;
}

.navigation-services:has(.services-dropdown[open]) > .services-page-link {
  color: var(--color-primary);
}

.services-toggle {
  justify-content: flex-end;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}

.services-toggle::-webkit-details-marker {
  display: none;
}

.services-toggle::marker {
  content: '';
}

.dropdown-chevron {
  width: 10px;
  height: 6px;
  transition: transform var(--transition-duration) ease;
}

.services-dropdown[open] .dropdown-chevron {
  transform: rotate(180deg);
}

.services-dropdown[open] .dropdown-chevron,
.services-page-link[aria-current='page'] ~ .services-dropdown .dropdown-chevron,
.services-page-link:is(:hover, :focus-visible) ~ .services-dropdown .dropdown-chevron,
.services-toggle:is(:hover, :focus-visible) .dropdown-chevron {
  filter: brightness(0) saturate(100%) invert(45%) sepia(100%) saturate(2968%) hue-rotate(352deg) brightness(102%) contrast(98%);
}

/* JS animates each opening independently and measures accordion height on mobile. */
.services-dropdown.is-animating {
  overflow: hidden;
}

.services-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  width: 320px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-small);
  box-shadow: 0 12px 32px rgb(11 32 51 / 12%);
}

.services-menu[aria-hidden="true"] { pointer-events: none; }

/* Invisible bridge keeps pointer hover intact across the desktop dropdown gap. */
.services-menu::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 0;
  width: 100%;
  height: 9px;
}

.services-menu a {
  display: block;
  padding: 12px;
  border-radius: var(--radius-small);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.services-menu a:hover,
.services-menu a:focus-visible {
  color: var(--color-primary-hover);
  background: var(--color-surface);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  min-height: var(--button-min-height);
  padding: var(--button-padding-block) var(--button-padding-inline);
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition-duration) ease;
}

.button>span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.button-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.button-primary:hover {
  background: var(--color-heading);
}

.header-cta {
  flex-shrink: 0;
  width: 241px;
  max-width: 100%;
  gap: min(14px, var(--button-gap));
  padding-inline: min(24px, var(--button-padding-inline));
}

.header-cta>span {
  flex-shrink: 0;
  white-space: nowrap;
  overflow-wrap: normal;
}

.header-cta img {
  flex-shrink: 0;
  width: 16px;
  height: 12px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-heading);
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--color-surface);
}

.menu-toggle-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 18px;
}

.menu-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition-duration) ease, opacity var(--transition-duration) ease;
}

.menu-toggle-icon span:nth-child(1) {
  top: 0;
}

.menu-toggle-icon span:nth-child(2) {
  top: 8px;
}

.menu-toggle-icon span:nth-child(3) {
  top: 16px;
}

.menu-toggle[aria-expanded='true'] span span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* The dialog is moved into the top layer by showModal(), above all page sections. */
.desktop-navigation-slot {
  margin-left: auto;
}

.offcanvas {
  display: none;
}

.offcanvas[open] {
  display: block;
}

.offcanvas {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, calc(100vw - 24px));
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  border: 0;
  background: var(--color-white);
  color: var(--color-text);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.offcanvas[open] {
  animation: drawer-enter var(--drawer-duration) ease-out both;
}

.offcanvas[open].is-closing {
  animation: drawer-exit var(--drawer-duration) ease-in both;
}

.offcanvas::backdrop {
  background: rgb(11 32 51 / 55%);
  animation: drawer-backdrop-enter var(--drawer-duration) ease-out both;
}

.offcanvas.is-closing::backdrop {
  animation: drawer-backdrop-exit var(--drawer-duration) ease-in both;
}

.offcanvas-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.offcanvas-heading h2 {
  margin: 0;
  font-size: 24px;
}

.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-heading);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.menu-close:hover {
  background: var(--color-surface);
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}

html.menu-open body {
  padding-right: var(--scrollbar-width, 0px);
}

@keyframes drawer-enter {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes drawer-exit {
  from {
    opacity: var(--drawer-close-opacity, 1);
    transform: var(--drawer-close-transform, translateX(0));
  }

  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes drawer-backdrop-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes drawer-backdrop-exit {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* Banner: the outer container defines alignment; the carousel breaks out for full-bleed imagery. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.banner-section {
  --banner-height: 840px;
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  /* background: var(--color-heading); */
  color: var(--color-white);
}

.banner-main {
  position: relative;
}

.banner-carousel.owl-carousel {
  display: block;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* Container units exclude the scrollbar, keeping slide content aligned with the header. */
@supports (width: 100cqw) {
  .banner-carousel.owl-carousel {
    width: 100cqw;
    margin-inline: calc(50% - 50cqw);
  }
}

.banner-carousel:not(.owl-loaded)>.banner-slide:not(:first-child) {
  display: none;
}

.banner-slide {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* background: var(--color-heading); */
}

.banner-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--color-heading) 11.12%, rgb(11 32 51 / 0) 100%);
}

.banner-carousel .banner-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-slide>.container {
  display: flex;
  align-items: center;
  min-height: var(--banner-height);
  padding-block: 100px;
}

.banner-content {
  width: 100%;
}

.banner-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.banner-eyebrow::before {
  content: '';
  flex: 0 0 39px;
  height: 1px;
  background: var(--color-primary);
}

.banner-title {
  max-width: 745px;
  margin: 10px 0 20px;
  color: var(--color-white);
  font-size: 90px;
  line-height: 95px;
  letter-spacing: 0;
}

.banner-description {
  max-width: 686px;
  margin: 0;
  font-size: 16px;
  line-height: 29px;
}

.banner-actions {
  display: flex;
  /* flex-wrap: wrap; */
  align-items: stretch;
  gap: 20px;
  margin-top: 36px;
}

.banner-actions .button {
  max-width: 100%;
}

.banner-assessment {
  width: 407px;
}

.banner-approach {
  width: 374px;
}

.banner-actions .button img {
  flex: 0 0 16px;
  width: 16px;
  height: 12px;
  object-fit: contain;
}

.button-white {
  background: var(--color-white);
  color: var(--color-primary);
}

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

.banner-actions .button-primary:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.banner-actions .button-primary:hover img {
  content: url('assets/images/arrow-right-orange.webp');
}

.banner-actions .button-white:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.banner-actions .button-white:hover img {
  content: url('assets/images/arrow-right.webp');
}

.banner-section :focus-visible {
  outline-color: var(--color-white);
}

.banner-controls {
  position: absolute;
  z-index: 2;
  inset: auto auto 22px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.banner-dots {
  display: flex;
  align-items: center;
}

.banner-dots .owl-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.banner-dots .owl-dot span {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--color-white);
  opacity: .5;
  transition: width var(--transition-duration) ease, opacity var(--transition-duration) ease;
}

.banner-dots .owl-dot.active {
  width: 43px;
}

.banner-dots .owl-dot.active span {
  width: 36px;
  opacity: 1;
}

.banner-dots .owl-dot:hover span {
  opacity: 1;
}

/* Shared content-section typography. */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: '';
  flex: 0 0 39px;
  height: 1px;
  background: var(--color-primary);
}

.section-title {
  margin: 16px 0 20px;
  font-size: var(--section-title-size);
  line-height: 1.2143;
}

.section-eyebrow-centered {
  justify-content: center;
}

.section-eyebrow-centered::after {
  content: '';
  flex: 0 0 39px;
  height: 1px;
  background: var(--color-primary);
}

/* Consultation First: image proportions and crops match the Figma exports. */
.consultation-section {
  padding-block: var(--section-padding-block);
}

.consultation-main {
  display: grid;
  grid-template-columns: minmax(0, 848fr) minmax(0, 712fr);
  align-items: center;
  gap: 40px;
}

.consultation-media {
  position: relative;
  min-width: 0;
}

.consultation-photo {
  width: 88.3255%;
  height: auto;
  aspect-ratio: 749 / 590;
  border-radius: var(--radius-small);
}

.consultation-photo-detail {
  position: absolute;
  right: 0;
  bottom: 10.1695%;
  width: 34.7877%;
  height: auto;
  aspect-ratio: 295 / 270;
  border-radius: var(--radius-small);
  outline: 10px solid var(--color-white);
  object-fit: cover;
}

.consultation-content {
  min-width: 0;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 29px;
  overflow-wrap: anywhere;
}

.consultation-description {
  max-width: 705px;
  margin: 0;
}

.consultation-objectives {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
}

.consultation-objectives li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  column-gap: 13px;
}

.consultation-objectives img {
  width: 18px;
  height: 18px;
  margin-top: 5.5px;
}

.consultation-note {
  max-width: 649px;
  margin: 24px 0 0;
  color: var(--color-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 29px;
}

/* Condition to Capital: the six steps remain in reading order at every width. */
.strategy-section {
  padding-block: var(--section-padding-block);
  background: var(--color-heading);
  color: var(--color-white);
}

.strategy-main {
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.strategy-section .section-eyebrow {
  color: var(--color-eyebrow-on-dark);
}

.strategy-section .section-title {
  max-width: 1000px;
  margin: 12px auto 20px;
  color: var(--color-white);
}

.strategy-description {
  max-width: 1213px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 29px;
}

.strategy-subtitle {
  margin: 0;
  color: var(--color-white);
  font-size: 25px;
  line-height: 1.16;
}

.strategy-stages {
  margin-top: 30px;
}

.strategy-steps {
  display: grid;
  grid-template-columns: minmax(0, .89fr) repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 0;
  padding: 0;
  border-block: 1px solid var(--color-border-on-dark);
  background: var(--color-border-on-dark);
  list-style: none;
  text-align: left;
}

.strategy-step {
  min-width: 0;
  padding: 48px 20px 48px 30px;
  background: var(--color-heading);
}

.strategy-step:first-child {
  padding-inline-start: 0;
}

.strategy-step:last-child {
  padding-inline-end: 0;
}

.strategy-step-number {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 29px;
  letter-spacing: 1.6px;
}

.strategy-step-number::before {
  content: '';
  flex: 0 0 14px;
  height: 1.5px;
  background: currentColor;
}

.strategy-step-title {
  margin: 9px 0 12px;
  color: var(--color-white);
  font-size: 20px;
  line-height: 29px;
}

.strategy-step-description {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 24px;
}

.strategy-execution {
  margin-top: 34px;
}

.strategy-execution .strategy-description {
  margin-top: 16px;
}

.strategy-note {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 29px;
}

/* Portfolio Intelligence: copy and an original Figma photo, without a fixed section height. */
.portfolio-section {
  padding-block: var(--section-padding-block);
}

.portfolio-main {
  display: grid;
  grid-template-columns: minmax(0, 785fr) minmax(0, 725fr);
  align-items: center;
  gap: 90px;
}

.portfolio-content,
.portfolio-media {
  min-width: 0;
}

.portfolio-content {
  color: var(--color-text-secondary);
  overflow-wrap: anywhere;
}

.portfolio-section .section-title {
  max-width: 651px;
}

.portfolio-description {
  max-width: 785px;
  margin: 0;
  font-size: 18px;
  line-height: 29px;
}

.portfolio-note {
  max-width: 657px;
  margin: 18px 0 0;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 29px;
}

.portfolio-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 725 / 457;
  border-radius: var(--radius-small);
}

/* Our Services: hover/focus reveals detail; Owl handles only horizontal movement. */
.services-section {
  --service-card-height: 497px;
  --service-gap: 30px;
  --services-nav-size: 57px;
  padding-block: var(--section-padding-block);
  background: var(--color-services-surface);
}

.services-main {
  min-width: 0;
}

.services-heading {
  margin-bottom: 50px;
  text-align: center;
}

.services-heading .section-title {
  margin-bottom: 0;
}

.services-carousel:not(.owl-loaded) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--service-gap);
}

.services-carousel .owl-stage {
  display: flex;
}

.services-carousel .owl-item {
  display: flex;
  flex-shrink: 0;
}

.service-slide {
  display: flex;
  width: 100%;
  min-width: 0;
}

.service-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-width: 0;
  min-height: var(--service-card-height);
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius-small);
  /* background: var(--color-heading); */
  color: var(--color-white);
  text-align: center;
}

.services-carousel .service-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.service-card::before,
.service-card::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.service-card::before {
  background: linear-gradient(to top, rgb(0 0 0 / 75%), transparent 58%);
}

.service-card::after {
  background: linear-gradient(to top, rgb(11 32 51 / 45%), transparent 85%);
  opacity: 0;
  transition: opacity 350ms ease;
}

.service-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-title {
  margin: 0;
  color: var(--color-white);
  font-size: 20px;
  line-height: 29px;
}

.service-details {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
  transition: grid-template-rows 350ms ease, margin-top 350ms ease, opacity 350ms ease;
}

.service-details p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 24px;
}

.service-card:focus-visible {
  outline-color: var(--color-white);
  outline-offset: -5px;
}

.service-card:focus-visible::after {
  opacity: 1;
}

.service-card:focus-visible .service-details {
  grid-template-rows: 1fr;
  margin-top: 8px;
  opacity: 1;
}

.services-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.services-navigation {
  display: flex;
  flex: 0 0 auto;
  gap: 15px;
}

.services-nav {
  display: grid;
  place-items: center;
  width: var(--services-nav-size);
  height: var(--services-nav-size);
  padding: 0;
  border: 1px solid var(--color-focus);
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--color-heading);
  cursor: pointer;
  transition: background-color var(--transition-duration) ease, color var(--transition-duration) ease;
}

.services-nav:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
}

.services-nav-icon {
  display: block;
  width: 15px;
  height: 16px;
  object-fit: contain;
}

.services-next .services-nav-icon {
  transform: rotate(180deg);
}

.services-nav:hover .services-nav-icon {
  filter: brightness(0) invert(1);
}

.services-progress {
  flex: 1 1 auto;
  min-width: 40px;
  height: 2px;
  background: var(--color-border);
}

.services-progress span {
  display: block;
  width: 25%;
  height: 3px;
  margin-top: -1px;
  background: var(--color-focus);
  transition: width 700ms ease;
}

.services-cta {
  flex: 0 0 auto;
  width: 259px;
  max-width: 100%;
  margin-left: auto;
  gap: min(14px, var(--button-gap));
  padding-inline: min(24px, var(--button-padding-inline));
}

.services-cta>span {
  white-space: nowrap;
  overflow-wrap: normal;
}

.services-cta img {
  flex: 0 0 16px;
  width: 16px;
  height: 12px;
  object-fit: contain;
}

@media (hover: hover) {
  .service-card:hover::after {
    opacity: 1;
  }

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

  .service-card:hover .service-details {
    grid-template-rows: 1fr;
    margin-top: 8px;
    opacity: 1;
  }
}

/* Touch users can read all card copy without needing a hover gesture. */
@media (hover: none) {
  .service-card::after {
    opacity: 1;
  }

  .service-details {
    grid-template-rows: 1fr;
    margin-top: 8px;
    opacity: 1;
  }
}

/* Who We Serve: supplied SVG icons and naturally wrapping audience cards. */
.serve-section {
  padding-block: var(--section-padding-block);
  background: var(--color-heading);
}

.serve-main {
  min-width: 0;
  text-align: center;
}

.serve-heading {
  margin-bottom: 34px;
}

.serve-heading .section-eyebrow {
  color: var(--color-eyebrow-on-dark);
}

.serve-heading .section-title {
  margin: 12px 0 0;
  color: var(--color-white);
  overflow-wrap: anywhere;
}

.serve-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.serve-card {
  display: flex;
  flex: 0 0 calc((100% - 120px) / 5);
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 0;
  min-height: 217px;
  padding: 42px 24px 22px;
  border-radius: var(--radius-small);
  background: var(--color-white);
}

.serve-icon {
  flex: 0 0 auto;
  width: 67px;
  height: 75px;
  object-fit: contain;
}

.serve-card-title {
  max-width: 244px;
  margin: 0;
  color: var(--color-heading);
  font-size: 20px;
  line-height: 29px;
  overflow-wrap: anywhere;
}

/* Roof Status: original Figma photo and assessment introduction. */
.roof-status-section {
  padding-block: var(--section-padding-block);
}

.roof-status-main {
  display: grid;
  grid-template-columns: minmax(0, 725fr) minmax(0, 785fr);
  align-items: center;
  gap: 90px;
}

.roof-status-media,
.roof-status-content {
  min-width: 0;
}

.roof-status-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 725 / 457;
  border-radius: var(--radius-small);
}

.roof-status-content {
  color: var(--color-text-secondary);
  overflow-wrap: anywhere;
}

.roof-status-content .section-title {
  max-width: 651px;
}

.roof-status-description {
  max-width: 785px;
  margin: 0;
  font-size: 18px;
  line-height: 29px;
}

.roof-status-cta {
  width: 397px;
  max-width: 100%;
  gap: min(15px, var(--button-gap));
  margin-top: 32px;
}

.roof-status-cta img {
  flex: 0 0 16px;
  width: 16px;
  height: 12px;
  object-fit: contain;
}

/* A Smarter Approach: assessment call to action before the future footer. */
.approach-section {
  display: grid;
  align-items: center;
  min-height: 350px;
  padding-block: min(70px, var(--section-padding-block));
  background: var(--color-surface-dark);
}

.approach-main {
  display: grid;
  grid-template-columns: minmax(0, 785px) minmax(0, 397px);
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.approach-content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.approach-content .section-eyebrow {
  color: var(--color-eyebrow-on-dark);
}

.approach-content .section-title {
  max-width: 670px;
  margin-block: 12px 14px;
  color: var(--color-white);
}

.approach-description {
  max-width: 785px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 29px;
}

.approach-cta {
  width: 397px;
  max-width: 100%;
  gap: min(15px, var(--button-gap));
}

.approach-cta img {
  flex: 0 0 16px;
  width: 16px;
  height: 12px;
  object-fit: contain;
}

.approach-cta:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.approach-cta:hover img {
  content: url('assets/images/arrow-right-orange.webp');
}

.approach-cta:focus-visible {
  outline-color: var(--color-white);
}

/* Footer: the highlighted notice is ordinary text, not a control. */
.site-footer {
  background: var(--color-heading);
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 28px;
}

.footer-section {
  padding-top: min(76px, var(--section-padding-block));
}

.footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 350fr) max-content max-content max-content minmax(0, 323fr);
  gap: clamp(24px, 3vw, 80px);
}

.footer-columns > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-logo {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}

.footer-logo img {
  width: 222px;
  max-width: 100%;
  height: auto;
}

.footer-description {
  max-width: 330px;
  margin: 8px 0 18px;
}

.footer-notice {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 10px 16px;
  border-radius: var(--radius-small);
  background: var(--color-notice);
  color: var(--color-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.footer-company,
.footer-service-area {
  margin: 0;
}

.footer-service-area {
  margin-top: 8px;
}

.footer-title {
  margin: 0 0 8px;
  color: var(--color-white);
  font-size: 14px;
  line-height: 29px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.footer-links,
.footer-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  white-space: nowrap;
  overflow-wrap: normal;
  transition: color var(--transition-duration) ease;
  display: flex;
  align-items: center;
  min-height: 39px;
  padding-block: 5px;
  line-height: 29px;
}

.footer-links a:is(:hover, :focus-visible),
.footer-contact a:is(:hover, :focus-visible),
.footer-legal a:is(:hover, :focus-visible),
.footer-copyright a:is(:hover, :focus-visible) {
  color: var(--color-primary);
}

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

.footer-address {
  font-style: normal;
}

.footer-contact-list {
  display: grid;
  gap: 20px;
  padding-top: 7px;
}

.footer-contact-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.footer-contact-list p {
  margin: 0;
}

.footer-contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-footer-border);
}

.footer-contact-icon img {
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 76px;
  padding-block: 16px 20px;
  border-top: 1px solid var(--color-footer-border);
}

.footer-copyright {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Shared inner-page banner: original Figma imagery and page-specific copy. */
.page-hero-section {
  position: relative;
  isolation: isolate;
  background: var(--color-heading);
}

.page-hero-photo,
.page-hero-section::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-photo {
  z-index: -2;
  object-fit: cover;
}

.page-hero-section::before {
  content: '';
  z-index: -1;
  background: linear-gradient(90deg, var(--color-heading), rgb(11 32 51 / 0) 71%);
  pointer-events: none;
}

.page-hero-main {
  display: flex;
  align-items: center;
  min-height: 550px;
  padding-block: 80px;
}

.page-hero-content {
  width: 100%;
  max-width: 671px;
  min-width: 0;
}

.page-hero-content .section-eyebrow {
  color: var(--color-white);
  line-height: 1;
}

.page-hero-title {
  margin: 10px 0 0;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 60px;
  line-height: 1.18334;
  overflow-wrap: anywhere;
}

/* About: Swift Asset Partners introduction and four portfolio-planning steps. */
.about-company-section {
  padding-block: var(--section-padding-block);
}

.about-company-top {
  display: grid;
  grid-template-columns: minmax(0, 725fr) minmax(0, 825fr);
  align-items: center;
  gap: 50px;
}

.about-company-media,
.about-company-content {
  min-width: 0;
}

.about-company-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 725 / 718;
  border-radius: var(--radius-small);
  object-fit: cover;
}

.about-company-content {
  max-width: 754px;
  color: var(--color-text-secondary);
  overflow-wrap: anywhere;
}

.about-company-content .section-title {
  max-width: 679px;
}

.about-company-description {
  margin: 0;
  font-size: 18px;
  line-height: 29px;
}

.about-company-note {
  margin: 12px 0 0;
  padding: 6px 0 6px 10px;
  border-left: 2px solid var(--color-primary);
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 29px;
}

.about-company-topic {
  margin-top: 24px;
}

.about-company-subtitle {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.16;
}

.about-company-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
}

.about-company-step {
  min-width: 0;
  min-height: 183px;
  padding: 32px;
  border: 1px solid var(--color-border-muted);
  overflow-wrap: anywhere;
}

.about-company-step-title {
  margin: 12px 0 10px;
  font-size: 20px;
  line-height: 29px;
}

.about-company-step-description {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 24px;
}

/* About: an extension of your team and the shared objective. */
.about-approach-section {
  /* The preceding company section supplies the space above this row. */
  padding-block: 0 var(--section-padding-block);
}

.about-approach-top {
  display: grid;
  grid-template-columns: minmax(0, 725fr) minmax(0, 815fr);
  align-items: center;
  gap: 60px;
}

.about-approach-content,
.about-approach-media {
  min-width: 0;
}

.about-approach-content {
  overflow-wrap: anywhere;
}

.about-approach-description {
  max-width: 721px;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 29px;
}

.about-approach-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 815 / 337;
  border-radius: var(--radius-small);
}

.about-approach-objective {
  max-width: 1280px;
  min-height: 169px;
  margin: var(--section-padding-block) auto 0;
  padding: 36px 32px;
  border: 1px solid var(--color-primary);
  background-color: var(--color-primary-surface);
  text-align: center;
  overflow-wrap: anywhere;
}

.about-approach-objective-title {
  margin: 0;
  font-size: var(--section-title-size);
  line-height: 1.2143;
}

.about-approach-objective-description {
  margin: 16px 0 0;
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 500;
  line-height: 29px;
}

/* About: Smarter Roof Management call to action. */
.roof-management-main {
  grid-template-columns: minmax(0, 670px) minmax(0, 375px);
}

.roof-management-process {
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  line-height: 29px;
}

.roof-management-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.roof-management-cta {
  width: 290px;
  padding-inline: min(26px, var(--button-padding-inline));
}

.roof-management-cta-outline {
  width: 375px;
  padding-inline: min(24px, var(--button-padding-inline));
  white-space: nowrap;
  border-color: var(--color-white);
  background: transparent;
  color: var(--color-white);
}

/* Who We Serve: audience overview from the dedicated Figma page. */
.serve-page-hero::before {
  background: linear-gradient(90deg, var(--color-heading), rgb(11 32 51 / 0) 85%);
}

.audience-section {
  padding-block: var(--section-padding-block);
}

.audience-main {
  display: grid;
  grid-template-columns: minmax(0, 725fr) minmax(0, 825fr);
  align-items: center;
  gap: 50px;
}

.audience-media,
.audience-content {
  min-width: 0;
}

.audience-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 725 / 552;
  border-radius: var(--radius-small);
}

.audience-content {
  max-width: 729px;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 29px;
  overflow-wrap: anywhere;
}

.audience-content .section-title {
  max-width: 718px;
}

.audience-list {
  gap: 9px;
  margin-block: 20px 0;
}

.audience-description {
  margin: 28px 0 0;
}

/* Our Process: six ordered stages with naturally growing descriptions. */
.process-section {
  padding-block: var(--section-padding-block);
  background: var(--color-services-surface);
}

.process-main {
  min-width: 0;
}

.process-main > .section-title {
  max-width: 1488px;
  margin: 16px auto 36px;
  text-align: center;
  overflow-wrap: anywhere;
}

.process-steps {
  min-height: 488px;
  margin: 0;
  border-color: var(--color-border-muted);
  background: var(--color-border-muted);
}

.process-step {
  background: var(--color-services-surface);
  overflow-wrap: anywhere;
}

.process-step .strategy-step-title {
  color: var(--color-heading);
}

.process-step .strategy-step-description {
  color: var(--color-text-secondary);
}

.process-note {
  max-width: 1258px;
  margin: 32px auto 0;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 29px;
  text-align: center;
}

/* Services page: shared Home imagery in a static, WordPress-ready listing. */
.services-page-hero .page-hero-content {
  max-width: 847px;
}

.services-page-hero::before {
  background: linear-gradient(90deg, var(--color-heading) 15%, rgb(11 32 51 / 0) 76%);
}

.services-hero-description {
  max-width: 767px;
  margin: 18px 0 0;
  color: var(--color-white);
  font-size: 16px;
  line-height: 29px;
}

.services-method-section {
  padding-top: 50px;
}

.services-method-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-method-step {
  min-width: 0;
  min-height: 148px;
  padding: 32px;
  border: 1px solid var(--color-border-muted);
  overflow-wrap: anywhere;
}

.services-method-label {
  display: block;
  margin-top: 12px;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 29px;
}

.service-listing-section {
  background: var(--color-white);
}

.service-listing-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px;
}

.service-listing-card {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-width: 0;
  border: 1px solid var(--color-border-muted);
  border-radius: var(--radius-small);
  overflow: hidden;
  background: var(--color-white);
}

.service-listing-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-listing-media {
  position: relative;
  aspect-ratio: 513 / 322;
  overflow: hidden;
}

.service-listing-media::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(to top, rgb(0 0 0 / 70%), transparent 56%);
  pointer-events: none;
}

.service-listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-listing-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
  overflow-wrap: anywhere;
}

.service-listing-content h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 29px;
}

.service-listing-content p {
  margin: 0 0 10px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 24px;
}

.service-listing-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: auto;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: color 0.5s ease;
}

.service-listing-link .menu-label::after {
  transition-duration: 0.5s;
}

.service-listing-link img {
  flex: 0 0 16px;
  width: 16px;
  height: 12px;
  transition: filter 0.5s ease;
}

.service-listing-link:is(:hover, :focus-visible) {
  color: var(--color-heading);
}

.service-listing-link:is(:hover, :focus-visible) img {
  filter: brightness(0) saturate(100%) invert(9%) sepia(54%) saturate(799%) hue-rotate(166deg) brightness(97%) contrast(98%);
}

.service-record-section {
  padding-block: var(--section-padding-block);
  background: var(--color-heading);
}

.service-record-main {
  display: grid;
  grid-template-columns: minmax(0, 785fr) minmax(0, 725fr);
  align-items: center;
  gap: 90px;
}

.service-record-content,
.service-record-media {
  min-width: 0;
}

.service-record-content .section-eyebrow {
  color: var(--color-eyebrow-on-dark);
}

.service-record-content .section-title {
  max-width: 679px;
  color: var(--color-white);
}

.service-record-content > p:last-child,
.service-portfolio-description {
  margin: 0;
  font-size: 18px;
  line-height: 29px;
}

.service-record-content > p:last-child {
  max-width: 750px;
  color: var(--color-text-muted);
}

.service-record-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 725 / 406;
  border-radius: var(--radius-small);
  object-fit: cover;
}

.service-portfolio-section {
  padding-block: var(--section-padding-block);
}

.service-portfolio-main {
  max-width: 961px;
  margin-inline: auto;
  text-align: center;
}

.service-portfolio-description {
  color: var(--color-text-secondary);
}

.services-inspection-description {
  max-width: 590px;
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 29px;
}

.services-inspection-cta {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

/* Roof Repair & Response: service detail page. */
.repair-page-hero .page-hero-content {
  max-width: 785px;
}

.repair-page-hero .page-hero-title {
  font-family: var(--font-heading);
  line-height: 1.16667;
}

.repair-hero-description,
.repair-hero-note {
  max-width: 686px;
  margin: 15px 0 0;
  color: var(--color-white);
  font-size: 16px;
  line-height: 29px;
}

.repair-hero-note {
  margin-top: 17px;
  font-weight: 600;
}

.repair-hero-cta {
  width: 309px;
  max-width: 100%;
  margin-top: 20px;
  padding-inline: min(24px, var(--button-padding-inline));
  gap: min(14px, var(--button-gap));
  white-space: nowrap;
}

.repair-hero-cta:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.repair-hero-cta:hover img {
  content: url('assets/images/arrow-right-orange.webp');
}

.repair-problems-section,
.repair-response-section,
.repair-pattern-section,
.repair-next-section {
  padding-block: var(--section-padding-block);
}

.repair-problems-main {
  display: grid;
  grid-template-columns: minmax(0, 725fr) minmax(0, 825fr);
  align-items: center;
  gap: 50px;
}

.repair-problems-main > *,
.repair-pattern-main > *,
.repair-records-main > * {
  min-width: 0;
}

.repair-problems-photo,
.repair-records-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-small);
}

.repair-problems-photo {
  aspect-ratio: 725 / 675;
}

.repair-problems-content .section-title {
  max-width: 626px;
}

.repair-body {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 29px;
}

.repair-problems-content > .repair-body {
  max-width: 750px;
}

.repair-problems-subtitle {
  margin: 20px 0 18px;
  font-size: 25px;
  line-height: 1.3;
}

.repair-problems-list {
  display: grid;
  grid-template-columns: minmax(0, 383fr) minmax(0, 403fr);
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-secondary);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.repair-problems-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
}

.repair-problems-list img {
  flex: 0 0 18px;
  margin-top: 5px;
}

.repair-objective {
  max-width: 693px;
  margin: 28px 0 0;
  color: var(--color-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 29px;
}

.repair-response-section {
  background: var(--color-services-surface);
}

.repair-centered-heading {
  text-align: center;
}

.repair-centered-heading .section-title {
  margin: 12px auto 0;
}

.repair-response-steps {
  display: grid;
  grid-template-columns: .88fr repeat(3, 1.1fr) .82fr;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--color-border-muted);
  list-style: none;
}

.repair-response-step {
  min-width: 0;
  padding: 48px 36px 10px 46px;
}

.repair-response-step + .repair-response-step {
  border-left: 1px solid var(--color-border-muted);
}

.repair-response-step:first-child {
  padding-left: 0;
}

.repair-response-step:last-child {
  padding-right: 0;
}

.repair-response-step h3,
.repair-next-card h3 {
  margin: 9px 0 12px;
  font-size: 20px;
  line-height: 29px;
}

.repair-response-description,
.repair-response-note {
  max-width: 222px;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 24px;
}

.repair-response-note {
  margin-top: 18px;
  color: var(--color-heading);
  font-weight: 600;
}

.repair-response-step:last-child .repair-response-note {
  margin: 0 0 16px;
}

.repair-pattern-section {
  background: var(--color-heading);
}

.repair-pattern-main {
  display: grid;
  grid-template-columns: minmax(0, 602px) minmax(0, 551px);
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.repair-pattern-heading .section-eyebrow {
  color: var(--color-eyebrow-on-dark);
}

.repair-pattern-heading .section-title {
  margin-bottom: 0;
  color: var(--color-white);
}

.repair-pattern-main .repair-body {
  color: var(--color-text-muted);
}

.repair-next-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.repair-next-card {
  min-width: 0;
  min-height: 254px;
  padding: 32px;
  border: 1px solid var(--color-border-muted);
}

.repair-next-note,
.repair-records-note {
  margin: 28px 0 0;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 29px;
}

.repair-next-note {
  text-align: center;
}

.repair-records-section {
  padding-bottom: var(--section-padding-block);
}

.repair-records-main {
  display: grid;
  grid-template-columns: minmax(0, 785fr) minmax(0, 725fr);
  align-items: center;
  gap: 90px;
}

.repair-records-content {
  max-width: 670px;
}

.repair-records-content .section-title {
  max-width: 651px;
}

.repair-records-photo {
  aspect-ratio: 725 / 457;
}

.repair-records-note {
  margin-top: 18px;
}

.services-page-link.is-active,
.services-menu a[aria-current='page'],
.footer-services a[aria-current='page'] {
  color: var(--color-primary);
}

.services-page-link.is-active ~ .services-dropdown .dropdown-chevron {
  filter: brightness(0) saturate(100%) invert(45%) sepia(100%) saturate(2968%) hue-rotate(352deg) brightness(102%) contrast(98%);
}

/* Preventative Roof Maintenance: shared service-page components and original imagery. */
.maintenance-page-hero .page-hero-photo {
  object-position: top center;
}

.maintenance-page-hero .page-hero-main {
  padding-block: 70px;
}

.maintenance-page-hero .page-hero-content {
  max-width: 871px;
}

.maintenance-hero-description {
  max-width: 774px;
  margin: 15px 0 0;
  color: var(--color-white);
  font-size: 16px;
  line-height: 29px;
}

.maintenance-hero-description + .maintenance-hero-description {
  margin-top: 17px;
}

.maintenance-hero-cta {
  width: 400px;
  margin-top: 32px;
}

.maintenance-strategy-section,
.maintenance-conditions-section,
.maintenance-process-section,
.maintenance-care-section {
  padding-block: var(--section-padding-block);
}

.maintenance-history-section,
.maintenance-portfolio-section,
.maintenance-condition-section {
  padding-bottom: var(--section-padding-block);
}

.maintenance-split-main {
  display: grid;
  grid-template-columns: minmax(0, 725fr) minmax(0, 752fr);
  align-items: center;
  gap: 49px;
  max-width: 1526px;
}

.maintenance-content,
.maintenance-media {
  min-width: 0;
}

.maintenance-content .section-title {
  max-width: 679px;
}

.maintenance-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 725 / 342;
  object-fit: cover;
  border-radius: var(--radius-small);
}

.maintenance-body {
  max-width: 750px;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 29px;
}

.maintenance-conditions-section {
  background: var(--color-services-surface);
}

.maintenance-conditions-section .maintenance-split-main {
  grid-template-columns: minmax(0, 758fr) minmax(0, 725fr);
  gap: 43px;
}

.maintenance-conditions-section .maintenance-photo,
.maintenance-portfolio-section .maintenance-photo {
  aspect-ratio: 725 / 519;
}

.maintenance-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--color-text-secondary);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  list-style: none;
}

.maintenance-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
}

.maintenance-checklist img {
  flex: 0 0 18px;
  margin-top: 5px;
}

.maintenance-conditions-list {
  grid-template-columns: minmax(0, 340fr) minmax(0, 388fr);
  grid-template-rows: repeat(7, auto);
  grid-auto-flow: column;
  column-gap: 24px;
}

.maintenance-process-section {
  --color-border-muted: var(--color-border-on-dark);
  background: var(--color-heading);
}

.maintenance-process-section .section-eyebrow,
.maintenance-history-content .section-eyebrow {
  color: var(--color-eyebrow-on-dark);
}

.maintenance-process-section .section-title,
.maintenance-step h3 {
  color: var(--color-white);
}

.maintenance-steps {
  margin-top: 50px;
  border-bottom: 1px solid var(--color-border-on-dark);
}

.maintenance-steps .maintenance-step {
  min-height: 290px;
  padding-block: 48px;
}

.maintenance-step:nth-child(-n + 3) h3 {
  min-height: 58px;
}

.maintenance-step .repair-response-description {
  max-width: none;
}

.maintenance-history-main {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
  min-height: 630px;
  padding: 64px 48px;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: var(--color-heading);
}

.maintenance-history-photo,
.maintenance-history-main::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.maintenance-history-photo {
  z-index: -2;
  object-fit: cover;
}

.maintenance-history-main::before {
  content: '';
  z-index: -1;
  background: linear-gradient(180deg, transparent 28.57%, #000 100%);
  pointer-events: none;
}

.maintenance-history-content {
  max-width: 1029px;
  min-width: 0;
  text-align: center;
}

.maintenance-history-content .section-title {
  margin-block: 20px 16px;
  color: var(--color-white);
}

.maintenance-history-content .maintenance-body {
  max-width: none;
  color: var(--color-white);
}

.maintenance-portfolio-section .maintenance-split-main {
  grid-template-columns: minmax(0, 830fr) minmax(0, 720fr);
  gap: 50px;
  max-width: none;
}

.maintenance-portfolio-section .section-title {
  max-width: 794px;
}

.maintenance-subtitle {
  margin: 30px 0 16px;
  font-size: 25px;
  line-height: 1.3;
}

.maintenance-note,
.maintenance-management-note {
  margin: 16px 0 0;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 29px;
}

.maintenance-management-note {
  color: var(--color-white);
}

.maintenance-service-cta {
  border-color: var(--color-white);
  background: transparent;
  color: var(--color-white);
  white-space: nowrap;
}

/* Roof Condition Assessments: comparison, diagnostics and budget planning. */
.assessment-page-hero .page-hero-content { max-width: 871px; }
.assessment-page-hero::before {
  background: linear-gradient(90deg, var(--color-heading) 20%, rgb(11 32 51 / 0) 100%);
}
.assessment-hero-lead {
  margin: 20px 0 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 29px;
}
.assessment-hero-description {
  max-width: 777px;
  margin: 16px 0 0;
  color: var(--color-white);
  font-size: 16px;
  line-height: 29px;
}
.assessment-hero-cta { width: 465px; margin-top: 28px; }
.assessment-comparison-section,
.assessment-questions-section,
.assessment-report-section,
.assessment-ownership-section,
.assessment-method-section,
.assessment-triggers-section,
.assessment-scale-section { padding-block: var(--section-padding-block); }
.assessment-heading { text-align: center; }
.assessment-heading .section-title { margin: 20px auto 0; }
.assessment-body {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 29px;
}
.assessment-centered-copy { max-width: 982px; margin-inline: auto; text-align: center; }
.assessment-small-copy {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 24px;
}
.assessment-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1396px;
  margin: 40px auto 0;
}
.assessment-comparison-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 262px;
  padding: 28px 32px;
  border: 1px solid var(--color-heading);
}
.assessment-kicker,
.assessment-price {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.assessment-comparison-card h3 {
  margin: 14px 0 12px;
  font-size: 25px;
  line-height: 1.3;
}
.assessment-comparison-card .assessment-body { max-width: 559px; }
.assessment-price { margin-top: auto; padding-top: 20px; }
.assessment-comparison-paid { background: var(--color-heading); }
.assessment-comparison-paid h3,
.assessment-comparison-paid .assessment-body { color: var(--color-white); }
.assessment-comparison-paid .assessment-price { color: var(--color-primary); }
.assessment-comparison-note { margin-top: 36px; }
.assessment-questions-section,
.assessment-ownership-section { background: var(--color-services-surface); }
.assessment-questions-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 38px 0 0;
  padding: 0;
  border-block: 1px solid var(--color-border-muted);
  list-style: none;
}
.assessment-question { min-width: 0; padding: 48px 32px; }
.assessment-question:first-child { padding-left: 0; }
.assessment-question:last-child { padding-right: 0; }
.assessment-question + .assessment-question { border-left: 1px solid var(--color-border-muted); }
.assessment-question h3,
.assessment-panel h3 {
  margin: 9px 0 12px;
  font-size: 20px;
  line-height: 29px;
}
.assessment-report-main {
  display: grid;
  grid-template-columns: minmax(0, 725fr) minmax(0, 829fr);
  align-items: center;
  gap: 46px;
}
.assessment-report-main > *,
.assessment-ownership-main > * { min-width: 0; }
.assessment-report-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 725 / 521;
  object-fit: cover;
  border-radius: var(--radius-small);
}
.assessment-report-content .section-title { max-width: 680px; }
.assessment-capital-section,
.assessment-actions-section,
.assessment-triggers-section { background: var(--color-heading); }
.assessment-capital-section { padding: var(--section-padding-block) 0 min(70px, var(--section-padding-block)); }
.assessment-capital-section .section-title,
.assessment-capital-section .assessment-centered-copy,
.assessment-timeline h3,
.assessment-actions-section .section-title,
.assessment-triggers-section .section-title { color: var(--color-white); }
.assessment-capital-section .assessment-centered-copy { margin-top: 20px; }
.assessment-timeline .repair-next-card {
  min-height: 209px;
  border-color: var(--color-border-on-navy);
}
.assessment-actions-section {
  padding-block: min(70px, var(--section-padding-block));
  border-top: 1px solid var(--color-border-on-dark);
}
.assessment-actions-main > .section-title { margin: 0 auto; text-align: center; }
.assessment-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  max-width: 1336px;
  margin: 40px auto 0;
  padding: 0;
  background: var(--color-primary);
  border-radius: 5px;
  overflow: hidden;
  list-style: none;
}
.assessment-panel {
  min-width: 0;
  min-height: 120px;
  padding: 20px;
  background: var(--color-white);
}
.assessment-panel h3 { margin: 0 0 8px; }
.assessment-actions-note {
  max-width: 1050px;
  margin: 32px auto 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 29px;
  text-align: center;
}
.assessment-ownership-main {
  display: grid;
  grid-template-columns: minmax(0, 824fr) minmax(0, 690fr);
  align-items: start;
  gap: 86px;
}
.assessment-ownership-heading .section-title { margin-bottom: 0; }
.assessment-intents {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 15px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.assessment-intents li {
  max-width: 100%;
  padding: 18px 28px;
  border-radius: var(--radius-small);
  background: var(--color-heading);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.assessment-method-list { margin: 36px 0 0; border-top: 1px solid var(--color-border-muted); }
.assessment-method-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 76px;
  padding-block: 28px;
  border-bottom: 1px solid var(--color-border-muted);
}
.assessment-method-row dt {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 29px;
}
.assessment-method-row dd { margin: 0; }
.assessment-triggers-grid { row-gap: 2px; }
.assessment-triggers-grid .assessment-panel { min-height: 126px; }
.assessment-scale-section .assessment-heading { margin-bottom: 24px; }
.assessment-scale-section .assessment-body + .assessment-body { margin-top: 5px; }
.assessment-cta-section { min-height: 275px; }
.assessment-cta-main { grid-template-columns: minmax(0, 960px) minmax(0, 305px); }
.assessment-cta-main .section-title { max-width: 889px; }
.assessment-cta-description {
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 29px;
}
.assessment-cta-button {
  width: 305px;
  padding-inline: min(24px, var(--button-padding-inline));
  gap: min(14px, var(--button-gap));
  white-space: nowrap;
}
.assessment-inspection-cta { width: 290px; }

/* Roof Replacement / Reroofing: original photos, investment options and process. */
.replacement-page-hero .page-hero-content { max-width: 871px; }
.replacement-page-hero::before {
  background: linear-gradient(90deg, var(--color-heading), rgb(11 32 51 / 0) 85%);
}
.replacement-factors-section,
.replacement-options-section,
.replacement-planning-section,
.replacement-process-section { padding-block: var(--section-padding-block); }
.replacement-factors-main,
.replacement-options-main {
  display: grid;
  grid-template-columns: minmax(0, 725fr) minmax(0, 826fr);
  align-items: center;
  gap: 49px;
}
.replacement-content { min-width: 0; }
.replacement-content .section-title { margin: 14px 0 24px; }
.replacement-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 725 / 348;
  object-fit: cover;
  border-radius: var(--radius-small);
}
.replacement-factors-list {
  grid-template-columns: minmax(0, 247fr) minmax(0, 390fr);
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  column-gap: 24px;
}
.replacement-options-section { background: var(--color-heading); }
.replacement-options-main { grid-template-columns: minmax(0, 826fr) minmax(0, 725fr); }
.replacement-options-main .replacement-photo { aspect-ratio: 725 / 509; }
.replacement-options-section .section-title,
.replacement-options-list,
.replacement-options-section .replacement-note { color: var(--color-white); }
.replacement-options-list { gap: 24px; line-height: 38px; }
.replacement-options-list img { margin-top: 10px; }
.replacement-note {
  margin: 26px 0 0;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 29px;
}
.replacement-planning-main,
.replacement-process-main > .section-title { text-align: center; }
.replacement-planning-main .section-title { margin-top: 18px; }
.replacement-planning-main .replacement-note { margin-top: 26px; }
.replacement-process-section { background: var(--color-services-surface); }
.replacement-process-main > .section-title { margin-top: 14px; }
.replacement-steps {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--color-border-muted);
}
.repair-response-steps.replacement-steps::after { content: none; }
.replacement-step { min-height: 288px; padding: 48px 28px; }
.replacement-management-main { grid-template-columns: minmax(0, 875px) minmax(0, 442px); }
.replacement-management-main .section-title { max-width: 875px; }
.replacement-management-description {
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 29px;
}
.replacement-management-main .replacement-note { margin-top: 20px; color: var(--color-white); }
.replacement-assessment-cta {
  width: 442px;
  padding-inline: min(24px, var(--button-padding-inline));
  gap: min(14px, var(--button-gap));
}
.replacement-inspection-cta { width: 377px; }

/* AI-Powered Portfolio Tracking: property history, analysis and planning. */
.tracking-page-hero .page-hero-content { max-width: 1042px; }
.tracking-page-hero::before {
  background: linear-gradient(90deg, var(--color-heading), rgb(11 32 51 / 0) 85%);
}
.tracking-history-section,
.tracking-intelligence-section,
.tracking-analysis-section,
.tracking-process-section,
.tracking-planning-section { padding-block: var(--section-padding-block); }
.tracking-history-section { padding-bottom: calc(var(--section-padding-block) + 58px); }
.tracking-split {
  display: grid;
  grid-template-columns: minmax(0, 725fr) minmax(0, 826fr);
  align-items: center;
  gap: 49px;
}
.tracking-content { min-width: 0; }
.tracking-content .section-title { margin: 14px 0 24px; }
.tracking-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-small);
}
.tracking-photo-history { aspect-ratio: 725 / 290; }
.tracking-photo-intelligence { aspect-ratio: 725 / 509; }
.tracking-photo-analysis { aspect-ratio: 725 / 454; }
.tracking-photo-planning { aspect-ratio: 725 / 449; }
.tracking-body {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 29px;
}
.tracking-note {
  margin: 0;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 29px;
}
.tracking-intelligence-section { background: var(--color-heading); }
.tracking-intelligence-main { grid-template-columns: minmax(0, 826fr) minmax(0, 725fr); }
.tracking-intelligence-section .section-title,
.tracking-intelligence-section .tracking-body,
.tracking-questions-list { color: var(--color-white); }
.tracking-intelligence-section .tracking-body { max-width: 691px; }
.tracking-questions-list { margin-top: 20px; }
.tracking-analysis-main,
.tracking-planning-main { grid-template-columns: minmax(0, 725fr) minmax(0, 824fr); gap: 51px; }
.tracking-analysis-main .tracking-body { max-width: 729px; }
.tracking-subtitle { margin: 26px 0 18px; font-size: 25px; line-height: 29px; }
.tracking-questions-list,
.tracking-use-cases,
.tracking-planning-list { line-height: 28px; }
.tracking-planning-list { gap: 19px; }
.tracking-process-section { background: var(--color-services-surface); }
.tracking-process-main > .section-title { margin-top: 14px; text-align: center; }
.tracking-step { min-height: 160px; padding-block: 48px 30px; }
.tracking-step h3 { margin-bottom: 0; }
.tracking-process-main > .tracking-note { margin-top: 34px; text-align: center; }
.tracking-visibility-main { grid-template-columns: minmax(0, 875px) minmax(0, 442px); }
.tracking-visibility-main .section-title { max-width: 875px; }
.tracking-visibility-description {
  max-width: 580px;
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 29px;
}
.tracking-assessment-cta {
  width: 388px;
  padding-inline: min(24px, var(--button-padding-inline));
  gap: min(14px, var(--button-gap));
}
.tracking-inspection-cta { width: 377px; }

@media (max-width: 1440px) {
  .tracking-history-section { padding-bottom: var(--section-padding-block); }
  .tracking-split { gap: 32px; }
  .tracking-body,
  .tracking-questions-list,
  .tracking-use-cases,
  .tracking-planning-list { font-size: 17px; }
  .tracking-note { font-size: 18px; }

  .replacement-factors-main,
  .replacement-options-main { gap: 32px; }
  .replacement-factors-list,
  .replacement-options-list { font-size: 17px; }
  .replacement-options-list { line-height: 32px; }
  .replacement-note { font-size: 18px; }

  .assessment-body { font-size: 17px; }
  .assessment-question { padding: 36px 24px; }
  .assessment-report-main { gap: 36px; }
  .assessment-ownership-main { gap: 48px; }
  .assessment-method-row { gap: 48px; }
  .assessment-actions-note { font-size: 18px; }

  .maintenance-page-hero .page-hero-main { padding-block: 64px; }
  .maintenance-split-main,
  .maintenance-conditions-section .maintenance-split-main,
  .maintenance-portfolio-section .maintenance-split-main { gap: 32px; }
  .maintenance-body,
  .maintenance-checklist { font-size: 17px; }
  .maintenance-conditions-list { column-gap: 20px; }
  .maintenance-history-main { min-height: 560px; padding: 48px 32px; }
  .maintenance-note,
  .maintenance-management-note { font-size: 18px; }

  .repair-body,
  .repair-problems-list { font-size: 17px; }
  .repair-problems-main { gap: 40px; }
  .repair-problems-list { gap: 10px 20px; }
  .repair-response-step { padding: 36px 24px 10px; }
  .repair-pattern-main,
  .repair-records-main { gap: 64px; }
  .repair-next-list { gap: 24px; }
  .repair-next-card { padding: 26px 22px; }
  .repair-next-card h3 { font-size: 18px; }
  .repair-next-note,
  .repair-records-note { font-size: 18px; }

  .services-method-list,
  .service-listing-grid {
    gap: 24px;
  }

  .services-method-step {
    padding: 28px 20px;
  }

  .services-method-label {
    font-size: 18px;
  }

  .service-record-main {
    gap: 64px;
  }

  .service-record-content > p:last-child,
  .service-portfolio-description {
    font-size: 17px;
  }

  .process-steps {
    min-height: 0;
  }

  .process-note {
    font-size: 18px;
  }

  .audience-main {
    gap: 40px;
  }

  .audience-content {
    font-size: 17px;
  }

  .about-approach-top {
    gap: 48px;
  }

  .about-approach-description {
    font-size: 17px;
  }

  .about-approach-objective-description {
    font-size: 18px;
  }

  .about-company-top {
    gap: 40px;
  }

  .about-company-description {
    font-size: 17px;
  }

  .about-company-subtitle {
    font-size: 24px;
  }

  .about-company-steps {
    gap: 24px;
    margin-top: 40px;
  }

  .about-company-step {
    padding: 28px 24px;
  }


  .page-hero-main {
    min-height: 520px;
    padding-block: 72px;
  }

  .page-hero-title {
    font-size: 54px;
  }


  .footer-columns {
    gap: 24px;
  }

  .site-footer {
    font-size: 15px;
  }

  .footer-bottom {
    margin-top: 64px;
  }


  .approach-main {
    gap: 48px;
  }

  .approach-description {
    font-size: 17px;
  }


  .roof-status-main {
    gap: 64px;
  }

  .roof-status-description {
    font-size: 17px;
  }


  .serve-list {
    gap: 20px;
  }

  .serve-card {
    flex-basis: calc((100% - 80px) / 5);
    padding: 32px 16px 24px;
  }

  .serve-card-title {
    font-size: 18px;
    line-height: 26px;
  }

  .services-section {
    --service-card-height: 460px;
    --service-gap: 24px;
    --services-nav-size: var(--button-min-height);
  }

  .service-card {
    padding: 22px 18px;
  }

  .service-title {
    font-size: 19px;
    line-height: 27px;
  }

  .portfolio-main {
    gap: 64px;
  }

  .portfolio-description {
    font-size: 17px;
  }

  .portfolio-note {
    font-size: 18px;
  }

  .strategy-description {
    font-size: 17px;
  }

  .strategy-subtitle {
    font-size: 24px;
  }

  .strategy-step {
    padding: 40px 20px;
  }

  :root {
    --section-padding-block: 80px;
    --section-title-size: 38px;
  }

  .consultation-content {
    font-size: 17px;
  }

  .banner-section {
    --banner-height: 760px;
  }

  .banner-slide>.container {
    padding-block: 80px;
  }

  .banner-title {
    font-size: 76px;
    line-height: 1.06;
  }

  :root {
    --container-gutter: 32px;
    --button-min-height: 54px;
    --button-padding-block: 15px;
    --button-padding-inline: 26px;
    --button-gap: 16px;
  }

  .header-main {
    gap: 24px;
  }

  .site-navigation {
    gap: 24px;
  }

  .navigation-list {
    gap: 24px;
  }
}

/* Keep this threshold in sync with MOBILE_QUERY in assets/js/main.js. */
@media (max-width: 1200px) {
  .tracking-split { gap: 28px; }
  .tracking-subtitle { font-size: 24px; }
  .tracking-step { min-height: 0; }

  .replacement-factors-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .replacement-step { min-height: 0; }

  .assessment-comparison-card { padding: 28px 24px; }
  .assessment-comparison-card h3 { font-size: 23px; }
  .assessment-report-main { gap: 32px; }
  .assessment-ownership-main { gap: 32px; }
  .assessment-intents { gap: 12px; }
  .assessment-intents li { padding: 14px 18px; font-size: 13px; letter-spacing: 1px; }

  .maintenance-page-hero .page-hero-photo { object-position: center; }
  .maintenance-page-hero .page-hero-main { padding-block: 60px; }
  .maintenance-conditions-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .maintenance-steps .maintenance-step { min-height: 0; padding-block: 28px; }
  .maintenance-step:nth-child(-n + 3) h3 { min-height: 0; }
  .maintenance-subtitle { font-size: 23px; }

  .repair-response-description,
  .repair-response-note { max-width: none; }
  .repair-problems-main { gap: 32px; }
  .repair-problems-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .repair-response-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Complete the separators through the sixth, empty tablet grid cell. */
  .repair-response-steps::after {
    content: '';
    border-top: 1px solid var(--color-border-muted);
    border-left: 1px solid var(--color-border-muted);
    pointer-events: none;
  }
  .repair-response-step { padding: 28px 24px; }
  .repair-response-step:nth-child(n) { border-left: 0; padding-inline: 24px; }
  .repair-response-step:not(:nth-child(3n + 1)) { border-left: 1px solid var(--color-border-muted); }
  .repair-response-step:nth-child(n + 4) { border-top: 1px solid var(--color-border-muted); }
  .repair-next-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .repair-next-card { min-height: 0; }
  .repair-pattern-main,
  .repair-records-main { gap: 40px; }

  .services-method-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-listing-content {
    padding: 18px;
  }

  .service-record-main {
    gap: 40px;
  }

  .process-main > .section-title {
    margin-bottom: 32px;
  }

  .audience-main {
    gap: 32px;
  }

  .about-approach-top {
    gap: 40px;
  }

  .about-approach-objective {
    padding: 32px 28px;
  }

  .about-company-top {
    gap: 32px;
  }

  .about-company-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .page-hero-main {
    min-height: 480px;
    padding-block: 64px;
  }

  .page-hero-content {
    max-width: 620px;
  }

  .page-hero-title {
    font-size: 48px;
  }


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

  .footer-brand {
    grid-row: span 2;
  }


  .approach-main {
    gap: 40px;
  }


  .roof-status-main {
    gap: 40px;
  }


  .serve-card {
    flex-basis: calc((100% - 40px) / 3);
  }

  .services-carousel:not(.owl-loaded) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-heading {
    margin-bottom: 40px;
  }

  .portfolio-main {
    gap: 40px;
  }

  .strategy-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .strategy-step,
  .strategy-step:first-child,
  .strategy-step:last-child {
    padding: 30px 24px;
  }

  :root {
    --section-padding-block: 72px;
    --section-title-size: 36px;
  }

  .consultation-main {
    gap: 32px;
  }

  .consultation-photo-detail {
    outline-width: 8px;
  }

  .banner-section {
    --banner-height: 700px;
  }

  .banner-slide>.container {
    padding-block: 76px;
  }

  .banner-title {
    font-size: 68px;
  }

  .banner-slide::after {
    background: linear-gradient(90deg, rgb(11 32 51 / .98) 12%, rgb(11 32 51 / .2) 100%);
  }

  :root {
    --header-height: 88px;
    --button-min-height: 52px;
    --button-padding-block: 14px;
    --button-padding-inline: 24px;
    --button-gap: 14px;
  }

  .header-main {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
  }

  .site-logo {
    margin-block: 14px;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .desktop-navigation-slot {
    flex-basis: 100%;
    margin: 0;
  }

  .js .desktop-navigation-slot {
    display: none;
  }

  .site-navigation {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin: 0;
    padding-block: 16px 0;
  }

  .navigation-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .navigation-link {
    min-height: 48px;
    padding-block: 14px;
    white-space: normal;
  }

  .navigation-services {
    grid-template-columns: minmax(0, 1fr) 48px;
    column-gap: 0;
  }

  .services-toggle {
    justify-content: flex-end;
    padding-inline-end: 19px;
  }

  .services-menu {
    position: static;
    width: 100%;
    padding: 4px 12px;
    margin: 0 0 8px;
    border: 0;
    border-left: 2px solid var(--color-primary);
    border-radius: 0;
    background: var(--color-surface);
    box-shadow: none;
  }

  .services-menu::before {
    display: none;
  }

  .services-menu a {
    padding: 12px 8px;
    overflow-wrap: anywhere;
  }

  .header-cta {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .tracking-split,
  .tracking-intelligence-main,
  .tracking-analysis-main,
  .tracking-planning-main { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tracking-body,
  .tracking-questions-list,
  .tracking-use-cases,
  .tracking-planning-list { font-size: 16px; line-height: 27px; }
  .tracking-subtitle { font-size: 23px; }
  .tracking-visibility-main { grid-template-columns: minmax(0, 1fr); }

  .replacement-factors-main,
  .replacement-options-main { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .replacement-factors-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; }
  .replacement-factors-list,
  .replacement-options-list { font-size: 16px; }
  .replacement-management-main { grid-template-columns: minmax(0, 1fr); }

  .assessment-body { font-size: 16px; line-height: 27px; }
  .assessment-report-main,
  .assessment-ownership-main { grid-template-columns: minmax(0, 1fr); margin-inline: auto; gap: 32px; }
  .assessment-questions-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assessment-question:nth-child(n) { padding: 28px 24px; border: 0; }
  .assessment-question:nth-child(-n + 2) { border-bottom: 1px solid var(--color-border-muted); }
  .assessment-question:nth-child(2) { border-left: 1px solid var(--color-border-muted); }
  .assessment-question:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
    border-inline: 1px solid var(--color-border-muted);
    text-align: left;
  }
  .assessment-actions-grid { grid-template-columns: minmax(0, 1fr);}
  .assessment-panel { min-height: 0; padding: 24px; }
  .assessment-triggers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assessment-method-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; }
  .assessment-cta-main { grid-template-columns: minmax(0, 1fr); }

  .maintenance-page-hero .page-hero-main { padding-block: 56px; }
  .maintenance-split-main,
  .maintenance-conditions-section .maintenance-split-main,
  .maintenance-portfolio-section .maintenance-split-main { grid-template-columns: minmax(0, 1fr); margin-inline: auto; }
  .maintenance-body,
  .maintenance-checklist { font-size: 16px; line-height: 27px; }
  .maintenance-conditions-list { grid-template-columns: minmax(0, 340fr) minmax(0, 388fr); grid-template-rows: repeat(7, auto); grid-auto-flow: column; }
  .maintenance-history-main { min-height: 540px; }

  .repair-problems-main,
  .repair-pattern-main,
  .repair-records-main { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-inline: auto; }
  .repair-problems-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); grid-auto-flow: column; }
  .repair-body,
  .repair-problems-list { font-size: 16px; line-height: 27px; }
  .repair-problems-subtitle { font-size: 23px; }
  .repair-response-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .repair-response-step:nth-child(n) { border: 0; padding: 28px 24px; }
  .repair-response-step:nth-child(even) { border-left: 1px solid var(--color-border-muted); }
  .repair-response-step:nth-child(n + 3) { border-top: 1px solid var(--color-border-muted); }
  .repair-next-list {margin-inline: auto; gap: 20px; }
  .repair-hero-cta { font-size: 13px; }

  .services-method-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .service-listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .service-listing-card:nth-child(4) {
    grid-column: auto / span 2;
  }

  .service-listing-card:last-child {
    grid-column: 2 / span 2;
  }

  .service-record-main {
    grid-template-columns: minmax(0, 1fr);
    /* max-width: 720px; */
    margin-inline: auto;
    gap: 32px;
  }

  .service-record-content > p:last-child,
  .service-portfolio-description {
    font-size: 16px;
    line-height: 27px;
  }

  .process-main {
    /* max-width: 720px; */
    margin-inline: auto;
  }

  .process-note {
    margin-top: 28px;
    line-height: 27px;
  }

  .audience-main {
    grid-template-columns: minmax(0, 1fr);
    /* max-width: 720px; */
    margin-inline: auto;
  }

  .audience-content {
    font-size: 16px;
    line-height: 27px;
  }

  .roof-management-actions {
    gap: 20px;
  }

  .about-approach-main {
    /* max-width: 720px; */
    margin-inline: auto;
  }

  .about-approach-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .about-approach-description {
    font-size: 16px;
    line-height: 27px;
  }

  .about-company-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-company-main {
    /* max-width: 720px; */
    margin-inline: auto;
  }

  .about-company-description {
    font-size: 16px;
    line-height: 27px;
  }

  .about-company-note {
    font-size: 18px;
    line-height: 27px;
  }

  .about-company-subtitle {
    font-size: 23px;
    line-height: 1.25;
  }

  .about-company-steps {
    gap: 20px;
    margin-top: 32px;
  }


  .page-hero-main {
    min-height: 440px;
  }

  .page-hero-content {
    max-width: 580px;
  }

  .page-hero-title {
    font-size: 44px;
  }

  .page-hero-section::before {
    background: linear-gradient(90deg, rgb(11 32 51 / 95%), rgb(11 32 51 / 25%));
  }


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

  .footer-brand {
    grid-column: 1 / -1;
    grid-row: auto;
    max-width: 350px;
  }

  .footer-bottom {
    margin-top: 48px;
  }


  .approach-section {
    min-height: 0;
  }

  .approach-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    /* max-width: 720px; */
    margin-inline: auto;
  }

  .approach-description {
    font-size: 16px;
    line-height: 27px;
  }

  .approach-cta {
    font-size: 13px;
    letter-spacing: 1px;
  }


  .roof-status-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-inline: auto;
  }

  .roof-status-description {
    font-size: 16px;
    line-height: 27px;
  }

  .roof-status-cta {
    margin-top: 28px;
    font-size: 13px;
    letter-spacing: 1px;
  }


  .serve-heading {
    margin-bottom: 30px;
  }

  .serve-list {
    margin-inline: auto;
  }

  .serve-card {
    flex-basis: calc((100% - 20px) / 2);
  }

  .services-section {
    --service-card-height: 450px;
    --service-gap: 20px;
  }

  .services-carousel:not(.owl-loaded) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-footer {
    gap: 20px;
    margin-top: 30px;
  }

  .services-cta {
    width: auto;
    font-size: 13px;
    letter-spacing: 1px;
  }

  .portfolio-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-inline: auto;
  }

  .portfolio-description {
    font-size: 16px;
    line-height: 27px;
  }

  .strategy-description {
    font-size: 16px;
    line-height: 27px;
  }

  .strategy-subtitle {
    font-size: 23px;
  }

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

  .strategy-execution {
    margin-top: 30px;
  }

  :root {
    --section-padding-block: 64px;
    --section-title-size: 34px;
  }

  .consultation-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .consultation-media,
  .consultation-content {
    width: 100%;
    margin-inline: auto;
  }

  .banner-section {
    --banner-height: 660px;
  }

  .banner-slide>.container {
    padding-block: 72px 92px;
  }

  .banner-title {
    font-size: 60px;
  }

  .banner-description {
    max-width: 640px;
  }

  .banner-eyebrow {
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 1.2px;
  }

  .banner-actions {
    gap: 14px;
    margin-top: 28px;
  }

  .banner-actions .button {
    width: auto;
    font-size: 13px;
    letter-spacing: 1px;
  }

  :root {
    --container-gutter: 24px;
    --button-min-height: 50px;
    --button-padding-block: 13px;
    --button-padding-inline: 20px;
    --button-gap: 12px;
  }

  .offcanvas {
    width: min(380px, calc(100vw - 24px));
  }
}

@media (max-width: 767px) {
  .tracking-split { gap: 28px; }
  .tracking-content .section-title { margin-bottom: 20px; }
  .tracking-body,
  .tracking-questions-list,
  .tracking-use-cases,
  .tracking-planning-list,
  .tracking-note,
  .tracking-visibility-description { font-size: 15px; line-height: 26px; }
  .tracking-subtitle { margin-top: 24px; font-size: 22px; }
  .tracking-planning-list { gap: 16px; }
  .tracking-process-main > .tracking-note { margin-top: 24px; }
  .tracking-page-hero::before { background: linear-gradient(90deg, rgb(11 32 51 / 95%), rgb(11 32 51 / 50%)); }

  .replacement-factors-main,
  .replacement-options-main { gap: 28px; }
  .replacement-content .section-title { margin-bottom: 20px; }
  .replacement-factors-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .replacement-factors-list,
  .replacement-options-list,
  .replacement-note,
  .replacement-management-description { font-size: 15px; line-height: 26px; }
  .replacement-options-list { gap: 20px; }
  .replacement-options-list img { margin-top: 4px; }
  .replacement-page-hero::before { background: linear-gradient(90deg, rgb(11 32 51 / 95%), rgb(11 32 51 / 50%)); }

  .assessment-page-hero::before { background: linear-gradient(90deg, rgb(11 32 51 / 95%), rgb(11 32 51 / 50%)); }
  .assessment-hero-lead { font-size: 15px; line-height: 26px; }
  .assessment-hero-description,
  .assessment-body,
  .assessment-small-copy,
  .assessment-actions-note,
  .assessment-cta-description { font-size: 15px; line-height: 26px; }
  .assessment-hero-cta { margin-top: 24px; }
  .assessment-comparison-grid { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .assessment-comparison-card { min-height: 0; padding: 24px 20px; }
  .assessment-comparison-card h3 { font-size: 22px; }
  .assessment-kicker,
  .assessment-price { font-size: 12px; letter-spacing: 1px; }
  .assessment-comparison-note { margin-top: 24px; }
  .assessment-questions-list { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .assessment-question:nth-child(n) { border: 0; padding: 24px 0; }
  .assessment-question + .assessment-question { border-top: 1px solid var(--color-border-muted); }
  .assessment-question:nth-child(3) {
    width: 100%;
    border-inline: 0;
  }
  .assessment-report-main,
  .assessment-ownership-main { gap: 28px; }
  .assessment-panel-grid { margin-top: 28px; }
  .assessment-timeline .repair-next-card { min-height: 0; }
  .assessment-actions-note { margin-top: 24px; }
  .assessment-intents li { font-size: 15px; line-height: 26px; letter-spacing: .4px; padding: 12px 16px; }
  .assessment-method-list { margin-top: 28px; }
  .assessment-method-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 24px; }
  .assessment-triggers-grid { grid-template-columns: minmax(0, 1fr); }
  .assessment-triggers-grid .assessment-panel { min-height: 0; }

  .maintenance-page-hero .page-hero-main { padding-block: 48px; }
  .maintenance-hero-description,
  .maintenance-body,
  .maintenance-checklist,
  .maintenance-note,
  .maintenance-management-note { font-size: 15px; line-height: 26px; }
  .maintenance-hero-cta { margin-top: 24px; }
  .maintenance-split-main,
  .maintenance-conditions-section .maintenance-split-main,
  .maintenance-portfolio-section .maintenance-split-main { gap: 28px; }
  .maintenance-conditions-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; gap: 12px; }
  .maintenance-steps { margin-top: 28px; }
  .maintenance-steps .maintenance-step { padding-block: 24px; }
  .maintenance-history-main { min-height: 560px; padding: 36px 20px; }
  .maintenance-history-photo { object-position: 30% center; }
  .maintenance-history-main::before { background: linear-gradient(180deg, rgb(0 0 0 / 10%), rgb(0 0 0 / 95%)); }
  .maintenance-subtitle { margin-top: 24px; font-size: 22px; }

  .repair-page-hero .page-hero-main { padding-block: 56px; }
  .repair-page-hero .page-hero-photo { object-position: 65% center; }
  .repair-hero-description,
  .repair-hero-note,
  .repair-body,
  .repair-problems-list,
  .repair-objective,
  .repair-response-description,
  .repair-response-note,
  .repair-next-note,
  .repair-records-note { font-size: 15px; line-height: 26px; }
  .repair-hero-cta { width: 100%; max-width: 309px; font-size: 12px; }
  .repair-problems-main,
  .repair-pattern-main,
  .repair-records-main { gap: 28px; }
  .repair-problems-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; gap: 12px; }
  .repair-problems-subtitle { font-size: 22px; }
  .repair-response-steps { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .repair-response-steps::after {
    content: none;
  }
  .repair-response-step:nth-child(n) { border: 0; padding: 24px 0; }
  .repair-response-step + .repair-response-step { border-top: 1px solid var(--color-border-muted); }
  /* Keep only the AI tracking process in two columns on phones. */
  .tracking-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tracking-steps .tracking-step:nth-child(n) { border: 0; padding: 24px 12px; }
  .tracking-steps .tracking-step:nth-child(even) { border-left: 1px solid var(--color-border-muted); }
  .tracking-steps .tracking-step:nth-child(n + 3) { border-top: 1px solid var(--color-border-muted); }
  .tracking-steps .tracking-step h3 { overflow-wrap: anywhere; }

  .repair-next-list { grid-template-columns: minmax(0, 1fr); max-width: 440px; gap: 16px; margin-top: 28px; }
  .repair-next-card { padding: 24px; }
  .repair-next-card h3 { font-size: 20px; }

  .services-page-hero::before {
    background: linear-gradient(90deg, rgb(11 32 51 / 95%), rgb(11 32 51 / 55%));
  }

  .services-method-section {
    padding-top: 32px;
  }

  .services-method-list,
  .service-listing-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    max-width: 440px;
    margin-inline: auto;
  }

  .services-method-step {
    min-height: 0;
    padding: 24px;
  }

  .service-listing-card,
  .service-listing-card:nth-child(4),
  .service-listing-card:last-child {
    grid-column: auto;
  }

  .service-listing-content {
    padding: 20px;
  }

  .services-hero-description,
  .service-listing-content p,
  .service-record-content > p:last-child,
  .service-portfolio-description,
  .services-inspection-description {
    font-size: 15px;
    line-height: 26px;
  }

  .service-record-main {
    gap: 28px;
  }

  .process-main > .section-title {
    margin-block: 12px 28px;
  }

  .process-note {
    margin-top: 24px;
    font-size: 15px;
    line-height: 26px;
  }

  .audience-main {
    gap: 28px;
  }

  .audience-content {
    font-size: 15px;
    line-height: 26px;
  }

  .audience-description {
    margin-top: 24px;
  }

  .roof-management-process {
    font-size: 15px;
    line-height: 26px;
  }

  .roof-management-actions {
    gap: 16px;
  }

  .about-approach-top {
    gap: 28px;
  }

  .about-approach-description,
  .about-approach-objective-description {
    font-size: 15px;
    line-height: 26px;
  }

  .about-approach-objective {
    min-height: 0;
    padding: 28px 20px;
  }

  .about-company-top {
    gap: 28px;
  }

  .about-company-description,
  .about-company-note,
  .about-company-step-description {
    font-size: 15px;
    line-height: 26px;
  }

  .about-company-topic {
    margin-top: 20px;
  }

  .about-company-subtitle {
    margin-bottom: 10px;
    font-size: 22px;
  }

  .about-company-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 28px;
  }

  .about-company-step {
    min-height: 0;
    padding: 24px;
  }


  .page-hero-main {
    padding-block: 56px;
  }

  .page-hero-title {
    margin-top: 14px;
    font-size: clamp(32px, 7vw, 42px);
    line-height: 1.2;
  }

  .page-hero-photo {
    object-position: 65% center;
  }

  .page-hero-section::before {
    background: linear-gradient(90deg, rgb(11 32 51 / 95%), rgb(11 32 51 / 50%));
  }


  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-title {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .footer-links a,
  .footer-contact-list a,
  .footer-legal a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .site-footer p,
  .footer-links,
  .footer-contact-list {
    font-size: 15px;
    line-height: 26px;
  }

  .site-footer .footer-notice {
    font-size: 12px;
    line-height: 1.5;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-top: 40px;
  }


  .approach-main {
    gap: 24px;
  }

  .approach-content .section-eyebrow {
    align-items: flex-start;
  }

  .approach-content .section-eyebrow::before {
    margin-top: .7em;
  }

  .approach-description {
    font-size: 15px;
    line-height: 26px;
  }

  .approach-cta {
    width: 100%;
    font-size: 12px;
    letter-spacing: .8px;
  }

  .roof-management-cta-outline {
    gap: 8px;
    padding-inline: 12px;
    letter-spacing: .4px;
  }


  .roof-status-main {
    gap: 28px;
  }

  .roof-status-description {
    font-size: 15px;
    line-height: 26px;
  }

  .roof-status-cta {
    width: 100%;
    margin-top: 24px;
    font-size: 12px;
    letter-spacing: .8px;
  }


  .serve-heading {
    margin-bottom: 28px;
  }

  .serve-list {
    gap: 16px;
  }

  .serve-card {
    flex-basis: 100%;
    min-height: 190px;
    gap: 16px;
    padding: 24px 20px;
  }

  .services-section {
    --service-card-height: 440px;
    --service-gap: 16px;
  }

  .services-carousel {
    margin-inline: auto;
  }

  .services-carousel:not(.owl-loaded) {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-heading {
    margin-bottom: 28px;
  }

  .service-card {
    aspect-ratio: 377 / 497;
    padding: 24px 20px;
  }

  .service-title {
    font-size: 20px;
    line-height: 28px;
  }

  .service-details p {
    font-size: 15px;
    line-height: 26px;
  }

  .services-footer {
    flex-wrap: wrap;
    gap: 20px;
    margin: 24px auto 0;
  }

  .services-navigation {
    gap: 12px;
  }

  .services-cta {
    flex-basis: 100%;
    width: 100%;
    font-size: 12px;
    letter-spacing: .8px;
  }

  .portfolio-main {
    gap: 28px;
  }

  .portfolio-description,
  .portfolio-note {
    font-size: 15px;
    line-height: 26px;
  }

  .portfolio-note {
    margin-top: 16px;
  }

  .strategy-section .section-title {
    margin-block: 12px 16px;
  }

  .strategy-description,
  .strategy-step-description,
  .strategy-note {
    font-size: 15px;
    line-height: 26px;
  }

  .strategy-subtitle {
    font-size: 22px;
    line-height: 1.3;
  }

  .strategy-stages {
    margin-top: 24px;
  }

  .strategy-steps {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 20px;
  }

  .strategy-step,
  .strategy-step:first-child,
  .strategy-step:last-child {
    padding: 24px 0;
  }

  .strategy-step-title {
    margin-block: 6px 8px;
  }

  .strategy-execution {
    margin-top: 24px;
  }

  .strategy-execution .strategy-description,
  .strategy-note {
    margin-top: 14px;
  }

  .section-eyebrow-centered::after {
    flex-basis: 28px;
  }

  :root {
    --section-padding-block: 48px;
    --section-title-size: clamp(28px, 5vw, 32px);
  }

  .section-eyebrow {
    font-size: 12px;
    letter-spacing: 1.2px;
  }

  .section-eyebrow::before {
    flex-basis: 28px;
  }

  .section-title {
    margin-block: 12px 16px;
  }

  .consultation-main {
    gap: 32px;
  }

  .consultation-photo-detail {
    outline-width: 6px;
  }

  .consultation-content {
    font-size: 15px;
    line-height: 26px;
  }

  .consultation-objectives {
    gap: 12px;
    margin-top: 18px;
  }

  .consultation-objectives li {
    column-gap: 10px;
  }

  .consultation-objectives img {
    margin-top: 4px;
  }

  .consultation-note {
    margin-top: 20px;
    font-size: 15px;
    line-height: 26px;
  }

  .banner-section {
    --banner-height: 720px;
  }

  .banner-slide>.container {
    align-items: flex-start;
    padding-block: 64px 104px;
  }

  .banner-title {
    margin-block: 16px 22px;
    font-size: clamp(36px, 7vw, 52px);
    line-height: 1.08;
  }

  .banner-eyebrow {
    align-items: flex-start;
    max-width: 440px;
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: 1px;
  }

  .banner-eyebrow::before {
    flex-basis: 28px;
    margin-top: 9px;
  }

  .banner-description {
    font-size: 15px;
    line-height: 25px;
  }

  .banner-actions {
    /* flex-direction: column; */
    gap: 12px;
  }

  .banner-actions .button {
    width: 100%;
    max-width: 407px;
    font-size: 12px;
    letter-spacing: .8px;
  }

  .banner-carousel .banner-image {
    object-position: 68% center;
  }

  .banner-slide::after {
    background: linear-gradient(90deg, rgb(11 32 51 / .96), rgb(11 32 51 / .66));
  }

  .banner-controls {
    bottom: 24px;
  }

  :root {
    --container-gutter: 20px;
    --header-height: 80px;
    --button-min-height: 48px;
    --button-padding-block: 12px;
    --button-padding-inline: 16px;
    --button-gap: 10px;
  }

  .site-logo img {
    width: 160px;
    height: auto;
    aspect-ratio: 192 / 59;
  }

  .site-logo {
    margin-block: 15px;
  }

  .offcanvas {
    width: min(360px, calc(100vw - 24px));
    padding: 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .offcanvas::backdrop {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}


@media (max-width: 480px){
  .banner-actions {
    flex-direction: column;
    gap: 12px;
  }
}

/* WordPress integration: admin bar and menu markup, preserving the HTML layout. */
.admin-bar .site-header { top: 32px; }
.footer-legal-list { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-legal-list li { display: flex; align-items: center; gap: 12px; }
.footer-legal-list li + li::before { content: '|'; }
.wordpress-content-section { padding-block: var(--section-padding-block); }
.wordpress-content-main { min-width: 0; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  #wpadminbar { position: fixed; }
}

/* Homepage welcome loader: three seconds, then a 450ms fade. */
.home-loader {
  --loader-logo-width: 300px;
  --loader-tagline-size: 15px;
  --loader-gap: 26px;
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  place-items: center;
  padding: 32px;
  background: var(--color-white);
  animation: swift-loader-exit 450ms ease 3s forwards;
}
/* Hidden without scripting; the timed CSS exit also works if main.js fails. */
@media (scripting: enabled) {
  .home-loader { display: grid; }
}
.home-loader.is-active { display: grid; }
.home-loader[hidden] { display: none; }
.home-loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--loader-gap);
  width: 100%;
  max-width: 520px;
  text-align: center;
}
.home-loader-logo {
  display: block;
  width: min(100%, var(--loader-logo-width));
  height: auto;
  animation: swift-loader-logo 1400ms ease-in-out infinite alternate;
}
.home-loader-tagline {
  margin: 0;
  color: var(--color-heading);
  font-family: var(--font-body);
  font-size: var(--loader-tagline-size);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}
.home-loader-track {
  display: block;
  width: 120px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgb(253 96 25 / 14%);
}
.home-loader-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  transform-origin: left;
  animation: swift-loader-line 1300ms ease-in-out infinite;
}
@keyframes swift-loader-logo {
  from { opacity: 0.65; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(-4px); }
}
@keyframes swift-loader-line {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes swift-loader-exit {
  from { opacity: 1; visibility: visible; }
  to { opacity: 0; visibility: hidden; }
}
@media (max-width: 1440px) {
  .home-loader { --loader-logo-width: 280px; --loader-gap: 24px; }
}
@media (max-width: 1200px) {
  .home-loader { --loader-logo-width: 260px; --loader-tagline-size: 14px; }
}
@media (max-width: 1024px) {
  .home-loader { --loader-logo-width: 240px; --loader-gap: 22px; padding: 24px; }
}
@media (max-width: 767px) {
  .home-loader { --loader-logo-width: 210px; --loader-tagline-size: 13px; --loader-gap: 20px; padding: 20px; }
  .home-loader-track { width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  /* Keep the three-second exit even when the global rule disables animations. */
  .home-loader { animation: swift-loader-exit 1ms linear 3s forwards !important; }
}
@media print {
  .home-loader { display: none !important; }
}

/* Website Animation: Lenis 1.3.26 core integration (MIT; license in assets/vendor). */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

html.lenis.lenis-smooth,
html[data-animation-enabled="0"] { scroll-behavior: auto; }
:root { --swift-reveal-distance: 12px; }
@media (max-width: 1024px) {
  :root { --swift-reveal-distance: 10px; }
}
@media (max-width: 767px) {
  :root { --swift-reveal-distance: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}

/* Contact: ACF content and the existing Gravity Forms form. */
.contact-hero-section::before { background: linear-gradient(90deg, rgb(11 32 51 / 99%) 29.7%, rgb(11 32 51 / 0%) 113.75%); }
.contact-options-section,
.contact-form-section,
.contact-location-section { padding-block: var(--section-padding-block); }
.contact-options-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 1215px; margin-inline: auto; }
.contact-option { min-width: 0; min-height: 229px; padding: 20px 24px 30px; border-radius: 3px; background: var(--color-white); box-shadow: 0 4px 34px rgb(0 0 0 / 10%); text-align: center; }
.contact-option-icon { display: flex; align-items: center; justify-content: center; height: 67px; margin-bottom: 10px; }
.contact-option-icon img { width: auto; height: auto; max-width: 63px; max-height: 63px; }
.contact-option:nth-child(1) .contact-option-icon img { max-width: 45px; max-height: 45px; }
.contact-option:nth-child(2) .contact-option-icon img { max-width: 41px; max-height: 43px; }
.contact-option h2 { margin: 0 0 3px; color: var(--color-heading); font: 700 20px/1.45 var(--font-heading); }
.contact-option p { max-width: 317px; margin: 0 auto; color: var(--color-text-secondary); font-size: 14px; line-height: 24px; }
.contact-option:nth-child(1) p,
.contact-option:nth-child(3) p { max-width: 264px; }
.contact-form-section { background: var(--color-services-surface); }
.contact-form-main { display: grid; grid-template-columns: minmax(0, 774fr) minmax(0, 785fr); gap: 41px; align-items: stretch; }
.contact-form-media { position: relative; min-width: 0; min-height: 1386px; border-radius: 3px; overflow: hidden; }
.contact-form-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-form-panel { min-width: 0; padding: 24px 29px 6px 0; }
.contact-form-panel .gform_wrapper { --gf-color-primary: var(--color-primary) !important; --gf-color-primary-rgb: 253, 96, 25 !important; --gf-color-in-ctrl: var(--color-heading); --gf-font-family-base: var(--font-body); --gf-font-size-base: 14px; --gf-ctrl-border-radius: 3px; --gf-ctrl-size: 52px; }
.contact-form-panel .gform_heading { margin-bottom: 24px; }
.contact-form-panel .gform_title { margin: 0; color: var(--color-heading); font: 700 var(--section-title-size)/1.22 var(--font-heading); }
.contact-form-panel .gform_description:empty { display: none; }
.contact-form-panel .gform_required_legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.contact-form-panel .gform_fields { column-gap: 20px; row-gap: 20px; }
.contact-form-panel .gfield { min-width: 0; }
.contact-form-panel .gfield_html h3 { margin: 14px 0 0; color: var(--color-heading); font: 700 25px/1.2 var(--font-heading); }
.contact-form-panel .gfield_html:first-child h3 { margin-top: 0; }
.contact-form-panel .gfield_label { display: block; margin: 0 0 8px; padding: 0; color: var(--color-heading); font: 500 20px/1.6 var(--font-heading); letter-spacing: -.4px; }
.contact-form-panel .gfield_required { color: var(--color-primary); font-size: 12px; }
.contact-form-panel .gfield input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.contact-form-panel .gfield select,
.contact-form-panel .gfield textarea { width: 100%; max-width: none; min-height: 52px; margin: 0; padding: 12px 18px; border: 1px solid rgb(16 43 70 / 15%); border-radius: 3px; background-color: var(--color-white); color: var(--color-heading); box-shadow: none; font: 400 14px/1.7 var(--font-body); }
.contact-form-panel .gfield input::placeholder,
.contact-form-panel .gfield textarea::placeholder { color: rgb(16 43 70 / 50%); opacity: 1; }
.contact-form-panel .gfield textarea { min-height: 96px; height: 96px; resize: vertical; }
#main-content .contact-form-panel :is(input, select, textarea):focus {
  border-color: var(--color-primary) !important;
  outline: none !important;
  box-shadow: none !important;
}
.contact-form-panel .gfield_radio { display: flex; flex-wrap: wrap; gap: 12px 15px; }
.contact-form-panel .gfield_radio .gchoice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#main-content .contact-form-panel .gfield_radio input[type="radio"] {
  appearance: none; width: 24px; height: 24px; inline-size: 24px; block-size: 24px;
  min-width: 24px; margin: 0; padding: 0; border: 1px solid var(--color-primary);
  border-radius: 50%; background: transparent; box-shadow: none; cursor: pointer;
}
#main-content .contact-form-panel .gfield_radio input[type="radio"]:checked {
  border-color: var(--color-primary);
  background: radial-gradient(circle at center, var(--color-primary) 0 6px, transparent 6.5px);
}
#main-content .contact-form-panel .gfield_radio input[type="radio"]::before,
#main-content .contact-form-panel .gfield_radio input[type="radio"]::after { content: none; }
@media (forced-colors: active) {
  #main-content .contact-form-panel .gfield_radio input[type="radio"] { appearance: auto; }
}
.contact-form-panel .gfield_radio label { margin: 0; color: var(--color-heading); font: 500 16px/29px var(--font-heading); white-space: nowrap; }
.contact-form-panel .gfield_radio .gchoice br { display: none; }
.contact-form-panel .gchoice:has(input[value="gf_other_choice"]:checked) { flex-basis: 100%; }
.contact-form-panel .gchoice:not(:has(input[type="radio"]:checked)) .gchoice_other_control { display: none; }
.contact-form-panel .gfield_radio input.gchoice_other_control { flex-basis: 100%; }
.contact-form-panel .ginput_container_date { position: relative; }
.contact-form-panel .ginput_container_date input { padding-right: 48px !important; }
/* Gravity Forms 3 uses an accessible button; retain the legacy selector below as fallback. */
#main-content .contact-form-panel .ginput_container_date .gform-datepicker-toggle {
  position: absolute; inset: 0 8px 0 auto; display: grid; place-items: center;
  width: 36px; height: 36px; inline-size: 36px; block-size: 36px; min-width: 36px; min-height: 36px; min-inline-size: 36px; min-block-size: 36px;
  padding: 9px; margin: auto 0; border: 0; background: transparent; box-shadow: none;
  transform: none; translate: none; cursor: pointer;
}
#main-content .contact-form-panel .ginput_container_date:focus-within input { border-color: var(--color-primary); }
#main-content .contact-form-panel .ginput_container_date .gform-datepicker-toggle:focus-visible { outline: none; }
.contact-form-panel .ginput_container_date input[readonly],
.contact-form-panel .contact-time-control select { cursor: pointer; }
#main-content .contact-form-panel .ginput_container_date .gform-datepicker-toggle img { width: 16px; height: 17px; max-width: 16px; max-height: 17px; object-fit: contain; opacity: 1; }
.contact-form-panel .ginput_container_date .ui-datepicker-trigger { position: absolute; right: 20px; top: 50%; width: 16px; height: 17px; margin: 0; transform: translateY(-50%); cursor: pointer; }
.contact-form-panel .gfield--type-time > .ginput_complex { margin: 0; gap: 8px; }
.contact-time-control { position: relative; width: 100%; }
.contact-time-control::after { content: ""; position: absolute; top: 50%; right: 13px; width: 19px; height: 19px; background: url("assets/images/contact-time-icon.webp") center / contain no-repeat; transform: translateY(-50%); pointer-events: none; }
#main-content .contact-form-panel .contact-time-control select { appearance: none; padding-right: 48px; background-image: none; }
.contact-time-control:not(.has-value) select { color: rgb(16 43 70 / 50%); }
.contact-time-control select option { color: var(--color-heading); }
/* Hide only the submission spinner; Gravity Forms retains its submission lock. */
.contact-form-panel #gform_wrapper_1 .gform_ajax_spinner,
.contact-form-panel #gform_wrapper_1 .gform-loader,
.contact-form-panel #gform_ajax_spinner_1 { display: none !important; }
/* GF applies an inline transparent text fill on Safari while showing its spinner. */
#main-content .contact-form-panel #gform_submit_button_1 {
  color: var(--color-white) !important;
  -webkit-text-fill-color: var(--color-white) !important;
}
.contact-form-panel .gform_footer { margin-top: 50px; padding: 0; }
#main-content .contact-form-panel .gform_footer .gform_button { display: flex; align-items: center; justify-content: center; width: 100%; inline-size: 100%; block-size: auto; min-block-size: var(--button-min-height); appearance: none; text-transform: uppercase; min-height: var(--button-min-height); padding: var(--button-padding-block) var(--button-padding-inline); border: 1px solid var(--color-primary); border-radius: 3px; background: var(--color-primary); color: var(--color-white); box-shadow: none; font: 600 14px/1 var(--font-body); letter-spacing: 1.4px; text-align: center; white-space: normal; cursor: pointer; transition: background-color .3s ease, border-color .3s ease; }
#main-content .contact-form-panel .gform_footer .gform_button:hover,
#main-content .contact-form-panel .gform_footer .gform_button:focus-visible { background: var(--color-heading); border-color: var(--color-heading); }
#main-content .contact-form-panel .gform_footer .gform_button:focus-visible { border-color: var(--color-primary); outline: none; box-shadow: none; }
.contact-form-panel .gform_validation_errors { margin-block: 0 24px; }
.contact-form-panel .gfield_validation_message { margin-block: 8px 0; font-size: 14px; }
.contact-form-panel .gfield_error input,
.contact-form-panel .gfield_error select,
.contact-form-panel .gfield_error textarea { border-color: #b42318 !important; }
.contact-form-panel .gform_confirmation_message { color: var(--color-heading); font-size: 18px; line-height: 1.7; }
.contact-location-main { text-align: center; }
.contact-location-main .section-title { margin-bottom: 44px; }
.contact-map { padding: 10px; background: rgb(18 50 75 / 20%); border-radius: 10px; }
.contact-map iframe { display: block; width: 100%; height: 477px; border: 0; }
.contact-thankyou { width: min(980px, calc(100% - 64px)); max-width: none; max-height: calc(100dvh - 64px); margin: auto; padding: 0; overflow: visible; border: 0; background: var(--color-heading); color: var(--color-white); }
.contact-thankyou:not([open]) { display: none; }
.contact-thankyou::backdrop { background: rgb(0 0 0 / 65%); }
.contact-thankyou[open] { animation: contact-confirmation-enter .3s ease both; }
.contact-thankyou-inner { display: grid; align-content: center; justify-items: center; min-height: 491px; max-height: calc(100dvh - 64px); padding: 72px 70px; overflow-y: auto; text-align: center; }
.contact-thankyou-icon { width: 98px; height: 98px; object-fit: contain; margin-bottom: 32px; }
.contact-thankyou-message { width: 100%; max-width: 764px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-thankyou-message :is(h1,h2,h3,h4) { margin: 0 0 30px; color: var(--color-white); font: 700 var(--section-title-size)/1.22 var(--font-heading); text-transform: capitalize; }
/* Gravity Forms inserts this break after the saved heading; avoid doubling the design gap. */
.contact-thankyou-message :is(h1,h2,h3,h4) + br { display: none; }
.contact-thankyou-message p { margin: 0; }
.contact-thankyou-close { position: absolute; top: -23px; right: -23px; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; padding: 15px; border: 0; border-radius: 50%; background: var(--color-white); cursor: pointer; }
/* Initial dialog focus belongs to its content, without a decorative focus ring. */
.contact-thankyou-inner:focus { outline: none; }
.contact-thankyou-close { -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; }
.contact-thankyou-close:focus { outline: none; box-shadow: none; }
.contact-thankyou-close:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -6px; }
.contact-thankyou-close img { width: 26px; height: 26px; }
html.contact-modal-open { overflow: hidden; }
@keyframes contact-confirmation-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1440px) {
  .contact-form-main { gap: 32px; }
  .contact-form-panel { padding: 16px 0 0; }
  .contact-form-media { min-height: 1260px; }
  .contact-form-panel .gfield_label { font-size: 18px; }
  .contact-form-panel .gfield_html h3 { font-size: 24px; }
  .contact-form-panel .gfield_radio { gap: 10px 14px; }
  .contact-form-panel .gfield_radio label { font-size: 15px; }
}
@media (max-width: 1200px) {
  .contact-options-main { gap: 20px; }
  .contact-option { padding-inline: 12px; }
  .contact-option h2 { font-size: 19px; }
  .contact-form-main { gap: 28px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .contact-form-panel .gfield_label { font-size: 17px; }
  .contact-form-panel .gfield_html h3 { font-size: 23px; }
  .contact-form-panel .gform_fields { column-gap: 16px; }
  .contact-map iframe { height: 430px; }
}
@media (max-width: 1024px) {
  .contact-form-main { grid-template-columns: 1fr; gap: 36px; margin-inline: auto; }
  .contact-form-media { min-height: 0; height: 460px; }
  .contact-form-photo { object-position: center 42%; }
  .contact-form-panel { padding: 0; }
  .contact-form-panel .gform_footer { margin-top: 32px; }
  .contact-location-main .section-title { margin-bottom: 32px; }
  .contact-map iframe { height: 380px; }
  .contact-thankyou-inner { min-height: 440px; padding: 60px 40px; }
}
@media (max-width: 767px) {
  .contact-options-main { grid-template-columns: 1fr; max-width: 440px; gap: 24px; }
  .contact-option { padding: 20px 16px 28px; }
  .contact-option p { font-size: 15px; line-height: 26px; }
  .contact-form-main { gap: 28px; }
  .contact-form-media { height: 360px; }
  .contact-form-panel .gform_fields { row-gap: 20px; }
  .contact-form-panel .gfield--width-half { grid-column: 1 / -1; }
  .contact-form-panel .gfield_label { font-size: 17px; letter-spacing: 0; }
  .contact-form-panel .gfield_html h3 { font-size: 22px; }
  .contact-form-panel .gfield input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
  .contact-form-panel .gfield select,
  .contact-form-panel .gfield textarea { min-height: 48px; padding: 11px 14px; font-size: 16px; }
  .contact-form-panel .gfield textarea { height: 128px; }
  .contact-form-panel .gfield_radio { gap: 12px 16px; }
  .contact-form-panel .gfield_radio label { font-size: 15px; }
  #main-content .contact-form-panel .gform_footer .gform_button { font-size: 12px; letter-spacing: 1px; }
  .contact-map { padding: 6px; }
  .contact-map iframe { height: 320px; }
  .contact-thankyou { width: calc(100% - 40px); max-height: calc(100dvh - 64px); }
  .contact-thankyou-inner { min-height: 380px; padding: 44px 22px; }
  .contact-thankyou-icon { width: 74px; height: 74px; margin-bottom: 24px; }
  .contact-thankyou-message { font-size: 15px; }
  .contact-thankyou-message :is(h1,h2,h3,h4) { margin-bottom: 20px; }
  .contact-thankyou-close { width: 48px; height: 48px; top: -20px; right: -10px; padding: 13px; }
  .contact-thankyou-close img { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .contact-thankyou[open] { animation: none; } }
@media print { .contact-thankyou { display: none !important; } .contact-map iframe { display: none; } }

/* Standalone WordPress 404 page. */
.error-page-section { display: grid; align-items: center; min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px)); min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px)); padding-block: var(--section-padding-block); background: var(--color-surface); }
.error-page-content { max-width: 640px; margin-inline: auto; text-align: center; }
.error-page-title { margin: 0 0 24px; color: var(--color-heading); font: 700 var(--section-title-size)/1.2 var(--font-heading); }
.error-page-code { display: block; margin-bottom: 20px; color: var(--color-primary); font-size: clamp(96px, 12vw, 180px); line-height: 1; }
.error-page-content p { margin: 0 0 32px; color: var(--color-text-secondary); font-size: 18px; line-height: 1.7; }
.error-page-content .button { max-width: 100%; }
@media (max-width: 1440px) { .error-page-content p { font-size: 17px; } }
@media (max-width: 1024px) { .error-page-content p { font-size: 16px; } }
@media (max-width: 767px) {
  .error-page-title { margin-bottom: 20px; }
  .error-page-code { margin-bottom: 16px; }
  .error-page-content p { margin-bottom: 28px; font-size: 15px; }
}

/* Legal pages: full editable page content, without pagination or Load More. */
.page-template-page-privacy-policy .site-header,
.page-template-page-terms-of-use .site-header { border-bottom: 1px solid #d9d9d9; }
.privacy-policy-section { padding-block: 54px var(--section-padding-block); }
.privacy-policy-main { min-width: 0; }
.privacy-policy-title { margin: 0 0 63px; color: var(--color-heading); font: 700 90px/1.0556 var(--font-heading); overflow-wrap: break-word; }
.privacy-policy-content { color: var(--color-text-secondary); font-size: 18px; line-height: 29px; overflow-wrap: break-word; }
.privacy-policy-content h2 { margin: 49px 0 34px; color: var(--color-heading); font: 700 var(--section-title-size)/1.2143 var(--font-heading); }
.privacy-policy-content h2:first-child { margin-top: 0; }
.privacy-policy-content p { max-width: 1570px; margin: 0 0 27px; }
.privacy-policy-content p.privacy-policy-paragraph-narrow { max-width: 1542px; }
.privacy-policy-content > :last-child { margin-bottom: 0; }
/* Figma trims text to cap height; supporting browsers can preserve that spacing exactly. */
@supports (text-box: trim-both cap alphabetic) {
  .privacy-policy-title,
  .privacy-policy-content :is(h2, p) { text-box: trim-both cap alphabetic; }
}
@media (max-width: 1440px) {
  .privacy-policy-title { font-size: 76px; margin-bottom: 52px; }
  .privacy-policy-content { font-size: 17px; }
  .privacy-policy-content h2 { margin-block: 42px 28px; }
}
@media (max-width: 1200px) {
  .privacy-policy-section { padding-top: 48px; }
  .privacy-policy-title { font-size: 68px; margin-bottom: 44px; }
}
@media (max-width: 1024px) {
  .privacy-policy-title { font-size: 60px; }
  .privacy-policy-content { font-size: 16px; line-height: 27px; }
  .privacy-policy-content h2 { margin-block: 36px 24px; }
  .privacy-policy-content p { margin-bottom: 24px; }
}
@media (max-width: 767px) {
  .privacy-policy-section { padding-top: 40px; }
  .privacy-policy-title { font-size: clamp(36px, 7vw, 52px); line-height: 1.1; margin-bottom: 36px; }
  .privacy-policy-content { font-size: 15px; line-height: 26px; }
  .privacy-policy-content h2 { margin-block: 32px 20px; }
  .privacy-policy-content p { margin-bottom: 20px; }
}
