/* =========================================================
   CYBERSECURITY PORTFOLIO STYLESHEET
   Theme: dark security-operations-center dashboard.
   Structure:
   1. Design tokens (edit these to re-theme colors)
   2. Reset & base
   3. Layout helpers / shared components
   4. Navigation
   5. Hero / Overview
   6. Profile dashboard
   7. Skills panels
   8. Projects (report cards)
   9. Security Focus Areas
   10. Learning journey timeline + certifications
   11. GitHub dashboard
   12. Contact
   13. Footer
   14. Scroll-reveal + responsive
   ========================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Core surfaces: near-black, graphite, dark navy */
  --bg: #05070a;
  --bg-alt: #080b10;
  --surface: #0e131a;
  --surface-2: #141b25;
  --border: rgba(199, 213, 229, 0.09);
  --border-strong: rgba(199, 213, 229, 0.18);
  --grid-line: rgba(199, 213, 229, 0.045);

  /* Text */
  --text: #dde4ee;
  --text-dim: #8892a0;
  --text-faint: #566072;

  /* Accents: muted blue (primary), red/orange (warning, sparing), green (secure status) */
  --accent: #4a8fe0;
  --accent-soft: #4a8fe01f;
  --accent-dim: #2e5a8f;
  --warn: #e0663b;
  --warn-soft: #e0663b1f;
  --ok: #3fb88a;
  --ok-soft: #3fb88a1f;

  /* Type */
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;

  --container-w: 1160px;
  --radius: 6px;
  --header-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. RESET & BASE ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- 3. LAYOUT HELPERS ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 108px 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-dim);
  max-width: 52ch;
  margin-bottom: 48px;
}

.sub-heading {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: #06090d;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #5c9ce8;
}

.btn-secondary {
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-tiny {
  padding: 8px 16px;
  font-size: 0.8rem;
  background: var(--accent);
  color: #06090d;
  border-radius: 4px;
}
.btn-tiny:hover {
  background: #5c9ce8;
}
.btn-tiny-outline {
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
}
.btn-tiny-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* reveal-on-scroll base state */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 4. NAVIGATION ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 7, 10, 0.6);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(5, 7, 10, 0.9);
}

.navbar {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  margin-right: auto;
}
.nav-logo-bracket {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: var(--text-dim);
  border-radius: 4px;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.nav-link:hover {
  color: var(--text);
}
.nav-link.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ok);
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 var(--ok-soft);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(63, 184, 138, 0.5);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 5px rgba(63, 184, 138, 0);
    opacity: 0.65;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle .bar {
  width: 20px;
  height: 2px;
  background: var(--text);
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.nav-toggle.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 5. HERO / OVERVIEW ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

#network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 30% 40%, black 40%, transparent 85%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-heading {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: 18px;
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.hero-desc {
  color: var(--text-dim);
  max-width: 54ch;
  margin-bottom: 36px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero right: monitoring-style panel */
.hero-right {
  position: relative;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 22px 24px 26px;
  position: relative;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.panel-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
}
.panel-dots {
  display: flex;
  gap: 5px;
}
.panel-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
  display: block;
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  border-bottom: 1px dashed var(--border);
}
.panel-label {
  color: var(--text-faint);
  letter-spacing: 0.03em;
}
.panel-value {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.panel-value .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.panel-value.ok {
  color: var(--ok);
}
.panel-value.ok .dot {
  background: var(--ok);
}
.panel-value.warn {
  color: var(--warn);
}
.panel-value.warn .dot {
  background: var(--warn);
}

.panel-graph {
  margin: 18px 0 10px;
}
.panel-graph svg {
  width: 100%;
  height: 60px;
}
.panel-graph polyline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: drawGraph 2.4s var(--ease) forwards 0.3s;
}
@keyframes drawGraph {
  to {
    stroke-dashoffset: 0;
  }
}

.panel-note {
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-top: 4px;
}

.node-cluster {
  position: absolute;
  inset: -20px;
  z-index: -1;
  pointer-events: none;
}

/* ---------- 6. PROFILE DASHBOARD ---------- */
.profile-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.profile-stat {
  background: var(--surface);
  padding: 22px 24px;
}
.profile-stat-wide {
  grid-column: span 2;
}

.profile-stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.profile-stat-value {
  font-size: 1.02rem;
  font-weight: 500;
}
.profile-goal {
  font-style: italic;
  color: var(--text-dim);
}

.profile-interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-interest-list li {
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-dim);
}

.profile-about {
  color: var(--text-dim);
  max-width: 70ch;
  font-size: 1.02rem;
  line-height: 1.8;
}

/* ---------- 7. SKILLS PANELS ---------- */
.skills-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.skill-panel-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.skill-item-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.skill-item:last-child {
  border-bottom: none;
}

.skill-level {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.level-learning {
  background: var(--warn-soft);
  color: var(--warn);
}
.level-developing {
  background: var(--accent-soft);
  color: var(--accent);
}
.level-familiar {
  background: var(--ok-soft);
  color: var(--ok);
}

/* ---------- 8. PROJECTS (report cards) ---------- */
.project-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 18px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  transition: all 0.25s var(--ease);
}
.filter-btn:hover {
  color: var(--text);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #06090d;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.report-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.report-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--warn);
}
.report-card.hide {
  display: none;
}

.report-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.report-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
}

.report-status {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.status-progress {
  background: var(--warn-soft);
  color: var(--warn);
}
.status-done {
  background: var(--ok-soft);
  color: var(--ok);
}

.report-category {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.report-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.report-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.report-tech {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.report-tech span {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-dim);
}

.report-links {
  display: flex;
  gap: 10px;
}

.project-empty {
  color: var(--text-dim);
  padding: 30px 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ---------- 9. SECURITY FOCUS AREAS ---------- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.focus-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.focus-card:hover,
.focus-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.focus-card:hover::before,
.focus-card:focus-visible::before {
  opacity: 1;
}

.focus-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  position: relative;
}

.focus-explainer {
  color: var(--text-dim);
  font-size: 0.88rem;
  position: relative;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.35s var(--ease),
    opacity 0.35s var(--ease);
}
.focus-card:hover .focus-explainer,
.focus-card:focus-visible .focus-explainer {
  max-height: 120px;
  opacity: 1;
}

/* ---------- 10. LEARNING TIMELINE + CERTIFICATIONS ---------- */
.timeline {
  position: relative;
  max-width: 780px;
  padding-left: 30px;
  border-left: 1px solid var(--border-strong);
  margin-bottom: 64px;
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -35px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline-status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.status-completed {
  background: var(--ok-soft);
  color: var(--ok);
}
.status-ongoing {
  background: var(--warn-soft);
  color: var(--warn);
}
.status-current {
  background: var(--accent-soft);
  color: var(--accent);
}

.timeline-content h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.timeline-institution {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.cert-placeholder {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.cert-icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

/* ---------- 11. GITHUB DASHBOARD ---------- */
.github-status {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.github-dashboard {
  margin-bottom: 32px;
}

.github-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.github-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.github-stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 700;
}
.github-stat-label {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.github-repo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.github-repo-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.github-repo-list a {
  color: var(--accent);
  font-weight: 600;
}
.github-repo-list span {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* ---------- 12. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 50px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-row label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}
.form-row input,
.form-row textarea {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text);
  resize: vertical;
  transition: border-color 0.25s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
}
.form-row.has-error input,
.form-row.has-error textarea {
  border-color: var(--warn);
}
.form-error {
  font-size: 0.76rem;
  color: var(--warn);
  min-height: 1em;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 6px;
}
.form-status {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--ok);
  min-height: 1.2em;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.contact-link:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.contact-link-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
}
.contact-link-value {
  font-weight: 600;
}

/* ---------- 13. FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-name {
  font-weight: 600;
}
.footer-role {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-meta {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-terminal {
  font-family: var(--font-mono);
  color: var(--ok);
  margin-top: 2px;
}

/* ---------- 14. RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-right {
    max-width: 460px;
  }
  .skills-panels {
    grid-template-columns: 1fr;
  }
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-stat-wide {
    grid-column: span 2;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .github-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .section {
    padding: 76px 0;
  }
  .container {
    padding: 0 22px;
  }
  .navbar {
    padding: 0 22px;
    gap: 14px;
  }
  .nav-status .status-text {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 7, 10, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 10px 22px 22px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.3s var(--ease),
      opacity 0.3s var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    display: block;
    padding: 13px 10px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }
  .profile-dashboard {
    grid-template-columns: 1fr;
  }
  .profile-stat-wide {
    grid-column: span 1;
  }
  .github-stats {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .footer-meta {
    text-align: left;
  }
}
