/* sander.run */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/subset-Poppins-Regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/subset-Poppins-Medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/subset-Poppins-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/subset-Poppins-Bold.woff2") format("woff2"); }

:root {
  --bg: #0b0b10;
  --bg-elev: #13131b;
  --bg-elev-2: #1a1a25;
  --border: #262634;
  --text: #e8e8f0;
  --text-muted: #9a9ab0;
  --accent: var(--accent-d);
  --accent-2: var(--accent-2-d);
  --on-accent: var(--on-accent-d);
  --green: #4ade80;
  --yellow: #facc15;
  --radius: 16px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --nav-h: 68px;
  --nav-bg: rgba(11, 11, 16, .72);
  --nav-bg-solid: rgba(11, 11, 16, .97);
  --cmd-color: rgba(255, 255, 255, .035);
  --glow-1: color-mix(in srgb, var(--accent) 22%, transparent);
  --glow-2: color-mix(in srgb, var(--accent-2) 20%, transparent);
  --link-hover: #fff;
  --code-comment: #6b6b80;
  color-scheme: dark;
}

/* Colour schemes, selected via data-scheme on <html> (magenta is the default) */
:root, :root[data-scheme="magenta"] {
  --accent-d: #ff3d9a; --accent-2-d: #a46bff; --on-accent-d: #fff;
  --accent-l: #d61f78; --accent-2-l: #7c4dff;
}
:root[data-scheme="green"] {
  --accent-d: #3ddc84; --accent-2-d: #a3e635; --on-accent-d: #04150b;
  --accent-l: #15803d; --accent-2-l: #4d7c0f;
}
:root[data-scheme="petrol"] {
  --accent-d: #2ac3c3; --accent-2-d: #4f9dde; --on-accent-d: #021a1d;
  --accent-l: #00707a; --accent-2-l: #1d5f9e;
}
:root[data-scheme="amber"] {
  --accent-d: #fbbf24; --accent-2-d: #f97316; --on-accent-d: #1a1000;
  --accent-l: #b45309; --accent-2-l: #c2410c;
}
:root[data-scheme="cobalt"] {
  --accent-d: #60a5fa; --accent-2-d: #818cf8; --on-accent-d: #050b1a;
  --accent-l: #1d4ed8; --accent-2-l: #4f46e5;
}

/* Light theme, toggled via data-theme on <html> (dark is the default) */
:root[data-theme="light"] {
  --bg: #f7f6fb;
  --bg-elev: #ffffff;
  --bg-elev-2: #efedf5;
  --border: #e2dfeb;
  --text: #16151d;
  --text-muted: #5d5b6e;
  --accent: var(--accent-l);
  --accent-2: var(--accent-2-l);
  --on-accent: #fff;
  --green: #15803d;
  --nav-bg: rgba(247, 246, 251, .78);
  --nav-bg-solid: rgba(247, 246, 251, .98);
  --cmd-color: rgba(22, 21, 29, .035);
  --glow-1: color-mix(in srgb, var(--accent) 14%, transparent);
  --glow-2: color-mix(in srgb, var(--accent-2) 12%, transparent);
  --link-hover: var(--text);
  color-scheme: light;
}

/* Terminal and code stay dark in both themes */
.terminal, .code-card {
  --bg-elev: #13131b;
  --bg-elev-2: #1a1a25;
  --border: #262634;
  --text: #e8e8f0;
  --text-muted: #9a9ab0;
  --accent: var(--accent-d);
  --accent-2: var(--accent-2-d);
  --green: #4ade80;
  color: var(--text);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}

/* clip (not hidden) keeps position: sticky working and is respected by mobile browsers */
html, body { overflow-x: clip; }

/* Parallax background: grid and glows scroll slower than the content (--scroll is set in site.js) */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Real shell commands across the whole background, filled and highlighted by site.js */
.bg-cmds {
  position: absolute;
  top: -30px; left: 0; right: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 30px;
  color: var(--cmd-color);
  white-space: nowrap;
  user-select: none;
  transform: translate3d(0, calc(var(--scroll, 0) * -0.15px), 0);
  will-change: transform;
}

.bg-cmds span { position: relative; margin-right: 56px; transition: color 1.2s ease, text-shadow 1.2s ease; }

.bg-cmds span.hl {
  color: color-mix(in srgb, var(--accent) 45%, transparent);
  text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 25%, transparent);
  transition-duration: .35s;
}

/* On light backgrounds the glow looks smudgy and colour reads stronger */
:root[data-theme="light"] .bg-cmds span.hl {
  color: color-mix(in srgb, var(--accent) 30%, transparent);
  text-shadow: none;
}

.bg-cmds span.hl::before {
  content: "$";
  position: absolute;
  left: -1.4em;
  color: color-mix(in srgb, var(--green) 45%, transparent);
}

.bg-glows { position: absolute; inset: 0; will-change: transform; }
.bg-glows.slow { transform: translate3d(0, calc(var(--scroll, 0) * -0.25px), 0); }
.bg-glows.fast { transform: translate3d(0, calc(var(--scroll, 0) * -0.5px), 0); }

.bg-glows span {
  position: absolute;
  width: 56rem;
  height: 40rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-1), transparent);
}

.bg-glows span.violet { background: radial-gradient(closest-side, var(--glow-2), transparent); }

.bg-glows.slow span:nth-child(1) { top: -18rem; right: -16rem; }
.bg-glows.slow span:nth-child(2) { top: 120vh; left: -24rem; }
.bg-glows.slow span:nth-child(3) { top: 240vh; right: -20rem; }
.bg-glows.slow span:nth-child(4) { top: 360vh; left: -18rem; }
.bg-glows.fast span:nth-child(1) { top: 40vh; left: -28rem; width: 44rem; height: 32rem; }
.bg-glows.fast span:nth-child(2) { top: 170vh; right: -22rem; width: 44rem; height: 32rem; }
.bg-glows.fast span:nth-child(3) { top: 300vh; left: 10%; width: 44rem; height: 32rem; }
.bg-glows.fast span:nth-child(4) { top: 430vh; right: -18rem; width: 44rem; height: 32rem; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--link-hover); }

h1, h2, h3, h4 { line-height: 1.2; margin: 0; font-weight: 600; letter-spacing: -.01em; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

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

.gradient-text {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cursor {
  display: inline-block;
  width: .55em;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* Progress Pride stripe */
.pride-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, #000, #784f17, #5bcefa, #f5a9b8, #fff, #e40303, #ff8c00, #ffed00, #008026, #24408e, #732982);
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px max(16px, (100% - 1120px) / 2) 0;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}

.nav.scrolled { border-bottom-color: var(--border); }

.nav-brand { margin-right: auto; font-family: var(--mono); font-size: 1.05rem; font-weight: 600; color: var(--text); }
.nav-brand .cursor { height: 1em; width: .5em; }

.nav-links { display: flex; gap: 6px; order: 1; }

.nav-links a {
  font-family: var(--mono);
  font-size: .9rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--bg-elev-2); }
.nav-links a.active::before { content: "./"; color: var(--accent); }

.nav-toggle { display: none; order: 3; }

.theme-toggle {
  order: 2;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elev);
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  box-shadow: 0 8px 30px -8px color-mix(in srgb, var(--accent) 60%, transparent);
}

.btn-primary:hover { color: var(--on-accent); box-shadow: 0 12px 34px -8px color-mix(in srgb, var(--accent) 80%, transparent); }

.btn-ghost { border: 1px solid var(--border); color: var(--text); background: var(--bg-elev); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* Hero */
.hero {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 48px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Mono labels sit on top of the command background: bigger, bolder, and a halo in the page colour hides the commands right behind them */
.eyebrow, .section-kicker, .legal .back {
  font-weight: 600;
  text-shadow: 0 0 6px var(--bg), 0 0 12px var(--bg), 0 0 18px var(--bg);
}

.eyebrow { font-family: var(--mono); color: var(--accent); margin: 0 0 8px; font-size: 1.2rem; }

.hero-name { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.03em; }

.hero-lead { font-size: 1.15rem; color: var(--text-muted); max-width: 34ch; margin: 20px 0 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.socials { list-style: none; display: flex; gap: 10px; padding: 0; margin: 32px 0 0; }

.socials a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text-muted);
  transition: color .2s, border-color .2s, transform .2s;
}

.socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* Terminal */
.terminal {
  background: rgba(19, 19, 27, .85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  font-family: var(--mono);
  font-size: .92rem;
  overflow: hidden;
}

:root[data-theme="light"] .terminal { background: #13131b; box-shadow: 0 30px 60px -30px rgba(22, 21, 29, .45); }

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--border);
}

.terminal-bar span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }
.terminal-bar p { margin: 0 auto; padding-right: 52px; color: var(--text-muted); font-size: .8rem; }

.terminal-body { padding: 20px 22px 24px; }
.terminal-body p { margin: 0 0 6px; overflow-wrap: anywhere; }
.terminal-body .prompt { color: var(--green); margin-right: 8px; }
.terminal-body .typed { color: var(--accent); }
.terminal-body .out { color: var(--text); }
.terminal-body .muted { color: var(--text-muted); font-size: .85rem; }

/* Sections */
.section { padding: 96px 0; }

.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }
.section-kicker { font-family: var(--mono); color: var(--accent); margin: 0 0 6px; font-size: 1.05rem; }
.section-sub { color: var(--text-muted); max-width: 56ch; margin: 12px 0 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }

/* Grid items default to min-width: auto and would grow to fit wide code lines */
.hero-grid > *, .about-grid > *, .resume-grid > * { min-width: 0; }

.about-img { margin: 0; position: relative; }
.about-img img { border-radius: var(--radius); border: 1px solid var(--border); aspect-ratio: 1; object-fit: cover; }
.about-img::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: .35;
}

.about-text h3 { font-size: 1.5rem; margin-bottom: 16px; }
.about-text > p { color: var(--text-muted); margin: 0 0 28px; }

.code-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.code-card-head {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--text-muted);
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev-2);
}

.code-card pre { margin: 0; padding: 16px; font-family: var(--mono); font-size: .9rem; line-height: 1.8; overflow-x: auto; }
.code-card .k { color: var(--accent-2); }
.code-card .s { color: var(--text); }
.code-card .n { color: var(--yellow); }
.code-card .g { color: var(--green); }
.code-card .c { color: var(--code-comment); font-style: italic; }

/* Resume */
.resume-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

.col-title { font-size: 1.15rem; margin: 0 0 24px; display: flex; align-items: center; gap: 10px; }
.col-title::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.col-title:not(:first-child) { margin-top: 48px; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 1px solid var(--border); }

.timeline li { position: relative; padding-bottom: 32px; }
.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -30px; top: 6px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.timeline li:first-child::before { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }

.when {
  display: inline-block;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--green);
  border: 1px solid rgba(74, 222, 128, .35);
  padding: 1px 10px;
  border-radius: 999px;
  margin: 0 0 8px 6px;
}

.timeline h4, .cert-card h4 { font-size: 1.05rem; }
.where { font-size: .9rem; margin: 2px 0 6px; color: var(--text-muted); }
.timeline p:last-child, .cert-card p:last-child { margin: 0; color: var(--text-muted); font-size: .95rem; }

.cert-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  transition: border-color .2s, transform .2s;
}

.cert-card:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.cert-card img { width: 88px; height: 88px; flex-shrink: 0; }

/* Skills */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 56px; }

.skill { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.skill-name { font-weight: 500; }
.skill-value { font-family: var(--mono); font-size: .85rem; color: var(--text-muted); }

.skill-bar {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 999px;
  background: var(--bg-elev-2);
  overflow: hidden;
}

.skill-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: calc(var(--level) * 1%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1) .15s;
}

.skills-grid.visible .skill-bar::after { transform: scaleX(1); }

.footnote { margin: 32px 0 0; font-family: var(--mono); font-size: .82rem; color: var(--text-muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  transition: border-color .2s, transform .2s;
}

a.contact-card:hover { color: var(--text); border-color: var(--accent); transform: translateY(-3px); }

.contact-card svg {
  width: 44px; height: 44px;
  padding: 11px;
  margin-bottom: 12px;
  border-radius: 12px;
  fill: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.contact-card .label { font-family: var(--mono); font-size: .8rem; color: var(--text-muted); }
.contact-card .value { font-weight: 500; overflow-wrap: anywhere; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: .85rem; color: var(--text-muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.footer p { margin: 0; }
.footer .build { font-family: var(--mono); font-size: .8rem; white-space: nowrap; }
.footer .build a { color: var(--text-muted); border-bottom: 1px dotted currentColor; }
.footer .build a:hover { color: var(--accent); }
.footer nav { display: flex; gap: 20px; }
.footer nav a { color: var(--text-muted); }
.footer nav a:hover { color: var(--accent); }

/* TEMP: colour scheme switcher, injected by site.js. Remove together with its JS block. */
.scheme-switcher {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--nav-bg-solid);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--text-muted);
}

.scheme-switcher button {
  width: 22px; height: 22px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--swatch);
  background-clip: content-box;
  cursor: pointer;
}

.scheme-switcher button[aria-pressed="true"] { border-color: var(--text); }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 32px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.05rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--text-muted); }
.legal p { margin: 0 0 14px; }
.legal li { margin-bottom: 8px; }
.legal .back { font-family: var(--mono); font-size: 1rem; display: inline-block; margin-bottom: 24px; }
.legal .source { margin-top: 40px; font-size: .85rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .resume-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; padding-top: 40px; }
  .about-img { max-width: 360px; }
  .skills-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-elev);
    cursor: pointer;
  }

  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block;
    width: 18px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    position: relative;
    transition: transform .25s, background .25s;
  }

  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    padding: 12px 16px 20px;
    background: var(--nav-bg-solid);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }

  .terminal { font-size: .82rem; }
  .bg-cmds { font-size: 12px; opacity: .7; }
  .code-card pre { font-size: .8rem; }
  .cert-card { flex-direction: column; align-items: flex-start; }
  .about-img::after { inset: 12px -12px -12px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .skill-bar::after { transform: none; }
}
