:root {
  color-scheme: dark;
  --obsidian: #050507;
  --graphite: #0d0c0e;
  --gold: #d6a35b;
  --antique-gold: #a8783f;
  --copper: #89512f;
  --cream: #f1ddba;
  --muted-cream: #bda680;
}

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

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

body {
  overflow: hidden;
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.cover {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  height: 100dvh;
  overflow: hidden;
  padding: max(20px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  background:
    radial-gradient(
      circle at 50% 43%,
      rgba(137, 81, 47, 0.14),
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 46%,
      rgba(214, 163, 91, 0.045),
      transparent 52%
    ),
    linear-gradient(180deg, #080709 0%, var(--obsidian) 48%, #030304 100%);
}

.cover::before,
.cover::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.cover::before {
  background:
    linear-gradient(
      90deg,
      transparent 12%,
      rgba(201, 147, 73, 0.035) 12.08%,
      transparent 12.18%
    ),
    linear-gradient(
      90deg,
      transparent 24%,
      rgba(201, 147, 73, 0.025) 24.08%,
      transparent 24.18%
    ),
    linear-gradient(
      90deg,
      transparent 76%,
      rgba(201, 147, 73, 0.025) 76.08%,
      transparent 76.18%
    ),
    linear-gradient(
      90deg,
      transparent 88%,
      rgba(201, 147, 73, 0.035) 88.08%,
      transparent 88.18%
    );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 18%,
    black 82%,
    transparent
  );
  opacity: 0.9;
}

.cover::after {
  background: radial-gradient(
    ellipse at center,
    transparent 34%,
    rgba(0, 0, 0, 0.36) 72%,
    rgba(0, 0, 0, 0.76) 100%
  );
}

.depth-back {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.depth-back {
  z-index: -1;
}

.architecture {
  position: absolute;
  inset: 7% 5%;
  border-right: 1px solid rgba(191, 136, 67, 0.035);
  border-left: 1px solid rgba(191, 136, 67, 0.035);
}

.architecture::before,
.architecture::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 17%;
  border-top: 1px solid rgba(191, 136, 67, 0.045);
  border-bottom: 1px solid rgba(191, 136, 67, 0.045);
  content: "";
}

.architecture::before {
  left: 7%;
  border-left: 1px solid rgba(191, 136, 67, 0.045);
}

.architecture::after {
  right: 7%;
  border-right: 1px solid rgba(191, 136, 67, 0.045);
}

.glint-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.distant-glint {
  --glint-x: 50%;
  --glint-y: 50%;
  --glint-height: 32%;
  position: absolute;
  top: var(--glint-y);
  left: var(--glint-x);
  width: 1px;
  height: var(--glint-height);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(226, 170, 91, 0.3),
    transparent
  );
  box-shadow: 0 0 18px rgba(210, 139, 60, 0.14);
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0.52);
  will-change: transform, opacity;
}

.gate {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero {
  position: relative;
  width: min(48vh, 430px);
  width: min(48dvh, 430px);
  max-width: min(76vw, 430px);
  aspect-ratio: 1;
  flex: 0 1 auto;
  margin: -2.5vh 0 40px;
}

.hero-symbol {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(200, 129, 45, 0.14));
}

.wordmark {
  position: relative;
  z-index: 3;
}

.wordmark h1 {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 5.2vw, 4.8rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 0.98;
  text-indent: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(205, 151, 75, 0.12);
}

.wordmark p {
  margin: clamp(15px, 2.4vh, 24px) 0 0;
  color: var(--gold);
  font-size: clamp(0.72rem, 1.15vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  line-height: 1.5;
  text-transform: uppercase;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.7vw, 18px);
  margin-top: clamp(24px, 4.4vh, 42px);
}

.socials a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted-cream);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.socials img {
  display: block;
  filter: brightness(0) saturate(100%) invert(79%) sepia(28%) saturate(702%)
    hue-rotate(355deg) brightness(90%) contrast(88%);
  opacity: 0.88;
}

.socials a:hover,
.socials a:focus-visible {
  border-color: rgba(214, 163, 91, 0.45);
  background: rgba(214, 163, 91, 0.055);
  color: #f2cd8f;
}

.socials a:focus-visible {
  outline: 2px solid rgba(231, 183, 108, 0.82);
  outline-offset: 3px;
}

.age {
  margin: clamp(22px, 3.9vh, 38px) 0 0;
  color: rgba(241, 221, 186, 0.67);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .cover {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .hero {
    width: min(42dvh, 330px);
    max-width: 84vw;
    margin-top: -1vh;
    margin-bottom: 22px;
  }

  .wordmark h1 {
    font-size: clamp(2.15rem, 13vw, 3.2rem);
    letter-spacing: 0.16em;
    text-indent: 0.16em;
  }

  .wordmark p {
    max-width: 310px;
    font-size: 0.68rem;
    letter-spacing: 0.19em;
  }

  .socials {
    gap: 2px;
  }

  .socials a {
    padding-inline: 9px;
    font-size: 0.64rem;
  }
}

@media (max-height: 620px) {
  .hero {
    width: min(39dvh, 250px);
    margin-top: -2vh;
    margin-bottom: 16px;
  }

  .wordmark h1 {
    font-size: clamp(2rem, 8.5vh, 3rem);
  }

  .wordmark p {
    margin-top: 10px;
  }

  .socials {
    margin-top: 14px;
  }

  .age {
    margin-top: 12px;
  }
}

@media (max-height: 460px) and (orientation: landscape) {
  .gate {
    width: min(100%, 900px);
    display: grid;
    grid-template-columns: minmax(190px, 0.72fr) minmax(280px, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: clamp(22px, 5vw, 60px);
  }

  .hero {
    grid-row: 1 / -1;
    width: min(74dvh, 330px);
    max-width: 36vw;
    margin: 0;
  }

  .wordmark,
  .socials,
  .age {
    grid-column: 2;
  }

  .wordmark h1 {
    font-size: clamp(2.1rem, 7vw, 3.8rem);
  }

  .wordmark p {
    margin-top: 12px;
  }

  .socials {
    margin-top: 14px;
  }

  .age {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .distant-glint {
    display: none;
  }
}
