@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/instrumentserif/v5/jizBRFtNs2ka5fXjeivQ4LroWlx-6zUTjnTLgNs.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format("woff2");
}

:root {
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --ease-reveal: cubic-bezier(.2, .7, .2, 1);
  --ease-line: cubic-bezier(.6, 0, .2, 1);
}

html, body { margin: 0; padding: 0; background: #0d1426; }
a { color: #fff; text-decoration: none; }
a:hover { color: #fff; }

/* Footer — all sizes scale off --u (1 design px at a 1902px-wide viewport) */
.site-footer {
  --u: calc(100vw / 1902);
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  height: 100svh;
  box-sizing: border-box;
  background: #7ea7d6;
  color: #fff;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 1px 14px rgba(10, 20, 40, .22);
}

.site-footer__sky {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: none; z-index: 0;
}
.site-footer__scene {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 100%;
  z-index: 1;
}
.site-footer__scene img,
.site-footer__scene video,
.site-footer__scene canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom; display: block;
}
/* Holds the last "off" frame while the video seeks back, then dissolves */
.site-footer__fade { opacity: 0; pointer-events: none; }
.site-footer__shade {
  position: absolute; left: 0; right: 0; top: 0; height: 38%;
  z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 14, 30, .42), rgba(8, 14, 30, .16) 55%, rgba(8, 14, 30, 0));
}
.site-footer__fx {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 4; pointer-events: none;
}

.site-footer__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: calc(var(--u) * 528) calc(var(--u) * 404) calc(var(--u) * 404) minmax(0, 1fr);
  padding: calc(var(--u) * 78) 0 0 calc(var(--u) * 105);
  box-sizing: border-box;
  align-items: start;
}

.site-footer__brand,
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; }

.site-footer__tagline {
  margin: calc(26 * var(--u)) 0 0;
  max-width: calc(300 * var(--u));
  font-size: calc(19.5 * var(--u));
  line-height: 1.5;
  text-wrap: pretty;
}
.site-footer__legal {
  margin: calc(34 * var(--u)) 0 0;
  font-size: calc(17 * var(--u));
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
}

.site-footer__heading {
  margin: 0 0 calc(40 * var(--u));
  font-family: var(--serif);
  font-weight: 400;
  font-size: calc(35 * var(--u));
  line-height: 1;
}
.site-footer__links {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: calc(19 * var(--u));
}

/* Underline wipes in from the left on hover, out to the right on leave */
.footer-link {
  display: inline-block;
  font-size: calc(19.5 * var(--u));
  line-height: 1.3;
  color: #fff;
  padding-bottom: calc(3 * var(--u));
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-size: 0% calc(1.6 * var(--u));
  transition: background-size .32s var(--ease-line);
}
.footer-link:hover,
.footer-link:focus-visible {
  background-position: 0% 100%;
  background-size: 100% calc(1.6 * var(--u));
}

/* Power-button wordmark */
.power {
  --lit: 0;
  appearance: none; background: none; border: 0; padding: 0; margin: 0;
  color: #fff;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 400;
  font-size: calc(58 * var(--u));
  line-height: 1;
  letter-spacing: -0.005em;
  text-shadow: inherit;
  display: inline-flex;
  align-items: baseline;
  -webkit-tap-highlight-color: transparent;
}
.power__icon {
  display: inline-block;
  /* 1 viewBox unit = 0.01239em; ring sits on the baseline, stem drops to the descender */
  width: 0.62em; height: 0.966em;
  margin: 0 0.01em 0 0;
  overflow: visible;
  position: relative; top: 0.258em;
  transform-origin: 50% 49%;
  filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  transition: transform .14s ease, filter .3s ease;
}
.power__halo { opacity: var(--lit, 0); }
.power:hover .power__icon,
.power:focus-visible .power__icon {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .75)) drop-shadow(0 0 14px rgba(255, 255, 255, .35));
}
.power:active .power__icon { transform: scale(0.94); }

/* Staggered entrance; each element sets its own --d delay */
.reveal {
  opacity: 0;
  transform: translateY(calc(10 * var(--u)));
  transition: opacity .9s var(--ease-reveal) var(--d, 0ms), transform .9s var(--ease-reveal) var(--d, 0ms);
}
.site-footer.is-revealed .reveal { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .site-footer {
    --u: 0.78px;
    height: auto;
    padding-bottom: 76.5vw;
  }
  .site-footer__sky { display: block; }
  .site-footer__scene {
    left: -35%; width: 170%; height: 95.625vw;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 24%);
  }
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 44px 24px 0;
    row-gap: 44px;
  }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__video { display: none; }
  .reveal { opacity: 1; transform: none; }
}
