/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* ---------- Background ---------- */
body {
  background-color: #0b0d10;
  color: #d8d8d8;
  font-family: "EB Garamond", Georgia, serif;
}

/* ---------- Back Navigation ---------- */
.nav-back {
  position: absolute;
  top: 1.8rem;
  left: 4.5rem;
}

.nav-back a {
  font-size: 1.2rem;
  color: #9a9a9a;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-back a:hover {
  color: #d8d8d8;
  transform: translateX(2px);
}

/* ---------- Layout ---------- */
.page {
  display: flex;
  justify-content: center;
}

.content {
  width: 100%;
  max-width: 640px;
  padding: 4rem 1.5rem 6rem;
}

/* ---------- Title ---------- */
h1 {
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

/* ---------- Intro ---------- */
.intro {
  font-size: 1.15rem;
  color: #9a9a9a;
  margin-bottom: 2.8rem;
}

/* ---------- Contact List ---------- */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: baseline;
}

.label {
  font-size: 1rem;
  color: #8f8f8f;
}

.value a {
  font-size: 1.15rem;
  color: #d8d8d8;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.value a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  p,
  li {
    font-size: 1.3rem;
    line-height: 1.75;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.7rem;
  }
}