html {
  height: 100%;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.45;
  color: #f5f5f5;
  background-color: #2a2419;
  background-image: url("bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 12, 8, 0.45) 0%,
    rgba(15, 12, 8, 0.55) 45%,
    rgba(10, 8, 5, 0.65) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: clamp(1.5rem, 5vw, 3rem);
  max-width: 36rem;
}

.name {
  margin: 0 0 1.75rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.links {
  font-size: clamp(1rem, 2.8vw, 1.125rem);
}

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

.links li {
  margin: 0.5rem 0;
}

.links li:first-child {
  margin-top: 0;
}

.links li:last-child {
  margin-bottom: 0;
}

.name a,
.links a {
  /* Explicit base so hover isn’t fighting inherit; contrast is obvious vs hover */
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.15s ease;
}

.links a:hover,
.links a:focus-visible,
.name a:hover,
.name a:focus-visible {
  color: #fff;
}

.name a:focus-visible,
.links a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .name a,
  .links a {
    transition: none;
  }
}
