:root {
  color-scheme: light;
  --background: #f5f5f5;
  --text: #222325;
  --muted: #5d636f;
  --accent: #c86c46;
  --border: rgba(34, 35, 39, 0.16);
  font-size: 16px;
}

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

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.container {
  width: min(960px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0.75rem;
}

.site-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--accent);
}

main {
  display: block;
}

.hero {
  padding: 5.5rem 0 3.5rem;
}

.hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

.hero__text h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero__text .lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus {
  border-color: var(--accent);
  color: var(--accent);
}

.button--ghost {
  background: transparent;
}

.hero-meta {
  margin: 0;
  display: grid;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.hero-meta div + div {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.hero-meta dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.hero-meta dd {
  margin: 0;
  font-weight: 500;
}

section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

section:first-of-type {
  border-top: none;
}

.section-header {
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.section-header h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.about__content {
  display: grid;
  gap: 1.25rem;
  max-width: 620px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.5rem;
  border-left: 1px solid var(--border);
  display: grid;
  gap: 2.5rem;
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.62rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--background);
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.timeline__date {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.35rem;
}

.timeline h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.project-list {
  display: grid;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-list h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.project-list p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.project-list a {
  font-weight: 600;
}

.contact__body {
  display: grid;
  gap: 1rem;
  max-width: 520px;
}

.contact__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.to-top {
  display: inline-block;
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 600px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 1rem;
  }

  section {
    padding: 3.5rem 0;
  }
}
