/* Design tokens */
:root {
  --bg:     #0a0a0a;
  --fg:     #e8e8e8;
  --accent: #00ff88;
  --dim:    #666666;
  --muted:  #333333;
  --font:   ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
}

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

/* Base */
html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: clamp(14px, 1.5vw, 18px);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  overflow: hidden;
}

/* Layout — one slide, centered */
main {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 2rem;

  animation: fadein 0.8s ease both;
}

/* Content block */
.block {
  max-width: 420px;
  width: 100%;
}

/* Heading */
h1 {
  font-size: clamp(2.4rem, 8vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

/* Blinking cursor */
.cursor::after {
  content: "_";
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

/* Tagline */
.tagline {
  font-size: 0.85rem;
  color: var(--dim);
  letter-spacing: 0.18em;
  text-transform: lowercase;
  margin-bottom: 2.2rem;
}

/* Visual beat */
.beat {
  color: var(--muted);
  font-size: 1.4rem;
  margin-bottom: 2.2rem;
  user-select: none;
}

/* Contact section */
.contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.handle {
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.15s ease;
}

.handle:hover,
.handle:focus-visible {
  opacity: 0.75;
  outline: none;
}

.proto {
  color: var(--dim);
}

/* Animations */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility: respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  main {
    animation: none;
  }

  .cursor::after {
    animation: none;
    opacity: 1;
  }
}
