/* ============================================
   AKASH GANDHAWA — PORTFOLIO
   style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,700;0,800;1,400&family=Fira+Code:wght@400;500&display=swap');

/* ── TOKENS ── */
:root {
  --bg:        #071515;
  --surface:   #0D2020;
  --surface2:  #122828;
  --border:    #1A3535;

  --teal:      #0D9488;
  --teal-text: #5EEAD4;
  --teal-dim:  #0F766E;
  --teal-glow: rgba(13,148,136,0.12);

  --text:      #E8F5F5;
  --muted:     #9ECECE;
  --faint:     #1A3535;

  --f-display: 'Plus Jakarta Sans', sans-serif;
  --f-body:    'Plus Jakarta Sans', sans-serif;
  --f-mono:    'Fira Code', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(7, 21, 21, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--teal);
  letter-spacing: 0.04em;
}
.nav__links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav__links a {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.active {
  color: var(--teal-text);
  position: relative;
}
.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--teal-text);
  border-radius: 1px;
}

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-text));
  z-index: 9999;
  transition: width 0.1s linear, opacity 0.3s ease;
  pointer-events: none;
  opacity: 0;
}
#nav-vesak-slot:empty { display: none; }
.nav__link--seasonal {
  color: var(--teal-text) !important;
  font-weight: 600;
}
.nav__link--seasonal:hover { color: var(--text) !important; }

/* ── HERO ── */
.hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero__terminal-panel {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5vw 4vw 5vw 5vw;
  border-right: 1px solid var(--border);
}

.terminal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  max-width: 480px;
}
.terminal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.terminal__bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.terminal__bar-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.terminal__bar-name {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--teal-text);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.terminal__bar-status {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.terminal__body {
  padding: 1.25rem 1.5rem 0.5rem;
  min-height: 260px;
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.terminal__input-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.5rem 1rem;
  border-top: 1px solid var(--border);
}
.terminal__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--text);
  caret-color: var(--teal);
}
.terminal__input::placeholder { color: var(--muted); opacity: 0.5; }
.terminal__input:disabled { opacity: 0.4; cursor: not-allowed; }

.tag--past {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  border: 1px solid #4A5568;
  color: #718096;
  background: rgba(74,85,104,0.12);
  letter-spacing: 0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Terminal links — slightly muted so they don't compete with teal UI elements */
.terminal__output a {
  color: #4DB6A8;
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.15s;
}
.terminal__output a:hover { color: var(--teal-text); }
.terminal__hint {
  margin-top: 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.76rem;
  color: var(--text);
  opacity: 0.9;
  letter-spacing: 0.02em;
}
.terminal__hint code {
  color: var(--bg);
  background: var(--teal-text);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.76rem;
  font-weight: 600;
}
.terminal__line {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
  line-height: 1.7;
  opacity: 1;
}
.terminal__line.visible { opacity: 1; }
.terminal__prompt { color: var(--teal); user-select: none; }
.terminal__cmd    { color: #93E8E0; }
.terminal__output { color: var(--muted); padding-left: 1.2rem; }
.terminal__output .hi  { color: var(--text); }
.terminal__output .tag { color: var(--teal); }

.cursor {
  display: inline-block;
  width: 8px; height: 1em;
  background: var(--teal);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

/* RIGHT: editorial */
.hero__editorial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4vw 5vw 4vw 4vw;
}

.hero__kicker {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  color: var(--text);
}
.hero__name mark {
  background: none;
  color: var(--teal);
}

.hero__tagline {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  border-left: 2px solid var(--teal);
  padding-left: 1rem;
}

.hero__cta { display: flex; gap: 0.875rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s;
}
.btn--teal {
  background: var(--teal);
  color: #ffffff;
}
.btn--teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(45,212,191,0.3);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ── MARQUEE ── */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0.9rem 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.marquee-item span { color: var(--teal); margin-right: 0.5rem; }

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 1px solid var(--border);
}
.about__sidebar {
  border-right: 1px solid var(--border);
  padding: 4rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  background: var(--surface);
}
.about__sidebar-label {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 0.5rem;
}
.about__stat-val {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}
.about__stat-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.about__content { padding: 4rem 4vw 4rem 3rem; }
.about__heading {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.about__heading em { font-style: italic; color: var(--teal); }

.about__body {
  color: var(--muted);
  font-size: 0.975rem;
  max-width: 580px;
  line-height: 1.85;
}
.about__body p + p { margin-top: 1rem; }

.skills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.skill {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 2px;
  letter-spacing: 0.03em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.skill:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-glow);
}

/* ── PROJECTS ── */
.projects { padding: 5rem 5vw; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.section-kicker {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 0.6rem;
}
.section-heading {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.project-card__linkedin {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
  flex-shrink: 0;
  background: none;
  text-decoration: none;
}
.project-card__linkedin:hover { color: #0A66C2; background: none; }
.project-card__meta a {
  background: none;
  text-decoration: none;
  outline: none;
}

/* ── PROJECT CARDS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  max-width: 1400px;
  background: var(--bg);
}
.project-card {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* Trailing empty cells match page background */
.projects-grid > #seasonal-card:empty,
.projects-grid > *:empty {
  background: var(--bg);
  min-height: 0;
}

@media (min-width: 1600px) {
  .projects-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) and (max-width: 1599px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

.tag--assignment {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid #5B6B7A;
  color: #A8B8C4;
  background: rgba(168,184,196,0.07);
}

.project-card__arrow {
  color: var(--muted);
  font-size: 1rem;
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.project-card:hover .project-card__arrow { color: var(--teal-text); }

.gh-repo-row__ext-icon {
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
}
.gh-repo-row:hover .gh-repo-row__ext-icon { opacity: 1; color: var(--teal-text); }
.gh-repo-row__forks {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.project-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.project-card:hover { background: var(--surface); }
.project-card:hover .project-card__arrow { transform: translate(3px, -3px); color: var(--teal); }
.project-card:hover .project-card__visual svg { opacity: 1; }

.project-card__visual {
  width: 100%;
  max-height: 140px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  line-height: 0;
}
.project-card__visual svg {
  width: 100%;
  height: 140px;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.project-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.project-card__meta-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.status-badge {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  font-weight: 600;
}
.status-badge--released {
  color: #6EE7B7;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
}
.status-badge--completed {
  color: #7FC8F8;
  background: rgba(16,129,185,0.12);
  border: 1px solid rgba(16,129,185,0.3);
}
.status-badge--in-progress {
  color: #FCD34D;
  background: rgba(250,204,21,0.1);
  border: 1px solid rgba(250,204,21,0.3);
}
.status-badge--archived {
  color: var(--muted);
  background: var(--surface2);
  border: 1px solid var(--border);
}
.project-card__type {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-text);
}
.project-card__arrow {
  color: var(--muted);
  font-size: 1rem;
  transition: transform 0.2s, color 0.2s;
}
.project-card__name {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.project-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.project-card__note {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--muted);
  opacity: 0.6;
  font-style: italic;
  margin-top: -0.3rem;
}
.project-card__live-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-text);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(94,234,212,0.3);
  background: rgba(94,234,212,0.06);
  border-radius: 3px;
  transition: background 0.2s, border-color 0.2s;
}
.project-card__live-link:hover {
  background: rgba(94,234,212,0.14);
  border-color: var(--teal-text);
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #28C840;
  box-shadow: 0 0 5px #28C840;
  animation: pulse-dot 2s ease-in-out infinite;
}
.project-card__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--teal-text);
  border: 1px solid var(--teal-dim);
  background: rgba(13,148,136,0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.project-card__live::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28C840;
  flex-shrink: 0;
  box-shadow: 0 0 5px #28C840;
  animation: pulse-dot 2s ease-in-out infinite;
}
.project-card__live:hover {
  background: rgba(13,148,136,0.18);
  color: var(--text);
}
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
  align-items: center;
}

/* ── UNIFIED TAG BASE ── All tags share identical height/padding/font */
.tag--solo,
.tag--group,
.tag--past,
.tag--org,
.tag--contribution,
.project-row__tag,
.lang-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
}
.lang-tag svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--teal-text); }

.tag--solo {
  border: 1px solid var(--teal-text);
  color: var(--teal-text);
  background: rgba(94,234,212,0.07);
}
.tag--group {
  border: 1px solid #A07F30;
  color: #E8C84A;
  background: rgba(232,200,74,0.08);
}
.tag--past {
  border: 1px solid #4A5568;
  color: #9AABB8;
  background: rgba(154,171,184,0.07);
}
.tag--org {
  border: 1px solid #9B2C2C;
  color: #FC8181;
  background: rgba(252,129,129,0.08);
}
.tag--contribution {
  border: 1px solid #5B6B7A;
  color: #A8B8C4;
  background: rgba(168,184,196,0.07);
}
.project-row__tag {
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border);
}
.lang-tag {
  color: var(--teal-text);
  border: 1px solid var(--border);
  background: var(--surface2);
}

/* ── PROJECT STATS ── */
.project-card__stats {
  display: flex;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}
.project-card__stat {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.project-card__stat svg {
  width: 13px; height: 13px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── CONTACT ICON ── */
.contact__link-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.contact__link-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--teal);
  opacity: 0.8;
}
.contact__link:hover .contact__link-icon { opacity: 1; }

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7,21,21,0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  object-fit: contain;
  cursor: zoom-out;
}
.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.lightbox__close:hover { background: var(--teal); color: #071515; }

/* visual expand hint */
.project-card__visual { position: relative; cursor: zoom-in; }


/* ── GITHUB STATS ── */
.gh-stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 5vw;
  background: var(--surface);
}
.gh-stats__header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.gh-stats__gh-icon { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }
.gh-stats__title { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }
.gh-stats__live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #28C840;
  box-shadow: 0 0 6px #28C840;
  animation: pulse-dot 2s ease-in-out infinite;
  margin-left: 0.25rem;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.gh-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.gh-stats__card { background: var(--bg); padding: 1.25rem 1.5rem; }
.gh-stats__card-label {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.gh-stats__card-val {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
/* Language list — matches big stat style, 3 langs max */
.gh-stats__card-val--langs {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
  color: var(--text);
  overflow: hidden;
  white-space: nowrap;
}

.gh-stats__recent { margin-top: 1.5rem; }
.gh-stats__recent-label {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 0.75rem;
}
.gh-stats__recent-list { display: flex; flex-direction: column; border: 1px solid var(--border); }
.gh-stats__skeleton {
  height: 44px;
  background: linear-gradient(90deg, var(--surface2) 25%, var(--border) 50%, var(--surface2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-bottom: 1px solid var(--border);
}
.gh-stats__skeleton:last-child { border-bottom: none; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.gh-repo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}
.gh-repo-row:last-child { border-bottom: none; }
.gh-repo-row:hover { background: var(--surface2); }
.gh-repo-row:hover .gh-repo-row__name { color: var(--teal); }
.gh-repo-row__name { font-family: var(--f-display); font-size: 0.9rem; font-weight: 600; color: var(--text); transition: color 0.2s; }
.gh-repo-row__meta { display: flex; align-items: center; gap: 1rem; font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); }
.gh-repo-row__lang { padding: 0.15rem 0.5rem; border: 1px solid var(--border); border-radius: 2px; color: var(--teal); }
.gh-repo-row__stars { display: flex; align-items: center; gap: 0.25rem; }
.gh-repo-row__updated { opacity: 0.7; }

/* ── CONTACT ── */
.contact {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contact__left {
  padding: 5rem 4vw 5rem 5vw;
  border-right: 1px solid var(--border);
}
.contact__heading {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.75rem;
  color: var(--text);
}
.contact__heading mark { background: none; color: var(--teal); }

.contact__sub {
  color: var(--muted);
  font-size: 0.975rem;
  max-width: 380px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.contact__links { display: flex; flex-direction: column; gap: 0.75rem; }
.contact__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.875rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  color: var(--muted);
}
.contact__link:hover { border-color: var(--teal); background: var(--teal-glow); color: var(--teal); }
.contact__link-label { font-weight: 500; }
.contact__link-arrow { color: var(--muted); }

.contact__right {
  padding: 5rem 5vw 5rem 4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
}
.contact__meta-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.contact__meta-item:first-child { border-top: 1px solid var(--border); }
.contact__meta-label {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 0.4rem;
}
.contact__meta-value {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 150;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--teal);
  color: var(--bg);
  box-shadow: 0 6px 20px rgba(13,148,136,0.35);
}
.back-to-top svg { width: 18px; height: 18px; }

/* ── LANGUAGE ICONS ── */
.lang-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  background: var(--surface2);
  color: var(--muted);
  border-radius: 2px;
  border: 1px solid var(--border);
}
/* ── BLOG CARD LOADING STATE ── */
.blog-card--loading .blog-card__kicker,
.blog-card--loading .blog-card__title,
.blog-card--loading .blog-card__excerpt,
.blog-card--loading .blog-card__date,
.blog-card--loading .blog-card__read {
  background: linear-gradient(90deg, var(--surface2) 25%, var(--border) 50%, var(--surface2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 3px;
  color: transparent;
  user-select: none;
}
/* ── BLOG MODAL SPINNER ── */
.blog-modal__loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 0.82rem;
  padding: 1rem 0;
}
.blog-modal__spinner {
  width: 16px; height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--teal-text);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── BLOG ── */
.blog { padding: 5rem 5vw; border-top: 1px solid var(--border); }
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}
.blog-card {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.blog-card:hover { background: var(--surface); }
.blog-card:hover .blog-card__title { color: var(--teal); }
.blog-card__kicker {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-text);
}
.blog-card__title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  transition: color 0.2s;
}
.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.blog-card__date {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.7;
}
.blog-card__read {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--teal);
}

/* blog modal */
.blog-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(7,21,21,0.94);
  backdrop-filter: blur(10px);
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 4rem 1rem;
}
.blog-modal.active { display: flex; }
.blog-modal__inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  max-width: 680px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
}
.blog-modal__close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.blog-modal__close:hover { background: var(--teal); color: var(--bg); }
.blog-modal__kicker {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 0.75rem;
}
.blog-modal__title {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.blog-modal__meta {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.blog-modal__body {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.85;
}
.blog-modal__body p { margin-bottom: 1.25rem; }
.blog-modal__body h2 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.6rem;
  letter-spacing: -0.02em;
}
.blog-modal__body h3 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}
.blog-modal__body code {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  background: var(--surface2);
  color: var(--teal-text);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}
.blog-modal__body pre {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}
.blog-modal__body pre code {
  background: none;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}
.blog-modal__body ul,
.blog-modal__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
}
.blog-modal__body li { margin-bottom: 0.3rem; }
.blog-modal__body strong { color: var(--text); font-weight: 600; }
.blog-modal__body a {
  color: var(--teal-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-modal__body a:hover { color: var(--text); }
.blog-modal__body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

@media (max-width: 900px) {
  .blog__grid { grid-template-columns: 1fr; }
}

/* ── HAMBURGER ── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--muted);
  transition: transform 0.2s, opacity 0.2s;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── ABOUT PHOTO ── */
.about__content-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}
.about__photo {
  flex-shrink: 0;
  width: 120px; height: 120px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface2);
}
.about__photo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.about__photo-img:hover { filter: grayscale(0%); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.footer__top {
  padding: 2.5rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer__logo {
  color: var(--teal-text);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.footer__tagline { color: var(--muted); font-size: 0.72rem; }
.footer__nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer__nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--teal-text); }
.footer__bottom {
  padding: 1.25rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer a:hover { color: var(--teal-text); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── ANIMATIONS ── */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__terminal-panel { border-right: none; border-bottom: 1px solid var(--border); padding: 3rem 5vw; }
  .hero__editorial { padding: 3rem 5vw 5rem; }
  .about { grid-template-columns: 1fr; }
  .about__sidebar { border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; flex-wrap: wrap; gap: 2rem; padding: 2.5rem 5vw; }
  .about__content { padding: 2.5rem 5vw; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__left { border-right: none; border-bottom: 1px solid var(--border); padding: 4rem 5vw; }
  .contact__right { padding: 4rem 5vw; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 57px; left: 0; right: 0;
    width: 100%;
    background: rgba(7,21,21,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 5vw 2rem;
    gap: 0.25rem;
    z-index: 199;
    box-sizing: border-box;
  }
  .nav__links.open li { width: 100%; }
  .nav__links.open a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open a:hover { color: var(--teal-text); }
  .nav__hamburger { display: flex; }
  .footer__top { flex-direction: column; gap: 1.5rem; }
  .about__content-inner { flex-direction: column; }
  .about__photo { width: 90px; height: 90px; }
  .gh-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .blog__grid { grid-template-columns: 1fr; }
  .marquee-strip { overflow: hidden; }
  .projects-grid { max-width: 100%; }
  .gh-stats { overflow: hidden; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

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