:root {
  color-scheme: dark;
  --black: #000;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family:
    "Arial Black", Impact, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  transform: translateY(-160%);
  border: 3px solid var(--white);
  background: var(--black);
  color: var(--white);
  padding: 0.7rem 0.9rem;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(0.75rem, 1.5vw, 1.25rem);
}

.page::before {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.page::before {
  inset: clamp(0.75rem, 1.5vw, 1.25rem);
  border: 3px solid var(--white);
}

.stage {
  display: grid;
  justify-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
  text-align: center;
}

h1 {
  width: calc(100% - clamp(1.5rem, 4vw, 4rem));
  margin: 0;
  border: 4px solid var(--white);
  background: var(--white);
  color: var(--black);
  font-size: clamp(4rem, 15vw, 16rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: 0;
  padding: 0.08em 0.04em 0.13em;
  text-transform: uppercase;
}

.email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border: 3px solid var(--white);
  background: var(--black);
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: clamp(0.96rem, 2vw, 1.18rem);
  font-weight: 800;
  line-height: 1;
  padding: 0 1.15rem;
  transition:
    background 120ms ease,
    color 120ms ease;
}

.email:hover,
.email:focus-visible {
  background: var(--white);
  color: var(--black);
}

.location {
  position: absolute;
  right: 0;
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  left: 0;
  z-index: 1;
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

@media (max-width: 720px) {
  h1 {
    width: calc(100% - 1rem);
    border-width: 3px;
    font-size: clamp(3rem, 14vw, 5.2rem);
    padding-top: 0.11em;
    padding-bottom: 0.16em;
  }

  .email {
    width: min(100%, 18rem);
  }
}

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