:root {
  color-scheme: light;
  --paper: #eee8da;
  --ink: #090907;
  --acid: #c8ff1a;
  --line: #090907;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  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: 2px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  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(1rem, 2vw, 1.5rem);
}

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

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

.page::after {
  right: clamp(0.75rem, 2vw, 1.25rem);
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  width: min(34vw, 420px);
  height: min(34vw, 420px);
  background: var(--acid);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.stage {
  display: grid;
  justify-items: center;
  gap: clamp(1.1rem, 2vw, 1.6rem);
  width: min(100%, 1500px);
  text-align: center;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(4.1rem, 17vw, 18rem);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0.035em 0.035em 0 var(--acid),
    0.052em 0.052em 0 var(--ink);
}

.email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 2px solid var(--line);
  background: var(--paper);
  box-shadow: 0.35rem 0.35rem 0 var(--ink);
  color: var(--ink);
  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 1rem;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.email:hover,
.email:focus-visible {
  background: var(--acid);
  box-shadow: 0.18rem 0.18rem 0 var(--ink);
  transform: translate(0.17rem, 0.17rem);
}

.location {
  position: absolute;
  right: 0;
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  left: 0;
  z-index: 1;
  color: var(--ink);
  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) {
  .page::after {
    width: 42vw;
    height: 42vw;
  }

  h1 {
    font-size: clamp(3.1rem, 14vw, 5.4rem);
    text-shadow:
      0.04em 0.04em 0 var(--acid),
      0.058em 0.058em 0 var(--ink);
  }

  .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;
  }
}
