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

:root {
  --clean-bg: #f5f2eb;
  --clean-text: #1a1a18;
  --clean-muted: #6b6860;
  --terminal-bg: #0d1200;
  --terminal-green: #39ff14;
  --terminal-green-dim: #1a7a00;
  --terminal-green-muted: #2db800;
  --tape-bg: #f6c90e;
  --tape-text: #1a1a18;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--clean-bg);
  color: var(--clean-text);
  font-family: 'Syne', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── HERO SECTION ── */
.tenedor {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 8vw;
  position: relative;
  background: var(--clean-bg);
}

.tenedor::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40vw;
  height: 100%;
  background: radial-gradient(ellipse at 80% 40%, rgba(246, 201, 14, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tenedor-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  letter-spacing: 0.25em;
  color: var(--clean-muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.tenedor-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--clean-text);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.4s;
}

.tenedor-name span {
  display: block;
  color: var(--clean-muted);
  font-weight: 400;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4.5rem);
  letter-spacing: -0.01em;
  margin-top: 0.2em;
}

.tenedor-tagline {
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--clean-muted);
  max-width: 520px;
  line-height: 1.5;
  border-left: 2px solid var(--tape-bg);
  padding-left: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.7s;
}

.tenedor-tagline strong {
  color: var(--clean-text);
  font-weight: 700;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 8vw;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--clean-muted);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 1.2s;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.scroll-hint::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--clean-muted);
  animation: lineGrow 0.8s ease forwards 1.5s;
  transform-origin: left;
  transform: scaleX(0);
}

@keyframes lineGrow {
  to {
    transform: scaleX(1);
  }
}

/* ── CONSTRUCTION TAPE ── */
.tape-wrapper {
  width: 100%;
  overflow: hidden;
  background: var(--tape-bg);
  padding: 0.6rem 0;
  position: relative;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15), 0 -4px 0 rgba(0, 0, 0, 0.15);
}

.tape-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: tapescroll 18s linear infinite;
  width: max-content;
}

.tape-track span {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tape-text);
  padding: 0 2rem;
}

.tape-track span.separator {
  color: rgba(26, 26, 24, 0.35);
  padding: 0 0.5rem;
}

@keyframes tapescroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.tape-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(-45deg,
      transparent,
      transparent 12px,
      rgba(0, 0, 0, 0.06) 12px,
      rgba(0, 0, 0, 0.06) 24px);
  pointer-events: none;
}

/* ── TERMINAL SECTION ── */
.terminal-section {
  background: var(--terminal-bg);
  min-height: 100vh;
  padding: 5rem 8vw 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.terminal-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(57, 255, 20, 0.015) 2px,
      rgba(57, 255, 20, 0.015) 4px);
  pointer-events: none;
  animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 100px;
  }
}

.terminal-glow {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 60vw;
  height: 40vh;
  background: radial-gradient(ellipse, rgba(57, 255, 20, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.terminal-window {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.terminal-bar {
  background: #1a2600;
  border-radius: 8px 8px 0 0;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(57, 255, 20, 0.12);
  border-bottom: none;
}

.t-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.t-dot.red {
  background: #ff5f57;
}

.t-dot.amber {
  background: #febc2e;
}

.t-dot.green {
  background: #28c840;
}

.terminal-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--terminal-green-dim);
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.08em;
}

.terminal-body {
  background: #0a1000;
  border: 1px solid rgba(57, 255, 20, 0.12);
  border-radius: 0 0 8px 8px;
  padding: 2rem 2rem 2.5rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  line-height: 1.9;
  color: var(--terminal-green);
}

.t-line {
  display: block;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
}

.t-prompt {
  color: var(--terminal-green-dim);
}

.t-cmd {
  color: var(--terminal-green);
}

.t-done {
  color: var(--terminal-green-muted);
}

.t-ok {
  color: var(--terminal-green);
}

.t-dim {
  color: var(--terminal-green-dim);
}

.t-bar-wrap {
  display: inline-block;
  letter-spacing: -0.05em;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  background: var(--terminal-green);
  vertical-align: text-bottom;
  animation: blink 1.1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.terminal-footer,
footer {
  padding: 1rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--terminal-green-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.terminal-footer a,
footer a {
  color: var(--terminal-green-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--terminal-green-dim);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.terminal-footer a:hover,
footer a:hover {
  color: var(--terminal-green);
  border-color: var(--terminal-green);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}