:root {
  --ink: #0e0f1a;
  --ink-2: #171930;
  --line: #2a2d4d;
  --paper: #f4f1ea;
  --muted: #a8a9c4;
  --mint: #4be3b0;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(1200px 600px at 50% -10%, #1d1f3d 0%, var(--ink) 60%) fixed, var(--ink);
  color: var(--paper);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; }

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; border-radius: 2px; }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(20px, 5vw, 56px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .02em; }
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--paper); }

main { flex: 1; width: 100%; max-width: 960px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

.hero {
  min-height: min(64vh, 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0 64px;
}
.hero h1 { margin: 0; line-height: 0; }
.logo { width: min(560px, 88vw); height: auto; }
.lede { margin: 16px 0 36px; font-size: clamp(18px, 2.6vw, 22px); color: var(--muted); }


section + section { margin-top: 24px; }
.contact { padding: 56px 0; border-top: 1px solid var(--line); }

h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; font: 400 14px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.tick { width: 28px; height: 1px; background: var(--mint); }


.contact p { margin: 0 0 12px; color: var(--muted); }
.mail { font: 300 clamp(20px, 4vw, 34px)/1.3 var(--sans); letter-spacing: .02em; text-decoration: none; border-bottom: 1px solid var(--mint); word-break: break-all; }
.mail:hover { color: var(--mint); border-color: var(--mint); }

footer { padding: 32px clamp(20px, 5vw, 56px); text-align: center; font: 12px/1 var(--sans); letter-spacing: .2em; color: var(--muted); }

@media (max-width: 600px) {
  nav { gap: 16px; }
  .brand span { display: none; }
}
