:root {
  --bg: #060a0b;
  --bg-alt: #0a1011;
  --card: rgba(255, 255, 255, 0.02);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e6edf3;
  --text-dim: #8b98a9;

  --cyan: #22d3ee;
  --green: #34e8a0;
  --teal: #2dd4bf;
  --purple: #b794f6;

  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; margin-right: 2px; }

.c-cyan { color: var(--cyan); }
.c-green { color: var(--green); }
.c-purple { color: var(--purple); }
.c-dim { color: var(--text-dim); }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}
.prompt-icon { color: var(--cyan); }
.nav-links {
  display: flex;
  gap: 1.6rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
@media (max-width: 1240px) and (min-width: 1001px) {
  .nav-inner { gap: 1rem; }
  .nav-links { gap: 0.3rem; }
  .nav-links a { padding: 0.4rem 0.55rem; }
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
}
.nav-cta { white-space: nowrap; font-size: 0.85rem; padding: 0.55rem 1.1rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); display: block; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--cyan); color: #04191d; box-shadow: 0 0 24px rgba(34, 211, 238, 0.25); }
.btn-primary:hover { box-shadow: 0 0 32px rgba(34, 211, 238, 0.45); }
.btn-outline { background: transparent; color: var(--cyan); border-color: rgba(34, 211, 238, 0.4); }
.btn-outline:hover { background: rgba(34, 211, 238, 0.08); }
.btn-outline-cyan { background: transparent; color: var(--cyan); border-color: rgba(34, 211, 238, 0.4); }
.btn-outline-cyan:hover { background: rgba(34, 211, 238, 0.08); }
.btn-outline-green { background: transparent; color: var(--green); border-color: rgba(52, 232, 160, 0.4); }
.btn-outline-green:hover { background: rgba(52, 232, 160, 0.08); }

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 5rem 1.5rem 3rem;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
}
.hero-glow-cyan { top: -120px; left: -100px; background: var(--cyan); }
.hero-glow-green { bottom: -160px; right: -120px; background: var(--green); }

.hero-inner { position: relative; z-index: 1; max-width: 880px; }

.term-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #4ade80; }
.term-path { margin-left: 0.4rem; }

.hero h1 {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}
.grad-text {
  background: linear-gradient(90deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.35));
}

.typewriter-line {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--text-dim);
  margin: 0 0 1.75rem;
  min-height: 1.6em;
}
.prompt-arrow { color: var(--cyan); }
.cursor { display: inline-block; width: 0.55em; background: var(--cyan); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.tagline { color: var(--text-dim); font-size: 1.02rem; max-width: 720px; margin: 0 auto 2.25rem; }

.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-label {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 2.5rem 0 1rem;
}
.social-row { display: flex; gap: 0.75rem; justify-content: center; }
.social-row a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-dim);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.social-row a:hover { color: var(--cyan); border-color: rgba(34, 211, 238, 0.4); }

/* SNAPSHOT */
.snapshot-section { padding-top: 0; }
.snapshot-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem;
  align-items: center;
}
.snapshot-col { display: grid; gap: 1.5rem; }
.snapshot-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.5rem;
}
.snapshot-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}
.snapshot-name { margin: 0 0 0.3rem; font-family: var(--font-mono); font-size: 1.3rem; font-weight: 800; }
.snapshot-role { margin: 0 0 0.85rem; color: var(--cyan); font-family: var(--font-mono); font-size: 0.85rem; }
.snapshot-loc { margin: 0; color: var(--text-dim); font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; }
.snapshot-card p { color: var(--text-dim); font-size: 0.88rem; margin: 0 0 0.75rem; }
.snapshot-card p:last-child { margin-bottom: 0; }

.snapshot-photo-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.snapshot-photo-frame {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 0 10px rgba(34, 211, 238, 0.05), 0 0 40px rgba(34, 211, 238, 0.15);
}
.snapshot-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.snapshot-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(52, 232, 160, 0.5);
}
.snapshot-corner-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.snapshot-corner-br { bottom: 0; right: 0; border-left: none; border-top: none; }

.snapshot-stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-dim); }
.snapshot-stats li { display: flex; align-items: baseline; gap: 0.6rem; border-bottom: 1px solid var(--border); padding-bottom: 0.85rem; }
.snapshot-stats li:last-child { border-bottom: none; padding-bottom: 0; }
.snapshot-stats strong { font-size: 1.15rem; font-weight: 800; }

.snapshot-links { display: grid; gap: 0.85rem; }
.snapshot-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease;
}
.snapshot-links a:last-child { border-bottom: none; padding-bottom: 0; }
.snapshot-links a:hover { color: var(--cyan); }

/* SECTIONS */
.section { padding: 6rem 0; border-bottom: 1px solid var(--border); position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid;
  margin-bottom: 1.25rem;
}
.pill-cyan { color: var(--cyan); border-color: rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.06); }
.pill-green { color: var(--green); border-color: rgba(52, 232, 160, 0.35); background: rgba(52, 232, 160, 0.06); }
.pill-purple { color: var(--purple); border-color: rgba(183, 148, 246, 0.35); background: rgba(183, 148, 246, 0.06); }

.grad-heading {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-heading.big { font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--text); background: none; -webkit-text-fill-color: initial; }
.grad-heading.big .grad-text { filter: drop-shadow(0 0 22px rgba(52, 232, 160, 0.4)); }
.section-sub { color: var(--text-dim); font-size: 1rem; }

/* Accent color mapping */
.accent-cyan { --accent: var(--cyan); --accent-rgb: 34, 211, 238; }
.accent-green { --accent: var(--green); --accent-rgb: 52, 232, 160; }
.accent-teal { --accent: var(--teal); --accent-rgb: 45, 212, 191; }
.accent-purple { --accent: var(--purple); --accent-rgb: 183, 148, 246; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start; }
.about-visual {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 0 0 6px var(--bg-alt), 0 0 30px rgba(34, 211, 238, 0.1);
}
.about-visual .term-badge { margin-bottom: 1.4rem; font-size: 0.78rem; padding: 0.45rem 0.85rem; }
.git-log { font-family: var(--font-mono); font-size: 0.95rem; line-height: 1.6; }
.git-cmd { color: var(--text-dim); margin: 0 0 1.25rem; font-size: 0.85rem; }
.git-line {
  margin-bottom: 1.3rem;
  opacity: 0; transform: translateX(-8px);
  animation: git-line-in 0.45s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.12s);
}
.git-line:last-of-type { margin-bottom: 0; }
@keyframes git-line-in { to { opacity: 1; transform: translateX(0); } }
.git-line-top { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.git-hash { color: var(--text-dim); font-size: 0.85rem; }
.git-type { font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 4px; font-size: 0.78rem; }
.git-type.feat { color: var(--green); background: rgba(52, 232, 160, 0.12); }
.git-type.chore { color: var(--purple); background: rgba(183, 148, 246, 0.12); }
.git-msg { color: var(--text); margin: 0; word-break: break-word; }
.git-stat { display: inline-block; margin-left: 0.5rem; font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
.git-cursor { margin: 0.6rem 0 0; }
.about-copy p { color: var(--text-dim); }
.about-copy blockquote {
  margin: 1.5rem 0; padding: 1rem 1.25rem;
  border-left: 3px solid var(--cyan);
  background: rgba(34, 211, 238, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text); font-style: italic;
}
.about-meta { display: grid; gap: 0.75rem; margin-top: 1.5rem; font-family: var(--font-mono); font-size: 0.9rem; }
.about-meta > div { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.about-meta .label { font-weight: 600; min-width: 170px; flex-shrink: 0; }
.explore-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.explore-badges span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
}
.explore-badges .chip-cyan { color: var(--cyan); border-color: rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.08); }
.explore-badges .chip-green { color: var(--green); border-color: rgba(52, 232, 160, 0.35); background: rgba(52, 232, 160, 0.08); }
.explore-badges .chip-purple { color: var(--purple); border-color: rgba(183, 148, 246, 0.35); background: rgba(183, 148, 246, 0.08); }
.explore-badges .chip-teal { color: var(--teal); border-color: rgba(45, 212, 191, 0.35); background: rgba(45, 212, 191, 0.08); }

/* SKILLS */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.skill-card:hover { border-color: rgba(var(--accent-rgb), 0.5); transform: translateY(-3px); }
.skill-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  margin-bottom: 1rem;
}
.skill-card h3 { margin: 0 0 0.9rem; font-family: var(--font-mono); font-size: 1.02rem; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tags span {
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}
.project-card .tags span {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
}

/* TIMELINE */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline-item { position: relative; margin-bottom: 2.5rem; border-left: 2px solid rgba(var(--accent-rgb), 0.4); padding-bottom: 0; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
  position: absolute; left: -2.28rem; top: 0.4rem;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 14px rgba(var(--accent-rgb), 0.7);
}
.timeline-content { margin-left: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.timeline-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.timeline-head h3 { margin: 0 0 0.2rem; font-family: var(--font-mono); color: var(--accent); font-size: 1.15rem; }
.timeline-company { margin: 0; color: var(--text); font-weight: 600; }
.timeline-meta { display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-end; color: var(--text-dim); font-size: 0.85rem; font-family: var(--font-mono); white-space: nowrap; }
.timeline-content ul { color: var(--text-dim); padding-left: 1.2rem; margin: 0; }
.timeline-content li { margin-bottom: 0.5rem; }

/* PROJECTS */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; }
.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex; flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.project-card:hover { border-color: rgba(var(--accent-rgb), 0.5); transform: translateY(-3px); }
.project-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.project-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--accent-rgb), 0.12); color: var(--accent);
}
.project-date { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); }
.project-card h3 { margin: 0 0 0.6rem; font-family: var(--font-mono); font-size: 1.05rem; }
.project-card p { color: var(--text-dim); font-size: 0.92rem; }
.project-card .impact { color: var(--text); background: rgba(52, 232, 160, 0.06); border: 1px solid rgba(52, 232, 160, 0.25); border-radius: 8px; padding: 0.6rem 0.8rem; font-size: 0.85rem; margin: 0.5rem 0 1rem; }
.project-card .tags { margin-top: auto; }
.case-study-link { display: block; margin-top: 1rem; }

/* CERTIFICATIONS */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.cert-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color 0.2s ease, transform 0.2s ease; }
.cert-card:hover { border-color: rgba(var(--accent-rgb), 0.5); transform: translateY(-3px); }
.cert-card h3 { margin: 0 0 0.35rem; font-family: var(--font-mono); font-size: 1rem; color: var(--accent); }
.cert-issuer { color: var(--text); font-weight: 600; font-size: 0.85rem; margin: 0 0 0.6rem; }
.cert-card p:last-child { color: var(--text-dim); margin: 0; font-size: 0.9rem; }

.post-preview-link { display: inline-block; color: var(--cyan); font-family: var(--font-mono); font-size: 0.88rem; font-weight: 600; }
.post-preview-link:hover { text-decoration: underline; }

/* CTA */
.cta-section { border-bottom: none; }
.cta-inner { text-align: center; }
.availability { display: inline-flex; align-items: center; gap: 0.5rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.6s ease infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.cta-copy { color: var(--text-dim); max-width: 640px; margin: 1.25rem auto 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; max-width: 900px; margin: 3.5rem auto 0; }
.stat { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1rem; background: var(--card); }
.stat-num { display: block; font-family: var(--font-mono); font-size: 2.1rem; font-weight: 800; color: var(--cyan); font-variant-numeric: tabular-nums; }
.stat-label { color: var(--text-dim); font-size: 0.82rem; }
.contact-details { margin-top: 2.5rem; color: var(--text-dim); font-family: var(--font-mono); font-size: 0.9rem; }
.contact-details a { color: var(--cyan); }
.contact-details a:hover { text-decoration: underline; }
.contact-details .sep { margin: 0 0.6rem; }

/* FOOTER */
.footer { padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-blurb { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.75rem; max-width: 320px; }
.footer h4,
.footer .footer-title { font-family: var(--font-mono); color: var(--cyan); font-size: 0.85rem; margin: 0 0 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-links a { color: var(--text-dim); font-family: var(--font-mono); font-size: 0.88rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; text-align: center; color: var(--text-dim); font-size: 0.8rem; font-family: var(--font-mono); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .snapshot-grid { grid-template-columns: 1fr; justify-items: center; }
  .snapshot-photo-wrap { order: -1; }
  .snapshot-col { width: 100%; max-width: 420px; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 1rem 1.5rem; gap: 0.75rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .section { padding: 4rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding-left: 1.5rem; }
  .timeline-meta { align-items: flex-start; }
}

/* Open Source */
.oss-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; align-items: center; }
.oss-card h3 { font-size: 1.25rem; }
.oss-points { margin: 0.4rem 0 1rem; padding-left: 1.1rem; color: var(--text-dim); font-size: 0.92rem; }
.oss-points li { margin: 0.35rem 0; }
.oss-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.2rem 0 0.8rem; }
.oss-note { font-size: 0.85rem; margin: 0; }
.oss-shot { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.oss-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .oss-card { grid-template-columns: 1fr; }
  .oss-shot { order: -1; }
}

/* Below 1000px the links move into the hamburger menu. */
@media (max-width: 1000px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 1rem 1.5rem; gap: 0.75rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-inner { justify-content: space-between; }
}
