:root {
  --bg: #f3efe5;
  --text: #161616;
  --muted: #716f68;
  --line: rgba(22, 22, 22, 0.14);
  --dot: #161616;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.58), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: "SFMono-Regular", "SF Mono", "Roboto Mono", "Liberation Mono",
               "Courier New", monospace;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(24px, 4vw, 64px);
}

.hero {
  align-self: center;
  max-width: 1080px;
  padding: 8vh 0 12vh;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(34px, 5vw, 68px);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 4px rgba(22, 22, 22, 0.06);
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(52px, 8vw, 126px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.location {
  margin: clamp(26px, 4vw, 46px) 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.6;
}

.services {
  max-width: 900px;
  margin: clamp(48px, 8vw, 98px) 0 0;
  font-size: clamp(15px, 1.7vw, 21px);
  line-height: 1.8;
  letter-spacing: -0.02em;
}

.services span {
  display: inline-block;
  padding: 0 0.2em;
  color: var(--muted);
}

.email {
  display: inline-block;
  position: relative;
  margin-top: clamp(36px, 5vw, 58px);
  padding-bottom: 7px;
  font-size: clamp(17px, 2vw, 25px);
  text-decoration: none;
  letter-spacing: -0.025em;
}

.email::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 180ms ease;
}

.email:hover::after,
.email:focus-visible::after {
  transform: scaleX(0.25);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .page-shell {
    padding: 22px;
  }

  .hero {
    padding: 12vh 0;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(48px, 15vw, 78px);
  }

  .services span {
    padding: 0 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .email::after {
    transition: none;
  }
}
