:root {
  color-scheme: dark;
  background: #081119;
  color: #f3f4f5;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: max(64px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(64px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}

.landscape, .hero__shade { position: absolute; inset: 0; pointer-events: none; }
.landscape { z-index: -3; overflow: hidden; }
.landscape__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  animation: landscape-settle 1800ms cubic-bezier(.2,.65,.3,1) both;
}
.hero__shade {
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 45%, rgb(5 12 19 / 8%) 12%, rgb(3 8 13 / 10%) 48%, rgb(2 6 10 / 45%) 100%),
    linear-gradient(180deg, rgb(3 8 13 / 12%), rgb(4 10 17 / 24%) 48%, rgb(3 7 12 / 32%));
}

.brand {
  width: 100%;
  max-width: 840px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}
.brand__symbol {
  display: block;
  width: min(70%, 444px);
  max-width: 88%;
  height: auto;
  overflow: hidden;
  animation: arrive 1200ms cubic-bezier(.16,1,.3,1) both;
}
.brand__name {
  width: min(100%, 630px);
  margin: 22px 0 0;
  line-height: 0;
  animation: arrive 1200ms 140ms cubic-bezier(.16,1,.3,1) both;
}
.brand__wordmark {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  /* Preserve the original letterforms; change only their displayed colour. */
  filter: brightness(0) invert(1);
  opacity: .96;
}
.brand__signature {
  display: flex;
  width: min(100%, 780px);
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 32px);
  margin-top: 32px;
  animation: arrive 1200ms 280ms cubic-bezier(.16,1,.3,1) both;
}
.brand__tagline {
  margin: 0;
  color: #d7dbdf;
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .3em;
  text-wrap: balance;
  text-shadow: 0 2px 12px #02070c;
}
.brand__tagline span { white-space: nowrap; }
.brand__rule {
  flex: 1 1 52px;
  max-width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e7a44c);
}
.brand__rule--end { transform: rotate(180deg); }
.hero__accent {
  position: absolute;
  bottom: max(28px, env(safe-area-inset-bottom));
  width: 1px;
  height: 30px;
  background: linear-gradient(transparent, rgb(236 166 83 / 55%), transparent);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes landscape-settle {
  from { transform: scale(1.025); }
  to { transform: scale(1); }
}

@media (max-width: 600px) {
  .hero { padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right)); }
  .landscape__image { object-position: 53% 50%; }
  .hero__shade {
    background: radial-gradient(ellipse at center, rgb(4 11 18 / 12%), rgb(3 8 13 / 35%) 75%, rgb(2 6 10 / 50%));
  }
  .brand { padding-bottom: 8px; }
  .brand__symbol { width: 290px; max-width: 94%; }
  .brand__name { margin-top: 25px; max-width: 420px; }
  .brand__signature { gap: 18px; margin-top: 26px; max-width: 350px; }
  .brand__tagline { font-size: 10px; line-height: 2.05; letter-spacing: .23em; }
  .brand__tagline span { display: block; }
  .brand__rule { max-width: 36px; }
}
@media (max-height: 500px) and (min-width: 601px) {
  .hero { padding-block: 32px; }
  .brand { padding: 0; }
  .brand__symbol { width: 250px; }
  .brand__name { width: 400px; margin-top: 12px; }
  .brand__signature { margin-top: 18px; max-width: 570px; }
  .hero__accent { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
