@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400&display=swap');

/* ── Variables: blue / light-blue palette ── */
:root {
  --bg: #ffffff;
  --bg-secondary: #f5f8fc;
  --bg-card: #ffffff;
  --border: #e3eaf2;
  --text: #0b1f33;
  --text-muted: #5a6b7d;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #38bdf8;
  --accent-light: #e0edff;
  --shadow-sm: 0 1px 3px rgba(15,40,80,0.06), 0 1px 2px rgba(15,40,80,0.04);
  --shadow-md: 0 6px 20px rgba(15,40,80,0.08), 0 2px 8px rgba(15,40,80,0.05);
  --shadow-lg: 0 16px 48px rgba(15,40,80,0.12);
  --nav-bg: rgba(255,255,255,0.82);
  --badge-edu-bg: #dcfce7;
  --badge-edu-color: #15803d;
  --badge-civ-bg: #fef3c7;
  --badge-civ-color: #92400e;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220;
    --bg-secondary: #121b2c;
    --bg-card: #16203324;
    --bg-card: #161f33;
    --border: #25304a;
    --text: #dce6f5;
    --text-muted: #8a99b0;
    --accent: #60a5fa;
    --accent-hover: #3b82f6;
    --accent-soft: #38bdf8;
    --accent-light: #16263f;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.45);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.55);
    --nav-bg: rgba(11,18,32,0.82);
    --badge-edu-bg: #0d2b1d;
    --badge-edu-color: #4ade80;
    --badge-civ-bg: #2a2206;
    --badge-civ-color: #fbbf24;
  }
}

[data-theme="dark"] {
  --bg: #0b1220;
  --bg-secondary: #121b2c;
  --bg-card: #161f33;
  --border: #25304a;
  --text: #dce6f5;
  --text-muted: #8a99b0;
  --accent: #60a5fa;
  --accent-hover: #3b82f6;
  --accent-soft: #38bdf8;
  --accent-light: #16263f;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.45);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.55);
  --nav-bg: rgba(11,18,32,0.82);
  --badge-edu-bg: #0d2b1d;
  --badge-edu-color: #4ade80;
  --badge-civ-bg: #2a2206;
  --badge-civ-color: #fbbf24;
}

/* ── Language toggle ── */
.lang-en .de { display: none !important; }
html:not(.lang-en) .en { display: none !important; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }

/* ── Top navigation ── */
.topnav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s;
  overflow: hidden;
}
.nav-logo:hover { opacity: 0.8; }
.nav-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-logo .logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-logo .logo-light { display: none; }
  :root:not([data-theme="light"]) .nav-logo .logo-dark { display: block; }
}
[data-theme="dark"] .nav-logo .logo-light { display: none; }
[data-theme="dark"] .nav-logo .logo-dark { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-secondary); }

.nav-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.lang-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  letter-spacing: 0.5px;
}
.lang-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.theme-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.theme-btn:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }

/* ── Hero (no gradient) ── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 24px 80px;
  background: var(--bg);
}
.hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; }

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeSlideUp 0.6s ease 0.1s forwards;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -3px;
  margin-bottom: 18px;
  color: var(--text);
  opacity: 0;
  animation: fadeSlideUp 0.6s ease 0.2s forwards;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
  opacity: 0;
  animation: fadeSlideUp 0.6s ease 0.3s forwards;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
  opacity: 0;
  animation: fadeSlideUp 0.6s ease 0.4s forwards;
}
.hero-tag {
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: fadeSlideUp 0.6s ease 0.5s forwards;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}
.btn svg { transition: transform 0.2s; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* ── Layout helpers ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-std { padding: 88px 24px; }
.section-alt { padding: 88px 24px; background: var(--bg-secondary); }
.section-header { margin-bottom: 52px; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
}
.section-intro {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-top: 14px;
  line-height: 1.7;
}

/* ── About ── */
.about-body { max-width: 680px; }
.about-body p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--text); font-weight: 600; }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
  border-radius: 2px;
}
.tl-item { position: relative; margin-bottom: 32px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -33px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-secondary);
  box-shadow: 0 0 0 2px var(--accent);
}
.tl-meta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-work { background: var(--accent-light); color: var(--accent); }
.badge-edu  { background: var(--badge-edu-bg); color: var(--badge-edu-color); }
.badge-civ  { background: var(--badge-civ-bg); color: var(--badge-civ-color); }

.tl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.tl-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.tl-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.tl-card .org { font-size: 0.875rem; font-weight: 500; color: var(--accent); margin-bottom: 10px; }
.tl-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ── Skills ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.25s;
}
.skill-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.skill-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.skill-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.skill-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Project cards (listing) ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.project-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.project-thumb {
  height: 168px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.project-thumb svg { width: 64px; height: 64px; color: var(--accent); opacity: 0.85; }
.project-thumb .thumb-img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 26px 26px 14px; flex: 1; }
.project-type {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.project-card h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px; color: var(--text); }
.project-card .project-excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.project-foot {
  padding: 16px 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tag {
  background: var(--bg-secondary);
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 500;
}
.project-more {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: gap 0.2s;
}
.project-card:hover .project-more { gap: 8px; }

/* ── Contact ── */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.contact-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 22px;
}
.contact-email:hover { opacity: 0.85; }
.contact-secondary {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Project detail page ── */
.detail-page { padding-top: 62px; }
.detail-hero {
  padding: 64px 24px 40px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.detail-hero-inner { max-width: 820px; margin: 0 auto; }
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  transition: color 0.2s, gap 0.2s;
}
.detail-back:hover { color: var(--accent); gap: 9px; }
.detail-type {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.detail-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 18px;
}
.detail-lead { font-size: 1.12rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.detail-meta-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.detail-meta-row .meta-item .meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 3px;
}
.detail-meta-row .meta-item .meta-value { font-size: 0.92rem; color: var(--text); font-weight: 600; }

.detail-body { max-width: 820px; margin: 0 auto; padding: 56px 24px 90px; }
.detail-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 44px 0 14px;
  color: var(--text);
}
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { font-size: 1.02rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.detail-body strong { color: var(--text); font-weight: 600; }
.detail-body ul { padding-left: 22px; margin-bottom: 18px; }
.detail-body li { font-size: 1.02rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 8px; }
.detail-body a { color: var(--accent); }

.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.detail-tags .project-tag { font-size: 0.8rem; padding: 5px 12px; border-radius: 8px; }

/* image gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.gallery figure {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-secondary);
  aspect-ratio: 16/10;
}
.gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}
.gallery img:hover { transform: scale(1.03); }
.gallery figcaption { font-size: 0.8rem; color: var(--text-muted); padding: 10px 14px; }
.gallery-placeholder {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 16px;
}

/* lightbox */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.lb-overlay.lb-open { opacity: 1; pointer-events: all; }
.lb-wrap {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-wrap img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  cursor: default;
}
.lb-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  padding: 4px 8px;
  transition: opacity 0.15s;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  color: #fff;
  width: 46px;
  height: 46px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 1001;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }
.lb-prev.lb-hidden, .lb-next.lb-hidden { display: none; }

/* downloads + links */
.resource-list { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.resource-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.resource-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.resource-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.resource-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.resource-text .r-title { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.resource-text .r-sub { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; }
.resource-arrow { color: var(--text-muted); flex-shrink: 0; }

.callout {
  background: var(--accent-light);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.footer-links a:hover { color: var(--accent); background: var(--accent-light); }
.footer-sep { color: var(--border); font-size: 0.875rem; }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ── Legal pages ── */
.legal-page { padding-top: 62px; }
.legal-content { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal-content h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
  color: var(--text);
}
.legal-content .legal-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2 { font-size: 1.15rem; font-weight: 700; margin: 36px 0 12px; color: var(--text); }
.legal-content p, .legal-content li { font-size: 0.925rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content a { color: var(--accent); }
.legal-content .info-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.legal-content .info-block p { margin-bottom: 4px; font-size: 0.9rem; }
.legal-content .info-block p:last-child { margin-bottom: 0; }
.legal-content code {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.85em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 96px 20px 60px; min-height: 92svh; }
  .section-std, .section-alt { padding: 64px 20px; }
  .timeline { padding-left: 28px; }
  .tl-item::before { left: -25px; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { padding: 28px 22px; }
}
@media (max-width: 480px) {
  .skills-grid { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: -2px; }
}
