:root {
  --bg: #121214;
  --text: #ece8e1;
  --text-muted: #8b8b90;
  --accent: #c9a227;
  --line: rgba(236, 232, 225, 0.14);
  --font-display: 'Jost', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.teaser {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) 1.5rem;
  gap: clamp(1.5rem, 4vw, 2.25rem);
}

.wordmark {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  opacity: 0;
  animation: fade-up 0.7s ease forwards;
}

.tagline {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 400;
  opacity: 0;
  animation: fade-up 0.7s ease 0.12s forwards;
}

.photo {
  width: min(78vw, 380px);
  opacity: 0;
  animation: fade-up 0.8s ease 0.24s forwards;
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
}

.mailto {
  margin-top: 0.25rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
  transition: color 0.2s ease, border-color 0.2s ease;
  opacity: 0;
  animation: fade-up 0.7s ease 0.36s forwards;
}

.mailto:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
