/* ShineRight — final component refinements loaded after the legacy cascade. */

.package-card--featured .package-cta:hover,
.package-card--featured .package-cta:focus-visible {
  color: var(--color-black);
  background: var(--color-white);
}

.black-section-stack .process-sec.process-horizontal,
.process-sec.process-horizontal {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: #080909;
  border: 0;
}

.process-horizontal__runway {
  position: relative;
  height: 500svh;
  margin: 0;
  background: #080909;
}

.process-horizontal__stage {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: 43% 57%;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
  background: #080909;
  border: 0;
}

.process-horizontal__motion-zone {
  position: relative;
  z-index: 2;
  min-height: 0;
  overflow: hidden;
  background: #e5e7eb;
}

.process-horizontal__motion-zone::before,
.process-horizontal__motion-zone::after { display: none; content: none; }

.process-horizontal__ghost {
  position: absolute;
  z-index: 1;
  bottom: -.04em;
  left: 0;
  color: rgba(0,0,0,.055);
  font-family: var(--font-display);
  font-size: clamp(118px, 13.5vw, 300px);
  font-weight: 700;
  line-height: .78;
  letter-spacing: -.04em;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
}

.process-horizontal__vehicle {
  position: absolute;
  z-index: 4;
  bottom: -7%;
  left: 0;
  width: clamp(220px, 21vw, 470px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(0,0,0,.24));
  will-change: transform;
}

.process-horizontal__points {
  position: relative;
  z-index: 3;
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: clamp(66px, 8svh, 112px) 0 clamp(62px, 8svh, 116px);
  overflow: hidden;
  color: var(--color-white);
  background: #080909;
  border: 0;
}

.process-horizontal__track {
  display: flex;
  align-items: stretch;
  gap: clamp(46px, 5vw, 116px);
  width: max-content;
  min-height: 100%;
  padding: 0 var(--side-pad);
  will-change: transform;
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .process-horizontal__vehicle { transform: translate3d(-110%, 0, 0); }
  .process-horizontal__ghost,
  .process-horizontal__track { transform: translate3d(88vw, 0, 0); }
}

.process-intro-card,
.process-point,
.process-point:first-child,
.process-point:first-of-type {
  flex: 0 0 clamp(330px, 28vw, 570px);
  width: clamp(330px, 28vw, 570px);
  min-height: clamp(270px, 33svh, 430px);
  margin: 0;
  padding: clamp(30px, 3vw, 58px) 0;
  opacity: 1;
  transform: none;
  transition: none;
}

.process-intro-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(34px, 4vw, 84px);
}

.process-intro-card h2 {
  max-width: 7ch;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(74px, 7vw, 152px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.048em;
  text-transform: uppercase;
}

.process-intro-card p {
  max-width: 36ch;
  margin-top: clamp(28px, 3vw, 54px);
  color: rgba(255,255,255,.6);
  font-size: clamp(16px, .38vw + 13px, 21px);
  line-height: 1.55;
}

.process-point,
.process-point:first-child,
.process-point:first-of-type {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(34px, 4vw, 84px);
  border: 0;
  border-left: 1px solid rgba(255,255,255,.1);
}

.process-point__marker,
.process-point:first-child .process-point__marker {
  position: static;
  display: grid;
  place-items: center;
  width: clamp(54px, 4vw, 76px);
  height: clamp(54px, 4vw, 76px);
  margin: 0 0 clamp(30px, 3vw, 52px);
  padding: clamp(12px, 1vw, 18px);
  color: var(--color-black);
  background: var(--process-accent);
  border: 0;
  border-radius: 18px;
}

.process-point__marker img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-point__number {
  margin-bottom: 12px;
  color: rgba(255,255,255,.35);
  font-family: var(--font-small);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.process-point__kicker {
  display: block;
  color: var(--process-accent);
  font-family: var(--font-small);
  font-size: clamp(9px, .15vw + 8px, 11px);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.process-point h3 {
  margin-top: 16px;
  color: var(--color-white);
  font-size: clamp(25px, 1.55vw, 38px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.process-point p {
  max-width: 32ch;
  margin-top: 18px;
  color: rgba(255,255,255,.58);
  font-size: clamp(14px, .25vw + 12px, 17px);
  line-height: 1.55;
}

.process-point.is-active,
.process-point:not(.is-active) { opacity: 1; transform: none; }

.process-horizontal__road,
.process-horizontal__road-line,
.process-horizontal__road-dash { display: none !important; }

.black-section-stack--secondary,
.black-section-stack--secondary .features-sec {
  margin-top: -1px;
  background: var(--color-black);
  border-top: 0;
}

.site-footer .footer-conversion {
  background: #050606;
  border: 0;
}

.site-footer .footer-conversion::before,
.site-footer .footer-conversion::after { display: none !important; content: none !important; }

.site-footer .footer-wordmark-stage {
  display: block;
  width: 100%;
  min-height: 0;
  padding: clamp(34px, 4vw, 78px) clamp(8px, .8vw, 18px) clamp(22px, 2.2vw, 48px);
  overflow: visible;
  color: var(--color-white);
  background: #050606;
}

.footer-wordmark-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.footer-wordmark-svg text {
  fill: var(--color-white);
  font-family: var(--font-brand);
  font-size: 204px;
  font-weight: 800;
  letter-spacing: -.065em;
}

@media (max-width: 900px) {
  .black-section-stack .process-sec.process-horizontal,
  .process-sec.process-horizontal { background: #080909; }

  .process-horizontal__runway { height: auto; background: #080909; }

  .process-horizontal__stage {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: clamp(78px, 22vw, 112px) minmax(0, 1fr);
    grid-template-rows: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    background: #080909;
  }

  .process-horizontal__motion-zone {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    min-height: 100%;
    overflow: visible;
    background: #080909;
  }

  .process-horizontal__ghost { display: none; }

  .process-horizontal__vehicle {
    position: sticky;
    top: 24vh;
    left: auto;
    bottom: auto;
    width: clamp(180px, 53vw, 250px);
    max-width: none;
    height: auto;
    margin: clamp(150px, 20vh, 230px) 0 0 calc(clamp(180px, 53vw, 250px) * -.34);
    transform: rotate(90deg) !important;
    transform-origin: center;
    filter: drop-shadow(0 16px 20px rgba(0,0,0,.42));
  }

  .process-horizontal__points {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding: clamp(92px, 14vw, 150px) var(--side-pad) clamp(110px, 18vw, 180px) clamp(22px, 5vw, 48px);
    overflow: visible;
    background: #080909;
  }

  .process-horizontal__track {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    transform: none !important;
  }

  .process-intro-card,
  .process-point,
  .process-point:first-child,
  .process-point:first-of-type {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: clamp(58px, 12vw, 100px) 0;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.11);
    opacity: 1;
    transform: none;
  }

  .process-intro-card { padding-top: 0; border-top: 0; }
  .process-intro-card h2 { font-size: clamp(62px, 15vw, 104px); }
  .process-intro-card p { margin-top: 30px; font-size: clamp(15px, 3.8vw, 19px); }
  .process-point__marker { width: 58px; height: 58px; margin-bottom: 34px; border-radius: 15px; }
  .process-point h3 { font-size: clamp(28px, 7vw, 42px); }
  .process-point p { font-size: clamp(15px, 3.6vw, 18px); }
  .site-footer .footer-wordmark-stage { padding: 34px 6px 24px; overflow: visible; }
}

@media (max-width: 420px) {
  .process-horizontal__stage { grid-template-columns: 76px minmax(0, 1fr); }
  .process-horizontal__vehicle { width: 190px; margin-left: -64px; }
  .process-horizontal__points { padding-right: 18px; padding-left: 18px; }
  .process-intro-card h2 { font-size: clamp(54px, 15vw, 68px); }
  .process-point h3 { font-size: 28px; }
  .footer-wordmark-svg text { font-size: 198px; }
}

@media (prefers-reduced-motion: reduce) and (min-width: 901px) {
  .process-horizontal__runway { height: auto; }
  .process-horizontal__stage { position: relative; height: auto; min-height: 850px; }
  .process-horizontal__track { width: 100%; transform: none !important; }
  .process-intro-card,
  .process-point { flex: 1 1 0; width: auto; min-width: 0; }
  .process-horizontal__vehicle { transform: translateX(10vw) !important; }
}

/* ── Final responsive and interaction pass ─────────────────────────────── */

/* Specialist deck: balanced section spacing and a slightly lower desktop
   settling line, clear of the fixed navigation. */
.specialty-showcase .selector-outer.treatment-section {
  --treatment-section-space: clamp(104px, 8vw, 190px);
  padding-top: var(--treatment-section-space);
  padding-bottom: var(--treatment-section-space);
}

@media (min-width: 901px) {
  .specialty-showcase {
    --stack-sticky-top: clamp(185px, 24.5svh, 285px);
    --stack-base-top: 0px;
  }

  .treatment-stack-item { height: 73svh; }
  .treatment-stack-card-shell { height: clamp(540px, 58svh, 660px); }
  .treatment-stack-card { height: 100%; min-height: 0; }

  .rw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(30px, 3vw, 72px);
  }

  .rw-cmp { aspect-ratio: 16 / 10.5; }
}

.cmp-label {
  top: clamp(14px, 1.15vw, 24px);
  padding: 8px 13px;
  color: rgba(255,255,255,.92);
  background: rgba(5,6,6,.7);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: clamp(9px, .18vw + 8px, 12px);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cmp-label.before { left: clamp(14px, 1.15vw, 24px); }
.cmp-label.after { right: clamp(14px, 1.15vw, 24px); }

/* The route finishes with the fourth card still in frame; only the van exits. */
.process-horizontal__runway { height: 360svh; }
.process-horizontal__points { background: var(--color-black); }
.process-point__marker,
.process-point:first-child .process-point__marker {
  width: clamp(50px, 3.6vw, 70px);
  height: clamp(50px, 3.6vw, 70px);
  padding: 5px;
  color: var(--color-white);
  background: transparent;
  border: 0;
  border-radius: 0;
}
.process-point__marker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* A single dedicated GSAP reveal owns these frames; GPU promotion prevents the
   lazy-loaded image from snapping during its first composited frame. */
.feat-img {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: clip-path;
}
.feat-img img {
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
}

/* Smoother Leaflet compositing and more comfortable controls. */
.map-canvas-wrap,
#map,
.leaflet-map-pane,
.leaflet-tile-pane { transform: translateZ(0); }
.leaflet-tile {
  will-change: auto;
  backface-visibility: hidden;
  image-rendering: auto;
}
.leaflet-control-zoom a {
  width: 42px !important;
  height: 42px !important;
  line-height: 40px !important;
  color: var(--color-white) !important;
  background: rgba(8,9,9,.9) !important;
  border-color: rgba(255,255,255,.14) !important;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.leaflet-control-zoom a:hover,
.leaflet-control-zoom a:focus-visible {
  color: var(--color-black) !important;
  background: var(--color-accent) !important;
}

/* Footer lockup now belongs to the core footer and scales as one grid row. */
.site-footer .footer-wordmark-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 2.4vw, 58px);
  width: 100%;
  min-height: 0;
  padding: clamp(42px, 4vw, 82px) var(--side-pad);
  overflow: visible;
  color: rgba(255,255,255,.32);
  background: #080909;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 0;
}
.footer-wordmark-logo {
  display: grid;
  place-items: center;
  width: clamp(64px, 6.5vw, 150px);
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  transition: opacity .35s ease, filter .35s ease, transform .35s ease;
}
.footer-wordmark-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .32;
  transition: opacity .35s ease, filter .35s ease, transform .35s ease;
}
.footer-wordmark-svg {
  display: block;
  width: 100%;
  height: clamp(92px, 11vw, 240px);
  overflow: visible;
  color: rgba(255,255,255,.32);
  transition: color .35s ease, opacity .35s ease, transform .35s ease;
}
.footer-wordmark-svg text {
  fill: currentColor;
  font-family: var(--font-brand);
  font-size: 204px;
  font-weight: 800;
  letter-spacing: -.055em;
}
/* The drawer is a true full-screen layer. Its header occupies the same inset
   and height as the mobile navbar, creating a continuous logo/menu transition. */
.overlay {
  display: block;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  background: rgba(0,0,0,.28);
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.overlay.on {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition-delay: 0s;
}
.drawer {
  inset: 0;
  display: flex;
  width: 100%;
  height: 100dvh;
  padding: 6px 6px max(24px, env(safe-area-inset-bottom));
  gap: 0;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  background: #050606;
}
.drawer.on { display: flex; visibility: visible; pointer-events: auto; transform: translateX(0); }
.drawer-head {
  flex: 0 0 auto;
  min-height: 66px;
  margin: 0 0 clamp(24px, 5vh, 48px);
  padding: 0 7px 0 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
}
.drawer .drawer-logo {
  min-height: 64px;
  padding: 0;
  border: 0;
  overflow: visible;
}
.drawer .drawer-logo::before { display: none; }
.drawer .logo-mark { height: 38px; }
.drawer .logo-text { color: var(--color-white); }
.btn-close {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  color: var(--color-white);
  background: rgba(255,255,255,.1);
  border-radius: 10px;
}
.btn-close span {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 25px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}
.btn-close span:first-child { transform: rotate(45deg); }
.btn-close span:last-child { transform: rotate(-45deg); }
.drawer-nav {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 0 clamp(10px, 3vw, 32px);
  gap: 10px;
}
.drawer-nav a { min-height: clamp(72px, 11vh, 106px); padding: 0 clamp(18px, 4vw, 34px); }
.drawer-note,
.drawer-book {
  width: min(100%, 760px);
  margin-right: auto;
  margin-left: auto;
  padding-right: clamp(10px, 3vw, 32px);
  padding-left: clamp(10px, 3vw, 32px);
}
.drawer-note { margin-top: auto; padding-top: 36px; }
.drawer-book { margin-top: 24px; }
.drawer-book .btn-book {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 22px;
  line-height: 1;
}
body.drawer-open .navbar { opacity: 0; pointer-events: none; transition: opacity .18s ease; }

@media (max-width: 900px) {
  /* Expansion belongs to spacious desktop canvases only. */
  .black-stack-shell,
  .grey-stack-shell,
  .black-stack-shell.expanded,
  .grey-stack-shell.expanded {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .navbar {
    top: 6px;
    width: calc(100% - 12px);
    min-height: 66px;
    padding: 0;
    border-radius: 16px;
  }

  .navbar .logo { padding: 0 14px; }
  .navbar .btn-menu { margin: 7px; }

  .hero {
    min-height: auto;
    padding: clamp(136px, 21vw, 168px) 0 0;
    overflow: hidden;
  }
  .hero-inner { gap: 26px; }
  .hero-left { min-width: 0; }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(62px, 15.5vw, 104px);
    line-height: .88;
    overflow-wrap: normal;
  }
  .hero-sub {
    max-width: 36ch;
    margin-bottom: 30px;
    font-size: clamp(17px, 4.1vw, 21px);
  }
  .hero-actions { align-items: flex-start; }
  .hero-actions a,
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: auto;
    max-width: 100%;
    padding: 16px 22px;
    justify-content: center;
  }
  .hero-visual {
    display: flex;
    width: 100%;
    min-height: clamp(260px, 70vw, 460px);
    margin: 0 0 -20px;
    align-items: flex-end;
    justify-content: center;
  }
  .hero-img-placeholder {
    width: min(760px, 114vw);
    aspect-ratio: 4 / 3;
  }
  .hero-img-placeholder img { transform: scale(1.08) translateY(1%); }

  .specialty-showcase .selector-outer.treatment-section {
    --treatment-section-space: clamp(82px, 15vw, 122px);
  }

  .process-horizontal__runway { height: auto; }
  .process-horizontal__stage {
    grid-template-columns: clamp(104px, 27vw, 126px) minmax(0, 1fr);
    overflow: visible;
  }
  .process-horizontal__motion-zone {
    min-height: 100%;
    overflow: visible;
  }
  .process-horizontal__vehicle {
    top: 106px;
    width: 168px;
    margin: clamp(100px, 16vh, 170px) 0 0 -24px;
    transform: rotate(90deg) !important;
  }
  .process-horizontal__points {
    padding: clamp(104px, 17vw, 150px) var(--side-pad) clamp(96px, 16vw, 150px) clamp(18px, 4vw, 34px);
    background: var(--color-black);
  }
  .process-point__marker,
  .process-point:first-child .process-point__marker {
    width: 54px;
    height: 54px;
    margin-bottom: 30px;
    padding: 4px;
    background: transparent;
    border-radius: 0;
  }

  .site-footer .footer-wordmark-stage {
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(14px, 3.5vw, 26px);
    min-height: 0;
    padding: 38px var(--side-pad);
  }
  .footer-wordmark-logo { width: clamp(48px, 13vw, 76px); }
  .footer-wordmark-svg { height: clamp(62px, 15vw, 104px); }
}

@media (max-width: 640px) {
  :root { --side-pad: 18px; }
  .drawer-nav a {
    min-height: 76px;
    font-size: clamp(38px, 13vw, 58px);
  }
  .drawer-note { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-visual { min-height: clamp(240px, 78vw, 390px); }
  .rw-grid { gap: 34px; }
  .rw-cmp { aspect-ratio: 4 / 3; border-radius: 28px; }
}

@media (max-width: 420px) {
  :root { --side-pad: 16px; }
  .navbar .logo-text { display: none; }
  .navbar .logo-mark { height: 34px; }
  .drawer .logo-text { display: inline-flex; font-size: 18px; }
  .drawer .logo-mark { height: 36px; }
  .drawer-nav { padding-right: 8px; padding-left: 8px; }
  .drawer-nav a { min-height: 70px; padding: 0 16px; font-size: clamp(34px, 12vw, 46px); }
  .drawer-note,
  .drawer-book { padding-right: 8px; padding-left: 8px; }
  .hero { padding-top: 128px; }
  .hero h1 { font-size: clamp(55px, 17.2vw, 70px); }
  .hero-badge { margin-bottom: 22px; font-size: 11px; }
  .hero-actions a,
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: auto; min-height: 54px; padding: 15px 20px; }
  .hero-visual { min-height: 250px; margin-top: 4px; }
  .hero-img-placeholder { width: 120vw; }
  .process-horizontal__stage { grid-template-columns: 104px minmax(0, 1fr); }
  .process-horizontal__vehicle { top: 98px; width: 154px; margin-top: 96px; margin-left: -25px; }
  .process-horizontal__points { padding-right: 16px; padding-left: 12px; }
  .process-intro-card h2 { font-size: clamp(50px, 15.8vw, 66px); }
  .process-intro-card p,
  .process-point p { font-size: 15px; }
  .process-point h3 { font-size: clamp(25px, 8vw, 30px); }
  .site-footer .footer-wordmark-stage { padding: 30px 16px; }
  .footer-wordmark-logo { width: 44px; }
  .footer-wordmark-svg { height: 58px; }
}

@media (max-width: 340px) {
  :root { --side-pad: 14px; }
  html, body { min-width: 320px; overflow-x: hidden; }
  .navbar { width: calc(100% - 10px); top: 5px; }
  .navbar .logo { padding: 0 10px; }
  .navbar .btn-menu { width: 50px; height: 50px; margin: 7px 5px; }
  .drawer { min-width: 320px; padding: 5px; }
  .drawer-head { padding-right: 5px; padding-left: 9px; }
  .drawer-nav a { min-height: 66px; font-size: 36px; }
  .hero { padding-top: 124px; }
  .hero h1 { font-size: 54px; }
  .hero-sub { font-size: 16px; }
  .hero-visual { min-height: 232px; }
  .treatment-stack { padding-right: 10px; padding-left: 10px; }
  .treatment-stack-card__content { padding-right: 16px; padding-left: 16px; }
  .process-horizontal__stage { grid-template-columns: 98px minmax(0, 1fr); }
  .process-horizontal__vehicle { width: 146px; margin-left: -24px; }
  .process-horizontal__points { padding-right: 14px; padding-left: 10px; }
  .process-intro-card h2 { font-size: 49px; }
  .footer-link-columns { grid-template-columns: 1fr; }
}

/* ── Final alignment, motion and brand-interaction pass ─────────────────── */

/* Keep the real navbar in place beneath the full-screen drawer so it is
   revealed continuously while the drawer exits. */
body.drawer-open .navbar {
  opacity: 1;
  pointer-events: none;
  transform: translateX(-50%);
  transition: background .28s ease, color .28s ease, border-color .28s ease;
}

.drawer-nav a {
  position: relative;
  justify-content: center;
  text-align: center;
}
.drawer-nav a span {
  position: absolute;
  right: clamp(18px, 4vw, 34px);
  top: 50%;
  transform: translateY(-50%);
}
.drawer-book { margin-top: auto; }

/* Desktop hero content uses the usable viewport below the floating navbar. */
@media (min-width: 901px) {
  .hero {
    min-height: 100svh;
    padding-top: clamp(112px, 8svh, 150px);
    padding-bottom: clamp(56px, 6svh, 96px);
  }
  .hero-inner {
    align-items: center;
    min-height: calc(100svh - clamp(168px, 14svh, 246px));
  }
  .hero-visual {
    align-self: center;
    margin-bottom: clamp(-56px, -3vw, -24px);
  }
}

/* Taller cards settle on a lower shared line. The compact-height rule keeps
   the same balance on laptop viewports without crowding the bottom edge. */
@media (min-width: 901px) {
  .specialty-showcase {
    --stack-sticky-top: clamp(220px, 27svh, 310px);
    --stack-base-top: 0px;
  }
  .treatment-stack::after { height: clamp(300px, 42svh, 520px); }
  .treatment-stack-item { height: 79svh; min-height: 680px; }
  .treatment-stack-card-shell { height: clamp(620px, 64svh, 760px); }
  .treatment-stack-card { height: 100%; min-height: 620px; }
  .treatment-stack-card__content { padding: clamp(34px, 3vw, 62px); }
  .treatment-stack-card__copy { padding: clamp(42px, 5svh, 76px) 0 clamp(40px, 5svh, 72px); }
}

@media (min-width: 901px) and (max-height: 850px) {
  .specialty-showcase { --stack-sticky-top: clamp(142px, 20svh, 182px); }
  .treatment-stack::after { height: clamp(230px, 34svh, 330px); }
  .treatment-stack-item { height: 84svh; min-height: 580px; }
  .treatment-stack-card-shell { height: clamp(570px, 72svh, 650px); }
  .treatment-stack-card { min-height: 570px; }
  .treatment-stack-card__content { padding: 28px 34px; }
  .treatment-stack-card__copy { padding: 28px 0 32px; }
}

/* Desktop story elements share one off-canvas origin. JavaScript reveals and
   advances them together, preventing a sliver from showing on first entry. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .process-horizontal__track,
  .process-horizontal__ghost { opacity: 0; }
}

/* One balanced Sora lockup. The canvas is an accent-colour proximity layer;
   the underlying mark stays deliberately quiet until the user explores it. */
.site-footer .footer-wordmark-stage {
  --footer-brand-size: clamp(40px, 12vw, 240px);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 2.4vw, 54px);
  width: 100%;
  padding: clamp(48px, 5vw, 96px) var(--side-pad);
  overflow: hidden;
  color: rgba(255,255,255,.3);
  background: #080909;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-wordmark-logo,
.footer-wordmark-text {
  position: relative;
  z-index: 2;
  opacity: .88;
}
.footer-wordmark-logo {
  display: flex;
  align-items: center;
  width: auto;
  height: clamp(34px, 9.4vw, 188px);
  padding: 0;
  background: transparent;
  border: 0;
}
.footer-wordmark-logo img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 1;
  transition: none;
}
.footer-wordmark-text {
  display: block;
  min-width: 0;
  color: currentColor;
  font-family: var(--font-brand), "Sora", sans-serif;
  font-size: var(--footer-brand-size);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer-wordmark-pixels {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: clamp(128px, 22vw, 164px) 0 0;
    overflow: hidden;
  }
  .hero-inner { gap: 30px; }
  .hero-left { width: 100%; }
  .hero h1 {
    max-width: 100%;
    margin: 0 0 28px;
    font-size: clamp(54px, 14.8vw, 78px);
    line-height: .88;
    letter-spacing: -.035em;
    text-align: left;
  }
  .hero h1 span,
  .hero h1 em { margin: 0; padding: 0; text-indent: 0; }
  .hero h1 em { display: block; }
  .hero-sub {
    max-width: 31ch;
    margin: 0 0 28px;
    font-size: clamp(16px, 4vw, 19px);
    line-height: 1.5;
  }
  .hero-actions { align-items: flex-start; }
  .hero-visual {
    width: calc(100% + (var(--side-pad) * 2));
    min-height: clamp(270px, 76vw, 430px);
    margin: 0 calc(var(--side-pad) * -1) -18px;
    overflow: visible;
    align-items: flex-end;
    justify-content: center;
  }
  .hero-img-placeholder {
    width: min(720px, 142vw);
    max-width: none;
    aspect-ratio: 5 / 4;
    flex: 0 0 auto;
  }
  .hero-img-placeholder img {
    object-fit: contain;
    object-position: center bottom;
    transform: scale(1.04) translateY(0);
  }

  .process-sec.process-horizontal { overflow: hidden; }
  .process-horizontal__stage {
    --process-mobile-top-pad: clamp(116px, 18vw, 150px);
    grid-template-columns: clamp(104px, 27vw, 128px) minmax(0, 1fr);
    align-items: stretch;
    overflow: visible;
  }
  .process-horizontal__motion-zone {
    min-height: 100%;
    padding-bottom: clamp(94px, 17vw, 132px);
    overflow: visible;
  }
  .process-horizontal__vehicle {
    position: sticky;
    top: clamp(132px, 18vh, 160px);
    left: auto;
    bottom: auto;
    display: block;
    width: clamp(158px, 42vw, 180px);
    max-width: none;
    margin: calc(var(--process-mobile-top-pad) + 28px) 0 0 50%;
    transform: translateX(-50%) rotate(90deg) !important;
    transform-origin: center;
  }
  .process-horizontal__points {
    padding: var(--process-mobile-top-pad) var(--side-pad) clamp(74px, 14vw, 112px) clamp(18px, 4vw, 34px);
  }
  .process-horizontal__track,
  .process-horizontal__ghost { opacity: 1; }

  .site-footer .footer-wordmark-stage {
    --footer-brand-size: clamp(38px, 12vw, 96px);
    gap: clamp(11px, 3vw, 24px);
    padding: clamp(38px, 10vw, 66px) var(--side-pad);
  }
  .footer-wordmark-logo { width: auto; height: clamp(32px, 9.4vw, 76px); }
  .footer-wordmark-text { font-size: var(--footer-brand-size); }
}

@media (max-width: 420px) {
  .drawer-nav a span { right: 16px; }
  .hero { padding-top: 124px; }
  .hero h1 { font-size: clamp(52px, 16vw, 66px); }
  .hero-badge { max-width: 28ch; line-height: 1.35; }
  .hero-visual { min-height: clamp(250px, 82vw, 340px); }
  .hero-img-placeholder { width: 154vw; }
  .process-horizontal__stage { grid-template-columns: 102px minmax(0, 1fr); }
  .process-horizontal__vehicle { width: 158px; }
  .process-horizontal__points { padding-left: 12px; }
  .site-footer .footer-wordmark-stage {
    --footer-brand-size: clamp(36px, 11.8vw, 50px);
    gap: 10px;
    padding-right: 16px;
    padding-left: 16px;
  }
  .footer-wordmark-logo { height: clamp(30px, 9vw, 38px); }
}

@media (max-width: 340px) {
  .hero h1 { font-size: 51px; }
  .hero-sub { font-size: 15px; }
  .hero-visual { min-height: 250px; }
  .process-horizontal__stage { grid-template-columns: 96px minmax(0, 1fr); }
  .process-horizontal__vehicle { width: 150px; }
  .process-horizontal__points { padding-right: 14px; padding-left: 10px; }
  .site-footer .footer-wordmark-stage {
    --footer-brand-size: 35px;
    gap: 8px;
    padding-right: 14px;
    padding-left: 14px;
  }
  .footer-wordmark-logo { height: 29px; }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .footer-wordmark-pixels { display: none; }
}

/* ── Brand-mask and compact mobile hero correction ─────────────────────── */

.hero-title-tail { display: block; }

/* The lockup is deliberately sized below the available row width rather than
   stretched. Each pixel layer is clipped to its own artwork. */
.site-footer .footer-wordmark-stage {
  --footer-brand-size: clamp(34px, 10vw, 205px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 1.8vw, 38px);
  padding: clamp(58px, 6vw, 120px) var(--side-pad);
  overflow: hidden;
  color: rgba(255,255,255,.3);
}

.footer-pixel-target {
  --pixel-x: 50%;
  --pixel-y: 50%;
  --pixel-radius: clamp(84px, 11vw, 220px);
  position: relative;
  isolation: isolate;
}

.footer-wordmark-logo {
  width: auto;
  height: clamp(27px, 7.7vw, 158px);
  opacity: 1;
}
.footer-wordmark-logo img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 100%;
  opacity: .3;
  filter: brightness(0) invert(1);
  transition: opacity .28s ease;
}

.footer-wordmark-text {
  width: max-content;
  max-width: 100%;
  overflow: visible;
  color: var(--color-white);
  font-family: var(--font-brand), "Sora", sans-serif;
  font-size: var(--footer-brand-size);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.08em;
  opacity: 1;
}
.footer-wordmark-label {
  position: relative;
  z-index: 1;
  display: block;
  opacity: .3;
  transition: opacity .28s ease;
}

.footer-wordmark-logo-pixels,
.footer-wordmark-pixel-text {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .24s ease;
  -webkit-mask-image: radial-gradient(circle var(--pixel-radius) at var(--pixel-x) var(--pixel-y), #000 0 34%, rgba(0,0,0,.82) 58%, transparent 100%);
  mask-image: radial-gradient(circle var(--pixel-radius) at var(--pixel-x) var(--pixel-y), #000 0 34%, rgba(0,0,0,.82) 58%, transparent 100%);
}

.footer-wordmark-logo-pixels {
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-image:
    url("../images/brand/shineright-logo.png"),
    radial-gradient(circle var(--pixel-radius) at var(--pixel-x) var(--pixel-y), #000 0 34%, rgba(0,0,0,.82) 58%, transparent 100%);
  mask-image:
    url("../images/brand/shineright-logo.png"),
    radial-gradient(circle var(--pixel-radius) at var(--pixel-x) var(--pixel-y), #000 0 34%, rgba(0,0,0,.82) 58%, transparent 100%);
  -webkit-mask-repeat: no-repeat, no-repeat;
  mask-repeat: no-repeat, no-repeat;
  -webkit-mask-position: center, center;
  mask-position: center, center;
  -webkit-mask-size: contain, 100% 100%;
  mask-size: contain, 100% 100%;
}

.footer-wordmark-logo-pixels > span,
.footer-wordmark-pixel-text {
  background-image: radial-gradient(circle, #effffb 0 1px, #8de8d0 1.15px 1.7px, var(--color-accent) 1.85px 2.35px, transparent 2.55px);
  background-size: 9px 9px;
}
.footer-wordmark-logo-pixels > span {
  position: absolute;
  inset: 0;
}

.footer-wordmark-pixel-text {
  display: block;
  color: transparent;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
  -webkit-background-clip: text;
  background-clip: text;
}

.footer-pixel-target.is-pixel-active .footer-wordmark-logo-pixels,
.footer-pixel-target.is-pixel-active .footer-wordmark-pixel-text { opacity: 1; }
.footer-pixel-target.is-pixel-active img,
.footer-pixel-target.is-pixel-active .footer-wordmark-label { opacity: .42; }
.footer-pixel-target.is-pixel-active .footer-wordmark-logo-pixels > span,
.footer-pixel-target.is-pixel-active .footer-wordmark-pixel-text {
  animation: footerPixelShimmer .75s steps(4, end) infinite alternate;
}

@keyframes footerPixelShimmer {
  from { background-position: 0 0; filter: brightness(.92); }
  to { background-position: 3px 3px; filter: brightness(1.22); }
}

@media (max-width: 900px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .hero-actions { margin-bottom: clamp(26px, 7vw, 46px); }
  .hero-visual {
    height: auto;
    min-height: 0;
    margin-top: 0;
    margin-bottom: -10px;
  }
  .hero-img-placeholder {
    height: auto;
    aspect-ratio: 5 / 4;
  }

  .site-footer .footer-wordmark-stage {
    --footer-brand-size: clamp(34px, 10vw, 80px);
    gap: clamp(8px, 2vw, 16px);
    padding: clamp(46px, 8vw, 66px) var(--side-pad);
  }
  .footer-wordmark-logo { height: clamp(27px, 7.7vw, 62px); }
}

@media (max-width: 420px) {
  .hero h1 em,
  .hero-title-tail { display: block; }
  .hero-actions { margin-bottom: 24px; }
  .hero-visual {
    width: calc(100% + (var(--side-pad) * 2));
    margin: 0 calc(var(--side-pad) * -1) -8px;
  }
  .hero-img-placeholder { width: 100vw; }

  .site-footer .footer-wordmark-stage {
    --footer-brand-size: clamp(32px, 10vw, 42px);
    gap: 8px;
    padding-right: 14px;
    padding-left: 14px;
  }
  .footer-wordmark-logo { height: clamp(25px, 7.7vw, 33px); }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .footer-wordmark-logo-pixels,
  .footer-wordmark-pixel-text { display: none; }
}

/* ── Image-based footer lockup: one row, equal visual height, one mask each. */
.site-footer .footer-wordmark-stage {
  display: grid;
  grid-template-columns: minmax(0, .18fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(12px, 2vw, 42px);
  width: 100%;
  padding: clamp(58px, 6vw, 120px) var(--side-pad);
  overflow: hidden;
}

.footer-wordmark-stage .footer-pixel-target {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: auto;
  padding: 0;
  opacity: 1;
  color: transparent;
  background: transparent;
  border: 0;
}

.footer-wordmark-stage .footer-pixel-target--logo {
  align-self: stretch;
  min-height: 0;
}
.footer-wordmark-stage .footer-pixel-target--logo > img {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  opacity: .3;
  filter: brightness(0) invert(1);
  transform: none;
  transition: none;
}

.footer-wordmark-stage .footer-pixel-target--wordmark > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  opacity: .3;
  filter: none;
  transform: none;
  transition: none;
}

.footer-pixel-canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.footer-pixel-target--logo .footer-pixel-canvas {
  -webkit-mask: url("../images/brand/shineright-logo.png") center / contain no-repeat;
  mask: url("../images/brand/shineright-logo.png") center / contain no-repeat;
}
.footer-pixel-target--wordmark .footer-pixel-canvas {
  -webkit-mask: url("../images/brand/shineright-wordmark.svg") center / 100% 100% no-repeat;
  mask: url("../images/brand/shineright-wordmark.svg") center / 100% 100% no-repeat;
}

/* Remove the previous CSS-mask layers completely. */
.footer-wordmark-logo-pixels,
.footer-wordmark-pixel-text,
.footer-wordmark-pixels { display: none !important; }

@media (max-width: 900px) {
  .site-footer .footer-wordmark-stage {
    grid-template-columns: minmax(0, .18fr) minmax(0, 1fr);
    gap: clamp(8px, 2vw, 16px);
    padding: clamp(46px, 8vw, 66px) var(--side-pad);
  }
}

@media (max-width: 420px) {
  .hero-img-placeholder img {
    transform: scale(1.06) translateY(-14%);
  }
  .site-footer .footer-wordmark-stage {
    gap: 8px;
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .footer-pixel-canvas { display: none; }
}

/* ── Brand loaders and simplified footer glow (authoritative final layer) ── */
:root {
  /* Change this single value to retime the simple between-page transition.
     CSS movement, page scroll and JavaScript navigation all read it. */
  --subpage-transition-duration: .92s;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
html.is-loading,
html.is-loading body { background: #0c0c0c; }

.site-loader {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0c0c0c;
  color: #fff;
  transform: translateY(0);
  transition: transform .72s cubic-bezier(.76,0,.24,1), visibility 0s linear .72s;
  touch-action: none;
  overscroll-behavior: none;
}
.site-loader--subpage {
  transition: transform var(--subpage-transition-duration) cubic-bezier(.65,0,.35,1),
              visibility 0s linear var(--subpage-transition-duration);
}
.site-loader.is-complete { transform: translateY(-101%); visibility: hidden; pointer-events: none; }
.site-loader.is-transition-prep {
  transform: translateY(101%);
  visibility: visible;
  pointer-events: auto;
  transition: none;
}
.site-loader.is-transition-prep.is-page-exit {
  transform: translateY(0);
  transition: transform var(--subpage-transition-duration) cubic-bezier(.65,0,.35,1);
}
.page-transition-surface {
  min-height: 100vh;
  transform: none;
  opacity: 1;
}
html.is-internal-arrival .page-transition-surface {
  transform: translateY(clamp(48px, 8vh, 96px));
}
html.is-internal-arrival.is-page-settling .page-transition-surface {
  transform: translateY(0);
  transition: transform var(--subpage-transition-duration) cubic-bezier(.65,0,.35,1);
}
.site-loader__content {
  display: grid;
  justify-items: center;
  width: min(360px, calc(100vw - 64px));
}
.site-loader__logo {
  position: relative;
  display: block;
  width: clamp(70px, 7vw, 112px);
  aspect-ratio: 1.35;
  margin-bottom: 34px;
}
.site-loader__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.site-loader__logo-base { opacity: .17; }
.site-loader__logo-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: var(--load-progress, 0%);
}
.site-loader__logo-fill img {
  width: clamp(70px, 7vw, 112px);
  max-width: none;
  filter: brightness(0) saturate(100%) invert(79%) sepia(37%) saturate(902%) hue-rotate(111deg) brightness(91%) contrast(87%);
}
.site-loader__track {
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(255,255,255,.16);
}
.site-loader__track > span {
  display: block;
  width: 0;
  height: 100%;
  background: #3ecfa9;
  transition: width .12s linear;
}
.site-loader__percent {
  margin-top: 18px;
  font: 600 13px/1 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
}
.site-loader--subpage .site-loader__content,
html.is-internal-arrival .site-loader--home .site-loader__content { width: auto; }
.site-loader--subpage .site-loader__logo,
html.is-internal-arrival .site-loader--home .site-loader__logo {
  width: clamp(96px, 9vw, 146px);
  margin: 0;
}
.site-loader--subpage .site-loader__logo-base,
html.is-internal-arrival .site-loader--home .site-loader__logo-base { opacity: .24; }
.site-loader--subpage .site-loader__logo-fill,
.site-loader--subpage .site-loader__track,
.site-loader--subpage .site-loader__percent,
html.is-internal-arrival .site-loader--home .site-loader__logo-fill,
html.is-internal-arrival .site-loader--home .site-loader__track,
html.is-internal-arrival .site-loader--home .site-loader__percent { display: none; }

.footer-wordmark-stage .footer-glow-target {
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.footer-wordmark-stage .footer-glow-target > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  transition: opacity .25s ease;
}
.footer-wordmark-stage .footer-wordmark-logo.footer-glow-target {
  align-self: stretch;
  width: 100% !important;
  height: auto !important;
  min-height: 0;
  overflow: visible;
}
.footer-wordmark-stage .footer-wordmark-logo.footer-glow-target > img {
  position: absolute !important;
  inset: 0 auto 0 50%;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  transform: translateX(-50%) !important;
}
.footer-wordmark-stage .footer-wordmark-text.footer-glow-target {
  align-self: center;
  width: 100% !important;
  max-width: none;
  height: auto !important;
  aspect-ratio: 1716 / 228;
}
.footer-wordmark-stage .footer-wordmark-text.footer-glow-target > img {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}
.footer-wordmark-stage .footer-brand-base {
  position: relative;
  z-index: 1;
  opacity: .3 !important;
  filter: brightness(0) invert(1) !important;
}
.footer-wordmark-stage .footer-brand-glow {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  filter: brightness(0) saturate(100%) invert(79%) sepia(37%) saturate(902%) hue-rotate(111deg) brightness(91%) contrast(87%) !important;
  -webkit-mask-image: radial-gradient(circle 150px at var(--glow-x) var(--glow-y), #000 0%, rgba(0,0,0,.96) 18%, rgba(0,0,0,.48) 48%, transparent 72%);
  mask-image: radial-gradient(circle 150px at var(--glow-x) var(--glow-y), #000 0%, rgba(0,0,0,.96) 18%, rgba(0,0,0,.48) 48%, transparent 72%);
  transition: opacity .28s ease;
}
.footer-wordmark-stage .footer-glow-target:not(.is-glowing) > .footer-brand-glow { opacity: 0 !important; }
.footer-wordmark-stage .footer-glow-target.is-glowing > .footer-brand-glow { opacity: 1 !important; }
.footer-wordmark-stage .footer-glow-target.is-glowing .footer-brand-base { opacity: .3 !important; }
.footer-wordmark-stage .footer-pixel-canvas { display: none !important; }

/* Optical alignment for the oversized slogan: its glyph side-bearing should
   share the same visible left edge as the contact copy below it. */
.footer-slogan { transform: translateX(-.06em); }

/* Desktop process journey starts already composed in the viewport. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .process-horizontal__runway { height: 360svh; }
  .process-horizontal__track {
    gap: clamp(46px, 5vw, 116px);
    opacity: 1;
    transform: translate3d(-3.5vw, 0, 0);
  }
  .process-point,
  .process-point:first-child,
  .process-point:first-of-type {
    padding-left: clamp(54px, 5.5vw, 118px);
  }
  .process-horizontal__ghost {
    left: var(--side-pad);
    opacity: 1;
    transform: translate3d(-3.5vw, 0, 0);
  }
  .process-horizontal__vehicle { transform: translate3d(-110%, 0, 0); }
}

/* Stable two-column footer lockup: the logo gets a small proportional track
   and can never collapse underneath the wordmark. */
.site-footer .footer-wordmark-stage {
  grid-template-columns: minmax(0, .17fr) minmax(0, 1fr);
}
.footer-wordmark-stage .footer-wordmark-logo.footer-glow-target {
  justify-self: stretch;
  width: 100% !important;
  aspect-ratio: auto;
}
.footer-wordmark-stage .footer-wordmark-logo.footer-glow-target > .footer-brand-base {
  position: absolute !important;
  inset: 0;
  width: 100%;
  max-width: 100%;
  transform: none !important;
}
.footer-wordmark-stage .footer-wordmark-logo.footer-glow-target > .footer-brand-glow {
  inset: 0;
  width: 100%;
  max-width: 100%;
  transform: none !important;
}

#map,
.locations-map-full.is-fullview .map-canvas-wrap {
  contain: layout paint;
}

@media (prefers-reduced-motion: reduce) {
  .site-loader { transition-duration: .18s; }
  .site-loader--subpage { transition: transform .18s cubic-bezier(.76,0,.24,1), visibility 0s linear .18s; }
  .site-loader.is-transition-prep.is-page-exit { transition-duration: .18s; }
  html.is-internal-arrival.is-page-settling .page-transition-surface { transition-duration: .18s; }
  .footer-wordmark-stage .footer-brand-glow { display: none; }
}

/* Discreet portfolio disclosures. */
.hero-concept-note {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: rgba(17, 19, 20, .44);
  border-bottom: 1px solid rgba(17, 19, 20, .16);
  font-family: var(--font-small);
  font-size: 9px;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease;
}
.hero-concept-note:hover,
.hero-concept-note:focus-visible { color: var(--color-black); border-color: currentColor; }
.hero-img-placeholder { position: relative; }
.review-demo-note {
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  color: rgba(255,255,255,.36);
  font-family: var(--font-small);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.map-search-note a { color: inherit; border-bottom: 1px solid currentColor; }
.map-privacy-note {
  display: block;
  margin-top: 13px;
  color: rgba(255,255,255,.42);
  font-family: var(--font-small);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
#map { background: radial-gradient(circle at 48% 45%, #18201e 0, #0e1211 48%, #090b0b 100%); }
.site-footer .footer-legal .footer-project-notice {
  justify-self: center;
  color: rgba(255,255,255,.58);
  text-align: center;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.24);
  text-underline-offset: 4px;
}
.site-footer .footer-legal .footer-project-notice:hover,
.site-footer .footer-legal .footer-project-notice:focus-visible {
  color: var(--color-white);
  text-decoration-color: var(--color-accent);
}
.site-footer .footer-legal .footer-back-to-top { justify-self: end; }

/* Dedicated project/privacy notice. */
.shineright-project-notice-page { background: #080909; }
.shineright-project-notice-page .footer-conversion { display: none; }
.project-notice { color: rgba(255,255,255,.72); background: #080909; }
.project-notice__hero { padding: clamp(170px, 15vw, 290px) 0 clamp(84px, 9vw, 170px); border-bottom: 1px solid rgba(255,255,255,.1); }
.project-notice__hero-inner { display: flex; flex-direction: column; align-items: flex-start; }
.project-notice__back,
.project-notice__eyebrow {
  font-family: var(--font-small);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.project-notice__back { margin-bottom: clamp(54px, 7vw, 100px); color: rgba(255,255,255,.4); }
.project-notice__back:hover { color: var(--color-accent); }
.project-notice__eyebrow { color: var(--color-accent); }
.project-notice__number {
  align-self: start;
  color: rgba(255,255,255,.18);
  font-family: "Sora", sans-serif;
  font-size: clamp(52px, 6vw, 112px);
  font-weight: 700;
  line-height: .78;
  letter-spacing: -.065em;
}
.project-notice h1 {
  max-width: 12ch;
  margin-top: 24px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(70px, 10vw, 190px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.project-notice h1 em { color: var(--color-accent); font-style: normal; }
.project-notice__hero p { max-width: 55ch; margin-top: 36px; font-size: clamp(16px, .5vw + 13px, 21px); line-height: 1.6; }
.project-notice__content { padding-top: clamp(50px, 7vw, 120px); padding-bottom: clamp(100px, 10vw, 180px); }
.project-notice__content > section {
  display: grid;
  grid-template-columns: minmax(80px, .28fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 100px);
  padding: clamp(38px, 5vw, 78px) 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.project-notice__content h2 { color: #fff; font-size: clamp(28px, 3vw, 54px); letter-spacing: -.035em; }
.project-notice__content section p { max-width: 72ch; margin-top: 18px; color: rgba(255,255,255,.56); font-size: clamp(15px, .25vw + 14px, 18px); line-height: 1.72; }
.project-notice__closing { display: flex; justify-content: space-between; gap: 24px; padding-top: 46px; color: rgba(255,255,255,.38); font-family: var(--font-small); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.project-notice__closing a { color: var(--color-accent); }

@media (max-width: 640px) {
  .hero-concept-note { margin-top: 14px; }
  .site-footer .footer-legal .footer-project-notice,
  .site-footer .footer-legal .footer-back-to-top { justify-self: start; text-align: left; }
  .project-notice__hero { padding-top: 160px; }
  .project-notice__content > section { grid-template-columns: 1fr; gap: 20px; }
  .project-notice__closing { flex-direction: column; }
}

/* Full-map dimensions are authoritative here so Leaflet receives the exact
   canvas size at every breakpoint, with no inherited mobile offset. */
.locations-map-full.is-fullview,
.locations-map-full.is-fullview .map-canvas-wrap,
.locations-map-full.is-fullview #map,
.locations-map-full.is-fullview .leaflet-container {
  max-width: none;
  box-sizing: border-box;
}
.locations-map-full.is-fullview .map-canvas-wrap {
  left: 0;
  right: 0;
  overflow: hidden;
  background: #050505;
}
html.map-fullview-lock {
  overflow: hidden !important;
  scrollbar-gutter: auto;
}
.locations-map-full.is-fullview {
  right: 0;
  width: auto !important;
}

@media (max-width: 768px) {
  .locations-map-full.is-fullview {
    inset: 0;
    width: auto !important;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .locations-map-full.is-fullview .map-canvas-wrap {
    position: relative;
    width: 100%;
    margin: 0;
    transform: none;
  }
  .locations-map-full.is-fullview .map-panel {
    position: relative;
    inset: auto;
    left: 0;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    margin: 0;
    transform: none;
  }
}

/* Safari compositor pass. WebKit pays a noticeably higher cost for large,
   continuously scrolling filter/backdrop-filter layers. These equivalents
   keep the same contrast and hierarchy without re-rasterizing blurred pixels
   on every scroll frame. */
html.is-safari .locations-map-full.is-map-preview #map,
html.is-safari .locations-map-full.is-map-preview .leaflet-container {
  filter: brightness(.58) !important;
  transform: scale(1.006) translateZ(0) !important;
  will-change: transform !important;
}
html.is-safari .map-panel,
html.is-safari .cmp-label,
html.is-safari .svc-arrow,
html.is-safari .btn-menu {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.is-safari .cmp-label { background: rgba(5,6,6,.84); }
html.is-safari .svc-arrow { background: rgba(255,255,255,.13); }
html.is-safari .treatment-stack-card__media::after {
  background: radial-gradient(ellipse at center, rgba(0,0,0,.54), rgba(0,0,0,0) 72%);
  filter: none;
}
html.is-safari .process-horizontal__vehicle { filter: none; }
