:root {
  --bg: #f4f3ef;
  --ink: #1f2428;
  --grid-fine: rgba(41, 46, 50, 0.055);
  --grid-strong: rgba(41, 46, 50, 0.09);
  --guide: rgba(41, 46, 50, 0.34);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.site-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.38), transparent 48%),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,.01));
}

.grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, var(--grid-fine) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-fine) 1px, transparent 1px),
    linear-gradient(to right, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-strong) 1px, transparent 1px),
    radial-gradient(circle, rgba(41,46,50,.12) 0.65px, transparent 0.8px);
  background-size:
    20px 20px,
    20px 20px,
    100px 100px,
    100px 100px,
    10px 10px;
  opacity: .72;
}

.site-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 48%, rgba(31,36,40,.025) 100%);
}

.hero {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(84vw, 980px);
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5.8vw, 6rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-transform: lowercase;
  display: inline-flex;
  align-items: baseline;
}

h1 .word {
  letter-spacing: .075em;
}

h1 .dot {
  display: inline-block;
  font-size: .5em;
  line-height: 1;
  margin: 0 .08em;
  transform: translateY(-0.08em);
}

.axis {
  position: relative;
  width: 120px;
  height: 18px;
  margin: 34px auto 12px;
}

.axis::before,
.axis::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--guide);
  transform: translate(-50%, -50%);
}

.axis::before { width: 120px; height: 1px; opacity: .45; }
.axis::after { width: 1px; height: 18px; }
.axis span,
.axis span::before {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  background: var(--guide);
  transform: translate(-50%, -50%);
}
.axis span { width: 14px; height: 1px; }
.axis span::before { width: 1px; height: 14px; }

.place {
  margin: 0;
  font-size: clamp(.8rem, 1.1vw, 1rem);
  letter-spacing: .28em;
}

.email {
  position: absolute;
  left: 50%;
  bottom: 6.5vh;
  transform: translateX(-50%);
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(.72rem, 1vw, .95rem);
  letter-spacing: .18em;
  white-space: nowrap;
  transition: opacity .2s ease;
}

.email:hover,
.email:focus-visible { opacity: .55; }

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: .44;
}
.corner::before,
.corner::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.corner::before { width: 22px; height: 1px; }
.corner::after { width: 1px; height: 22px; }
.corner-tl { left: 3.6vw; top: 6vh; }
.corner-tr { right: 3.6vw; top: 6vh; }
.corner-bl { left: 3.6vw; bottom: 6vh; }
.corner-br { right: 3.6vw; bottom: 6vh; }

.scale-left {
  position: absolute;
  left: 2.7vw;
  top: 0;
  bottom: 0;
  width: 36px;
  font-size: 9px;
  color: rgba(31,36,40,.45);
}
.scale-left::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 18%;
  bottom: 18%;
  border-left: 1px dashed rgba(31,36,40,.12);
}
.scale-left span {
  position: absolute;
  left: 0;
  transform: translateY(-50%);
}
.scale-left span::after {
  content: "";
  display: inline-block;
  width: 11px;
  height: 1px;
  margin-left: 7px;
  vertical-align: middle;
  background: rgba(31,36,40,.32);
}

.side-guide {
  position: absolute;
  right: 3.7vw;
  top: 18%;
  bottom: 18%;
  width: 1px;
  border-left: 1px dashed rgba(31,36,40,.14);
}
.target {
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
}
.target::before,
.target::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(31,36,40,.32);
  transform: translate(-50%, -50%);
}
.target::before { width: 22px; height: 1px; }
.target::after { width: 1px; height: 22px; }

@media (max-width: 700px) {
  .hero { top: 50%; width: 92vw; }
  h1 { font-size: clamp(2rem, 11vw, 4rem); }
  h1 .word { letter-spacing: .045em; }
  h1 .dot { margin: 0 .06em; }
  .place { font-size: .75rem; }
  .axis { margin-top: 26px; }
  .scale-left { left: 2vw; transform: scale(.8); transform-origin: left center; }
  .side-guide { right: 4vw; }
  .corner { transform: scale(.8); }
  .email { bottom: 5vh; font-size: .7rem; letter-spacing: .12em; }
}
