:root {
  --lab-ink: #080a0d;
  --lab-gold: #e1c46f;
  --lab-gold-bright: #fff0bb;
  --lab-gold-deep: #a87922;
  --lab-gold-line: rgba(225, 196, 111, .46);
  --lab-ivory: #f4efe4;
  --lab-ease: cubic-bezier(.22, 1, .36, 1);
  --lab-dock-duration: 1180ms;
}

html.lab-intro-lock,
html.lab-intro-lock body {
  overflow: hidden;
  overscroll-behavior: none;
}

html.lab-intro-returning .lab-intro {
  display: none !important;
}

.lab-intro {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--lab-ink);
  color: var(--lab-ivory);
  opacity: 1;
  transition: background-color 760ms ease, opacity 520ms ease;
}

.lab-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 12vw rgba(0, 0, 0, .38);
  opacity: 1;
  transition: opacity 520ms ease;
}

.lab-intro.is-docking {
  background: rgba(8, 10, 13, 0);
}

.lab-intro.is-docking::after,
.lab-intro.is-docking .lab-intro-skip,
.lab-intro.is-docking .lab-intro-status {
  opacity: 0;
}

.lab-intro-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 1;
  overflow: hidden;
  background: #000;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  transform: translateZ(0);
  transform-origin: top left;
  transition:
    transform var(--lab-dock-duration) var(--lab-ease),
    width var(--lab-dock-duration) var(--lab-ease),
    height var(--lab-dock-duration) var(--lab-ease),
    border-radius var(--lab-dock-duration) var(--lab-ease),
    border-color var(--lab-dock-duration) ease,
    box-shadow var(--lab-dock-duration) ease;
}

.lab-intro-stage.is-docking {
  border-color: rgba(215, 183, 90, .44);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .46);
}

.lab-brand-film {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.lab-intro-stage > .lab-brand-film {
  object-fit: cover;
}

html.lab-intro-active .page-shell {
  transform: scale(1.018);
  /* Do not dim the actual site while the cinematic layer is loading. A
     blocked autoplay must never make navigation or decision text unreadable. */
  filter: brightness(1) saturate(1);
  transition: opacity .85s ease, transform var(--lab-dock-duration) var(--lab-ease), filter var(--lab-dock-duration) ease;
}

html.lab-transitioning .page-shell {
  transform: scale(1);
  filter: brightness(1) saturate(1);
}

.hero {
  --hero-bg-image: url('/rr/lab/video-hero-2026/assets/medellin-01-blue-hour-joel-duncan.jpg') !important;
  position: relative;
  display: grid;
  height: calc(100svh - var(--lab-nav-height, 84px));
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: var(--hero-bg-image) center 78% / cover no-repeat;
  isolation: isolate;
}

.hero::before {
  background: rgba(3, 6, 11, .08);
  opacity: 1;
  filter: none;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 68% 43%, rgba(215, 183, 90, .035), transparent 28rem);
}

.lab-hero-backgrounds {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.lab-hero-background__slide {
  position: absolute;
  inset: -1.5%;
  background-image: var(--lab-bg-image);
  background-position: var(--lab-bg-position, 50% 65%);
  background-size: cover;
  opacity: 0;
  transform: scale(1.015);
  filter: none;
  transition: opacity 1600ms ease, transform 7000ms ease;
  will-change: opacity, transform;
}

.lab-hero-background__slide.is-active {
  opacity: 1;
  transform: scale(1.035);
}

.hero .container.hero-inner {
  width: 100%;
  max-width: none;
  height: 100%;
  padding: clamp(1.75rem, 4.5vh, 3rem) clamp(1.6rem, 4.25vw, 5.5rem);
  grid-template-columns: minmax(22rem, .78fr) minmax(35rem, 1.22fr);
  gap: clamp(2.4rem, 4vw, 5.5rem);
  align-items: center;
}

.hero .hero-inner > :first-child {
  display: grid;
  align-content: center;
  max-width: 34rem;
  min-width: 0;
  position: relative;
  isolation: isolate;
}

.hero .hero-inner > :first-child::before {
  content: "";
  position: absolute;
  inset: -1.25rem -1.8rem -1.25rem -1.55rem;
  z-index: -1;
  border: 1px solid rgba(215, 183, 90, .16);
  border-left-color: rgba(215, 183, 90, .34);
  border-radius: 0 26px 26px 0;
  background: rgba(5, 9, 16, .74);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

.hero .hero-eyebrow {
  margin-bottom: .65rem;
  color: #e0c77e;
  font-size: .65rem;
}

.hero .hero-title {
  max-width: 14.5ch;
  margin-bottom: .9rem;
  background: linear-gradient(108deg, #fff1c1 0%, #ead58f 38%, #cda64a 70%, #f2dfa3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2.7rem, 4.25vw, 3.9rem);
  line-height: 1.01;
  letter-spacing: -.018em;
  text-wrap: balance;
}

.hero .hero-subtitle {
  max-width: 48ch;
  margin: 0 0 1rem;
  color: rgba(225, 229, 238, .82);
  font-size: clamp(.76rem, .95vw, .86rem);
  line-height: 1.65;
}

.hero .hero-badges {
  gap: .5rem;
  margin-bottom: 1rem;
}

.hero .pill {
  padding: .38rem .7rem;
  border-color: rgba(215, 183, 90, .25);
  background: rgba(7, 10, 16, .58);
  color: rgba(240, 241, 245, .88);
  backdrop-filter: blur(14px);
}

.hero .hero-ctas {
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.05rem;
}

.hero .hero-ctas .btn-primary,
.hero .hero-ctas .btn-ghost {
  min-height: 42px;
  padding: .7rem 1.1rem;
  font-size: .65rem;
}

.btn-nav-primary,
.btn-primary,
.btn-search {
  border: 1px solid rgba(255, 240, 187, .46);
  background: linear-gradient(112deg, #fff0bb 0%, #e3c66e 35%, #aa7b25 69%, #eed892 100%);
  color: #090b0e;
  box-shadow: 0 12px 32px rgba(169, 121, 34, .22), inset 0 1px rgba(255, 255, 255, .58);
}

.btn-nav-primary:hover,
.btn-primary:hover,
.btn-search:hover {
  border-color: rgba(255, 244, 207, .72);
  background: linear-gradient(112deg, #fff5d4 0%, #ead17f 35%, #b8862a 69%, #f4e2a7 100%);
  box-shadow: 0 15px 38px rgba(185, 137, 45, .28), inset 0 1px rgba(255, 255, 255, .7);
}

.hero .hero-ctas .btn-ghost {
  border-color: transparent;
  border-bottom-color: rgba(215, 183, 90, .55);
  border-radius: 0;
  padding-inline: .25rem;
  background: transparent;
  box-shadow: none;
}

.hero .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 33rem);
  padding-top: .9rem;
  border-top: 1px solid rgba(215, 183, 90, .25);
  color: rgba(194, 200, 213, .76);
  font-size: .59rem;
  line-height: 1.45;
}

.hero .metric {
  min-width: 0;
  padding-right: .8rem;
}

.hero .metric + .metric {
  padding-left: .8rem;
  border-left: 1px solid rgba(215, 183, 90, .18);
}

.hero .metric-figure {
  margin-bottom: .22rem;
  color: #f7f2e7;
  font-size: .72rem;
  line-height: 1.25;
}

#hero-carousel.lab-video-hero::before {
  content: "PORTAFOLIO CURADO  /  MEDELLÍN";
  position: absolute;
  z-index: 3;
  top: .9rem;
  left: 1rem;
  padding: .42rem .6rem;
  border: 1px solid rgba(244, 239, 228, .22);
  border-radius: 999px;
  background: rgba(7, 10, 16, .48);
  color: rgba(244, 239, 228, .78);
  font: 600 .53rem/1 system-ui, sans-serif;
  letter-spacing: .16em;
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.lab-intro-skip {
  position: absolute;
  z-index: 3;
  top: max(1.25rem, env(safe-area-inset-top));
  right: max(1.25rem, env(safe-area-inset-right));
  min-height: 44px;
  padding: .72rem 1rem;
  border: 1px solid rgba(244, 239, 228, .34);
  border-radius: 999px;
  background: rgba(8, 10, 13, .52);
  color: var(--lab-ivory);
  font: 600 .72rem/1 system-ui, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, opacity 300ms ease;
}

.lab-intro-skip:hover,
.lab-intro-skip:focus-visible {
  border-color: var(--lab-gold);
  color: var(--lab-gold);
}

.lab-intro-skip:focus-visible {
  outline: 2px solid var(--lab-ivory);
  outline-offset: 4px;
}

.lab-intro-status {
  position: absolute;
  z-index: 3;
  bottom: max(1.3rem, env(safe-area-inset-bottom));
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(244, 239, 228, .7);
  font: 500 .68rem/1.2 system-ui, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: opacity 300ms ease;
}

#hero-carousel.lab-video-hero {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
  overflow: visible;
}

#hero-carousel.lab-video-hero > :not(.lab-video-destination) {
  display: none !important;
}

.lab-video-destination {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(215, 183, 90, .42);
  border-radius: clamp(18px, 1.7vw, 28px);
  background:
    linear-gradient(150deg, rgba(215, 183, 90, .08), transparent 42%),
    #050607;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .44), 0 0 0 1px rgba(255, 255, 255, .025);
  isolation: isolate;
}

.lab-video-destination::after {
  content: "RENWORK  ·  LUXURY & INVESTMENT";
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: .85rem;
  color: rgba(244, 239, 228, .64);
  font: 600 .58rem/1 system-ui, sans-serif;
  letter-spacing: .18em;
  pointer-events: none;
}

.lab-video-replay {
  position: absolute;
  z-index: 4;
  left: 1rem;
  bottom: .72rem;
  min-height: 34px;
  padding: .58rem .78rem;
  border: 1px solid rgba(244, 239, 228, .32);
  border-radius: 999px;
  background: rgba(7, 10, 16, .58);
  color: rgba(244, 239, 228, .78);
  font: 600 .54rem/1 system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: .76;
  transition: opacity 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.lab-video-replay:hover,
.lab-video-replay:focus-visible {
  border-color: var(--lab-gold);
  background: rgba(7, 10, 16, .82);
  color: var(--lab-gold-bright);
  opacity: 1;
  outline: none;
}

.lab-video-replay:focus-visible {
  box-shadow: 0 0 0 3px rgba(244, 239, 228, .34);
}

.lab-video-destination .lab-brand-film {
  position: absolute;
  inset: 0;
  z-index: 1;
  object-fit: cover;
}

.lab-video-destination.is-waiting::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 20%;
  border-radius: 50%;
  background: rgba(215, 183, 90, .08);
  filter: blur(60px);
}

.property-card {
  border: 1px solid var(--lab-gold-line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 240, 187, .018);
}

.property-card:hover,
.property-card:focus-within {
  border-color: rgba(235, 207, 128, .74);
}

/* Featured inventory — one editorial property dossier per row. */
#propiedades .container {
  max-width: 1320px;
}

#propiedades .lab-property-gallery {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.4rem, 5vw, 4.8rem);
}

#propiedades .property-card.lab-property-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(22rem, .95fr);
  grid-template-areas: "media details";
  height: clamp(25rem, 68svh, 29rem);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(225, 196, 111, .5);
  border-radius: clamp(22px, 2.1vw, 34px);
  background: #0a0d13;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 240, 187, .025);
  animation: none;
  transform: none;
  transition: border-color 320ms ease, box-shadow 320ms ease;
}

#propiedades .property-card.lab-property-feature:nth-child(even) {
  grid-template-columns: minmax(22rem, .95fr) minmax(0, 1.55fr);
  grid-template-areas: "details media";
}

#propiedades .property-card.lab-property-feature:hover,
#propiedades .property-card.lab-property-feature:focus-visible,
#propiedades .property-card.lab-property-feature:focus-within {
  border-color: rgba(255, 224, 137, .84);
  box-shadow: 0 38px 105px rgba(0, 0, 0, .5), 0 0 34px rgba(193, 145, 45, .12);
  transform: none;
  animation: none;
}

.lab-property-media {
  grid-area: media;
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #05070a;
}

.lab-property-media.has-mosaic {
  grid-template-columns: minmax(0, 3.2fr) minmax(7.75rem, 1fr);
  gap: 2px;
}

#propiedades .lab-property-media .property-img {
  height: auto;
  min-height: 100%;
  border-radius: 0;
  background-position: center;
  transition: filter 420ms ease;
}

#propiedades .property-card.lab-property-feature:hover .property-img {
  filter: saturate(1.04) contrast(1.025);
}

.lab-property-mosaic {
  display: grid;
  grid-auto-rows: minmax(0, 1fr);
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.lab-property-mosaic__tile {
  position: relative;
  min-height: 0;
  background-position: center;
  background-size: cover;
}

.lab-property-mosaic__tile:not(.lab-property-map)::after {
  content: "VISTA " attr(data-view);
  position: absolute;
  right: .75rem;
  bottom: .7rem;
  padding: .32rem .45rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(5, 7, 10, .48);
  color: rgba(255, 255, 255, .78);
  font: 600 .48rem/1 "Poppins", sans-serif;
  letter-spacing: .14em;
  backdrop-filter: blur(10px);
}

.lab-property-details {
  grid-area: details;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.55rem, 2.25vw, 2.25rem);
  background:
    radial-gradient(circle at 100% 0, rgba(225, 196, 111, .12), transparent 17rem),
    linear-gradient(145deg, rgba(15, 19, 28, .99), rgba(6, 8, 13, .99));
}

.lab-property-ledger {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0;
  color: rgba(225, 196, 111, .8);
  font: 600 .57rem/1.2 "Poppins", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

#propiedades .lab-property-details .property-body {
  padding: 0;
  font-size: .8rem;
}

#propiedades .lab-property-details .property-tag-row {
  justify-content: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
  color: rgba(190, 196, 210, .7);
}

#propiedades .lab-property-details .property-tag {
  border-color: rgba(225, 196, 111, .5);
  background: rgba(225, 196, 111, .09);
  color: #f0d88f;
}

#propiedades .lab-property-details .property-title {
  max-width: none;
  margin: 0 0 .55rem;
  color: #f8f2e5;
  font: 500 clamp(1.5rem, 1.85vw, 1.95rem)/1.02 "Playfair Display", Georgia, serif;
  letter-spacing: -.015em;
  text-wrap: balance;
}

#propiedades .lab-property-details .property-location {
  margin-bottom: .9rem;
  color: rgba(201, 207, 220, .72);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#propiedades .lab-property-details .property-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin: 0;
  padding: .8rem 0;
  border-top: 1px solid rgba(225, 196, 111, .2);
  border-bottom: 1px solid rgba(225, 196, 111, .2);
  color: rgba(225, 229, 238, .78);
  font-size: .67rem;
}

#propiedades .lab-property-stat {
  display: grid;
  grid-template-rows: 1.35rem auto;
  justify-items: center;
  gap: .3rem;
  min-width: 0;
  text-align: center;
}

#propiedades .lab-property-stat + .lab-property-stat {
  border-left: 1px solid rgba(225, 196, 111, .14);
}

#propiedades .lab-property-stat svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: #efd98e;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#propiedades .lab-property-details .property-meta-row strong {
  color: #f8f2e5;
  font-weight: 500;
}

#propiedades .lab-property-details .property-price {
  margin-top: .9rem;
  color: #efd98e;
  font: 500 clamp(1.25rem, 1.7vw, 1.65rem)/1.15 "Playfair Display", Georgia, serif;
}

#propiedades .lab-property-details .property-cta {
  margin-top: .95rem;
  padding: .8rem 0 0;
  border-top-color: rgba(255, 255, 255, .08);
  color: #f2da8d;
}

#propiedades .lab-property-details .property-cta .arrow {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(225, 196, 111, .42);
  border-radius: 50%;
}

#propiedades .quality-badge {
  top: 1rem;
  right: 1rem;
  width: 6.5rem;
  height: 6.5rem;
}

.lab-property-map {
  isolation: isolate;
  overflow: hidden;
  background: #d9d5ca;
}

.lab-property-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 8, 12, .08), rgba(5, 8, 12, .42));
  pointer-events: none;
}

.lab-property-map__canvas {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(2, 256px);
  grid-template-rows: repeat(2, 256px);
  width: 512px;
  height: 512px;
  filter: grayscale(.72) sepia(.18) saturate(.75) contrast(1.08);
}

.lab-property-map__canvas img {
  display: block;
  width: 256px;
  height: 256px;
}

.lab-property-map__pin {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(255, 240, 187, .78);
  border-radius: 50%;
  background: rgba(9, 12, 18, .86);
  box-shadow: 0 0 0 7px rgba(225, 196, 111, .18), 0 8px 22px rgba(0, 0, 0, .28);
  transform: translate(-50%, -50%);
}

.lab-property-map__pin i {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: #efd98e;
}

.lab-property-map__label,
.lab-property-map small {
  position: absolute;
  z-index: 3;
  left: .7rem;
  right: .7rem;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .75);
}

.lab-property-map__label {
  top: .7rem;
  overflow: hidden;
  font: 600 .52rem/1.3 "Poppins", sans-serif;
  letter-spacing: .12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.lab-property-map small {
  bottom: .65rem;
  font: 500 .43rem/1.25 "Poppins", sans-serif;
  letter-spacing: .05em;
}

@media (max-width: 1050px) {
  #propiedades .property-card.lab-property-feature,
  #propiedades .property-card.lab-property-feature:nth-child(even) {
    grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .9fr);
    grid-template-areas: "media details";
  }

  .lab-property-media.has-mosaic {
    grid-template-columns: minmax(0, 1fr);
  }

  .lab-property-mosaic {
    display: none;
  }
}

@media (max-width: 760px) {
  #propiedades .property-card.lab-property-feature,
  #propiedades .property-card.lab-property-feature:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "media" "details";
    min-height: 0;
    height: auto;
  }

  #propiedades .lab-property-media .property-img {
    min-height: clamp(16rem, 72vw, 24rem);
  }

  .lab-property-details {
    padding: clamp(1.45rem, 6vw, 2.2rem);
  }

  .lab-property-ledger {
    margin-bottom: 1.8rem;
    padding-bottom: 0;
  }
}

.lab-theme-switch {
  position: fixed;
  z-index: 500;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px 8px 14px;
  border: 1px solid rgba(225, 196, 111, .35);
  border-radius: 999px;
  background: rgba(8, 10, 13, .88);
  color: rgba(244, 239, 228, .72);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .38);
  font: 600 10px/1.2 "Poppins", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(15px);
}

.lab-theme-switch a {
  padding: 9px 13px;
  border: 1px solid rgba(255, 240, 187, .42);
  border-radius: 999px;
  background: linear-gradient(112deg, #fff0bb 0%, #e3c66e 45%, #b5852b 100%);
  color: #090b0e;
  letter-spacing: .08em;
}

.lab-theme-switch a:hover,
.lab-theme-switch a:focus-visible {
  background: linear-gradient(112deg, #fff5d4 0%, #ead17f 48%, #c09135 100%);
}

@media (max-width: 900px) {
  .hero {
    display: block;
    height: auto;
    min-height: auto;
    padding-block: 3.6rem 2.4rem;
  }

  .hero .container.hero-inner {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    padding-inline: clamp(1.1rem, 5vw, 2rem);
    padding-block: 0;
    gap: 2rem;
  }

  .hero .hero-inner > :first-child {
    max-width: 42rem;
  }

  .hero .hero-inner > :first-child::before {
    inset: -1.1rem -1rem;
    border-radius: 22px;
  }

  .hero .hero-title {
    max-width: 15ch;
    font-size: clamp(2.55rem, 11vw, 4.6rem);
  }

  .hero .hero-metrics {
    width: 100%;
  }

  .lab-video-destination {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
  }

  .lab-video-destination .lab-brand-film {
    object-fit: contain;
  }
}

@media (max-width: 560px) {
  .lab-intro-stage > .lab-brand-film {
    object-fit: contain;
  }

  .hero {
    padding-block: 2.7rem 1.4rem;
  }

  .lab-hero-background__slide {
    background-position: 50% 66%;
  }

  .hero .hero-title {
    font-size: clamp(2.25rem, 10.8vw, 3.1rem);
  }

  .hero .hero-subtitle {
    margin-bottom: .85rem;
  }

  .hero .hero-badges {
    margin-bottom: .85rem;
  }

  .hero .hero-ctas {
    margin-bottom: .9rem;
  }

  .hero .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding-top: .7rem;
  }

  .hero .metric,
  .hero .metric + .metric {
    display: block;
    padding: 0 .45rem;
    font-size: 0;
  }

  .hero .metric:first-child {
    padding-left: 0;
  }

  .hero .metric:last-child {
    padding-right: 0;
  }

  .hero .metric-figure {
    font-size: .63rem;
  }

  #hero-carousel.lab-video-hero::before {
    top: .7rem;
    left: .7rem;
  }

  .cta-form,
  .cta-form .form-row,
  .cta-form .field,
  .cta-form input,
  .cta-form select,
  .cta-form textarea,
  .cta-form button,
  .cta-form .consent-check,
  .cta-form .cta-note {
    min-width: 0;
    max-width: 100%;
  }

  .cta-form .form-row {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .cta-form input,
  .cta-form select,
  .cta-form textarea,
  .cta-form button,
  .cta-form .consent-check,
  .cta-form .cta-note {
    width: 100%;
    box-sizing: border-box;
  }

  .lab-intro-skip {
    top: max(.9rem, env(safe-area-inset-top));
    right: max(.9rem, env(safe-area-inset-right));
    padding: .66rem .8rem;
    font-size: .62rem;
  }

  .lab-intro-status {
    width: calc(100% - 2rem);
    text-align: center;
  }

  .lab-video-destination::after {
    right: .75rem;
    bottom: .65rem;
    font-size: .5rem;
  }

  .lab-theme-switch {
    left: 50%;
    right: auto;
    max-width: calc(100vw - 24px);
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .lab-theme-switch > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --lab-dock-duration: 1ms;
  }

  .lab-intro,
  .lab-intro-stage,
  .lab-intro-skip,
  .lab-intro-status {
    transition-duration: 1ms !important;
  }

  .lab-hero-background__slide {
    transition-duration: 1ms !important;
    transform: none !important;
  }
}

@media (max-height: 700px) and (min-width: 901px) {
  .hero .container.hero-inner {
    padding-block: clamp(1.4rem, 3.5vh, 1.75rem);
  }

  .hero .hero-title {
    margin-bottom: .65rem;
    font-size: clamp(2.25rem, 3.7vw, 3.2rem);
  }

  .hero .hero-subtitle,
  .hero .hero-badges,
  .hero .hero-ctas {
    margin-bottom: .7rem;
  }

  .hero .hero-metrics {
    padding-top: .65rem;
  }
}
