:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #64717e;
  --paper: #fffdf8;
  --line: rgba(23, 32, 42, 0.14);
  --accent: #08747f;
  --accent-soft: #e8f4f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.page {
  width: min(720px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(44px, 8vw, 88px) 0 36px;
}

.intro,
.projects {
  padding-bottom: clamp(30px, 6vw, 52px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  line-height: 0.98;
  text-wrap: balance;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  line-height: 1.05;
}

p {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.68;
}

.projects {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: clamp(30px, 6vw, 52px);
}

.project-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid rgba(8, 116, 127, 0.22);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 850;
  text-decoration: none;
}

.project-link:hover {
  border-color: rgba(8, 116, 127, 0.38);
  background: #dff0ee;
}

footer {
  padding-top: 26px;
}

footer p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 28px, 720px);
  }
}
