:root {
  color-scheme: dark;
  background: #1d2538;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  --accent: #fa6e05;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
}

.backdrop,
.backdrop::after {
  position: absolute;
  inset: 0;
}

.backdrop {
  z-index: -1;
  overflow: hidden;
}

.backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.backdrop::after {
  content: "";
  background:
    radial-gradient(ellipse at 50% 45%, #0007, #0002 62%, transparent 83%),
    linear-gradient(180deg, #05060926 0%, #05060524 40%, #05060548 67%, #050605eb 100%);
}

.intro {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 28rem;
  padding: clamp(3rem, 12vh, 8rem) 1rem 2rem;
  text-align: center;
}

.brand {
  display: block;
  width: clamp(15rem, 61vw, 40rem);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 20px #000a);
}

h1 {
  display: grid;
  justify-items: center;
  gap: .9rem;
  margin: clamp(1.35rem, 3.4vh, 2.35rem) 0 0;
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .08em;
  text-shadow: 0 1px 12px #000;
}

h1::before {
  content: "";
  width: 2.15rem;
  height: 2px;
  background: var(--accent);
}

.credit {
  display: grid;
  justify-items: center;
  padding: 1.25rem 1rem max(1.5rem, env(safe-area-inset-bottom));
  text-align: center;
}

.credit a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  color: #e3dfdc;
  font-size: .9rem;
  line-height: 1.45;
  text-decoration: none;
  text-underline-offset: .25em;
  text-shadow: 0 1px 8px #000;
}

.credit a:hover span { text-decoration: underline; }
.credit a:focus-visible { outline: 2px solid var(--accent); outline-offset: .45rem; }

.credit img {
  display: block;
  width: clamp(7.1rem, 11vw, 9rem);
  height: auto;
}

@media (max-width: 640px) {
  .brand { width: 89vw; }
  .backdrop img { object-position: 59% 50%; }
  .intro { padding-top: 3.25rem; }
  .credit { padding-bottom: max(1.25rem, env(safe-area-inset-bottom)); }
}

@media (max-height: 600px) and (orientation: landscape) {
  .intro { min-height: 16rem; padding-top: 1.25rem; }
  .brand { width: min(55vw, 22rem); }
  h1 { margin-top: 1rem; }
}

@media (max-width: 640px) and (orientation: portrait) {
  :root { background-color: #162038; }
}
