:root {
  --bg: #0b0b0d;
  --bg-card: #141416;
  --text: #f2f0ec;
  --text-secondary: #c9c6c0;
  --text-muted: #a8a49d;
  --text-faint: #6b6862;
  --accent: #ff8a3d;
  --green: #5fd97a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

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

a { color: inherit; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(11, 11, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

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

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 600 !important;
}

/* HERO */
.hero {
  position: relative;
  padding: 120px 48px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.status {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.4s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  max-width: 900px;
}

.link-underline {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 3px solid var(--accent);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 40px;
}

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

.btn {
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
}

.btn-solid {
  background: var(--text);
  color: var(--bg);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 56px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

/* ABOUT */
.about {
  padding: 80px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

.headshot-slot {
  width: 320px;
  height: 380px;
  border-radius: 20px;
  border: 1px dashed var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  padding: 20px;
}

.headshot-slot small {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.h2-lg { margin-bottom: 48px; }
.h2-md { font-size: 28px; margin-bottom: 28px; }
.h2-xl { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.03em; margin-bottom: 32px; }

.body-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 20px;
  max-width: 640px;
}

.body-text:last-child { margin-bottom: 0; }

/* WHAT I DO */
.hats-section {
  padding: 60px 48px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.hat {
  background: var(--bg-card);
  padding: 32px 24px;
}

.hat-icon { font-size: 28px; margin-bottom: 16px; }

.hat-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 8px;
}

.hat-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* SECTION (generic) */
.section {
  padding: 80px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-intro {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 48px;
  max-width: 600px;
}

/* EXPERIENCE */
.timeline {
  display: flex;
  flex-direction: column;
}

.job {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.job-period {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.job-location {
  font-size: 13px;
  color: var(--green);
  margin-top: 6px;
}

.job-role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
}

.job-company {
  font-size: 15px;
  color: var(--accent);
  margin: 4px 0 16px;
}

.job-bullets {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* PRODUCTS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.product-slot {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px dashed var(--border-strong);
  color: var(--text-muted);
  font-size: 13px;
}

.product-body { padding: 28px; }

.product-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
}

.product-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  border: 1px solid rgba(95, 217, 122, 0.3);
  padding: 3px 10px;
  border-radius: 100px;
}

.product-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-status {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

/* YOUTUBE */
.youtube {
  padding: 80px 48px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.youtube-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.youtube-inner .h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.yt-mark {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

/* SKILLS */
.skill-groups {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.skill-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 14px;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-item {
  font-size: 14px;
  color: #e5e2dc;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 16px;
  border-radius: 8px;
}

/* CERTS + EDUCATION */
.certs-edu {
  padding: 60px 48px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.cert-row {
  background: var(--bg-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: #e5e2dc;
}

.check { color: var(--green); font-size: 15px; }

.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.edu-degree {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}

.edu-school {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.edu-gpa {
  font-size: 14px;
  color: var(--green);
  margin-top: 8px;
}

/* CONTACT */
.contact {
  padding: 100px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav { padding: 16px 24px; }
  .nav-links { gap: 18px; }
  .hero { padding: 90px 24px 70px; }
  .about,
  .certs-edu { grid-template-columns: 1fr; gap: 40px; }
  .headshot-slot { width: 100%; height: 280px; }
  .job { grid-template-columns: 1fr; gap: 12px; }
  .youtube-inner { grid-template-columns: 1fr; text-align: left; }
  .yt-mark { display: none; }
  .section,
  .hats-section,
  .about { padding-left: 24px; padding-right: 24px; }
  .contact { padding: 70px 24px; }
}

@media (max-width: 520px) {
  .nav-links a:not(.nav-cta) { display: none; }
}
