@font-face {
  font-family: "AvenirMecorex";
  src: url("../fonts/avenir-light.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "AvenirMecorex";
  src: url("../fonts/avenir-heavy.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RobotoMecorex";
  src: url("../fonts/roboto-regular.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --ink: #111;
  --muted: #262626;
  --navy: #151321;
  --max: 1320px;
  --page-pad: clamp(20px, 5.9vw, 96px);
  --radius-lg: 28px;
  --radius-xl: 32px;
  --body-font: "AvenirMecorex", Arial, Helvetica, sans-serif;
  --display-font: "RobotoMecorex", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 10001;
  transform: translateY(-140%);
  background: #000;
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  margin: 0;
  padding: 0 max(var(--page-pad), calc((100vw - var(--max)) / 2));
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  z-index: 20;
  transition: transform .3s linear;
  will-change: transform;
}

.site-header.header-hidden {
  transform: none;
}

.brand,
.footer-brand {
  width: 200px;
  flex: 0 0 auto;
  line-height: 0;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-link {
  text-decoration: none;
}

.nav-link.active,
.nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: #000;
}

.mobile-menu {
  position: fixed;
  inset: 69px 0 auto 0;
  z-index: 19;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .08);
  padding: 24px var(--page-pad) 30px;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font: 700 18px/1 Arial, Helvetica, sans-serif;
  text-decoration: none;
}

main {
  overflow: visible;
}

.hero-section {
  width: min(var(--max), calc(100vw - 2 * 8px));
  margin: 0 auto;
}

.rounded-media,
.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 720px;
}

.hero-media img {
  width: 100%;
  height: 720px;
  object-fit: cover;
  object-position: center;
}

.glass-panel {
  background: rgba(18, 22, 25, .72);
  color: #fff;
  border-radius: 15px;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.hero-panel {
  position: absolute;
  left: clamp(28px, 5.7vw, 88px);
  top: 315px;
  width: 516px;
  min-height: 465px;
  transform: translateY(-50%);
  padding: 84px 41px 44px;
}

.hero-panel h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 49px;
  font-weight: 400;
  line-height: .97;
  letter-spacing: 0;
}

.hero-panel p {
  margin: 66px 0 0;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.45;
}

.intro-pair,
.cta-pair {
  width: min(var(--max), calc(100vw - 2 * 8px));
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dark-card,
.image-card {
  min-height: 525px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.dark-card {
  background: var(--navy);
  color: #fff;
  padding: 88px 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dark-card h2 {
  margin: 0;
  max-width: 620px;
  font-family: var(--display-font);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

.dark-card p {
  margin: 0;
  max-width: 610px;
  font-size: 18px;
  line-height: 1.45;
}

.image-card .fill {
  width: 100%;
  height: 100%;
  min-height: 525px;
  object-fit: cover;
}

.section-title {
  width: min(var(--max), calc(100vw - 2 * var(--page-pad)));
  margin: 82px auto 78px;
}

.section-title h2,
.glance h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(44px, 4.7vw, 68px);
  font-weight: 400;
  line-height: 1.08;
}

.feature-band {
  position: relative;
  width: min(var(--max), calc(100vw - 2 * 8px));
  min-height: 625px;
  margin: 0 auto 18px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.feature-band img {
  width: 100%;
  height: 625px;
  object-fit: cover;
}

.feature-panel {
  position: absolute;
  top: 86px;
  width: 537px;
  min-height: 472px;
  background: #fff;
  border-radius: 24px;
  padding: 92px 60px 62px;
}

.feature-left .feature-panel {
  left: 54px;
}

.feature-right .feature-panel {
  right: 54px;
}

.feature-panel h2,
.about-row h2,
.site-footer h2 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.metric {
  margin: 54px 0 44px;
  border-left: 1px solid #000;
  padding-left: 20px;
}

.metric span {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.metric strong {
  display: block;
  font-family: var(--display-font);
  font-size: 58px;
  font-weight: 400;
  line-height: .9;
}

.feature-panel p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.44;
}

.glance {
  width: min(var(--max), calc(100vw - 2 * var(--page-pad)));
  margin: 92px auto 100px;
  min-height: 560px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
  margin-top: 205px;
}

.stats article {
  border-top: 1px solid #000;
  padding-top: 18px;
}

.stats strong {
  display: block;
  margin: -104px 0 26px;
  font-family: var(--display-font);
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
}

.stats span {
  font-size: 18px;
}

.cta-pair {
  margin-top: 0;
}

.cta-pair .dark-card h2 {
  font-size: 58px;
}

.cta-pair .dark-card p {
  margin-top: 64px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 39px;
  margin-top: 38px;
  color: #181425;
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: .9px;
}

.pill-link.dark {
  background: #000;
  color: #fff;
}

.about-hero {
  width: min(var(--max), calc(100vw - 2 * var(--page-pad)));
  margin: 126px auto 58px;
  text-align: center;
}

.about-hero h1,
.contact-section h1,
.legal-hero h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(58px, 5vw, 80px);
  font-weight: 400;
  line-height: 1.05;
}

.about-hero h1 {
  white-space: nowrap;
}

.about-cover {
  position: relative;
  width: calc(100vw - 80px);
  min-height: 705px;
  margin: 0 auto 34px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-cover img {
  width: 100%;
  height: 705px;
  object-fit: cover;
}

.about-panel {
  position: absolute;
  left: 54px;
  top: 86px;
  width: 547px;
  min-height: 570px;
  background: #fff;
  border-radius: 24px;
  padding: 128px 60px 70px;
}

.about-panel p,
.about-row p {
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.45;
}

.about-row {
  width: min(var(--max), calc(100vw - 2 * 20px));
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.about-row.flip {
  gap: 82px;
}

.about-row article {
  max-width: 565px;
}

.about-row h2 {
  margin-bottom: 18px;
}

.about-img {
  border-radius: 24px;
  overflow: hidden;
  height: 323px;
}

.about-img .fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-section {
  width: min(1296px, calc(100vw - 2 * var(--page-pad)));
  margin: 125px auto 126px;
}

.contact-section h1 {
  text-align: center;
  margin-bottom: 45px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  row-gap: 28px;
  font-size: 17px;
}

.contact-form label {
  display: flex;
  min-height: 66px;
  flex-direction: column;
  justify-content: space-between;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  background: transparent;
  color: #000;
  font: 17px/1.4 var(--body-font);
  outline: none;
  padding: 8px 0 9px;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form .full,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form button {
  margin-top: -3px;
  height: 43px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font: 17px/1 var(--body-font);
  cursor: pointer;
}

.contact-form button:hover,
.pill-link.dark:hover {
  background: #202020;
}

.hidden-field {
  display: none;
}

.thank-you {
  min-height: 520px;
  text-align: center;
}

.thank-you p {
  font-size: 20px;
  margin: 24px 0 34px;
}

.legal-hero {
  width: min(var(--max), calc(100vw - 2 * var(--page-pad)));
  margin: 92px auto 72px;
  text-align: center;
}

.legal-copy {
  width: min(1084px, calc(100vw - 2 * var(--page-pad)));
  margin: 0 auto 110px;
}

.legal-copy p,
.legal-copy li {
  font-size: 17px;
  line-height: 1.55;
}

.legal-copy p {
  margin: 0 0 24px;
}

.legal-copy h2 {
  margin: 36px 0 20px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 400;
}

.legal-copy ul {
  margin: 0 0 24px 22px;
  padding: 0;
}

.site-footer {
  position: relative;
  --footer-left: max(131px, calc((100vw - 1280px) / 2));
  width: 100%;
  margin: 0 auto;
  min-height: 204px;
  padding: 31px 40px 15px var(--footer-left);
  background: #fff;
  z-index: 7;
}

.footer-grid {
  display: grid;
  grid-template-columns: clamp(316px, 24vw, 397px) clamp(285px, 21.75vw, 359px) 1fr;
  gap: 0;
  align-items: start;
}

.site-footer h2 {
  margin-bottom: 19px;
}

.site-footer a {
  display: block;
  width: max-content;
  margin-bottom: 6px;
  text-decoration: none;
  font-size: 16px;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-brand {
  margin-top: 7px;
}

.site-footer .footer-brand {
  width: 200px;
}

.credit {
  position: absolute;
  right: 40px;
  bottom: 17px;
  z-index: 2;
  text-decoration: none;
  white-space: nowrap;
  line-height: 0;
}

.credit img {
  width: 119px;
  height: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(-48px);
  transition: opacity 1.2s cubic-bezier(.22, 1, .36, 1), transform 1.2s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hero-section.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.stats article {
  opacity: 0;
  transform: perspective(900px) rotateX(-7deg);
  transform-origin: 50% 0;
  transition: opacity 1.2s cubic-bezier(.22, 1, .36, 1), transform 1.2s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.glance.in-view .stats article {
  opacity: 1;
  transform: perspective(900px) rotateX(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .stats article {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  :root {
    --page-pad: 40px;
  }

  .hero-media,
  .hero-media img {
    min-height: 610px;
    height: 610px;
  }

  .hero-panel {
    top: 300px;
    width: min(500px, calc(100% - 56px));
    min-height: 390px;
    padding-top: 70px;
  }

  .intro-pair,
  .cta-pair,
  .about-row {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    width: min(537px, calc(100% - 80px));
    left: 40px;
    right: auto;
  }

  .feature-right .feature-panel {
    right: 40px;
    left: auto;
  }

  .stats {
    gap: 28px;
  }

  .about-row,
  .about-row.flip {
    gap: 32px;
  }
}

body[data-page="home"] .feature-band {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 100vh;
  min-height: 720px;
  margin-bottom: 0;
  background: #fff;
  transform: translateZ(0);
}

body[data-page="home"] .feature-band.reveal {
  opacity: 1;
  transition: none;
}

body[data-page="home"] .feature-band > img {
  height: 100%;
  min-height: 100%;
}

body[data-page="home"] .feature-band:nth-of-type(4) {
  z-index: 2;
}

body[data-page="home"] .feature-band:nth-of-type(5) {
  z-index: 3;
}

body[data-page="home"] .feature-band:nth-of-type(6) {
  z-index: 4;
}

body[data-page="home"] .glance {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: none;
  min-height: auto;
  margin: 0;
  padding: 128px 0 56px;
  background: #fff;
  isolation: isolate;
}

body[data-page="home"] .glance::before {
  content: "";
  position: absolute;
  inset: -120px 0 0;
  z-index: -1;
  background: #fff;
}

body[data-page="home"] .glance h2,
body[data-page="home"] .glance .stats {
  width: min(1450px, calc(100vw - 200px));
  margin-left: auto;
  margin-right: auto;
}

body[data-page="home"] .glance .stats {
  margin-top: 288px;
}

body[data-page="home"] .cta-pair {
  position: relative;
  z-index: 6;
  background: #fff;
}

@media (max-width: 760px) {
  .site-header.header-hidden {
    transform: none;
  }

  body[data-page="home"] .feature-band {
    height: calc(100svh - 72px);
    min-height: 760px;
  }

  body[data-page="home"] .feature-band > img {
    height: 100%;
    min-height: 100%;
  }

  body[data-page="home"] .glance {
    min-height: auto;
    padding: 68px 0 28px;
  }

  body[data-page="home"] .glance h2,
  body[data-page="home"] .glance .stats {
    width: calc(100vw - 44px);
  }

  body[data-page="home"] .glance .stats {
    margin-top: 100px;
  }
}

@media (max-width: 760px) {
  :root {
    --page-pad: 22px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    width: 100%;
    min-height: 73px;
    margin: 0;
    padding: 0 15px;
    justify-content: center;
  }

  .brand {
    width: 200px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 15px;
    top: 14px;
  }

  .mobile-menu {
    inset-block-start: 73px;
  }

  .hero-section,
  .intro-pair,
  .cta-pair,
  .feature-band,
  .about-cover {
    width: calc(100vw - 16px);
  }

  .hero-media,
  .hero-media img {
    min-height: 640px;
    height: 640px;
  }

  .hero-media img {
    object-position: 47% center;
  }

  .hero-panel {
    left: 25px;
    top: 315px;
    width: calc(100% - 50px);
    min-height: 310px;
    padding: 52px 30px 34px;
  }

  .hero-panel h1 {
    font-size: 39px;
  }

  .hero-panel p {
    margin-top: 44px;
    font-size: 14px;
  }

  .dark-card,
  .image-card,
  .image-card .fill {
    min-height: 430px;
  }

  .dark-card {
    padding: 48px 34px;
  }

  .dark-card h2,
  .cta-pair .dark-card h2 {
    font-size: 40px;
  }

  .dark-card p {
    font-size: 16px;
  }

  .section-title {
    margin: 60px auto 46px;
  }

  .section-title h2,
  .glance h2 {
    font-size: 42px;
  }

  .feature-band,
  .feature-band img {
    min-height: 790px;
    height: 790px;
  }

  .feature-band img {
    object-position: center top;
  }

  .feature-panel,
  .feature-left .feature-panel,
  .feature-right .feature-panel {
    left: 18px;
    right: 18px;
    top: 245px;
    width: auto;
    min-height: 470px;
    padding: 52px 34px 40px;
  }

  .metric {
    margin: 36px 0 34px;
  }

  .feature-panel p {
    font-size: 15px;
  }

  .glance {
    min-height: auto;
    margin: 68px auto;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 70px 28px;
    margin-top: 100px;
  }

  .stats strong {
    margin-top: -72px;
    font-size: 49px;
  }

  .about-hero,
  .legal-hero,
  .contact-section {
    margin-top: 80px;
  }

  .about-hero {
    width: 100%;
    min-height: 121px;
    margin: 0;
    padding: 15px 30px 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .about-hero h1,
  .contact-section h1,
  .legal-hero h1 {
    font-size: 49px;
  }

  .about-hero h1 {
    max-width: 330px;
    font-size: 33px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: normal;
  }

  .about-cover,
  .about-cover img {
    min-height: 507px;
    height: 507px;
  }

  .about-cover {
    width: calc(100vw - 28px);
  }

  .about-panel {
    left: 31px;
    right: 31px;
    top: 37px;
    width: auto;
    min-height: 433px;
    padding: 34px 21px 28px;
  }

  .about-panel p {
    margin-bottom: 23px;
    font-size: 15px;
    line-height: 1.34;
  }

  .about-row {
    width: calc(100vw - 44px);
  }

  .about-row.flip article {
    order: 2;
  }

  .about-row.flip .about-img {
    order: 1;
  }

  .about-img {
    height: 240px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 48px;
    width: calc(100vw - 44px);
    min-height: auto;
    padding: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    width: 200px;
  }

  .credit {
    position: static;
    margin: 32px 0 0 auto;
    width: max-content;
  }
}
