/* ==========================================================
   WeFrameIT - Premium Design System
   Steel Framing & Transportable Chassis Solutions
   ========================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

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

img {
  height: auto;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------
   CUSTOM PROPERTIES
   -------------------------------------------------------- */
:root {
  /* Palette */
  --white: #ffffff;
  --black: #272624;
  --accent: #318959;
  --accent-rgb: 49, 137, 89;
  --accent-light: #32cc2d;
  --accent-light-rgb: 50, 204, 45;
  --accent-dark: #7c7c7c;
  --accent-dark-rgb: 124, 124, 124;
  --steel-grad: linear-gradient(135deg, #318959 0%, #32cc2d 100%);
  --steel-grad-hover: linear-gradient(135deg, #3a9964 0%, #4bd847 100%);
  --steel-grad-h: linear-gradient(90deg, #318959, #32cc2d, #318959);

  /* Surfaces */
  --sf-light: #ffffff;
  --sf-off: #f7f7f5;
  --sf-dark: #3a3937;
  --sf-darker: #2b2a28;
  --card-bg: rgba(var(--accent-rgb), 0.07);
  --card-bd: rgba(var(--accent-dark-rgb), 0.24);
  --card-d-bg: rgba(255, 255, 255, 0.04);
  --card-d-bd: rgba(255, 255, 255, 0.09);

  /* Typography */
  --ff-title: 'neue-haas-grotesk-display', sans-serif;
  --ff-h: 'Rajdhani', sans-serif;
  --ff-b: 'Inter', sans-serif;

  --fs-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  --fs-sm: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --fs-base: clamp(0.92rem, 0.87rem + 0.22vw, 1.02rem);
  --fs-md: clamp(1.02rem, 0.93rem + 0.42vw, 1.2rem);
  --fs-lg: clamp(1.1rem, 0.96rem + 0.7vw, 1.42rem);
  --fs-xl: clamp(1.3rem, 1.06rem + 1.2vw, 1.82rem);
  --fs-2xl: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  --fs-3xl: clamp(2rem, 1.4rem + 3vw, 3.8rem);
  --fs-hero: clamp(2.5rem, 1.2rem + 5.8vw, 5.6rem);

  /* Layout */
  --gutter: clamp(1.25rem, 0.9rem + 1.6vw, 3rem);
  --container: 1340px;
  --nav-h: 80px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-s: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.7s;
  --dur-f: 0.35s;

  /* Radius */
  --r: 10px;
  --r-lg: 16px;
}

/* --------------------------------------------------------
   BASE
   -------------------------------------------------------- */
body {
  font-family: var(--ff-b);
  font-size: var(--fs-base);
  line-height: 1.72;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: var(--sf-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

/* --------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--ff-title);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-hero);
  font-weight: 500;
}

h2 {
  font-size: var(--fs-3xl);
}

h3 {
  font-size: var(--fs-xl);
  line-height: 1.25;
}

p {
  max-width: 68ch;
}

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

/* --------------------------------------------------------
   BUTTONS
   -------------------------------------------------------- */
.btn {
  --btn-border-width: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.92rem 2.2rem;
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 60px;
  border: var(--btn-border-width) solid transparent;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition:
    transform var(--dur-f) var(--ease),
    box-shadow var(--dur-f) var(--ease),
    border-color var(--dur-f) var(--ease),
    background var(--dur-f) var(--ease);
  isolation: isolate;
  z-index: 1;
}

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

.btn-primary::before,
.btn-primary::after {
  content: '';
  position: absolute;
  inset: calc(-1 * var(--btn-border-width));
  border-radius: inherit;
  transition: opacity var(--dur-f) var(--ease);
  pointer-events: none;
  z-index: -1;
}

.btn-primary::before {
  background: var(--steel-grad);
  opacity: 1;
}

.btn-primary::after {
  background: var(--steel-grad-hover);
  opacity: 0;
}

.btn-primary:hover::after,
.btn-primary.is-hovered::after {
  opacity: 1;
}

.btn-primary:hover,
.btn-primary.is-hovered {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--accent-light-rgb), 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.6rem 1.5rem;
  font-size: var(--fs-xs);
}

/* Section-light button outlines */
.section-light .btn-outline {
  color: var(--black);
  border-color: var(--card-bd);
}

.section-light .btn-outline:hover {
  border-color: var(--accent);
  background: var(--card-bg);
}

/* --------------------------------------------------------
   HEADER / NAVIGATION
   -------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  transition: height var(--dur-f) var(--ease);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(48, 47, 45, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s var(--ease);
}

.site-header.scrolled::before {
  background: rgba(48, 47, 45, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  position: relative;
  z-index: 2;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 10;
  flex-shrink: 0;
  height: clamp(55px, 4.8vw, 70px);
}

.brand img {
  display: block;
  width: auto;
  height: 100%;
  max-width: calc(100vw - 104px);
  object-fit: contain;
  filter: none;
  transform: none;
  transition:
    opacity var(--dur-f) var(--ease),
    transform var(--dur-f) var(--ease);
}

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-family: var(--ff-b);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.015em;
  white-space: nowrap;
  position: relative;
  transition: color var(--dur-f) var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--steel-grad);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-f) var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .btn {
  margin-left: 0.6rem;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  position: absolute;
  left: 0;
  border-radius: 2px;
  transition: all var(--dur-f) var(--ease);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

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

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

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

/* --------------------------------------------------------
   HERO
   -------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 4rem) var(--gutter) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.page-hero {
  min-height: 72vh;
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #343331 0%,
    rgba(23, 23, 23, 0.9) 30%,
    rgba(23, 23, 23, 0.62) 65%,
    rgba(23, 23, 23, 0.38) 100%
  );
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-home {
  align-items: center;
  justify-content: center;
  min-height: 90svh;
  min-height: 90dvh;
  padding:
    calc(var(--nav-h) + clamp(0.3rem, 0.8vh, 0.7rem))
    var(--gutter)
    clamp(0.2rem, 0.5vh, 0.5rem);
}

.hero-home::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -16%;
  width: clamp(260px, 30vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-light-rgb), 0.26), rgba(var(--accent-light-rgb), 0) 72%);
  filter: blur(10px);
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.hero-home + .angle-divider {
  margin-top: clamp(-42px, -4.4vw, -24px);
}

.hero-home .hero-overlay {
  background:
    linear-gradient(102deg, rgba(9, 14, 18, 0.94) 0%, rgba(9, 14, 18, 0.86) 34%, rgba(9, 14, 18, 0.68) 64%, rgba(9, 14, 18, 0.9) 100%),
    linear-gradient(to top, rgba(9, 14, 18, 0.96) 0%, rgba(9, 14, 18, 0.4) 46%, rgba(9, 14, 18, 0.74) 100%);
}

.hero-content-home {
  width: min(1120px, 100%);
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.25rem, 0.55vh, 0.55rem);
  justify-items: center;
  text-align: center;
}

.hero-home-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
}

/* Eyebrow */
.eyebrow {
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--accent-light);
  flex-shrink: 0;
  border-radius: 2px;
}

.hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.62rem 1rem;
  border: 1px solid rgba(var(--accent-light-rgb), 0.34);
  border-radius: 999px;
  background: rgba(10, 18, 26, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  color: var(--accent-light);
}

.hero .eyebrow::before {
  background: var(--accent-light);
}

.hero-home .eyebrow {
  margin-bottom: clamp(0.55rem, 1vh, 0.9rem);
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.3rem;
  max-width: 16ch;
}

.hero-title-home {
  max-width: none;
  margin-bottom: clamp(0.3rem, 0.6vw, 0.6rem);
  font-size: clamp(3.2rem, min(9vw, 11.5vh), 8rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-align: center;
}

.hero-title-home > span {
  display: block;
}

.hero-title-mark {
  display: inline;
  color: var(--accent-light);
}

.hero-copy {
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--fs-base);
  line-height: 1.75;
  max-width: 56ch;
  margin-bottom: 2.2rem;
}

.hero-home .hero-copy {
  max-width: 24ch;
  font-size: clamp(0.9rem, 0.88rem + 0.2vw, 1rem);
  line-height: 1.34;
  margin-bottom: clamp(0.45rem, 0.7vh, 0.7rem);
  color: rgba(255, 255, 255, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.6rem, 1.2vh, 0.8rem);
}

.hero-home .hero-actions {
  justify-content: center;
}

.hero-video-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-video-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-video-card {
  position: relative;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 14, 18, 0.84), rgba(8, 14, 18, 0.62)),
    rgba(8, 14, 18, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.hero-video-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(var(--accent-light-rgb), 0.82), rgba(var(--accent-light-rgb), 0.18), rgba(var(--accent-light-rgb), 0.82));
}

.hero-video-card p {
  max-width: none;
}

.hero-video-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}

.hero-video-kicker {
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero-video-title {
  font-family: var(--ff-title);
  font-size: clamp(1.18rem, 1rem + 0.72vw, 1.7rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #353432;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.hero-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero-video-notes {
  margin-top: 0.95rem;
}

.hero-video-notes span {
  min-height: 34px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------
   ANGLE DIVIDERS (curved SVG-style section breaks)
   -------------------------------------------------------- */
.angle-divider {
  --divider-trace-y: 38%;
  --divider-trace-line-w: 92%;
  --divider-dot-start: 4%;
  --divider-dot-end: 96%;
  position: relative;
  height: clamp(50px, 7vw, 100px);
  background: var(--white);
  overflow: hidden;
  z-index: 2;
}

.angle-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(var(--accent-light-rgb), 0.22) 0, rgba(var(--accent-light-rgb), 0.08) 40%, rgba(var(--accent-light-rgb), 0) 76%) no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98) 24%, rgba(var(--accent-light-rgb), 0.96) 50%, rgba(255, 255, 255, 0.98) 76%, rgba(255, 255, 255, 0)) no-repeat,
    linear-gradient(90deg, rgba(var(--accent-light-rgb), 0), rgba(var(--accent-light-rgb), 0.1) 8%, rgba(var(--accent-light-rgb), 0.16) 50%, rgba(var(--accent-light-rgb), 0.1) 92%, rgba(var(--accent-light-rgb), 0)) no-repeat,
    var(--sf-dark);
  background-size:
    82px 52px,
    22px 2px,
    var(--divider-trace-line-w) 1px,
    auto;
  background-position:
    var(--divider-dot-start) var(--divider-trace-y),
    var(--divider-dot-start) var(--divider-trace-y),
    50% var(--divider-trace-y),
    0 0;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 36%,
    93% 36%,
    89% 42%,
    85% 52%,
    81% 63%,
    76% 72%,
    24% 72%,
    19% 63%,
    15% 52%,
    11% 42%,
    7% 36%,
    0 36%
  );
  animation: divider-trace 7.2s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

/* Accent variant adds a steel gradient glow along the curve */
.angle-divider-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--steel-grad);
  clip-path: polygon(
    0 0,
    100% 0,
    100% 36%,
    93% 36%,
    89% 42%,
    85% 52%,
    81% 63%,
    76% 72%,
    24% 72%,
    19% 63%,
    15% 52%,
    11% 42%,
    7% 36%,
    0 36%
  );
  opacity: 0.1;
}

@keyframes divider-trace {
  0%,
  100% {
    background-position:
      var(--divider-dot-start) var(--divider-trace-y),
      var(--divider-dot-start) var(--divider-trace-y),
      50% var(--divider-trace-y),
      0 0;
  }

  50% {
    background-position:
      var(--divider-dot-end) var(--divider-trace-y),
      var(--divider-dot-end) var(--divider-trace-y),
      50% var(--divider-trace-y),
      0 0;
  }
}

/* --------------------------------------------------------
   SECTIONS
   -------------------------------------------------------- */
.section {
  position: relative;
  padding: clamp(2.1rem, 4.35vw, 3.85rem) 0;
}

.section-light {
  background: var(--white);
  color: var(--black);
}

#services {
  padding-top: clamp(1.9rem, 3.3vw, 3.1rem);
  padding-bottom: clamp(2rem, 3.1vw, 3rem);
}

#services .container {
  overflow: visible;
}

#services .section-head {
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}

.section-dark {
  background: var(--sf-dark);
  color: rgba(255, 255, 255, 0.78);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

/* Subtle separator between consecutive light sections */
.section-light + .section-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(88%, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(101, 113, 118, 0.14), transparent);
}

/* --------------------------------------------------------
   SECTION HEAD
   -------------------------------------------------------- */
.section-head {
  text-align: left;
  max-width: 740px;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.section-head .eyebrow {
  justify-content: flex-start;
}

.section-title {
  margin-bottom: 1rem;
}

.section-copy {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.75;
  opacity: 0.82;
}

.section-light .eyebrow {
  color: var(--accent-light);
}

.section-dark .eyebrow {
  color: var(--accent-light);
}

.text-nowrap {
  white-space: nowrap;
}

/* --------------------------------------------------------
   ENGINEERING CONFIDENCE
   -------------------------------------------------------- */
.engineering-confidence .container {
  position: relative;
}

.confidence-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.confidence-lead {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border: 1px solid var(--card-bd);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(var(--accent-light-rgb), 0.09), rgba(var(--accent-light-rgb), 0.025)),
    linear-gradient(90deg, rgba(var(--accent-light-rgb), 0.06) 1px, transparent 1px),
    linear-gradient(rgba(var(--accent-light-rgb), 0.06) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  background-position: 0 0, -1px -1px, -1px -1px;
  overflow: hidden;
}

.confidence-lead::after {
  content: '';
  position: absolute;
  inset: auto -18% -28% auto;
  width: clamp(180px, 24vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-light-rgb), 0.18), rgba(var(--accent-light-rgb), 0));
  pointer-events: none;
}

.confidence-lead .section-head,
.confidence-lead .section-copy {
  margin-left: 0;
}

.confidence-lead .section-title,
.confidence-lead .section-copy {
  max-width: 20ch;
}

.confidence-lead .eyebrow {
  justify-content: flex-start;
}

.confidence-lead .section-title {
  margin-bottom: 1rem;
}

.confidence-lead .section-copy {
  margin: 0;
}

.confidence-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(1.4rem, 3vw, 2rem);
}

.confidence-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(var(--accent-light-rgb), 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.confidence-metrics {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.confidence-video-card {
  min-height: 100%;
}

.confidence-video-card .section-video-title {
  max-width: 14ch;
}

.confidence-video-card .section-video-copy {
  max-width: none;
}

.confidence-video-card-full {
  width: 100%;
}

.confidence-video-card-full .section-video-head,
.confidence-video-card-full .section-video-notes {
  justify-content: flex-start;
  text-align: left;
}

.confidence-video-card-full .section-video-title {
  max-width: none;
}

.confidence-video-card-full .section-video-frame {
  aspect-ratio: 16 / 7.4;
}

.confidence-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-height: 100%;
  padding: clamp(1.5rem, 2.8vw, 2rem);
  border: 1px solid var(--card-bd);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(var(--accent-light-rgb), 0.03)),
    var(--white);
  box-shadow: 0 18px 40px rgba(var(--accent-light-rgb), 0.07);
  overflow: hidden;
  transition:
    transform var(--dur-f) var(--ease),
    box-shadow var(--dur-f) var(--ease),
    border-color var(--dur-f) var(--ease);
}

.confidence-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(var(--accent-light-rgb), 0.7), rgba(var(--accent-light-rgb), 0.08));
}

.confidence-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(var(--accent-light-rgb), 0.1);
  border-color: rgba(var(--accent-light-rgb), 0.28);
}

.confidence-card-primary,
.confidence-card-wide {
  display: flex;
  flex-direction: column;
}

.confidence-card-primary {
  grid-column: auto;
}

.confidence-card-wide {
  grid-column: auto;
}

.confidence-card-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(var(--accent-light-rgb), 0.03)),
    var(--white);
}

.confidence-stat {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.confidence-value {
  font-family: var(--ff-h);
  font-size: clamp(1.45rem, 1.05rem + 1vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.confidence-card h3 {
  font-size: clamp(1.45rem, 1.1rem + 0.8vw, 2rem);
  line-height: 1.05;
}

.confidence-card p {
  margin: 0;
  max-width: none;
  color: rgba(31, 31, 31, 0.76);
  font-size: var(--fs-base);
  line-height: 1.72;
}

.confidence-card .confidence-value + h3 {
  margin-bottom: 0;
}

.confidence-card .card-icon {
  margin-bottom: 0.2rem;
}

/* --------------------------------------------------------
   COST SAVING BENEFITS
   -------------------------------------------------------- */
.cost-benefits .container {
  position: relative;
}

.benefits-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(1rem, 2vw, 1.45rem);
  align-items: start;
  padding: clamp(1.1rem, 2vw, 1.45rem);
  border: 1px solid rgba(var(--accent-light-rgb), 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(var(--accent-light-rgb), 0.04)),
    var(--white);
  box-shadow: 0 20px 46px rgba(var(--accent-light-rgb), 0.08);
}

.benefits-copy {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 100%;
  padding: clamp(0.2rem, 0.8vw, 0.55rem) clamp(1rem, 2vw, 1.45rem) clamp(0.2rem, 0.8vw, 0.55rem) 0;
  border-right: 1px solid rgba(var(--accent-light-rgb), 0.12);
}

.benefits-copy .eyebrow {
  justify-content: flex-start;
}

.benefits-copy .section-title {
  margin-bottom: 0.35rem;
}

.benefits-copy .section-title,
.benefits-copy .section-copy {
  max-width: none;
}

.benefits-copy .section-copy {
  margin: 0;
  max-width: 34ch;
}

.benefits-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(0.8rem, 1.5vw, 1rem);
  align-items: stretch;
}

.benefit-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.5rem;
  min-height: 100%;
  padding: clamp(0.95rem, 1.7vw, 1.15rem);
  border: 1px solid var(--card-bd);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(var(--accent-light-rgb), 0.035)),
    var(--white);
  box-shadow: 0 14px 30px rgba(var(--accent-light-rgb), 0.05);
  transition:
    transform var(--dur-f) var(--ease),
    box-shadow var(--dur-f) var(--ease),
    border-color var(--dur-f) var(--ease);
}

.benefit-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--accent-light-rgb), 0.7), rgba(var(--accent-light-rgb), 0.08));
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(var(--accent-light-rgb), 0.1);
  border-color: rgba(var(--accent-light-rgb), 0.24);
}

.benefit-number {
  margin: 0;
  font-family: var(--ff-h);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.benefit-card p:last-child {
  margin: 0;
  max-width: none;
  color: rgba(31, 31, 31, 0.8);
  font-size: var(--fs-base);
  line-height: 1.6;
}

/* --------------------------------------------------------
   GRID SYSTEM
   -------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

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

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

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

/* End-of-section CTA row */
.section-cta {
  margin-top: clamp(2rem, 3.8vw, 3.2rem);
  padding-top: clamp(0.15rem, 0.6vw, 0.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.7rem, 1.4vw, 1rem);
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.section-cta-roomy {
  margin-top: clamp(2.9rem, 5vw, 4.3rem);
  padding-top: clamp(0.4rem, 0.9vw, 0.8rem);
}

.section-tail-cta {
  --tail-cta-gap: clamp(3.2rem, 5.4vw, 4.9rem);
  padding-bottom: var(--tail-cta-gap);
}

.section-tail-cta .section-cta,
.section-tail-cta .section-cta-roomy {
  margin-top: var(--tail-cta-gap);
  padding-top: 0;
}

body[data-page="frames"] .section-tail-cta .section-cta,
body[data-page="frames"] .section-tail-cta .section-cta-roomy,
body[data-page="trusses"] .section-tail-cta .section-cta,
body[data-page="trusses"] .section-tail-cta .section-cta-roomy,
body[data-page="engineering"] .section-tail-cta .section-cta,
body[data-page="engineering"] .section-tail-cta .section-cta-roomy,
body[data-page="flooring-systems"] .section-tail-cta .section-cta,
body[data-page="flooring-systems"] .section-tail-cta .section-cta-roomy,
body[data-page="gallery"] .section-tail-cta .section-cta,
body[data-page="gallery"] .section-tail-cta .section-cta-roomy {
  justify-content: flex-start;
}

/* Defensive: if a CTA wrapper is placed inside a grid, force full-width row */
.grid > .section-cta,
.process-grid > .section-cta,
.icon-grid > .section-cta {
  grid-column: 1 / -1;
  margin-top: clamp(2rem, 3.8vw, 3.2rem);
  padding-top: clamp(0.15rem, 0.6vw, 0.5rem);
}

/* --------------------------------------------------------
   CARDS
   -------------------------------------------------------- */
.card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--card-bd);
  background: var(--card-bg);
  transition:
    transform var(--dur-f) var(--ease),
    box-shadow var(--dur-f) var(--ease),
    border-color var(--dur-f) var(--ease);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border: 1px solid rgba(var(--accent-light-rgb), 0.18);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(var(--accent-light-rgb), 0.16), rgba(var(--accent-light-rgb), 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
  color: var(--accent);
  box-shadow:
    0 14px 34px rgba(var(--accent-light-rgb), 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.card-icon svg,
.icon-badge svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-dark .card-icon {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(var(--accent-light-rgb), 0.24), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.02);
  color: var(--accent-light);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: var(--fs-lg);
}

.card p {
  opacity: 0.82;
  font-size: var(--fs-base);
  line-height: 1.72;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(101, 113, 118, 0.08);
  border-color: var(--accent-light);
}

/* Dark variant */
.card-dark {
  background: var(--card-d-bg);
  border-color: var(--card-d-bd);
}

.card-dark h3 {
  color: var(--white);
}

.card-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.card-dark:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Metric cards */
.metric-value {
  font-family: var(--ff-h);
  font-size: var(--fs-2xl);
  font-weight: 800;
  background: var(--steel-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
  line-height: 1.1;
}

/* Service cards (link cards) */
.service-card {
  --service-pad: clamp(1.6rem, 3vw, 2.4rem);
  display: block;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--accent);
}

.service-card:hover .service-media img {
  transform: scale(1.06);
}

.service-card:hover .service-media-placeholder::after {
  opacity: 1;
}

.service-card:hover .service-index {
  transform: translateX(4px);
}

.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  margin:
    calc(var(--service-pad) * -1)
    calc(var(--service-pad) * -1)
    1.2rem;
  border-bottom: 1px solid rgba(var(--accent-light-rgb), 0.12);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(var(--accent-light-rgb), 0.14), rgba(var(--accent-light-rgb), 0.03));
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s var(--ease);
}

.service-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 26, 0.08), rgba(10, 18, 26, 0.34));
  z-index: 1;
  pointer-events: none;
}

.service-media-placeholder {
  display: flex;
  align-items: flex-end;
  padding: 1.1rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(var(--accent-light-rgb), 0.18)),
    radial-gradient(circle at top right, rgba(var(--accent-light-rgb), 0.24), rgba(var(--accent-light-rgb), 0));
}

.service-media-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--accent-light-rgb), 0.18) 1px, transparent 1px),
    linear-gradient(rgba(var(--accent-light-rgb), 0.18) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.82;
  transition: opacity var(--dur-f) var(--ease);
}

.service-media-placeholder span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(var(--accent-light-rgb), 0.24);
  border-radius: 999px;
  background: rgba(10, 18, 26, 0.58);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-media-structural {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(var(--accent-light-rgb), 0.16)),
    radial-gradient(circle at 20% 80%, rgba(var(--accent-light-rgb), 0.18), rgba(var(--accent-light-rgb), 0));
}

.service-media-commercial {
  background:
    linear-gradient(135deg, rgba(var(--accent-light-rgb), 0.22), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 78% 24%, rgba(var(--accent-light-rgb), 0.14), rgba(var(--accent-light-rgb), 0));
}

.service-media-flooring {
  background:
    linear-gradient(135deg, rgba(var(--accent-light-rgb), 0.14), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 50% 100%, rgba(var(--accent-light-rgb), 0.22), rgba(var(--accent-light-rgb), 0));
}

.service-index {
  font-family: var(--ff-h);
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1;
  background: var(--steel-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  transition: transform var(--dur-f) var(--ease);
}

/* Services carousel */
.services-carousel {
  --services-gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: 0;
  padding-bottom: 0.45rem;
  overflow: visible;
}

.services-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(0.8rem, 1.6vw, 1.05rem);
}

.services-carousel-summary {
  margin: 0;
  color: rgba(31, 31, 31, 0.72);
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.services-carousel-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(var(--accent-light-rgb), 0.18);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(var(--accent-light-rgb), 0.08)),
    var(--white);
  color: var(--accent-dark);
  box-shadow: 0 14px 30px rgba(var(--accent-light-rgb), 0.08);
  cursor: pointer;
  transition:
    transform var(--dur-f) var(--ease),
    box-shadow var(--dur-f) var(--ease),
    border-color var(--dur-f) var(--ease),
    color var(--dur-f) var(--ease);
}

.services-carousel-nav svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-carousel-nav:hover:not(:disabled),
.services-carousel-nav:focus-visible:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-light-rgb), 0.38);
  color: var(--accent);
  box-shadow: 0 18px 36px rgba(var(--accent-light-rgb), 0.12);
}

.services-carousel-nav:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
}

.services-carousel-track {
  display: flex;
  align-items: stretch;
  gap: var(--services-gap);
  overflow: hidden;
  padding: 0.2rem 0.15rem 0.6rem;
  scroll-behavior: smooth;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.services-carousel-track::-webkit-scrollbar {
  display: none;
}

.services-carousel-track.is-dragging {
  cursor: grabbing;
}

.services-carousel-slide {
  display: flex;
  flex: 0 0 calc((100% - var(--services-gap) - var(--services-gap)) / 3);
  min-width: 0;
}

.services-carousel-slide .service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
}

.services-carousel .service-card {
  cursor: pointer;
}

.services-carousel .service-card[data-reveal] {
  transform: scale(0.985);
}

.services-carousel .service-card[data-reveal].revealed {
  transform: scale(1);
}

.services-carousel .service-media {
  aspect-ratio: 16 / 8.7;
}

.services-carousel .service-media img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.services-carousel-track.is-dragging .service-card {
  cursor: grabbing;
}

.services-carousel-scrollbar {
  position: relative;
  width: min(100%, 340px);
  height: 12px;
  margin: clamp(0.9rem, 2vw, 1.35rem) auto 0;
  border: 1px solid rgba(var(--accent-dark-rgb), 0.24);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(var(--accent-dark-rgb), 0.08)),
    rgba(var(--accent-dark-rgb), 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 24px rgba(var(--accent-dark-rgb), 0.08);
  cursor: pointer;
  touch-action: none;
}

.services-carousel-scrollbar.is-disabled {
  opacity: 0.45;
  cursor: default;
}

.services-carousel-scrollbar-thumb {
  position: absolute;
  top: -1px;
  left: 0;
  height: calc(100% + 2px);
  min-width: 72px;
  border-radius: inherit;
  border: 1px solid rgba(var(--accent-dark-rgb), 0.22);
  background: var(--steel-grad);
  box-shadow:
    0 10px 24px rgba(var(--accent-light-rgb), 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  cursor: grab;
  touch-action: none;
  will-change: transform, width;
}

.services-carousel-scrollbar-thumb.is-dragging {
  cursor: grabbing;
}

/* --------------------------------------------------------
   SERVICES PAGE
   -------------------------------------------------------- */
.services-page-hero .hero-title {
  max-width: 11ch;
}

.services-page-hero .hero-copy {
  max-width: 54ch;
}

.services-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(1.1rem, 2.4vw, 1.8rem);
}

.services-hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.68rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform var(--dur-f) var(--ease),
    border-color var(--dur-f) var(--ease),
    background var(--dur-f) var(--ease);
}

.services-hero-link:hover,
.services-hero-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.service-section {
  scroll-margin-top: calc(var(--nav-h) + 1.25rem);
}

.service-story {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(1.6rem, 3vw, 2.75rem);
  align-items: stretch;
}

.service-story-media {
  position: relative;
  min-height: clamp(300px, 36vw, 520px);
  margin: 0;
  border: 1px solid rgba(var(--accent-light-rgb), 0.14);
  border-radius: 28px;
  overflow: hidden;
  background: var(--sf-darker);
  box-shadow: 0 24px 56px rgba(9, 22, 32, 0.14);
}

.service-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.service-story-media:hover img {
  transform: scale(1.03);
}

.service-story-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.service-story-copy p {
  max-width: none;
  font-size: var(--fs-base);
  line-height: 1.8;
  opacity: 0.84;
}

.service-media-split,
.service-detail-grid {
  margin-top: clamp(1.65rem, 3vw, 2.5rem);
}

.service-note-card {
  margin-top: clamp(1.65rem, 3vw, 2.5rem);
  background:
    linear-gradient(180deg, rgba(var(--accent-light-rgb), 0.08), rgba(255, 255, 255, 0.98)),
    var(--white);
}

.service-note-card p {
  max-width: none;
}

.service-badge-card {
  display: grid;
  align-content: start;
  gap: 0.95rem;
}

.service-badge-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: sepia(1) saturate(3.8) hue-rotate(28deg) brightness(0.92) contrast(0.95);
  opacity: 0.96;
}

/* --------------------------------------------------------
   MEDIA SPLIT
   -------------------------------------------------------- */
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.media-block {
  border-radius: var(--r-lg);
  overflow: hidden;
}

.media-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.media-block:hover img {
  transform: scale(1.04);
}

.support-showcase {
  --support-showcase-height: clamp(540px, 42vw, 610px);
  --support-grid-shift: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

.support-media {
  position: relative;
  display: grid;
  margin: 0;
  height: var(--support-showcase-height);
  min-height: var(--support-showcase-height);
  border: 1px solid rgba(var(--accent-light-rgb), 0.14);
  border-radius: 30px;
  overflow: hidden;
  background: var(--sf-darker);
  box-shadow: 0 24px 58px rgba(9, 22, 32, 0.16);
}

.support-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.support-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 16, 22, 0.04) 0%, rgba(8, 16, 22, 0.18) 42%, rgba(8, 16, 22, 0.82) 100%);
  pointer-events: none;
}

.support-media:hover img {
  transform: scale(1.03);
}

.support-media figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  gap: 0.5rem;
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
  color: rgba(255, 255, 255, 0.9);
}

.support-media figcaption span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 16, 22, 0.38);
  backdrop-filter: blur(10px);
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-media figcaption p {
  margin: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-base);
  line-height: 1.7;
}

.support-grid {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.35rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "builders builders"
    "modular specifiers";
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-self: stretch;
  align-content: stretch;
  height: var(--support-showcase-height);
  min-height: var(--support-showcase-height);
  transform: translateY(calc(var(--support-grid-shift) * -1));
}

.support-card:nth-child(1) {
  grid-area: builders;
}

.support-card:nth-child(2) {
  grid-area: modular;
}

.support-card:nth-child(3) {
  grid-area: specifiers;
}

.support-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-height: 0;
}

.section-video-card {
  position: relative;
  display: grid;
  gap: 1rem;
  align-self: stretch;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border: 1px solid rgba(var(--accent-light-rgb), 0.16);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(8, 14, 18, 0.94), rgba(12, 24, 19, 0.9)),
    rgba(8, 14, 18, 0.92);
  box-shadow:
    0 22px 54px rgba(9, 22, 32, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.section-video-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(var(--accent-light-rgb), 0.82), rgba(var(--accent-light-rgb), 0.18), rgba(var(--accent-light-rgb), 0.82));
}

.section-video-head {
  display: grid;
  gap: 0.4rem;
}

.section-video-kicker {
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.54);
}

.section-video-title {
  color: var(--white);
  font-size: clamp(1.35rem, 1.08rem + 0.9vw, 1.95rem);
  line-height: 1.1;
}

.section-video-copy {
  max-width: none;
  font-size: var(--fs-base);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.74);
}

.section-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #353432;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.section-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.section-video-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.section-video-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Highlight box */
.highlight-box {
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 3px solid var(--accent);
}

.highlight-box h3 {
  margin-bottom: 0.8rem;
}

.section-dark .highlight-box {
  border-color: var(--accent-light);
}

/* --------------------------------------------------------
   FLOORING ASSEMBLY SHOWCASE
   -------------------------------------------------------- */
.assembly-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 2.2vw, 1.9rem);
  align-items: stretch;
}

.assembly-panel,
.assembly-feature {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
}

.assembly-panel {
  display: grid;
  grid-auto-rows: max-content;
  align-content: space-between;
  gap: clamp(1.15rem, 1.9vw, 1.7rem);
  padding: clamp(1.5rem, 2.8vw, 2rem);
  border: 1px solid var(--card-bd);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(var(--accent-light-rgb), 0.035)),
    var(--white);
  box-shadow: 0 20px 44px rgba(var(--accent-light-rgb), 0.08);
}

.assembly-panel::before,
.assembly-feature::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(var(--accent-light-rgb), 0.74), rgba(var(--accent-light-rgb), 0.08));
}

.assembly-panel p {
  margin: 0;
  max-width: none;
  font-size: var(--fs-base);
  line-height: 1.8;
  color: rgba(31, 31, 31, 0.8);
}

.assembly-panel p:last-child {
  margin-bottom: 0;
}

.assembly-panel strong {
  color: var(--accent-dark);
  font-weight: 700;
}

.assembly-feature {
  padding: clamp(1.4rem, 2.6vw, 1.8rem);
  border: 1px solid rgba(var(--accent-light-rgb), 0.2);
  background:
    radial-gradient(circle at top, rgba(var(--accent-light-rgb), 0.24), rgba(var(--accent-light-rgb), 0) 48%),
    linear-gradient(180deg, rgba(8, 20, 30, 0.96), rgba(26, 122, 70, 0.96));
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 60px rgba(9, 22, 32, 0.26);
}

.assembly-kicker {
  margin: 0 0 0.85rem;
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  text-align: center;
}

.assembly-feature h3 {
  margin: 0 auto 1.2rem;
  max-width: 12ch;
  text-align: center;
  color: var(--white);
  font-size: clamp(2rem, 1.35rem + 1.8vw, 3rem);
  line-height: 1.02;
}

.assembly-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.assembly-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.assembly-meta {
  display: grid;
  gap: 0.95rem;
  margin-top: 1rem;
}

.assembly-meta p {
  margin: 0;
  max-width: none;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.assembly-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.assembly-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assembly-panel-alt {
  background:
    linear-gradient(180deg, rgba(var(--accent-light-rgb), 0.08), rgba(255, 255, 255, 0.96)),
    var(--white);
}

/* --------------------------------------------------------
   BULLET LIST
   -------------------------------------------------------- */
.bullet-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.55rem;
  font-size: var(--fs-base);
  opacity: 0.85;
  line-height: 1.65;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section-dark .bullet-list li::before {
  background: var(--accent-light);
}

/* --------------------------------------------------------
   PROCESS GRID
   -------------------------------------------------------- */
.process-journey {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: stretch;
}

.process-journey-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  border: 1px solid var(--card-bd);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(var(--accent-light-rgb), 0.035)),
    var(--white);
  box-shadow: 0 18px 42px rgba(var(--accent-light-rgb), 0.08);
  transition:
    transform var(--dur-f) var(--ease),
    box-shadow var(--dur-f) var(--ease),
    border-color var(--dur-f) var(--ease);
}

.process-journey-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(var(--accent-light-rgb), 0.82), rgba(var(--accent-light-rgb), 0.08));
  z-index: 2;
}

.process-journey-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(var(--accent-light-rgb), 0.12);
  border-color: rgba(var(--accent-light-rgb), 0.28);
}

.process-journey-media {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: #eef1ef;
}

.process-journey-media::after {
  content: none;
}

.process-journey-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.process-journey-card:hover .process-journey-media img {
  transform: scale(1.05);
}

.process-journey-body {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: clamp(1.2rem, 2.4vw, 1.6rem);
}

.process-journey-step {
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.process-journey-body h3 {
  font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.8rem);
  line-height: 1.08;
}

.process-journey-body p:last-child {
  max-width: none;
  font-size: var(--fs-base);
  line-height: 1.75;
  color: rgba(31, 31, 31, 0.82);
}

.process-grid {
  --process-line-top: 10px;
  --process-line-inset: 12%;
  --process-dot-size: 22px;
  --process-dot-height: 3px;
  --process-dot-left: calc(50% - (var(--process-dot-size) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2vw, 2rem);
  padding-top: clamp(1.15rem, 1.8vw, 1.6rem);
  position: relative;
}

/* Moving tracer dot */
.process-grid::before {
  content: '';
  position: absolute;
  top: calc(var(--process-line-top) - (var(--process-dot-height) / 2) + 1px);
  left: var(--process-dot-left);
  width: var(--process-dot-size);
  height: var(--process-dot-height);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.98) 24%,
    rgba(var(--accent-light-rgb), 0.96) 50%,
    rgba(255, 255, 255, 0.98) 76%,
    rgba(255, 255, 255, 0)
  );
  box-shadow:
    0 0 10px rgba(var(--accent-light-rgb), 0.32),
    0 0 18px rgba(var(--accent-light-rgb), 0.16);
  z-index: 1;
  transition:
    left 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s var(--ease),
    opacity 0.45s var(--ease);
}

/* Connecting line */
.process-grid::after {
  content: '';
  position: absolute;
  top: var(--process-line-top);
  left: var(--process-line-inset);
  right: var(--process-line-inset);
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(var(--accent-light-rgb), 0.12),
    rgba(var(--accent-light-rgb), 0.34) 25%,
    rgba(var(--accent-light-rgb), 0.34) 75%,
    rgba(var(--accent-light-rgb), 0.12)
  );
  border-radius: 2px;
  opacity: 0.65;
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(0.8rem, 1.5vw, 1.2rem);
  border-radius: var(--r-lg);
  background: var(--card-bg);
  border: 1px solid var(--card-bd);
  transition: transform var(--dur-f) var(--ease), box-shadow var(--dur-f) var(--ease);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(101, 113, 118, 0.07);
}

.step-number {
  font-family: var(--ff-h);
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1;
  background: var(--steel-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
}

.process-step h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: var(--fs-base);
  opacity: 0.78;
  margin: 0 auto;
  max-width: 34ch;
}

/* --------------------------------------------------------
   ICON GRID  (Flooring page)
   -------------------------------------------------------- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2vw, 2rem);
}

.icon-card {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--card-bd);
  border-radius: var(--r-lg);
  background: var(--card-bg);
  transition:
    transform var(--dur-f) var(--ease),
    box-shadow var(--dur-f) var(--ease),
    border-color var(--dur-f) var(--ease);
}

.icon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(101, 113, 118, 0.08);
  border-color: var(--accent-light);
}

.icon-badge {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--steel-grad);
  color: var(--white);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  box-shadow:
    0 14px 34px rgba(var(--accent-light-rgb), 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.icon-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.5rem;
}

.icon-card p {
  font-size: var(--fs-base);
  opacity: 0.78;
  line-height: 1.7;
}

/* --------------------------------------------------------
   GALLERY
   -------------------------------------------------------- */
.gallery-hero .hero-title {
  max-width: 11ch;
}

.gallery-hero .hero-copy {
  max-width: 46ch;
}

.gallery-section-alt {
  background:
    linear-gradient(180deg, rgba(var(--accent-light-rgb), 0.03), rgba(255, 255, 255, 1) 28%),
    var(--white);
}

.gallery-collection-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.gallery-collection-head .eyebrow {
  justify-content: flex-start;
}

.gallery-collection-head .section-copy {
  margin-left: 0;
  max-width: 58ch;
}

.gallery-count {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(var(--accent-light-rgb), 0.16);
  border-radius: 999px;
  background: rgba(var(--accent-light-rgb), 0.06);
  color: var(--accent-dark);
  font-family: var(--ff-h);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 10vw, 165px);
  grid-auto-flow: dense;
  gap: clamp(0.9rem, 1.8vw, 1.2rem);
}

.gallery-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 100%;
  padding: 0;
  border: 1px solid rgba(var(--accent-light-rgb), 0.12);
  border-radius: 24px;
  overflow: hidden;
  background: var(--sf-darker);
  appearance: none;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 18px 44px rgba(9, 22, 32, 0.12);
  transition:
    transform var(--dur-f) var(--ease),
    box-shadow var(--dur-f) var(--ease),
    border-color var(--dur-f) var(--ease);
}

.gallery-card:nth-child(10n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card:nth-child(10n + 5) {
  grid-row: span 2;
}

.gallery-card:nth-child(10n + 8) {
  grid-column: span 2;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(9, 22, 32, 0.18);
  border-color: rgba(var(--accent-light-rgb), 0.26);
}

.gallery-card:focus-visible {
  outline: none;
  border-color: rgba(var(--accent-light-rgb), 0.42);
  box-shadow:
    0 0 0 3px rgba(var(--accent-light-rgb), 0.14),
    0 24px 54px rgba(9, 22, 32, 0.18);
}

.gallery-card-media,
.gallery-card-media img {
  width: 100%;
  height: 100%;
}

.gallery-card-media {
  position: absolute;
  inset: 0;
}

.gallery-card-media img {
  object-fit: cover;
  transition: transform 1.15s var(--ease), filter var(--dur-f) var(--ease);
}

.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 16, 22, 0.02) 12%, rgba(8, 16, 22, 0.18) 50%, rgba(8, 16, 22, 0.84) 100%);
  pointer-events: none;
}

.gallery-card:hover .gallery-card-media img,
.gallery-card:focus-visible .gallery-card-media img {
  transform: scale(1.05);
  filter: saturate(1.02);
}

.gallery-card-meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1rem 1.05rem;
  text-align: left;
}

.gallery-card-label {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--ff-h);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-card-title {
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--ease);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 14, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.gallery-lightbox-shell {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  max-height: calc(100dvh - 2rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(8, 14, 18, 0.96), rgba(8, 14, 18, 0.88)),
    rgba(8, 14, 18, 0.92);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.gallery-lightbox-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

.gallery-lightbox-copy {
  min-width: 0;
}

.gallery-lightbox-kicker {
  margin: 0 0 0.2rem;
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--ff-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-lightbox-title {
  color: var(--white);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.8rem);
  line-height: 1.08;
}

.gallery-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.gallery-lightbox-counter {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--ff-h);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  appearance: none;
  color: var(--white);
  cursor: pointer;
  transition:
    transform var(--dur-f) var(--ease),
    border-color var(--dur-f) var(--ease),
    background var(--dur-f) var(--ease);
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.gallery-lightbox-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.gallery-lightbox-nav span {
  display: none;
}

.gallery-lightbox-close span:first-child {
  transform: rotate(45deg);
}

.gallery-lightbox-close span:last-child {
  transform: rotate(-45deg);
}

.gallery-lightbox-nav::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.gallery-lightbox-prev::before {
  margin-left: 4px;
  transform: rotate(-135deg);
}

.gallery-lightbox-next::before {
  margin-right: 4px;
  transform: rotate(45deg);
}

.gallery-lightbox-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 0;
}

.gallery-lightbox-frame {
  min-height: 0;
  height: min(68vh, 760px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(var(--accent-light-rgb), 0.18), rgba(var(--accent-light-rgb), 0) 48%),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.gallery-lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.22s var(--ease), transform 0.3s var(--ease);
}

.gallery-lightbox-frame.is-updating .gallery-lightbox-image {
  opacity: 0.34;
  transform: scale(0.985);
}

.gallery-lightbox-thumbs {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}

.gallery-lightbox-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 88px;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  appearance: none;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  opacity: 0.7;
  transition:
    transform var(--dur-f) var(--ease),
    border-color var(--dur-f) var(--ease),
    opacity var(--dur-f) var(--ease);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb.active {
  border-color: rgba(var(--accent-light-rgb), 0.62);
  opacity: 1;
  transform: translateY(-2px);
}

/* --------------------------------------------------------
   CONTACT SECTION
   -------------------------------------------------------- */
.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.contact-main {
  display: grid;
  gap: 1.1rem;
}

.contact-info h3 {
  margin-bottom: 0.5rem;
}

.contact-info > p {
  opacity: 0.72;
  font-size: var(--fs-base);
  margin-bottom: 0;
}

.contact-lines {
  margin-top: 2rem;
}

.contact-line {
  margin-bottom: 1.6rem;
}

.contact-line > span {
  display: block;
  font-family: var(--ff-h);
  font-weight: 600;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.contact-line a {
  transition: color var(--dur-f) var(--ease);
}

.contact-line a:hover {
  color: var(--accent);
}

.contact-line p {
  font-size: var(--fs-base);
  margin: 0;
}

/* Form card */
.form-card {
  background: var(--sf-off);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--card-bd);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field {
  position: relative;
}

.form-field.full {
  grid-column: 1 / -1;
}

/* Textarea keeps label floated to avoid placeholder overlap */
.form-field.form-field-textarea label {
  top: -0.55rem;
  left: 0.75rem;
  font-size: var(--fs-xs);
  color: var(--accent-dark);
  background: var(--sf-off);
}

.form-field label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--accent);
  pointer-events: none;
  transition: all 0.25s var(--ease);
  background: transparent;
  padding: 0 0.3rem;
  z-index: 1;
}

.form-field.focused label,
.form-field.filled label {
  top: -0.55rem;
  left: 0.75rem;
  font-size: var(--fs-xs);
  color: var(--accent-dark);
  background: var(--sf-off);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 1rem;
  font-family: var(--ff-b);
  font-size: var(--fs-base);
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--card-bd);
  border-radius: var(--r);
  outline: none;
  transition: border-color var(--dur-f) var(--ease), box-shadow var(--dur-f) var(--ease);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(101, 113, 118, 0.12);
}

.form-field textarea {
  min-height: 140px;
  padding-top: 1.05rem;
  resize: vertical;
  line-height: 1.65;
}

.form-status {
  margin-top: 0.8rem;
  font-size: var(--fs-base);
  font-weight: 500;
  min-height: 1.5em;
}

.form-status.success {
  color: var(--accent);
}

.form-status.error {
  color: #b5423a;
}

.contact-map {
  grid-column: 1 / -1;
  margin-top: 0.2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--card-bd);
  overflow: hidden;
  background: var(--sf-off);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  filter: grayscale(1);
  transition: filter var(--dur-f) var(--ease);
}

.contact-map:hover iframe,
.contact-map:focus-within iframe {
  filter: grayscale(0);
}

/* --------------------------------------------------------
   FOOTER
   -------------------------------------------------------- */
.site-footer {
  background: var(--sf-darker);
  color: rgba(255, 255, 255, 0.55);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(170px, 0.9fr) minmax(230px, 1fr);
  gap: clamp(2rem, 3vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand-column {
  display: grid;
  align-content: start;
  justify-items: start;
}

.site-footer h3 {
  font-family: var(--ff-h);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.site-footer p {
  font-size: var(--fs-base);
  line-height: 1.7;
}

.footer-brand-copy {
  max-width: min(100%, 15.5rem);
  margin-left: 25px;
}

.site-footer ul li {
  margin-bottom: 0;
  font-size: var(--fs-base);
}

.site-footer a {
  transition: color var(--dur-f) var(--ease);
}

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

.footer-links-list,
.footer-contact-list {
  display: grid;
  margin: 0;
}

.footer-links-list {
  gap: 0.45rem;
}

.footer-contact-list {
  gap: 0.75rem;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.footer-contact-item::before {
  content: '';
  width: 18px;
  height: 18px;
  margin-top: 0.08rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.footer-contact-item a,
.footer-contact-item span {
  max-width: none;
}

.footer-contact-phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23318959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.77.62 2.61a2 2 0 0 1-.45 2.11L8 9.91a16 16 0 0 0 6.09 6.09l1.47-1.28a2 2 0 0 1 2.11-.45c.84.29 1.71.5 2.61.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.footer-contact-email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23318959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 7L2 7'/%3E%3C/svg%3E");
}

.footer-contact-address::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23318959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-4.35 7-11a7 7 0 1 0-14 0c0 6.65 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='11' r='3'/%3E%3C/svg%3E");
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: clamp(1.2rem, 2vw, 2rem);
  font-size: var(--fs-xs);
  opacity: 0.6;
}

.footer-bottom p {
  margin: 0;
}

.footer-powered-by {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  align-items: center;
}

.footer-powered-by a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--ff-h);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    border-color var(--dur-f) var(--ease),
    background var(--dur-f) var(--ease),
    color var(--dur-f) var(--ease),
    transform var(--dur-f) var(--ease);
}

.footer-powered-by a:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.footer-powered-by img {
  display: block;
  height: 14px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  max-width: 100%;
  opacity: 0.92;
  transition: opacity var(--dur-f) var(--ease), transform var(--dur-f) var(--ease);
}

.footer-logo img {
  display: block;
  width: auto;
  height: clamp(78px, 8.1vw, 100px);
  max-width: 100%;
  object-fit: contain;
}

.footer-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-logo-grid {
  margin-left: 0;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------
   REVEAL ANIMATIONS
   -------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.section-cta[data-reveal] {
  transform: translateY(24px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Scale-in variant for cards */
.card[data-reveal],
.process-step[data-reveal],
.icon-card[data-reveal],
.process-journey-card[data-reveal] {
  transform: translateY(44px) scale(0.97);
}

/* --------------------------------------------------------
   RESPONSIVE - NAV COLLAPSE
   -------------------------------------------------------- */
@media (max-width: 1050px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--sf-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s;
    z-index: 5;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .site-nav .nav-link {
    font-family: var(--ff-h);
    font-size: clamp(1.3rem, 0.9rem + 1.7vw, 2rem);
    font-weight: 700;
    padding: 0.7rem 1rem;
    color: rgba(255, 255, 255, 0.5);
    transform: translateY(24px);
    opacity: 0;
    transition:
      transform 0.5s var(--ease),
      opacity 0.5s var(--ease),
      color var(--dur-f) var(--ease);
  }

  .site-nav .nav-link::after {
    bottom: 6px;
    left: 1rem;
    right: 1rem;
  }

  .site-nav.open .nav-link {
    transform: translateY(0);
    opacity: 1;
    color: rgba(255, 255, 255, 0.75);
  }

  .site-nav.open .nav-link:nth-child(1) { transition-delay: 0.06s; }
  .site-nav.open .nav-link:nth-child(2) { transition-delay: 0.1s; }
  .site-nav.open .nav-link:nth-child(3) { transition-delay: 0.14s; }
  .site-nav.open .nav-link:nth-child(4) { transition-delay: 0.18s; }
  .site-nav.open .nav-link:nth-child(5) { transition-delay: 0.22s; }
  .site-nav.open .nav-link:nth-child(6) { transition-delay: 0.26s; }
  .site-nav.open .nav-link:nth-child(7) { transition-delay: 0.3s; }
  .site-nav.open .nav-link:nth-child(8) { transition-delay: 0.34s; }

  .site-nav .btn {
    margin-left: 0;
    margin-top: 1.8rem;
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  }

  .site-nav.open .btn {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.4s;
  }
}

/* --------------------------------------------------------
   RESPONSIVE ? TABLET
   -------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero-home {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 3rem);
  }

  .hero-content-home {
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.5rem);
    justify-items: center;
    text-align: center;
  }

  .hero-home-copy {
    align-items: center;
    max-width: 780px;
  }

  .hero-title-home {
    max-width: none;
    font-size: clamp(4.4rem, 13vw, 8rem);
    text-align: center;
  }

  .hero-home .hero-copy {
    max-width: 30ch;
  }

  .hero-home .hero-actions,
  .hero-video-notes {
    justify-content: center;
  }

  .hero-video-head {
    align-items: center;
    text-align: center;
  }

  .hero-video-card {
    width: min(100%, 860px);
  }

  .gallery-collection-head {
    flex-direction: column;
    align-items: start;
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(132px, 16vw, 190px);
  }

  .gallery-card:nth-child(10n + 8) {
    grid-column: span 1;
  }

  .gallery-lightbox-shell {
    width: min(100%, calc(100vw - 1.5rem));
  }

  .gallery-thumb {
    width: 78px;
  }

  .assembly-showcase {
    grid-template-columns: 1fr;
  }

  .assembly-feature {
    order: -1;
  }

  .support-showcase {
    --support-showcase-height: auto;
    --support-grid-shift: 0px;
    grid-template-columns: 1fr;
  }

  .support-media,
  .support-grid {
    height: auto;
    min-height: 0;
  }

  .support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: none;
    grid-template-rows: 1fr;
    transform: none;
  }

  .support-card:nth-child(1),
  .support-card:nth-child(2),
  .support-card:nth-child(3) {
    grid-area: auto;
  }

  .support-media img {
    min-height: 360px;
  }

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

  .confidence-layout {
    grid-template-columns: 1fr;
  }

  .confidence-lead .section-title,
  .confidence-lead .section-copy {
    max-width: none;
  }

  .confidence-video-card .section-video-head {
    text-align: center;
  }

  .confidence-video-card .section-video-title {
    max-width: none;
  }

  .confidence-video-card .section-video-notes {
    justify-content: center;
  }

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

  .benefits-band {
    grid-template-columns: 1fr;
  }

  .benefits-copy {
    padding: 0 0 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(var(--accent-light-rgb), 0.12);
  }

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

  .confidence-card:nth-child(2),
  .confidence-card:nth-child(3) {
    transform: none;
  }

  .nav-toggle {
    display: block;
  }

  /* Full-screen overlay nav */
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--sf-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s;
    z-index: 5;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .site-nav .nav-link {
    font-family: var(--ff-h);
    font-size: var(--fs-2xl);
    font-weight: 700;
    padding: 0.7rem 1rem;
    color: rgba(255, 255, 255, 0.5);
    transform: translateY(24px);
    opacity: 0;
    transition:
      transform 0.5s var(--ease),
      opacity 0.5s var(--ease),
      color var(--dur-f) var(--ease);
  }

  .site-nav .nav-link::after {
    bottom: 6px;
    left: 1rem;
    right: 1rem;
  }

  .site-nav.open .nav-link {
    transform: translateY(0);
    opacity: 1;
    color: rgba(255, 255, 255, 0.75);
  }

  .site-nav.open .nav-link:nth-child(1) { transition-delay: 0.06s; }
  .site-nav.open .nav-link:nth-child(2) { transition-delay: 0.1s; }
  .site-nav.open .nav-link:nth-child(3) { transition-delay: 0.14s; }
  .site-nav.open .nav-link:nth-child(4) { transition-delay: 0.18s; }
  .site-nav.open .nav-link:nth-child(5) { transition-delay: 0.22s; }
  .site-nav.open .nav-link:nth-child(6) { transition-delay: 0.26s; }
  .site-nav.open .nav-link:nth-child(7) { transition-delay: 0.3s; }
  .site-nav.open .nav-link:nth-child(8) { transition-delay: 0.34s; }

  .site-nav .btn {
    margin-left: 0;
    margin-top: 1.8rem;
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  }

  .site-nav.open .btn {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.4s;
  }

  /* Grid fallbacks */
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-grid::before,
  .process-grid::after {
    display: none;
  }

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

  .contact-shell {
    grid-template-columns: 1fr;
  }

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

  .services-carousel-slide {
    flex-basis: calc((100% - var(--services-gap)) / 2);
  }
}

/* --------------------------------------------------------
   RESPONSIVE ? MOBILE
   -------------------------------------------------------- */
@media (max-height: 900px) and (min-width: 681px) {
  .hero-home {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(var(--nav-h) + 1.6rem);
    padding-bottom: 1.75rem;
  }

  .hero-content-home {
    gap: 1rem;
  }

  .hero-home .eyebrow {
    margin-bottom: 0.95rem;
  }

  .hero-title-home {
    font-size: clamp(3.8rem, 15vh, 7.4rem);
  }

  .hero-home .hero-copy {
    max-width: 26ch;
    font-size: clamp(0.98rem, 2.6vh, 1.18rem);
    margin-bottom: 1.25rem;
  }

  .hero-home .btn {
    padding: 0.82rem 1.8rem;
  }
}

@media (max-height: 760px) and (min-width: 681px) {
  .hero-home {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 1.15rem;
  }

  .hero-home .eyebrow {
    margin-bottom: 0.75rem;
    padding: 0.48rem 0.82rem;
    font-size: 0.68rem;
  }

  .hero-title-home {
    font-size: clamp(3.2rem, 12.8vh, 6rem);
    line-height: 0.84;
  }

  .hero-home .hero-copy {
    max-width: 24ch;
    font-size: clamp(0.94rem, 2.2vh, 1.06rem);
    line-height: 1.42;
    margin-bottom: 1rem;
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .hero-home .btn {
    padding: 0.74rem 1.55rem;
  }
}

@media (max-width: 680px) {
  :root {
    --nav-h: 68px;
  }

  .hero {
    min-height: 92vh;
    align-items: flex-end;
    padding-bottom: clamp(3rem, 6vw, 5rem);
  }

  .page-hero {
    min-height: 65vh;
  }

  .hero-title {
    max-width: 14ch;
  }

  .hero-title-home {
    max-width: none;
    font-size: clamp(3.3rem, 16vw, 5.8rem);
    line-height: 0.9;
  }

  .hero-home .hero-copy {
    max-width: 18ch;
  }

  .hero-home {
    min-height: 84svh;
    min-height: 84dvh;
    align-items: center;
    padding-top: calc(var(--nav-h) + 1.1rem);
    padding-bottom: clamp(0.7rem, 2vw, 1.1rem);
  }

  .hero-content-home {
    gap: 0.85rem;
  }

  .hero-home .eyebrow {
    display: none;
  }

  .hero-home .hero-copy {
    margin-bottom: 0.7rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-home .hero-actions {
    width: min(100%, 320px);
  }

  .hero-home + .angle-divider {
    margin-top: -34px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-video-card {
    padding: 0.9rem;
    border-radius: 22px;
  }

  .hero-video-frame {
    border-radius: 16px;
  }

  .gallery-hero .hero-title {
    max-width: 12ch;
  }

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

  .gallery-collection-head {
    gap: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 148px;
  }

  .gallery-card:nth-child(10n + 1),
  .gallery-card:nth-child(10n + 8) {
    grid-column: span 2;
  }

  .gallery-card:nth-child(10n + 5) {
    grid-row: span 1;
  }

  .gallery-lightbox {
    padding: 0;
  }

  .gallery-lightbox-shell {
    width: 100%;
    height: 100dvh;
    max-height: none;
    padding: 0.9rem 0.75rem 1rem;
    border-radius: 0;
  }

  .gallery-lightbox-head {
    align-items: start;
  }

  .gallery-lightbox-stage {
    position: relative;
    grid-template-columns: 1fr;
  }

  .gallery-lightbox-frame {
    height: min(58vh, 430px);
  }

  .gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 46px;
    height: 46px;
  }

  .gallery-lightbox-prev {
    left: 0.7rem;
  }

  .gallery-lightbox-next {
    right: 0.7rem;
  }

  .gallery-lightbox-nav:hover,
  .gallery-lightbox-nav:focus-visible {
    transform: translateY(-50%);
  }

  .gallery-thumb {
    width: 68px;
  }

  .process-journey {
    grid-template-columns: 1fr;
  }

  .confidence-metrics {
    grid-template-columns: 1fr;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }

  .confidence-card-primary,
  .confidence-card-wide {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .service-media {
    aspect-ratio: 16 / 11;
  }

  .services-carousel-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .services-carousel-controls {
    justify-content: flex-start;
  }

  .services-carousel-slide {
    flex-basis: 100%;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-grid::before {
    display: none;
  }

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

  .media-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .support-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    transform: none;
  }

  .support-media,
  .support-grid {
    height: auto;
    min-height: 0;
  }

  .support-media img {
    min-height: 300px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-powered-by {
    justify-content: center;
  }

  .footer-logo {
    margin-left: 0;
  }

  .section-head {
    text-align: left;
  }

  .section-head .eyebrow {
    justify-content: flex-start;
  }

  .angle-divider {
    height: clamp(36px, 5vw, 60px);
  }

  .brand {
    height: 53px;
  }

  .brand img {
    height: 100%;
    max-width: calc(100vw - 104px);
  }

  .site-nav .nav-link {
    font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.55rem);
  }
}

@media (max-width: 560px) {
  .services-hero-links {
    gap: 0.65rem;
  }

  .services-hero-link {
    width: 100%;
  }
}

/* --------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .angle-divider::before {
    animation: none !important;
    background-position:
      50% var(--divider-trace-y),
      50% var(--divider-trace-y),
      50% var(--divider-trace-y),
      0 0 !important;
  }

  .process-grid::before {
    animation: none !important;
  }

}
