:root {
  color-scheme: dark;
  background: #091416;
  color: #d7dfd4;
  font-family: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 240px;
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 50% 41%, #26434236 0, #13292b24 34%, transparent 65%),
    radial-gradient(ellipse at 50% 110%, #111f22 0, transparent 58%),
    #091416;
}

body::before,
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
}

body::before {
  inset: 20px;
  border: 1px solid #a0b7ac1c;
}

body::after {
  inset: 27px;
  border: 1px solid #a0b7ac08;
}

.threshold {
  min-height: 100vh;
  min-height: 100svh;
  padding: 52px 28px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.doorway {
  width: min(440px, 82vw);
  margin-bottom: 22px;
}

.doorway img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 52svh;
  object-fit: contain;
  filter: drop-shadow(0 0 16px #92c0b326);
}

h1 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: .035em;
  text-shadow: 0 0 32px #d4e2d510;
}

h1 span {
  display: block;
  margin-top: 5px;
  color: #9cae9f;
  font-size: .91em;
  font-style: italic;
  letter-spacing: .025em;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  color: #809b8e;
}

.ornament::before,
.ornament::after {
  content: '';
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #809b8e66);
}

.ornament::after { transform: rotate(180deg); }
.ornament span { width: 5px; height: 5px; border: 1px solid currentColor; transform: rotate(45deg); }

@media (max-width: 480px) {
  body::before { inset: 12px; }
  body::after { inset: 18px; }
  .threshold { padding: 40px 24px; }
  .doorway { margin-bottom: 28px; }
  .ornament { margin-top: 28px; }
}

@media (max-height: 600px) and (min-width: 600px) {
  .threshold { padding-block: 32px; }
  .doorway { margin-bottom: 16px; }
  .doorway img { max-height: 44svh; }
  h1 { font-size: 32px; }
  .ornament { margin-top: 20px; }
}
