:root {
  --bg: #0b0d12;
  --bg-soft: #12151d;
  --fg: #e8e6e1;
  --muted: #9aa0ab;
  --line: #222631;
  --accent: #ff7a18;
  --accent-soft: #ffb24d;
  --max: 900px;
  --r: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--accent);
  color: #0b0d12;
  padding: .5rem 1rem;
  border-radius: 8px;
}

a { color: inherit; text-decoration: none; }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}
.brand {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.25rem;
}
.brand span { color: var(--muted); font-weight: 400; }
.nav nav { display: flex; gap: 1.5rem; }
.nav nav a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.nav nav a:hover { color: var(--fg); }

section { max-width: var(--max); margin: 0 auto; padding: 4rem 1.25rem; }

.hero { padding-top: 5rem; padding-bottom: 6rem; }
.eyebrow {
  color: var(--accent-soft);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
h1 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 1.5rem;
}
.accent { color: var(--accent); }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }

.cta { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #0b0d12;
  font-weight: 600;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  transition: transform .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-soft); }
.btn.ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}
.btn.ghost:hover { background: var(--bg-soft); }

h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 2rem;
}

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; }
.about-grid p { color: var(--muted); font-size: 1.05rem; }
.skills { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.skills li {
  font-size: .9rem;
  padding: .5rem .75rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: border-color .2s, transform .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card h3 { font-family: "Fraunces", serif; font-weight: 600; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.tags { color: var(--accent-soft); font-size: .8rem; }

.contact .links { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.contact .links a {
  color: var(--fg);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color .2s;
}
.contact .links a:hover { color: var(--accent); }

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
