/* ── Variables ──────────────────────────── */
:root {
  --bg:    #080808;
  --ink:   #ede8e3;
  --dim:   #666;
  --font:  'Cutive Mono', 'Courier New', monospace;
}

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

/* ── Base ───────────────────────────────── */
html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 2.5rem;
  position: relative;
}

/* ── Scanline Overlay ───────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.06) 3px,
    rgba(0, 0, 0, 0.06) 4px
  );
}

/* ── Stage (centered column) ────────────── */
.stage {
  width: min(900px, 100%);
  z-index: 1;
  text-align: center;
}

/* ── Brand / Company Name ───────────────── */
.brand {
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-shadow: 0 0 48px rgba(237, 232, 227, 0.1);
  opacity: 0;
  animation: appear 0.7s ease forwards 0.25s;
  font-size: 38px;
}

.typed {
  font-size: 18px;
}

/* ── Divider ────────────────────────────── */
.rule {
  border: none;
  border-top: 1px solid rgba(237, 232, 227, 0.16);
  margin: 1.75rem 0;
  opacity: 0;
  animation: appear 0.7s ease forwards 0.65s;
}

/* ── Typewriter Status Line ─────────────── */
.status {
  font-size: clamp(0.78rem, 1.8vw, 0.88rem);
  letter-spacing: 0.07em;
  line-height: 1.5;
  min-height: 1.4em;
}

/* ── Blinking Block Cursor ──────────────── */
.cursor {
  display: inline-block;
  width: 0.52em;
  height: 0.9em;
  background: var(--ink);
  margin-left: 2px;
  vertical-align: -0.08em;
  animation: blink 0.85s step-end infinite;
  font-size: 18px;
}

/* ── Tagline ────────────────────────────── */
.tagline {
  margin-top: 2.8rem;
  font-size: clamp(0.7rem, 1.4vw, 0.8rem);
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: var(--dim);
  opacity: 0;
  transition: opacity 1.5s ease;
  font-size: 18px;
}

/* ── Footer Stamp ───────────────────────── */
.stamp {
  position: fixed;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(237, 232, 227, 0.14);
  white-space: nowrap;
  z-index: 1;
  opacity: 0;
  animation: appear 1s ease forwards 5.5s;
}

/* ── Keyframes ──────────────────────────── */
@keyframes appear {
  to { opacity: 1; }
}

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