/* ============ Tokens ============ */
:root {
  --bg: #0A0D12;
  --bg-2: #0D1117;
  --surface: #11161D;
  --surface-2: #161D26;
  --line: #222B36;
  --line-2: #2C3744;
  --text: #E6EDF3;
  --muted: #94A3B4;
  --faint: #6B7888;
  --accent: #3FE0A0;      /* terminal green */
  --accent-ink: #04120C;
  --red: #FF6B6B;
  --blue: #5AB0FF;
  --purple: #B79BFF;
  --neutral: #C9D4E0;
  --grid: rgba(120, 160, 200, 0.06);
  --shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 20px 40px -24px rgba(0,0,0,0.6);
  --radius: 14px;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F6F7F9; --bg-2: #EEF1F4; --surface: #FFFFFF; --surface-2: #F3F5F8;
    --line: #DDE2E8; --line-2: #CBD3DC; --text: #0D1117; --muted: #4F5B69; --faint: #6A7684;
    --accent: #067A4C; --accent-ink: #FFFFFF; --red: #C93434; --blue: #1D64C2; --purple: #6B45C8; --neutral: #3A4654;
    --grid: rgba(20, 40, 70, 0.05); --shadow: 0 1px 2px rgba(15,25,40,0.05), 0 12px 32px -20px rgba(15,25,40,0.25);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F6F7F9; --bg-2: #EEF1F4; --surface: #FFFFFF; --surface-2: #F3F5F8;
  --line: #DDE2E8; --line-2: #CBD3DC; --text: #0D1117; --muted: #4F5B69; --faint: #6A7684;
  --accent: #067A4C; --accent-ink: #FFFFFF; --red: #C93434; --blue: #1D64C2; --purple: #6B45C8; --neutral: #3A4654;
  --grid: rgba(20, 40, 70, 0.05); --shadow: 0 1px 2px rgba(15,25,40,0.05), 0 12px 32px -20px rgba(15,25,40,0.25);
  color-scheme: light;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--font-mono); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600; text-decoration: none; }
.skip:focus { left: 12px; }
[hidden] { display: none !important; }
.noscript { padding: 24px; text-align: center; }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--surface);
  font: 600 14px/1 var(--font-mono); color: var(--accent);
}
.brand-path { font: 500 14px/1 var(--font-mono); color: var(--muted); }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none;
  font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; gap: 8px; }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sun { display: none; }
:root[data-theme="light"] .i-sun { display: block; }
:root[data-theme="light"] .i-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .i-sun { display: block; }
  :root:not([data-theme="dark"]) .i-moon { display: none; }
}
.menu-btn { display: none; }

/* ============ Buttons ============ */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px;
  border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--text); font: 500 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s, border-color .15s, background .15s;
}
.btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--text)); }

/* Résumé dropdown */
.dropdown { position: relative; }
.dropdown > summary { list-style: none; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown .chev { transition: transform .15s; }
.dropdown[open] .chev { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; min-width: 270px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 6px;
  box-shadow: var(--shadow);
}
.menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 12px; border-radius: 8px; text-decoration: none; font-size: 14px;
}
.menu a:hover { background: var(--surface-2); }
.menu a span:last-child { font: 500 12px var(--font-mono); color: var(--faint); }

/* ============ Hero ============ */
.hero { position: relative; padding: 72px 0 40px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
          mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.status {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  font: 500 13px/1.3 var(--font-mono); color: var(--muted); margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero-name { font-size: clamp(44px, 7vw, 80px); font-weight: 700; letter-spacing: -0.035em; }
.hero-role { margin-top: 18px; font-size: clamp(17px, 2.2vw, 22px); color: var(--accent); min-height: 1.5em; }
.prompt { color: var(--faint); }
.caret { display: inline-block; width: 0.55em; height: 1.05em; margin-left: 4px; background: var(--accent); vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-tagline { margin-top: 20px; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 34em; }
.hero-copy .cta-row { margin-top: 32px; }
.open-to { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.open-to li { font: 500 12.5px/1 var(--font-mono); color: var(--muted); padding: 8px 10px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.open-to li.label { background: none; border-color: transparent; padding-left: 0; color: var(--faint); }

/* Terminal */
.terminal {
  border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
  background: #070A0E; box-shadow: var(--shadow); min-width: 0;
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #1B232D; background: #0C1117; }
.tdot { width: 11px; height: 11px; border-radius: 50%; background: #2A3440; }
.tdot:nth-child(1) { background: #FF5F57; } .tdot:nth-child(2) { background: #FEBC2E; } .tdot:nth-child(3) { background: #28C840; }
.term-title { margin-left: 10px; font-size: 12px; color: #7D8A99; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-body {
  margin: 0; padding: 18px 18px 22px; height: 410px; overflow: hidden;
  font-size: 12.8px; line-height: 1.75; color: #C4CFDB; white-space: pre-wrap; word-break: break-word;
}
.term-body .c-p { color: #3FE0A0; }
.term-body .c-cmd { color: #E6EDF3; }
.term-body .c-dim { color: #6B7888; }
.term-body .c-red { color: #FF7B7B; }
.term-body .c-blue { color: #6CB8FF; }
.term-body .c-warn { color: #FFC857; }
.term-body .cur { display: inline-block; width: 7px; height: 14px; background: #3FE0A0; vertical-align: -2px; animation: blink 1s steps(1) infinite; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 64px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stat { padding: 22px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 6px; }
.stat:first-child { border-left: 0; }
.stat dt { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.stat dd { margin: 0; font: 700 32px/1 var(--font-display); letter-spacing: -0.02em; color: var(--text); }

/* ============ Sections ============ */
.section { padding: 96px 0 0; }
.sec-head { margin-bottom: 40px; max-width: 760px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; }
.sec-kicker { font-size: 13px; color: var(--accent); margin-bottom: 12px; letter-spacing: 0.02em; }
.sec-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; }
.sec-lede { margin-top: 18px; font-size: 17.5px; color: var(--muted); }

/* Focus cards */
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.focus-card { --tone: var(--neutral); display: flex; flex-direction: column; gap: 14px; }
.tone-red { --tone: var(--red); } .tone-blue { --tone: var(--blue); } .tone-purple { --tone: var(--purple); } .tone-neutral { --tone: var(--neutral); }
.focus-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: var(--tone); background: color-mix(in srgb, var(--tone) 12%, transparent); border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent); }
.focus-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.focus-card h3 { font-size: 19px; font-weight: 600; }
.focus-card p { font-size: 15px; color: var(--muted); }
.keys { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.keys li { font: 500 11.5px/1 var(--font-mono); padding: 6px 8px; border-radius: 5px; color: var(--tone); background: color-mix(in srgb, var(--tone) 10%, transparent); }

/* Filters */
.filters { display: flex; gap: 6px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: 500 14px var(--font-body); cursor: pointer; }
.filter:hover { color: var(--text); }
.filter.is-on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.sw { width: 9px; height: 9px; border-radius: 2px; }
.sw-red { background: var(--red); } .sw-blue { background: var(--blue); }

/* Projects */
.projects { display: grid; gap: 18px; }
.project { --tone: var(--neutral); display: grid; grid-template-columns: 220px 1fr; gap: 0; padding: 0; overflow: hidden; }
.project.tone-red { --tone: var(--red); } .project.tone-blue { --tone: var(--blue); } .project.tone-purple { --tone: var(--purple); }
.p-side { padding: 26px 24px; border-right: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 18px; }
.p-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--tone); padding: 7px 10px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent); background: color-mix(in srgb, var(--tone) 9%, transparent); }
.p-metric dd { margin: 0; font: 700 40px/1 var(--font-display); letter-spacing: -0.03em; color: var(--text); }
.p-metric dt { font-size: 13px; color: var(--muted); margin-top: 8px; }
.p-metric { display: flex; flex-direction: column-reverse; margin: 0; }
.p-main { padding: 26px 28px; min-width: 0; }
.p-main h3 { font-size: 22px; font-weight: 600; }
.p-sub { font: 500 13px var(--font-mono); color: var(--faint); margin-top: 8px; }
.p-points { margin-top: 18px; display: grid; gap: 10px; }
.p-points li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--muted); }
.p-points li::before { content: "▸"; position: absolute; left: 2px; top: 0; color: var(--tone); font-family: var(--font-mono); }
.p-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tag { font: 500 12px/1 var(--font-mono); padding: 7px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); background: var(--surface-2); }
.tag.attack { color: var(--purple); border-color: color-mix(in srgb, var(--purple) 30%, transparent); background: color-mix(in srgb, var(--purple) 8%, transparent); }
.p-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.p-links .btn { min-height: 40px; font-size: 14px; }

/* Skills */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skill-group h3 { font: 600 13px/1 var(--font-mono); color: var(--accent); text-transform: lowercase; margin-bottom: 16px; letter-spacing: 0.02em; }
.skill-group h3::before { content: "# "; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 7px 11px; border-radius: 7px; border: 1px solid var(--line); background: var(--bg-2); }

/* Timeline */
.timeline { position: relative; display: grid; gap: 18px; }
.t-item { display: grid; grid-template-columns: 200px 1fr; gap: 28px; }
.t-when { font: 500 13px/1.5 var(--font-mono); color: var(--faint); padding-top: 26px; }
.t-item .card h3 { font-size: 20px; font-weight: 600; }
.t-company { color: var(--accent); font-weight: 500; margin-top: 6px; }
.t-item .p-points { --tone: var(--accent); }

/* Credentials */
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.sub-h { font-size: 13px; font-weight: 600; color: var(--faint); margin-bottom: 14px; }
.sub-h::before { content: "// "; }
.certs, .edu { display: grid; gap: 12px; }
/* Keep both columns the same height so their bottom edges line up */
.cred-grid > div { display: flex; flex-direction: column; }
.cred-grid .certs, .cred-grid .edu { flex: 1; grid-auto-rows: 1fr; }
.edu > li { height: 100%; }
/* More than 4 certificates: stack sections, certs + education in 2-col grids */
.cred-grid.cred-grid--stack { grid-template-columns: 1fr; }
.cred-grid--stack .certs, .cred-grid--stack .edu { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
@media (max-width: 720px) {
  .cred-grid--stack .certs, .cred-grid--stack .edu { grid-template-columns: 1fr; }
}
.cert { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.cert-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--accent); }
.cert-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cert-body { flex: 1; min-width: 0; }
.cert-name { font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.cert-name a { text-decoration: none; } .cert-name a:hover { text-decoration: underline; }
.cert-issuer { font-size: 13.5px; color: var(--muted); }
.pill { flex: none; font: 600 11px/1 var(--font-mono); padding: 6px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.pill-done { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.pill-prog { color: var(--muted); background: var(--surface-2); border: 1px dashed var(--line-2); }
.edu-item { padding: 20px 22px; }
.edu-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.edu-item h4 { margin: 0; font: 600 16px/1.35 var(--font-display); }
.edu-meta { font: 500 12.5px var(--font-mono); color: var(--faint); white-space: nowrap; }
.edu-school { color: var(--accent); font-size: 14.5px; margin-top: 4px; }
.edu-detail { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* Write-ups */
.writeups { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.writeup { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.writeup .w-top { display: flex; justify-content: space-between; font: 500 12px var(--font-mono); color: var(--faint); }
.writeup h3 { font-size: 17px; font-weight: 600; }

/* Contact */
.contact { padding-bottom: 96px; }
.contact-inner { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 72px; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(34px, 5.5vw, 56px); font-weight: 700; }
.contact-lede { color: var(--muted); font-size: 17.5px; max-width: 34em; margin-top: 16px; }
.email-big { display: inline-block; margin: 32px 0 28px; font-size: clamp(17px, 3vw, 26px); font-weight: 500; color: var(--accent); text-decoration: none; border-bottom: 1px dashed color-mix(in srgb, var(--accent) 50%, transparent); padding-bottom: 4px; word-break: break-all; }
.email-big:hover { border-bottom-style: solid; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--faint); }
.footer a { text-decoration: none; } .footer a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .skills { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav nav { margin-left: auto; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; font-size: 16px; }
  .project { grid-template-columns: 1fr; }
  .p-side { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .p-metric { align-items: flex-end; text-align: right; }
  .t-item { grid-template-columns: 1fr; gap: 8px; }
  .t-when { padding-top: 0; }
  .cred-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 44px; }
  .focus-grid, .skills { grid-template-columns: 1fr; }
  .term-body { height: 320px; font-size: 11.5px; padding: 14px; }
  .section { padding-top: 72px; }
  .stat { padding: 18px; }
  .stat dd { font-size: 26px; }
  .p-main { padding: 22px 20px; }
  .p-side { padding: 20px; }
  .brand-path { display: none; }
  .filters { width: 100%; }
  .filter { flex: 1; justify-content: center; padding: 0 8px; }
  .menu { left: 0; right: auto; min-width: 0; width: min(300px, calc(100vw - 32px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .nav, .terminal, .filters, .footer, #theme-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}

/* Clickable certificate cards */
.certs > li > .card { height: 100%; }
.cert-link { text-decoration: none; color: inherit; cursor: pointer; }
.cert-link:hover { border-color: var(--accent); }
.cert-view { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--accent); }
.cert-view svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cert-link:hover .cert-view { text-decoration: underline; }
