﻿/* ============================================================
   DECKED OUT 365  -  Design System
   ============================================================ */

/* Design Notes:
   Fonts: Archivo (headings, bold), Archivo (body)
   Brand Red: #ce2c31 (primary brand red used across shared CTAs)
   Container: 1280px max-width
   Key spacing: sections use 100px vertical padding
   Aesthetic: luxury-contractor, bold, clean, airy
*/

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* -- CSS Variables -- */
:root {
  --brand-red: #ce2c31;
  --brand-red-dark: #a61c20;
  --brand-red-bright: #ff2d2d;
  --brand-red-shadow-soft: rgba(206, 44, 49, 0.32);
  --brand-red-shadow-strong: rgba(206, 44, 49, 0.4);
  --brand-red-overlay-legacy: rgba(192, 57, 43, 0.75);
  --brand-red-shadow-legacy: rgba(192, 57, 43, 0.4);
  --black: #0b0b0b;
  --charcoal: #171717;
  --black-overlay-82: rgba(11, 11, 11, 0.82);
  --black-overlay-98: rgba(10, 10, 10, 0.98);
  --black-border-soft: rgba(11, 11, 11, 0.18);
  --black-border-strong: rgba(11, 11, 11, 0.4);
  --black-surface-soft: rgba(11, 11, 11, 0.04);
  --gray-900: #1a1a1a;
  --gray-700: #333333;
  --gray-500: #666666;
  --gray-200: #e8e8e8;
  --gray-100: #f4f4f4;
  --white: #ffffff;
  --white-border-soft: rgba(255, 255, 255, 0.4);
  --white-surface-soft: rgba(255, 255, 255, 0.08);
  --white-divider: rgba(255, 255, 255, 0.1);
  --white-inset-soft: rgba(255, 255, 255, 0.18);
  --white-inset-strong: rgba(255, 255, 255, 0.22);
  --container: 1280px;
  --container-pad-x: 24px;
  --section-pad-desktop: 100px;
  --section-pad-mobile: 60px;
  --section-pad: var(--section-pad-desktop);
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 30px;
  --space-2xl: 40px;
  --space-3xl: 60px;
  --space-4xl: 80px;
  --space-5xl: 100px;
  --space-section: var(--section-pad);
  --space-kicker-gap: 14px;
  --space-button-gap: var(--space-xs);
  --space-button-pad-y: 14px;
  --space-button-pad-x: 30px;
  --space-button-pill-pad-y: 15px;
  --space-button-pill-pad-x: 30px;
  --gap-grid-sm: var(--space-md);
  --gap-grid-md: var(--space-lg);
  --gap-grid-lg: var(--space-xl);
  --font-size-body: 16px;
  --line-height-body: 1.65;
  --font-size-kicker: 12px;
  --line-height-kicker: 1.3;
  --font-size-section-h2: clamp(32px, 4vw, 52px);
  --line-height-section-h2: 1.1;
  --font-size-section-body: 16px;
  --line-height-section-body: 1.72;
  --space-text-stack-sm: var(--space-sm);
  --space-text-stack-md: var(--space-lg);
  --space-text-stack-lg: var(--space-xl);
  --header-h: 118px;
}

/* -- Reset -- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

body {
  font-family: 'Archivo', sans-serif;
  font-size: var(--font-size-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: var(--line-height-body);
  max-width: 100%;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* -- Container -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--container-pad-x);
  padding-right: var(--container-pad-x);
}

/* ============================================
HEADER / NAV
============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  min-height: var(--header-h);
  transition: all 0.35s ease;
}

.site-header.scrolled {
  background: var(--black-overlay-82);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.site-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  max-width: 1620px;
  padding-left: clamp(28px, 4vw, 56px);
  padding-right: clamp(28px, 4vw, 56px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}

.nav-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  height: 104px;
  width: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
}

.nav-logo .logo-text {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1;
}

.nav-logo .logo-text span {
  color: var(--brand-red);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: clamp(24px, 2vw, 40px);
  margin: 0 auto;
  flex: 1;
}

.nav-links a {
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  position: relative;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-red);
}

.nav-link-label {
  display: inline;
}

.nav-link-icon {
  display: none;
}

.nav-services-link {
  display: inline-flex;
  align-items: center;
}

.services-submenu {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translate(-50%, -2px);
  display: grid;
  gap: 6px;
  min-width: 280px;
  padding: 12px;
  border-radius: 14px;
  background: var(--black-overlay-98);
  border: 1px solid var(--white-border-soft);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1100;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.services-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 12px;
}

.services-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-shadow: none;
}

.services-submenu a:hover,
.services-submenu a.active {
  color: var(--white);
  background: rgba(206, 44, 49, 0.22);
}

.nav-services-link:hover + .services-submenu,
.services-submenu:hover,
.services-submenu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: clamp(20px, 2.5vw, 44px);
}

.nav-phone {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-phone:hover {
  color: var(--brand-red);
}

.btn-pill {
  background: linear-gradient(180deg, var(--brand-red-bright) 0%, var(--brand-red) 100%);
  color: var(--white);
  padding: var(--space-button-pill-pad-y) var(--space-button-pill-pad-x);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 28px var(--brand-red-shadow-soft), inset 0 1px 0 var(--white-inset-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-button-gap);
}

.btn-pill:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px var(--brand-red-shadow-strong), inset 0 1px 0 var(--white-inset-strong);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: var(--brand-red) !important;
  box-shadow: 0 10px 24px rgba(206, 44, 49, 0.24);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white) !important;
  transition: all 0.3s;
}

.nav-toggle:hover {
  background: var(--brand-red-dark);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: 100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 40px;
  max-width: 820px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.04),
      rgba(0, 0, 0, 0.02),
      rgba(0, 0, 0, 0.08)),
    url("/assets/img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.52) 48%,
      rgba(0, 0, 0, 0.16) 100%);
}

.hero-kicker {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hero-headline {
  font-size: clamp(44px, 5.4vw, 108px);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 0;
}

.hero-headline-line {
  display: block;
  white-space: nowrap;
}

.hero-bg-word {
  font-size: clamp(72px, 11vw, 150px);
  font-weight: 900;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.18);
  display: inline-block;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 2px;
  white-space: nowrap;
  max-width: 100%;
  min-height: 1em;
  opacity: 1;
  overflow: hidden;
  transform: translateX(0);
  filter: blur(0);
  transition: opacity 320ms ease, transform 320ms ease, filter 320ms ease;
}

body.home-page {
  background: #f2f2f2;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
  max-width: 100vw;
}

body.home-page .quote-inner>*,
body.home-page .quote-form-wrap>*,
body.home-page .estimator-columns>*,
body.home-page .review-card>* {
  min-width: 0;
}

body.home-page>* {
  max-width: 100vw;
}


.hero-bg-word.is-exiting {
  opacity: 0;
  transform: translateX(-26px);
  filter: blur(3px);
}

.hero-bg-word.is-entering {
  opacity: 0;
  transform: translateX(26px);
  filter: blur(3px);
}

.hero-bottom {
  margin-top: 0;
}

.hero-small {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: 22px;
  font-weight: 900;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-cta .btn-red,
.hero-cta .btn-outline-white {
  min-width: 286px;
  justify-content: center;
}

.hero-phone-callout {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 700;
}

.hero-phone-link {
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.hero-phone-link:hover {
  text-decoration: underline;
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
.section-kicker {
  font-size: var(--font-size-kicker);
  font-weight: 700;
  line-height: var(--line-height-kicker);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: var(--space-kicker-gap);
}

.section-h2 {
  font-size: var(--font-size-section-h2);
  font-weight: 800;
  color: var(--black);
  line-height: var(--line-height-section-h2);
  letter-spacing: -0.5px;
}

.section-body {
  font-size: var(--font-size-section-body);
  color: var(--gray-500);
  line-height: var(--line-height-section-body);
  max-width: 520px;
}

.section-h2+.section-body {
  margin-top: var(--space-text-stack-md);
}

.section-body p+p {
  margin-top: var(--space-text-stack-sm);
}

.section-body+.btn-red,
.section-body+.btn-outline-dark,
.section-body+.btn-outline-white,
.section-body+.btn-tertiary {
  margin-top: var(--space-text-stack-lg);
}

.map-section {
  padding: 60px 0 48px;
  background: #f0eeeb;
  border-top: none;
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.map-section .container > .section-kicker {
  display: block;
  text-align: center;
  margin-bottom: 14px;
}

.map-section .container > .section-h2 {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.map-section .container > .section-body {
  text-align: center;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

.service-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 0 auto 48px;
  max-width: 720px;
  text-align: center;
}

.service-cities span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  padding: 7px 16px;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.map-pin-instruction {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  margin: 0 0 16px 0;
  letter-spacing: 0.02em;
}

.service-cities span::before {
  content: none;
}

.service-cities span:hover {
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(206, 44, 49, 0.15);
}

@media (max-width: 640px) {
  .map-section .container > .section-h2 {
    font-size: clamp(28px, 6vw, 38px);
  }

  .map-section .container > .section-body {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .service-cities {
    gap: 8px;
    margin-bottom: 36px;
  }

  .service-cities span {
    font-size: 12px;
    padding: 6px 14px;
  }

  .portfolio-section {
    padding: 48px 0 72px;
  }

  .portfolio-section::before {
    margin-bottom: 48px;
  }
}

.project-map-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: stretch;
  margin-top: 0;
}

.project-map-canvas {
  display: flex;
  align-self: stretch;
  padding: 0;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  box-shadow:
    0 2px 0px rgba(0, 0, 0, 0.06),
    0 4px 0px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.08);
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.project-map-leaflet {
  flex: 1;
  height: 100%;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 0;
  background: #f4f4f4;
  box-shadow: none;
}

.project-map-fallback {
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.6;
}

.project-map-fallback::before {
  content: "🗺️";
  font-size: 22px;
  line-height: 1;
}

.project-map-leaflet .maplibregl-ctrl-bottom-right,
.project-map-leaflet .maplibregl-ctrl-bottom-left {
  bottom: 10px;
}

.project-map-leaflet .maplibregl-ctrl-attrib {
  background: rgba(11, 11, 11, 0.8);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.project-map-leaflet .maplibregl-ctrl-attrib a {
  color: var(--brand-red);
}

.project-map-leaflet .maplibregl-popup-content {
  background: #171717;
  color: var(--white);
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.28);
}

.project-map-leaflet .maplibregl-popup-tip {
  border-top-color: #171717;
}

.project-map-popup {
  min-width: 180px;
}

.project-map-popup strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.project-map-popup span {
  display: block;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.project-map-popup a {
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.project-map-marker {
  position: relative;
  width: 26px;
  height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.project-map-marker-dot {
  position: absolute;
  top: 0;
  left: 2px;
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffd6d8 0 16%, #ff8084 17%, #f43b41 38%, #ce2c31 66%, #8f1116 100%);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 30px rgba(206, 44, 49, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-map-marker-dot::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 5px;
  width: 8px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  filter: blur(0.2px);
}

.project-map-marker-dot::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  width: 2px;
  height: 29px;
  background: linear-gradient(180deg, #7f7f7f 0%, #5b5b5b 38%, #2a2a2a 100%);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.project-map-marker.is-active .project-map-marker-dot {
  transform: scale(1.12);
  box-shadow: 0 18px 34px rgba(206, 44, 49, 0.42);
}

.project-map-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow:
    0 2px 0px rgba(0, 0, 0, 0.06),
    0 4px 0px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.project-map-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.project-map-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-map-card:hover .project-map-card-media img {
  transform: scale(1.03);
}

.project-map-card-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-map-card-body .section-body {
  max-width: 100%;
  margin-top: 0;
}

.project-map-card h3 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.02;
  font-weight: 900;
  color: var(--black);
}

.project-map-card-location {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.map-card-review {
  margin: 18px 0 20px;
  padding: 16px 18px;
  background: rgba(206, 44, 49, 0.04);
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
}

.map-card-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.map-card-stars span {
  color: #e8a020;
  font-size: 16px;
  line-height: 1;
}

.map-card-review-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-600);
  font-style: italic;
  margin: 0 0 8px;
  padding: 0;
  border: none;
}

.map-card-reviewer {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
  letter-spacing: 0.02em;
}

.project-map-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.project-map-card-actions .btn-red,
.project-map-card-actions .btn-outline-dark {
  width: 100%;
  text-align: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .project-map-grid {
    grid-template-columns: 1fr;
  }

  .project-map-canvas {
    min-height: 400px;
  }
}

@media (max-width: 640px) {
  .map-section {
    padding: 64px 0;
  }

  .project-map-canvas {
    min-height: 320px;
  }

  .project-map-card-body {
    padding: 20px 20px 18px;
  }
}

/* ============================================================
   PURPOSE BUILT SECTION
   ============================================================ */
.purpose-section {
  padding: calc(var(--section-pad) - 18px) 0 calc(var(--section-pad) + 8px);
  background: #ffffff;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
  border-radius: 32px;
  width: calc(100% - 48px);
  max-width: 1500px;
  margin: 0 auto;
}

.purpose-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 88px;
  align-items: center;
}

.purpose-images {
  position: relative;
  height: 528px;
}

@keyframes purposeTopFloat {

  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  }

  50% {
    transform: translateY(-10px);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.16);
  }
}

@keyframes purposeTopLabelFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.purpose-images .img-top {
  position: absolute;
  top: -16px;
  left: 110px;
  right: 0;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  animation: purposeTopFloat 6s ease-in-out infinite;
}

.purpose-images .img-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 69%;
  height: 300px;
  object-fit: cover;
  border-radius: 18px;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.purpose-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--black);
  border-radius: 999px;
  border: 1px solid rgba(11, 11, 11, 0.12);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  white-space: nowrap;
}

.purpose-label-top {
  top: 8px;
  left: 136px;
  z-index: 5;
  background: rgba(206, 44, 49, 0.96);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  animation: purposeTopLabelFloat 6s ease-in-out infinite;
}

.purpose-label-bottom {
  bottom: 20px;
  left: 20px;
  z-index: 4;
}

.purpose-text {
  position: relative;
  z-index: 2;
  padding: 36px 38px;
  margin-left: 56px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.08);
}

.purpose-text .section-h2 {
  margin-bottom: 24px;
}

.purpose-cta {
  margin-top: 36px;
  margin-left: 8px;
}

@media (min-width: 1025px) {
  .purpose-images .img-bottom {
    bottom: -16px;
  }
}

/* ============================================================
   WHY CHOOSE US / FAQ
   ============================================================ */
.choose-section {
  padding: 20px 0 18px;
  background: transparent;
}

.choose-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 0;
  padding: 36px;
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);
}

.choose-left .section-h2 {
  margin-bottom: 18px;
}

.choose-intro {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-500);
}

/* Accordion */
.accordion-item {
  border-top: 1px solid var(--gray-200);
}

.accordion-item:last-child {
  border-bottom: 1px solid var(--gray-200);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  gap: 16px;
  transition: color 0.2s;
}

.accordion-header:hover {
  color: var(--brand-red);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--gray-200);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--gray-700);
  transition: all 0.3s;
}

.accordion-item.open .accordion-icon {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: var(--white);
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body p {
  padding-bottom: 22px;
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

.choose-right img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   VIDEO / STATS BAND
   ============================================================ */
.video-band {
  position: relative;
  margin-top: -36px;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  z-index: 1;
}

.video-band-bg {
  position: absolute;
  inset: 0;
  background: url('../img/video-placeholder.jpg') center / cover no-repeat;
  z-index: 0;
}

.video-band-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  z-index: 1;
}

.video-band-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px 40px 56px;
  max-width: var(--container);
  margin: 0 auto;
}

.video-left .v-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 520px;
}

.video-left .v-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
}

.video-right {
  text-align: center;
  flex-shrink: 0;
}

.video-right .stat-num {
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -4px;
}

.video-right .stat-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

/* ============================================================
   FOUNDER SECTION
   ============================================================ */
.founder-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
}

.founder-inner {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

body.home-page .founder-section {
  background: #f0eeeb;
  padding: 20px 0 40px;
  position: relative;
  z-index: 2;
}

body.home-page .founder-inner {
  background: var(--white);
  border-radius: 32px;
  box-shadow: 0 -6px 32px rgba(0, 0, 0, 0.10), 0 28px 60px rgba(0, 0, 0, 0.10);
  padding: 56px 48px;
  margin: 0 14px;
}

.founder-photo {
  position: relative;
  width: min(100%, 420px);
  height: clamp(360px, 46vw, 520px);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.14);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.founder-content {
  max-width: 720px;
}

.founder-content .section-h2 {
  max-width: 520px;
}

.founder-copy {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-500);
}

.founder-content .section-h2+.founder-copy {
  margin-top: 24px;
}

.founder-copy+.founder-copy {
  margin-top: 16px;
}

.founder-signature {
  margin-top: 20px;
  font-size: 0;
  line-height: 0;
  font-weight: 800;
  color: var(--black);
}

.founder-signature::before {
  content: "Dave Yopp";
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.founder-signature span {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-red);
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section {
  padding: var(--section-pad) 0;
  background: #f5f5f5;
}

.team-header {
  text-align: center;
  margin-bottom: 60px;
}

.team-header .kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.team-header .section-h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: transparent;
  position: relative;
}

.team-card-img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  background: #ddd;
}

.team-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  perspective: 1200px;
}

.team-card-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

.team-card:focus-within .team-card-flip {
  transform: rotateY(180deg);
}

@media (hover: hover) {
  .team-card:hover .team-card-flip {
    transform: rotateY(180deg);
  }
}

.team-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.team-card-face-back {
  transform: rotateY(180deg);
}


.team-label {
  display: block;
  width: 100%;
  margin-top: 0;
  position: relative;
  top: -20px;
}

.team-label-inner {
  display: block;
  width: 100%;
}

.team-role {
  background: var(--black);
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px 4px;
  display: flex;
  align-items: center;
  min-height: 34px;
  width: 100%;
  box-sizing: border-box;
}

.team-name {
  background: var(--charcoal);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  min-height: 52px;
  width: 100%;
  box-sizing: border-box;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section {
  padding: var(--section-pad) 0;
  background: var(--white);
  overflow: hidden;
}

.process-header {
  margin: 0 auto 26px;
  max-width: 760px;
  text-align: center;
}

.process-header .section-kicker {
  color: var(--brand-red);
}

.process-header .section-h2 {
  font-size: clamp(36px, 4vw, 56px);
}

.process-intro {
  margin: 18px auto 0;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-500);
}

.process-track {
  position: relative;
  margin: 50px auto 0;
  max-width: 980px;
}

.process-line {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
  z-index: 0;
}

.process-dots-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.process-dot {
  display: flex;
  justify-content: center;
}

.process-dot::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gray-200);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gray-200);
  display: block;
  margin-top: 9px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.process-step {
  position: relative;
  min-height: 100%;
  padding: 34px 28px 28px;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff 0%, #f7f7f7 100%);
  box-shadow:
    0 2px 0px rgba(0,0,0,0.08),
    0 4px 0px rgba(0,0,0,0.05),
    0 6px 0px rgba(0,0,0,0.03),
    0 10px 30px rgba(0,0,0,0.08),
    0 20px 50px rgba(0,0,0,0.05);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.6) 0%, transparent 60%);
  pointer-events: none;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 0px rgba(0,0,0,0.08),
    0 4px 0px rgba(0,0,0,0.05),
    0 6px 0px rgba(0,0,0,0.03),
    0 18px 40px rgba(0,0,0,0.12),
    0 30px 60px rgba(0,0,0,0.08);
}

.step-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(206, 44, 49, 0.08);
  border-radius: 16px;
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-bg-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 78px;
  font-weight: 900;
  color: rgba(206, 44, 49, 0.16);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -3px;
}

.process-dot.is-active::before {
  background: var(--brand-red);
  box-shadow: 0 0 0 2px var(--brand-red);
}

.step-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  max-width: 220px;
}

.step-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.72;
  position: relative;
  z-index: 1;
}

/* ============================================================
   REVIEWS / TESTIMONIALS
   ============================================================ */
.reviews-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.review-card {
  border: 1px solid var(--gray-200);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
}

.review-left {
  padding: 40px 34px;
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.review-trust {
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1.45;
  letter-spacing: 1.8px;
  max-width: 190px;
}

.review-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
  background: var(--gray-200);
}

.review-avatar-placeholder {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #999;
  background: #ccc;
  filter: none;
}

.review-quote-mark {
  font-size: 62px;
  font-weight: 900;
  color: rgba(206, 44, 49, 0.3);
  line-height: 1;
  font-family: Georgia, serif;
  letter-spacing: -2px;
}

.review-right {
  padding: 42px 42px 38px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}

.review-text {
  font-size: clamp(20px, 2vw, 30px);
  color: var(--black);
  line-height: 1.55;
  margin-bottom: 0;
  font-weight: 400;
}

.review-author {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.review-author span {
  color: var(--brand-red);
  font-weight: 700;
}

.review-nav {
  display: flex;
  gap: 0;
  margin-top: 0;
  align-self: flex-start;
}

.review-btn {
  width: 54px;
  height: 54px;
  background: var(--brand-red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  transition: background 0.2s;
}

.review-btn:hover {
  background: var(--brand-red-dark);
}

.review-btn:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================
REVIEW STARS
========================================= */

.review-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 1 / -1;
  gap: 12px;
  margin-bottom: 0;
  padding: 18px 32px;
  border-bottom: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.82);
}

.review-stars {
  color: #f5a623;
  font-size: 16px;
  display: flex;
  gap: 4px;
  white-space: nowrap;
}

.review-score {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 600;
}

.review-right>div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.review-leave-cta-wrap {
  grid-column: 1 / -1;
  padding: 0 32px 28px;
  display: flex;
  justify-content: center;
}

.review-leave-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding-inline: 24px;
}

.review-leave-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f5a623;
  font-size: 14px;
  line-height: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.footer-inner p {
  margin: 0;
}

.footer-inner .social-icons {
  margin-top: 0;
  justify-content: center;
}

.footer-credit {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.footer-bg-img {
  position: absolute;
  inset: 0;
  background: url('/assets/img/showcase-deck.jpg') center / cover no-repeat;
  opacity: 0.08;
  z-index: 0;
}

.footer-upper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  min-height: 320px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta {
  padding: 70px 60px 70px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.footer-cta h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.footer-cta-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-red,
.btn-outline-dark,
.btn-outline-white,
.btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-button-gap);
  padding: var(--space-button-pad-y) var(--space-button-pad-x);
  border-radius: 0;
  border-width: 2px;
  border-style: solid;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.btn-red {
  background: var(--brand-red);
  color: var(--white);
  border-color: var(--brand-red);
}

.btn-red:hover {
  background: var(--brand-red-dark);
  border-color: var(--brand-red-dark);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black-border-soft);
}

.btn-outline-dark:hover {
  border-color: var(--black-border-strong);
  background: var(--black-surface-soft);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white-border-soft);
}

.btn-outline-white:hover {
  border-color: var(--white);
  background: var(--white-surface-soft);
}

.btn-tertiary {
  background: transparent;
  color: var(--gray-700);
  border-color: transparent;
  padding: 8px 0;
}

.btn-tertiary:hover {
  color: var(--brand-red);
}

.btn-red[disabled],
.btn-outline-dark[disabled],
.btn-outline-white[disabled],
.btn-tertiary[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

.footer-divider {
  background: var(--white-divider);
}

.footer-info {
  padding: 70px 0 70px 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-content: start;
}

.footer-info::before {
  content: "";
  grid-column: 1 / -1;
  width: 200px;
  height: 94px;
  background-image: url("/assets/img/branding/logo.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  display: block;
  opacity: 0.96;
  margin-bottom: 8px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col p,
.footer-col address {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  font-style: normal;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col .phone {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-top: 8px;
  display: block;
  white-space: nowrap;
}

.footer-callout {
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.social-icons {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(206, 44, 49, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  background: rgba(206, 44, 49, 0.08);
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: pointer;
}

.social-icon:hover {
  border-color: var(--brand-red);
  color: var(--white);
  background: var(--brand-red);
}

.footer-lower {
  position: relative;
  z-index: 1;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-lower-links {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 12px;
}

.footer-lower-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-lower-links a:hover {
  color: var(--white);
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-copyright a {
  color: var(--brand-red);
  font-weight: 600;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 95px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--brand-red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  border: none;
  box-shadow: 0 4px 20px var(--brand-red-shadow-legacy);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-red-dark);
  transform: translateY(-3px);
}

/* ============================================================
   PAGE HERO (for inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 42px);
  padding-bottom: 36px;
  background: var(--charcoal);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.62) 0%, rgba(8, 8, 8, 0.78) 100%);
}

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

.page-hero-about {
  background-image: url("/assets/img/project-1.jpg");
}

.page-hero-services {
  background-image: url("/assets/img/showcase-deck.jpg");
}

.page-hero-promotions {
  background-image: url("/assets/img/deck-cedar-omaha.jpg");
}

.page-hero-estimator-thank-you {
  background-image: url("/assets/img/project-2.jpg");
}

.page-hero-portfolio {
  background-image: url("/assets/img/project-2.jpg");
}

.page-hero-contact {
  background-image: url("/assets/img/project-3.jpg");
}

.page-hero-projects {
  background-image: url("/assets/img/project-2.jpg");
}

.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.74);
  margin: 10px auto 0;
  max-width: 680px;
}

.page-hero .section-kicker {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-hero-callout {
  margin-top: 22px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.25;
}

.contact-hero-phone {
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  margin-left: 10px;
}

.contact-hero-phone:hover {
  text-decoration: underline;
}

.section-header-centered {
  text-align: center;
  margin: 0 0 40px;
}

.section-header-centered-top-20 {
  margin: 20px 0 40px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-overview-section {
  padding: 0 0 var(--section-pad);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: var(--section-pad) 0;
}

.services-grid-no-top-pad {
  padding-top: 0;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 40px 32px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.service-card-icon-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--black);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-red);
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--brand-red);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.service-card .learn-more:hover {
  opacity: 0.7;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.portfolio-filter-section {
  padding: 50px 0 0;
}

.portfolio-filter-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery-filter-button {
  padding: 10px 24px;
  border: 1.5px solid var(--gray-200);
  background: transparent;
  color: var(--black);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-filter-button:hover {
  border-color: var(--black-border-strong);
  background: var(--black-surface-soft);
}

.gallery-filter-button.is-active {
  background: var(--brand-red);
  color: var(--white);
  border-color: var(--brand-red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: var(--section-pad) 0;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-200);
  position: relative;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item-gradient-1 {
  background: linear-gradient(135deg, #c8b090, #a89070);
}

.gallery-item-gradient-2 {
  background: linear-gradient(135deg, #909080, #787060);
}

.gallery-item-gradient-3 {
  background: linear-gradient(135deg, #b0a890, #908070);
}

.gallery-item-gradient-4 {
  background: linear-gradient(135deg, #889080, #687060);
}

.gallery-item-gradient-5 {
  background: linear-gradient(135deg, #c0a870, #a08850);
}

.gallery-item-gradient-6 {
  background: linear-gradient(135deg, #b8a888, #988868);
}

.gallery-item-gradient-7 {
  background: linear-gradient(135deg, #a0a898, #808878);
}

.gallery-item-gradient-8 {
  background: linear-gradient(135deg, #989088, #787068);
}

.gallery-item-gradient-9 {
  background: linear-gradient(135deg, #c8b898, #a89878);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: var(--brand-red-overlay-legacy);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: var(--white);
  font-size: 30px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
  padding: var(--section-pad) 0;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  height: 560px;
  display: block;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.12);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--brand-red);
  color: var(--white);
  padding: 24px 28px;
  text-align: center;
}

.page-breadcrumbs {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.page-breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  color: var(--gray-600);
}

.page-breadcrumbs a {
  color: var(--gray-700);
  text-decoration: none;
}

.page-breadcrumbs a:hover {
  color: var(--brand-red);
}

.about-badge .num {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.about-badge .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.about-stat-item {
  border-top: 3px solid var(--brand-red);
  padding-top: 16px;
}

.about-stat-item .num {
  font-size: 36px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.about-stat-item .lbl {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}

.about-stat-label-tight {
  margin-top: 0;
}

.about-stat-detail {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.about-text .section-h2+.section-body {
  margin-top: 24px;
  max-width: 100%;
}

.about-text .section-body+.section-body {
  margin-top: 16px;
  max-width: 100%;
}

.about-values-section {
  background: var(--gray-100);
  padding: var(--section-pad) 0;
}

.about-values-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-value-card {
  background: var(--white);
  padding: 40px 32px;
  border-top: 4px solid var(--brand-red);
}

.about-value-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
}

.about-value-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

.about-form-card-section .contact-form-wrap {
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 34px 30px !important;
  border-radius: 28px !important;
  border: 1px solid var(--gray-200) !important;
  background: var(--white) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08) !important;
}

@media (max-width: 1024px) {
  .about-form-card-section .contact-form-wrap {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .about-form-card-section .contact-form-wrap {
    border-radius: 22px !important;
    padding: 28px 22px !important;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: var(--section-pad) 0;
}

.contact-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 28px;
  padding: 34px 30px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.contact-form-wrap h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label,
.quote-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select,
.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  border-color: var(--brand-red);
}

.form-group textarea {
  height: 140px;
}

.form-honeypot,
.form-feedback[hidden],
.form-success[hidden] {
  display: none !important;
}

.form-feedback,
.form-success {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1.5px solid var(--gray-200);
  font-size: 14px;
  line-height: 1.6;
  border-radius: 18px;
}

.form-feedback {
  background: #fff7f5;
  border-color: #f5c2bc;
  color: #8b2a23;
}

.form-success {
  background: linear-gradient(135deg, #f3fff7 0%, #ebfff1 100%);
  border-color: #9ae6b4;
  color: #166534;
  box-shadow: 0 18px 36px rgba(22, 101, 52, 0.08);
}

.form-feedback p,
.form-success p {
  margin: 0;
}

.form-success strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 800;
  color: #14532d;
}

.form-submit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.form-submit-actions>* {
  flex: 1 1 220px;
}

.form-submit {
  margin-top: 0;
}

#contact-form select:invalid {
  color: var(--gray-500);
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-info-icon:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
}

.contact-info-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info-item p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-map-embed {
  margin-top: 30px;
  border: 0;
  border-radius: 8px;
}

.contact-project-map {
  margin-top: 30px;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.contact-project-map .project-map-leaflet {
  border-radius: 14px;
}

.contact-trust-section {
  background: var(--gray-100);
  padding: 60px 0;
  margin-top: var(--section-pad);
}

.contact-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.contact-trust-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--brand-red);
}

.contact-trust-label {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gray-500);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.section-kicker-centered {
  display: flex;
  justify-content: center;
}

.legal-section {
  background: var(--white);
  padding: 24px 0 var(--section-pad);
}

.legal-container {
  max-width: 960px;
}

.legal-meta {
  margin-bottom: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gray-500);
}

.legal-stack {
  display: grid;
  gap: 32px;
}

.legal-title {
  margin-bottom: 14px;
  font-size: 32px;
}

.legal-body {
  max-width: 100%;
}

.legal-body+.legal-body {
  margin-top: 16px;
}

.legal-list {
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--gray-500);
  font-size: 16px;
  line-height: 1.8;
}

.section-body-full {
  max-width: 100%;
}

.section-body-centered-wide {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-body-top-16 {
  margin-top: 16px;
}

.section-body-top-20 {
  margin-top: 20px;
}

.section-body-top-0 {
  margin-top: 0;
}

.section-body-bottom-44 {
  margin-bottom: 44px;
}

.section-h2-bottom-40 {
  margin-bottom: 40px;
}

.text-center {
  text-align: center;
}

.section-cta-center {
  margin-top: 40px;
  text-align: center;
}

.page-hero-actions-start-tight {
  justify-content: flex-start;
  margin-top: 28px;
}

.choose-right-full {
  max-width: 100%;
}

.team-intro-section {
  background: var(--white);
  padding: var(--section-pad) 0 20px;
}

.team-intro-content {
  text-align: center;
}

.team-intro-body {
  margin-top: 22px;
}

.page-cta-section {
  background: var(--charcoal);
  padding: 80px 0;
}

.page-cta-section-spaced {
  margin-top: var(--section-pad);
}

.page-cta-content {
  text-align: center;
}

.page-cta-kicker {
  color: rgba(255, 255, 255, 0.5);
}

.page-cta-title {
  margin-bottom: 24px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
}

.page-cta-title-compact {
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 48px);
}

.page-cta-body {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.page-cta-body-narrow {
  max-width: 520px;
}

.quote-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px) minmax(0, 520px);
  gap: 18px;
  align-items: start;
  padding: calc(var(--section-pad) - 36px) 0;
}

.quote-form-wrap {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.quote-form .form-row {
  margin-bottom: 10px;
}

.quote-form textarea {
  min-height: 140px;
  resize: vertical;
}

.quote-form .btn-red {
  border: none;
  cursor: pointer;
}

.choice-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 10px;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

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

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

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

.choice-card {
  display: block;
  cursor: pointer;
  position: relative;
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.choice-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 100%;
  padding: 14px 14px 13px;
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s;
}

.choice-card-content strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
}

.choice-card-content small {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-500);
}

.choice-card:hover .choice-card-content {
  border-color: rgba(206, 44, 49, 0.4);
  transform: translateY(-1px);
}

.choice-card input:focus+.choice-card-content {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(206, 44, 49, 0.12);
}

.choice-card input:checked+.choice-card-content {
  border-color: var(--brand-red);
  background: rgba(206, 44, 49, 0.04);
  box-shadow: 0 12px 28px rgba(206, 44, 49, 0.12);
}

.estimator-step[data-estimator-step="2"] {
  gap: 12px;
  padding: 24px 26px;
}

.estimator-step[data-estimator-step="2"] .estimator-step-header {
  gap: 4px;
}

.estimator-step[data-estimator-step="2"] .estimator-step-header h3 {
  font-size: clamp(24px, 2.4vw, 30px);
}

.estimator-step[data-estimator-step="2"] .estimator-grid {
  gap: 12px 18px;
}

.estimator-step[data-estimator-step="2"] .form-row {
  margin-bottom: 0;
}

.estimator-step[data-estimator-step="2"] .form-row label {
  margin-bottom: 6px;
}

.estimator-step[data-estimator-step="2"] input[type="number"],
.estimator-step[data-estimator-step="2"] select,
.estimator-step[data-estimator-step="2"] input[name="location"] {
  padding: 10px 14px;
  font-size: 14px;
}

.estimator-step[data-estimator-step="2"] select,
.estimator-step[data-estimator-step="2"] input[name="location"] {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  font-family: 'Archivo', sans-serif;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.estimator-step[data-estimator-step="2"] input[name="location"]:focus {
  border-color: var(--brand-red);
}

.estimator-step[data-estimator-step="2"] select {
  padding-right: 44px;
  border-radius: 12px;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gray-500) 50%),
    linear-gradient(135deg, var(--gray-500) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.estimator-step[data-estimator-step="2"] select:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(206, 44, 49, 0.12);
}

.estimator-step[data-estimator-step="2"] select:invalid {
  color: var(--gray-500);
}

.estimator-step[data-estimator-step="1"] select:invalid {
  color: var(--gray-500);
}

.estimator-step[data-estimator-step="2"] select option {
  color: var(--black);
}

.estimator-step[data-estimator-step="2"] textarea {
  min-height: 84px;
  padding: 10px 14px;
  font-size: 14px;
}

.estimator-step[data-estimator-step="2"] .estimator-actions {
  gap: 10px;
  margin-top: 2px;
}

.estimator-highlights {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.estimator-highlight {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.estimator-highlight span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(206, 44, 49, 0.1);
  color: var(--brand-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.estimator-highlight p,
.estimator-disclaimer,
.estimator-step-note,
.estimate-result-note,
.estimate-summary {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.estimator-disclaimer {
  margin-top: 12px;
  max-width: 560px;
}

@media (min-width: 769px) {
  body.home-page .quote-left .estimator-disclaimer {
    margin-top: 4px;
  }
}

.estimator-form {
  grid-column: 1 / -1;
}

.estimator-columns {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.estimator-columns.is-unlocked {
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
}

.estimator-stage {
  display: grid;
  align-items: start;
  height: 100%;
}

.estimator-blueprint {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.estimator-blueprint[hidden] {
  display: none !important;
}

.estimator-step {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
}

.estimator-step[hidden] {
  display: none !important;
}

.quote-form-wrap .form-feedback {
  grid-column: 1 / -1;
  margin-top: 0;
}

.estimator-step-header h3 {
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
}

.estimator-next {
  justify-self: center;
}

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

.estimator-blueprint-card {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(10, 25, 43, 0.96) 0%, rgba(7, 20, 36, 0.98) 100%),
    repeating-linear-gradient(0deg, rgba(110, 180, 255, 0.09) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(110, 180, 255, 0.08) 0 1px, transparent 1px 28px);
  border: 1px solid rgba(120, 190, 255, 0.16);
  box-shadow: 0 24px 48px rgba(5, 15, 26, 0.22);
}

.estimator-blueprint-card h3 {
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  max-width: 520px;
}

.estimator-blueprint-card .estimator-step-note {
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
}

.estimator-blueprint-art {
  position: relative;
  margin-top: 12px;
  height: 180px;
  border-radius: 18px;
  border: 1px solid rgba(128, 197, 255, 0.18);
  background:
    radial-gradient(circle at 50% 50%, rgba(35, 105, 184, 0.12), transparent 60%),
    repeating-linear-gradient(0deg, rgba(110, 180, 255, 0.12) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(110, 180, 255, 0.12) 0 1px, transparent 1px 22px);
  overflow: hidden;
}

.estimator-blueprint-reference {
  margin-top: 18px;
  flex: 1;
  min-height: 0;
  max-height: 310px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(128, 197, 255, 0.18);
  background: rgba(7, 20, 36, 0.35);
}

.estimator-blueprint-reference img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 14px;
  display: block;
}

.blueprint-outline,
.blueprint-node {
  position: absolute;
  display: block;
}

.blueprint-outline {
  border: 2px solid rgba(149, 215, 255, 0.85);
}

.blueprint-outline-main {
  top: 42px;
  left: 48px;
  width: 250px;
  height: 138px;
}

.blueprint-outline-rail {
  top: 58px;
  left: 66px;
  width: 214px;
  height: 102px;
}

.blueprint-outline-stairs {
  right: 62px;
  bottom: 44px;
  width: 72px;
  height: 54px;
  border-left: 0;
}

.blueprint-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #8ed8ff;
  box-shadow: 0 0 0 6px rgba(142, 216, 255, 0.12);
}

.blueprint-node-one {
  top: 36px;
  left: 42px;
}

.blueprint-node-two {
  top: 36px;
  left: 292px;
}

.blueprint-node-three {
  bottom: 38px;
  right: 56px;
}

.estimator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.estimate-result {
  margin-top: 0;
  height: 100%;
  padding: 30px;
  background: linear-gradient(135deg, #111111 0%, #212121 100%);
  color: var(--white);
  border-radius: 8px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
}

.estimate-result[hidden] {
  display: none !important;
}

.estimate-result-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.estimate-range {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-top: 12px;
}

.estimate-summary {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 18px;
}

.estimate-breakdown {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.estimate-breakdown-item {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.estimate-breakdown-item span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 8px;
}

.estimate-breakdown-item strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}

.estimate-result-note {
  color: rgba(255, 255, 255, 0.68);
  margin-top: 22px;
}

.estimate-result-success {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.estimate-result-success h4 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--white);
}

.estimate-result-success .estimate-result-note {
  margin-top: 0;
}

.estimator-actions-result {
  margin-top: 22px;
}

/* ============================================================
   PLACEHOLDER IMAGES
   ============================================================ */
.img-placeholder {
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.stack-grid-2,
.stack-grid-3,
.stack-grid-4 {
  width: 100%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1500px) and (min-width: 1025px) {
  .purpose-inner {
    gap: 84px;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  }

  .purpose-images .img-top {
    left: 56px;
  }

  .purpose-label-top {
    left: 82px;
  }

  .purpose-text {
    margin-left: 28px;
  }
}

@media (max-width: 1320px) {
  :root {
    --header-h: 104px;
  }

  .site-header .container {
    min-height: var(--header-h);
    padding-left: 24px;
    padding-right: 24px;
  }

  .header-inner {
    gap: 20px;
  }

  .nav-logo img {
    height: 84px;
  }

  .nav-links {
    gap: clamp(14px, 1.5vw, 22px);
  }

  .nav-links a {
    font-size: 13px;
    letter-spacing: 1.2px;
  }

  .nav-cta {
    margin-left: 16px;
  }

  .nav-phone {
    display: none;
  }

  .btn-pill {
    padding: 14px 22px;
    font-size: 14px;
  }

  .quote-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .quote-form-wrap {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .estimator-columns.is-unlocked {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  }

  .estimate-result {
    grid-column: 1;
    margin-top: 24px;
  }
}

@media (max-width: 1024px) {

  .hero-headline {
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.02;
  }

  .hero-content {
    max-width: 720px;
  }

  .purpose-inner,
  .choose-inner,
  .about-grid,
  .contact-grid,
  .quote-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .purpose-inner {
    gap: 36px;
  }

  .purpose-images {
    width: min(100%, 760px);
    height: 392px;
    margin: 0 auto;
  }

  .purpose-images .img-top {
    left: 42px;
    height: 286px;
  }

  .purpose-images .img-bottom {
    width: 76%;
    height: 222px;
  }

  .purpose-label {
    padding: 8px 13px;
    font-size: 10px;
  }

  .purpose-label-top {
    left: 58px;
  }

  .purpose-text {
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 30px 26px;
  }

  .purpose-text .section-h2 {
    font-size: clamp(28px, 4.6vw, 44px);
    line-height: 1.05;
    max-width: 11ch;
  }

  .purpose-text .section-body {
    max-width: 38rem;
  }

  .purpose-cta {
    margin-top: 28px;
    margin-left: 0;
  }

  .choose-inner {
    margin-top: 0;
    padding: 36px;
  }

  .founder-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  body.home-page .founder-inner {
    padding: 32px 24px;
    margin: 0 8px;
  }

  .founder-photo {
    height: clamp(320px, 68vw, 460px);
  }

  .quote-form-wrap {
    grid-column: auto;
  }

  .contact-form-wrap {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .estimator-columns,
  .estimator-columns.is-unlocked {
    grid-template-columns: 1fr;
  }

  .estimator-columns.is-unlocked > .estimator-step[data-estimator-step="1"] {
    display: none;
  }

  .estimator-stage {
    gap: 18px;
  }

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

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

  .estimator-grid,
  .estimate-breakdown {
    grid-template-columns: 1fr;
  }

  .stack-grid-3 {
    grid-template-columns: 1fr !important;
  }

  .stack-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

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

  .footer-upper {
    grid-template-columns: 1fr;
  }

  .footer-divider {
    display: none;
  }

  .footer-info {
    padding: 0 0 60px;
  }

  .footer-cta {
    padding: 60px 0;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 92px;
  }

  .site-header .container {
    min-height: var(--header-h);
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-inner {
    gap: 12px;
  }

  .nav-logo img {
    height: 68px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 11px;
    letter-spacing: 0.8px;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-cta {
    flex-wrap: wrap;
  }

  .choose-right:not(.choose-right-full) {
    display: none;
  }

  :root {
    --section-pad: var(--section-pad-mobile);
    --container-pad-x: 20px;
  }

  .purpose-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero {
    background-position: center center;
  }

  .page-hero::before {
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.28) 0%, rgba(8, 8, 8, 0.52) 100%);
  }

  .footer-bg-img {
    opacity: 0.22;
    background-position: center center;
  }

  .hero-headline {
    font-size: clamp(32px, 9.5vw, 50px);
    line-height: 1.04;
    letter-spacing: -0.5px;
  }

  .hero-headline-line {
    white-space: normal;
  }

  .hero-content {
    padding: 0 28px;
    max-width: 560px;
  }

  .hero-kicker {
    margin-bottom: 6px;
  }

  .hero-bg-word {
    margin-bottom: 6px;
  }

  body.home-page .hero-bg-word {
    overflow: hidden;
    padding-inline: 0;
    max-width: 100%;
  }

  .purpose-images {
    height: 332px;
  }

  .purpose-images .img-top {
    left: 36px;
    height: 242px;
  }

  .purpose-images .img-bottom {
    width: 78%;
    height: 182px;
  }

  .purpose-label-top {
    left: 52px;
  }

  .purpose-text {
    width: 100%;
    margin: 0;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .purpose-text .section-h2 {
    font-size: clamp(25px, 6.4vw, 34px);
    line-height: 1.02;
    max-width: none;
  }

  .purpose-text .section-body {
    max-width: none;
    font-size: 15px;
    line-height: 1.65;
  }

  .purpose-cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--header-h) + 10px);
    right: 18px;
    left: auto;
    background: transparent;
    max-height: calc(100vh - var(--header-h) - 18px);
    overflow-y: auto;
    padding: 0;
    gap: 12px;
    border-top: 0;
    z-index: 1002;
    align-items: flex-end;
  }

  .site-header.mobile-open .nav-links > a {
    display: grid;
    grid-template-columns: 46px 130px;
    align-items: center;
    justify-content: end;
    justify-items: start;
    gap: 12px;
    color: var(--white);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    width: 188px;
  }

  .site-header.mobile-open .nav-links .nav-link-label {
    display: inline;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    line-height: 1;
    order: 2;
  }

  .site-header.mobile-open .nav-links .nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--brand-red);
    color: var(--white);
    font-size: 17px;
    box-shadow: 0 10px 24px rgba(206, 44, 49, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.2);
    order: 1;
  }

  .site-header.mobile-open .nav-links > a.active .nav-link-label {
    color: var(--brand-red);
  }

  .site-header.mobile-open .nav-links > a.active .nav-link-icon {
    background: var(--brand-red-dark);
  }

  .site-header.mobile-open .services-submenu {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 188px;
    min-width: 0;
    margin: -4px 0 2px 0;
    padding: 8px;
    border-radius: 14px;
    background: rgba(14, 14, 14, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header.mobile-open .services-submenu.is-open {
    display: grid;
    gap: 4px;
  }

  .site-header.mobile-open .services-submenu a {
    padding: 9px 10px;
    font-size: 11px;
    letter-spacing: 0.9px;
  }

  .site-header.mobile-open .nav-cta {
    display: none !important;
  }

  .site-header.mobile-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.7);
    z-index: 1001;
  }

  .site-header.mobile-open .nav-toggle {
    position: relative;
    z-index: 1003;
  }

  .site-header.mobile-open .nav-links {
    z-index: 1002;
  }

  .video-band-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    padding: 32px 20px 40px;
  }

  .process-track {
    display: none;
  }

  .process-steps {
    counter-reset: process-step;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-step {
    counter-increment: process-step;
    padding: 30px 24px 24px;
  }

  .process-step::before {
    content: "Step " counter(process-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(206, 44, 49, 0.1);
    color: var(--brand-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .step-bg-num {
    top: 16px;
    right: 18px;
    font-size: 64px;
  }

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

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

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

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

  .review-rating {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .review-left {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }

  .review-right>div {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-leave-cta-wrap {
    padding: 0 24px 24px;
    justify-content: flex-start;
  }

  .footer-lower {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-info {
    grid-template-columns: 1fr;
  }

  .footer-info::before {
    width: 180px;
    height: 84px;
    margin-bottom: 8px;
  }

  .footer-cta-btns,
  .page-hero-actions {
    justify-content: center;
  }

  .footer-cta-btns>*,
  .page-hero-actions>* {
    width: min(100%, 320px);
    justify-content: center;
  }

  .quote-form-wrap,
  .estimator-columns {
    grid-template-columns: 1fr;
  }

  .estimator-stage {
    gap: 16px;
  }

  .estimator-step[data-estimator-step="2"] {
    gap: 10px;
    padding: 20px;
  }

  .estimator-step[data-estimator-step="2"] .estimator-grid {
    gap: 10px;
  }

  .estimator-step[data-estimator-step="2"] .form-row label {
    font-size: 13px;
    line-height: 1.35;
  }

  .estimator-step[data-estimator-step="2"] .estimator-actions,
  .estimator-actions-result {
    gap: 10px;
  }

  .estimator-step[data-estimator-step="2"] .estimator-actions > *,
  .estimator-actions-result > * {
    width: 100%;
    justify-content: center;
  }

  .choice-grid-2,
  .choice-grid-3,
  .choice-grid-4 {
    grid-template-columns: 1fr;
  }

  .stack-grid-2,
  .stack-grid-4 {
    grid-template-columns: 1fr !important;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .estimator-blueprint-art {
    height: 196px;
  }

  .estimator-step,
  .estimate-result {
    padding: 24px;
  }

  .choose-inner {
    padding: 26px;
  }

  .purpose-section {
    margin: -40px auto 0;
    width: calc(100% - 24px);
    border-radius: 24px;
    padding-top: 40px;
  }

  .purpose-text {
    padding: 28px 24px;
  }

  .hero {
    padding-bottom: 60px;
  }

  .estimate-result {
    grid-column: 1;
  }

  .call-float {
    display: flex;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad-x: 16px;
  }

  .purpose-inner {
    gap: 24px;
  }

  .purpose-section {
    margin: -14px auto 0;
  }

  .purpose-images {
    width: 100%;
    height: 300px;
  }

  .purpose-images .img-top {
    left: 20px;
    height: 214px;
  }

  .purpose-images .img-bottom {
    width: 80%;
    height: 164px;
  }

  .purpose-label-top {
    left: 34px;
  }

  .purpose-text {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .purpose-text .section-h2 {
    font-size: clamp(23px, 8vw, 30px);
    line-height: 1.01;
  }

  .purpose-text .section-body {
    font-size: 14px;
    line-height: 1.62;
  }

  .form-submit-actions>* {
    flex-basis: 100%;
  }

  .estimator-step[data-estimator-step="2"] {
    padding: 18px;
  }

  .estimate-result {
    padding: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 18px);
    padding-bottom: 44px;
  }

  .hero-content {
    padding: 0 20px;
    max-width: 100%;
  }

  .hero-kicker {
    font-size: 16px;
  }

  .hero-headline {
    font-size: clamp(28px, 11.5vw, 40px);
    line-height: 1.03;
  }

  .hero-bg-word {
    font-size: clamp(46px, 16.5vw, 72px);
    line-height: 0.96;
    letter-spacing: 1px;
    padding-inline: 0.04em;
    box-sizing: border-box;
  }

  .hero-small {
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 28px;
  }

  .page-hero h1 {
    font-size: clamp(26px, 8.2vw, 36px);
  }

  .page-hero p {
    font-size: 16px;
  }

  .page-hero-actions {
    gap: 12px;
    align-items: center;
  }

  .site-header.mobile-open .nav-links {
    right: 12px;
    top: calc(var(--header-h) + 8px);
    gap: 10px;
  }

  .site-header.mobile-open .nav-links > a {
    grid-template-columns: 42px 118px;
    width: 172px;
    gap: 10px;
  }

  .site-header.mobile-open .nav-links .nav-link-label {
    font-size: 13px;
    letter-spacing: 1.1px;
  }

  .site-header.mobile-open .nav-links .nav-link-icon {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }

  .about-badge {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .purpose-images .img-top,
  .purpose-label-top {
    animation: none;
  }

  .hero-bg-word {
    transition: none !important;
  }

  .hero-bg-word.is-exiting,
  .hero-bg-word.is-entering {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .portfolio-media-flip,
  .portfolio-overlay,
  .portfolio-img img,
  .team-card-flip {
    transition: none !important;
  }

  .portfolio-item.is-previewing .portfolio-media-flip,
  .portfolio-item:focus-within .portfolio-media-flip,
  .team-card:focus-within .team-card-flip,
  .team-card:hover .team-card-flip {
    transform: none !important;
  }
}

/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */

/* =========================================
   PORTFOLIO SHOWCASE
========================================= */

.portfolio-section {
  padding: 72px 0 100px;
  background: #f9f8f7;
}

.portfolio-section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gray-200) 20%, var(--gray-200) 80%, transparent 100%);
  margin-bottom: 40px;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 60px;
}

.portfolio-section .portfolio-header {
  display: block;
  margin-bottom: 48px;
}

.estimate-expert-cta {
  text-align: center;
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 12px;
  margin-bottom: 0;
}

@media (min-width: 769px) {
  body.home-page .quote-left .estimate-expert-cta {
    transform: translateY(4px);
  }
}

.estimate-expert-pretext {
  display: block;
  margin-bottom: 10px;
}

.estimate-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.estimate-call-label {
  display: inline;
}

.estimate-call-number {
  display: none;
  font-weight: 700;
  letter-spacing: 0;
}

.estimate-call-btn.show-number .estimate-call-label {
  display: none;
}

.estimate-call-btn.show-number .estimate-call-number {
  display: inline;
}

.estimate-call-btn:hover {
  opacity: 0.92;
}

@media (max-width: 768px) {
  .estimate-call-btn.show-number .estimate-call-number {
    display: none;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  perspective: 1200px;
}

.portfolio-media-flip {
  position: absolute;
  inset: 0;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

.portfolio-media-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.portfolio-media-face-back {
  transform: rotateY(180deg);
}

.portfolio-img,
.portfolio-video {
  width: 100%;
  height: 100%;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.portfolio-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
  pointer-events: none;
}

/* Overlay */

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, .7),
      rgba(0, 0, 0, .1));
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .35s ease;
}

body.home-page .portfolio-item.is-previewing .portfolio-media-flip {
  transform: rotateY(180deg);
}

body.home-page .portfolio-item.is-previewing .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item:focus-within .portfolio-media-flip {
  transform: rotateY(180deg);
}

.portfolio-item:focus-within .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) {
  .portfolio-item:hover .portfolio-media-flip {
    transform: rotateY(180deg);
  }

  .portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-overlay h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.portfolio-overlay p {
  margin: 4px 0 0;
  font-size: 14px;
  opacity: .8;
}

/* Grid hierarchy */

.portfolio-large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-medium {
  grid-row: span 2;
}

.portfolio-small {
  grid-row: span 1;
}

/* Mobile */

@media (max-width: 900px) {

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .portfolio-large,
  .portfolio-medium,
  .portfolio-small {
    grid-column: auto;
    grid-row: auto;
  }

}

/* =========================================
FLOATING CALL BUTTON
========================================= */

.call-float {
  position: fixed;
  bottom: 20px;
  right: 30px;
  width: 50px;
  height: 50px;
  padding: 0 14px;
  background: var(--brand-red);
  color: var(--white);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}

.call-float-icon {
  width: 50px;
  min-width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.call-float-number {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  margin-left: 0;
  transition: max-width .2s ease, opacity .2s ease, margin-left .2s ease;
}

.call-float.is-expanded {
  width: auto;
}

.call-float.is-expanded .call-float-number {
  max-width: 170px;
  opacity: 1;
  margin-left: 2px;
}

.call-float.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.call-float:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

@media (max-width: 920px) {
  .call-float.is-expanded .call-float-number {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
  }

  .site-footer {
    padding-bottom: 80px;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 92px;
  }
}

/* ============================================================
SECTION ELEVATION (Premium Visual Layering)
============================================================ */

.founder-section,
.process-section,
.reviews-section,
.service-area-section,
.quote-section {
  position: relative;
  z-index: 2;
  background: #ffffff;
  box-shadow: none;
}

/* ============================================================
   HOMEPAGE POLISH FIXES
   ============================================================ */
body.home-page .hero-bg-word {
  overflow: visible;
  padding-inline: 0.08em;
  margin-inline: 0;
  box-sizing: border-box;
}

body.home-page .portfolio-item .portfolio-img {
  height: 100%;
}

body.home-page .portfolio-item:hover .portfolio-img img,
body.home-page .portfolio-item:focus-within .portfolio-img img {
  transform: none;
}

@media (min-width: 769px) {
  body.home-page .hero {
    min-height: calc(100vh - 24px);
    position: relative;
    z-index: 1;
  }

  body.home-page .hero-headline {
    font-size: clamp(40px, 4.8vw, 92px);
  }

  body.home-page .hero-bg-word {
    font-size: clamp(62px, 9.6vw, 124px);
    margin-bottom: 6px;
  }

  body.home-page .purpose-section {
    background: #f0eeeb;
    width: auto;
    max-width: none;
    margin: -40px auto 0;
    border-radius: 0;
    box-shadow: none;
    padding: 20px 0 0;
    position: relative;
    z-index: 3;
  }

  body.home-page .purpose-inner {
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 -6px 32px rgba(0, 0, 0, 0.14), 0 28px 60px rgba(0, 0, 0, 0.12);
    padding: 56px 36px 36px;
    gap: 60px;
    margin-top: -50px;
    transform: none;
  }

  body.home-page .choose-section {
    background: #d7d7d7;
    padding-top: 20px;
    padding-bottom: 28px;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
  }

  body.home-page .purpose-section .container,
  body.home-page .choose-section .container {
    max-width: 1560px;
    padding-left: 14px;
    padding-right: 14px;
  }

  body.home-page .video-band {
    margin-top: 0;
    position: relative;
    z-index: 1;
  }

  body.home-page .portfolio-section {
    padding-bottom: 100px;
    overflow: visible;
  }

  body.home-page .founder-section {
    margin-top: 0;
    margin-bottom: 0;
    z-index: 3;
    overflow: visible;
  }

  body.home-page .founder-inner {
    position: relative;
    z-index: 10;
    margin: -60px 14px -60px;
  }

  body.home-page .choose-inner {
    position: relative;
    z-index: 10;
    transform: none;
    margin: -60px 0 -60px;
  }

  body.home-page .founder-photo {
    height: 460px !important;
    max-height: 460px !important;
  }

  body.home-page .founder-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

@media (max-width: 768px) {
  body.home-page .purpose-section {
    margin-top: 0 !important;
  }

  body.home-page .purpose-inner {
    margin-top: 0 !important;
    transform: none !important;
  }

  body.home-page .choose-section {
    margin-bottom: 0 !important;
  }

  body.home-page .video-band {
    margin-top: 0 !important;
    min-height: 460px;
  }

  body.home-page .choose-inner {
    transform: none !important;
    margin: 0 !important;
  }

  body.home-page .hero-bg-word {
    display: block;
    max-width: 100%;
    overflow: hidden;
    padding-inline: 0;
  }

  body.home-page .hero {
    padding-bottom: 60px;
  }

  body.home-page .founder-photo {
    height: 340px !important;
    max-height: 340px !important;
  }

  body.home-page .founder-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .video-band {
    min-height: 380px;
  }

  .hero-cta {
    flex-wrap: wrap;
  }

  .site-footer {
    padding-bottom: 88px;
  }
}

