/* ============================================
   TOKENS
============================================ */
:root {
  --ink: #0B0E14;
  --card: #12161F;
  --card-hover: #171C27;
  --line: #232935;
  --text: #EDEAE2;
  --text-dim: #8B92A3;
  --amber: #E8A33D;
  --amber-dim: #6B4E22;
  --teal: #3FD9C7;

  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

/* ============================================
   GRID OVERLAY (subtle texture, signature restraint)
============================================ */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(232,163,61,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232,163,61,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ============================================
   NAV
============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,14,20,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-mark {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--amber);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  background: var(--amber);
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav-cta:hover { background: #f2b661; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  z-index: 2;
}

.hero-inner {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-avatar {
  margin-bottom: 28px;
  animation: floatY 6s ease-in-out infinite;
}

.hero-avatar img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--ink), var(--ink)) padding-box,
    linear-gradient(135deg, var(--amber), var(--teal)) border-box;
  box-shadow: 0 0 32px rgba(232,163,61,0.25);
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 40%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-name {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 15px;
  margin-top: 10px;
  letter-spacing: 0.04em;
}

.terminal-line {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: clamp(13px, 2vw, 16px);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 20px;
  min-width: min(520px, 90vw);
  justify-content: flex-start;
}

.prompt {
  color: var(--teal);
  white-space: nowrap;
}

.typed {
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
}

.cursor {
  color: var(--amber);
  animation: blink 1s step-end infinite;
}

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

.hero-socials {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.social-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.social-pill:hover {
  color: var(--text);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-hint span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ============================================
   TICKER TAPE (signature element)
============================================ */
.ticker {
  position: relative;
  z-index: 2;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-set {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  white-space: nowrap;
}

.ticker-set span {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.ticker-set .sep {
  color: var(--amber);
  font-size: 10px;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS (shared)
============================================ */
.section {
  position: relative;
  z-index: 2;
  padding: 120px 24px;
}

.section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

/* JOURNEY */
.journey-body p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 640px;
}

.journey-body strong {
  color: var(--text);
  font-weight: 600;
}

.pull-quote {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 22px;
  color: var(--amber) !important;
  border-left: 2px solid var(--amber);
  padding: 4px 0 4px 24px;
  margin: 32px 0 !important;
  line-height: 1.4 !important;
}

/* IMPACT LEDGER */
.ledger {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.2s ease;
}

.ledger-row:last-child { border-bottom: none; }

.ledger-row:not(.ledger-head):hover {
  background: var(--card-hover);
}

.ledger-head {
  background: rgba(232,163,61,0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.ledger-row:not(.ledger-head) span:first-child {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.02em;
}

.ledger-row:not(.ledger-head) span:nth-child(2) {
  color: var(--text-dim);
  font-size: 15px;
}

.ledger-value {
  text-align: right;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  justify-self: end;
}

.ledger-value.mono {
  font-family: var(--font-mono);
}

.ledger-value.teal { color: var(--teal); }

@media (max-width: 640px) {
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: left;
  }
  .ledger-value { text-align: left; justify-self: start; margin-top: 4px; }
}

/* ROLES */
.role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  transition: all 0.25s ease;
}

.pill:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-3px);
}

/* CONTACT */
.contact-inner { text-align: left; }

.contact-terminal {
  margin: 0 0 48px;
  justify-content: flex-start;
  min-width: unset;
  width: fit-content;
}

.typed-static { color: var(--amber); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  position: relative;
  transition: all 0.25s ease;
}

.contact-card:hover {
  border-color: var(--amber);
  background: var(--card-hover);
  transform: translateY(-4px);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.contact-handle {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.contact-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--amber);
  font-size: 18px;
}

/* FOOTER */
.footer {
  position: relative;
  z-index: 2;
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.footer-sub {
  margin-top: 6px;
  opacity: 0.6;
}