@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
  --ink: #172637;
  --muted: #6d7b91;
  --teal: #0098a8;
  --cyan: #5bd3d3;
  --navy: #2b3a49;
  --navy-dark: #19232e;
  --footer-bg: var(--navy);
  --font-sans: "Inter", "Noto Sans", "Liberation Sans", "DejaVu Sans", sans-serif;
  --content-max: 1288px;
  --content-width: min(86%, var(--content-max));
  --content-inline: max(7%, calc((100% - var(--content-max)) / 2));
  --footer-columns: 1.65fr .8fr 1fr;
  --footer-gap: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.site-header,
main,
.footer,
.copyright {
  width: min(100% - 300px, 1920px);
  margin-left: auto;
  margin-right: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  background: #fff;
}

.topbar {
  height: 24px;
  background: var(--footer-bg);
  color: #fff;
  font-size: 11px;
}

.topbar__inner {
  width: var(--content-width);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__contact,
.topbar__links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__contact a,
.topbar__appointment {
  transition: color .22s ease;
}

.topbar__contact a:hover,
.topbar__appointment:hover {
  color: var(--cyan);
}

.divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, .42);
}

.nav {
  width: var(--content-width);
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.brand {
  flex: 0 0 auto;
  width: 245px;
}

.brand img {
  width: 100%;
  height: auto;
  transform: translateX(-20px);
  transition: transform .35s ease, filter .35s ease;
}

.brand:hover img {
  filter: drop-shadow(0 10px 20px rgba(0, 120, 140, .12));
  transform: translate(-20px, -2px);
}

.nav__menu {
  margin: 5px 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 29px;
  list-style: none;
  color: #001f4d;
  font-size: 13px;
  white-space: nowrap;
}

.nav__menu a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 9px 0;
  transition: color .25s ease;
}

.nav__menu > li > a:hover {
  color: var(--teal);
}

.nav__caret {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(1px);
}

.nav__item {
  position: relative;
}

.nav__submenu {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: -20px;
  min-width: 164px;
  margin: 0;
  padding: 9px 0 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  list-style: none;
  background: #fff;
  box-shadow: 4px 5px 0 rgba(36, 52, 68, .35);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.nav__submenu a {
  display: block;
  padding: 10px 20px;
  color: #001f4d;
  font-size: 13px;
}

.nav__item--dropdown:hover .nav__submenu,
.nav__item--dropdown:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid #d8e2e8;
  background: #fff;
}

.nav__toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  width: 100%;
  height: clamp(560px, 55.8vw, 740px);
  margin: 0 auto;
  overflow: hidden;
  background: #f2f5f7;
}

.hero__slides,
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__slides {
  z-index: 0;
}

.hero__slide {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 1s ease, transform 6.5s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, .22), transparent 32%, rgba(255, 255, 255, .12) 64%, transparent);
  transform: translateX(-100%);
  animation: heroSweep 5.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 95px;
  background-image: url("../images/Rectangle 14.png");
  background-size: 100% 100%;
  background-position: center;
  pointer-events: none;
  z-index: 2;
}

.hero__copy {
  position: relative;
  z-index: 3;
  width: var(--content-width);
  margin: 0 auto;
  padding-top: clamp(82px, 7vw, 112px);
  animation: heroCopyIn .9s ease both;
}

.hero__pagination {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 112px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(0, 123, 145, .6);
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 2px 8px rgba(25, 64, 77, .18);
  cursor: pointer;
  transition: width .25s ease, border-radius .25s ease, background .25s ease;
}

.hero__dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--teal);
}

.hero__dot:focus-visible {
  outline: 2px solid #075d70;
  outline-offset: 3px;
}

.hero h1 {
  margin: 0 0 37px;
  color: #2a384b;
  font-size: clamp(34px, 2.9vw, 46px);
  line-height: 1.65;
  font-weight: 700;
}

.hero h1 span {
  color: var(--teal);
}

.hero h1 .hero__title-dark {
  color: #111;
}

.hero h1 .hero__title-line {
  white-space: nowrap;
}

.hero p {
  max-width: 540px;
  margin: 0 0 34px;
  color: #536477;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  min-width: 142px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(14, 162, 170, .26);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(90deg, #00889a 0%, #20b9c2 58%, #8be4df 100%);
  box-shadow: 0 12px 30px rgba(0, 126, 146, .26);
}

.btn--primary:hover {
  background: linear-gradient(90deg, #00798d 0%, #13aebb 58%, #7edfdc 100%);
}

.btn--ghost {
  color: #516172;
  border: 1.5px solid #238698;
  background: rgba(255, 255, 255, .42);
}

.incubated {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  width: var(--content-width);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1.38fr repeat(3, 1fr);
  align-items: center;
  color: #536273;
  font-size: 12px;
  font-weight: 700;
}

.incubated img {
  width: 104px;
  justify-self: center;
  transition: opacity .25s ease, transform .25s ease;
}

.incubated img.incubated__logo--hkstp {
  width: 84px;
}

.incubated img:hover {
  opacity: .82;
  transform: translateY(-2px);
}

.stats {
  position: relative;
  width: 100%;
  min-height: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 40%) minmax(620px, 60%);
  overflow: hidden;
  background: #fff;
  padding: 0 var(--content-inline);
}

.stats__blueprint {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: url("../images/optimized/v52_7-blueprint.webp");
  background-size: cover;
  background-position: left bottom;
  background-repeat: no-repeat;
  opacity: .92;
  pointer-events: none;
}

.stats__intro,
.stats__grid {
  position: relative;
  z-index: 1;
}

.stats__intro {
  padding: 60px 0 0 0;
}

.stats__grid {
  margin-right: 0;
}

.stats__intro h2,
.engineering h2,
.references h2,
.cta h2 {
  margin: 0;
  color: #050505;
  font-weight: 800;
}

.stats__intro h2 {
  font-size: 38px;
  line-height: 1.48;
}

.stats__intro p {
  margin: 9px 0 28px;
  color: #738193;
  font-size: 16px;
  line-height: 2;
}

.stats__intro p span {
  color: var(--teal);
}

.stats__intro b {
  display: block;
  width: 65px;
  height: 3px;
  background: var(--teal);
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 132px;
  grid-template-rows: 296px 296px;
  align-self: start;
  margin-top: 48px;
}

.stats__grid::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 296px;
  left: calc((100% - 132px) / 2);
  width: 8px;
  height: 8px;
  background: var(--teal);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.stat {
  min-width: 0;
  padding: 88px 0 0 92px;
  border-left: 1px solid #caedf0;
  border-bottom: 1px solid #caedf0;
  background: rgba(255, 255, 255, .78);
  transition: transform .35s ease, background-color .35s ease, box-shadow .35s ease;
}

.stat:hover {
  background: rgba(239, 247, 249, .9);
  box-shadow: 0 20px 44px rgba(0, 80, 95, .08);
  transform: translateY(-4px);
}

.stat strong {
  display: block;
  color: #111;
  font-size: 50px;
  line-height: 1;
  font-weight: 300;
}

.stat strong::after {
  content: "";
  display: block;
  width: 37px;
  height: 3px;
  margin: 17px 0 13px;
  background: var(--teal);
}

.stat span {
  color: #738193;
  font-size: 16px;
}

.stat--filled {
  grid-column: 1;
  grid-row: 2;
}

.stats__photo {
  grid-column: 3;
  grid-row: 1;
  width: 132px;
  height: 296px;
  object-fit: cover;
}

.stats__icon {
  grid-column: 3;
  grid-row: 2;
  display: grid;
  place-items: center;
  background: rgba(250, 250, 250, .9);
}

.stats__icon img {
  width: 103px;
  height: 111px;
}

.engineering {
  width: 100%;
  min-height: 664px;
  margin: 0 auto;
  padding: 52px var(--content-inline) 62px;
  background-image: url("../images/optimized/rectangle-1-engineering.webp");
  background-size: cover;
  background-position: center;
}

.engineering h2,
.cards {
  margin-left: auto;
  margin-right: auto;
}

.engineering h2 {
  color: #17283b;
  width: min(1110px, 100%);
  max-width: 620px;
  margin-left: 0;
  font-size: 34px;
  line-height: 1.5;
}

.cards {
  width: min(1110px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 292px);
  justify-content: space-between;
  gap: 54px;
  margin-top: 32px;
  padding: 0;
}

.feature-card {
  position: relative;
  min-height: 218px;
  padding: 28px 26px 22px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 8px;
  background: rgba(228, 238, 242, .68);
  box-shadow: 0 18px 52px rgba(28, 47, 62, .18);
  backdrop-filter: blur(9px);
  isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease;
}

.feature-card:hover {
  background: rgba(239, 248, 250, .78);
  box-shadow: 0 24px 58px rgba(28, 47, 62, .24);
  transform: translateY(-8px);
}

.feature-card img {
  position: static;
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 10px;
  transform: translate(-12px, -58px) scale(2);
  transform-origin: left top;
  will-change: transform;
  transition: transform .35s ease, filter .35s ease;
}

.feature-card:hover img {
  filter: drop-shadow(0 10px 18px rgba(0, 180, 190, .25));
  transform: translate(-12px, -61px) scale(2.08);
}

.feature-card .feature-card__twin {
  width: 132px;
  height: 132px;
  margin: -56px 0 -2px -22px;
  transform: none;
  object-fit: contain;
}

.feature-card:hover .feature-card__twin {
  filter: drop-shadow(0 12px 22px rgba(0, 174, 190, .22));
  transform: translateY(-3px) scale(1.025);
}

.feature-card h3 {
  min-height: 42px;
  margin: 0 0 17px;
  color: #223449;
  font-size: 16px;
  line-height: 1.32;
}

.feature-card p {
  min-height: 38px;
  margin: 0 0 14px;
  color: #5c6978;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.feature-card a {
  color: #48c9c7;
  font-size: 13px;
  transition: color .25s ease, letter-spacing .25s ease;
}

.feature-card a:hover {
  color: var(--teal);
  letter-spacing: .2px;
}

.references {
  position: relative;
  width: 100%;
  min-height: 704px;
  margin: 0 auto 0;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 88px;
  padding: 76px var(--content-inline) 62px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(244, 249, 250, .72) 36%, rgba(232, 244, 246, .78) 100%),
    linear-gradient(180deg, #f8fbfc 0%, #eef6f7 62%, #f9fbfb 100%);
}

.references::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/optimized/v52_7-blueprint.webp");
  background-size: cover;
  background-position: center bottom;
  opacity: .18;
  pointer-events: none;
}

.references::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 152, 168, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 152, 168, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 86%, transparent 100%);
  opacity: .42;
  pointer-events: none;
}

.references__copy,
.references__stage {
  position: relative;
  z-index: 1;
}

.references h2 {
  margin-top: 0;
  font-size: 38px;
}

.references__copy a {
  display: inline-block;
  margin-top: 92px;
  color: var(--teal);
  font-size: 16px;
  line-height: 1.22;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.references__stage {
  position: relative;
  min-height: 532px;
}

.references__large {
  position: absolute;
  top: 0;
  right: 0;
  width: min(815px, 100%);
  max-width: 100%;
  height: 472px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .78);
  background: #d3d3d3;
  box-shadow: 0 28px 70px rgba(24, 47, 62, .18);
}

.reference-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .65s ease, transform 1.2s ease;
}

.reference-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.references__thumbs {
  position: absolute;
  left: -388px;
  right: 0;
  bottom: 0;
  display: flex;
  gap: clamp(12px, 2vw, 24px);
}

.reference-thumb {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  width: 240px;
  height: 148px;
  padding: 0;
  overflow: hidden;
  border: 3px solid rgba(93, 178, 189, .35);
  border-radius: 5px;
  background: #d8f0f3;
  box-shadow: 0 18px 44px rgba(25, 43, 55, .16);
  cursor: pointer;
  transition: box-shadow .28s ease, transform .28s ease, border-color .28s ease;
}

.reference-thumb:hover {
  border-color: #65cbd3;
  box-shadow: 0 22px 48px rgba(0, 120, 140, .2);
  transform: translateY(-3px);
}

.reference-thumb.is-active {
  border-color: #00a9bd;
  box-shadow: 0 0 0 3px rgba(0, 169, 189, .18), 0 18px 38px rgba(0, 120, 140, .3);
  transform: translateY(-8px);
}

.reference-thumb::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #007c91;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 50, 65, .25);
  opacity: 0;
  transform: scale(.75);
  transition: opacity .25s ease, transform .25s ease;
}

.reference-thumb.is-active::after {
  opacity: 1;
  transform: scale(1);
}

.reference-thumb:focus-visible {
  outline: 3px solid #006f92;
  outline-offset: 5px;
}

.reference-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  opacity: 1;
}

.cta {
  width: 100%;
  min-height: 280px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background-image: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .12)), url("../images/home-cta-hong-kong.png");
  background-size: cover;
  background-position: center;
  transition: background-position .8s ease;
}

.cta:hover {
  background-position: center 45%;
}

.cta h2 {
  color: #2a384b;
  font-size: 38px;
  text-align: center;
}

.footer {
  background: var(--footer-bg);
  color: #8f9cab;
}

.footer__inner {
  width: var(--content-width);
  min-height: 184px;
  margin: 0 auto;
  padding: 31px 0 30px;
  display: grid;
  grid-template-columns: var(--footer-columns);
  gap: var(--footer-gap);
}

.footer__brand img {
  width: 185px;
  margin-bottom: 17px;
}

.footer__brand p,
.footer h3 {
  color: #23b5bd;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.footer__brand p {
  margin: 0;
  padding-left: 0;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer h3 {
  margin: 0 0 12px;
}

.footer__col a {
  color: #b1bfce;
  font-size: 10px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 11px;
}

.socials img:first-child {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.socials img:last-child {
  width: 52px;
  height: auto;
}

.copyright {
  min-height: 42px;
  padding: 0;
  background: var(--navy-dark);
  color: #7d8792;
  font-size: 11px;
}

.copyright__inner {
  width: var(--content-width);
  min-height: 42px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--footer-columns);
  align-items: center;
  gap: var(--footer-gap);
}

.copyright__inner a {
  grid-column: 3;
  justify-self: start;
  color: #fff;
}

.copyright__inner span {
  justify-self: start;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .72s ease, transform .72s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  z-index: 60;
  right: -72px;
  top: 62%;
  width: 112px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0 16px 0 14px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: rgba(226, 247, 249, .92);
  color: var(--teal);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(23, 49, 65, .16);
  cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: right .28s ease, opacity .28s ease, transform .28s ease, background-color .28s ease, box-shadow .28s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  right: 0;
  background: rgba(244, 253, 254, .98);
  box-shadow: 0 20px 44px rgba(23, 49, 65, .2);
  outline: 0;
}

.back-to-top__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.back-to-top__icon::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 3px;
  height: 13px;
  border-radius: 999px;
  background: currentColor;
}

.back-to-top__icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 8px;
  height: 8px;
  border-left: 3px solid currentColor;
  border-top: 3px solid currentColor;
  transform: rotate(45deg);
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSweep {
  0%,
  48% {
    transform: translateX(-100%);
  }

  78% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1280px) {
  .references {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 64px;
    padding-left: var(--content-inline);
    padding-right: var(--content-inline);
  }

  .references__large {
    width: min(64vw, 760px);
    height: min(37vw, 440px);
  }

  .references__thumbs {
    left: -324px;
    gap: 18px;
  }

  .reference-thumb {
    width: 200px;
    height: 123px;
  }
}

@media (max-width: 980px) {
  :root {
    --content-width: min(100% - 28px, 720px);
    --content-inline: max(28px, calc((100% - 720px) / 2));
  }

  .site-header,
  main,
  .footer,
  .copyright {
    width: 100%;
  }

  .topbar__inner {
    width: min(100% - 28px, 720px);
  }

  .nav {
    width: calc(100% - 28px);
    height: 82px;
    gap: 18px;
  }

  .brand {
    width: min(225px, calc(100vw - 96px));
  }

  .brand img {
    transform: translateX(-16px);
  }

  .brand:hover img {
    transform: translate(-16px, -2px);
  }

  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: absolute;
    z-index: 9;
    top: 106px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 18px 28px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: #fff;
    border-top: 1px solid #edf2f5;
    box-shadow: 0 18px 30px rgba(13, 35, 50, .08);
  }

  .nav__menu.is-open {
    display: flex;
  }

  .hero {
    min-height: 500px;
    aspect-ratio: auto;
  }

  .hero__slide {
    object-position: 64% center;
  }

  .hero__copy,
  .incubated {
    max-width: calc(100% - 54px);
  }

  .hero h1 {
    font-size: clamp(20px, 3.5vw, 34px);
    line-height: 1.37;
  }

  .stats {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 40px;
  }

  .stats__intro,
  .stats__grid {
    margin-left: 0;
    margin-right: 0;
  }

  .stats__blueprint {
    left: -210px;
    right: -210px;
    background-size: cover;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .stats__grid::after {
    left: 50%;
    top: 50%;
  }

  .stat {
    min-height: 210px;
    padding: 55px 24px 24px;
  }

  .stats__photo,
  .stats__icon {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 320px;
    padding: 0;
  }

  .references {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 var(--content-inline);
  }

  .references__copy a {
    margin-top: 28px;
  }

  .references__thumbs {
    left: 0;
    gap: 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .copyright__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .copyright__inner a {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --content-width: calc(100% - 36px);
    --content-inline: 18px;
  }

  .topbar {
    height: auto;
    padding: 8px 0;
    font-size: 13px;
  }

  .topbar__inner,
  .topbar__contact,
  .topbar__links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .topbar__appointment {
    margin-top: 2px;
  }

  .divider {
    display: none;
  }

  .nav {
    height: 82px;
  }

  .nav__menu {
    top: 121px;
  }

  .hero__copy {
    padding-top: 62px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(15px, 3.5vw, 24px);
  }

  .hero p {
    max-width: 100%;
  }

  .hero__actions {
    flex-wrap: wrap;
  }

  .incubated {
    grid-template-columns: 1fr 1fr;
    row-gap: 10px;
    bottom: 12px;
  }

  .hero__pagination {
    bottom: 116px;
  }

  .stats,
  .references {
    width: 100%;
    padding-left: var(--content-inline);
    padding-right: var(--content-inline);
  }

  .stats__intro,
  .stats__grid {
    margin-left: 0;
    margin-right: 0;
  }

  .stats__intro {
    padding-top: 42px;
  }

  .stats__intro h2 {
    font-size: 30px;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .stats__grid::after {
    display: none;
  }

  .stat {
    border-left: 0;
  }

  .engineering {
    width: 100%;
    margin-bottom: 72px;
    padding: 44px var(--content-inline);
    background-size: cover;
  }

  .engineering h2 {
    font-size: 28px;
  }

  .references__large {
    height: 280px;
  }

  .references__stage {
    min-height: 390px;
  }

  .reference-thumb {
    flex: 0 0 120px;
    width: 120px;
    height: 74px;
    scroll-snap-align: center;
  }

  .references__thumbs {
    overflow-x: auto;
    gap: 14px;
    padding: 14px 8px 16px;
    bottom: -16px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) transparent;
  }

  .cta {
    min-height: 165px;
  }

  .cta h2 {
    font-size: 25px;
  }

  .copyright {
    height: auto;
    min-height: 58px;
    font-size: 12px;
  }

  .copyright__inner {
    width: calc(100% - 36px);
    min-height: 58px;
    padding: 14px 0;
    align-items: flex-start;
  }
}

.stat .stat__saving {font-size:clamp(30px,3.1vw,46px);white-space:nowrap}
