*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0c0c0d;
  --surface: #141416;
  --border: #222226;
  --text-primary: #e8e8ea;
  --text-secondary: #888890;
  --text-muted: #4a4a52;
  --accent: #7a9eb8;
  --accent-dim: #4a6e88;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Cascadia Code", Consolas, monospace;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 6vw, 6rem);
}

main {
  flex: 1;
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 5rem);
}

/* Header */

header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wordmark {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.glider {
  fill: var(--text-muted);
  flex-shrink: 0;
}

.gf {
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

/* Noise overlay */

.tagline-wrap {
  position: relative;
}

.noise-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-family: "PT Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}

.copy {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 58ch;
}

.tagline-wrap + .copy {
  margin-top: 1rem;
}

/* Contact */

.contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-label {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.email-link {
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 1px;
  width: fit-content;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.email-link:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

/* Footer */

footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-align: right;
}

/* Divider line above footer */

footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 1.25rem;
}

/* Responsive */

@media (max-width: 480px) {
  body {
    padding: 1.75rem 1.25rem;
  }
}
