:root {
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.22);
  --max: 580px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  color: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* Original forest photo, slightly deepened */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("../assets/background-forest.webp") center / cover no-repeat fixed;
  filter: brightness(0.58) saturate(1.08);
  transform: scale(1.02);
}

/* Thin dark veil — no white wash */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.75rem 4rem;
}

.profile {
  text-align: center;
  margin-bottom: 3.5rem;
}

.avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  margin-bottom: 1.5rem;
}

h1 {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.tagline {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin-top: 1.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.25s ease;
}

.links a:hover {
  opacity: 1;
}

.links .sep {
  color: var(--white);
  opacity: 0.4;
  user-select: none;
}

section {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line);
}

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

h2 {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

p, li {
  font-size: 0.94rem;
  font-weight: 300;
  color: var(--white);
}

.about p {
  margin-bottom: 1rem;
}

.about strong {
  font-weight: 400;
  color: var(--white);
}

.about a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: border-color 0.25s ease;
}

.about a:hover {
  border-bottom-color: var(--white);
}

ul.interests {
  list-style: none;
  padding: 0;
}

ul.interests li {
  padding: 0.4rem 0;
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.project {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.project:first-of-type {
  border-top: none;
  padding-top: 0;
}

.project h3 {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.project h3 a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.project h3 a:hover {
  opacity: 0.8;
}

.project .cite {
  font-size: 0.84rem;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 0.65rem;
  font-style: italic;
  opacity: 0.92;
}

.project .links-inline a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  margin-right: 1.25rem;
  opacity: 0.88;
  transition: opacity 0.25s ease;
}

.project .links-inline a:hover {
  opacity: 1;
}

footer {
  text-align: center;
  margin-top: 4rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.55;
}

@media (max-width: 480px) {
  .page { padding: 3.5rem 1.25rem 3rem; }
  h1 { font-size: 2.2rem; }
}
