/* vincent.truemarch.com — benchmark & AI-training profile (2026-11-30).
   Theme: "midnight" dark by default (indigo → cyan accent on near-black, glass cards),
   with a matching light theme behind the toggle. Fonts are self-hosted. */

@font-face { font-family: 'Spline Sans'; src: url('splinesans-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Spline Sans'; src: url('splinesans-latin-ext.woff2') format('woff2'); font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Mono'; src: url('spacemono-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root, [data-theme="dark"] {
  --bg: #07080d;
  --bg2: #0c0e16;
  --card: rgba(255,255,255,.035);
  --card-hi: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.08);
  --line-hi: rgba(255,255,255,.16);
  --text: #eceef5;
  --muted: #9aa0b4;
  --dim: #6b7186;
  --a1: #8b7cff;   /* indigo */
  --a2: #4fd1ff;   /* cyan */
  --ok: #4ade80;
  --hot: #ffb454;
  --grid: rgba(255,255,255,.035);
  --shadow: 0 20px 60px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f7f8fc;
  --bg2: #ffffff;
  --card: rgba(255,255,255,.75);
  --card-hi: #ffffff;
  --line: rgba(20,24,40,.09);
  --line-hi: rgba(20,24,40,.18);
  --text: #111426;
  --muted: #555b72;
  --dim: #80869b;
  --a1: #5b4bff;
  --a2: #0a9fd6;
  --ok: #16a34a;
  --hot: #d97706;
  --grid: rgba(20,24,40,.045);
  --shadow: 0 20px 50px -24px rgba(30,30,80,.25);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16.5px/1.6 'Spline Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .3s, color .3s;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.muted { color: var(--muted); }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* background */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid { position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
.bg-glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .32; }
.g1 { width: 620px; height: 620px; background: var(--a1); top: -260px; left: -120px; }
.g2 { width: 520px; height: 520px; background: var(--a2); top: -200px; right: -160px; opacity: .2; }
[data-theme="light"] .bg-glow { opacity: .16; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 14px max(24px, calc((100% - 1160px) / 2));
  background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.brand-dot { width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 0 14px var(--a1); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 7px 12px; border-radius: 8px; color: var(--muted); font-size: 14.5px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); background: var(--card-hi); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.theme-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.theme-btn:hover { color: var(--text); border-color: var(--line-hi); }
[data-theme="dark"] .i-sun, [data-theme="light"] .i-moon { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 11px; font-weight: 600; font-size: 15px;
  color: #fff; background: linear-gradient(135deg, var(--a1), color-mix(in srgb, var(--a1) 45%, var(--a2)));
  box-shadow: 0 8px 28px -10px var(--a1), inset 0 1px 0 rgba(255,255,255,.22); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -10px var(--a1), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-ghost { color: var(--text); background: var(--card); border: 1px solid var(--line-hi); box-shadow: none; }
.btn-ghost:hover { background: var(--card-hi); box-shadow: none; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 9px; }

/* type */
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 650; }
h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 620; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.grad { background: linear-gradient(100deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow, .kicker { font: 400 12.5px/1.4 'Space Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line-hi); border-radius: 99px; background: var(--card); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.lede { font-size: 19px; color: var(--muted); max-width: 600px; margin: 22px 0 30px; }
.lede strong { color: var(--text); font-weight: 600; }
.sub { color: var(--muted); max-width: 720px; margin: 16px 0 0; font-size: 17px; }
.sub.small { font-size: 15px; margin-top: 6px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: center; padding: 88px 0 56px; }
.hero-card { margin: 0; padding: 18px; border: 1px solid var(--line-hi); border-radius: 22px; background: var(--card);
  backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.hero-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.hero-card figcaption { display: grid; gap: 2px; padding: 16px 4px 12px; font-size: 14.5px; }
.hero-card figcaption strong { font-size: 18px; }
.term { font: 400 12.5px/1.8 'Space Mono', ui-monospace, monospace; padding: 12px 14px; border-radius: 12px;
  background: #05060a; color: #c9cede; border: 1px solid rgba(255,255,255,.07); }
.c-mute { color: #6b7186; } .c-acc { color: #8fdcff; } .c-ok { color: #4ade80; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
.stat { padding: 26px 24px; background: var(--bg2); }
.stat b { display: block; font-size: 40px; font-weight: 650; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(100deg, var(--text), var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* sections */
.section { padding: 112px 0 0; }
.head { margin-bottom: 44px; }
.h3 { margin: 64px 0 0; font-size: 22px; }
.note { color: var(--dim); font-size: 14.5px; margin: 18px 0 0; }

/* pipeline */
.pipeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; counter-reset: s; position: relative; }
.pipeline li { position: relative; padding: 18px 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); display: grid; gap: 6px; align-content: start; transition: border-color .2s, transform .2s; }
.pipeline li:hover { border-color: var(--line-hi); transform: translateY(-2px); }
.pipeline li:not(:last-child)::after { content: ''; position: absolute; right: -10px; top: 32px; width: 10px; height: 1px; background: var(--line-hi); }
.pipeline .n { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; font: 400 12px 'Space Mono', monospace;
  background: var(--card-hi); border: 1px solid var(--line-hi); color: var(--muted); }
.pipeline b { font-size: 14.5px; line-height: 1.3; }
.pipeline small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.pipeline li.hot { border-color: color-mix(in srgb, var(--a1) 55%, transparent); background: color-mix(in srgb, var(--a1) 10%, var(--card)); box-shadow: 0 0 40px -14px var(--a1); }
.pipeline li.hot .n { background: linear-gradient(135deg, var(--a1), var(--a2)); color: #fff; border: 0; }

/* domains */
.domains { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.domains li { display: grid; grid-template-columns: 40px 1fr; align-content: start; column-gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); position: relative; transition: border-color .2s, background .2s; }
.domains li:hover { border-color: var(--line-hi); background: var(--card-hi); }
.domains i { grid-row: 1 / 4; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--card-hi); border: 1px solid var(--line); font-style: normal; font-size: 19px; }
.domains b { font-size: 15px; }
.domains span { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.domains em { grid-column: 2; justify-self: start; margin-top: 8px; font: 400 10.5px 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .06em; font-style: normal;
  padding: 3px 7px; border-radius: 6px; color: var(--hot); border: 1px solid color-mix(in srgb, var(--hot) 40%, transparent); }

/* cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 26px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-hi); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card h3::before { content: ''; display: block; width: 28px; height: 3px; border-radius: 2px; margin-bottom: 16px; background: linear-gradient(90deg, var(--a1), var(--a2)); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* training */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }
.list { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); }
.li { padding: 20px 24px; background: var(--bg2); }
.li b { font-size: 16px; }
.li p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.panel { padding: 28px; border-radius: 16px; border: 1px solid var(--line-hi);
  background: linear-gradient(160deg, color-mix(in srgb, var(--a1) 12%, var(--card)), var(--card) 60%); position: sticky; top: 96px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; display: grid; place-items: center; font-size: 11px;
  border-radius: 5px; color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }

/* projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proj { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s; }
.proj:hover { transform: translateY(-4px); border-color: var(--line-hi); box-shadow: var(--shadow); }
.proj img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.pbody { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pbody p { margin: 0; color: var(--muted); font-size: 14.5px; }
.pbody .metric { color: var(--hot); font: 400 12.5px 'Space Mono', monospace; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tags span { font-size: 12px; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }

/* stack */
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stack div { padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.stack h4 { margin: 0 0 8px; font: 400 12px 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .08em; color: var(--a2); }
.stack p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* contact */
.contact-card { text-align: center; padding: 64px 32px; border-radius: 24px; border: 1px solid var(--line-hi);
  background: radial-gradient(ellipse at top, color-mix(in srgb, var(--a1) 22%, transparent), transparent 70%), var(--card); }
.contact-card h2 { max-width: 760px; margin-inline: auto; }
.contact-card .sub { margin: 16px auto 30px; }
.contact-card .cta { justify-content: center; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 64px 0 40px; color: var(--dim); font-size: 13.5px; }

/* reveal */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .pulse { animation: none; } }

/* responsive */
@media (max-width: 1080px) {
  .pipeline { grid-template-columns: repeat(4, 1fr); }
  .pipeline li::after { display: none; }
  .projects, .grid3 { grid-template-columns: repeat(2, 1fr); }
  .stack { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 36px; }
  .hero-card { max-width: 380px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .panel { position: static; }
  .section { padding-top: 84px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .projects, .grid3, .stack { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .stat b { font-size: 32px; }
  .nav .btn-sm { display: none; }
}

/* experience timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ''; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--a1), var(--a2), transparent); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 36px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 145px; top: 26px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--a1); box-shadow: 0 0 12px var(--a1); }
.timeline time { padding-top: 20px; font: 400 13px 'Space Mono', monospace; color: var(--muted); }
.timeline li > div { padding: 20px 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); transition: border-color .2s; }
.timeline li > div:hover { border-color: var(--line-hi); }
.timeline h3 { margin-bottom: 8px; }
.timeline p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.lnk { color: var(--a2); white-space: nowrap; }
.lnk:hover { text-decoration: underline; }

/* portfolio bars */
.bars2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.barcard { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.bar { display: grid; grid-template-columns: 96px 1fr 32px; align-items: center; gap: 12px; margin: 10px 0; font-size: 14px; }
.bar span { color: var(--muted); }
.bar i { display: block; height: 8px; border-radius: 99px; background: var(--card-hi); position: relative; overflow: hidden; }
.bar i::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--a1), var(--a2)); }
.bar b { text-align: right; font: 400 13px 'Space Mono', monospace; }
.barcard .tags { margin-top: 0; padding-top: 0; }
.lessons { margin-top: 24px; }

@media (max-width: 860px) {
  .timeline::before, .timeline li::before { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .timeline time { padding-top: 0; }
  .bars2 { grid-template-columns: 1fr; }
}
