/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --bg:      #0a0a0d;
  --surf:    #131317;
  --surf2:   #191a20;
  --border:  #232329;
  --text:    #ece9e4;
  --text2:   #9d9aa3;
  --text3:   #847f8d;
  --accent:  #ff7a3d;
  --accent2: #ffb37a;

  --font-display: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 880px;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}

a:hover { text-decoration-color: currentColor; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #0a0a0d;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 13, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text2);
}

.nav-links a:hover { color: var(--text); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 72px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent2);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-lede {
  font-size: clamp(19px, 3vw, 24px);
  color: var(--text);
  max-width: 640px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #16110b;
}

.btn-primary:hover { background: var(--accent2); }

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--text2); }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section-alt {
  background: var(--surf);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 12px;
}

.section-lede {
  color: var(--text2);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 40px;
}

#what-i-do h2 { margin-bottom: 40px; }

/* ── What I do ─────────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--accent2);
}

.card p {
  color: var(--text2);
  font-size: 15px;
}

.card a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

/* ── Currently building ───────────────────────────────────────────────── */
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.project-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.project-card p {
  color: var(--text2);
  font-size: 15px;
  margin-bottom: 16px;
}

.project-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.project-link:hover { color: var(--accent2); }

/* ── Proof strip ───────────────────────────────────────────────────────── */
.proof {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  text-align: center;
  color: var(--text2);
  font-size: 14px;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.proof-list li { position: relative; }

.proof-list li:not(:last-child)::after {
  content: "\00b7";
  position: absolute;
  right: -18px;
  color: var(--text3);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 48px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: center;
  font-size: 14px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text2);
}

.footer-links a:hover { color: var(--text); }

.placeholder-link {
  color: var(--text3);
  cursor: default;
}

.placeholder {
  font-size: 11px;
  color: var(--text3);
  border: 1px dashed var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 2px;
}

.footer-note {
  font-size: 12px;
  color: var(--text3);
  font-style: italic;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .card-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; font-size: 13px; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
  .proof-list { flex-direction: column; gap: 10px; }
  .proof-list li:not(:last-child)::after { display: none; }
}
