:root {
  --bg: #fbfbfa;
  --ink: #141414;
  --muted: #6b6b70;
  --ring: #141414;
  --accent: #ea580c;
  --rule: rgba(20, 20, 20, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --ink: #f4f4f3;
    --muted: #9a9aa1;
    --ring: #f4f4f3;
    --accent: #ff6a2b;
    --rule: rgba(244, 244, 243, 0.16);
  }
}

* { box-sizing: border-box; }

html {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100svh;
  padding: 32px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 24px;
}

main {
  place-self: center;
  width: min(680px, 100%);
}

/* Logo lockup: mark above wordmark */
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}

.mark {
  width: clamp(40px, 9vw, 52px);
  height: auto;
  display: block;
  overflow: visible;
}

.mark .ring { stroke: var(--ring); }
.mark .dot { fill: var(--accent); }

.orbit {
  transform-origin: 24px 24px;
  animation: orbit 1.3s linear infinite;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

.wordmark {
  margin: 0;
  font-size: clamp(44px, 9vw, 76px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

/* Copy */
.positioning {
  font-size: clamp(17px, 2.4vw, 20px);
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 32px;
  max-width: 34ch;
  text-wrap: balance;
}

.contact {
  font-size: clamp(17px, 2.4vw, 20px);
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.contact a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contact .hint {
  font-size: 15px;
  color: var(--muted);
}

.contact code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85em;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}

/* Footer */
footer {
  place-self: center;
  width: min(680px, 100%);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .orbit { animation: none; }
  a { transition: none; }
}
