/* ================= tokens ================= */
:root {
  --bg: #07090c;
  --surface: #0c1015;
  --surface-2: #10151c;
  --line: rgba(148, 163, 184, 0.12);
  --line-strong: rgba(148, 163, 184, 0.22);
  --text: #e8edf4;
  --text-2: #c3ccd9;
  --muted: #828fa1;
  --neon: #4cf5c8;
  --cyan: #5abeff;
  --violet: #aa8cff;
  --neon-soft: rgba(76, 245, 200, 0.10);
  --neon-glow: 0 0 18px rgba(76, 245, 200, 0.35);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text-2);
  font: 400 17px/1.7 var(--font);               /* standard reading size */
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: rgba(76, 245, 200, 0.25); color: #fff; }
a { color: var(--text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--neon); }
img { display: block; max-width: 100%; }
b, strong { color: var(--text); font-weight: 600; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--surface); padding: 8px 12px; }

.spotlight {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(600px circle at var(--x, 30%) var(--y, 20%), rgba(76, 245, 200, 0.045), transparent 70%);
}

/* immersive DNA: full-viewport canvas behind everything */
.dna { opacity: 1; }
/* soft dark veil keeps text crisp over the helix */
.layout::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1200px 900px at 50% 45%, rgba(7, 9, 12, 0.35), rgba(7, 9, 12, 0) 70%);
}

/* ================= layout ================= */
.layout {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto; padding: 0 56px;
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.3fr); gap: 72px;
}
.side {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: space-between; padding: 88px 0 56px;
}
.status {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 28px;
  font: 500 12px/1 var(--mono); color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: var(--neon-glow); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

h1 { margin: 0; font-size: clamp(2.2rem, 3.3vw, 2.85rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; }
h1 a, h1 a:hover { color: var(--text); }
.role { margin: 14px 0 0; font-size: 1.2rem; font-weight: 500; color: var(--text); }
.tagline { margin: 14px 0 0; max-width: 32ch; color: var(--muted); font-size: 1.02rem; }

.toc { margin-top: 56px; display: grid; gap: 4px; }
.toc a { display: inline-flex; align-items: center; gap: 14px; width: max-content; padding: 6px 0; font: 600 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.toc .line { width: 32px; height: 1px; background: var(--muted); transition: width .25s, background .25s, box-shadow .25s; }
.toc a:hover, .toc a.active { color: var(--text); }
.toc a:hover .line, .toc a.active .line { width: 64px; background: var(--neon); box-shadow: var(--neon-glow); }

.side-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cv-btn {
  display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--font); color: var(--text);
  padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.cv-btn:hover { color: var(--text); border-color: rgba(76, 245, 200, .6); box-shadow: 0 0 0 4px var(--neon-soft); }
.cv-btn.solid { background: var(--neon); color: #04110d; border-color: var(--neon); font-weight: 600; }
.cv-btn.solid:hover { color: #04110d; box-shadow: 0 0 0 4px var(--neon-soft), var(--neon-glow); }
.socials { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.socials svg { width: 20px; height: 20px; fill: var(--muted); transition: fill .2s, transform .2s; }
.socials a:hover svg { fill: var(--neon); transform: translateY(-2px); }

/* ================= sections ================= */
main { padding: 88px 0 64px; }
section { scroll-margin-top: 72px; margin-bottom: 128px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 600 12px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--neon); }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hook { margin: 0 0 40px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.22; font-weight: 700; letter-spacing: -0.025em; color: var(--text); max-width: 26ch; }
.dim { color: var(--muted); }
.accent { color: var(--neon); }

/* reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 36px; align-items: start; }
.prose p { margin: 0 0 18px; }
.lead { font-size: 1.28rem; line-height: 1.5; color: var(--text); font-weight: 500; letter-spacing: -0.01em; }
.lead em { font-style: normal; color: var(--neon); }
.hl { color: var(--text); font-weight: 600; }
.inline-link { color: var(--neon); border-bottom: 1px solid rgba(76, 245, 200, .35); }
.about-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); }
.about-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; filter: saturate(.92); transition: filter .3s; }
.about-photo:hover img { filter: none; }
.about-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(76, 245, 200, .14); pointer-events: none; }

.proofbar { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(16, 21, 28, .7), rgba(12, 16, 21, .5)); }
.proofbar .stat { padding: 22px 20px; border-left: 1px solid var(--line); }
.proofbar .stat:first-child { border-left: 0; }
.proofbar b { display: block; font-size: 2rem; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.proofbar .stat:nth-child(2) b { color: var(--neon); text-shadow: 0 0 22px rgba(76, 245, 200, .35); }
.proofbar span { display: block; margin-top: 6px; font-size: .88rem; line-height: 1.4; color: var(--muted); }

.trust { margin-top: 28px; }
.trust-label { margin: 0 0 12px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.wordmarks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; }
.wordmarks li { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; color: #9aa6b6; transition: color .2s; }
.wordmarks li:hover { color: var(--text); }
.wordmarks small { font-size: .7rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks li { font-size: .85rem; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 8px; height: 5px; border-left: 2px solid var(--neon); border-bottom: 2px solid var(--neon); transform: translateY(-70%) rotate(-45deg); }

/* experience */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.entry { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 24px; padding: 26px; margin: 0 -26px; border-radius: var(--radius); border: 1px solid transparent; transition: background .25s, border-color .25s, opacity .7s ease, transform .7s ease; }
.entry:hover { background: rgba(16, 21, 28, .6); border-color: var(--line); }
.entry.featured { background: linear-gradient(180deg, rgba(16, 21, 28, .75), rgba(12, 16, 21, .35)); border-color: var(--line); }
.when { font: 500 13px/1.9 var(--mono); color: var(--muted); text-transform: uppercase; }
.what h3 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 600; color: var(--text); }
.sep { color: var(--muted); font-weight: 400; }
.org-note { color: var(--text-2); font-weight: 500; }
.what p { margin: 0 0 12px; }
.role-block { padding: 18px 0 6px; border-top: 1px solid var(--line); }
.role-block:first-of-type { border-top: 0; padding-top: 4px; }
.role-block h4 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.when-inline { font: 500 12px/1.9 var(--mono); color: var(--muted); text-transform: uppercase; }
.metrics { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.metrics li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.metrics b { display: block; font-size: 1.45rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.metrics span { display: block; margin-top: 4px; font-size: .86rem; line-height: 1.4; color: var(--muted); }
.bullets { margin: 0 0 12px; padding-left: 18px; }
.bullets li { margin: 7px 0; }
.bullets li::marker { color: var(--neon); }
.tags { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font: 500 13px/1 var(--font); color: var(--neon); background: var(--neon-soft); border-radius: 999px; padding: 7px 12px; }
.proof { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.proof a { display: block; width: 140px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-strong); transition: border-color .2s, transform .2s, box-shadow .2s; }
.proof img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; opacity: .85; transition: opacity .2s; }
.proof a:hover { border-color: rgba(76, 245, 200, .55); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.proof a:hover img { opacity: 1; }

/* ================= flagships ================= */
.flagship {
  position: relative; margin: 0 0 28px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .3s, box-shadow .3s, opacity .7s ease, transform .7s ease;
}
.flagship::before { /* neon hairline on top edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-c, var(--neon)), transparent); opacity: .7;
}
.flagship:hover { border-color: var(--line-strong); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.fs-body { padding: 32px; }
.fs-kicker { margin: 0 0 10px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fs-kicker span { color: var(--accent-c, var(--neon)); margin-right: 8px; }
.flagship h3 { margin: 0 0 8px; font-size: 1.9rem; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.flagship h3 a { color: var(--text); }
.flagship h3 a:hover { color: var(--accent-c, var(--neon)); }
.arrow { display: inline-block; font-size: .8em; transition: transform .2s; }
a:hover .arrow { transform: translate(2px, -2px); }
.fs-hook { margin: 0 0 14px; font-size: 1.15rem; line-height: 1.45; font-weight: 500; color: var(--accent-c, var(--neon)); }
.fs-body > p:not(.fs-kicker):not(.fs-hook) { margin: 0 0 16px; }

/* 01 Genesis: live sim left, copy right */
.genesis { --accent-c: var(--neon); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.genesis .fs-visual { position: relative; min-height: 420px; background: #06090c; border-right: 1px solid var(--line); }
.genesis canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.live { position: absolute; left: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: rgba(6, 9, 12, .7); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #ff6e6e; box-shadow: 0 0 10px #ff6e6e; animation: pulse 1.6s infinite; }
.fs-points { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; }
.fs-points li { padding-left: 18px; position: relative; font-size: .97rem; }
.fs-points li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-c); box-shadow: 0 0 10px var(--accent-c); }

/* 02 NeoResist: copy left, stacked screenshots right */
.neoresist { --accent-c: var(--violet); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.neoresist .shot { padding: 24px 24px 24px 0; display: grid; gap: 12px; align-content: center; }
.neoresist .shot a { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-strong); }
.neoresist .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; transition: transform .4s; }
.neoresist .shot a:hover img { transform: scale(1.04); }
.ladder { list-style: none; margin: 4px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.ladder li { position: relative; padding: 12px 14px 12px 14px; border: 1px solid var(--line); background: var(--surface-2); }
.ladder li:first-child { border-radius: 10px 0 0 10px; }
.ladder li:last-child { border-radius: 0 10px 10px 0; border-color: rgba(170, 140, 255, .5); box-shadow: inset 0 0 18px rgba(170, 140, 255, .12); }
.ladder li + li { border-left: 0; }
.ladder b { display: block; font-size: .95rem; }
.ladder span { font-size: .8rem; color: var(--muted); }
.fs-stats, .spec { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.fs-stats b, .spec b { display: block; font-size: 1.7rem; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.fs-stats span, .spec span { font-size: .84rem; color: var(--muted); }
.fs-stats li:last-child b { color: var(--violet); text-shadow: 0 0 20px rgba(170, 140, 255, .4); }

/* 03 Tandem: copy on top, wide screenshots, spec bar */
.tandem { --accent-c: var(--cyan); }
.tandem .fs-body.wide { max-width: 760px; padding-bottom: 8px; }
.tandem-shots { padding: 12px 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tandem-shots a { border-radius: 12px 12px 0 0; overflow: hidden; border: 1px solid var(--line-strong); border-bottom: 0; transform: translateY(1px); }
.tandem-shots img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; transition: transform .4s; }
.tandem-shots a:hover img { transform: scale(1.03); }
.spec { padding: 22px 32px; border-top: 1px solid var(--line); background: var(--surface-2); gap: 0; }
.spec li { flex: 1 1 140px; padding: 4px 18px; border-left: 1px solid var(--line); }
.spec li:first-child { border-left: 0; padding-left: 0; }
.spec b { font-size: 1.35rem; color: var(--cyan); }

/* secondary */
.sub-title { margin: 64px 0 18px; font-size: 1.15rem; font-weight: 600; color: var(--text); }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mini { display: block; padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); transition: border-color .25s, transform .25s, opacity .7s ease; }
.mini:hover { color: var(--text-2); border-color: rgba(76, 245, 200, .45); transform: translateY(-3px); }
.mini h4 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 600; color: var(--text); }
.mini p:not(.kicker) { margin: 0; font-size: .93rem; line-height: 1.55; }
.kicker { margin: 0 0 8px; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.archive { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: .95rem; }
.archive td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.archive tr:first-child td { border-top: 1px solid var(--line); }
.archive td:first-child { font: 500 13px/1.9 var(--mono); color: var(--muted); width: 60px; }
.archive td:last-child { white-space: nowrap; text-align: right; }
.archive .desc { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }

/* credentials */
.cred-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cred { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: opacity .7s ease, transform .7s ease; }
.cred h3 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 600; color: var(--text); }
.cred-sub { margin: 0 0 10px; font-size: .92rem; color: var(--muted); }
.cred .bullets { margin: 0; font-size: .97rem; }
.cred a { color: var(--text-2); border-bottom: 1px dotted var(--line-strong); }
.cred a:hover { color: var(--neon); }
.skills { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.skills > div { padding: 18px 0; border-top: 1px solid var(--line); }
.skills p:not(.kicker) { margin: 0; font-size: .97rem; }

/* footer CTA */
.foot { padding: 48px 40px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(500px 220px at 15% 0%, rgba(76, 245, 200, .09), transparent 70%), var(--surface); }
.foot h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.22; font-weight: 700; letter-spacing: -0.025em; color: var(--text); max-width: 24ch; }
.foot > p { margin: 0 0 24px; color: var(--muted); }
.foot-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.text-link { display: inline-flex; gap: 6px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.text-link:hover { border-color: var(--neon); }
.fine { margin: 40px 0 0; font: 400 12px/1.6 var(--mono); color: #556070; }

/* lightbox */
dialog#lightbox { border: 1px solid var(--line-strong); border-radius: 14px; padding: 0; background: var(--surface); max-width: min(1200px, 92vw); max-height: 90vh; overflow: hidden; }
dialog#lightbox::backdrop { background: rgba(3, 5, 8, .85); backdrop-filter: blur(4px); }
dialog#lightbox img { max-height: 88vh; width: auto; margin: 0 auto; }
.lb-close { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(7, 9, 12, .8); color: var(--text); font-size: 20px; cursor: pointer; }
.lb-close:hover { color: var(--neon); border-color: var(--neon); }

/* ================= responsive ================= */
@media (max-width: 1100px) {
  .genesis, .neoresist { grid-template-columns: 1fr; }
  .genesis .fs-visual { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
  .neoresist .shot { padding: 0 32px 32px; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; gap: 0; padding: 0 28px; }
  .side { position: static; height: auto; padding: 64px 0 24px; gap: 32px; }
  .toc { display: none; }
  main { padding-top: 32px; }
  section { margin-bottom: 96px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .layout { padding: 0 16px; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 240px; }
  .proofbar { grid-template-columns: 1fr 1fr; }
  .proofbar .stat:nth-child(3) { border-left: 0; }
  .proofbar .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .entry { grid-template-columns: 1fr; gap: 6px; padding: 20px 16px; margin: 0 -16px; }
  .metrics, .minis, .cred-grid, .skills, .tandem-shots, .neoresist .shot { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr; }
  .ladder li, .ladder li:first-child, .ladder li:last-child { border-radius: 0; border-left: 1px solid var(--line); }
  .fs-body { padding: 24px; }
  .tandem-shots { padding: 8px 24px 0; }
  .spec { padding: 18px 24px; }
  .spec li { border-left: 0; padding: 6px 0; }
  .foot { padding: 32px 22px; }
  .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- view switcher (shared by both views) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
.view-switch {
  position: fixed; top: 18px; right: 22px; z-index: 40; display: flex; gap: 2px; padding: 4px;
  border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 11, 15, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.view-switch a {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 9px;
  font: 600 12px/1 "Inter", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  color: #8a96a8; text-decoration: none; transition: color .2s, background .2s;
}
.view-switch a:hover { color: #e8edf4; }
.view-switch a.on { color: #04110d; background: #4cf5c8; box-shadow: 0 0 18px rgba(76, 245, 200, 0.35); }
.view-switch a:focus-visible { outline: 2px solid #4cf5c8; outline-offset: 2px; }
.vs-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.view-switch a:not(.on) .vs-dot { background: #4cf5c8; box-shadow: 0 0 8px #4cf5c8; animation: vs-pulse 2s ease-in-out infinite; }
@keyframes vs-pulse { 50% { opacity: .3; } }
@media (max-width: 760px) { .view-switch { top: auto; bottom: 16px; right: 50%; transform: translateX(50%); } }

.case-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .92rem; font-weight: 600; color: var(--neon); border-bottom: 1px solid rgba(76, 245, 200, .3); padding-bottom: 2px; }
.case-link:hover { color: var(--neon); border-color: var(--neon); }
.case-link span { transition: transform .2s; }
.case-link:hover span { transform: translateX(3px); }
.flagship.neoresist .case-link { color: var(--violet); border-color: rgba(170, 140, 255, .35); }
.flagship.tandem .case-link { color: var(--cyan); border-color: rgba(90, 190, 255, .35); }

@media (max-width: 760px) { body { padding-bottom: 72px; } .dna { opacity: .55; } }
