:root {
  --bg: #faf6ec;
  --ink: #1a1612;
  --shine-light: #f4d784;
  --shine-dark: #b8893a;
}

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

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Playfair Display', Georgia, serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 2rem;
  overflow: hidden;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typing {
  font-size: clamp(2.5rem, 7.5vw, 7rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-align: center;
  max-width: 22ch;
}

.cursor {
  display: inline-block;
  width: 0.06em;
  height: 0.85em;
  margin-left: 0.05em;
  vertical-align: -0.08em;
  background: linear-gradient(180deg, var(--shine-light) 0%, var(--shine-dark) 100%);
  border-radius: 1px;
  box-shadow: 0 0 16px rgba(212, 168, 75, 0.55);
  animation: blink 0.95s steps(2) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

footer {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  font-family: 'Playfair Display', Georgia, serif;
  opacity: 0.4;
}

@media (max-width: 600px) {
  body { padding: 1.25rem; }
  .typing { max-width: 100%; }
  footer { font-size: 0.65rem; }
}
