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

:root {
  --bg: #FAFAFA;
  --ink: #1A1C1E;
  --blue: #185FA5;
  --muted: #2A2D32;
  --line: rgba(26,28,30,0.1);
  --max: 680px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

nav {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nav-name {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
  line-height: 1.3;
}
.nav-name:hover { color: var(--blue); text-decoration: none; }

.nav-tagline {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  display: block;
  margin-top: 0.15rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
}
.nav-links a.active { color: var(--blue); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1;
  width: 100%;
}

h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--blue);
}

h2 {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  margin-top: 2.5rem;
  color: var(--blue);
}
h2:first-child { margin-top: 0; }

p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  max-width: 100%;
}
p:last-child { margin-bottom: 0; }
p strong { color: var(--ink); font-weight: 500; }

hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: block;
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--blue); }

@media (min-width: 640px) {
  nav { padding: 1.5rem 2.5rem; }
  main { padding: 4rem 2.5rem; }
  footer { padding: 1.75rem 2.5rem; }
  p { max-width: 560px; }
}
