/* Adapted from Aerial by HTML5 UP | html5up.net | CC BY 3.0. */
:root {
  color-scheme: dark;
  --scene-width: max(1800px, 150vw);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #fff;
  background: #348cb2;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
}
.landscape {
  position: fixed;
  z-index: -2;
  top: 0;
  left: 0;
  width: calc(100% + var(--scene-width));
  height: 100%;
  background: #348cb2 url("mountains.jpg") repeat-x left bottom / var(--scene-width) auto;
  animation: drift 120s linear infinite;
  pointer-events: none;
}
.overlay {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 37 55 / 24%), rgb(10 37 55 / 8%) 48%, rgb(7 24 36 / 65%)), url("overlay-pattern.png"), url("overlay.svg") center / cover;
  pointer-events: none;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2.75rem;
}
.wordmark { font-size: 1.8rem; font-weight: 800; letter-spacing: -.08em; }
.wordmark-dot { color: #c5e8ec; }
.masthead-label { font-size: .64rem; letter-spacing: .19em; line-height: 1.8; }
main { display: grid; place-items: center; padding: 2rem 1.5rem 7vh; text-align: center; }
.intro { animation: arrive .9s ease-out both; }
.eyebrow { margin: 0 0 1.1rem; font-size: .74rem; letter-spacing: .23em; }
h1 { margin: 0; font-size: clamp(3.75rem, 8.5vw, 7rem); line-height: 1.08; font-weight: 800; letter-spacing: -.055em; }
.tagline { margin: 1.45rem 0 0; font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: .2em; line-height: 1.9; }
.divider { display: block; width: 2.25rem; height: 1px; margin: 1.75rem auto; background: rgb(255 255 255 / 65%); }
.welcome { margin: 0; font-size: .82rem; letter-spacing: .12em; line-height: 2; }
.intro { text-shadow: 0 2px 16px rgb(5 28 45 / 65%); }
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  padding: 1.5rem 2.75rem;
  font-size: .65rem;
  line-height: 1.9;
  letter-spacing: .02em;
  color: #f1f5f7;
}
a { color: inherit; text-decoration-color: rgb(255 255 255 / 45%); text-underline-offset: .25em; }
a:hover { text-decoration-color: #fff; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; border-radius: 2px; }
.credit-separator { margin: 0 .6rem; }
@keyframes drift { to { transform: translateX(calc(-1 * var(--scene-width))); } }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  :root { --scene-width: 1100px; }
  .masthead { padding: 1.25rem 1.5rem; }
  .masthead-label { max-width: 12rem; text-align: right; font-size: .56rem; }
  main { padding-bottom: 5vh; }
  .tagline { letter-spacing: .12em; }
  .welcome { font-size: .75rem; letter-spacing: .04em; }
  footer { justify-content: center; padding: 1.2rem; text-align: center; }
  .credits { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .landscape, .intro { animation: none; }
}
