/* =====================================================================
   IOT landing · Editorial Luxury x Soft Structuralism
   Tokens: css/brand-tokens.css (brand), css/motion-tokens.css (motion).
   Motion rule: only transform, opacity, clip-path (and mask) are animated.
   ===================================================================== */

:root {
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: clamp(1200px, 62vw, 1760px);
  --strip-h: 24px;
  --nav-h: 100px; /* strip + floating nav */
  --r-shell: 30px;
  --r-core: 24px;
  --ink: var(--iot-navy);
  --muted: var(--iot-text-muted);
  --hair: rgba(5, 29, 64, 0.09);
  --focus: var(--iot-azure);
  --font-display: var(--iot-font-display);
  --font-sans: var(--iot-font-sans);
  --pad-section: clamp(5.5rem, 10vw, 11rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}
@media (min-width: 1920px) {
  html {
    font-size: 18px;
  }
}
@media (min-width: 2400px) {
  html {
    font-size: 20px;
  }
}
body {
  margin: 0;
  background: var(--iot-pearl);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}
.hero__img picture,
.svc__media picture,
.hcard__img picture,
.finale__bg picture {
  width: 100%;
  height: 100%;
}
img {
  height: auto;
}
.motion-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s var(--ease);
}
.motion-video.is-on {
  opacity: 1;
}
.hcard__img .motion-video {
  transform: scale(1.14);
}
.motion-off .pin[aria-pressed="true"] .pin__ring {
  animation: none;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.on-dark {
  --focus: var(--iot-cyan);
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 120;
  background: var(--iot-navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  transition: transform 0.3s var(--ease);
}
.skip:focus {
  transform: translateY(96px);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* browser surfaces carry the palette too */
::selection {
  background: var(--iot-cyan-200);
  color: var(--iot-navy);
}
html {
  accent-color: var(--iot-azure);
  caret-color: var(--iot-azure);
}

/* ---------- type ---------- */
/* Newsreader at 400: the 300 cut read as thin and grey for a 50+ audience with reduced near vision. */
.display,
.display-lg {
  font-family: var(--font-display);
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
}
.display {
  font-size: var(--iot-display-xl-size);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.display-lg {
  font-size: var(--iot-display-lg-size);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.lead {
  font-size: var(--iot-lead-size);
  line-height: 1.55;
  color: var(--muted);
  max-width: 38em;
  text-wrap: pretty;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}
.container-wide {
  width: min(100% - 2 * var(--gutter), calc(var(--max) + 160px));
  margin-inline: auto;
}
.section {
  padding-block: var(--pad-section);
  position: relative;
}
.section__head {
  display: grid;
  gap: 1.25rem;
  max-width: 60rem;
  justify-items: start;
}

/* ---------- buttons: pill + nested icon island ---------- */
.btn {
  --btn-bg: var(--iot-azure);
  --btn-fg: #fff;
  --btn-ico: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0.4rem 0.4rem 1.4rem;
  min-height: 3rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    transform var(--mo-spring-press-dur) var(--mo-spring-press),
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.5s var(--ease);
  box-shadow: 0 10px 26px -14px rgba(5, 29, 64, 0.55);
}
.btn:active {
  transform: scale(0.97);
  transition-duration: 90ms;
}
.btn__ico {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--btn-ico);
  transition:
    transform 0.6s var(--ease),
    background-color 0.35s var(--ease);
  flex: none;
}
.btn__ico svg {
  width: 1.1rem;
  height: 1.1rem;
}
.btn__ico--lg {
  width: 2.75rem;
  height: 2.75rem;
}
.btn__ico--lg svg {
  width: 1.2rem;
  height: 1.2rem;
}
@media (hover: hover) {
  .btn:hover .btn__ico {
    transform: translate(2px, -1px) scale(1.07);
  }
  .btn--primary:hover {
    --btn-bg: var(--iot-azure-800);
  }
}
.btn--primary {
  --btn-bg: var(--iot-azure);
}
.btn--cyan {
  --btn-bg: var(--iot-cyan);
  --btn-fg: var(--iot-navy);
  --btn-ico: rgba(5, 29, 64, 0.14);
  box-shadow: 0 12px 28px -14px rgba(2, 10, 24, 0.6);
}
@media (hover: hover) {
  .btn--cyan:hover {
    --btn-bg: var(--iot-cyan-400);
  }
}
.btn--light {
  --btn-bg: var(--iot-pearl);
  --btn-fg: var(--iot-navy);
  --btn-ico: rgba(5, 29, 64, 0.1);
}
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: #fff;
  --btn-ico: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}
@media (hover: hover) {
  .btn--ghost:hover {
    --btn-bg: rgba(255, 255, 255, 0.16);
  }
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--iot-navy);
  --btn-ico: rgba(5, 29, 64, 0.08);
  box-shadow: inset 0 0 0 1px rgba(5, 29, 64, 0.22);
}
@media (hover: hover) {
  .btn--outline:hover {
    --btn-bg: rgba(5, 29, 64, 0.05);
  }
}
.btn--sm {
  min-height: 2.75rem;
  padding-left: 1.2rem;
  font-size: 0.875rem;
  gap: 0.8rem;
}
.btn--sm .btn__ico {
  width: 2rem;
  height: 2rem;
}
.btn--lg {
  min-height: 3.5rem;
  padding-left: 1.7rem;
  font-size: 1rem;
}
.btn--lg .btn__ico {
  width: 2.6rem;
  height: 2.6rem;
}
.btn--xl {
  min-height: 4.25rem;
  padding-left: 2.1rem;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  gap: 1.4rem;
}
.btn--xl .btn__ico {
  width: 3.2rem;
  height: 3.2rem;
}

/* ---------- tags (honesty labels on recreated images only) ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 600;
}
.tag--on-media {
  background: rgba(5, 29, 64, 0.78);
  color: #fff;
}

/* ---------- reveal (JS toggles; reduced-motion = opacity only) ---------- */
.rm-js [data-reveal],
.rm-js [data-reveal-card],
.rm-js [data-reveal-list] > * {
  opacity: 0;
  transition: opacity 0.12s linear;
}
.rm-js .is-in {
  opacity: 1 !important;
}

/* =====================================================================
   NAV (floating island) + MENU
   ===================================================================== */
.nav {
  position: fixed;
  top: calc(var(--strip-h) + 10px);
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding-inline: var(--gutter);
}
.nav__pill {
  pointer-events: auto;
  width: min(100%, 67.5rem);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: space-between;
  padding: 7px 7px 7px 18px;
  border-radius: 999px;
  background: rgba(247, 249, 251, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    inset 0 0 0 1px rgba(5, 29, 64, 0.08),
    0 16px 40px -22px rgba(5, 29, 64, 0.45);
  transition:
    transform 0.8s var(--ease),
    background-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.nav.is-scrolled .nav__pill {
  background: rgba(247, 249, 251, 0.95);
}
.nav__logo img {
  height: 1.75rem;
  width: auto;
}
@media (min-width: 480px) {
  .nav__logo img {
    height: 2.125rem;
  }
}
.nav__links {
  display: none;
}
.nav__links ul {
  display: flex;
  gap: 0.35rem;
}
.nav__links a {
  position: relative;
  display: block;
  padding: 0.6rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--iot-ink-700);
  border-radius: 999px;
  transition:
    color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--iot-azure);
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover {
  color: var(--iot-navy);
  background: rgba(5, 29, 64, 0.05);
}
.nav__links a.is-active {
  color: var(--iot-navy);
}
.nav__links a.is-active::after {
  transform: scale(1);
}
.nav__cta {
  min-height: 2.75rem;
  padding-left: 1rem;
  gap: 0.6rem;
  font-size: 0.8125rem;
}
@media (min-width: 480px) {
  .nav__cta {
    padding-left: 1.2rem;
    font-size: 0.875rem;
    gap: 0.8rem;
  }
}
.nav__burger {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  position: relative;
  background: rgba(5, 29, 64, 0.06);
  flex: none;
}
.nav__burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  margin-left: -9px;
  background: var(--iot-navy);
  border-radius: 2px;
  transition: transform 0.6s var(--ease);
}
.nav__burger span:nth-child(1) {
  transform: translateY(-3.5px);
}
.nav__burger span:nth-child(2) {
  transform: translateY(3.5px);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) {
  transform: rotate(-45deg);
}
@media (min-width: 900px) {
  .nav__links {
    display: block;
  }
  .nav__burger {
    display: none;
  }
  .nav__pill {
    padding-right: 7px;
  }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(5, 29, 64, 0.97);
  color: #fff;
  --focus: var(--iot-cyan);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  padding: calc(var(--nav-h) + 3vh) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition:
    clip-path 0.8s var(--ease),
    visibility 0s 0.8s;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition-delay: 0s;
}
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.35em 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 11vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms + 150ms);
}
.menu.is-open .menu__nav a {
  opacity: 1;
  transform: none;
}
.menu__foot {
  display: grid;
  gap: 1.2rem;
  justify-items: start;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.5s;
}
.menu.is-open .menu__foot {
  opacity: 1;
}
.menu__foot p {
  font-size: 0.875rem;
  color: var(--iot-ink-300);
}
html.menu-open {
  overflow: hidden;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  background: #1a1210;
  overflow: clip;
  isolation: isolate;
  --focus: var(--iot-cyan);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__parallax {
  position: absolute;
  inset: -7% 0;
}
.hero__img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  transform-origin: 70% 50%;
}
.hero__video {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__video.is-on {
  opacity: 1;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 29, 64, 0.8) 0%,
      rgba(5, 29, 64, 0.64) 34%,
      rgba(5, 29, 64, 0.46) 58%,
      rgba(5, 29, 64, 0.14) 76%,
      rgba(5, 29, 64, 0) 92%
    ),
    linear-gradient(0deg, rgba(5, 18, 40, 0.6) 0%, rgba(5, 18, 40, 0) 38%);
}
.hero__inner {
  padding-top: calc(var(--nav-h) + 10vh);
  padding-bottom: clamp(5.5rem, 13vh, 9rem);
  display: grid;
  gap: clamp(1.2rem, 2.2vw, 1.8rem);
  justify-items: start;
  align-self: end;
}
.hero__title {
  max-width: 11.5em;
}
.hero__sub {
  color: rgba(255, 255, 255, 0.94);
  max-width: 34em;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0.6rem;
}
@media (max-width: 820px), (orientation: portrait) {
  .hero__img img {
    object-position: 50% 62%;
  }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(5, 18, 40, 0.78) 0%, rgba(5, 18, 40, 0.35) 38%, rgba(5, 18, 40, 0) 58%),
      linear-gradient(0deg, rgba(5, 18, 40, 0.72) 0%, rgba(5, 18, 40, 0) 34%);
  }
  .hero {
    align-items: stretch;
  }
  .hero__inner {
    align-self: stretch;
    grid-template-rows: auto auto auto 1fr;
    align-content: start;
    padding-top: calc(var(--nav-h) + 5vh);
    padding-bottom: 5rem;
  }
  .hero__cta {
    align-self: end;
  }
}

/* =====================================================================
   SERVICES · asymmetric bento, double-bezel cards
   ===================================================================== */
.services {
  background: linear-gradient(180deg, var(--iot-pearl) 0%, #fff 100%);
}
.bento {
  display: grid;
  gap: clamp(12px, 1.5vw, 22px);
  grid-template-columns: 1fr;
  margin-top: clamp(2.5rem, 5vw, 5rem);
}
.svc {
  position: relative;
  min-height: 420px;
}
.svc__core {
  position: relative;
  height: 100%;
  min-height: inherit;
  border-radius: var(--r-core);
  background: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 0 0 1px rgba(5, 29, 64, 0.08),
    0 22px 40px -30px rgba(5, 29, 64, 0.4);
}
.svc__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  clip-path: var(--rest, inset(40% 6% 6% 6% round 18px));
  transition: clip-path 1.2s var(--ease-settle);
}
.svc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(var(--shift, 0%)) scale(1.14);
  transition: transform 1.6s var(--ease-settle);
}
/* Real photographs are bright (white lamps, white walls): the scrim holds .64 navy behind the copy (white text >= 5:1 even over pure white; pixel-audited) and relaxes below it. --hold = where the copy ends. */
.svc__scrim {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 29, 64, 0.82) 0%,
    rgba(5, 29, 64, 0.64) var(--hold, 80%),
    rgba(5, 29, 64, 0.2) 100%
  );
  transition: opacity 1s var(--ease);
}
@media (min-width: 1024px) {
  .svc--a {
    --hold: 44%;
  }
  .svc--b,
  .svc--c {
    --hold: 64%;
  }
  .svc--d {
    --hold: 84%;
  }
  .svc--e {
    --hold: 62%;
  }
}
.svc__body {
  position: relative;
  z-index: 2;
  padding: clamp(1.4rem, 2.2vw, 2.2rem);
  max-width: 34rem;
  color: var(--ink);
  transition: color 0.7s var(--ease);
  pointer-events: none;
}
.svc h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 1.1rem + 1.2vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
}
.svc p {
  margin-top: 0.8rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 30em;
  transition: color 0.7s var(--ease);
}
.svc__cta {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
}
.svc__cta .btn__ico {
  background: rgba(5, 29, 64, 0.07);
  color: var(--iot-navy);
  box-shadow: inset 0 0 0 1px rgba(5, 29, 64, 0.1);
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease);
}
.svc__cta:hover .btn__ico {
  background: var(--iot-cyan);
}
.svc--a {
  --h3: clamp(2rem, 1.3rem + 2vw, 3.2rem);
}
.svc--a h3 {
  font-size: var(--h3);
}
.svc--a p {
  font-size: 1.125rem;
  max-width: 26em;
}

/* hover / focus / touch: image floods the card */
.svc:hover .svc__cta .btn__ico,
.svc:focus-within .svc__cta .btn__ico {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.svc:hover .svc__cta:hover .btn__ico {
  background: var(--iot-cyan);
  color: var(--iot-navy);
}
.svc:hover .svc__media,
.svc:focus-within .svc__media {
  clip-path: inset(0 0 0 0 round 0);
}
.svc:hover .svc__media img,
.svc:focus-within .svc__media img {
  transform: scale(1);
}
.svc:hover .svc__scrim,
.svc:focus-within .svc__scrim {
  opacity: 1;
}
.svc:hover .svc__body,
.svc:focus-within .svc__body,
.svc:hover p,
.svc:focus-within p {
  color: #fff;
}
.svc:hover .svc__body p,
.svc:focus-within .svc__body p {
  color: rgba(255, 255, 255, 0.88);
}
@media (hover: none) {
  .svc__cta .btn__ico {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  }
  .svc__media {
    clip-path: inset(0 0 0 0 round 0);
  }
  .svc__media img {
    transform: scale(1);
  }
  .svc__scrim {
    opacity: 1;
  }
  .svc__body,
  .svc__body p {
    color: #fff;
  }
  .svc__body p {
    color: rgba(255, 255, 255, 0.9);
  }
}
@media (max-width: 699px) {
  .svc__cta .btn__ico {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  }
  .svc__media {
    clip-path: inset(0 0 0 0 round 0);
  }
  .svc__media img {
    transform: scale(1);
  }
  .svc__scrim {
    opacity: 1;
  }
  .svc__body,
  .svc__body p {
    color: #fff;
  }
  .svc__body p {
    color: rgba(255, 255, 255, 0.9);
  }
  .svc {
    min-height: 400px;
  }
  .svc__body {
    padding-top: 1.6rem;
    padding-right: 4.5rem;
  }
}
@media (min-width: 700px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc--a,
  .svc--d {
    grid-column: 1 / -1;
  }
  .svc--a {
    min-height: 520px;
  }
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto auto;
  }
  .svc {
    min-height: 330px;
  }
  .svc--a {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
    min-height: 700px;
  }
  .svc--b {
    grid-column: 8 / 13;
    grid-row: 1;
  }
  .svc--c {
    grid-column: 8 / 13;
    grid-row: 2;
  }
  .svc--d {
    grid-column: 1 / 9;
    grid-row: 3;
    min-height: 380px;
  }
  .svc--e {
    grid-column: 9 / 13;
    grid-row: 3;
    min-height: 380px;
  }
}
/* Type-only card (surgery): no honest photo exists, so the card is navy at rest and the list of surgeries is the content. */
.svc--type .svc__core {
  background: var(--iot-navy);
}
.svc--type .svc__body {
  max-width: none;
  color: #fff;
}
.svc--type .svc__cta .btn__ico {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.svc__list {
  display: grid;
  gap: 0 2rem;
  margin-top: 1.4rem;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}
.svc__list li {
  padding-block: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
@media (min-width: 700px) {
  .svc__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =====================================================================
   SEDES · showpiece
   ===================================================================== */
.sedes {
  background: linear-gradient(180deg, #fff 0%, #f1eee8 38%, var(--iot-stone) 100%);
}
.sedes__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.4rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 1024px) {
  .sedes__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: start;
  }
  .sedes__side {
    position: sticky;
    top: calc(var(--nav-h) + 1rem);
  }
}
.sedes__side {
  display: grid;
  gap: 14px;
}

.seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 30rem);
  padding: 5px;
  border-radius: 999px;
  background: rgba(5, 29, 64, 0.07);
  box-shadow: inset 0 0 0 1px rgba(5, 29, 64, 0.06);
}
.seg__thumb {
  position: absolute;
  z-index: 0;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc((100% - 10px) / 3);
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 6px 16px -8px rgba(5, 29, 64, 0.4),
    inset 0 0 0 1px rgba(5, 29, 64, 0.06);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform 0.7s var(--ease);
}
.seg__btn {
  position: relative;
  z-index: 1;
  padding: 0.8rem 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--iot-ink-600);
  text-align: center;
  border-radius: 999px;
  transition: color 0.4s var(--ease);
}
.seg__btn[aria-pressed="true"] {
  color: var(--iot-navy);
}

.tod {
  position: relative;
  margin-top: 18px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-core);
  overflow: hidden;
  background: #16223a;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.6),
    0 0 0 7px rgba(5, 29, 64, 0.08),
    0 40px 70px -40px rgba(5, 29, 64, 0.5);
  isolation: isolate;
}
@media (min-width: 700px) {
  .tod {
    aspect-ratio: 16 / 9;
    border-radius: 28px;
  }
}
.tod__sets {
  position: absolute;
  inset: 0;
}
.tod__set {
  position: absolute;
  inset: 0;
  visibility: hidden;
}
.tod__set.is-active {
  visibility: visible;
  z-index: 2;
}
.tod__set.is-leaving {
  visibility: visible;
  z-index: 1;
}
.tod__layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.tod__layer picture,
.tod__layer img {
  width: 100%;
  height: 100%;
}
.tod__layer img {
  object-fit: cover;
  -webkit-user-drag: none;
}
.tod__layer[data-layer="golden"],
.tod__layer[data-layer="blue"] {
  opacity: 0;
}
.tod__layer[data-mode="sweep"] {
  opacity: 1;
}
.sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 130%;
  height: 100%;
  transform: translateX(-100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 76.923%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 76.923%, transparent 100%);
}
.sweep__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 76.923%;
  height: 100%;
  transform: translateX(130%);
}
.tod__tag {
  position: absolute;
  z-index: 5;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  line-height: 1.25;
  padding: 0.5rem 0.8rem;
}
.tod__drag {
  position: absolute;
  z-index: 5;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: rgba(5, 29, 64, 0.84);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transition: opacity 0.6s var(--ease);
}
.tod__drag svg {
  width: 14px;
  height: 14px;
}
.tod.is-touched .tod__drag {
  opacity: 0;
}
@media (max-width: 699px) {
  .tod__drag {
    display: none;
  }
  .tod__tag {
    bottom: 12px;
  }
}

.scrub {
  margin-top: 26px;
  display: grid;
  gap: 6px;
}
.scrub__stops {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.scrub__stops button:first-child {
  justify-self: start;
}
.scrub__stops button:nth-child(2) {
  justify-self: center;
}
.scrub__stops button:last-child {
  justify-self: end;
}
.scrub__stops button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--iot-ink-600);
  transition: color 0.4s var(--ease);
}
.scrub__stops button svg {
  width: 16px;
  height: 16px;
}
.scrub__stops button.is-near {
  color: var(--iot-navy);
}
.scrub__track {
  position: relative;
  height: 40px;
  cursor: pointer;
  touch-action: none;
  border-radius: 999px;
}
.scrub__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9ccbf0 0%, #f7d9a0 34%, #f2b45a 50%, #4a6fa8 74%, #0a1d3f 100%);
  box-shadow: inset 0 0 0 1px rgba(5, 29, 64, 0.1);
}
.scrub__tick {
  position: absolute;
  top: 12px;
  width: 2px;
  height: 16px;
  margin-left: -1px;
  border-radius: 2px;
  background: rgba(5, 29, 64, 0.22);
}
.scrub__tick--mid {
  left: 50%;
}
.scrub__handle {
  position: absolute;
  top: 6px;
  left: 0;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(5, 29, 64, 0.14),
    0 8px 18px -6px rgba(5, 29, 64, 0.5);
  transition: box-shadow 0.3s var(--ease);
  will-change: transform;
}
.scrub__handle::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--iot-azure);
}
.scrub__track:focus-visible {
  outline: none;
}
.scrub__track:focus-visible .scrub__handle {
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px var(--iot-azure);
}
.scrub__hint {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--iot-ink-600);
}
@media (hover: none) {
  .scrub__hint {
    display: none;
  }
}

/* map card */
.map__frame {
  position: relative;
  aspect-ratio: 420 / 340;
  border-radius: var(--r-core);
  overflow: hidden;
  background: #f3efe8;
  box-shadow: 0 0 0 1px rgba(5, 29, 64, 0.08);
}
.map__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map__svg text {
  font-family: var(--font-sans);
}
.map__cap {
  padding: 10px 14px 8px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--iot-ink-600);
}
.map__pins {
  position: absolute;
  inset: 0;
}
.pin {
  position: absolute;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.pin__dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 3px var(--iot-navy),
    0 4px 10px rgba(5, 29, 64, 0.3);
  transition:
    transform 0.6s var(--ease),
    background-color 0.4s var(--ease);
}
.pin__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--iot-cyan);
  opacity: 0;
}
.pin__label {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(50% + 15px);
  transform: translateX(-50%);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 6px 14px -8px rgba(5, 29, 64, 0.5),
    inset 0 0 0 1px rgba(5, 29, 64, 0.08);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: var(--iot-ink-700);
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease);
}
.pin[aria-pressed="true"] .pin__dot {
  background: var(--iot-cyan);
  transform: scale(1.35);
}
.pin[aria-pressed="true"] .pin__label {
  background: var(--iot-navy);
  color: #fff;
}
.pin[aria-pressed="true"] .pin__ring {
  animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  80%,
  100% {
    transform: scale(3.4);
    opacity: 0;
  }
}
.pin:focus-visible {
  outline: 2px solid var(--iot-azure);
  border-radius: 50%;
}
.map__svg .m-link {
  stroke: var(--iot-azure);
  stroke-width: 1.3;
  stroke-dasharray: 4 5;
  fill: none;
  opacity: 0.75;
}
.map__svg .m-linklabel {
  font-size: 10.5px;
  font-weight: 600;
  fill: var(--iot-azure-800);
}
.map__svg .m-linkbg {
  fill: #fff;
  opacity: 0.92;
}

.sede-info {
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
  border-radius: var(--r-core);
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(5, 29, 64, 0.08),
    0 30px 50px -36px rgba(5, 29, 64, 0.4);
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}
.sede-info__barrio {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--iot-azure-800);
}
.sede-info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.sede-info__addr {
  font-size: 1.0625rem;
  color: var(--iot-ink-700);
}
.sede-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.6rem;
}
.sede-info__meta {
  width: 100%;
  margin-top: 0.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hair);
  font-size: 1rem;
}
.sede-info__meta div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem;
}
.sede-info__meta dt {
  font-weight: 600;
  color: var(--iot-ink-600);
}
.sede-info__meta dd {
  color: var(--iot-ink-700);
}

/* =====================================================================
   EXPERIENCIA HUMANA · horizontal gallery
   ===================================================================== */
.hscroll {
  position: relative;
  background: var(--iot-pearl);
}
.hscroll__sticky {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7rem) clamp(4.5rem, 8vw, 6rem);
}
.hscroll__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.4vw, 40px);
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)) var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 1.5rem;
}
.hscroll__track::-webkit-scrollbar {
  display: none;
}
.hpanel--intro {
  scroll-snap-align: start;
  flex: 0 0 min(88vw, 34rem);
  display: grid;
  gap: 1.3rem;
  align-content: start;
  justify-items: start;
  padding-right: clamp(0px, 3vw, 3rem);
}
.hpanel--end {
  flex: 0 0 1px;
}
.hcard {
  flex: 0 0 auto;
  display: grid;
  gap: 0.9rem;
  align-content: start;
  scroll-snap-align: center;
}
.hcard__img {
  width: min(82vw, 420px);
  aspect-ratio: var(--ar);
  border-radius: var(--r-core);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 50px -36px rgba(5, 29, 64, 0.55);
  background: #dfe6ef;
}
.hcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
}
.hcard figcaption {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  max-width: 22rem;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--iot-ink-700);
}
.hscroll__bar {
  display: none;
}
/* pinned (JS adds .is-pinned) */
.hscroll.is-pinned .hscroll__sticky {
  height: 100svh;
  padding-block: calc(var(--nav-h) + 0.5rem) 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hscroll.is-pinned .hscroll__track {
  overflow: visible;
  height: 100%;
  align-items: center;
  scroll-snap-type: none;
  padding-bottom: 0;
  width: max-content;
  will-change: transform;
}
.hscroll.is-pinned .hpanel--intro {
  flex-basis: min(34rem, 34vw);
}
.hscroll.is-pinned .hpanel--end {
  flex-basis: clamp(40px, 6vw, 120px);
}
.hscroll.is-pinned .hcard {
  --h: clamp(260px, 50vh, 520px);
}
.hscroll.is-pinned .hcard--sq {
  --h: clamp(240px, 38vh, 400px);
}
.hscroll.is-pinned .hcard--tall {
  --h: clamp(280px, 52vh, 540px);
}
.hscroll.is-pinned .hcard--wide {
  --h: clamp(240px, 46vh, 480px);
}
.hscroll.is-pinned .hcard__img {
  width: auto;
  height: var(--h);
}
.hscroll.is-pinned .hcard--low {
  align-self: flex-end;
  margin-bottom: 3vh;
}
.hscroll.is-pinned .hcard:not(.hcard--low) {
  align-self: flex-start;
  margin-top: 3vh;
}
.hscroll.is-pinned .hscroll__bar {
  display: block;
  position: absolute;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  bottom: clamp(20px, 4vh, 40px);
  height: 2px;
  background: rgba(5, 29, 64, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.hscroll.is-pinned .hscroll__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--iot-azure);
  transform-origin: left;
  transform: scaleX(0);
}

/* =====================================================================
   PLATAFORMA
   ===================================================================== */
.platform {
  background:
    radial-gradient(70% 60% at 85% 20%, rgba(37, 179, 218, 0.1) 0%, transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(233, 228, 220, 0.7) 0%, transparent 70%), var(--iot-pearl);
  overflow: clip;
}
.platform__grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 1024px) {
  .platform__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}
.platform__copy {
  display: grid;
  gap: 1.4rem;
  justify-items: start;
}
.steps {
  display: grid;
  gap: 0;
  margin-top: 0.6rem;
  width: 100%;
  max-width: 32rem;
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1rem;
  padding-bottom: 1.5rem;
}
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 2.5rem;
  bottom: 0.2rem;
  width: 1px;
  background: linear-gradient(180deg, var(--iot-azure-300), transparent);
}
.steps__n {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--iot-azure);
  background: #fff;
  box-shadow:
    inset 0 0 0 1px var(--iot-azure-200),
    0 4px 10px -6px rgba(5, 29, 64, 0.3);
}
.steps h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  padding-top: 0.3rem;
}
.steps p {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.platform__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 0.6rem;
}

.devices {
  position: relative;
  width: min(100%, 780px);
  aspect-ratio: 1.12 / 1;
  margin-inline: auto;
}
.devices__label {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--iot-ink-600);
  text-align: center;
}
.dev {
  position: absolute;
}
.dev--laptop {
  left: 0;
  top: 2%;
  width: 84%;
}
.dev__lid {
  padding: 2.1% 2.1% 2.4%;
  border-radius: 22px 22px 8px 8px;
  background: linear-gradient(180deg, #1b2538, #0c1424);
  box-shadow:
    0 50px 70px -40px rgba(5, 29, 64, 0.7),
    0 0 0 1px rgba(5, 29, 64, 0.5);
}
.dev__screen {
  container-type: inline-size;
  border-radius: 8px;
  overflow: hidden;
  background: var(--iot-pearl);
  aspect-ratio: 16 / 10;
}
.dev__base {
  height: clamp(8px, 1.9%, 16px);
  width: 108%;
  margin-left: -4%;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #dfe3ea, #aab2bf);
  box-shadow: 0 20px 24px -16px rgba(5, 29, 64, 0.55);
}
.dev--phone {
  right: 0;
  bottom: 2%;
  width: 26%;
  z-index: 2;
  transform: rotate(2deg);
}
.dev__body {
  container-type: inline-size;
  position: relative;
  padding: 3.2%;
  border-radius: 34px;
  background: linear-gradient(160deg, #1f2a40, #0b1424);
  box-shadow:
    0 50px 60px -30px rgba(5, 29, 64, 0.75),
    0 0 0 1px rgba(5, 29, 64, 0.6),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}
.dev__notch {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 2.2%;
  width: 28%;
  height: 1.8%;
  margin-left: -14%;
  border-radius: 99px;
  background: #05070e;
}
.ui {
  font-family: var(--font-sans);
  color: var(--iot-navy);
  background: var(--iot-pearl);
}
/* laptop UI: sized with cqw so it scales with the device */
.ui--intake {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  justify-items: center;
  font-size: 2.05cqw;
  line-height: 1.35;
}
.ui__bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.4em;
  padding: 0.8em 1.8em;
  background: #fff;
  box-shadow: 0 1px 0 rgba(5, 29, 64, 0.07);
}
.ui__mark {
  height: 2em;
  width: auto;
}
.ui__crumb {
  font-weight: 600;
  font-size: 1em;
}
.ui__pill {
  margin-left: auto;
  padding: 0.3em 0.9em;
  border-radius: 99px;
  background: var(--iot-azure-100);
  color: var(--iot-azure-800);
  font-weight: 600;
  font-size: 0.8em;
}
.ui__form {
  width: min(100% - 3.6em, 34em);
  margin-block: 1.4em;
  display: grid;
  align-content: start;
  min-width: 0;
}
.ui__steps {
  display: flex;
  gap: 0.5em;
}
.ui__steps li {
  flex: 1;
  padding-top: 0.55em;
  border-top: 0.25em solid var(--iot-ink-200);
  font-size: 0.72em;
  font-weight: 600;
  color: var(--iot-ink-700);
}
.ui__steps li.is-done {
  border-color: var(--iot-azure);
  color: var(--iot-azure-800);
}
.ui__steps li.is-on {
  border-color: var(--iot-cyan);
  color: var(--iot-navy);
}
.ui__label {
  margin-top: 1.4em;
  font-size: 0.78em;
  font-weight: 600;
  color: var(--iot-ink-700);
}
.ui__chips,
.ui__days {
  display: flex;
  gap: 0.5em;
  margin-top: 0.5em;
}
.ui__chips span,
.ui__days span {
  padding: 0.5em 0.9em;
  border-radius: 99px;
  background: #fff;
  font-size: 0.72em;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--iot-ink-200);
}
.ui__days span {
  flex: 1;
  text-align: center;
  border-radius: 0.9em;
  padding-inline: 0.2em;
}
.ui__chips .is-sel,
.ui__days .is-sel {
  background: var(--iot-navy);
  color: #fff;
  box-shadow: none;
}
.ui__slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5em;
  margin-top: 0.6em;
}
.ui__slots span {
  padding: 0.6em 0.4em;
  border-radius: 0.7em;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--iot-ink-200);
  font-size: 0.72em;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.ui__slots .is-sel {
  background: var(--iot-cyan-100);
  box-shadow: inset 0 0 0 1.5px var(--iot-cyan);
}
.ui__check {
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: var(--iot-success);
  color: #fff;
}
.ui__check svg {
  width: 60%;
  height: 60%;
}
.ui__btn {
  margin-top: 1.1em;
  padding: 0.85em 1em;
  border-radius: 99px;
  background: var(--iot-azure);
  color: #fff;
  text-align: center;
  font-size: 0.8em;
  font-weight: 600;
}
.ui__btn--ghost {
  background: transparent;
  color: var(--iot-azure-800);
  box-shadow: inset 0 0 0 1.5px var(--iot-azure-300);
}
/* phone UI */
.ui--confirm {
  border-radius: 24px;
  overflow: hidden;
  padding: 11% 7% 7%;
  font-size: 6.2cqw;
  line-height: 1.35;
  display: grid;
  gap: 0.8em;
  background: var(--iot-pearl);
  aspect-ratio: 9 / 18.5;
  align-content: start;
}
.ui--confirm h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55em;
  line-height: 1.1;
  margin: 0.2em 0 0;
}
.ui--confirm dl {
  display: grid;
  gap: 0.1em;
}
.ui--confirm dl div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6em;
  padding: 0.55em 0;
  border-bottom: 1px solid var(--iot-ink-200);
  font-size: 0.78em;
}
.ui--confirm dt {
  color: var(--iot-ink-700);
}
.ui--confirm dd {
  font-weight: 600;
}
.ui__ok {
  color: var(--iot-success);
}
.ui--confirm .ui__btn {
  margin-top: 0.4em;
  font-size: 0.72em;
}
@media (max-width: 699px) {
  .dev--phone {
    transform: none;
    width: 34%;
  }
  .devices {
    aspect-ratio: 1 / 1.02;
  }
  .ui--intake {
    font-size: 2.1cqw;
  }
}

/* =====================================================================
   FINALE + FOOTER
   ===================================================================== */
.finale {
  position: relative;
  background: var(--iot-navy);
  color: #fff;
  overflow: clip;
  padding-block: clamp(6rem, 12vw, 12rem) clamp(5rem, 9vw, 9rem);
  --focus: var(--iot-cyan);
  isolation: isolate;
}
.finale__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.9;
}
.finale__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}
.finale__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 29, 64, 0.55) 0%,
    rgba(5, 29, 64, 0.2) 40%,
    rgba(5, 29, 64, 0.85) 100%
  );
}
.finale__inner {
  display: grid;
  gap: clamp(1.2rem, 2.4vw, 2rem);
  justify-items: start;
}
.finale__title {
  max-width: 14em;
}
.finale__lead {
  color: var(--iot-ink-300);
}
.finale__lead a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.finale__cta {
  margin-top: 0.6rem;
}
.footer {
  background: #031330;
  color: var(--iot-ink-300);
  padding-block: clamp(4rem, 7vw, 6rem) 2.5rem;
  --focus: var(--iot-cyan);
  font-size: 0.9375rem;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1100px) {
  .footer__grid {
    grid-template-columns: 1.3fr 1.2fr 1fr 1fr 1fr;
  }
  .footer__brand {
    grid-column: auto;
  }
}
.footer__brand img {
  width: min(16rem, 70%);
  height: auto;
}
.footer__brand p {
  margin-top: 1.2rem;
  max-width: 20em;
}
.footer h2 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iot-cyan-300);
  font-family: var(--font-sans);
  font-stretch: 80%;
  margin-bottom: 1rem;
}
.footer ul {
  display: grid;
  gap: 0.65rem;
}
.footer strong {
  color: #fff;
  font-weight: 600;
}
.footer a {
  color: var(--iot-ink-200);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition:
    background-size 0.6s var(--ease),
    color 0.3s var(--ease);
}
.footer a:hover {
  color: #fff;
  background-size: 100% 1px;
}
.footer__legal {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 0.6rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--iot-ink-400);
}
.footer__legal p {
  max-width: 62em;
}
.footer__concept {
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: var(--iot-ink-200);
  font-size: 0.8125rem;
}
.footer__concept strong {
  color: #fff;
}
.footer__concept a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* persistent concept label: a slim opaque strip above the nav. Fixed, non-interactive, and always clear of the hero buttons at every width. */
.concept {
  position: fixed;
  z-index: 52;
  top: 0;
  left: 0;
  right: 0;
  height: var(--strip-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding-inline: 12px;
  background: var(--iot-navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.concept a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.clinic-testing {
  background: var(--iot-pearl);
  border-top: 1px solid var(--iot-ink-200);
}
.clinic-testing__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block: 2rem;
}
.clinic-testing__links a {
  border: 1px solid var(--iot-ink-200);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  background: #fff;
}
.clinic-testing__links a:hover {
  border-color: var(--iot-navy);
}
.clinic-testing ol {
  list-style: decimal;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.75rem;
  max-width: 65ch;
}
.concept__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--iot-amber);
  flex: none;
}
@media (max-width: 479px) {
  .concept {
    font-size: 0.75rem;
    letter-spacing: 0;
    gap: 0.45rem;
  }
}

/* =====================================================================
   REDUCED MOTION: calm static version, simple fades only
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .svc__media,
  .svc__media img,
  .svc__scrim,
  .svc__body,
  .svc__body p,
  .btn,
  .btn__ico {
    transition-duration: 0.12s !important;
    transition-timing-function: linear !important;
  }
  .nav__pill,
  .menu,
  .menu__nav a {
    transition-duration: 0.12s !important;
    transform: none !important;
  }
}
