/* ==========================================================================
   Roger's Windows Glass & Doors
   Main frontend stylesheet
   ========================================================================== */

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */

:root {
  --rw-red: #cc0d10;
  --rw-red-dark: #a4090c;
  --rw-red-soft: #fff0f0;

  --rw-yellow: #f1d200;
  --rw-yellow-soft: #fff9cf;

  --rw-charcoal: #17191c;
  --rw-charcoal-soft: #25282d;
  --rw-ink: #202328;
  --rw-text: #4d5259;
  --rw-muted: #727881;

  --rw-white: #ffffff;
  --rw-off-white: #f8f8f6;
  --rw-warm-gray: #f1f0ec;
  --rw-border: #dedfdc;
  --rw-border-dark: rgba(255, 255, 255, 0.14);

  --rw-success: #19764b;
  --rw-error: #b42318;

  --rw-font-heading:
    "Archivo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  --rw-font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --rw-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --rw-container: 1280px;
  --rw-container-wide: 1440px;
  --rw-page-padding: clamp(20px, 4vw, 56px);

  --rw-section-space: clamp(72px, 9vw, 132px);
  --rw-section-space-small: clamp(48px, 6vw, 88px);

  --rw-radius-small: 8px;
  --rw-radius-medium: 14px;
  --rw-radius-large: 24px;
  --rw-radius-pill: 999px;

  --rw-shadow-small: 0 8px 24px rgba(23, 25, 28, 0.08);

  --rw-shadow-medium: 0 20px 50px rgba(23, 25, 28, 0.13);

  --rw-shadow-large: 0 30px 80px rgba(23, 25, 28, 0.19);

  --rw-transition-fast: 160ms ease;
  --rw-transition: 240ms ease;
  --rw-transition-slow: 380ms cubic-bezier(0.22, 1, 0.36, 1);

  --rw-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --rw-ease-spring: cubic-bezier(0.2, 0.85, 0.25, 1.18);
  --rw-motion-distance: 26px;
  --rw-motion-stagger: 80ms;

  --rw-utility-height: 38px;
  --rw-desktop-header-height: 82px;
  --rw-mobile-header-height: 68px;
  --rw-mobile-dock-height: 72px;
  --rw-navigation-panel-gap: 28px;

  --rw-z-header: 900;
  --rw-z-dock: 950;
  --rw-z-modal: 1000;
}

/* ==========================================================================
   2. Reset and GeneratePress Normalization
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--rw-desktop-header-height) + 24px);
}

body {
  margin: 0;
  background: var(--rw-white);
  color: var(--rw-text);
  font-family: var(--rw-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.mobile-menu-open {
  overflow: hidden;
}

.site,
.site.grid-container,
.site-content,
.content-area,
.inside-article {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.site {
  min-height: 100vh;
  overflow: clip;
}

main {
  display: block;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

figure {
  margin: 0;
}

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

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

button {
  color: inherit;
}

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

ul,
ol {
  margin-top: 0;
}

p {
  margin-top: 0;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   3. Accessibility
   ========================================================================== */

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  position: fixed !important;
  top: 16px;
  left: 16px;
  z-index: 99999;
  width: auto;
  height: auto;
  padding: 12px 18px;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--rw-charcoal);
  color: var(--rw-white);
  border-radius: var(--rw-radius-small);
  box-shadow: var(--rw-shadow-medium);
  font-weight: 700;
  white-space: normal;
}

:focus-visible {
  outline: 3px solid var(--rw-yellow);
  outline-offset: 4px;
}

a,
button,
input,
textarea,
select {
  transition:
    color var(--rw-transition-fast),
    background-color var(--rw-transition-fast),
    border-color var(--rw-transition-fast),
    box-shadow var(--rw-transition-fast),
    transform var(--rw-transition-fast),
    opacity var(--rw-transition-fast);
}

/* ==========================================================================
   4. Motion and Interaction Foundation
   ========================================================================== */

html.js .rw-reveal {
  opacity: 0;
  transform: translate3d(0, var(--rw-motion-distance), 0);
  transition:
    opacity 720ms var(--rw-ease-out),
    transform 720ms var(--rw-ease-out);
  transition-delay: var(--rw-reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.js .rw-reveal--left {
  transform: translate3d(calc(var(--rw-motion-distance) * -1), 0, 0);
}

html.js .rw-reveal--right {
  transform: translate3d(var(--rw-motion-distance), 0, 0);
}

html.js .rw-reveal--scale {
  transform: translate3d(0, 18px, 0) scale(0.965);
}

html.js .rw-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes rw-panel-enter {
  from {
    opacity: 0;
    translate: 0 -10px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes rw-soft-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

@keyframes rw-soft-pulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(204, 13, 16, 0.2);
  }

  50% {
    box-shadow: 0 14px 32px rgba(204, 13, 16, 0.3);
  }
}

/* ==========================================================================
   5. Global Layout and Typography
   ========================================================================== */

.site-container {
  width: min(calc(100% - (var(--rw-page-padding) * 2)), var(--rw-container));
  margin-inline: auto;
}

.site-container--wide {
  width: min(
    calc(100% - (var(--rw-page-padding) * 2)),
    var(--rw-container-wide)
  );
  margin-inline: auto;
}

.site-main {
  width: 100%;
  min-height: 55vh;
  margin: 0;
  padding: 0;
}

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

.section--small {
  padding-block: var(--rw-section-space-small);
}

.section--off-white {
  background: var(--rw-off-white);
}

.section--warm-gray {
  background: var(--rw-warm-gray);
}

.section--dark {
  background: var(--rw-charcoal);
  color: var(--rw-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--rw-ink);
  font-family: var(--rw-font-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.75rem);
}

h2 {
  font-size: clamp(2.15rem, 4.2vw, 4rem);
}

h3 {
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
}

h4 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

p {
  margin-bottom: 1.5em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--rw-red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  background: var(--rw-yellow);
  content: "";
}

.lead {
  max-width: 760px;
  color: var(--rw-text);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.7;
}

.hero-content {
  min-width: 0;
}

.hero-title {
  width: 100%;
  max-width: 14ch;
  font-size: clamp(3rem, 4.15vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 11px;
  width: 100%;
  max-width: 100%;
}

.hero-actions .button {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--rw-radius-small);
  font-family: var(--rw-font-body);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition:
    color var(--rw-transition-fast),
    background-color var(--rw-transition-fast),
    border-color var(--rw-transition-fast),
    box-shadow var(--rw-transition),
    transform var(--rw-transition-fast);
}

.button::before {
  position: absolute;
  inset: -60% auto -60% -45%;
  z-index: -1;
  width: 34%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.34),
    transparent
  );
  content: "";
  opacity: 0;
  transform: skewX(-18deg) translateX(-220%);
  transition:
    transform 620ms var(--rw-ease-out),
    opacity var(--rw-transition-fast);
}

.button:hover {
  transform: translateY(-3px) scale(1.012);
}

.button:hover::before {
  opacity: 1;
  transform: skewX(-18deg) translateX(620%);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button--primary {
  background: var(--rw-red);
  color: var(--rw-white);
  box-shadow: 0 10px 24px rgba(204, 13, 16, 0.2);
}

.button--primary:hover {
  background: var(--rw-red-dark);
  color: var(--rw-white);
  box-shadow: 0 14px 32px rgba(204, 13, 16, 0.28);
}

.button--dark {
  background: var(--rw-charcoal);
  color: var(--rw-white);
}

.button--dark:hover {
  background: var(--rw-charcoal-soft);
  color: var(--rw-white);
}

.button--outline {
  border-color: var(--rw-charcoal);
  background: transparent;
  color: var(--rw-charcoal);
}

.button--outline:hover {
  background: var(--rw-charcoal);
  color: var(--rw-white);
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--rw-white);
}

.button--outline-light:hover {
  border-color: var(--rw-white);
  background: var(--rw-white);
  color: var(--rw-charcoal);
}

.button--header {
  min-height: 46px;
  padding-inline: 20px;
  white-space: nowrap;
}

/* ==========================================================================
   7. Media and Automatic Placeholders
   ========================================================================== */

.rogers-media__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.rogers-media-placeholder {
  position: relative;
  display: grid;
  min-width: 0;
  aspect-ratio: var(--rogers-media-ratio, 4 / 3);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(204, 13, 16, 0.04), transparent 42%),
    var(--rw-warm-gray);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-medium);
  color: var(--rw-ink);
}

.rogers-media-placeholder::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(32, 35, 40, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 35, 40, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

.rogers-media-placeholder::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 84px;
  height: 5px;
  background: var(--rw-yellow);
  content: "";
}

.rogers-media-placeholder__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  width: min(100%, 720px);
  padding: clamp(24px, 5vw, 54px);
}

.rogers-media-placeholder__type {
  align-self: flex-start;
  padding: 7px 10px;
  background: var(--rw-red);
  color: var(--rw-white);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.rogers-media-placeholder__label {
  font-family: var(--rw-font-heading);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.rogers-media-placeholder__path {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  overflow-wrap: anywhere;
  background: rgba(255, 255, 255, 0.72);
  color: var(--rw-red-dark);
  border: 1px solid rgba(204, 13, 16, 0.16);
  border-radius: 5px;
  font-family: var(--rw-font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
}

.rogers-media-placeholder__group {
  max-width: 650px;
}

.rogers-media-placeholder__group span {
  display: block;
  margin-bottom: 5px;
  color: var(--rw-muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rogers-media-placeholder__group p {
  margin: 0;
  color: var(--rw-text);
  font-size: clamp(0.85rem, 1.3vw, 0.98rem);
  line-height: 1.55;
}

.rogers-media-placeholder__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--rw-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ==========================================================================
   8. Branding
   ========================================================================== */

.site-branding {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 245px;
  color: var(--rw-charcoal);
}

.site-branding:hover {
  color: var(--rw-red);
}

.site-branding__logo {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 58px;
  object-fit: contain;
}

.site-branding__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.site-branding__primary {
  font-family: var(--rw-font-heading);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-branding__secondary {
  color: var(--rw-red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-branding--light {
  color: var(--rw-white);
}

.site-branding--light:hover {
  color: var(--rw-white);
}

.site-branding--light .site-branding__secondary {
  color: var(--rw-yellow);
}

/* ==========================================================================
   9. Global Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--rw-z-header);
  overflow: visible;
  background: var(--rw-white);
  box-shadow: 0 1px 0 rgba(23, 25, 28, 0.08);
  isolation: isolate;
}

.admin-bar .site-header {
  top: 32px;
}

.utility-bar {
  height: var(--rw-utility-height);
  max-height: none;
  overflow: hidden;
  background: var(--rw-charcoal);
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
  will-change: height, opacity;
  transition:
    height var(--rw-transition),
    opacity var(--rw-transition-fast);
}

.site-header.is-scrolled .utility-bar {
  height: 0;
  max-height: none;
  opacity: 0;
  pointer-events: none;
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--rw-utility-height);
  font-size: 0.76rem;
  line-height: 1.2;
}

.utility-bar__message,
.utility-bar__contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-bar__experience,
.utility-bar__location {
  color: var(--rw-white);
  font-weight: 800;
}

.utility-bar__separator {
  color: var(--rw-yellow);
}

.utility-bar__link,
.utility-bar__account {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: var(--rw-utility-height);
}

.utility-bar__link:hover,
.utility-bar__account:hover {
  color: var(--rw-white);
}

.utility-bar__account {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   10. Desktop Header and Navigation
   ========================================================================== */

.desktop-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.desktop-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  min-height: var(--rw-desktop-header-height);
}

.desktop-header__branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.desktop-navigation {
  display: flex;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
  gap: clamp(8px, 1.1vw, 18px);
  min-width: 0;
  margin-left: auto;
}

.desktop-navigation__item {
  position: relative;
  display: flex;
  align-items: center;
}

.desktop-navigation__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 100%;
  padding: 0 4px;
  background: transparent;
  color: var(--rw-ink);
  border: 0;
  font-size: clamp(0.78rem, 0.92vw, 0.9rem);
  font-weight: 760;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.desktop-navigation__link::after {
  position: absolute;
  right: 4px;
  bottom: 17px;
  left: 4px;
  height: 3px;
  background: var(--rw-red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--rw-transition);
}

.desktop-navigation__item:hover > .desktop-navigation__link,
.desktop-navigation__item.is-active > .desktop-navigation__link {
  color: var(--rw-red);
}

.desktop-navigation__item:hover > .desktop-navigation__link::after,
.desktop-navigation__item.is-active > .desktop-navigation__link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-navigation__link--button svg {
  width: 16px;
  height: 16px;
}

.desktop-navigation__toggle {
  display: inline-grid;
  width: 26px;
  height: 36px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
  color: var(--rw-muted);
  cursor: pointer;
}

.desktop-navigation__toggle:hover {
  color: var(--rw-red);
}

.desktop-navigation__toggle svg {
  width: 15px;
  height: 15px;
  transition: transform var(--rw-transition-fast);
}

.desktop-navigation__toggle[aria-expanded="true"] svg,
.desktop-navigation__link--button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.desktop-header__action {
  flex-shrink: 0;
}

/* ==========================================================================
   11. Desktop Navigation Panels
   ========================================================================== */

.navigation-panel {
  position: absolute;
  top: calc(100% + 12px);
  z-index: calc(var(--rw-z-header) + 1);
  background: var(--rw-white);
  border: 1px solid rgba(23, 25, 28, 0.09);
  border-radius: var(--rw-radius-medium);
  box-shadow: var(--rw-shadow-large);
}

.navigation-panel::before {
  position: absolute;
  top: -13px;
  right: 0;
  left: 0;
  height: 14px;
  content: "";
}

.navigation-panel--mega {
  position: fixed;
  top: calc(var(--rw-desktop-header-height) + var(--rw-navigation-panel-gap));
  left: 50%;
  width: min(calc(100vw - 48px), 1180px);
  max-height: calc(
    100dvh - var(--rw-desktop-header-height) - var(--rw-navigation-panel-gap) -
      20px
  );
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-50%);
  transition:
    top var(--rw-transition),
    box-shadow var(--rw-transition);
}

.navigation-panel--mega::before {
  top: calc((var(--rw-navigation-panel-gap) + 2px) * -1);
  height: calc(var(--rw-navigation-panel-gap) + 3px);
}

.navigation-panel:not([hidden]) {
  animation: rw-panel-enter 240ms var(--rw-ease-out) both;
}

.navigation-panel__inner {
  display: grid;
  grid-template-columns:
    minmax(210px, 1.15fr)
    repeat(4, minmax(150px, 1fr))
    minmax(150px, 0.9fr);
  gap: 30px;
  padding: 34px;
}

.navigation-panel__intro {
  padding-right: 28px;
  border-right: 1px solid var(--rw-border);
}

.navigation-panel__eyebrow {
  margin-bottom: 12px;
  color: var(--rw-red);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.navigation-panel__description {
  margin-bottom: 20px;
  color: var(--rw-text);
  font-size: 0.87rem;
  line-height: 1.6;
}

.navigation-panel__overview {
  display: inline-flex;
  align-items: center;
  color: var(--rw-red);
  font-size: 0.82rem;
  font-weight: 850;
}

.navigation-panel__overview:hover {
  color: var(--rw-red-dark);
}

.navigation-panel__heading {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--rw-ink);
  font-family: var(--rw-font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

a.navigation-panel__heading:hover {
  color: var(--rw-red);
}

.navigation-panel__list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.navigation-panel__list a {
  display: inline-flex;
  color: var(--rw-text);
  font-size: 0.79rem;
  line-height: 1.4;
}

.navigation-panel__list a:hover,
.navigation-panel__list a[aria-current="page"] {
  color: var(--rw-red);
}

.navigation-panel__column--explore {
  padding: 20px;
  background: var(--rw-off-white);
  border-radius: var(--rw-radius-small);
}

.navigation-panel--compact {
  right: 0;
  width: 300px;
}

.navigation-panel--resources {
  width: 325px;
}

.navigation-panel__compact-inner {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.navigation-panel__compact-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 14px;
  border-radius: 7px;
}

.navigation-panel__compact-link:hover,
.navigation-panel__compact-link[aria-current="page"] {
  background: var(--rw-off-white);
  color: var(--rw-red);
}

.navigation-panel__compact-link strong {
  font-size: 0.84rem;
  line-height: 1.3;
}

.navigation-panel__compact-link span {
  color: var(--rw-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

/* ==========================================================================
   12. Mobile Header and App Dock
   ========================================================================== */

.mobile-header,
.mobile-app-dock {
  display: none;
}

.mobile-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--rw-mobile-header-height);
}

.mobile-header__call {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 13px;
  background: var(--rw-charcoal);
  color: var(--rw-white);
  border-radius: var(--rw-radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
}

.mobile-header__call:hover {
  background: var(--rw-red);
  color: var(--rw-white);
}

.mobile-header__call svg {
  width: 18px;
  height: 18px;
}

.mobile-app-dock {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  z-index: var(--rw-z-dock);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  min-height: var(--rw-mobile-dock-height);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 25, 28, 0.1);
  border-radius: 22px;
  box-shadow: var(--rw-shadow-large);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-app-dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
  min-height: 50px;
  padding: 5px 3px;
  background: transparent;
  color: var(--rw-muted);
  border: 0;
  border-radius: 12px;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.mobile-app-dock__item:hover,
.mobile-app-dock__item.is-active {
  background: var(--rw-off-white);
  color: var(--rw-red);
}

.mobile-app-dock__item svg {
  width: 22px;
  height: 22px;
}

.mobile-app-dock__item--primary {
  position: relative;
  color: var(--rw-red);
  transform: translateY(-9px);
}

.mobile-app-dock__item--primary:hover {
  background: transparent;
  color: var(--rw-red-dark);
  transform: translateY(-11px);
}

.mobile-app-dock__primary-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--rw-red);
  color: var(--rw-white);
  border: 4px solid var(--rw-white);
  border-radius: 17px;
  box-shadow: 0 12px 25px rgba(204, 13, 16, 0.28);
}

.mobile-app-dock__primary-icon svg {
  width: 23px;
  height: 23px;
}

/* ==========================================================================
   13. Mobile App-Launcher Modal
   ========================================================================== */

.mobile-navigation-modal {
  position: fixed;
  inset: 0;
  z-index: var(--rw-z-modal);
  display: grid;
  align-items: end;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
}

.mobile-navigation-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(18, 20, 23, 0.58);
  border: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: default;
}

.mobile-navigation-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 760px);
  max-height: calc(100dvh - 36px - env(safe-area-inset-bottom));
  margin-inline: auto;
  overflow: hidden;
  background: var(--rw-white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  box-shadow: var(--rw-shadow-large);
  animation: rw-modal-enter var(--rw-transition-slow) both;
}

@keyframes rw-modal-enter {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-navigation-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--rw-border);
}

.mobile-navigation-modal__header .site-branding {
  max-width: 190px;
}

.mobile-navigation-modal__header .site-branding__logo {
  max-height: 42px;
}

.mobile-navigation-modal__close {
  display: grid;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  background: var(--rw-charcoal);
  color: var(--rw-white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.mobile-navigation-modal__close:hover {
  background: var(--rw-red);
  color: var(--rw-white);
  transform: rotate(4deg);
}

.mobile-navigation-modal__close svg {
  width: 20px;
  height: 20px;
}

.mobile-navigation-modal__content {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 5vw, 40px) clamp(18px, 5vw, 36px) 42px;
  scrollbar-width: thin;
  scrollbar-color: var(--rw-border) transparent;
}

.mobile-navigation-modal__intro {
  margin-bottom: 35px;
}

.mobile-navigation-modal__eyebrow {
  margin-bottom: 8px;
  color: var(--rw-red);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-navigation-modal__intro h2 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 6vw, 2.9rem);
}

.mobile-navigation-section {
  padding-top: 31px;
  margin-top: 31px;
  border-top: 1px solid var(--rw-border);
}

.mobile-navigation-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.mobile-navigation-section__title {
  margin-bottom: 18px;
  color: var(--rw-muted);
  font-family: var(--rw-font-body);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.mobile-launcher-category + .mobile-launcher-category {
  padding-top: 29px;
  margin-top: 29px;
  border-top: 1px dashed var(--rw-border);
}

.mobile-launcher-category__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.mobile-launcher-category__icon {
  display: grid;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--rw-red-soft);
  color: var(--rw-red);
  border-radius: 11px;
}

.mobile-launcher-category__icon svg {
  width: 21px;
  height: 21px;
}

.mobile-launcher-category__heading h4 {
  margin: 0;
  color: var(--rw-ink);
  font-family: var(--rw-font-heading);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mobile-launcher-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.mobile-launcher-grid--standalone {
  margin-top: 29px;
}

.mobile-launcher-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 82px;
  padding: 13px;
  overflow: hidden;
  background: var(--rw-off-white);
  color: var(--rw-ink);
  border: 1px solid var(--rw-border);
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(23, 25, 28, 0.025);
}

.mobile-launcher-tile:hover,
.mobile-launcher-tile.is-active,
.mobile-launcher-tile[aria-current="page"] {
  background: var(--rw-white);
  color: var(--rw-red);
  border-color: rgba(204, 13, 16, 0.35);
  box-shadow: var(--rw-shadow-small);
  transform: translateY(-2px);
}

.mobile-launcher-tile--overview {
  grid-column: 1 / -1;
  min-height: 91px;
  padding: 15px;
  background: linear-gradient(135deg, var(--rw-white), var(--rw-off-white));
  border-color: rgba(204, 13, 16, 0.22);
}

.mobile-launcher-tile--overview::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--rw-red);
  content: "";
}

.mobile-launcher-tile--accent {
  background: var(--rw-red);
  color: var(--rw-white);
  border-color: var(--rw-red);
}

.mobile-launcher-tile--accent:hover {
  background: var(--rw-red-dark);
  color: var(--rw-white);
  border-color: var(--rw-red-dark);
}

.mobile-launcher-tile--phone {
  background: var(--rw-charcoal);
  color: var(--rw-white);
  border-color: var(--rw-charcoal);
}

.mobile-launcher-tile--phone:hover {
  background: var(--rw-charcoal-soft);
  color: var(--rw-white);
  border-color: var(--rw-charcoal-soft);
}

.mobile-launcher-tile__icon {
  display: grid;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--rw-white);
  color: var(--rw-red);
  border: 1px solid rgba(23, 25, 28, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(23, 25, 28, 0.06);
}

.mobile-launcher-tile__icon svg {
  width: 22px;
  height: 22px;
}

.mobile-launcher-tile--overview .mobile-launcher-tile__icon {
  width: 48px;
  height: 48px;
  background: var(--rw-red);
  color: var(--rw-white);
  border-color: var(--rw-red);
}

.mobile-launcher-tile--accent .mobile-launcher-tile__icon {
  background: rgba(255, 255, 255, 0.14);
  color: var(--rw-white);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.mobile-launcher-tile--phone .mobile-launcher-tile__icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--rw-yellow);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.mobile-launcher-tile__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.mobile-launcher-tile__content strong {
  color: inherit;
  font-family: var(--rw-font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mobile-launcher-tile--overview .mobile-launcher-tile__content strong {
  font-size: 0.9rem;
}

.mobile-launcher-tile__content small {
  color: var(--rw-muted);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.38;
}

.mobile-launcher-tile--accent .mobile-launcher-tile__content small,
.mobile-launcher-tile--phone .mobile-launcher-tile__content small {
  color: rgba(255, 255, 255, 0.66);
}

.mobile-launcher-tile__arrow {
  display: grid;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--rw-red);
}

.mobile-launcher-tile__arrow svg {
  width: 17px;
  height: 17px;
}

.mobile-launcher-tile--accent .mobile-launcher-tile__arrow,
.mobile-launcher-tile--phone .mobile-launcher-tile__arrow {
  color: var(--rw-white);
}

.mobile-launcher-tile:hover .mobile-launcher-tile__arrow {
  transform: translateX(3px);
}

.mobile-navigation-modal__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  background: var(--rw-off-white);
  border-top: 1px solid var(--rw-border);
  color: var(--rw-muted);
  font-size: 0.75rem;
  font-weight: 750;
}

.mobile-navigation-modal__footer a:hover {
  color: var(--rw-red);
}

/* ==========================================================================
   14. Footer Conversion Section
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--rw-charcoal);
  color: rgba(255, 255, 255, 0.72);
}

.footer-conversion {
  position: relative;
  overflow: hidden;
  background: var(--rw-charcoal-soft);
  color: var(--rw-white);
  border-bottom: 1px solid var(--rw-border-dark);
}

.footer-conversion::before {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(241, 210, 0, 0.13), transparent 68%);
  content: "";
  pointer-events: none;
}

.footer-conversion__inner {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, 1.5fr)
    auto;
  align-items: center;
  gap: 52px;
  padding-block: clamp(54px, 7vw, 82px);
}

.footer-conversion__content {
  max-width: 790px;
}

.footer-conversion__eyebrow {
  margin-bottom: 14px;
  color: var(--rw-yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-conversion h2 {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--rw-white);
  font-size: clamp(2rem, 4vw, 3.55rem);
}

.footer-conversion p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
}

.footer-conversion__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

/* ==========================================================================
   15. Main Footer
   ========================================================================== */

.site-footer__main {
  padding-block: clamp(64px, 8vw, 104px);
}

.site-footer__grid {
  display: grid;
  grid-template-columns:
    minmax(240px, 1.3fr)
    minmax(160px, 0.8fr)
    minmax(160px, 0.8fr)
    minmax(240px, 1.15fr);
  gap: clamp(34px, 5vw, 72px);
}

.site-footer__brand {
  max-width: 360px;
}

.site-footer__description {
  margin: 25px 0 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.91rem;
  line-height: 1.75;
}

.site-footer__trust {
  display: grid;
  gap: 7px;
  padding-left: 15px;
  margin-bottom: 24px;
  border-left: 3px solid var(--rw-yellow);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.site-footer__email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--rw-white);
  font-size: 0.83rem;
  font-weight: 750;
}

.site-footer__email:hover {
  color: var(--rw-yellow);
}

.site-footer__email svg {
  width: 19px;
  height: 19px;
  color: var(--rw-yellow);
}

.site-footer__social {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.site-footer__social a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: var(--rw-white);
  border: 1px solid var(--rw-border-dark);
  border-radius: 50%;
}

.site-footer__social a:hover {
  background: var(--rw-red);
  border-color: var(--rw-red);
}

.site-footer__social svg {
  width: 19px;
  height: 19px;
}

.site-footer__heading {
  margin-bottom: 20px;
  color: var(--rw-white);
  font-family: var(--rw-font-body);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer__heading--secondary {
  margin-top: 35px;
}

.site-footer__links {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer__links a {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  line-height: 1.45;
}

.site-footer__links a:hover {
  color: var(--rw-yellow);
  transform: translateX(3px);
}

.site-footer__locations {
  display: grid;
  align-content: start;
}

.site-footer__location {
  padding: 0 0 23px;
  margin-bottom: 23px;
  border-bottom: 1px solid var(--rw-border-dark);
}

.site-footer__location h3 {
  margin-bottom: 10px;
  color: var(--rw-white);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.site-footer__location h3 a:hover {
  color: var(--rw-yellow);
}

.site-footer__location address {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.81rem;
  font-style: normal;
  line-height: 1.55;
}

.site-footer__phone {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--rw-white);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer__phone:hover {
  color: var(--rw-yellow);
}

.site-footer__hours {
  display: grid;
  gap: 3px;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  line-height: 1.4;
}

.site-footer__service-area {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--rw-border-dark);
  border-radius: var(--rw-radius-small);
}

.site-footer__service-area:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(241, 210, 0, 0.42);
}

.site-footer__service-area strong {
  color: var(--rw-white);
  font-size: 0.82rem;
}

.site-footer__service-area span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
}

/* ==========================================================================
   16. Footer Bottom
   ========================================================================== */

.site-footer__bottom {
  background: #101215;
  border-top: 1px solid var(--rw-border-dark);
}

.site-footer__bottom-inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto
    auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding-block: 17px;
}

.site-footer__copyright,
.site-footer__credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  line-height: 1.45;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.site-footer__legal a,
.site-footer__credit a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
}

.site-footer__legal a:hover,
.site-footer__credit a:hover {
  color: var(--rw-yellow);
}

/* ==========================================================================
   17. Controlled Fallback Page
   ========================================================================== */

.site-main--fallback {
  display: grid;
  min-height: 70vh;
  place-items: center;
  background: var(--rw-off-white);
}

.fallback-page {
  width: 100%;
  padding-block: var(--rw-section-space);
  text-align: center;
}

.fallback-page__eyebrow {
  margin-bottom: 14px;
  color: var(--rw-red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fallback-page__title {
  margin-bottom: 20px;
}

.fallback-page__description {
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 30px;
  color: var(--rw-text);
}

/* ==========================================================================
   18. Responsive Behavior
   ========================================================================== */

@media (max-width: 1199px) {
  .desktop-header__inner {
    gap: 20px;
  }

  .desktop-navigation {
    gap: 8px;
  }

  .desktop-navigation__link {
    font-size: 0.76rem;
  }

  .button--header {
    padding-inline: 15px;
    font-size: 0.78rem;
  }

  .navigation-panel__inner {
    grid-template-columns:
      minmax(190px, 1fr)
      repeat(4, minmax(135px, 1fr));
    gap: 22px;
  }

  .navigation-panel__column--explore {
    grid-column: 2 / -1;
  }

  .site-footer__grid {
    grid-template-columns:
      minmax(250px, 1.2fr)
      repeat(2, minmax(160px, 0.8fr));
  }

  .site-footer__locations {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }

  .site-footer__locations .site-footer__heading {
    grid-column: 1 / -1;
  }

  .site-footer__location {
    margin-bottom: 0;
  }
}

@media (max-width: 1023px) {
  html {
    scroll-padding-top: calc(var(--rw-mobile-header-height) + 18px);
  }

  body {
    padding-bottom: calc(
      var(--rw-mobile-dock-height) + 28px + env(safe-area-inset-bottom)
    );
  }

  .utility-bar,
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: block;
  }

  .mobile-app-dock {
    display: grid;
  }

  .site-header {
    min-height: var(--rw-mobile-header-height);
  }

  .footer-conversion__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-conversion__actions {
    flex-direction: row;
    min-width: 0;
  }

  .site-footer__bottom {
    margin-bottom: calc(
      var(--rw-mobile-dock-height) + 14px + env(safe-area-inset-bottom)
    );
  }

  .site-footer__bottom-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 767px) {
  :root {
    --rw-page-padding: 20px;
  }

  .site-branding__logo {
    max-width: 175px;
    max-height: 46px;
  }

  .footer-conversion__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-conversion__actions .button {
    width: 100%;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px 28px;
  }

  .site-footer__brand,
  .site-footer__locations {
    grid-column: 1 / -1;
  }

  .site-footer__locations {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__service-area {
    grid-column: 1 / -1;
  }

  .mobile-navigation-modal {
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }

  .mobile-navigation-modal__dialog {
    max-height: calc(100dvh - 20px - env(safe-area-inset-bottom));
    border-radius: 24px;
  }

  .mobile-navigation-modal__content {
    padding: 25px 18px 36px;
  }
}

@media (max-width: 520px) {
  .mobile-header__call {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .mobile-header__call span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .mobile-app-dock {
    right: 8px;
    left: 8px;
    padding-inline: 5px;
    border-radius: 19px;
  }

  .mobile-app-dock__item {
    font-size: 0.58rem;
  }

  .mobile-app-dock__item svg {
    width: 20px;
    height: 20px;
  }

  .mobile-app-dock__primary-icon {
    width: 46px;
    height: 46px;
  }

  .mobile-navigation-modal__header {
    padding: 14px 15px;
  }

  .mobile-navigation-modal__header .site-branding {
    max-width: 165px;
  }

  .mobile-navigation-modal__intro {
    margin-bottom: 30px;
  }

  .mobile-navigation-section {
    padding-top: 27px;
    margin-top: 27px;
  }

  .mobile-launcher-category + .mobile-launcher-category {
    padding-top: 25px;
    margin-top: 25px;
  }

  .mobile-launcher-grid {
    gap: 8px;
  }

  .mobile-launcher-tile {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    align-content: center;
    min-height: 74px;
    padding: 11px 10px;
  }

  .mobile-launcher-tile--overview {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 84px;
    padding: 13px;
  }

  .mobile-launcher-tile--phone {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .mobile-launcher-tile__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .mobile-launcher-tile__icon svg {
    width: 19px;
    height: 19px;
  }

  .mobile-launcher-tile--overview .mobile-launcher-tile__icon {
    width: 44px;
    height: 44px;
  }

  .mobile-launcher-tile__arrow {
    position: static;
    align-self: center;
    width: 22px;
    height: 22px;
  }

  .mobile-launcher-tile__arrow svg {
    width: 16px;
    height: 16px;
  }

  .mobile-launcher-tile__content strong {
    font-size: 0.7rem;
  }

  .mobile-launcher-tile--overview .mobile-launcher-tile__content strong {
    font-size: 0.82rem;
  }

  .mobile-launcher-tile__content small {
    font-size: 0.61rem;
  }

  .site-footer__grid,
  .site-footer__locations {
    grid-template-columns: 1fr;
  }

  .site-footer__column,
  .site-footer__locations,
  .site-footer__brand,
  .site-footer__service-area {
    grid-column: auto;
  }

  .site-footer__legal {
    flex-direction: column;
    align-items: center;
  }

  .rogers-media-placeholder__content {
    gap: 11px;
    padding: 22px 18px;
  }

  .rogers-media-placeholder__group p {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   19. Home Shared Components
   ========================================================================== */

.home-page {
  background: var(--rw-white);
}

.home-section-heading {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(36px, 7vw, 100px);
  margin-bottom: clamp(42px, 6vw, 76px);
}

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

.home-section-heading__side {
  max-width: 500px;
  justify-self: end;
}

.home-section-heading__side p {
  margin-bottom: 20px;
  color: var(--rw-text);
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  line-height: 1.75;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rw-red);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.3;
}

.home-text-link svg {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  transition: transform var(--rw-transition-fast);
}

.home-text-link:hover {
  color: var(--rw-red-dark);
}

.home-text-link:hover svg {
  transform: translateX(4px);
}

.home-text-link--light {
  color: var(--rw-white);
}

.home-text-link--light:hover {
  color: var(--rw-yellow);
}

/* ==========================================================================
     20. Home Hero
     ========================================================================== */

.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    125deg,
    var(--rw-white) 0%,
    var(--rw-white) 56%,
    var(--rw-off-white) 56%,
    var(--rw-off-white) 100%
  );
}

.home-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: min(38vw, 580px);
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--rw-red) 0 72%,
    var(--rw-yellow) 72% 100%
  );
  content: "";
}

.home-hero::after {
  position: absolute;
  right: -160px;
  bottom: -230px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(241, 210, 0, 0.1), transparent 67%);
  content: "";
  pointer-events: none;
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1.04fr)
    minmax(390px, 0.76fr);
  align-items: center;
  gap: clamp(40px, 5vw, 84px);
  min-height: auto;
  padding-block: clamp(44px, 5.4vh, 68px);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 760px;
}

.home-hero__eyebrow {
  margin-bottom: 17px;
}

.home-hero__title {
  width: 100%;
  max-width: 13.5ch;
  margin-bottom: 21px;
  font-size: clamp(3rem, 4.15vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.home-hero__description {
  max-width: 650px;
  margin-bottom: 25px;
  color: var(--rw-text);
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  line-height: 1.62;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 11px;
  width: 100%;
  margin-bottom: 25px;
}

.home-hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.home-hero__highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rw-ink);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
}

.home-hero__highlights svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 3px;
  background: var(--rw-yellow-soft);
  color: var(--rw-red);
  border-radius: 50%;
}

.home-hero__visual {
  position: relative;
  width: min(100%, 525px);
  justify-self: end;
  padding: 0 clamp(28px, 3vw, 48px) clamp(48px, 5vw, 68px) 0;
}

.home-hero__image {
  position: relative;
  overflow: hidden;
  background: var(--rw-warm-gray);
  border-radius: 3px 3px 42px 3px;
  box-shadow: var(--rw-shadow-large);
}

.home-hero__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 25, 28, 0.12), transparent 38%);
  content: "";
  pointer-events: none;
}

.home-hero__primary-image {
  aspect-ratio: 4 / 5;
  border-radius: inherit;
}

.home-hero__primary-image .rogers-media-placeholder__content {
  gap: 9px;
  padding: clamp(20px, 2.4vw, 31px);
}

.home-hero__primary-image .rogers-media-placeholder__type {
  padding: 6px 8px;
  font-size: 0.58rem;
}

.home-hero__primary-image .rogers-media-placeholder__label {
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.12;
}

.home-hero__primary-image .rogers-media-placeholder__path {
  padding: 6px 8px;
  font-size: 0.63rem;
  line-height: 1.35;
}

.home-hero__primary-image .rogers-media-placeholder__group span {
  margin-bottom: 3px;
  font-size: 0.57rem;
}

.home-hero__primary-image .rogers-media-placeholder__group p {
  font-size: clamp(0.68rem, 0.8vw, 0.76rem);
  line-height: 1.42;
}

.home-hero__primary-image .rogers-media-placeholder__specs {
  gap: 5px 11px;
  font-size: 0.62rem;
}

.home-hero__detail-image {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: clamp(135px, 11vw, 178px);
  overflow: hidden;
  background: var(--rw-white);
  border: 8px solid var(--rw-white);
  border-radius: 3px 3px 25px 3px;
  box-shadow: var(--rw-shadow-medium);
  animation: rw-soft-float 5.4s ease-in-out infinite;
}

.home-hero__secondary-image {
  aspect-ratio: 1 / 1;
  border-radius: 0;
}

.home-hero__experience-card {
  position: absolute;
  bottom: clamp(62px, 6vw, 85px);
  left: clamp(-42px, -3vw, -22px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: min(220px, 48%);
  padding: 17px 19px;
  background: rgba(23, 25, 28, 0.94);
  color: var(--rw-white);
  border-left: 4px solid var(--rw-yellow);
  border-radius: 2px 12px 12px 2px;
  box-shadow: var(--rw-shadow-medium);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: rw-soft-float 6.5s ease-in-out 700ms infinite;
}

.home-hero__experience-card strong {
  font-family: var(--rw-font-heading);
  font-size: clamp(0.98rem, 1.3vw, 1.2rem);
  line-height: 1.2;
}

.home-hero__experience-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  line-height: 1.45;
}

/* ==========================================================================
     21. Home Trust Strip
     ========================================================================== */

.home-trust-strip {
  position: relative;
  z-index: 2;
  background: var(--rw-charcoal);
  color: var(--rw-white);
}

.home-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-trust-strip__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 116px;
  padding: 24px clamp(20px, 3vw, 42px);
  border-right: 1px solid var(--rw-border-dark);
}

.home-trust-strip__item::after {
  position: absolute;
  right: 24px;
  bottom: 0;
  left: 24px;
  height: 2px;
  background: var(--rw-yellow);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity var(--rw-transition),
    transform var(--rw-transition);
}

.home-trust-strip__item:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.home-trust-strip__item:first-child {
  padding-left: 0;
}

.home-trust-strip__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.home-trust-strip__item strong {
  color: var(--rw-white);
  font-family: var(--rw-font-heading);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.2;
}

.home-trust-strip__item span {
  max-width: 230px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.74rem;
  line-height: 1.45;
}

/* ==========================================================================
     22. Home Products and Services
     ========================================================================== */

.home-services {
  position: relative;
  background: var(--rw-white);
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 34px);
}

.home-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--rw-white);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-medium);
  box-shadow: 0 5px 18px rgba(23, 25, 28, 0.045);
  transition:
    transform var(--rw-transition),
    border-color var(--rw-transition),
    box-shadow var(--rw-transition);
}

.home-service-card:hover {
  border-color: rgba(204, 13, 16, 0.28);
  box-shadow: var(--rw-shadow-medium);
  transform: translateY(-7px);
}

.home-service-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rw-warm-gray);
}

.home-service-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 25, 28, 0.25), transparent 44%);
  content: "";
  opacity: 0.45;
  pointer-events: none;
  transition: opacity var(--rw-transition);
}

.home-service-card:hover .home-service-card__media::after {
  opacity: 0.75;
}

.home-service-card:hover .home-service-card__number {
  transform: rotate(7deg) scale(1.07);
}

.home-service-card__image {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  transition: transform var(--rw-transition-slow);
}

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

.home-service-card__content {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
}

.home-service-card__number {
  transition: transform var(--rw-transition);
  position: absolute;
  top: -25px;
  right: 24px;
  display: grid;
  width: 50px;
  height: 50px;
  margin: 0;
  place-items: center;
  background: var(--rw-yellow);
  color: var(--rw-charcoal);
  border: 6px solid var(--rw-white);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.home-service-card h3 {
  padding-right: 48px;
  margin-bottom: 15px;
  font-size: clamp(1.48rem, 2.3vw, 2rem);
}

.home-service-card h3 a:hover {
  color: var(--rw-red);
}

.home-service-card__content > p:not(.home-service-card__number) {
  margin-bottom: 21px;
  color: var(--rw-text);
  font-size: 0.87rem;
  line-height: 1.68;
}

.home-service-card__links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 25px;
  list-style: none;
}

.home-service-card__links a {
  position: relative;
  display: inline-flex;
  padding-left: 16px;
  color: var(--rw-text);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.home-service-card__links a::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 2px;
  background: var(--rw-red);
  content: "";
}

.home-service-card__links a:hover {
  color: var(--rw-red);
  transform: translateX(3px);
}

.home-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--rw-red);
  font-size: 0.8rem;
  font-weight: 850;
}

.home-service-card__link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--rw-transition-fast);
}

.home-service-card__link:hover {
  color: var(--rw-red-dark);
}

.home-service-card__link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
     23. Home Manufacturing and Custom Capability
     ========================================================================== */

.home-manufacturing {
  position: relative;
  overflow: hidden;
  background: var(--rw-charcoal);
  color: var(--rw-white);
}

.home-manufacturing::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.035),
    transparent 62%
  );
  content: "";
  pointer-events: none;
}

.home-manufacturing::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 140px;
  height: 5px;
  background: var(--rw-yellow);
  content: "";
}

.home-manufacturing__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(52px, 8vw, 120px);
}

.home-manufacturing__media {
  position: relative;
  padding: 0 0 clamp(40px, 5vw, 68px) clamp(26px, 3vw, 46px);
}

.home-manufacturing__media::before {
  position: absolute;
  top: clamp(28px, 4vw, 58px);
  right: clamp(28px, 4vw, 54px);
  bottom: 0;
  left: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  content: "";
  pointer-events: none;
}

.home-manufacturing__image {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px 2px 30px 2px;
  box-shadow: var(--rw-shadow-large);
}

.home-manufacturing__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 245px;
  padding: 20px 23px;
  background: var(--rw-yellow);
  color: var(--rw-charcoal);
  border-radius: 2px 2px 18px 2px;
  box-shadow: var(--rw-shadow-medium);
}

.home-manufacturing__badge span {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-manufacturing__badge strong {
  font-family: var(--rw-font-heading);
  font-size: 1.12rem;
  line-height: 1.2;
}

.home-manufacturing__content h2 {
  margin-bottom: 25px;
  color: var(--rw-white);
}

.home-manufacturing__content .lead {
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.68);
}

.home-manufacturing__features {
  display: grid;
  margin-bottom: 36px;
  border-top: 1px solid var(--rw-border-dark);
}

.home-manufacturing__feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  padding-block: 22px;
  border-bottom: 1px solid var(--rw-border-dark);
}

.home-manufacturing__feature > span {
  padding-top: 3px;
  color: var(--rw-yellow);
  font-family: var(--rw-font-mono);
  font-size: 0.7rem;
  font-weight: 800;
}

.home-manufacturing__feature h3 {
  margin-bottom: 8px;
  color: var(--rw-white);
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.home-manufacturing__feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  line-height: 1.6;
}

.home-manufacturing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 26px;
}

/* ==========================================================================
     24. Home Experience
     ========================================================================== */

.home-experience {
  position: relative;
  background: var(--rw-white);
}

.home-experience__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(55px, 8vw, 120px);
}

.home-experience__content h2 {
  max-width: 690px;
  margin-bottom: 24px;
}

.home-experience__content .lead {
  margin-bottom: 37px;
}

.home-experience__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 36px;
  background: var(--rw-border);
  border: 1px solid var(--rw-border);
}

.home-experience__fact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 125px;
  padding: 25px 22px;
  background: var(--rw-white);
  transition:
    transform var(--rw-transition),
    box-shadow var(--rw-transition);
}

.home-experience__fact:hover {
  position: relative;
  z-index: 1;
  box-shadow: var(--rw-shadow-small);
  transform: translateY(-4px);
}

.home-experience__fact strong {
  color: var(--rw-red);
  font-family: var(--rw-font-heading);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.home-experience__fact span {
  color: var(--rw-muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.home-experience__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 19px 27px;
}

.home-experience__media {
  position: relative;
  padding: clamp(24px, 3vw, 42px) clamp(24px, 3vw, 42px) 0 0;
}

.home-experience__media::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  height: 68%;
  background: var(--rw-yellow-soft);
  content: "";
}

.home-experience__image {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 30px 2px 2px 2px;
  box-shadow: var(--rw-shadow-medium);
}

.home-experience__caption {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(330px, 76%);
  padding: 18px 22px;
  margin: -34px 0 0 auto;
  background: var(--rw-white);
  border-left: 4px solid var(--rw-red);
  box-shadow: var(--rw-shadow-small);
}

.home-experience__caption span {
  color: var(--rw-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-experience__caption strong {
  color: var(--rw-ink);
  font-family: var(--rw-font-heading);
  font-size: 1rem;
  line-height: 1.3;
}

/* ==========================================================================
     25. Home Featured Projects
     ========================================================================== */

.home-projects {
  position: relative;
}

.home-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
}

.home-project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--rw-white);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-medium);
  box-shadow: 0 6px 20px rgba(23, 25, 28, 0.05);
  transition:
    transform var(--rw-transition),
    border-color var(--rw-transition),
    box-shadow var(--rw-transition);
}

.home-project-card:hover {
  border-color: rgba(204, 13, 16, 0.25);
  box-shadow: var(--rw-shadow-medium);
  transform: translateY(-6px);
}

.home-project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rw-warm-gray);
}

.home-project-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 25, 28, 0.24), transparent 46%);
  content: "";
  opacity: 0.3;
  pointer-events: none;
  transition: opacity var(--rw-transition);
}

.home-project-card:hover .home-project-card__media::after {
  opacity: 0.6;
}

.home-project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--rw-transition-slow);
}

.home-project-card:hover .home-project-card__image {
  transform: scale(1.04);
}

.home-project-card__placeholder {
  height: 100%;
  border: 0;
  border-radius: 0;
}

.home-project-card__placeholder .rogers-media-placeholder__content {
  gap: 9px;
  padding: 22px;
}

.home-project-card__placeholder .rogers-media-placeholder__label {
  font-size: 1.05rem;
}

.home-project-card__placeholder .rogers-media-placeholder__group p {
  font-size: 0.72rem;
}

.home-project-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(22px, 2.8vw, 31px);
}

.home-project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-bottom: 15px;
  color: var(--rw-red);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.085em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-project-card__meta span + span {
  position: relative;
}

.home-project-card__meta span + span::before {
  position: absolute;
  top: 50%;
  left: -9px;
  width: 3px;
  height: 3px;
  background: var(--rw-yellow);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.home-project-card h3 {
  margin-bottom: 13px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.home-project-card h3 a:hover {
  color: var(--rw-red);
}

.home-project-card__content > p {
  margin-bottom: 22px;
  color: var(--rw-text);
  font-size: 0.82rem;
  line-height: 1.65;
}

.home-project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--rw-red);
  font-size: 0.78rem;
  font-weight: 850;
}

.home-project-card__link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--rw-transition-fast);
}

.home-project-card__link:hover {
  color: var(--rw-red-dark);
}

.home-project-card__link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
     26. Home Contractors and Commercial
     ========================================================================== */

.home-commercial {
  position: relative;
  overflow: hidden;
  background: var(--rw-white);
}

.home-commercial__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(360px, 0.75fr);
  align-items: center;
  gap: clamp(54px, 8vw, 118px);
}

.home-commercial__media {
  position: relative;
  padding: 0 0 clamp(30px, 4vw, 54px) clamp(30px, 4vw, 54px);
}

.home-commercial__media::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70%;
  height: 76%;
  background: var(--rw-red-soft);
  content: "";
}

.home-commercial__media::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5px;
  height: 115px;
  background: var(--rw-red);
  content: "";
}

.home-commercial__image {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px 30px 2px 2px;
  box-shadow: var(--rw-shadow-medium);
}

.home-commercial__content h2 {
  margin-bottom: 23px;
}

.home-commercial__content > p:not(.eyebrow) {
  margin-bottom: 29px;
  color: var(--rw-text);
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  line-height: 1.75;
}

.home-commercial__list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0 0 33px;
  list-style: none;
}

.home-commercial__list li {
  position: relative;
  padding-left: 28px;
  color: var(--rw-ink);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
}

.home-commercial__list li::before {
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(
    135deg,
    var(--rw-red) 0 50%,
    var(--rw-yellow) 50% 100%
  );
  border-radius: 4px;
  content: "";
}

/* ==========================================================================
     27. Home Final Estimate CTA
     ========================================================================== */

.home-estimate {
  padding: 0 0 var(--rw-section-space);
  background: var(--rw-white);
}

.home-estimate__panel {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(300px, 0.72fr)
    minmax(0, 1.28fr);
  min-height: 590px;
  overflow: hidden;
  background: var(--rw-charcoal);
  color: var(--rw-white);
  border-radius: 3px 3px 36px 3px;
  box-shadow: var(--rw-shadow-large);
}

.home-estimate__panel::after {
  position: absolute;
  right: -150px;
  bottom: -220px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(241, 210, 0, 0.13), transparent 68%);
  content: "";
  pointer-events: none;
}

.home-estimate__media {
  position: relative;
  z-index: 1;
  min-height: 100%;
  overflow: hidden;
  background: var(--rw-charcoal-soft);
}

.home-estimate__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 56%,
    rgba(23, 25, 28, 0.55)
  );
  content: "";
  pointer-events: none;
}

.home-estimate__image {
  min-height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}

.home-estimate__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 100px);
}

.home-estimate__eyebrow {
  margin-bottom: 16px;
  color: var(--rw-yellow);
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-estimate h2 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--rw-white);
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
}

.home-estimate__content > p {
  max-width: 700px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

.home-estimate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.home-estimate__locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 590px;
  border-top: 1px solid var(--rw-border-dark);
  border-bottom: 1px solid var(--rw-border-dark);
}

.home-estimate__locations a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px 18px 0;
}

.home-estimate__locations a + a {
  padding-left: 25px;
  border-left: 1px solid var(--rw-border-dark);
}

.home-estimate__locations a:hover {
  color: var(--rw-yellow);
}

.home-estimate__locations span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-estimate__locations strong {
  color: var(--rw-white);
  font-size: 0.93rem;
  line-height: 1.3;
}

/* ==========================================================================
     28. Home Responsive — Desktop
     ========================================================================== */

@media (min-width: 1440px) {
  .home-hero__grid {
    grid-template-columns:
      minmax(0, 1.04fr)
      minmax(420px, 0.76fr);
  }

  .home-hero__visual {
    width: min(100%, 560px);
  }
}

@media (min-width: 1024px) and (max-width: 1365px) {
  .home-hero__grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(350px, 0.72fr);
    gap: clamp(32px, 4vw, 52px);
    padding-block: clamp(40px, 4.5vh, 58px);
  }

  .home-hero__title {
    max-width: 14ch;
    font-size: clamp(2.85rem, 4.5vw, 4.15rem);
  }

  .home-hero__description {
    margin-bottom: 22px;
    font-size: 0.94rem;
  }

  .home-hero__actions {
    margin-bottom: 22px;
  }

  .home-hero__actions .button {
    padding-inline: 16px;
    font-size: 0.76rem;
  }

  .home-hero__visual {
    width: min(100%, 465px);
  }
}

@media (min-width: 1024px) and (max-height: 900px) {
  .home-hero__grid {
    gap: clamp(32px, 4vw, 58px);
    padding-block: 34px 42px;
  }

  .home-hero__eyebrow {
    margin-bottom: 13px;
  }

  .home-hero__title {
    max-width: 14ch;
    margin-bottom: 17px;
    font-size: clamp(2.8rem, 4vw, 4.05rem);
    line-height: 0.97;
  }

  .home-hero__description {
    margin-bottom: 19px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .home-hero__actions {
    margin-bottom: 19px;
  }

  .home-hero__highlights {
    gap: 7px 18px;
  }

  .home-hero__visual {
    width: min(100%, 440px);
    padding-right: 36px;
    padding-bottom: 52px;
  }

  .home-hero__detail-image {
    width: 138px;
  }

  .home-hero__experience-card {
    bottom: 58px;
    width: min(205px, 50%);
    padding: 14px 16px;
  }

  .home-hero__experience-card strong {
    font-size: 0.92rem;
  }

  .home-hero__experience-card span {
    font-size: 0.65rem;
  }
}

@media (max-width: 1199px) {
  .home-hero__experience-card {
    left: -15px;
  }

  .home-services__grid,
  .home-projects__grid {
    gap: 20px;
  }

  .home-service-card__content,
  .home-project-card__content {
    padding: 24px;
  }

  .home-manufacturing__grid,
  .home-experience__grid,
  .home-commercial__grid {
    gap: 60px;
  }
}

/* ==========================================================================
     29. Home Responsive — Tablet
     ========================================================================== */

@media (max-width: 1023px) {
  .hero-title,
  .home-hero__title {
    max-width: 16ch;
    font-size: clamp(2.8rem, 7.6vw, 4.5rem);
  }

  .hero-actions .button,
  .home-hero__actions .button {
    flex: 1 1 200px;
  }

  .home-hero {
    background: linear-gradient(
      to bottom,
      var(--rw-white) 0 57%,
      var(--rw-off-white) 57% 100%
    );
  }

  .home-hero__grid {
    grid-template-columns: 1fr;
    gap: 52px;
    min-height: auto;
    padding-block: clamp(60px, 9vw, 92px);
  }

  .home-hero__content {
    max-width: 820px;
  }

  .home-hero__visual {
    width: min(100%, 700px);
    justify-self: center;
    padding-right: clamp(38px, 8vw, 76px);
  }

  .home-hero__image {
    border-radius: 3px 3px 34px 3px;
  }

  .home-trust-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-trust-strip__item {
    padding-inline: 26px;
    border-bottom: 1px solid var(--rw-border-dark);
  }

  .home-trust-strip__item:nth-child(2) {
    border-right: 0;
  }

  .home-trust-strip__item:nth-child(3),
  .home-trust-strip__item:nth-child(4) {
    border-bottom: 0;
  }

  .home-trust-strip__item:first-child,
  .home-trust-strip__item:last-child {
    padding-inline: 26px;
  }

  .home-section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-section-heading__side {
    max-width: 660px;
    justify-self: start;
  }

  .home-services__grid,
  .home-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-service-card:last-child,
  .home-project-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .home-service-card:last-child {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  }

  .home-service-card:last-child .home-service-card__media {
    height: 100%;
    aspect-ratio: auto;
  }

  .home-manufacturing__grid,
  .home-experience__grid,
  .home-commercial__grid {
    grid-template-columns: 1fr;
  }

  .home-manufacturing__media {
    width: min(100%, 760px);
  }

  .home-manufacturing__content {
    max-width: 760px;
  }

  .home-experience__content {
    max-width: 780px;
  }

  .home-experience__media {
    width: min(100%, 760px);
    justify-self: end;
  }

  .home-commercial__media {
    width: min(100%, 850px);
  }

  .home-commercial__content {
    max-width: 750px;
  }

  .home-estimate__panel {
    grid-template-columns:
      minmax(240px, 0.68fr)
      minmax(0, 1.32fr);
    min-height: 560px;
  }

  .home-estimate__content {
    padding: clamp(42px, 6vw, 64px);
  }
}

/* ==========================================================================
     30. Home Responsive — Mobile
     ========================================================================== */

@media (max-width: 767px) {
  .home-hero::before {
    width: 55%;
  }

  .home-hero__grid {
    gap: 42px;
    padding-top: 50px;
  }

  .hero-title,
  .home-hero__title {
    max-width: 15ch;
    margin-bottom: 22px;
    font-size: clamp(2.45rem, 10.8vw, 3.9rem);
    line-height: 1;
  }

  .home-hero__description {
    margin-bottom: 28px;
    font-size: 1rem;
  }

  .home-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .home-hero__actions .button {
    width: 100%;
  }

  .home-hero__highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .home-hero__visual {
    padding: 0 clamp(24px, 9vw, 52px) clamp(52px, 12vw, 75px) 0;
  }

  .home-hero__detail-image {
    width: clamp(125px, 35vw, 180px);
    border-width: 6px;
  }

  .home-hero__experience-card {
    bottom: clamp(58px, 14vw, 80px);
    left: -6px;
    width: min(220px, 65%);
    padding: 16px 17px;
  }

  .home-trust-strip__item {
    min-height: 105px;
  }

  .home-services__grid,
  .home-projects__grid {
    grid-template-columns: 1fr;
  }

  .home-service-card:last-child,
  .home-project-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .home-service-card:last-child {
    display: flex;
  }

  .home-service-card:last-child .home-service-card__media {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .home-service-card__content {
    padding: 25px 22px 27px;
  }

  .home-manufacturing__grid {
    gap: 47px;
  }

  .home-manufacturing__media {
    padding: 0 0 40px 18px;
  }

  .home-manufacturing__badge {
    max-width: 205px;
    padding: 16px 18px;
  }

  .home-manufacturing__feature {
    gap: 14px;
  }

  .home-manufacturing__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-manufacturing__actions .button {
    width: 100%;
  }

  .home-experience__grid {
    gap: 45px;
  }

  .home-experience__facts {
    grid-template-columns: 1fr;
  }

  .home-experience__fact {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: auto;
    padding: 18px 20px;
  }

  .home-experience__fact strong {
    min-width: 65px;
  }

  .home-experience__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-experience__actions .button {
    width: 100%;
  }

  .home-experience__media {
    padding: 20px 20px 0 0;
  }

  .home-experience__caption {
    width: min(315px, 90%);
  }

  .home-project-card__content {
    padding: 24px 22px 27px;
  }

  .home-commercial__grid {
    gap: 45px;
  }

  .home-commercial__media {
    padding: 0 0 28px 22px;
  }

  .home-estimate {
    padding-bottom: var(--rw-section-space-small);
  }

  .home-estimate__panel {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 3px 3px 26px 3px;
  }

  .home-estimate__media {
    min-height: 380px;
    max-height: 520px;
  }

  .home-estimate__image {
    min-height: 380px;
    aspect-ratio: 4 / 5;
  }

  .home-estimate__media::after {
    background: linear-gradient(
      to bottom,
      transparent 55%,
      rgba(23, 25, 28, 0.55)
    );
  }

  .home-estimate__content {
    padding: 42px 24px 48px;
  }

  .home-estimate__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .home-estimate__actions .button {
    width: 100%;
  }

  .home-estimate__locations {
    grid-template-columns: 1fr;
  }

  .home-estimate__locations a {
    padding: 16px 0;
  }

  .home-estimate__locations a + a {
    padding-left: 0;
    border-top: 1px solid var(--rw-border-dark);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .home-trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .home-trust-strip__item {
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rw-border-dark);
  }

  .home-trust-strip__item:first-child,
  .home-trust-strip__item:last-child {
    padding-inline: 0;
  }

  .home-trust-strip__item:nth-child(3) {
    border-bottom: 1px solid var(--rw-border-dark);
  }

  .home-trust-strip__item:last-child {
    border-bottom: 0;
  }

  .home-hero__detail-image {
    width: 120px;
  }

  .home-hero__experience-card {
    width: min(195px, 66%);
  }

  .home-manufacturing__badge {
    right: -2px;
    max-width: 185px;
  }

  .home-commercial__list li {
    padding-left: 25px;
  }
}

/* ==========================================================================
   31. Reduced Motion Overrides
   ========================================================================== */

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js .rw-reveal,
  html.js .rw-reveal--left,
  html.js .rw-reveal--right,
  html.js .rw-reveal--scale {
    opacity: 1;
    transform: none;
  }

  .mobile-navigation-modal__dialog,
  .home-hero__detail-image,
  .home-hero__experience-card {
    animation: none;
  }

  .button:hover,
  .home-service-card:hover,
  .home-project-card:hover,
  .home-experience__fact:hover {
    transform: none;
  }

  .home-service-card:hover .home-service-card__image,
  .home-project-card:hover .home-project-card__image {
    transform: none;
  }
}

/* ==========================================================================
   32. Projects Shared Components
   ========================================================================== */

.projects-page {
  width: 100%;
  background: var(--rw-white);
}

.projects-page #project-results {
  scroll-margin-top: calc(var(--rw-desktop-header-height) + 32px);
}

.projects-page select,
.projects-page input {
  width: 100%;
  color: var(--rw-ink);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-small);
  outline: 0;
}

.projects-page select:hover,
.projects-page input:hover {
  border-color: rgba(204, 13, 16, 0.42);
}

.projects-page select:focus,
.projects-page input:focus {
  border-color: var(--rw-red);
  box-shadow: 0 0 0 4px rgba(204, 13, 16, 0.1);
}

.projects-page select {
  min-height: 50px;
  padding: 0 42px 0 15px;
  background-color: var(--rw-white);
  cursor: pointer;
}

.projects-page input {
  min-height: 50px;
  padding: 0 15px;
  background: var(--rw-white);
}

.projects-page input::placeholder {
  color: #92969c;
}

/* ==========================================================================
     33. Projects Hero
     ========================================================================== */

.projects-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    125deg,
    var(--rw-white) 0%,
    var(--rw-white) 58%,
    var(--rw-off-white) 58%,
    var(--rw-off-white) 100%
  );
}

.projects-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: min(38vw, 580px);
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--rw-red) 0 72%,
    var(--rw-yellow) 72% 100%
  );
  content: "";
}

.projects-hero::after {
  position: absolute;
  right: -170px;
  bottom: -230px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(241, 210, 0, 0.11), transparent 68%);
  content: "";
  pointer-events: none;
}

.projects-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(390px, 0.78fr);
  align-items: center;
  gap: clamp(44px, 6vw, 92px);
  padding-block: clamp(68px, 8vw, 112px);
}

.projects-hero__content {
  max-width: 760px;
}

.projects-hero__title {
  max-width: 15ch;
  margin-bottom: 25px;
}

.projects-hero__description {
  max-width: 660px;
  margin-bottom: 30px;
}

.projects-hero__actions {
  margin-bottom: 37px;
}

.projects-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 560px;
  border-top: 1px solid var(--rw-border);
  border-bottom: 1px solid var(--rw-border);
}

.projects-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 92px;
  padding: 20px 24px 20px 0;
}

.projects-hero__stat + .projects-hero__stat {
  padding-left: 26px;
  border-left: 1px solid var(--rw-border);
}

.projects-hero__stat strong {
  color: var(--rw-red);
  font-family: var(--rw-font-heading);
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
  line-height: 1;
}

.projects-hero__stat span {
  color: var(--rw-muted);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.4;
}

.projects-hero__media {
  position: relative;
  width: min(100%, 570px);
  justify-self: end;
  padding: 0 0 clamp(42px, 5vw, 65px) clamp(28px, 3vw, 48px);
}

.projects-hero__media::before {
  position: absolute;
  top: clamp(30px, 4vw, 54px);
  right: clamp(28px, 4vw, 54px);
  bottom: 0;
  left: 0;
  border: 1px solid rgba(32, 35, 40, 0.15);
  content: "";
  pointer-events: none;
}

.projects-hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px 3px 32px 3px;
  box-shadow: var(--rw-shadow-large);
}

.projects-hero__media-note {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(285px, 68%);
  padding: 18px 21px;
  background: var(--rw-charcoal);
  color: var(--rw-white);
  border-left: 4px solid var(--rw-yellow);
  border-radius: 2px 2px 16px 2px;
  box-shadow: var(--rw-shadow-medium);
}

.projects-hero__media-note span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.projects-hero__media-note strong {
  color: var(--rw-white);
  font-family: var(--rw-font-heading);
  font-size: 0.92rem;
  line-height: 1.35;
}

/* ==========================================================================
     34. Projects Filters
     ========================================================================== */

.projects-filters {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(36px, 5vw, 62px);
  background: linear-gradient(
    to bottom,
    var(--rw-off-white) 0 50%,
    var(--rw-white) 50% 100%
  );
}

.projects-filters__panel {
  padding: clamp(25px, 3vw, 38px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-medium);
  box-shadow: var(--rw-shadow-medium);
}

.projects-filters__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 27px;
}

.projects-filters__heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
}

.projects-filters__eyebrow {
  margin-bottom: 7px;
  color: var(--rw-red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.projects-filters__clear {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--rw-red);
  font-size: 0.79rem;
  font-weight: 850;
}

.projects-filters__clear:hover {
  color: var(--rw-red-dark);
  transform: translateX(-3px);
}

.projects-filter-form {
  display: grid;
  grid-template-columns:
    minmax(280px, 1.7fr)
    minmax(180px, 0.75fr)
    minmax(170px, 0.7fr)
    auto;
  align-items: end;
  gap: 15px;
}

.projects-filter-form__field {
  min-width: 0;
}

.projects-filter-form__field label {
  display: block;
  margin-bottom: 7px;
  color: var(--rw-ink);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.projects-filter-form__search {
  position: relative;
}

.projects-filter-form__search svg {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  width: 19px;
  height: 19px;
  color: var(--rw-muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.projects-filter-form__search input {
  padding-left: 44px;
}

.projects-filter-form__submit .button {
  width: 100%;
  min-height: 50px;
  white-space: nowrap;
}

.projects-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  margin-top: 23px;
  border-top: 1px solid var(--rw-border);
}

.projects-active-filters span {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 11px;
  background: var(--rw-red-soft);
  color: var(--rw-red-dark);
  border: 1px solid rgba(204, 13, 16, 0.13);
  border-radius: var(--rw-radius-pill);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
}

/* ==========================================================================
     35. Projects Results
     ========================================================================== */

.projects-results {
  position: relative;
  background: var(--rw-white);
}

.projects-results__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.projects-results__header h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.projects-results__count {
  flex-shrink: 0;
  margin: 0 0 6px;
  color: var(--rw-muted);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.4;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.7vw, 35px);
}

/* ==========================================================================
     36. Project Cards
     ========================================================================== */

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--rw-white);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-medium);
  box-shadow: 0 7px 22px rgba(23, 25, 28, 0.055);
  transition:
    border-color var(--rw-transition),
    box-shadow var(--rw-transition),
    transform var(--rw-transition);
}

.project-card:hover {
  border-color: rgba(204, 13, 16, 0.28);
  box-shadow: var(--rw-shadow-medium);
  transform: translateY(-7px);
}

.project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rw-warm-gray);
}

.project-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 25, 28, 0.35), transparent 48%);
  content: "";
  opacity: 0.3;
  pointer-events: none;
  transition: opacity var(--rw-transition);
}

.project-card:hover .project-card__media::after {
  opacity: 0.62;
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--rw-ease-out);
}

.project-card:hover .project-card__image {
  transform: scale(1.045);
}

.project-card__placeholder {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 27px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(204, 13, 16, 0.04), transparent 46%),
    var(--rw-warm-gray);
  color: var(--rw-ink);
  text-align: center;
}

.project-card__placeholder::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(32, 35, 40, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 35, 40, 0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  pointer-events: none;
}

.project-card__placeholder > * {
  position: relative;
  z-index: 1;
}

.project-card__placeholder-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 3px;
  place-items: center;
  background: var(--rw-white);
  color: var(--rw-red);
  border: 1px solid var(--rw-border);
  border-radius: 14px;
  box-shadow: var(--rw-shadow-small);
}

.project-card__placeholder-icon svg {
  width: 25px;
  height: 25px;
}

.project-card__placeholder strong {
  font-family: var(--rw-font-heading);
  font-size: 1rem;
  line-height: 1.25;
}

.project-card__placeholder small {
  max-width: 260px;
  color: var(--rw-muted);
  font-size: 0.69rem;
  line-height: 1.5;
}

.project-card__market {
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 6px 10px;
  background: rgba(23, 25, 28, 0.9);
  color: var(--rw-white);
  border-left: 3px solid var(--rw-yellow);
  border-radius: 2px 7px 7px 2px;
  box-shadow: 0 8px 18px rgba(23, 25, 28, 0.18);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.project-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(23px, 2.8vw, 31px);
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-bottom: 15px;
  color: var(--rw-red);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1.35;
  text-transform: uppercase;
}

.project-card__meta span + span {
  position: relative;
}

.project-card__meta span + span::before {
  position: absolute;
  top: 50%;
  left: -9px;
  width: 3px;
  height: 3px;
  background: var(--rw-yellow);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.project-card__title {
  margin-bottom: 13px;
  font-size: clamp(1.28rem, 1.8vw, 1.65rem);
  line-height: 1.2;
}

.project-card__title a:hover {
  color: var(--rw-red);
}

.project-card__summary {
  margin-bottom: 20px;
  color: var(--rw-text);
  font-size: 0.83rem;
  line-height: 1.68;
}

.project-card__services {
  padding: 13px 14px;
  margin: 0 0 22px;
  background: var(--rw-off-white);
  color: var(--rw-text);
  border-left: 3px solid var(--rw-yellow);
  border-radius: 2px var(--rw-radius-small) var(--rw-radius-small) 2px;
  font-size: 0.72rem;
  line-height: 1.55;
}

.project-card__services span {
  display: block;
  margin-bottom: 3px;
  color: var(--rw-muted);
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  color: var(--rw-red);
  font-size: 0.79rem;
  font-weight: 850;
  line-height: 1.3;
}

.project-card__link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--rw-transition-fast);
}

.project-card__link:hover {
  color: var(--rw-red-dark);
}

.project-card__link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
     37. Projects Pagination
     ========================================================================== */

.projects-pagination {
  display: flex;
  justify-content: center;
  margin-top: clamp(44px, 6vw, 72px);
}

.projects-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 13px;
  margin: 4px;
  background: var(--rw-white);
  color: var(--rw-ink);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-small);
  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1;
}

.projects-pagination a.page-numbers:hover {
  background: var(--rw-red-soft);
  color: var(--rw-red);
  border-color: rgba(204, 13, 16, 0.28);
  transform: translateY(-2px);
}

.projects-pagination .page-numbers.current {
  background: var(--rw-red);
  color: var(--rw-white);
  border-color: var(--rw-red);
  box-shadow: 0 8px 18px rgba(204, 13, 16, 0.2);
}

.projects-pagination .prev,
.projects-pagination .next {
  padding-inline: 17px;
}

/* ==========================================================================
     38. Projects Empty State
     ========================================================================== */

.projects-empty-state {
  display: flex;
  width: min(100%, 760px);
  min-height: 410px;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(42px, 7vw, 78px);
  background:
    linear-gradient(135deg, rgba(204, 13, 16, 0.035), transparent 46%),
    var(--rw-off-white);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-large);
  text-align: center;
}

.projects-empty-state__icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin-bottom: 24px;
  place-items: center;
  background: var(--rw-white);
  color: var(--rw-red);
  border: 1px solid var(--rw-border);
  border-radius: 20px;
  box-shadow: var(--rw-shadow-small);
}

.projects-empty-state__icon svg {
  width: 31px;
  height: 31px;
}

.projects-empty-state__eyebrow {
  margin-bottom: 9px;
  color: var(--rw-red);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.projects-empty-state h2 {
  max-width: 590px;
  margin-bottom: 17px;
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
}

.projects-empty-state > p:not(.projects-empty-state__eyebrow) {
  max-width: 570px;
  margin-bottom: 28px;
  color: var(--rw-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
     39. Projects CTA
     ========================================================================== */

.projects-cta {
  padding: 0 0 var(--rw-section-space);
  background: var(--rw-white);
}

.projects-cta__panel {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, 1.4fr)
    auto;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  overflow: hidden;
  padding: clamp(44px, 6vw, 76px);
  background: var(--rw-charcoal);
  color: var(--rw-white);
  border-radius: 3px 3px 30px 3px;
  box-shadow: var(--rw-shadow-large);
}

.projects-cta__panel::before {
  position: absolute;
  top: -150px;
  right: -90px;
  width: 390px;
  height: 390px;
  background: radial-gradient(circle, rgba(241, 210, 0, 0.14), transparent 68%);
  content: "";
  pointer-events: none;
}

.projects-cta__panel::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 135px;
  height: 5px;
  background: var(--rw-yellow);
  content: "";
}

.projects-cta__content,
.projects-cta__actions {
  position: relative;
  z-index: 1;
}

.projects-cta__content {
  max-width: 760px;
}

.projects-cta__eyebrow {
  margin-bottom: 13px;
  color: var(--rw-yellow);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.projects-cta h2 {
  max-width: 710px;
  margin-bottom: 17px;
  color: var(--rw-white);
  font-size: clamp(2rem, 4vw, 3.55rem);
}

.projects-cta__content > p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.98rem;
  line-height: 1.72;
}

.projects-cta__actions {
  display: flex;
  min-width: 220px;
  flex-direction: column;
  gap: 11px;
}

/* ==========================================================================
     40. Projects Responsive
     ========================================================================== */

@media (max-width: 1199px) {
  .projects-hero__grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(350px, 0.72fr);
    gap: 48px;
  }

  .projects-filter-form {
    grid-template-columns:
      minmax(260px, 1.4fr)
      repeat(2, minmax(155px, 0.7fr));
  }

  .projects-filter-form__submit {
    grid-column: 1 / -1;
  }

  .projects-filter-form__submit .button {
    width: auto;
    min-width: 180px;
  }

  .projects-grid {
    gap: 22px;
  }
}

@media (max-width: 1023px) {
  .projects-page #project-results {
    scroll-margin-top: calc(var(--rw-mobile-header-height) + 24px);
  }

  .projects-hero {
    background: linear-gradient(
      to bottom,
      var(--rw-white) 0 58%,
      var(--rw-off-white) 58% 100%
    );
  }

  .projects-hero__grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: clamp(58px, 8vw, 86px);
  }

  .projects-hero__content {
    max-width: 820px;
  }

  .projects-hero__media {
    width: min(100%, 780px);
    justify-self: center;
  }

  .projects-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-filter-form__field--search {
    grid-column: 1 / -1;
  }

  .projects-filter-form__submit {
    grid-column: 1 / -1;
  }

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

  .projects-cta__panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .projects-cta__actions {
    min-width: 0;
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .projects-hero::before {
    width: 56%;
  }

  .projects-hero__grid {
    gap: 42px;
    padding-top: 48px;
  }

  .projects-hero__title {
    max-width: 15ch;
  }

  .projects-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .projects-hero__actions .button {
    width: 100%;
  }

  .projects-hero__stats {
    grid-template-columns: 1fr;
  }

  .projects-hero__stat {
    min-height: auto;
    padding: 17px 0;
  }

  .projects-hero__stat + .projects-hero__stat {
    padding-left: 0;
    border-top: 1px solid var(--rw-border);
    border-left: 0;
  }

  .projects-hero__media {
    padding: 0 0 42px 20px;
  }

  .projects-hero__media-note {
    width: min(270px, 80%);
    padding: 15px 17px;
  }

  .projects-filters {
    padding-bottom: 34px;
  }

  .projects-filters__panel {
    padding: 23px 19px;
  }

  .projects-filters__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .projects-filter-form {
    grid-template-columns: 1fr;
  }

  .projects-filter-form__field--search,
  .projects-filter-form__submit {
    grid-column: auto;
  }

  .projects-filter-form__submit .button {
    width: 100%;
  }

  .projects-results__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .projects-results__count {
    margin-bottom: 0;
  }

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

  .project-card__content {
    padding: 24px 22px 27px;
  }

  .projects-pagination {
    flex-wrap: wrap;
  }

  .projects-pagination .page-numbers {
    min-width: 39px;
    min-height: 39px;
    padding: 7px 11px;
  }

  .projects-empty-state {
    min-height: 360px;
    padding: 42px 22px;
    border-radius: var(--rw-radius-medium);
  }

  .projects-cta {
    padding-bottom: var(--rw-section-space-small);
  }

  .projects-cta__panel {
    padding: 40px 24px 46px;
    border-radius: 3px 3px 24px 3px;
  }

  .projects-cta__actions {
    flex-direction: column;
  }

  .projects-cta__actions .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .projects-hero__media {
    padding-left: 13px;
  }

  .projects-hero__media-note {
    right: -2px;
    width: min(245px, 86%);
  }

  .projects-active-filters {
    align-items: stretch;
    flex-direction: column;
  }

  .projects-active-filters span {
    justify-content: center;
    text-align: center;
  }

  .project-card__placeholder {
    min-height: 225px;
  }

  .project-card__meta {
    gap: 6px 14px;
  }

  .projects-pagination .prev,
  .projects-pagination .next {
    width: 100%;
  }
}

/* ==========================================================================
   41. Single Project Shared Components
   ========================================================================== */

.single-project-page {
  width: 100%;
  overflow: hidden;
  background: var(--rw-white);
}

.single-project-page #project-overview {
  scroll-margin-top: calc(var(--rw-desktop-header-height) + 28px);
}

.single-project-section-heading {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(280px, 0.8fr);
  align-items: end;
  gap: clamp(34px, 6vw, 92px);
  margin-bottom: clamp(38px, 5vw, 68px);
}

.single-project-section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.single-project-section-heading > p {
  max-width: 520px;
  justify-self: end;
  margin-bottom: 0;
  color: var(--rw-text);
  font-size: clamp(0.94rem, 1.2vw, 1.06rem);
  line-height: 1.75;
}

.single-project-rich-text {
  color: var(--rw-text);
  font-size: 0.98rem;
  line-height: 1.78;
}

.single-project-rich-text > *:last-child {
  margin-bottom: 0;
}

.single-project-rich-text h2,
.single-project-rich-text h3,
.single-project-rich-text h4 {
  margin-top: 1.55em;
  margin-bottom: 0.65em;
}

.single-project-rich-text h2:first-child,
.single-project-rich-text h3:first-child,
.single-project-rich-text h4:first-child {
  margin-top: 0;
}

.single-project-rich-text ul,
.single-project-rich-text ol {
  display: grid;
  gap: 8px;
  padding-left: 1.25rem;
  margin-bottom: 1.5em;
}

.single-project-rich-text a {
  color: var(--rw-red);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.single-project-rich-text a:hover {
  color: var(--rw-red-dark);
}

/* ==========================================================================
     42. Single Project Hero
     ========================================================================== */

.single-project-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    125deg,
    var(--rw-white) 0%,
    var(--rw-white) 55%,
    var(--rw-off-white) 55%,
    var(--rw-off-white) 100%
  );
}

.single-project-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: min(38vw, 580px);
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--rw-red) 0 72%,
    var(--rw-yellow) 72% 100%
  );
  content: "";
}

.single-project-hero::after {
  position: absolute;
  right: -180px;
  bottom: -250px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(241, 210, 0, 0.11), transparent 68%);
  content: "";
  pointer-events: none;
}

.single-project-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 6.5vw, 104px);
  padding-block: clamp(58px, 7vw, 96px);
}

.single-project-hero__content {
  min-width: 0;
  max-width: 700px;
}

.single-project-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--rw-muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.45;
}

.single-project-breadcrumbs a:hover {
  color: var(--rw-red);
}

.single-project-breadcrumbs span[aria-current="page"] {
  max-width: 36ch;
  overflow: hidden;
  color: var(--rw-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-project-hero__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 17px;
}

.single-project-hero__categories span {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 6px 10px;
  background: var(--rw-red-soft);
  color: var(--rw-red-dark);
  border: 1px solid rgba(204, 13, 16, 0.14);
  border-radius: var(--rw-radius-pill);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.single-project-hero__title {
  max-width: 13ch;
  margin-bottom: 23px;
  font-size: clamp(3rem, 4.7vw, 5.25rem);
}

.single-project-hero__summary {
  max-width: 650px;
  margin-bottom: 29px;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

.single-project-hero__actions {
  margin-bottom: 32px;
}

.single-project-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--rw-border);
  border-bottom: 1px solid var(--rw-border);
}

.single-project-hero__facts > div {
  min-width: 0;
  padding: 18px 20px 18px 0;
}

.single-project-hero__facts > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--rw-border);
}

.single-project-hero__facts dt {
  margin-bottom: 4px;
  color: var(--rw-muted);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.single-project-hero__facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--rw-ink);
  font-family: var(--rw-font-heading);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.35;
}

.single-project-hero__media {
  position: relative;
  width: min(100%, 690px);
  justify-self: end;
  padding: 0 0 clamp(42px, 5vw, 66px) clamp(26px, 3vw, 48px);
}

.single-project-hero__media::before {
  position: absolute;
  top: clamp(30px, 4vw, 54px);
  right: clamp(28px, 4vw, 54px);
  bottom: 0;
  left: 0;
  border: 1px solid rgba(32, 35, 40, 0.14);
  content: "";
  pointer-events: none;
}

.single-project-hero__image,
.single-project-hero__placeholder {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px 3px 34px 3px;
  box-shadow: var(--rw-shadow-large);
}

.single-project-hero__image {
  height: auto;
  object-fit: cover;
}

.single-project-hero__placeholder {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: clamp(32px, 5vw, 62px);
  background:
    linear-gradient(135deg, rgba(204, 13, 16, 0.045), transparent 45%),
    var(--rw-warm-gray);
  border: 1px solid var(--rw-border);
}

.single-project-hero__placeholder::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(32, 35, 40, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 35, 40, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

.single-project-hero__placeholder > * {
  position: relative;
  z-index: 1;
}

.single-project-hero__placeholder-type {
  padding: 7px 10px;
  background: var(--rw-red);
  color: var(--rw-white);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.single-project-hero__placeholder strong {
  max-width: 16ch;
  color: var(--rw-ink);
  font-family: var(--rw-font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.45rem);
  line-height: 1.08;
}

.single-project-hero__placeholder p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--rw-text);
  font-size: 0.86rem;
  line-height: 1.62;
}

.single-project-hero__placeholder small {
  color: var(--rw-muted);
  font-size: 0.69rem;
  font-weight: 750;
}

.single-project-hero__media-note {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  width: min(310px, 68%);
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  background: var(--rw-charcoal);
  color: var(--rw-white);
  border-left: 4px solid var(--rw-yellow);
  border-radius: 2px 2px 16px 2px;
  box-shadow: var(--rw-shadow-medium);
}

.single-project-hero__media-note span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.single-project-hero__media-note strong {
  color: var(--rw-white);
  font-family: var(--rw-font-heading);
  font-size: 0.94rem;
  line-height: 1.35;
}

/* ==========================================================================
     43. Project Overview
     ========================================================================== */

.single-project-overview {
  position: relative;
  background: var(--rw-white);
}

.single-project-overview__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(290px, 0.65fr);
  align-items: start;
  gap: clamp(52px, 8vw, 116px);
}

.single-project-overview__content {
  max-width: 780px;
}

.single-project-overview__content h2 {
  max-width: 690px;
  margin-bottom: 23px;
}

.single-project-overview__content > .lead {
  margin-bottom: 31px;
}

.single-project-overview__facts {
  position: sticky;
  top: calc(var(--rw-desktop-header-height) + 30px);
  padding: clamp(25px, 3vw, 34px);
  background: var(--rw-off-white);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-medium);
  box-shadow: var(--rw-shadow-small);
}

.single-project-overview__facts h3 {
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.single-project-overview__facts dl {
  display: grid;
  margin: 0 0 22px;
  border-top: 1px solid var(--rw-border);
}

.single-project-overview__facts dl > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  padding-block: 15px;
  border-bottom: 1px solid var(--rw-border);
}

.single-project-overview__facts dt {
  color: var(--rw-muted);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.single-project-overview__facts dd {
  margin: 0;
  color: var(--rw-ink);
  font-size: 0.81rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: right;
}

.single-project-overview__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rw-red);
  font-size: 0.79rem;
  font-weight: 850;
}

.single-project-overview__back svg {
  width: 18px;
  height: 18px;
  transition: transform var(--rw-transition-fast);
}

.single-project-overview__back:hover {
  color: var(--rw-red-dark);
}

.single-project-overview__back:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
     44. Services and Products
     ========================================================================== */

.single-project-services {
  position: relative;
}

.single-project-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
}

.single-project-services__card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  background: var(--rw-white);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-medium);
  box-shadow: 0 7px 24px rgba(23, 25, 28, 0.055);
  transition:
    border-color var(--rw-transition),
    box-shadow var(--rw-transition),
    transform var(--rw-transition);
}

.single-project-services__card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--rw-red) 0 76%,
    var(--rw-yellow) 76% 100%
  );
  content: "";
}

.single-project-services__card:hover {
  border-color: rgba(204, 13, 16, 0.26);
  box-shadow: var(--rw-shadow-medium);
  transform: translateY(-6px);
}

.single-project-services__number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--rw-red);
  font-family: var(--rw-font-mono);
  font-size: 0.7rem;
  font-weight: 850;
}

.single-project-services__card h3 {
  margin-bottom: 21px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.single-project-services__card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.single-project-services__card li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  color: var(--rw-ink);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
}

.single-project-services__card li svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  background: var(--rw-yellow-soft);
  color: var(--rw-red);
  border-radius: 50%;
}

.single-project-services__text {
  color: var(--rw-text);
  font-size: 0.9rem;
  line-height: 1.75;
}

.single-project-services__text > *:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
     45. Challenge and Solution
     ========================================================================== */

.single-project-case-study {
  position: relative;
  overflow: hidden;
  background: var(--rw-white);
}

.single-project-case-study::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(241, 210, 0, 0.055),
    transparent 62%
  );
  content: "";
  pointer-events: none;
}

.single-project-case-study__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.single-project-case-study__card {
  position: relative;
  min-width: 0;
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-medium);
  box-shadow: 0 7px 24px rgba(23, 25, 28, 0.05);
  transition:
    border-color var(--rw-transition),
    box-shadow var(--rw-transition),
    transform var(--rw-transition);
}

.single-project-case-study__card:hover {
  box-shadow: var(--rw-shadow-medium);
  transform: translateY(-5px);
}

.single-project-case-study__card--challenge {
  background: var(--rw-off-white);
}

.single-project-case-study__card--solution {
  background: var(--rw-charcoal);
  color: var(--rw-white);
  border-color: var(--rw-charcoal);
}

.single-project-case-study__card > span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--rw-red);
  font-family: var(--rw-font-mono);
  font-size: 0.7rem;
  font-weight: 900;
}

.single-project-case-study__card--solution > span {
  color: var(--rw-yellow);
}

.single-project-case-study__card h3 {
  margin-bottom: 20px;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.single-project-case-study__card--solution h3 {
  color: var(--rw-white);
}

.single-project-case-study__card--solution .single-project-rich-text {
  color: rgba(255, 255, 255, 0.68);
}

.single-project-case-study__card--solution .single-project-rich-text h2,
.single-project-case-study__card--solution .single-project-rich-text h3,
.single-project-case-study__card--solution .single-project-rich-text h4 {
  color: var(--rw-white);
}

/* ==========================================================================
     46. Before and After
     ========================================================================== */

.single-project-before-after {
  position: relative;
}

.single-project-before-after__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.single-project-before-after__item {
  min-width: 0;
}

.single-project-before-after__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rw-warm-gray);
  border-radius: var(--rw-radius-medium);
  box-shadow: var(--rw-shadow-medium);
}

.single-project-before-after__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms var(--rw-ease-out);
}

.single-project-before-after__item:hover .single-project-before-after__image {
  transform: scale(1.035);
}

.single-project-before-after__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 25, 28, 0.3), transparent 42%);
  content: "";
  pointer-events: none;
}

.single-project-before-after__media > span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 7px 12px;
  background: rgba(23, 25, 28, 0.9);
  color: var(--rw-white);
  border-left: 3px solid var(--rw-yellow);
  border-radius: 2px 7px 7px 2px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ==========================================================================
     47. Project Gallery
     ========================================================================== */

.single-project-gallery {
  position: relative;
  background: var(--rw-white);
}

.single-project-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(13px, 1.8vw, 22px);
}

.single-project-gallery__item {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rw-warm-gray);
  border-radius: var(--rw-radius-medium);
  box-shadow: 0 6px 20px rgba(23, 25, 28, 0.06);
}

.single-project-gallery__item:nth-child(5n + 1) {
  grid-column: span 8;
  grid-row: span 2;
  aspect-ratio: 16 / 10;
}

.single-project-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter var(--rw-transition),
    transform 620ms var(--rw-ease-out);
}

.single-project-gallery__item:hover .single-project-gallery__image {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.04);
}

/* ==========================================================================
     48. Related Projects
     ========================================================================== */

.single-project-related {
  position: relative;
}

.single-project-related .single-project-section-heading {
  align-items: end;
}

.single-project-related__all {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  color: var(--rw-red);
  font-size: 0.82rem;
  font-weight: 850;
}

.single-project-related__all svg {
  width: 18px;
  height: 18px;
  transition: transform var(--rw-transition-fast);
}

.single-project-related__all:hover {
  color: var(--rw-red-dark);
}

.single-project-related__all:hover svg {
  transform: translateX(4px);
}

.single-project-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
}

.single-project-related-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--rw-white);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-medium);
  box-shadow: 0 6px 20px rgba(23, 25, 28, 0.05);
  transition:
    border-color var(--rw-transition),
    box-shadow var(--rw-transition),
    transform var(--rw-transition);
}

.single-project-related-card:hover {
  border-color: rgba(204, 13, 16, 0.26);
  box-shadow: var(--rw-shadow-medium);
  transform: translateY(-6px);
}

.single-project-related-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rw-warm-gray);
}

.single-project-related-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 25, 28, 0.32), transparent 48%);
  content: "";
  opacity: 0.35;
  pointer-events: none;
  transition: opacity var(--rw-transition);
}

.single-project-related-card:hover .single-project-related-card__media::after {
  opacity: 0.62;
}

.single-project-related-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 560ms var(--rw-ease-out);
}

.single-project-related-card:hover .single-project-related-card__image {
  transform: scale(1.045);
}

.single-project-related-card__placeholder {
  display: flex;
  height: 100%;
  min-height: 245px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(204, 13, 16, 0.04), transparent 44%),
    var(--rw-warm-gray);
  text-align: center;
}

.single-project-related-card__placeholder span {
  color: var(--rw-red);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.single-project-related-card__placeholder strong {
  max-width: 20ch;
  color: var(--rw-ink);
  font-family: var(--rw-font-heading);
  font-size: 1rem;
  line-height: 1.3;
}

.single-project-related-card__market {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 6px 10px;
  background: rgba(23, 25, 28, 0.9);
  color: var(--rw-white);
  border-left: 3px solid var(--rw-yellow);
  border-radius: 2px 7px 7px 2px;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.single-project-related-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(22px, 2.8vw, 30px);
}

.single-project-related-card__category {
  margin-bottom: 11px;
  color: var(--rw-red);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.single-project-related-card h3 {
  margin-bottom: 20px;
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  line-height: 1.22;
}

.single-project-related-card h3 a:hover {
  color: var(--rw-red);
}

.single-project-related-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  color: var(--rw-red);
  font-size: 0.77rem;
  font-weight: 850;
}

.single-project-related-card__link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--rw-transition-fast);
}

.single-project-related-card__link:hover {
  color: var(--rw-red-dark);
}

.single-project-related-card__link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
     49. Single Project CTA
     ========================================================================== */

.single-project-cta {
  padding: 0 0 var(--rw-section-space);
  background: var(--rw-white);
}

.single-project-cta__panel {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, 1.4fr)
    auto;
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  overflow: hidden;
  padding: clamp(46px, 6vw, 78px);
  background: var(--rw-charcoal);
  color: var(--rw-white);
  border-radius: 3px 3px 30px 3px;
  box-shadow: var(--rw-shadow-large);
}

.single-project-cta__panel::before {
  position: absolute;
  top: -160px;
  right: -95px;
  width: 410px;
  height: 410px;
  background: radial-gradient(circle, rgba(241, 210, 0, 0.14), transparent 68%);
  content: "";
  pointer-events: none;
}

.single-project-cta__panel::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 140px;
  height: 5px;
  background: var(--rw-yellow);
  content: "";
}

.single-project-cta__content,
.single-project-cta__actions {
  position: relative;
  z-index: 1;
}

.single-project-cta__content {
  max-width: 760px;
}

.single-project-cta__eyebrow {
  margin-bottom: 13px;
  color: var(--rw-yellow);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.single-project-cta h2 {
  max-width: 710px;
  margin-bottom: 17px;
  color: var(--rw-white);
  font-size: clamp(2rem, 4vw, 3.55rem);
}

.single-project-cta__content > p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.98rem;
  line-height: 1.72;
}

.single-project-cta__actions {
  display: flex;
  min-width: 225px;
  flex-direction: column;
  gap: 11px;
}

/* ==========================================================================
     50. Single Project Responsive and Reduced Motion
     ========================================================================== */

@media (max-width: 1199px) {
  .single-project-hero__grid {
    grid-template-columns:
      minmax(0, 0.95fr)
      minmax(390px, 1.05fr);
    gap: 48px;
  }

  .single-project-overview__grid {
    gap: 58px;
  }

  .single-project-related__grid {
    gap: 22px;
  }
}

@media (max-width: 1023px) {
  .single-project-page #project-overview {
    scroll-margin-top: calc(var(--rw-mobile-header-height) + 24px);
  }

  .single-project-hero {
    background: linear-gradient(
      to bottom,
      var(--rw-white) 0 58%,
      var(--rw-off-white) 58% 100%
    );
  }

  .single-project-hero__grid,
  .single-project-overview__grid {
    grid-template-columns: 1fr;
  }

  .single-project-hero__grid {
    gap: 50px;
    padding-block: clamp(56px, 8vw, 84px);
  }

  .single-project-hero__content {
    max-width: 820px;
  }

  .single-project-hero__media {
    width: min(100%, 820px);
    justify-self: center;
  }

  .single-project-overview__facts {
    position: static;
    width: min(100%, 720px);
  }

  .single-project-section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .single-project-section-heading > p,
  .single-project-related__all {
    justify-self: start;
  }

  .single-project-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-project-related-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .single-project-cta__panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .single-project-cta__actions {
    min-width: 0;
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .single-project-hero::before {
    width: 56%;
  }

  .single-project-hero__grid {
    gap: 42px;
    padding-top: 48px;
  }

  .single-project-breadcrumbs span[aria-current="page"] {
    max-width: 24ch;
  }

  .single-project-hero__title {
    max-width: 15ch;
    font-size: clamp(2.5rem, 10.8vw, 4rem);
  }

  .single-project-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .single-project-hero__actions .button {
    width: 100%;
  }

  .single-project-hero__facts {
    grid-template-columns: 1fr;
  }

  .single-project-hero__facts > div {
    padding: 15px 0;
  }

  .single-project-hero__facts > div + div {
    padding-left: 0;
    border-top: 1px solid var(--rw-border);
    border-left: 0;
  }

  .single-project-hero__media {
    padding: 0 0 42px 18px;
  }

  .single-project-hero__placeholder {
    min-height: 330px;
    padding: 30px 24px;
  }

  .single-project-hero__media-note {
    width: min(285px, 82%);
    padding: 15px 17px;
  }

  .single-project-overview__facts {
    padding: 24px 20px;
  }

  .single-project-overview__facts dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .single-project-overview__facts dd {
    text-align: left;
  }

  .single-project-services__grid,
  .single-project-case-study__grid,
  .single-project-before-after__grid,
  .single-project-related__grid {
    grid-template-columns: 1fr;
  }

  .single-project-services__card,
  .single-project-case-study__card {
    padding: 30px 23px;
  }

  .single-project-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-project-gallery__item,
  .single-project-gallery__item:nth-child(5n + 1) {
    grid-column: span 1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .single-project-gallery__item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  .single-project-related-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .single-project-cta {
    padding-bottom: var(--rw-section-space-small);
  }

  .single-project-cta__panel {
    padding: 40px 24px 46px;
    border-radius: 3px 3px 24px 3px;
  }

  .single-project-cta__actions {
    flex-direction: column;
  }

  .single-project-cta__actions .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .single-project-hero__media {
    padding-left: 12px;
  }

  .single-project-hero__media-note {
    right: -2px;
    width: min(250px, 88%);
  }

  .single-project-gallery__grid {
    grid-template-columns: 1fr;
  }

  .single-project-gallery__item,
  .single-project-gallery__item:first-child,
  .single-project-gallery__item:nth-child(5n + 1) {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .single-project-before-after__media {
    aspect-ratio: 1 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .single-project-services__card:hover,
  .single-project-case-study__card:hover,
  .single-project-related-card:hover,
  .single-project-overview__back:hover svg,
  .single-project-related__all:hover svg,
  .single-project-related-card__link:hover svg {
    transform: none;
  }

  .single-project-before-after__item:hover .single-project-before-after__image,
  .single-project-gallery__item:hover .single-project-gallery__image,
  .single-project-related-card:hover .single-project-related-card__image {
    filter: none;
    transform: none;
  }
}
/* ==========================================================================
   51. Services Shared Components
   ========================================================================== */

.services-page {
  width: 100%;
  overflow: hidden;
  background: var(--rw-white);
}

.services-section-heading {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(280px, 0.8fr);
  align-items: end;
  gap: clamp(34px, 6vw, 92px);
  margin-bottom: clamp(40px, 5.5vw, 72px);
}

.services-section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.services-section-heading > p {
  max-width: 520px;
  justify-self: end;
  margin-bottom: 0;
  color: var(--rw-text);
  font-size: clamp(0.94rem, 1.2vw, 1.06rem);
  line-height: 1.75;
}

.services-section-heading--center {
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.services-section-heading--center > p {
  max-width: 680px;
  justify-self: center;
}

.services-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--rw-red);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.3;
}

.services-text-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--rw-transition-fast);
}

.services-text-link:hover {
  color: var(--rw-red-dark);
}

.services-text-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
     52. Services Hero
     ========================================================================== */

.services-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    125deg,
    var(--rw-white) 0%,
    var(--rw-white) 56%,
    var(--rw-off-white) 56%,
    var(--rw-off-white) 100%
  );
}

.services-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: min(38vw, 580px);
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--rw-red) 0 72%,
    var(--rw-yellow) 72% 100%
  );
  content: "";
}

.services-hero::after {
  position: absolute;
  right: -170px;
  bottom: -240px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(241, 210, 0, 0.11), transparent 68%);
  content: "";
  pointer-events: none;
}

.services-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(390px, 0.78fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
  padding-block: clamp(52px, 6.5vw, 86px);
}

.services-hero__content {
  max-width: 760px;
}

.services-hero__eyebrow {
  margin-bottom: 17px;
}

.services-hero__title {
  max-width: 14ch;
  margin-bottom: 22px;
}

.services-hero__description {
  max-width: 670px;
  margin-bottom: 27px;
  color: var(--rw-text);
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  line-height: 1.68;
}

.services-hero__actions {
  margin-bottom: 30px;
}

.services-hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.services-hero__highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rw-ink);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.4;
}

.services-hero__highlights span {
  display: grid;
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  place-items: center;
  background: var(--rw-yellow-soft);
  color: var(--rw-red);
  border-radius: 8px;
}

.services-hero__highlights svg {
  width: 16px;
  height: 16px;
}

.services-hero__media {
  position: relative;
  width: min(100%, 570px);
  justify-self: end;
  padding: 0 0 clamp(42px, 5vw, 64px) clamp(28px, 3vw, 48px);
}

.services-hero__media::before {
  position: absolute;
  top: clamp(28px, 4vw, 52px);
  right: clamp(28px, 4vw, 52px);
  bottom: 0;
  left: 0;
  border: 1px solid rgba(32, 35, 40, 0.14);
  content: "";
  pointer-events: none;
}

.services-hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 3px 3px 32px 3px;
  box-shadow: var(--rw-shadow-large);
}

.services-hero__note {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  width: min(300px, 72%);
  flex-direction: column;
  gap: 4px;
  padding: 18px 21px;
  background: var(--rw-charcoal);
  color: var(--rw-white);
  border-left: 4px solid var(--rw-yellow);
  border-radius: 2px 2px 16px 2px;
  box-shadow: var(--rw-shadow-medium);
}

.services-hero__note span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.services-hero__note strong {
  color: var(--rw-white);
  font-family: var(--rw-font-heading);
  font-size: 0.94rem;
  line-height: 1.35;
}

/* ==========================================================================
     53. Service Families
     ========================================================================== */

.services-families {
  position: relative;
  background: var(--rw-white);
}

.services-families__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
}

.services-family-card {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(235px, 0.82fr)
    minmax(0, 1.18fr);
  min-width: 0;
  overflow: hidden;
  background: var(--rw-white);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-medium);
  box-shadow: 0 7px 24px rgba(23, 25, 28, 0.055);
  transition:
    border-color var(--rw-transition),
    box-shadow var(--rw-transition),
    transform var(--rw-transition);
}

.services-family-card:hover {
  border-color: rgba(204, 13, 16, 0.28);
  box-shadow: var(--rw-shadow-medium);
  transform: translateY(-6px);
}

.services-family-card__media {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: var(--rw-warm-gray);
}

.services-family-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 25, 28, 0.28), transparent 48%);
  content: "";
  opacity: 0.3;
  pointer-events: none;
  transition: opacity var(--rw-transition);
}

.services-family-card:hover .services-family-card__media::after {
  opacity: 0.62;
}

.services-family-card__image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  transition: transform 560ms var(--rw-ease-out);
}

.services-family-card:hover .services-family-card__image {
  transform: scale(1.04);
}

.services-family-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(25px, 3vw, 36px);
}

.services-family-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.services-family-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--rw-red-soft);
  color: var(--rw-red);
  border-radius: 13px;
}

.services-family-card__icon svg {
  width: 24px;
  height: 24px;
}

.services-family-card__number {
  color: var(--rw-red);
  font-family: var(--rw-font-mono);
  font-size: 0.68rem;
  font-weight: 850;
}

.services-family-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  line-height: 1.18;
}

.services-family-card h3 a:hover {
  color: var(--rw-red);
}

.services-family-card__content > p {
  margin-bottom: 20px;
  color: var(--rw-text);
  font-size: 0.84rem;
  line-height: 1.68;
}

.services-family-card__links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.services-family-card__links li {
  position: relative;
  padding-left: 15px;
  color: var(--rw-text);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.45;
}

.services-family-card__links li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 2px;
  background: var(--rw-red);
  content: "";
}

.services-family-card__links a:hover {
  color: var(--rw-red);
}

.services-family-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  color: var(--rw-red);
  font-size: 0.79rem;
  font-weight: 850;
}

.services-family-card__link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--rw-transition-fast);
}

.services-family-card__link:hover {
  color: var(--rw-red-dark);
}

.services-family-card__link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
     54. Window Product Overview
     ========================================================================== */

.services-window-styles {
  position: relative;
  overflow: hidden;
  background: var(--rw-charcoal);
  color: var(--rw-white);
}

.services-window-styles::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.035),
    transparent 62%
  );
  content: "";
  pointer-events: none;
}

.services-window-styles::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 140px;
  height: 5px;
  background: var(--rw-yellow);
  content: "";
}

.services-window-styles__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(52px, 8vw, 116px);
}

.services-window-styles__media {
  position: relative;
  padding: 0 0 clamp(40px, 5vw, 66px) clamp(26px, 3vw, 46px);
}

.services-window-styles__media::before {
  position: absolute;
  top: clamp(28px, 4vw, 56px);
  right: clamp(28px, 4vw, 54px);
  bottom: 0;
  left: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  content: "";
  pointer-events: none;
}

.services-window-styles__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px 2px 30px 2px;
  box-shadow: var(--rw-shadow-large);
}

.services-window-styles__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  max-width: 270px;
  flex-direction: column;
  gap: 5px;
  padding: 19px 22px;
  background: var(--rw-yellow);
  color: var(--rw-charcoal);
  border-radius: 2px 2px 18px 2px;
  box-shadow: var(--rw-shadow-medium);
}

.services-window-styles__badge span {
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-window-styles__badge strong {
  font-family: var(--rw-font-heading);
  font-size: 1rem;
  line-height: 1.25;
}

.services-window-styles__content h2 {
  margin-bottom: 22px;
  color: var(--rw-white);
}

.services-window-styles__content > .lead {
  margin-bottom: 31px;
  color: rgba(255, 255, 255, 0.67);
}

.services-window-styles__list {
  display: grid;
  margin-bottom: 32px;
  border-top: 1px solid var(--rw-border-dark);
}

.services-window-style {
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;
  align-items: center;
  gap: 18px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rw-border-dark);
}

.services-window-style > span {
  color: var(--rw-yellow);
  font-family: var(--rw-font-mono);
  font-size: 0.66rem;
  font-weight: 850;
}

.services-window-style h3 {
  margin-bottom: 4px;
  color: var(--rw-white);
  font-size: 0.98rem;
  letter-spacing: -0.015em;
}

.services-window-style p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.75rem;
  line-height: 1.5;
}

.services-window-style > svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.56);
  transition:
    color var(--rw-transition-fast),
    transform var(--rw-transition-fast);
}

.services-window-style:hover h3 {
  color: var(--rw-yellow);
}

.services-window-style:hover > svg {
  color: var(--rw-yellow);
  transform: translateX(4px);
}

/* ==========================================================================
     55. Find the Right Solution
     ========================================================================== */

.services-guidance {
  position: relative;
  background: var(--rw-white);
}

.services-guidance__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(54px, 8vw, 120px);
}

.services-guidance__content {
  max-width: 700px;
}

.services-guidance__content h2 {
  margin-bottom: 22px;
}

.services-guidance__content > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--rw-text);
  font-size: clamp(0.97rem, 1.3vw, 1.08rem);
  line-height: 1.75;
}

.services-guidance__list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid var(--rw-border);
  list-style: none;
}

.services-guidance__list li {
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr);
  gap: 15px;
  padding-block: 18px;
  border-bottom: 1px solid var(--rw-border);
}

.services-guidance__list li > span {
  display: grid;
  width: 31px;
  height: 31px;
  margin-top: 2px;
  place-items: center;
  background: var(--rw-yellow-soft);
  color: var(--rw-red);
  border-radius: 9px;
}

.services-guidance__list svg {
  width: 18px;
  height: 18px;
}

.services-guidance__list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--rw-ink);
  font-family: var(--rw-font-heading);
  font-size: 0.94rem;
  line-height: 1.35;
}

.services-guidance__list p {
  margin-bottom: 0;
  color: var(--rw-text);
  font-size: 0.79rem;
  line-height: 1.6;
}

.services-guidance__media {
  position: relative;
  padding: clamp(24px, 3vw, 42px) clamp(24px, 3vw, 42px) 0 0;
}

.services-guidance__media::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  height: 68%;
  background: var(--rw-yellow-soft);
  content: "";
}

.services-guidance__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 30px 2px 2px 2px;
  box-shadow: var(--rw-shadow-medium);
}

/* ==========================================================================
     56. Contractors and Commercial
     ========================================================================== */

.services-commercial {
  position: relative;
  overflow: hidden;
  background: var(--rw-off-white);
}

.services-commercial__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.12fr)
    minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(54px, 8vw, 118px);
}

.services-commercial__media {
  position: relative;
  padding: 0 0 clamp(30px, 4vw, 54px) clamp(30px, 4vw, 54px);
}

.services-commercial__media::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70%;
  height: 76%;
  background: var(--rw-red-soft);
  content: "";
}

.services-commercial__media::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5px;
  height: 115px;
  background: var(--rw-red);
  content: "";
}

.services-commercial__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px 30px 2px 2px;
  box-shadow: var(--rw-shadow-medium);
}

.services-commercial__content {
  max-width: 700px;
}

.services-commercial__content h2 {
  margin-bottom: 22px;
}

.services-commercial__content > p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--rw-text);
  font-size: clamp(0.97rem, 1.3vw, 1.08rem);
  line-height: 1.75;
}

.services-commercial__list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
}

.services-commercial__list li {
  position: relative;
  padding-left: 28px;
  color: var(--rw-ink);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
}

.services-commercial__list li::before {
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(
    135deg,
    var(--rw-red) 0 50%,
    var(--rw-yellow) 50% 100%
  );
  border-radius: 4px;
  content: "";
}

.services-commercial__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 25px;
}

/* ==========================================================================
     57. Service Process
     ========================================================================== */

.services-process {
  position: relative;
  background: var(--rw-white);
}

.services-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: var(--rw-border);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius-medium);
  list-style: none;
}

.services-process__grid li {
  position: relative;
  min-width: 0;
  min-height: 290px;
  padding: clamp(27px, 3vw, 38px);
  background: var(--rw-white);
  transition:
    background-color var(--rw-transition),
    box-shadow var(--rw-transition),
    transform var(--rw-transition);
}

.services-process__grid li:hover {
  z-index: 1;
  background: var(--rw-off-white);
  box-shadow: var(--rw-shadow-medium);
  transform: translateY(-5px);
}

.services-process__grid li::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--rw-red) 0 74%,
    var(--rw-yellow) 74% 100%
  );
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition:
    opacity var(--rw-transition),
    transform var(--rw-transition);
}

.services-process__grid li:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.services-process__grid li > span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--rw-red);
  font-family: var(--rw-font-mono);
  font-size: 0.7rem;
  font-weight: 850;
}

.services-process__grid h3 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.2;
}

.services-process__grid p {
  margin-bottom: 0;
  color: var(--rw-text);
  font-size: 0.8rem;
  line-height: 1.67;
}

/* ==========================================================================
     58. Services Responsive and Reduced Motion
     ========================================================================== */

@media (max-width: 1199px) {
  .services-hero__grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(350px, 0.72fr);
    gap: 48px;
  }

  .services-family-card {
    grid-template-columns: 1fr;
  }

  .services-family-card__media {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .services-family-card__image {
    aspect-ratio: 16 / 9;
  }

  .services-window-styles__grid,
  .services-guidance__grid,
  .services-commercial__grid {
    gap: 60px;
  }

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

@media (max-width: 1023px) {
  .services-hero {
    background: linear-gradient(
      to bottom,
      var(--rw-white) 0 58%,
      var(--rw-off-white) 58% 100%
    );
  }

  .services-hero__grid,
  .services-window-styles__grid,
  .services-guidance__grid,
  .services-commercial__grid {
    grid-template-columns: 1fr;
  }

  .services-hero__grid {
    gap: 50px;
    padding-block: clamp(56px, 8vw, 84px);
  }

  .services-hero__content {
    max-width: 820px;
  }

  .services-hero__media {
    width: min(100%, 800px);
    justify-self: center;
  }

  .services-section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-section-heading > p {
    max-width: 680px;
    justify-self: start;
  }

  .services-section-heading--center > p {
    justify-self: center;
  }

  .services-window-styles__media,
  .services-guidance__media,
  .services-commercial__media {
    width: min(100%, 780px);
  }

  .services-window-styles__content,
  .services-guidance__content,
  .services-commercial__content {
    max-width: 780px;
  }

  .services-guidance__media {
    justify-self: end;
  }
}

@media (max-width: 767px) {
  .services-hero::before {
    width: 56%;
  }

  .services-hero__grid {
    gap: 42px;
    padding-top: 48px;
  }

  .services-hero__title {
    max-width: 15ch;
  }

  .services-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .services-hero__actions .button {
    width: 100%;
  }

  .services-hero__highlights {
    display: grid;
    grid-template-columns: 1fr;
  }

  .services-hero__media {
    padding: 0 0 42px 18px;
  }

  .services-hero__note {
    width: min(275px, 82%);
    padding: 15px 17px;
  }

  .services-families__grid {
    grid-template-columns: 1fr;
  }

  .services-family-card__content {
    padding: 25px 22px 28px;
  }

  .services-window-styles__media {
    padding: 0 0 40px 18px;
  }

  .services-window-styles__badge {
    max-width: 220px;
    padding: 16px 18px;
  }

  .services-window-style {
    grid-template-columns:
      auto
      minmax(0, 1fr);
  }

  .services-window-style > svg {
    display: none;
  }

  .services-guidance__media {
    padding: 20px 20px 0 0;
  }

  .services-commercial__media {
    padding: 0 0 28px 22px;
  }

  .services-commercial__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .services-commercial__actions .button {
    width: 100%;
  }

  .services-process__grid {
    grid-template-columns: 1fr;
  }

  .services-process__grid li {
    min-height: auto;
    padding: 27px 23px 31px;
  }

  .services-process__grid li > span {
    margin-bottom: 22px;
  }
}

@media (max-width: 520px) {
  .services-hero__media {
    padding-left: 12px;
  }

  .services-hero__note {
    right: -2px;
    width: min(250px, 88%);
  }

  .services-window-styles__badge {
    right: -2px;
    max-width: 195px;
  }

  .services-family-card__media {
    aspect-ratio: 4 / 3;
  }

  .services-family-card__image {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-family-card:hover,
  .services-process__grid li:hover,
  .services-text-link:hover svg,
  .services-family-card__link:hover svg,
  .services-window-style:hover > svg {
    transform: none;
  }

  .services-family-card:hover .services-family-card__image {
    transform: none;
  }
}
