/* ==================================================================
   SHARNESHA BRENTLEY — TERMINAL PORTFOLIO (minimal)
   Design tokens live at the top — edit colors/spacing here.
=================================================================== */

:root{
  --bg:            #0a0c0a;
  --line:          rgba(230, 240, 225, 0.14);
  --ink:           #e9ece6;      /* body text, off-white */
  --ink-dim:       #93998f;      /* secondary text */
  --green:         #7fd992;      /* primary terminal accent */
  --green-dim:     #4f8a5c;

  --font-mono: 'JetBrains Mono', 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
}

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

html{
  background: var(--bg);
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

body{
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

a{ color: var(--green); text-decoration: none; }
a:hover, a:focus-visible{ color: var(--ink); text-decoration: underline; }

:focus-visible{
  outline: 1px solid var(--green);
  outline-offset: 3px;
}

::selection{ background: var(--green-dim); color: var(--ink); }

/* ------------------------------------------------------------
   Subtle CRT scanline overlay — decorative, low opacity, fixed.
------------------------------------------------------------- */
.scanlines{
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.025) 0px,
    rgba(255,255,255,0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.5;
}

/* ------------------------------------------------------------
   HERO — centered, full viewport height
------------------------------------------------------------- */
.hero{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.hero-inner{
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.prompt-line{
  font-size: 0.85rem;
  color: var(--ink-dim);
  margin: 0 0 24px;
}
.prompt{ color: var(--green); }
.prompt-sep{ color: var(--ink-dim); margin: 0 6px 0 2px; }

.hero-name{
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  color: var(--ink);
  font-weight: 700;
}

.hero-role{
  color: var(--green);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin: 0 0 36px;
}

.btn{
  display: inline-block;
  border: 1px solid var(--green-dim);
  color: var(--green);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover, .btn:focus-visible{
  background: var(--green);
  color: var(--bg);
  text-decoration: none;
}

.prompt-cursor-line{ margin-top: 36px; margin-bottom: 0; }

.cursor{
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--green);
  vertical-align: middle;
  animation: blink 1.1s steps(1) infinite;
}

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

/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 20px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
