:root {
  --cyan: #00a7e1;
  --lime: #cde804;
  --navy: rgba(2, 16, 61, 0.32);
  --white: #fff;
  --font: "magallanes", Palatino, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--white);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

img {
  display: block;
  max-width: none;
}

.desktop-wrap,
.mobile-wrap {
  overflow: hidden;
}

.desktop,
.mobile {
  position: relative;
  overflow: hidden;
  background: var(--white);
  font-family: var(--font);
}

.desktop-wrap,
.mobile-wrap {
  position: relative;
  container-type: inline-size;
}

.desktop-wrap {
  display: none;
}

.mobile-wrap {
  width: 100%;
}

.mobile-wrap::before {
  content: "";
  display: block;
  padding-top: calc(1210 / 402 * 100%);
}

.mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 402px;
  height: 1210px;
  transform-origin: top left;
  transform: scale(calc(100cqi / 402px));
}

@media (min-width: 800px) {
  .mobile-wrap {
    display: none;
  }

  .desktop-wrap {
    display: block;
    width: 100%;
    --fit: min(100vw / 1440px, 100svh / 860px);
    background: var(--cyan);
  }

  .desktop-wrap::before {
    content: "";
    display: block;
    height: calc(1471px * var(--fit));
  }

  .desktop {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1440px;
    height: 1471px;
    margin-left: -720px;
    overflow: visible;
    transform-origin: top center;
    transform: scale(var(--fit));
    background: transparent;
  }
}

.hero,
.scrim,
.blue,
.logo,
.social,
.headline,
.address,
.label,
.pill,
.subhead,
.copy,
.render,
.dot,
.caption {
  position: absolute;
}

.hero img,
.render img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.blue {
  background: var(--cyan);
}

.scrim {
  pointer-events: none;
}

.logo img,
.social img {
  width: 100%;
  height: 100%;
}

.pill {
  display: flex;
  align-items: center;
  border-radius: 999px;
  white-space: nowrap;
}

.pill:hover {
  text-decoration: none;
}

.email {
  background: var(--cyan);
}

.email:hover {
  background: #0096cc;
}

.phone {
  background: transparent;
  border: 1px solid #fff;
}

.phone:hover {
  background: rgba(255, 255, 255, 0.12);
}

.dot {
  background: var(--lime);
  border-radius: 50%;
}

.caption {
  white-space: nowrap;
}

/* Desktop — frame 1440 × 1471 */

.desktop .blue {
  left: calc(50% - 50vw / var(--fit));
  top: 877px;
  width: calc(100vw / var(--fit));
  height: 594px;
  z-index: 1;
}

.desktop .hero {
  left: calc(50% - 50vw / var(--fit));
  top: -12px;
  width: calc(100vw / var(--fit));
  height: 900px;
  z-index: 2;
}

.desktop .hero img {
  object-fit: cover;
  object-position: center 46%;
}

.desktop .scrim-top {
  left: calc(50% - 50vw / var(--fit));
  top: 0;
  width: calc(100vw / var(--fit));
  height: 271px;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(2, 16, 61, 0.32), rgba(2, 16, 61, 0));
}

.desktop .logo {
  left: 65px;
  top: 31px;
  width: 465px;
  height: 86px;
  z-index: 4;
}

.desktop .facebook {
  left: 1216px;
  top: 67px;
  width: 50px;
  height: 50px;
  z-index: 4;
}

.desktop .instagram {
  left: 1308px;
  top: 67px;
  width: 50px;
  height: 50px;
  z-index: 4;
}

.desktop .headline {
  left: 54px;
  top: 233px;
  width: 700px;
  margin: 0;
  z-index: 4;
  font-size: 140px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.desktop .address {
  left: 60px;
  top: 649px;
  z-index: 4;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.desktop .label {
  left: 832px;
  top: 707px;
  width: 560px;
  margin: 0;
  z-index: 4;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
}

.desktop .email {
  left: 828px;
  top: 755px;
  height: 45px;
  padding: 0 24px;
  z-index: 4;
  font-size: 24px;
  font-weight: 400;
}

.desktop .phone {
  left: 1136px;
  top: 755px;
  height: 45px;
  padding: 0 24px;
  z-index: 4;
  font-size: 24px;
  font-weight: 400;
}

.desktop .render {
  left: 60px;
  top: 937px;
  width: 660px;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  z-index: 5;
}

.desktop .dot {
  left: 690px;
  top: 945px;
  width: 87px;
  height: 87px;
  z-index: 6;
}

.desktop .caption {
  left: 400px;
  top: 1384px;
  width: 310px;
  z-index: 7;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
}

.desktop .subhead {
  left: 828px;
  top: 1018px;
  width: 575px;
  margin: 0;
  z-index: 7;
  font-size: 60px;
  font-weight: 700;
  line-height: 72px;
  text-transform: uppercase;
}

.desktop .copy {
  left: 828px;
  top: 1271px;
  width: 516px;
  margin: 0;
  z-index: 7;
  font-size: 24px;
  font-weight: 100;
  line-height: 36px;
}

/* Mobile — frame 402 × 1210 */

.mobile .hero {
  left: -223px;
  top: -10px;
  width: 874px;
  height: 545px;
  z-index: 1;
}

.mobile .scrim-top {
  left: 0;
  top: 0;
  width: 402px;
  height: 271px;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(2, 16, 61, 0.44), rgba(2, 16, 61, 0));
}

.mobile .scrim-bottom {
  left: 0;
  top: 359px;
  width: 402px;
  height: 176px;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(2, 16, 61, 0), rgba(2, 16, 61, 0.5));
}

.mobile .logo {
  left: 26px;
  top: 8px;
  width: 188px;
  height: 35px;
  z-index: 3;
}

.mobile .facebook {
  left: 310px;
  top: 23px;
  width: 25px;
  height: 24px;
  z-index: 3;
}

.mobile .instagram {
  left: 355px;
  top: 23px;
  width: 25px;
  height: 24px;
  z-index: 3;
}

.mobile .headline {
  left: 22px;
  top: 112px;
  width: 360px;
  margin: 0;
  z-index: 3;
  font-size: 62px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.mobile .address {
  left: 22px;
  top: 300px;
  z-index: 3;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.mobile .label {
  left: 28px;
  top: 436px;
  width: 346px;
  margin: 0;
  z-index: 7;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
}

.mobile .email {
  left: 22px;
  top: 464px;
  height: 33px;
  padding: 0 14px;
  z-index: 7;
  font-size: 16px;
  font-weight: 400;
}

.mobile .phone {
  left: 228px;
  top: 464px;
  height: 33px;
  padding: 0 14px;
  z-index: 7;
  font-size: 16px;
  font-weight: 400;
}

.mobile .blue {
  left: -25px;
  top: 529px;
  width: 443px;
  height: 926px;
  z-index: 4;
}

.mobile .render {
  left: 28px;
  top: 566px;
  width: 347px;
  height: 253px;
  border-radius: 20px;
  overflow: hidden;
  z-index: 5;
}

.mobile .dot {
  left: 345px;
  top: 560px;
  width: 45px;
  height: 46px;
  z-index: 6;
}

.mobile .caption {
  left: 28px;
  top: 792px;
  width: 339px;
  padding-right: 10px;
  z-index: 7;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
}

.mobile .subhead {
  left: 25px;
  top: 858px;
  width: 360px;
  margin: 0;
  z-index: 7;
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
  text-transform: uppercase;
}

.mobile .copy {
  left: 28px;
  top: 1030px;
  width: 343px;
  margin: 0;
  z-index: 7;
  font-size: 18px;
  font-weight: 100;
  line-height: 30px;
}
