/* Summit Surface Solutions: brand black + logo blues (#2563eb royal, #1e3a8a navy) */

:root {
  --bg-deep: #000000;
  --bg-elevated: #0a0a0a;
  --bg-card: #0d0d0d;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.92);
  --text-subtle: #a8b4c4;
  --accent: #2563eb;
  --accent-bright: #3b82f6;
  --accent-deep: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.2);
  --accent-glow: rgba(59, 130, 246, 0.45);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: 3px solid var(--accent);
  --font-display: "DM Sans", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 10px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  --max: 1120px;
  /* Subpage hero + article body: narrower reading column; shared sections use --max */
  --subpage-inner-max: min(48rem, 100%);
  /* Section labels, titles + intro copy: use most of the content column (was ~55ch and felt too narrow) */
  --section-copy-max: min(100%, 80ch);
  --hero-title-max: min(100%, 38ch);
}

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

html {
  scroll-behavior: smooth;
  /* Clears fixed header; tuned so #services / #areas land with headings higher in view */
  scroll-padding-top: 6.75rem;
}

/* Pull hash targets slightly up (scroll-padding alone was leaving sections feeling too low) */
#services,
#areas,
#contact {
  scroll-margin-top: -1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Phone links: icon + hover motion (all tel: anchors, including CTAs) */
a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  vertical-align: middle;
  text-decoration: none;
}

a[href^="tel:"]:hover {
  text-decoration: none;
}

a[href^="tel:"]::before {
  content: "";
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V21c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V21c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

a[href^="tel:"]:hover::before,
a[href^="tel:"]:focus-visible::before {
  transform: scale(1.14) rotate(-11deg);
}

@media (prefers-reduced-motion: reduce) {
  a[href^="tel:"]::before {
    transition: none;
  }

  a[href^="tel:"]:hover::before,
  a[href^="tel:"]:focus-visible::before {
    transform: none;
  }
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 100%);
  color: #000000;
  font-weight: 700;
  border-radius: var(--radius);
  border: 3px solid #000000;
}

.skip-link:focus {
  left: 0.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.5rem 1.35rem;
  background: rgba(0, 0, 0, 0.97);
  border-bottom: 3px solid var(--accent);
  backdrop-filter: blur(10px);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.nav-close {
  display: none;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.logo-block {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
}

.logo-block:hover {
  text-decoration: none;
}

.logo-block:hover .logo-img {
  transform: scale(1.045) translateY(-2px);
  filter: drop-shadow(0 0 14px var(--accent-glow))
    drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

.logo-block .logo-img {
  height: clamp(68px, 16vw, 104px);
  width: auto;
  max-width: min(400px, 90vw);
  object-fit: contain;
  transition: height 0.38s ease, max-width 0.38s ease, transform 0.28s ease, filter 0.28s ease;
}

.site-header.is-scrolled .logo-block .logo-img {
  height: clamp(46px, 10vw, 72px);
  max-width: min(320px, 82vw);
}

@media (prefers-reduced-motion: reduce) {
  .logo-block .logo-img {
    transition: transform 0.28s ease, filter 0.28s ease;
  }
}

.nav-toggle {
  display: none;
  background: #000000;
  border: 3px solid var(--accent);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-display);
}

.nav-menu {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-menu-links a {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-menu-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-family: var(--font-display);
  border-radius: var(--radius);
  border: 3px solid #ffffff;
  text-decoration: none;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s;
}

a.header-cta[href^="tel:"]::before {
  width: 1.2em;
  height: 1.2em;
}

.header-cta--bar {
  grid-column: 3;
  justify-self: end;
}

/* Must beat a[href^="tel:"] { display: inline-flex } so only the bar CTA shows on desktop */
a.header-cta.header-cta--drawer {
  display: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  text-decoration: none;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

@media (max-width: 768px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .logo-block {
    grid-column: auto;
    justify-self: auto;
    order: 1;
  }

  .nav-toggle {
    display: block;
    grid-column: auto;
    justify-self: auto;
    order: 2;
  }

  .nav-menu {
    grid-column: auto;
    justify-self: auto;
    order: 3;
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100vh;
    background: var(--bg-elevated);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: 1.25rem;
    border-left: 3px solid var(--accent);
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    background: #000000;
    color: var(--text);
    font-size: 1.65rem;
    line-height: 1;
    font-family: var(--font-display);
    cursor: pointer;
    z-index: 2;
  }

  .nav-close:hover {
    color: var(--accent-bright);
    border-color: var(--accent-bright);
  }

  .nav-close:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 2px;
  }

  .nav-close-icon {
    display: block;
    margin-top: -0.12em;
  }

  .nav-menu-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .header-cta--bar {
    display: none !important;
  }

  a.header-cta.header-cta--drawer {
    display: inline-flex !important;
    width: 100%;
    margin-top: auto;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 9.75rem clamp(1.35rem, 4.5vw, 2.25rem) 5.5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.hero .hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero.subpage-hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 52vh;
  min-height: 52dvh;
  /* Top padding must not live on the section or a black strip shows above the image (padding sits outside the abspos media box). */
  padding: 0 clamp(1.35rem, 4.5vw, 2.25rem) clamp(3.25rem, 6vw, 4.5rem);
  align-items: stretch;
  box-sizing: border-box;
}

.hero.subpage-hero .hero-media {
  grid-row: 1;
  grid-column: 1;
}

.hero.subpage-hero .hero-content {
  grid-row: 1;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(2.25rem, 6vh, 4rem);
  align-self: stretch;
  min-height: 0;
  max-width: var(--subpage-inner-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  padding-top: calc(clamp(9.5rem, 18vh, 13rem) + 1rem);
  padding-bottom: clamp(2rem, 5vh, 3rem);
  box-sizing: border-box;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.74) 0%,
      rgba(0, 0, 0, 0.9) 45%,
      rgba(0, 0, 0, 0.98) 100%
    ),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37, 99, 235, 0.06), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(0, 0, 0, 0.65);
  border: 3px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--accent-bright);
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.95rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: var(--hero-title-max);
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-lead {
  font-size: 1.12rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  max-width: var(--section-copy-max);
  margin: 0 0 2rem;
  line-height: 1.55;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 100%);
  color: #000000;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: var(--radius);
  border: 3px solid #000000;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s;
}

a.btn-primary[href^="tel:"] {
  color: #ffffff;
  border-color: #ffffff;
}

a.btn-primary[href^="tel:"]:hover,
a.btn-primary[href^="tel:"]:focus-visible {
  color: #ffffff;
  border-color: #ffffff;
}

.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 3px solid #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  text-decoration: none;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), 0 10px 28px var(--accent-glow);
}

.hero-strip {
  margin-top: 3.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-strip strong {
  color: var(--text);
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
section {
  padding: 4.5rem clamp(1.35rem, 4.5vw, 2.25rem);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  max-width: 100%;
}

.section-intro {
  color: var(--text-muted);
  max-width: var(--section-copy-max);
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Trust */
.trust {
  background: var(--bg-elevated);
  border-top: 3px solid rgba(37, 99, 235, 0.35);
  border-bottom: 3px solid rgba(37, 99, 235, 0.35);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.trust-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 3px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease,
    background-color 0.28s ease;
}

.trust-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-bright);
  background-color: #121212;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 18px 48px rgba(0, 0, 0, 0.55),
    0 0 36px var(--accent-glow);
}

.trust-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 0 1rem;
  color: #000000;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 100%);
  border: 3px solid #000000;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.trust-card:hover .trust-card-icon {
  transform: scale(1.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 6px 20px var(--accent-glow);
}

.trust-card-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  transition: color 0.2s ease;
}

.trust-card:hover h3 {
  color: var(--accent-bright);
}

.trust-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.trust-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Service subpages: three “other services” cards */
@media (min-width: 901px) {
  #other-services .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  background: var(--bg-card);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Darken full image so titles/body stay readable on bright sky & pavement */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.48) 32%,
    rgba(0, 0, 0, 0.78) 68%,
    rgba(0, 0, 0, 0.96) 100%
  );
  z-index: 1;
}

.service-body {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.service-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Why */
.why {
  background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 901px) {
  .why-visual {
    position: sticky;
    top: 6.25rem;
  }
}

@media (max-width: 900px) {
  .why-layout {
    grid-template-columns: 1fr;
  }
}

.why-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.why-list h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.why-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

/* Areas */
.areas {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

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

@media (max-width: 640px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }
}

.area-tile {
  padding: 1.75rem 1.35rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 3px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

a.area-tile {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.area-tile:hover {
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

a.area-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.area-tile-pin {
  display: flex;
  justify-content: center;
  margin-bottom: 0.4rem;
  color: var(--accent);
  transition: transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1), color 0.22s ease;
}

.area-tile-pin svg {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.25));
}

a.area-tile:hover .area-tile-pin,
a.area-tile:focus-visible .area-tile-pin {
  transform: translateY(-6px) scale(1.1);
  color: var(--accent-bright);
}

@media (prefers-reduced-motion: reduce) {
  .area-tile-pin {
    transition: none;
  }

  a.area-tile:hover .area-tile-pin,
  a.area-tile:focus-visible .area-tile-pin {
    transform: none;
  }
}

.area-tile strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.35rem;
}

.area-tile-region {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.area-tile-desc {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.area-tile-more {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

a.area-tile:hover .area-tile-more {
  color: var(--accent-bright);
}

.areas-sub {
  color: var(--text-muted);
  max-width: var(--section-copy-max);
  margin: -1.25rem 0 2.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.areas-cta {
  margin-top: 2.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.areas-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.areas-cta-lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: var(--section-copy-max);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.cta-box .cta-actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  min-width: 0;
}

@media (max-width: 720px) {
  .cta-box .cta-actions {
    justify-content: center;
  }
}

/* Media showcase: before / after pair */
.media-showcase {
  padding: 0 1.25rem 4rem;
}

.media-showcase-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.media-showcase-bas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  margin-top: 0.25rem;
  align-items: start;
}

.media-showcase-bas > .ba-slider {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  align-self: start;
}

.media-showcase .ba-slider--compact {
  margin: 0;
}

.media-showcase .ba-slider--compact .ba-slider__viewport {
  max-height: min(400px, 54vh);
  box-shadow: var(--shadow);
}

.media-showcase .ba-slider--compact .ba-slider__meta {
  margin-top: 0.55rem;
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .media-showcase-bas {
    grid-template-columns: 1fr;
  }

  .media-showcase .ba-slider--compact .ba-slider__viewport {
    max-height: min(340px, 50vh);
  }
}

/* CTA: warm blacks + subtle blue wash (matches logo blues) */
.cta {
  padding: 4rem clamp(1.35rem, 4.5vw, 2.25rem);
  background: linear-gradient(
    180deg,
    #000000 0%,
    rgba(37, 99, 235, 0.03) 42%,
    #000000 100%
  );
}

.cta-box {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem 2.5rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 95% 65% at 50% -25%, rgba(37, 99, 235, 0.09), transparent 52%),
    linear-gradient(145deg, #0d0d0d 0%, #000000 52%, #0a0a0a 100%);
  border: 3px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), inset 0 1px 0 rgba(37, 99, 235, 0.05),
    var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 720px) {
  .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: stretch;
  }

  .cta-box p {
    margin-left: auto;
    margin-right: auto;
  }
}

.cta-box > div:first-of-type {
  min-width: 0;
  max-width: min(100%, 52rem);
}

.cta-box p + p {
  margin-top: 1rem;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.cta-box p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: var(--section-copy-max);
}

/* Contact */
.contact {
  padding: 2.75rem 1.25rem 4.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 2.75rem;
  align-items: start;
  margin-top: 0;
}

.contact-aside .section-intro {
  margin-bottom: 1.75rem;
}

.contact-layout .contact-grid {
  max-width: 100%;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-aside .section-intro {
    margin-bottom: 2rem;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 640px;
}

.contact-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 3px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.contact-card p,
.contact-card a {
  margin: 0;
  color: var(--text-muted);
}

.contact-card a.phone-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.contact-carousel {
  position: relative;
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
}

.contact-carousel__slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.contact-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.75s ease;
  z-index: 0;
}

.contact-carousel__slide.is-active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .contact-carousel__slide {
    transition: none;
  }
}

.contact-carousel__logo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 0.65rem 0.85rem;
  pointer-events: none;
}

.contact-carousel__logo img {
  display: block;
  height: clamp(3.25rem, 12vw, 6.75rem);
  width: auto;
  max-width: min(380px, 78%);
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.8));
}

.email-pending {
  color: var(--text-muted);
  font-style: italic;
}

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

.contact-form-wrap {
  position: relative;
  margin-top: 2.75rem;
  max-width: 640px;
  width: 100%;
  color-scheme: dark;
}

.contact-layout .contact-form-wrap {
  margin-top: 0;
  max-width: none;
}

.contact-layout .contact-form-head {
  padding: 1.15rem 2rem 1.15rem;
}

.contact-layout .contact-form-title {
  margin-bottom: 0.4rem;
  padding-bottom: 0.7rem;
}

.contact-form-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.45) 0%,
    rgba(37, 99, 235, 0.08) 35%,
    transparent 55%,
    rgba(37, 99, 235, 0.12) 100%
  );
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

.contact-form-panel {
  position: relative;
  z-index: 1;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(37, 99, 235, 0.1), transparent 50%),
    radial-gradient(ellipse 90% 60% at 0% 100%, rgba(96, 165, 250, 0.18), transparent 45%),
    linear-gradient(168deg, #121212 0%, #050505 50%, #000000 100%);
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.3) inset,
    0 24px 48px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(37, 99, 235, 0.08);
}

.contact-form-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(37, 99, 235, 0.75) 42%,
    rgba(37, 99, 235, 0.25) 70%,
    transparent 100%
  );
  pointer-events: none;
}

.contact-form-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.012) 3px,
    rgba(255, 255, 255, 0.012) 4px
  );
  pointer-events: none;
  opacity: 0.6;
}

.contact-form-head {
  position: relative;
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(
    185deg,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(37, 99, 235, 0.02) 38%,
    transparent 72%
  );
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
  color: var(--text);
  position: relative;
  padding-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.contact-form-title::before {
  content: "";
  flex-shrink: 0;
  width: 1.35em;
  height: 1.35em;
  background-color: var(--accent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M20%204H4c-1.1%200-1.99.9-1.99%202L2%2018c0%201.1.9%202%202%202h16c1.1%200%202-.9%202-2V6c0-1.1-.9-2-2-2zm0%204l-8%205-8-5V6l8%205%208-5v2z%22%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M20%204H4c-1.1%200-1.99.9-1.99%202L2%2018c0%201.1.9%202%202%202h16c1.1%200%202-.9%202-2V6c0-1.1-.9-2-2-2zm0%204l-8%205-8-5V6l8%205%208-5v2z%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.contact-form-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    rgba(37, 99, 235, 0.55) 38%,
    rgba(37, 99, 235, 0.12) 72%,
    transparent 100%
  );
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
}

.contact-form-sub {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: min(100%, 70ch);
}

.form-success {
  margin: 0 2rem 0;
  padding: 1.15rem 1.35rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.16) 0%,
    rgba(37, 99, 235, 0.06) 100%
  );
  border: 1px solid rgba(37, 99, 235, 0.45);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.12);
}

.contact-form-head + .form-success {
  margin-top: 1rem;
}

.contact-form-head + .form-error {
  margin-top: 1rem;
}

.form-error {
  margin: 0 2rem 0;
  padding: 1rem 1.2rem;
  text-align: left;
  background: rgba(120, 30, 30, 0.22);
  border: 1px solid rgba(255, 120, 120, 0.35);
  border-radius: var(--radius);
  color: #ffd6d6;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-error:not([hidden]) + .form-success {
  margin-top: 0.75rem;
}

.contact-form-panel.is-success {
  padding: 2.25rem 1.5rem 2.5rem;
}

.contact-form-panel.is-success .form-success {
  margin: 0;
  padding: 1.5rem 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  margin: 0;
  padding: 1.75rem 2rem 2rem;
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* [hidden] must win over component display rules */
.contact-form[hidden],
#contact-form-head[hidden] {
  display: none !important;
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.contact-form .form-label {
  display: block;
  order: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.35;
}

.contact-form .form-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-muted);
}

.contact-form .form-input,
.contact-form textarea.form-input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg-deep);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form textarea.form-input {
  vertical-align: top;
  min-height: 7.5rem;
  resize: vertical;
  line-height: 1.55;
}

.contact-form .form-input::placeholder {
  color: var(--text-subtle);
  opacity: 1;
}

.contact-form .form-input:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-form .form-input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form .form-input:-webkit-autofill,
.contact-form .form-input:-webkit-autofill:hover,
.contact-form .form-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px var(--bg-deep) inset;
  transition: background-color 99999s ease-out;
}

.contact-form .form-row--message .form-label {
  margin-bottom: 0;
}

.contact-form .form-row--message textarea {
  margin-top: 0;
}

.form-actions {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
}

.form-submit {
  position: relative;
  width: 100%;
  min-height: 3.35rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 100%);
  color: #000000;
  border: 3px solid #000000;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px var(--accent-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.form-submit-text {
  transition: opacity 0.2s ease;
}

.form-submit-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.35rem;
  height: 1.35rem;
  margin: -0.675rem 0 0 -0.675rem;
  border: 3px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000000;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.form-submit.is-loading .form-submit-text {
  opacity: 0;
}

.form-submit.is-loading .form-submit-spinner {
  opacity: 1;
  animation: form-spin 0.65s linear infinite;
}

.form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--accent-glow);
}

.form-submit:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

@media (max-width: 480px) {
  .contact-form-head {
    padding: 1.5rem 1.2rem 1.2rem;
  }

  .contact-layout .contact-form-head {
    padding: 1.05rem 1.2rem 1rem;
  }

  .contact-form {
    padding: 1.35rem 1.2rem 1.5rem;
  }

  .form-success {
    margin-left: 1.2rem;
    margin-right: 1.2rem;
  }

  .form-error {
    margin-left: 1.2rem;
    margin-right: 1.2rem;
  }
}

/* Footer */
.site-footer {
  padding: 2rem 1.25rem;
  border-top: 3px solid rgba(37, 99, 235, 0.35);
  background: var(--bg-deep);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.footer-inner a {
  color: var(--text-subtle);
}

/* Service cards as links */
a.service-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.service-card:hover {
  text-decoration: none;
  color: inherit;
}

a.service-card .service-more {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

/* Subpages: top clearance is on .hero.subpage-hero .hero-content only; padding-top on the hero section shows as a black bar above the image */

.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
  font-size: 0.88rem;
  color: var(--text-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumb a {
  color: var(--text-subtle);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.hero-subpage-headline {
  width: 100%;
}

.hero.subpage-hero .breadcrumb {
  margin: 0;
  padding: 0;
  font-size: 1.06rem;
  line-height: 1.45;
  letter-spacing: 0.03em;
  max-width: none;
  align-self: flex-start;
}

.hero.subpage-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.hero.subpage-hero .breadcrumb a:hover {
  color: var(--accent-bright);
}

.hero.subpage-hero .breadcrumb [aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
}

.hero.subpage-hero .breadcrumb span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.42);
}

.hero.subpage-hero h1 {
  max-width: none;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.hero.subpage-hero .subpage-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: var(--section-copy-max);
  margin: 0;
}

.service-detail {
  padding: 3.75rem clamp(1.35rem, 4.5vw, 2.25rem) 4rem;
}

.service-detail-inner {
  max-width: var(--subpage-inner-max);
  margin: 0 auto;
}

.service-detail-inner h2 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.service-detail-inner h2:first-of-type {
  margin-top: 0;
}

.service-detail-inner p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.service-detail--our-story .service-detail-inner p {
  font-size: clamp(1.15rem, 2.1vw, 1.32rem);
  line-height: 1.65;
}

.service-detail-inner ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.service-detail-inner li {
  margin-bottom: 0.5rem;
}

.service-detail-visual {
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.service-detail-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 380px;
}

/* Before / after image slider */
.ba-slider {
  --ba-pos: 50%;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.ba-slider__viewport {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  max-height: min(420px, 70vh);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  touch-action: none;
  user-select: none;
  background: var(--bg-card);
  cursor: pointer;
}

.ba-slider__after,
.ba-slider__before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-slider__before {
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}

.ba-slider__handle {
  position: absolute;
  left: var(--ba-pos);
  top: 0;
  bottom: 0;
  width: 48px;
  margin-left: -24px;
  z-index: 2;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.ba-slider__handle:active {
  cursor: grabbing;
}

.ba-slider__handle:focus {
  outline: none;
}

.ba-slider__handle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.ba-slider__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.ba-slider__handle::after {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 16, 17, 0.92);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.ba-slider__meta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ba-slider__meta span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.ba-slider__hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .ba-slider__handle:active {
    cursor: pointer;
  }
}

.related-services {
  padding: 3rem clamp(1.35rem, 4.5vw, 2.25rem) 4rem;
  background: var(--bg-elevated);
  border-top: 3px solid rgba(37, 99, 235, 0.3);
}

.related-services h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.related-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

.related-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-card);
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-display);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s ease;
}

.related-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.05);
  text-decoration: none;
}

.related-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-deep);
}

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

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

@media (prefers-reduced-motion: reduce) {
  .related-card-media img {
    transition: none;
  }

  .related-card:hover .related-card-media img {
    transform: none;
  }
}

.related-card-text {
  display: block;
  padding: 1rem 1.25rem 1.15rem;
  text-align: left;
}

.related-card-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}

.related-card-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 0.35rem;
}

/* Location pages: text-only related links (no image) */
.related-grid > a:not(.related-card) {
  display: block;
  padding: 1.1rem 1.25rem;
  background: var(--bg-card);
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-display);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.related-grid > a:not(.related-card):hover {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.05);
  text-decoration: none;
}

.related-grid > a:not(.related-card) span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 0.35rem;
}
