/* ============================================
   Design tokens
   ============================================ */
:root {
  --ink: #0b0c0e;
  --charcoal: #17181b;
  --charcoal-2: #1e2024;
  --graphite: #2b2d31;
  --fog: #8a8d93;
  --fog-dim: #5c5f66;
  --blue: #3d7eff;
  --blue-dim: #2a58b3;
  --orange: #ff7a33;
  --orange-dim: #b3541f;
  --white: #f4f4f2;

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

  --max-width: 1080px;
  --radius: 10px;
}

/* ============================================
   Reset & base
   ============================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--white);
  letter-spacing: -0.02em;
}

p { margin: 0; }

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

ul { list-style: none; margin: 0; padding: 0; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
  margin: 0 0 12px 0;
}

.accent-blue { color: var(--blue); }
.accent-orange { color: var(--orange); }

/* ============================================
   Nav
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 14, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--graphite);
}

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

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

.nav-mark .dot { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links a { color: var(--fog); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--white); }
.nav-links a.is-active { color: var(--blue); }

/* ============================================
   Status strip — signature element
   ============================================ */
.status-strip {
  background: var(--charcoal);
  border-bottom: 1px solid var(--graphite);
  overflow: hidden;
  white-space: nowrap;
}

.status-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 9px 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px 1px var(--blue);
  flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
}

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

.status-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(61, 126, 255, 0.10), transparent),
    radial-gradient(ellipse 60% 45% at 85% 75%, rgba(255, 122, 51, 0.09), transparent);
}

.hero-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-tagline {
  max-width: 540px;
  font-size: 1.15rem;
  color: var(--fog);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  display: inline-block;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--ink);
  font-weight: 500;
}
.btn-primary:hover { background: #5a91ff; transform: translateY(-2px); }

.btn-ghost {
  border-color: var(--graphite);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fog-dim);
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--graphite);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--orange);
  animation: scrollmove 2.4s ease-in-out infinite;
}

@keyframes scrollmove {
  0% { left: -100%; }
  50% { left: 0%; }
  100% { left: 100%; }
}

/* ============================================
   Sections (shared)
   ============================================ */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--graphite);
}

.section-alt { background: var(--charcoal); }

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 40px;
}

/* ============================================
   About
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}

.bio {
  color: var(--fog);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.location-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fog);
  margin-bottom: 28px;
}

.location-pin {
  font-size: 12px;
  filter: grayscale(1) brightness(1.4);
}

.chip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 12px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--graphite);
}

.chip-blue { color: var(--blue); border-color: var(--blue-dim); }
.chip-orange { color: var(--orange); border-color: var(--orange-dim); }

/* ============================================
   Currently building
   ============================================ */
.build-card {
  background: var(--charcoal-2);
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}

.build-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: var(--radius) var(--radius) 0 0;
}

.build-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.build-card-top h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  border: 1px solid var(--blue-dim);
  padding: 4px 10px;
  border-radius: 999px;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.progress-track {
  flex: 1;
  height: 6px;
  background: var(--graphite);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 999px;
}

.progress-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog);
}

.build-desc {
  color: var(--fog);
  margin-bottom: 24px;
  max-width: 720px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tag-list li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fog);
  background: var(--charcoal);
  border: 1px solid var(--graphite);
  padding: 5px 10px;
  border-radius: 6px;
}

.tag-list-small { margin-bottom: 0; }

.build-log li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--fog);
}

.build-log li:last-child { margin-bottom: 0; }

.log-marker {
  position: absolute;
  left: 0;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--fog-dim);
}

.build-log .is-done .log-marker { background: var(--blue); border-color: var(--blue); }
.build-log .is-done { color: var(--white); }

.build-log .is-active .log-marker {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 51, 0.18);
}
.build-log .is-active { color: var(--orange); }

/* ============================================
   Projects
   ============================================ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-card {
  display: block;
  background: var(--charcoal-2);
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.project-card:hover {
  border-color: var(--orange-dim);
  transform: translateY(-4px);
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.project-year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog-dim);
}

.project-arrow {
  color: var(--fog-dim);
  transition: color 0.18s ease, transform 0.18s ease;
}

.project-card:hover .project-arrow {
  color: var(--orange);
  transform: translate(2px, -2px);
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.project-card p {
  color: var(--fog);
  font-size: 14px;
  margin-bottom: 18px;
}

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

.contact-line {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 24px;
}

.contact-line a { border-bottom: 2px solid var(--blue); transition: color 0.15s ease, border-color 0.15s ease; }
.contact-line a:hover { color: var(--orange); border-color: var(--orange); }

.social-row {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fog);
}

.social-row a:hover { color: var(--white); }

/* ============================================
   Footer
   ============================================ */
.footer { padding: 28px 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog-dim);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .build-card-top { flex-direction: column; }
  .hero-scroll { display: none; }
  .footer-inner { flex-direction: column; gap: 6px; }
}
