:root {
  --page-ink: #f7f4ed;
  --page-gold: #d6ae5a;
  --page-night: #03070b;
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--page-night);
}

body {
  color: var(--page-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.page-shell { min-block-size: 100svh; }

.hero {
  isolation: isolate;
  position: relative;
  min-block-size: 100svh;
  min-height: 36rem;
  overflow: clip;
  background: var(--page-night);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 7, 12, 0.95) 0%, rgba(2, 7, 12, 0.84) 34%, rgba(2, 7, 12, 0.45) 59%, rgba(2, 7, 12, 0.14) 100%),
    linear-gradient(0deg, rgba(2, 7, 12, 0.5) 0%, transparent 44%, rgba(2, 7, 12, 0.12) 100%);
}

.hero-media { position: absolute; z-index: 0; inset: 0; }

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.86) contrast(1.04);
}

.wordmark,
.contact-art,
.site-footer { position: absolute; z-index: 2; }

.wordmark {
  top: clamp(1.75rem, 4.1vw, 4.4rem);
  left: clamp(1.75rem, 6.6vw, 8.8rem);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(247, 244, 237, 0.94);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.wordmark-mark {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--page-gold);
  box-shadow: 0 0 1.15rem rgba(214, 174, 90, 0.42);
}

.contact-art {
  top: 50%;
  left: clamp(1.75rem, 6.6vw, 8.8rem);
  width: clamp(29rem, 41vw, 48rem);
  transform: translateY(-45%);
}

.contact-art picture,
.contact-art img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-art img { filter: drop-shadow(0 0.65rem 1.8rem rgba(0, 0, 0, 0.26)); }

.site-footer {
  right: clamp(1.75rem, 4vw, 4.5rem);
  bottom: clamp(1.5rem, 3.2vw, 3.6rem);
  color: rgba(247, 244, 237, 0.58);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 700px) and (orientation: portrait) {
  .hero { min-height: 40rem; }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(2, 7, 12, 0.54) 0%, rgba(2, 7, 12, 0.08) 30%, rgba(2, 7, 12, 0.53) 58%, rgba(2, 7, 12, 0.94) 100%),
      linear-gradient(90deg, rgba(2, 7, 12, 0.45) 0%, transparent 74%);
  }

  .hero-media img { object-position: center center; }

  .wordmark {
    top: max(1.5rem, env(safe-area-inset-top));
    left: 1.5rem;
    font-size: 0.64rem;
    letter-spacing: 0.23em;
  }

  .contact-art {
    top: auto;
    right: 1.5rem;
    bottom: clamp(4.8rem, 12svh, 7.7rem);
    left: 1.5rem;
    width: auto;
    transform: none;
  }

  .site-footer {
    right: 1.5rem;
    bottom: max(1.35rem, env(safe-area-inset-bottom));
    left: 1.5rem;
    font-size: 0.58rem;
    letter-spacing: 0.13em;
  }
}

@media (max-height: 43rem) and (min-width: 701px) {
  .wordmark { top: 1.7rem; }
  .contact-art { width: min(38vw, 35rem); }
  .site-footer { bottom: 1.5rem; }
}
