*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg:           #080808;
  --bg-1:         #111111;
  --bg-2:         #1a1a1a;
  --bg-3:         #222222;
  --accent:       #00875A;
  --accent-hover: #00A36C;
  --accent-dim:   rgba(0,135,90,0.12);
  --accent-glow:  rgba(0,135,90,0.22);
  --accent-light: rgba(0,135,90,0.06);
  --text-1:       #F2F2F2;
  --text-2:       #909090;
  --text-3:       #484848;
  --border:       rgba(255,255,255,0.07);
  --border-2:     rgba(255,255,255,0.13);
  --nav-bg:       rgba(8,8,8,0.88);
  --nav-h:        64px;
  --max-w:        1120px;
  --card-shadow:  0 1px 3px rgba(0,0,0,0.5), 0 6px 20px rgba(0,0,0,0.35);
  --card-shadow-hover: 0 2px 8px rgba(0,0,0,0.6), 0 12px 32px rgba(0,0,0,0.45);
  --logo-stroke:  #8B5CF6;
  --logo-fill:    rgba(139,92,246,0.18);
  --logo-dot:     #8B5CF6;
  --logo-hole:    #080808;
  --logo-pro:     #F2F2F2;
  --logo-cloud:   #8B5CF6;
  --logo-tld:     #3a3a3a;
}

[data-theme="light"] {
  --bg:           #E8EAED;
  --bg-1:         #FFFFFF;
  --bg-2:         #F3F4F6;
  --bg-3:         #E2E5E9;
  --accent:       #006B47;
  --accent-hover: #00875A;
  --accent-dim:   rgba(0,107,71,0.09);
  --accent-glow:  rgba(0,107,71,0.18);
  --accent-light: rgba(0,107,71,0.05);
  --text-1:       #0D0D0D;
  --text-2:       #4A4A4A;
  --text-3:       #8A8A8A;
  --border:       rgba(0,0,0,0.09);
  --border-2:     rgba(0,0,0,0.16);
  --nav-bg:       rgba(255,255,255,0.92);
  --card-shadow:  0 1px 3px rgba(0,0,0,0.07), 0 6px 20px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.10), 0 16px 36px rgba(0,0,0,0.08);
  --logo-stroke:  #6D28D9;
  --logo-fill:    rgba(109,40,217,0.12);
  --logo-dot:     #6D28D9;
  --logo-hole:    #FFFFFF;
  --logo-pro:     #0D0D0D;
  --logo-cloud:   #6D28D9;
  --logo-tld:     #aaaaaa;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 40px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
[data-theme="light"] nav { box-shadow: 0 1px 0 rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.05); }

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.15s;
}
.logo:hover { opacity: 0.8; }

.logo-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.logo-pro   { color: var(--logo-pro); }
.logo-cloud { color: var(--logo-cloud); }
.logo-tld   { color: var(--logo-tld); font-weight: 400; font-size: 13px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text-1); background: var(--bg-2); }
.nav-links a.active { color: var(--accent); font-weight: 500; }

.nav-right { display: flex; align-items: center; gap: 8px; }

.theme-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.15s;
}
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 80px) 40px 100px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  top: 42%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
[data-theme="light"] .hero::after {
  background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
}
.hero > * { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}
.eyebrow-line { width: 28px; height: 1px; background: var(--accent); opacity: 0.5; }

.hero-title {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text-1);
  max-width: 860px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero-title .muted { color: var(--text-2); font-weight: 300; }

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}
.btn-primary { background: var(--accent); color: #FFFFFF; font-weight: 600; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text-2); border: 1px solid var(--border-2); }
.btn-ghost:hover { color: var(--text-1); background: var(--bg-2); }

.stats-bar {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 40px;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 0 40px; border-right: 1px solid var(--border); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; }
.stat-num { font-size: 38px; font-weight: 700; letter-spacing: -0.04em; color: var(--text-1); line-height: 1; margin-bottom: 6px; }
.stat-num sup { font-size: 18px; color: var(--accent); }
.stat-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-3); letter-spacing: 0.07em; text-transform: uppercase; }

.section-blog   { background: var(--bg); padding: 100px 40px; }
.section-skills { background: var(--bg-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 100px 40px; }
.section-cta    { background: var(--bg); padding: 120px 40px; text-align: center; position: relative; overflow: hidden; }
.section-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 500px; height: 250px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-tag::before { content: ''; width: 20px; height: 1px; background: var(--accent); }
.section-title { font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--text-1); margin-bottom: 12px; }
.section-sub { font-size: 15px; font-weight: 300; color: var(--text-2); max-width: 480px; line-height: 1.75; margin-bottom: 56px; }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.blog-card {
  background: var(--bg-1);
  padding: 36px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.15s;
  position: relative;
}
.blog-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.blog-card:hover { background: var(--bg-2); }
.blog-card:hover::after { opacity: 1; }
.blog-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}

.card-tag-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag-azure         { background: rgba(59,130,246,0.12); color: #60A5FA; border: 1px solid rgba(59,130,246,0.2); }
.tag-terraform     { background: rgba(0,135,90,0.12); color: #34D399; border: 1px solid rgba(0,135,90,0.25); }
.tag-iac           { background: rgba(0,135,90,0.12); color: #34D399; border: 1px solid rgba(0,135,90,0.25); }
.tag-cicd          { background: rgba(52,211,153,0.10); color: #34D399; border: 1px solid rgba(52,211,153,0.2); }
.tag-platform      { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(0,135,90,0.25); }
.tag-security      { background: rgba(239,68,68,0.12); color: #F87171; border: 1px solid rgba(239,68,68,0.25); }
.tag-observability { background: rgba(251,191,36,0.12); color: #FBBF24; border: 1px solid rgba(251,191,36,0.25); }
.tag-architecture  { background: rgba(167,139,250,0.12); color: #A78BFA; border: 1px solid rgba(167,139,250,0.25); }
[data-theme="light"] .tag-azure         { color: #1D4ED8; background: rgba(59,130,246,0.08); }
[data-theme="light"] .tag-terraform     { color: #006B47; background: rgba(0,107,71,0.08); border-color: rgba(0,107,71,0.2); }
[data-theme="light"] .tag-iac           { color: #006B47; background: rgba(0,107,71,0.08); border-color: rgba(0,107,71,0.2); }
[data-theme="light"] .tag-cicd          { color: #059669; background: rgba(5,150,105,0.08); border-color: rgba(5,150,105,0.2); }
[data-theme="light"] .tag-platform      { color: var(--accent); border-color: rgba(0,107,71,0.2); }
[data-theme="light"] .tag-security      { color: #B91C1C; background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.2); }
[data-theme="light"] .tag-observability { color: #B45309; background: rgba(251,191,36,0.10); border-color: rgba(251,191,36,0.25); }
[data-theme="light"] .tag-architecture  { color: #6D28D9; background: rgba(167,139,250,0.10); border-color: rgba(167,139,250,0.25); }

.card-date { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-3); margin-left: auto; }
.card-title { font-size: 19px; font-weight: 600; color: var(--text-1); line-height: 1.25; letter-spacing: -0.02em; }
.blog-card.featured .card-title { font-size: 26px; }
.card-body { font-size: 14px; font-weight: 300; color: var(--text-2); line-height: 1.7; flex: 1; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.card-meta-txt { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-3); }
.card-arrow { font-size: 16px; color: var(--text-3); transition: color 0.15s, transform 0.15s; }
.blog-card:hover .card-arrow { color: var(--accent); transform: translateX(4px); }

.featured-aside { min-width: 270px; }
.code-block { background: #0d0d0d; border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; overflow: hidden; }
.code-header { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); background: #161616; }
.cd { width: 9px; height: 9px; border-radius: 50%; }
.cd-r { background: #FF5F57; }
.cd-y { background: #FFBD2E; }
.cd-g { background: #28C840; }
.code-file { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #444; margin-left: 6px; }
.code-body { padding: 18px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; line-height: 1.9; color: #888; }
.ck { color: #A78BFA; }
.cs { color: #34D399; }
.cn { color: #FBBF24; }
.cc { color: #383838; }
.cp { color: #00875A; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.skill-card { background: var(--bg-1); padding: 32px 28px; transition: background 0.15s; }
.skill-card:hover { background: var(--bg-2); }
.skill-icon { font-size: 22px; display: block; margin-bottom: 18px; }
.skill-name { font-size: 15px; font-weight: 600; color: var(--text-1); letter-spacing: -0.02em; margin-bottom: 8px; }
.skill-desc { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.65; margin-bottom: 18px; }
.skill-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-3); padding: 3px 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-2); }

.cta-title { font-size: clamp(32px, 5vw, 60px); font-weight: 700; letter-spacing: -0.04em; color: var(--text-1); line-height: 1.05; margin-bottom: 16px; position: relative; }
.cta-title .accent { color: var(--accent); }
.cta-sub { font-size: 15px; font-weight: 300; color: var(--text-2); margin-bottom: 36px; position: relative; }
.cta-actions { display: flex; gap: 12px; justify-content: center; position: relative; }

footer { background: var(--bg-1); border-top: 1px solid var(--border); padding: 36px 40px 24px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.03em;
}
.footer-bottom-meta { color: var(--text-3); opacity: 0.7; }
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-wordmark { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.footer-built { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-3); margin-top: 5px; letter-spacing: 0.04em; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-3); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--accent); }

/* Blog/post page extras */
.page-header { padding: calc(var(--nav-h) + 60px) 40px 60px; background: var(--bg-1); border-bottom: 1px solid var(--border); }
.page-header-inner { max-width: var(--max-w); margin: 0 auto; }
.post-content { max-width: 720px; margin: 0 auto; padding: 60px 40px 120px; }
.post-content h1,.post-content h2,.post-content h3 { color: var(--text-1); font-weight: 700; letter-spacing: -0.02em; margin: 2em 0 0.75em; }
.post-content h1 { font-size: 2em; }
.post-content h2 { font-size: 1.5em; }
.post-content h3 { font-size: 1.2em; }
.post-content p { color: var(--text-2); font-size: 16px; font-weight: 300; line-height: 1.85; margin-bottom: 1.5em; }
.post-content pre { background: var(--bg-1); border: 1px solid var(--border); border-radius: 8px; padding: 20px; overflow-x: auto; margin-bottom: 1.5em; }
.post-content code { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--accent); }
.post-content pre code { color: var(--text-2); }
.post-content ul,.post-content ol { color: var(--text-2); font-size: 16px; font-weight: 300; line-height: 1.85; margin-bottom: 1.5em; padding-left: 1.5em; }
.post-content a { color: var(--accent); text-decoration: none; }
.post-content a:hover { text-decoration: underline; }

/* Blog list page */
.blog-list { max-width: var(--max-w); margin: 0 auto; padding: 60px 40px 120px; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.blog-list-item { background: var(--bg-1); padding: 32px 36px; text-decoration: none; display: flex; align-items: center; gap: 40px; transition: background 0.15s; }
.blog-list-item:hover { background: var(--bg-2); }
.blog-list-meta { min-width: 120px; }
.blog-list-date { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-3); }
.blog-list-title { font-size: 17px; font-weight: 600; color: var(--text-1); letter-spacing: -0.02em; flex: 1; }
.blog-list-desc { font-size: 13px; font-weight: 300; color: var(--text-2); flex: 2; }

/* Projects page */
.projects-grid { max-width: var(--max-w); margin: 0 auto; padding: 60px 40px 120px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.project-card { background: var(--bg-1); padding: 36px; display: flex; flex-direction: column; gap: 16px; transition: background 0.15s; }
.project-card:hover { background: var(--bg-2); }
.project-title { font-size: 19px; font-weight: 600; color: var(--text-1); letter-spacing: -0.02em; }
.project-desc { font-size: 14px; font-weight: 300; color: var(--text-2); line-height: 1.7; flex: 1; }
.project-stack { display: flex; flex-wrap: wrap; gap: 6px; }

/* About page */
.about-content { max-width: 720px; margin: 0 auto; padding: 60px 40px 120px; }
.about-content p { color: var(--text-2); font-size: 16px; font-weight: 300; line-height: 1.85; margin-bottom: 1.5em; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Status pill in nav ─── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 9px;
  margin-left: 14px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: #34D399;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}
[data-theme="light"] .status-pill {
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.25);
  color: #059669;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: statusPulse 2.2s infinite;
}
[data-theme="light"] .status-dot { background: #059669; box-shadow: 0 0 0 0 rgba(5,150,105,0.6); }
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ─── Skill-card hover glow ─── */
.skill-card {
  position: relative;
  transition: background 0.2s, box-shadow 0.3s;
}
.skill-card:hover {
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px rgba(0,135,90,0.30), 0 0 36px rgba(0,135,90,0.10);
}
[data-theme="light"] .skill-card:hover {
  box-shadow: inset 0 0 0 1px rgba(0,107,71,0.30), 0 0 36px rgba(0,107,71,0.10);
}

/* ─── Akkurat nå-seksjon ─── */
.section-currently {
  background: var(--bg);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.section-currently::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
[data-theme="light"] .section-currently::before {
  background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
}
.section-currently .section-inner { position: relative; z-index: 1; }
.currently-list {
  list-style: none;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 760px;
}
.currently-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.currently-list li:hover {
  border-color: rgba(0,135,90,0.35);
  transform: translateY(-2px);
}
[data-theme="light"] .currently-list li:hover { border-color: rgba(0,107,71,0.35); }
.currently-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.currently-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-1);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .currently-list { grid-template-columns: 1fr; }
}

/* ─── CTA dotted background ─── */
.section-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
[data-theme="light"] .section-cta::after {
  background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
}
.section-cta .section-inner { position: relative; z-index: 1; }

/* ─── Footer build line ─── */
.footer-build {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-3);
  margin-top: 6px;
  letter-spacing: 0.04em;
}
.footer-health { color: #34D399; }
[data-theme="light"] .footer-health { color: #059669; }

/* ─── Scroll fade-in ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── Tech badges (about page) ─── */
.tech-stack-section {
  max-width: 720px;
  margin: 56px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.tech-stack-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.tech-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.02em;
  transition: border-color 0.15s, color 0.15s, transform 0.15s, background 0.15s;
  cursor: default;
}
.tech-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

/* ─── Reading progress bar ─── */
.read-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  z-index: 200;
  pointer-events: none;
}
.read-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.1s linear;
}

/* ─── Post typography ─── */
.post-content { max-width: 720px; margin: 0 auto; padding: 60px 40px 0; }
.post-content > p { font-size: 17px; line-height: 1.8; color: var(--text-2); margin-bottom: 22px; }
.post-content > p:first-of-type::first-letter {
  font-family: 'Outfit', sans-serif;
  font-size: 4.6em;
  font-weight: 800;
  float: left;
  line-height: 0.85;
  margin: 6px 14px 0 0;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.post-content h2 { font-size: 26px; font-weight: 700; color: var(--text-1); margin: 48px 0 18px; letter-spacing: -0.02em; }
.post-content h3 { font-size: 20px; font-weight: 600; color: var(--text-1); margin: 36px 0 14px; letter-spacing: -0.01em; }
.post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-content a:hover { color: var(--accent-hover); }
.post-content ul, .post-content ol { margin: 16px 0 22px 22px; color: var(--text-2); font-size: 17px; line-height: 1.8; }
.post-content li { margin-bottom: 6px; }
.post-content strong { color: var(--text-1); font-weight: 600; }

/* ─── Pull quote ─── */
.post-content blockquote {
  margin: 48px 0;
  padding: 28px 32px 24px;
  border-left: 3px solid var(--accent);
  background: var(--bg-1);
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-1);
  letter-spacing: -0.01em;
  border-radius: 0 8px 8px 0;
  position: relative;
}
.post-content blockquote::before {
  content: '\201C';
  position: absolute;
  top: -4px; left: 18px;
  font-size: 64px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.28;
  line-height: 1;
}
.post-content blockquote p { margin: 0; }

/* ─── Inline code + code blocks i post ─── */
.post-content :not(pre) > code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88em;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--accent);
}
.post-content pre {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 28px 0;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.75;
}
.post-content pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-2);
}
[data-theme="light"] .post-content pre { background: #1a1a1a; }

/* ─── Author card ─── */
.author-card {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 80px auto 100px;
  padding: 22px 26px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.author-card:hover { border-color: rgba(0,135,90,0.30); }
.author-avatar {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(0,135,90,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.author-info { flex: 1; min-width: 0; }
.author-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.author-name { font-size: 15px; font-weight: 600; color: var(--text-1); margin-bottom: 3px; }
.author-bio { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.author-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
  padding: 7px 13px;
  border: 1px solid rgba(0,135,90,0.32);
  border-radius: 6px;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.author-link:hover { background: var(--accent-dim); transform: translateY(-1px); }
