:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --border: #1a1a1a;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --teal: #00a5ad;
  --teal-dim: rgba(0, 165, 173, 0.15);
  --max: 960px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo-link { display: flex; align-items: center; gap: 0.65rem; }
.logo-wordmark { height: 80px; width: auto; max-width: min(260px, 70vw); }
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-weight: 600;
}
.hero .lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.75rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--teal);
  color: #041314;
}
.btn-primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  text-decoration: none;
}

/* Sections */
section { padding: 3.5rem 0; }
section h2 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}
.section-muted { color: var(--muted); max-width: 40rem; margin: -0.5rem 0 1.75rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.35rem 1.25rem;
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--teal);
}
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.about, .contact {
  border-top: 1px solid var(--border);
}
.contact-box {
  background: var(--teal-dim);
  border: 1px solid rgba(0, 165, 173, 0.35);
  border-radius: 10px;
  padding: 1.5rem;
}
.contact-box p { margin: 0 0 0.5rem; }
.contact-box .email {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}
.contact-box .meta { color: var(--muted); font-size: 0.95rem; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

@media (max-width: 640px) {
  .logo-wordmark { height: 80px; }
  .hero { padding-top: 3rem; }
}
