@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;1,14..32,400&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  /* cool primaries */
  --accent:       #4aa3ff;
  --accent-2:     #6ee7ff;
  --accent-soft:  rgba(74,163,255,0.12);
  --accent-mid:   rgba(110,231,255,0.26);
  /* warm accent pulled from the fox logo */
  --ember:        #ff8a3d;
  --ember-2:      #ffb27a;
  --ember-soft:   rgba(255,138,61,0.13);
  --orange:       #ff9a52;        /* referenced by post tables */
  /* surfaces */
  --bg:           #060e1a;
  --surface:      rgba(13,28,46,0.55);
  --surface2:     rgba(15,34,55,0.72);
  --border:       rgba(126,178,232,0.13);
  --border-strong:rgba(120,200,255,0.26);
  /* type */
  --text:         #f3f8ff;
  --body:         rgba(214,231,247,0.80);
  --muted:        rgba(160,191,218,0.60);
  --faint:        rgba(255,255,255,0.055);
  --mono: "JetBrains Mono", "Fira Code", monospace;
  --sans: "Inter", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 10px 28px rgba(2,8,20,0.35);
  --shadow:    0 22px 54px rgba(2,8,20,0.42);
  --shadow-lg: 0 30px 70px rgba(2,8,20,0.5);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(74,163,255,0.13), transparent 70%),
    radial-gradient(800px 480px at 88% 12%, rgba(255,138,61,0.06), transparent 70%),
    linear-gradient(180deg, #060e1a 0%, #07101d 60%, #060d18 100%);
  background-attachment: fixed;
  color: var(--body);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(255,138,61,0.30); color: #fff; }
a { text-decoration: none; color: inherit; }

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

/* ─── LAYOUT: blog / about pages ─── */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ─── LAYOUT: homepage content below hero ─── */
.home-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px 28px;
  position: relative;
  z-index: 2;
}

/* ─── NAVBAR (blog/about) ─── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nav-logo {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(2,8,20,0.5));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-brand:hover .nav-logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 8px 18px rgba(110,231,255,0.28));
}

.nav-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}

.nav-links a:hover { background: var(--faint); color: var(--text); transform: translateY(-1px); }
.nav-links a.active { background: var(--faint); color: var(--text); border-color: var(--border); }

.nav-links a.linkedin {
  background: rgba(74,163,255,0.16);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
}

.nav-links a.linkedin:hover { background: rgba(74,163,255,0.27); transform: translateY(-1px); }

/* ─── SITE HERO (homepage full-width dark) ─── */
.site-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-image:
    radial-gradient(820px 360px at 22% 0%, rgba(74,163,255,0.16), transparent 72%),
    radial-gradient(620px 320px at 96% 20%, rgba(255,138,61,0.08), transparent 70%);
  border-bottom: 1px solid var(--border);
}

/* faint engineering grid that fades out */
.site-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126,178,232,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126,178,232,0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(120% 90% at 30% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 30% 0%, #000 0%, transparent 78%);
}

.site-hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ─── DARK NAVBAR (inside site-hero) ─── */
.navbar-dark { border-bottom-color: rgba(255,255,255,0.08); }
.navbar-dark .nav-name { color: #fff; }
.navbar-dark .nav-links a { color: rgba(233,243,255,0.5); }
.navbar-dark .nav-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.navbar-dark .nav-links a.active {
  background: rgba(74,163,255,0.16);
  color: #fff;
  border-color: rgba(110,231,255,0.2);
}

/* ─── HERO CONTENT ─── */
.hero-content {
  padding: 72px 0 68px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 44px;
}

.hero-text { min-width: 0; }

/* centered variant: emblem sits in the middle of the heading, above the name */
.hero-content.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero-centered .hero-emblem { margin-bottom: 26px; }
.hero-centered .hero-emblem img { max-width: 152px; }
.hero-centered .hero-text { display: flex; flex-direction: column; align-items: center; }
.hero-centered .hero-bio { margin-left: auto; margin-right: auto; }
.hero-centered .stats-strip { margin-left: auto; margin-right: auto; }

.hero-emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rise 0.7s ease 0.1s both;
}

.hero-emblem::before {
  content: "";
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,138,61,0.20), rgba(74,163,255,0.08) 46%, transparent 72%);
  filter: blur(10px);
}

.hero-emblem img {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 24px 44px rgba(2,8,20,0.62));
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ember-2);
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1px solid rgba(255,138,61,0.24);
  border-radius: 99px;
  background: rgba(255,138,61,0.07);
  animation: rise 0.6s ease both;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.35rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.03;
  margin-bottom: 22px;
  max-width: 760px;
  text-wrap: balance;
  animation: rise 0.6s ease 0.05s both;
}

.hero-content h1 span {
  display: block;
  margin-top: 14px;
  font-size: clamp(0.84rem, 1.7vw, 1.04rem);
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-2);
}

.hero-content .hero-bio {
  font-size: 1.12rem;
  color: rgba(222,237,251,0.82);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 50px;
  animation: rise 0.6s ease 0.12s both;
}

/* ─── STATS STRIP (dark hero) ─── */
/* a single cohesive stat bar, not three repeated cards */
.stats-strip {
  display: flex;
  max-width: 540px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(14px);
  overflow: hidden;
  animation: rise 0.6s ease 0.18s both;
}

.stat-card {
  flex: 1;
  padding: 18px 20px;
  border-left: 1px solid var(--border);
}

.stat-card:first-child { border-left: none; }

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card:nth-child(2) .stat-number { color: var(--ember-2); }

.stat-label {
  font-size: 0.7rem;
  color: rgba(226,241,255,0.56);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* ─── QUICK LINKS ─── */
.quick-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(233,246,255,0.86);
  background: var(--surface);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s, background 0.2s;
}

.quick-link:hover {
  border-color: var(--border-strong);
  background: var(--surface2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  color: var(--text);
}

.ql-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  font-family: var(--mono);
}

.ql-icon.odin { background: #06111d; border: 1px solid rgba(110,231,255,0.24); }
.ql-icon.h1   { background: #e74430; }
.ql-icon.li   { background: #0a66c2; font-family: var(--sans); font-size: 0.74rem; font-weight: 700; }

/* ─── SECTION HEADING ─── */
.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-2);
  margin: 46px 0 16px;
}

.section-heading::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ember), transparent);
}

/* ─── POST LIST ─── */
.post-list { margin-bottom: 12px; }

.post-item {
  display: block;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  cursor: pointer;
}

.post-item:hover {
  background: var(--surface2);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.post-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.post-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  flex: 1;
  letter-spacing: -0.01em;
}

.post-arrow {
  color: var(--muted);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s, color 0.15s;
  margin-top: 1px;
}

.post-item:hover .post-arrow { transform: translate(3px, -3px); color: var(--ember); }

.post-item-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}

.post-date {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.post-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid var(--border);
}

.post-tag[data-tag="ai-security"],
.post-tag[data-tag="ai-safety"] {
  background: rgba(74,163,255,0.13);
  color: #a6d8ff;
  border-color: rgba(74,163,255,0.28);
}

.post-tag[data-tag="prompt-injection"] {
  background: rgba(110,231,255,0.1);
  color: #b8fbff;
  border-color: rgba(110,231,255,0.25);
}

.post-tag[data-tag="bug-bounty"] {
  background: rgba(255,138,61,0.12);
  color: #ffc59a;
  border-color: rgba(255,138,61,0.28);
}

.post-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 10px;
}

/* ─── SUBMISSIONS (0din section) ─── */
.submissions-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}

.submission-item.featured { grid-column: 1 / -1; }

.submission-item {
  position: relative;
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.submission-item:hover {
  background: var(--surface2);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.sub-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.sub-title {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.sub-count {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ember-2);
  white-space: nowrap;
  padding: 3px 10px;
  border: 1px solid rgba(255,138,61,0.22);
  border-radius: 99px;
  background: rgba(255,138,61,0.07);
}

.sub-desc {
  font-size: 0.89rem;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 12px;
  max-width: 640px;
}

.sub-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 56px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-left { display: flex; align-items: center; gap: 11px; }

.footer-logo {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 5px 12px rgba(2,8,20,0.45));
}

.footer-name { font-size: 0.82rem; font-weight: 600; color: var(--text); }

.footer-links { display: flex; gap: 20px; }

.footer-links a {
  font-size: 0.78rem;
  color: var(--muted);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

/* ─── POST PAGE ─── */
.post-header { padding: 50px 0 34px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 34px;
  transition: color 0.15s;
}

.back-link:hover { color: var(--accent-2); }
.back-link svg { transition: transform 0.15s; }
.back-link:hover svg { transform: translateX(-3px); }

.post-title {
  font-size: clamp(1.9rem, 4vw, 2.3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.16;
  letter-spacing: -0.025em;
  max-width: 600px;
  margin-bottom: 18px;
}

.post-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.post-meta-row .sep { color: var(--border-strong); }

/* ─── ARTICLE BODY ─── */
.post-body {
  padding: 40px 0 96px;
  border-top: 1px solid var(--border);
}

.post-body h2 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text);
  margin: 52px 0 16px;
  letter-spacing: -0.02em;
}

.post-body h2:first-child { margin-top: 0; }

.post-body h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 10px;
}

.post-body p {
  font-size: 0.96rem;
  color: var(--body);
  margin-bottom: 18px;
  line-height: 1.82;
}

.post-body ul, .post-body ol {
  font-size: 0.96rem;
  color: var(--body);
  padding-left: 22px;
  margin-bottom: 18px;
  line-height: 1.82;
}

.post-body li { margin-bottom: 7px; }
.post-body li::marker { color: var(--ember); }
.post-body strong { color: var(--text); font-weight: 600; }

.post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(74,163,255,0.4); }
.post-body a:hover { text-decoration-color: var(--accent); }

.post-body code {
  font-family: var(--mono);
  font-size: 0.8rem;
  background: rgba(255,255,255,0.06);
  color: #cfe7f8;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--border);
}

.post-body pre {
  background: #060f1b;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  overflow-x: auto;
  margin: 24px 0;
  box-shadow: var(--shadow);
}

.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: #aef0c0;
  line-height: 1.7;
}

.post-body blockquote {
  border-left: 3px solid var(--ember);
  padding: 4px 0 4px 18px;
  margin: 24px 0;
  color: var(--muted);
  font-style: italic;
  font-size: 0.94rem;
}

.post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ─── CALLOUT ─── */
.callout {
  background: var(--ember-soft);
  border: 1px solid rgba(255,138,61,0.24);
  border-left: 3px solid var(--ember);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.89rem;
  color: rgba(244,247,255,0.9);
  line-height: 1.75;
}

/* ─── GLOSSARY TOOLTIP ─── */
.glossary {
  position: relative;
  color: var(--accent-2);
  font-weight: 500;
  border-bottom: 1px dashed rgba(110,231,255,0.55);
  cursor: help;
  outline: none;
}

.glossary:hover,
.glossary:focus { border-bottom-color: var(--accent-2); }

/* when the trigger itself is a <code> term, drop the chip so it reads as a glossary word */
.glossary > code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.glossary-pop {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(360px, 80vw);
  padding: 15px 17px;
  background: #0c2138;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.62;
  color: var(--body);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 40;
}

.glossary-pop::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: #0c2138;
}

.gloss-title {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--ember-2);
  margin-bottom: 7px;
}

.glossary:hover .glossary-pop,
.glossary:focus .glossary-pop,
.glossary:focus-within .glossary-pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ─── TERMINAL ─── */
.terminal {
  background: #060f1b;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: var(--shadow-lg);
}

.terminal-bar {
  background: #081626;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(126,178,232,0.1);
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #ffbd2e; }
.dot.g { background: #27c93f; }

.terminal pre {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 20px 22px;
  margin: 0;
  box-shadow: none;
}

.terminal pre code {
  color: #cfe7f8;
  background: none;
  border: none;
  font-size: 0.79rem;
  line-height: 1.7;
}

.terminal .dim { color: rgba(174,204,229,0.44); }
.terminal .hi  { color: var(--accent-2); }

/* ─── TOC ─── */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 40px;
}

.toc-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px;
}

.toc ol { padding-left: 18px; }
.toc li { margin-bottom: 5px; }
.toc a { font-size: 0.84rem; color: var(--body); }
.toc a:hover { color: var(--accent); }

/* ─── ABOUT PAGE ─── */
.about-body { padding: 48px 0 80px; }

.about-intro { margin-bottom: 12px; }

.about-lead {
  font-size: clamp(1.9rem, 4.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #fff;
  max-width: 600px;
  margin: 6px 0 18px;
  text-wrap: balance;
}

.about-intro .about-sub {
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.75;
  max-width: 560px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 190px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  border-color: var(--border-strong);
  background: var(--surface2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.contact-label {
  font-family: var(--mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ember-2);
}

.contact-value { font-size: 0.9rem; color: var(--text); }

.about-body h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent-2);
  margin: 42px 0 16px;
}

.about-body h2::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ember), transparent);
}

.about-body h2:first-child { margin-top: 0; }

.about-body p {
  font-size: 0.96rem;
  color: var(--body);
  line-height: 1.82;
  margin-bottom: 14px;
  max-width: 540px;
}

.about-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(74,163,255,0.4); }
.about-body a:hover { text-decoration-color: var(--accent); }

/* ─── READING PROGRESS BAR (article pages) ─── */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--ember), var(--accent-2));
  z-index: 50;
  transition: width 0.1s linear;
}

/* ─── SCROLL REVEAL (motion only when allowed) ─── */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  [data-reveal].in { opacity: 1; transform: none; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .submissions-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page { padding: 0 18px; }
  .home-main { padding: 0 18px; }
  .site-hero-inner { padding: 0 18px; }
  .hero-content { padding: 48px 0 56px; }
  .hero-content h1 { font-size: 2.4rem; }
  .hero-content .hero-bio { font-size: 1.02rem; }
  .stats-strip { flex-direction: column; max-width: 340px; }
  .stat-card { border-left: none; border-top: 1px solid var(--border); }
  .stat-card:first-child { border-top: none; }
  .stat-number { font-size: 1.4rem; }
  .navbar { padding: 16px 0; }
  .nav-logo { height: 46px; width: auto; }
  .nav-links a.linkedin span { display: none; }
  .post-title { font-size: 1.6rem; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 14px; }
  .quick-links { gap: 8px; }
  .sub-header { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
