/* ─── LIGHT MODE (default) ─── */
:root {
  --bg: #F5F7FA;
  --bg-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --border: #E2E6EE;
  --text-primary: #1A1D26;
  --text-secondary: #4A5068;
  --text-muted: #8B93A7;
  --accent: #4A90D9;
  --accent-light: #3578C2;
  --accent-dim: rgba(74, 144, 217, 0.1);
  --accent-glow: rgba(74, 144, 217, 0.05);
  --nav-bg: rgba(245, 247, 250, 0.85);
  --overlay-bg: rgba(0, 0, 0, 0.5);
  --shadow: 0 1px 4px rgba(0,0,0,0.06);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

/* ─── DARK MODE ─── */
[data-theme="dark"] {
  --bg: #0C0E12;
  --bg-elevated: #14171E;
  --bg-card: #1A1E28;
  --border: #262B38;
  --text-primary: #E8ECF4;
  --text-secondary: #8B93A7;
  --text-muted: #555D73;
  --accent: #4A90D9;
  --accent-light: #6AABEF;
  --accent-dim: rgba(74, 144, 217, 0.12);
  --accent-glow: rgba(74, 144, 217, 0.06);
  --nav-bg: rgba(12, 14, 18, 0.8);
  --overlay-bg: rgba(0, 0, 0, 0.85);
  --shadow: 0 1px 4px rgba(0,0,0,0.3);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── THEME TOGGLE ─── */
.theme-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all 0.25s;
  flex-shrink: 0;
}
.theme-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
/* Show sun in dark mode, moon in light mode */
.theme-btn .icon-sun { display: none; }
.theme-btn .icon-moon { display: inline; }
[data-theme="dark"] .theme-btn .icon-sun { display: inline; }
[data-theme="dark"] .theme-btn .icon-moon { display: none; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: var(--border); }
.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-secondary); transition: all 0.3s; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  max-width: 1200px; width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-dim);
  border: 1px solid rgba(74, 144, 217, 0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease both;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s 0.1s ease both;
}
.hero h1 .accent { color: var(--accent-light); }
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(74,144,217,0.3); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text-secondary); color: var(--text-primary); }

.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
  animation: fadeInUp 0.8s 0.3s ease both;
}
.hero-card {
  background: #1A1E28;
  color: #E8ECF4;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
}
.hero-card-header {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.hero-card-header .dots { display: flex; gap: 5px; }
.hero-card-header .dots span { width: 8px; height: 8px; border-radius: 50%; }
.hero-card-header .dots span:nth-child(1) { background: #FF5F57; }
.hero-card-header .dots span:nth-child(2) { background: #FEBC2E; }
.hero-card-header .dots span:nth-child(3) { background: #28C840; }

.code-block {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 2;
}
.code-keyword { color: #C792EA; }
.code-string { color: #C3E88D; }
.code-prop { color: #82AAFF; }
.code-bracket { color: var(--text-muted); }

/* ─── SECTIONS ─── */
section { padding: 6rem 3rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 3.5rem;
}

/* ─── ABOUT ─── */
#about { background: var(--bg-elevated); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text p { color: var(--text-secondary); margin-bottom: 1.25rem; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.stat-number {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── EXPERIENCE ─── */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  padding-left: 2.5rem;
  padding-bottom: 3rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -5px; top: 6px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.timeline-item:first-child .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}
.timeline-date {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.timeline-role {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.timeline-company {
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}
.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.timeline-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: 0.75rem;
}
.timeline-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  background: var(--accent-dim);
  color: var(--accent-light);
  border-radius: 4px;
}

/* ─── SKILLS ─── */
#skills { background: var(--bg-elevated); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.skill-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s;
}
.skill-group:hover { border-color: var(--accent); }
.skill-group-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}
.skill-group-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.skill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-item {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  transition: all 0.25s;
}
.skill-item:hover {
  background: var(--accent-dim);
  border-color: rgba(74,144,217,0.3);
  color: var(--accent-light);
}

/* ─── PROJECTS ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.3s, transform 0.3s;
}
.project-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.project-header {
  padding: 2rem 2rem 0;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.project-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.project-links { display: flex; gap: 0.5rem; }
.project-links a {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.25s;
}
.project-links a:hover { border-color: var(--accent); color: var(--accent-light); }
.project-body { padding: 1.5rem 2rem 2rem; }
.project-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.project-desc { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 1.25rem; }
.project-tech { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.project-tech span {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  color: var(--text-muted);
}

/* ─── EDUCATION ─── */
#education { background: var(--bg-elevated); }
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: border-color 0.3s;
}
.edu-card:hover { border-color: var(--accent); }
.edu-year {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.edu-degree { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.3rem; }
.edu-school { color: var(--text-secondary); font-size: 0.88rem; }
.edu-thesis { color: var(--text-muted); font-size: 0.82rem; font-style: italic; margin-top: 0.5rem; }

/* ─── BLOG ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.blog-img-placeholder {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  opacity: 0.3;
}
.blog-body { padding: 1.75rem 2rem 2rem; }
.blog-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.blog-category {
  padding: 0.2rem 0.6rem;
  background: var(--accent-dim);
  color: var(--accent-light);
  border-radius: 4px;
  font-weight: 600;
}
.blog-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.blog-excerpt { color: var(--text-secondary); font-size: 0.88rem; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-light);
}

/* ─── BLOG MODAL ─── */
.blog-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--overlay-bg);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 2rem;
}
.blog-modal.open { display: flex; }
.blog-modal-content {
  max-width: 720px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 3rem auto;
  position: relative;
}
.blog-modal-close {
  position: sticky;
  top: 1rem;
  float: right;
  margin: 1.25rem 1.25rem 0 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: border-color 0.25s, color 0.25s;
}
.blog-modal-close:hover { border-color: var(--accent); color: var(--accent-light); }
.blog-modal-body { padding: 3rem 3rem 2.5rem; }
.blog-modal-meta {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
}
.blog-modal-date { font-size: 0.78rem; color: var(--text-muted); }
.blog-modal-title {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.blog-modal-article {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
}
.blog-modal-article h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}
.blog-modal-article p { margin-bottom: 1.25rem; }
.blog-modal-article strong { color: var(--text-primary); }
.blog-modal-lead {
  font-size: 1.05rem !important;
  color: var(--text-primary) !important;
  font-style: italic;
}
.blog-modal-author {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 1rem;
}
.blog-modal-avatar {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-light);
}
.blog-modal-author-name { font-weight: 600; font-size: 0.9rem; }
.blog-modal-author-role { font-size: 0.78rem; color: var(--text-muted); }

/* ─── CONTACT ─── */
#contact { background: var(--bg-elevated); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1rem; }
.contact-info-item {
  display: flex; align-items: center; gap: 1rem;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.78rem; color: var(--text-muted); }
.contact-info-value {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-decoration: none;
}
.contact-info-value:hover { color: var(--accent-light); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group input, .form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 0.9rem;
  transition: border-color 0.25s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-status {
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 0.88rem;
}
.form-status.success { color: #66bb6a; }
.form-status.error { color: #ef5350; }

/* ─── FOOTER ─── */
footer {
  padding: 3rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.25s;
}
.footer-socials a:hover { border-color: var(--accent); color: var(--accent-light); }

/* ─── LANGUAGES ─── */
.lang-bar-container { margin-top: 2rem; }
.lang-item { margin-bottom: 1rem; }
.lang-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.88rem; font-weight: 500; margin-bottom: 0.4rem;
}
.lang-level { color: var(--text-muted); font-size: 0.78rem; }
.lang-bar {
  height: 4px; background: var(--border); border-radius: 4px; overflow: hidden;
}
.lang-bar-fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 1s ease;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-elevated);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .hamburger { display: flex; }
  section { padding: 4rem 1.5rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-modal-body { padding: 2rem 1.5rem; }
  .blog-modal-title { font-size: 1.5rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}
