:root {
  color-scheme: dark;
  --text: #f6f1e7;
  --muted: rgba(246, 241, 231, 0.72);
  --line: rgba(246, 241, 231, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #0b0b0a;
}

body {
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 46%, transparent 0, transparent 38%, rgba(7, 7, 6, 0.44) 76%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.18), rgba(8, 8, 7, 0.5));
  pointer-events: none;
}

.contact-link {
  position: absolute;
  z-index: 2;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.62);
  transition:
    color 180ms ease,
  opacity 180ms ease;
}

.contact-link {
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.contact-link:hover {
  color: var(--text);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .hero-image {
    object-position: 61% 50%;
  }

  .hero-scrim {
    background:
      radial-gradient(circle at 58% 44%, transparent 0, transparent 32%, rgba(7, 7, 6, 0.38) 74%),
      linear-gradient(180deg, rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.56));
  }

  .contact-link {
    font-size: 13px;
  }
}

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