:root {
  --ink: #111;
  --muted: #8a8a8a;
  --body: #5c5c5c;
  --line: #e6e6e6;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 28px 32px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
}

/* Hero: one line of type and a single glass lens */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 0 16px;
  text-align: center;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 148px);
  line-height: 1;
  letter-spacing: -0.02em;
}
h1 em { font-style: italic; }
.category {
  max-width: 34em;
  margin: 32px 0 0;
  color: var(--body);
}

.title {
  position: relative;
  isolation: isolate;
}
.lens {
  /* sits behind the type so the headline stays crisp */
  position: absolute;
  z-index: -1;
  top: -38%;
  right: -7%;
  width: 0.9em;
  font-size: clamp(56px, 11vw, 148px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, #fff, rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 72% 78%, rgba(150, 130, 255, 0.22), rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle at 20% 80%, rgba(120, 210, 255, 0.18), rgba(255, 255, 255, 0) 55%),
    #fbfbff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    inset -8px -12px 26px rgba(140, 110, 255, 0.14),
    0 30px 50px -30px rgba(60, 80, 160, 0.3);
  animation: float 9s ease-in-out infinite alternate;
}
.lens::after {
  /* faint iridescent rim */
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from 200deg, #9ad8ff, #c9b6ff, #ffc6e4, #b8f3e3, #9ad8ff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
}
@keyframes float {
  to { transform: translate(-0.12em, 0.08em); }
}
@media (prefers-reduced-motion: reduce) {
  .lens { animation: none; }
}

/* Contact */
.contact {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 24px 25vh;
}
.hiring { margin: 0 0 56px; }

form { display: grid; gap: 4px; }
input, textarea {
  width: 100%;
  padding: 12px 0;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus { border-color: var(--ink); }
button {
  justify-self: start;
  margin-top: 24px;
  padding: 0;
  font: inherit;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
}
button:hover { text-decoration: underline; text-underline-offset: 3px; }
button:disabled { color: var(--muted); cursor: default; }
.hp { display: none; }
.form-status { margin: 8px 0 0; min-height: 1.7em; color: var(--muted); }

@media (max-width: 600px) {
  .top { padding: 20px; }
}
