:root {
  --red: #b80833;
  --blue: #8ca9ff;
  --pink: #f7c3ff;
  --light: #f0f0f0;
  --page-padding: clamp(1.25rem, 3vw, 3rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--red);
}

body {
  color: var(--light);
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--red);
}

.navbar,
.footer {
  position: absolute;
  z-index: 10;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--page-padding);
}

.navbar {
  top: 0;
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
}

.brand {
  display: block;
  width: clamp(4.875rem, 6.825vw, 6.90625rem);
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.footer a {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
}

.hero-animation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 180ms ease;
}

.hero-animation.is-ready {
  opacity: 1;
}

.hero-animation svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero-fallback {
  display: block;
  width: min(68vw, 57rem);
}

.hero-fallback img {
  display: block;
  width: 100%;
  height: auto;
}

.footer {
  bottom: 0;
  padding-bottom: clamp(1.25rem, 3vw, 2.5rem);
}

.footer a {
  position: relative;
  padding-block: 0.35rem;
}

.footer a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.footer a:hover::after,
.footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.external {
  display: inline-block;
  margin-left: 0.3rem;
}

@media (max-width: 768px) {
  .brand {
    width: 5.04rem;
  }

  .hero-fallback {
    width: min(64vw, 20rem);
  }

  .footer {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer a {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animation {
    display: none;
  }
}
