:root {
  font-family: Inter, sans-serif;
  font-feature-settings:
    "liga" 1,
    "calt" 1; /* fix for Chrome */
  --color-primary: oklch(0.9576 0.02 255);
  --color-secondary: oklch(0.0578 0.02 255);
  --color-accent: oklch(0.7 0.1594 255);
  --color-muted: oklch(0.5 0.02 255);
  --color-border: oklch(0.5 0.02 255);
}
@supports (font-variation-settings: normal) {
  :root {
    font-family: InterVariable, sans-serif;
  }
}

/* ─── Reset & Base ─────────────────────────────────────── */

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

body {
  color: var(--color-primary);
  background-color: var(--color-secondary);
  padding: 3rem 2rem;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.65;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: "Inter Mono", monospace;
}

pre {
  padding: 0em 1em 1em 1em;
  width: 100%;
  overflow: auto;
}

/* ─── Header ───────────────────────────────────────────── */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.header-text {
  flex: 1;
}

.avatar {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
}

header h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.tagline {
  font-size: 1rem;
  color: var(--color-muted);
  margin: 0;
}

/* ─── Sections ─────────────────────────────────────────── */

section {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 1rem 0 1rem 0;
}

p {
  margin: 0 0 0.75rem 0;
}
p.center {
  text-align: center;
}

/* ─── Button ──────────────────────────────────────────── */

.btn {
  display: block;
  width: fit-content;
  margin: 1.5rem auto 1.75rem;
  padding: 0.5rem 1.1rem;
  background-color: var(--color-accent);
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

/* ─── Services list ────────────────────────────────────── */

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul li {
  padding: 0.4rem 0;
}

/* ─── Contact list ─────────────────────────────────────── */

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-list li {
  padding: 0;
  border: none;
}

/* ─── Navigation ───────────────────────────────────────── */

.navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.navigation li {
  padding: 0;
  border: none;
}

/* ─── Footer ───────────────────────────────────────────── */

footer {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

footer p {
  margin: 0;
}
