/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-base:      #0d0f14;
  --bg-surface:   #161b27;
  --bg-card:      #1e2535;
  --border:       #2a3347;
  --accent:       #4f8ef7;
  --accent-glow:  rgba(79, 142, 247, 0.15);
  --text-primary: #e8edf5;
  --text-muted:   #7a8ba8;
  --text-faint:   #4a5568;
  --radius:       12px;
  --transition:   0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Layout ───────────────────────────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--bg-surface);
}

/* ── Navigation ───────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active {
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── Hero / Bio ───────────────────────────────────── */
.hero {
  padding: 4rem 0 2.5rem;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(79, 142, 247, 0.08) 0%, transparent 70%);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.avatar {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7c4dff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 0 4px var(--bg-base), 0 0 0 6px var(--border);
  animation: avatar-pulse 3s ease-in-out infinite;
}

@keyframes avatar-pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--bg-base), 0 0 0 6px var(--border), 0 0 0 10px transparent; }
  50%       { box-shadow: 0 0 0 4px var(--bg-base), 0 0 0 6px var(--accent), 0 0 16px 2px rgba(79, 142, 247, 0.35); }
}

.hero-label {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.cover-hero .hero-label {
  color: #000;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.cover-hero .cover-title {
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}


.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.hero-title {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1rem;
}

.hero-bio {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.8rem;
  font-size: 0.97rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #3a78e8;
  box-shadow: 0 4px 20px rgba(79, 142, 247, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ── Section Titles ───────────────────────────────── */
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  margin-top: 0.4rem;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── Skills ───────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: border-color var(--transition);
}

.skill-category:hover {
  border-color: var(--accent);
}

.skill-category h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.skill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  display: inline-block;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Experience Timeline ──────────────────────────── */
.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -1.875rem;
  top: 1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-surface);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.timeline-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.job-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.company-logo-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
}

.company-logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  background: var(--bg-surface);
  letter-spacing: 0.02em;
}

.job-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.company {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
}

.date-badge {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  white-space: nowrap;
}

.job-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.job-details li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.job-details li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  top: 0.05em;
}

/* ── Contact ──────────────────────────────────────── */
.contact-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.contact-card:not(.non-link):hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(79, 142, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.contact-value {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* ── Favorite Projects ────────────────────────────── */
.projects-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 780px;
  margin-bottom: 2rem;
}

.projects-intro strong {
  color: var(--text-primary);
  font-weight: 600;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  counter-reset: project-counter;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  counter-increment: project-counter;
  position: relative;
}

.project-img-wrap::before {
  content: '#' counter(project-counter, decimal-leading-zero);
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(79, 142, 247, 0.75);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  pointer-events: none;
}

.project-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 28px var(--accent-glow);
  transform: translateY(-3px);
}

.project-img-wrap {
  width: 100%;
  height: 200px;
  background: var(--bg-surface);
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.project-card:hover .project-img {
  transform: scale(1.04);
}

.project-img-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.project-body {
  padding: 1.25rem 1.4rem;
}

.project-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.project-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(79, 142, 247, 0.25);
  border-radius: 5px;
  padding: 0.18rem 0.55rem;
}

.project-desc-list {
  list-style: none;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 1.4rem 1.25rem;
}

.project-desc-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.project-desc-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  top: 0.05em;
}

/* ── Contact Form ─────────────────────────────────── */
.contact-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.req {
  color: var(--accent);
}

.form-group input,
.form-group textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.form-status {
  font-size: 0.88rem;
}

.status-ok  { color: #4ade80; }
.status-err { color: #f87171; }

/* ── Prose (Privacy Policy) ───────────────────────── */
.prose {
  max-width: 700px;
}

.prose-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.prose-meta {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 2.5rem;
}

.prose h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.prose p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.prose ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.prose ul li {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}

.prose a {
  color: var(--accent);
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

/* ── Ad Strip ─────────────────────────────────────── */
.ad-strip {
  padding: 1rem 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.article-card--ad {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  background: var(--bg-surface);
}

/* ── Footer ───────────────────────────────────────── */
.footer-link {
  color: var(--text-faint);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--accent);
}

.photo-credits {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-faint);
}

.photo-credits a {
  color: var(--text-faint);
  text-decoration: none;
}

.photo-credits a:hover {
  color: var(--text-muted);
}

.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ── Hero Avatar with Image ───────────────────────── */
.avatar-img-wrap {
  padding: 0;
  overflow: hidden;
}

.avatar-img-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.avatar-fallback-hero {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

/* ── Minimal Index Layout ─────────────────────────── */
body.minimal {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.minimal-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  padding: 2rem;
}

.avatar-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), #7c4dff);
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.minimal-name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.minimal-headline {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 380px;
  font-weight: 400;
}

/* ── About ────────────────────────────────────────── */
.about-block {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about-block p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Cover Hero ───────────────────────────────────── */
.cover-hero {
  padding: 5rem 0 3.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-base);
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: 85% 40%;
  background-repeat: no-repeat;
}


.cover-hero .container {
  position: relative;
  z-index: 1;
}

.cover-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.cover-sub-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.cover-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Articles Grid ────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.article-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 28px var(--accent-glow);
  transform: translateY(-3px);
}

.article-img-wrap {
  width: 100%;
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-img--ai-signage  { background: linear-gradient(135deg, #1a2a4a 0%, #0f2040 100%); }
.article-img--context     { background: linear-gradient(135deg, #1a3a2a 0%, #0f2818 100%); }
.article-img--gen         { background: linear-gradient(135deg, #2a1a4a 0%, #1a0f40 100%); }
.article-img--data        { background: linear-gradient(135deg, #3a2a1a 0%, #281a0f 100%); }
.article-img--ops         { background: linear-gradient(135deg, #1a3a3a 0%, #0f2828 100%); }
.article-img--future      { background: linear-gradient(135deg, #2a1a3a 0%, #1a0f2a 100%); }
.article-img--av1         { background: linear-gradient(135deg, #3a1a1a 0%, #280f0f 100%); }
.article-img--av2         { background: linear-gradient(135deg, #3a2a10 0%, #281a08 100%); }
.article-img--av3         { background: linear-gradient(135deg, #1a3a30 0%, #0f2820 100%); }
.article-img--av4         { background: linear-gradient(135deg, #2a3a1a 0%, #1a2810 100%); }

.article-img-icon {
  font-size: 2.5rem;
  color: rgba(79, 142, 247, 0.4);
}

.article-body {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.article-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(79, 142, 247, 0.25);
  border-radius: 5px;
  padding: 0.18rem 0.55rem;
}

.article-date {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.article-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.article-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

/* ── Topics Grid ──────────────────────────────────── */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--transition);
}

.topic-card[data-filter] {
  cursor: pointer;
}

.topic-card:hover {
  border-color: var(--accent);
}

.topic-card--active {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.topic-card--active .topic-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.topic-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(79, 142, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.topic-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.topic-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 640px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
  }

  .hero-bio {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .timeline-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-links {
    gap: 1.2rem;
  }
}
