/* BLACK / VIOLET 2026 — an editorial interface for SQL Server engineering */
:root {
  --bg: #050505;
  --surface: #0c0b0e;
  --surface2: #141217;
  --border: #302c37;
  --text: #f5f3f8;
  --muted: #a9a4b2;
  --green: #b9a4ff;  /* Legacy class name retained, now violet everywhere. */
  --blue: #adc9ff;
  --purple: #d4b3ff;
  --accent: #b9a4ff;
  --accent-light: #ded4ff;
}
html { scroll-behavior: smooth; }
body { background: #050505; color: var(--text); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, textarea { font-family: inherit; }
.mini-label, .section-label, .statusline, .eyebrow, .query-caption, .work-top,
.career-date, .row-id, .chips, .footer, .contact-social, .commit, .stack-row > span,
.run, .nav-links a, .nav-github, .result-head, .messages, .editor-actions,
.line-nums, .query, .results, .winbar, .logo, .hero-code, .console-head,
.console-caption, .console-toolbar, .console-foot, .hero-result-row,
.result-title, .boot-text {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}
.logo { font-weight: 700; }
body, .nav-links, .footer, .work-card, .window, .hero-console { -webkit-font-smoothing: antialiased; }
.top { background: rgba(5,5,5,.82); border-bottom: 1px solid #29252f; }
.nav-github, .btn, .run, .work-card, .window { border-radius: 11px; }
.nav-links a { font-size: 11px; }
.nav-links a:hover, .nav-github:hover { color: var(--accent-light); }
.hero { width: min(1240px, calc(100% - 64px)); min-height: min(845px, 100svh); padding: 114px 0 40px; display: flex; flex-direction: column; justify-content: center; overflow: visible; }
.hero:after { opacity: .6; background: radial-gradient(ellipse at 77% 44%, #a78bfa15, transparent 55%), linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px); background-size: auto, 70px 70px, 70px 70px; }
.hero-grid-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.hero-copy { min-width: 0; will-change: translate; }
.hero .eyebrow { font-size: 10px; letter-spacing: .06em; }
.hero h1 { font-size: clamp(49px, 5.65vw, 84px); letter-spacing: -.077em; line-height: 1.09; margin: 30px 0; }
.hero .hero-line { display: inline; }
.hero .green { text-shadow: 0 0 50px #b9a4ff35; }
.hero-desc { font-size: 16px; line-height: 1.85; max-width: 570px; }
.hero-actions { margin: 32px 0 0; gap: 12px; }
.btn { padding: 15px 19px; font-size: 10px; letter-spacing: .01em; }
.btn.primary { background: #c5b4ff; border-color: #c5b4ff; color: #101015; box-shadow: 0 0 50px #a98aff18; }
.btn.primary:hover { background: #dfd4ff; box-shadow: 0 15px 45px #a98aff29; }
.btn:not(.primary) { border-color: #4c455b; }
.statusline { margin-top: 77px; border-top-color: #2b2730; color: #9994a0; }
.statusline span:first-child, .statusline span:nth-child(2) { color: var(--accent-light); }
.pulse { background: #baa7ff; box-shadow: 0 0 14px #baa7ff70; }
.scroll-progress { background: linear-gradient(90deg, #977cff, #e9bcff); }

/* The visible, on-load code experience */
.hero-console { animation: consoleEnter .72s .07s both; position: relative; z-index: 2; isolation: isolate; min-width: 0; overflow: hidden; background: linear-gradient(153deg, #151218, #090909 60%); border: 1px solid #4b4058; border-radius: 17px; box-shadow: 0 30px 100px #0009, 0 0 90px #9980ff0c; transform: translateZ(0); animation: consoleEnter 1.1s .3s both; }
.hero-console:before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 90% 0%, #b8a3ff14, transparent 55%); }
.console-head { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #332e3c; background: #141117; color: #d2cbdc; font-size: 11px; }
.console-dots { display: flex; gap: 5px; }
.console-dots i { width: 7px; height: 7px; border-radius: 50%; background: #514a5c; }
.console-dots i:first-child { background: #e5a5be; }
.console-dots i:nth-child(2) { background: #eed3a0; }
.console-dots i:nth-child(3) { background: #b5a0f0; }
.console-session { font-size: 9px; color: #888092; }
.console-caption { padding: 20px 22px 6px; color: #a79db3; font-size: 9px; letter-spacing: .09em; }
.console-editor { display: flex; min-height: 194px; padding: 18px 17px 22px; overflow-x: auto; font-family: "JetBrains Mono", monospace; }
.console-gutter { flex: 0 0 32px; margin-right: 16px; text-align: right; color: #645e6e; font: 11px/1.85 "JetBrains Mono", monospace; user-select: none; }
.hero-code { flex: 1; min-height: 160px; margin: 0; color: #f2ecf9; font: 12px/1.85 "JetBrains Mono", monospace; white-space: pre; tab-size: 2; }
.sql-comment { color: #8c8897; }
.sql-keyword { color: #c2b0ff; font-weight: 600; }
.sql-string { color: #e9afd8; }
.sql-plain { color: #f0eaf7; }
.live-caret { display: inline-block; width: 7px; height: 1.1em; margin-left: 1px; vertical-align: -.19em; background: #d2c3ff; box-shadow: 0 0 17px #b9a4ff85; animation: cursorBlink .75s step-end infinite; }
.console-toolbar { min-height: 48px; display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 10px 19px; border-top: 1px solid #28232f; border-bottom: 1px solid #28232f; background: #100e13; font-size: 10px; color: #c1b5d0; }
.console-query-status { color: #baa5fa; }
.replay-query { cursor: pointer; color: #dad0f9; border: 1px solid #554a68; background: transparent; border-radius: 7px; padding: 7px 10px; font: 10px "JetBrains Mono",monospace; transition: background .25s, border-color .25s; }
.replay-query:hover { background: #292136; border-color: #ab94f0; }
.replay-query:disabled { opacity: .45; cursor: default; }
.console-results { background: #0e0d10; min-height: 106px; }
.result-title { display: flex; justify-content: space-between; color: #aca4ba; padding: 11px 19px; background: #17131b; border-bottom: 1px solid #2f2935; font-size: 9px; }
#hero-result { padding: 17px 19px; font: 11px/1.7 "JetBrains Mono",monospace; color: #80788e; opacity: .75; transition: opacity .4s, transform .4s; }
#hero-result.shown { opacity: 1; transform: translateY(0); }
.hero-result-row { display: flex; flex-direction: column; gap: 4px; color: #a9a4b5; font-size: 11px; }
.hero-result-row strong { color: #fff; font-size: 13px; font-weight: 600; }
.query-success { color: #c8b9ff; font-size: 10px; margin-top: 4px; }
.console-foot { display: flex; justify-content: space-between; padding: 9px 18px; color: #776e81; font-size: 9px; background: #111014; border-top: 1px solid #27222c; }
@keyframes consoleEnter { from { opacity: 0; transform: translate3d(25px,26px,0) scale(.98); filter: blur(10px); } to { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); } }
@keyframes cursorBlink { 50% { opacity: 0; } }

/* Make all legacy panels graphite instead of navy, with violet metadata. */
.shaded { background: #09090a; border-color: #242128; }
.window, .work-card, .plan-panel, .work-card.feature { background: #111013; border-color: #342e39; }
.winbar, .result-head { background: #18151b; border-color: #302b35; }
.active-tab { background: #111013; border-top-color: var(--accent); }
.editor-actions, .messages, .console-caption { background-color: transparent; }
.results th { background: #1b181f; color: #c0b8c9; }
.results td, .results th { border-color: #312c36; }
.results .success, .connected { color: #c9baff; }
.query-caption, .pipeline { background: #0e0d10; border-color: #38313d; }
.pipeline > div, .plan-node { background: #1a161e; border-color: #40374b; }
.page { background: #211c24; border-color: #423b48; }
.page.read { background: #4b384d; color: #f5d2ff; border-color: #b87bda; }
.page.found { background: #40345f; color: #eee6ff; border-color: #b9a4ff; }
.run.secondary { background: #292139; color: #e1d5ff; }
.run.subtle { background: #19151d; color: #d9d2e0; }
.chips span { background: #ffffff04; border-color: #403949; color: #c6bdcb; }
.career-row:hover, .stack-row:hover { background: #b9a4ff05; }
.work-card:hover { border-color: #b9a4ff91; box-shadow: 0 23px 75px #a789ff0c; }
.ambient-light { background: radial-gradient(circle,#b9a4ff18,transparent 68%); }
.hero .fade { color: #89838f; }
.boot-text { color: #cab9ff; }
.boot-bar i { background: #baa7ff; }
.intro-overlay { display: none; }
.section-label::after { background: linear-gradient(90deg,#b9a4ff,#ffffff1c 38%,transparent); }
.mini-label, .section-label > span:first-child, .stack-row > span { color: #bca9ff; }
.section-label .right { color: #81798a; }
.btn:hover, .run:hover { filter: brightness(1.08); }
.motion-section .window, .motion-section .work-card { will-change: transform, opacity; }

/* Make the code window feel alive while visitors scroll through it. */
#about .window { position: relative; }
#about .window::before { content: ""; position: absolute; height: 1px; width: 35%; top: 0; left: -35%; background: linear-gradient(90deg,transparent,#c9b6ff,transparent); opacity: .75; animation: editorSweep 8s linear infinite; pointer-events: none; }
@keyframes editorSweep { to { left: 120%; } }
#intro-query { min-height: 138px; }
#intro-query.typewriter-target::after { content: none; }
.info-panel h2, .heading, .hero h1, .contact h2 { text-wrap: balance; }
.contact-email:hover { color: var(--accent-light); }
.work-card img { transition: transform .85s cubic-bezier(.2,.7,.2,1), filter .5s; }
.work-card:hover img { transform: scale(1.04); filter: saturate(1.08); }
.footer, .messages, .editor-actions { color: #a19aab; }

@media (min-width: 1350px) {
  .hero { min-height: 860px; }
  .hero h1 { font-size: 82px; }
}
@media (max-width: 1050px) {
  .hero { min-height: 790px; }
  .hero-grid-layout { gap: 24px; grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(44px, 5.5vw, 66px); }
  .hero-desc { font-size: 14px; }
  .hero-code { font-size: 10px; }
  .console-gutter { font-size: 10px; }
}
@media (max-width: 900px) {
  .hero { width: min(760px, calc(100% - 40px)); min-height: unset; padding-top: 85px; }
  .hero-grid-layout { grid-template-columns: 1fr; gap: 50px; }
  .hero h1 { font-size: clamp(55px, 8.2vw, 86px); }
  .hero-console { max-width: 740px; width: 100%; }
  .hero-code { font-size: 12px; }
  .statusline { margin-top: 50px; }
}
@media (max-width: 650px) {
  .hero { width: calc(100% - 32px); padding-top: 67px; padding-bottom: 15px; }
  .hero-grid-layout { gap: 33px; }
  .hero h1 { font-size: clamp(48px, 10vw, 65px); }
  .hero-actions { margin-top: 28px; }
  .hero-console { border-radius: 13px; }
  .console-session { display: none; }
  .console-head { font-size: 10px; }
  .hero-code { font-size: clamp(9px, 2.5vw, 12px); }
  .console-editor { min-height: 180px; padding: 18px 10px; }
  .console-gutter { margin-right: 8px; flex-basis: 22px; font-size: 10px; }
  .statusline { margin-top: 35px; }
  .hero-copy { will-change: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-console { animation: none !important; opacity: 1; transform: none; filter: none; }
  .live-caret { animation: none !important; }
  #about .window::before { animation: none !important; display: none; }
  .hero-copy { translate: none !important; opacity: 1 !important; }
}

/* Final polish: quotes behave like developer comments, not a separate feature. */
.inline-note {
  display: flex;
  gap: 11px;
  align-items: baseline;
  padding: 11px 0 11px 17px;
  margin: 24px 0 0;
  border-left: 2px solid rgba(185,164,255,.42);
  color: #bcb3c8;
  font: 400 12px/1.85 "JetBrains Mono",monospace;
  letter-spacing: -.015em;
  background: linear-gradient(90deg,#a88cff08,transparent 75%);
}
.inline-note .note-prefix { flex: none; color: #b9a4ff; }
.info-panel .inline-note { color: #bcb3c8; line-height: 1.85; font-size: 12px; }
.stack-note { margin-top: 34px; }
#experience .inline-note { margin: -22px 0 40px; }

/* Scroll choreography: reveal cards, notes, milestones and engineering details. */
.motion-section .inline-note,
.motion-section .info-panel,
.motion-section .edu,
.motion-section .pipeline > div,
.motion-section .contact-social,
.motion-section .commit {
  opacity: 0;
  transform: translate3d(0,28px,0);
  filter: blur(5px);
  transition:
    opacity .85s cubic-bezier(.22,.7,.2,1),
    transform .85s cubic-bezier(.22,.7,.2,1),
    filter .85s cubic-bezier(.22,.7,.2,1);
}
.motion-section .inline-note.is-visible,
.motion-section .info-panel.is-visible,
.motion-section .edu.is-visible,
.motion-section .pipeline > div.is-visible,
.motion-section .contact-social.is-visible,
.motion-section .commit.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0);
  filter: none;
}
.motion-section .info-panel:nth-child(2),
.motion-section .edu:nth-child(2),
.motion-section .pipeline > div:nth-child(3) { transition-delay: .09s; }
.motion-section .pipeline > div:nth-child(5) { transition-delay: .17s; }
.motion-section .pipeline > div:nth-child(7) { transition-delay: .24s; }
.motion-section .career-row:nth-child(2),
.motion-section .work-card:nth-child(2) { transition-delay: .12s; }
.motion-section .career-row:nth-child(3),
.motion-section .work-card:nth-child(3) { transition-delay: .22s; }
.motion-section .work-card:nth-child(4) { transition-delay: .32s; }

/* Restrained Apple-like scroll motion for large section headings. */
.motion-section .heading { clip-path: inset(0 0 100% 0); }
.motion-section .heading.is-visible {
  clip-path: inset(0 0 0 0);
  transition:
    opacity .9s cubic-bezier(.22,.7,.2,1),
    transform .9s cubic-bezier(.22,.7,.2,1),
    filter .9s,
    clip-path 1.05s cubic-bezier(.16,1,.3,1);
}
.career-row { position: relative; }
.career-row::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg,#c8b4ff,#bea3ff10);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.1s cubic-bezier(.22,.8,.2,1);
  pointer-events: none;
}
.career-row.is-visible::before { transform: scaleY(1); }
.stack-row {
  position: relative;
  transition: background .45s, border-color .45s, transform .75s cubic-bezier(.2,.7,.2,1), opacity .75s;
}
.stack-row::after {
  content: "";
  position: absolute;
  height: 1px;
  bottom: -1px;
  left: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg,#b9a4ff86,#b9a4ff08);
  transition: transform 1.25s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.stack-row.is-visible::after { transform: scaleX(1); }
.stack-row:hover { background: #c7b1ff09; }

/* A small pointer-responsive glow gives each project card depth. */
.work-card { position: relative; isolation: isolate; overflow: hidden; }
.work-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--spot-x,50%) var(--spot-y,50%),#b9a4ff17,transparent 80%);
  opacity: 0;
  transition: opacity .35s ease;
}
.work-card:hover::before { opacity: 1; }
.work-card > * { position: relative; z-index: 1; }

/* Loop transition: clear a completed query gently before the next one is typed. */
.hero-code, #hero-result {
  transition: opacity .38s ease, transform .38s cubic-bezier(.2,.7,.2,1);
}
.hero-code.cycle-out, #hero-result.cycle-out {
  opacity: 0;
  transform: translate3d(0,-8px,0);
}
.query-cycle-label { float: right; color: #b9a4ff; letter-spacing: .08em; }
#hero-query-status { min-width: 0; }
#hero-file { color: #e6def5; }
.nav-links a { position: relative; transition: color .25s; }
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #c0adff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: #dacdff; }
.hero-console { transition: box-shadow .45s; }
.hero-console:hover { box-shadow: 0 38px 105px #000a,0 0 90px #ae92ff16; }
.console-results { transition: background .5s; }
.console-results:has(.shown) { background: #121016; }

@media (hover:none) {
  .work-card::before { display: none; }
}
@media (max-width:650px) {
  .inline-note { font-size: 11px; }
  #experience .inline-note { margin-top: -18px; margin-bottom: 28px; }
}
@media (prefers-reduced-motion:reduce) {
  .motion-section .inline-note,
  .motion-section .info-panel,
  .motion-section .edu,
  .motion-section .pipeline > div,
  .motion-section .contact-social,
  .motion-section .commit {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .motion-section .heading { clip-path: none; }
  .career-row::before,.stack-row::after { transform: scale(1); transition: none; }
  .hero-code, #hero-result { transition: none; transform: none; }
  .hero-console { transition: none; }
}

/* Distinct project artwork: consistent sizing and soft violet framing. */
.work-card img[src$="-visual.svg"] {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 560;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 22px;
  border: 1px solid #514061;
  filter: none;
  box-shadow: inset 0 0 0 1px #8b6fb01c;
  transition: transform .75s cubic-bezier(.2,.8,.2,1), border-color .4s, box-shadow .4s;
}
.work-card:hover img[src$="-visual.svg"] {
  transform: scale(1.025);
  filter: none;
  border-color: #9176bb;
  box-shadow: 0 16px 43px #ac8bff18;
}
@media(max-width:650px) {
  .work-card img[src$="-visual.svg"] {
    aspect-ratio: 960 / 560;
    height: auto;
  }
}
@media(prefers-reduced-motion:reduce) {
  .work-card img[src$="-visual.svg"] { transition: none; }
}

/* Visual engineering toolkit — intentionally database-first, not a flat list */
.toolkit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:45px}
.toolkit-card{position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;min-height:365px;overflow:hidden;padding:30px;background:linear-gradient(145deg,#151119 0%,#0d0b0f 75%);border:1px solid #393040;border-radius:18px;transition:border-color .4s,box-shadow .5s,transform .65s cubic-bezier(.2,.8,.2,1)}
.toolkit-card:hover{border-color:#9b7bd286;box-shadow:0 25px 72px #a58bf610;transform:translateY(-7px)}
.toolkit-card::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 82% 6%,#bca3ff16,transparent 53%);opacity:0;transition:opacity .5s}
.toolkit-card:hover::before{opacity:1}
.toolkit-feature{grid-column:1/-1;min-height:380px;padding:31px 34px;background:radial-gradient(ellipse at 73% 25%,#a788fd13,transparent 45%),linear-gradient(115deg,#19121e,#0c0b0e 76%);border-color:#59496c}
.toolkit-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:25px}
.toolkit-index,.toolkit-indicator,.toolkit-corner,.toolkit-visual-label,.toolkit-flow-node,.toolkit-console{font-family:"JetBrains Mono",monospace}
.toolkit-index{color:#aea0c4;font-size:10px;letter-spacing:.07em}
.toolkit-indicator{font-size:9px;color:#cbb6ff;letter-spacing:.05em}
.toolkit-indicator i{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#c4aaff;box-shadow:0 0 15px #c4aaff99;animation:toolkit-pulse 2.3s infinite}
.toolkit-corner{font-size:24px;color:#a08eb7;transition:transform .35s,color .35s}
.toolkit-card:hover .toolkit-corner{color:#d1bdff;transform:rotate(45deg)}
.toolkit-feature-body{display:grid;grid-template-columns:1fr minmax(330px,.95fr);gap:40px;align-items:center}
.toolkit-card h3{font-size:clamp(24px,2.6vw,37px);line-height:1.17;letter-spacing:-.055em;margin:8px 0 14px}
.toolkit-card h3 span{color:#ba9ffa}
.toolkit-feature h3{font-size:clamp(38px,4vw,54px);max-width:520px}
.toolkit-card p{color:#a9a1b1;line-height:1.8;font-size:14px;margin:0 0 25px}
.toolkit-feature p{max-width:390px}
.toolkit-symbol{font-size:46px;line-height:1;color:#bca3ff;text-shadow:0 0 28px #ba9fff5a}
.toolkit-glyph{height:83px;display:flex;align-items:center;color:#baa4ed;font-size:46px;font-weight:500;letter-spacing:-.12em}
.toolkit-glyph-code{letter-spacing:-.07em;font:500 35px "JetBrains Mono",monospace}
.toolkit-glyph-tools{font-size:52px}
.toolkit-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.toolkit-tags span{display:inline-flex;align-items:center;border:1px solid #4b3e59;border-radius:7px;padding:8px 11px;color:#d6ccdf;font:500 11px "JetBrains Mono",monospace;background:#ffffff06;transition:color .35s,background .35s,border-color .35s,transform .35s}
.toolkit-tags span:hover{color:#fff;background:#bda3ff18;border-color:#b9a3ff8c;transform:translateY(-3px)}
.toolkit-visual{padding:22px;border:1px solid #483b56;background:#0c0a10d9;border-radius:14px;overflow:hidden;box-shadow:0 18px 50px #0006}
.toolkit-visual-label{display:flex;justify-content:space-between;gap:10px;color:#a598b5;font-size:10px;margin-bottom:29px}
.toolkit-signal{color:#bfa7ff}
.toolkit-data-flow{display:flex;align-items:center;gap:7px;justify-content:space-between}
.toolkit-flow-node{flex:0 0 auto;width:82px;height:76px;display:flex;flex-direction:column;justify-content:center;gap:7px;align-items:center;border:1px solid #5d4c73;border-radius:9px;background:#1a1321;transition:border-color .4s,transform .4s,box-shadow .4s}
.toolkit-flow-node span{font-size:10px;color:#a38eba}
.toolkit-flow-node strong{font-size:10px;color:#e9ddff}
.toolkit-card:hover .toolkit-flow-node{border-color:#b79be798;box-shadow:0 0 21px #bd9cff0e}
.toolkit-flow-track{flex:1;display:flex;gap:7px;justify-content:space-evenly;min-width:25px}
.toolkit-flow-track i{width:5px;height:5px;background:#a98bed;border-radius:50%;opacity:.3;animation:toolkit-travel 1.9s infinite}
.toolkit-flow-track i:nth-child(2){animation-delay:.22s}
.toolkit-flow-track i:nth-child(3){animation-delay:.44s}
.toolkit-console{border-top:1px solid #3f334b;margin-top:28px;padding-top:20px;color:#beb2cb;font-size:11px;line-height:2}
.toolkit-code-keyword{color:#cbb2ff}
.toolkit-code-comment{color:#8f839e}
.motion-section .toolkit-card{opacity:0;transform:translate3d(0,42px,0);filter:blur(8px);transition:opacity .8s cubic-bezier(.2,.8,.2,1),transform .8s cubic-bezier(.2,.8,.2,1),filter .8s,border-color .4s,box-shadow .4s}
.motion-section .toolkit-card.is-visible{opacity:1;transform:translate3d(0,0,0);filter:none}
.motion-section .toolkit-card:nth-child(3){transition-delay:.09s}
.motion-section .toolkit-card:nth-child(4){transition-delay:.18s}
@keyframes toolkit-travel{0%,100%{opacity:.2;transform:translateX(-5px)}50%{opacity:1;transform:translateX(5px);box-shadow:0 0 14px #bca3ff}}
@keyframes toolkit-pulse{50%{opacity:.5;box-shadow:0 0 3px #c4aaff}}
@media(max-width:900px){.toolkit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolkit-feature{grid-column:1/-1}.toolkit-feature-body{grid-template-columns:1fr;gap:25px}.toolkit-card:last-child{grid-column:1/-1}.toolkit-card{min-height:335px}}
@media(max-width:600px){.toolkit-grid{grid-template-columns:1fr}.toolkit-card,.toolkit-feature{grid-column:1/-1;min-height:0;padding:25px}.toolkit-card{padding-bottom:29px}.toolkit-card-head{margin-bottom:17px}.toolkit-feature h3{font-size:38px}.toolkit-glyph{height:61px}.toolkit-visual{padding:16px}.toolkit-flow-node{width:67px;height:65px}.toolkit-flow-node strong{font-size:9px}.toolkit-flow-track{gap:3px}.toolkit-flow-track i{width:4px;height:4px}.toolkit-card p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.motion-section .toolkit-card{opacity:1;transform:none;filter:none;transition:none}.toolkit-flow-track i,.toolkit-indicator i{animation:none}.toolkit-card:hover{transform:none}}

/* INTRODUCTION / EXECUTION PLAN — explanatory, animated, deliberately not a benchmark */
.execution-plan{position:relative;overflow:hidden;background:#0c0b0f;border:1px solid #554765;border-radius:18px;box-shadow:0 28px 88px #0009,0 0 85px #b9a4ff08}
.plan-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:0 24px;background:#1a1520;border-bottom:1px solid #3b3045;color:#94889f;font:500 11px "JetBrains Mono",monospace}
.plan-toolbar-left,.plan-toolbar-right{display:flex;align-items:center;gap:19px}.plan-tab-active{height:54px;display:inline-flex;align-items:center;border-bottom:2px solid #c8b2ff;color:#f0e8ff}.plan-tab{color:#85798e}.plan-toolbar-right{gap:9px;font-size:9px;letter-spacing:.07em}.plan-live-dot,.plan-status-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#bda6ff;box-shadow:0 0 16px #bda6ff88}.plan-separator{color:#5a5062}
.plan-overview{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;padding:42px 42px 25px;background:radial-gradient(ellipse at 95% 5%,#ad86ff12,transparent 55%)}
.plan-eyebrow{color:#b9a6df;letter-spacing:.07em;font:500 11px "JetBrains Mono",monospace}
.plan-overview h2{max-width:690px;font-size:clamp(31px,4vw,54px);font-weight:650;line-height:1.13;letter-spacing:-.055em;margin:18px 0 12px}
.plan-overview p{max-width:640px;font-size:14px;line-height:1.8;color:#a8a0b0;margin:0}
.plan-status{display:flex;align-items:center;gap:9px;flex:none;border:1px solid #4b3a60;background:#21172d80;color:#cbb7f5;padding:10px 12px;border-radius:30px;font:500 9px "JetBrains Mono",monospace;white-space:nowrap}
.plan-scroll{width:100%;overflow-x:auto;padding:22px 32px 49px;scrollbar-color:#625273 #141018}
.plan-operator-graph{display:flex;align-items:stretch;gap:0;min-width:820px;max-width:1140px;margin:auto}
.ep-node{flex:1;min-width:0;position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:238px;padding:19px 16px;background:linear-gradient(154deg,#21192a,#131017 77%);border:1px solid #473951;border-radius:12px;opacity:0;transform:translate3d(0,28px,0);filter:blur(6px);transition:opacity .7s,transform .7s cubic-bezier(.2,.8,.2,1),filter .7s,border-color .3s,box-shadow .35s}
.execution-plan.is-visible .ep-node{opacity:1;transform:none;filter:none;transition-delay:calc(var(--step)*.2s)}
.ep-node:hover{border-color:#b496e6;box-shadow:0 16px 38px #af90ec13}
.ep-node-heading{width:100%;display:flex;justify-content:space-between;gap:4px;align-items:center;font:500 9px "JetBrains Mono",monospace;color:#b8a4d9;letter-spacing:.03em}
.ep-cost{color:#85778e;font-size:8px}
.ep-glyph{height:78px;display:flex;align-items:center;color:#c6adff;font-size:44px;line-height:1;font-family:"JetBrains Mono",monospace;text-shadow:0 0 26px #bca3ff43}
.ep-mini-arrow{font-size:25px;margin-left:-7px}
.ep-node h3{font-size:19px;letter-spacing:-.035em;line-height:1.1;margin:0 0 8px;color:#f1ebfb}
.ep-node p{font-size:12px;color:#a99eb4;line-height:1.55;margin:0}
.ep-node-foot{margin-top:auto;padding-top:21px;font:500 9px "JetBrains Mono",monospace;color:#937fa9;letter-spacing:.04em}
.ep-connector{flex:0 0 36px;display:flex;align-items:center;justify-content:center;color:#cdb4ff;position:relative;opacity:0;transition:opacity .5s}
.execution-plan.is-visible .ep-connector{opacity:1;transition-delay:calc(var(--step)*.2s + .4s)}
.ep-connector-line{position:absolute;left:0;right:0;top:50%;height:2px;background:linear-gradient(90deg,#6b557e,#ceb1ff,#655176);background-size:200% auto;animation:ep-flow 2.8s linear infinite}
.ep-connector i{font-size:27px;font-style:normal;position:relative;z-index:1;background:#111018;padding-left:3px;transform:translateX(10px);color:#d7bfff}
@keyframes ep-flow{to{background-position:-200% center}}
.plan-footer{display:flex;justify-content:space-between;align-items:center;gap:25px;min-height:67px;padding:15px 28px;border-top:1px solid #302838;background:#130f18;font:500 10px/1.65 "JetBrains Mono",monospace;color:#b7a6cc}
.plan-terminal-prompt{color:#d2bbff;margin-right:7px}
.plan-footer-note{color:#81768c;text-align:right;font-size:9px}
.motion-section .execution-plan{opacity:0;transform:translate3d(0,45px,0);filter:blur(9px);transition:opacity .85s cubic-bezier(.2,.8,.2,1),transform .85s cubic-bezier(.2,.8,.2,1),filter .85s}
.motion-section .execution-plan.is-visible{opacity:1;transform:none;filter:none}
@media(max-width:850px){.plan-overview{padding:32px 24px 20px;align-items:flex-start;flex-direction:column}.plan-scroll{padding:20px 22px 32px}.plan-toolbar-right{display:none}.plan-footer{flex-direction:column;align-items:flex-start;gap:7px}.plan-footer-note{text-align:left}.plan-status{align-self:flex-start}}
@media(max-width:550px){.plan-overview{padding:28px 20px 15px}.plan-overview h2{font-size:34px}.plan-overview p{font-size:13px}.plan-scroll{padding:18px 16px 28px}.plan-operator-graph{min-width:770px}.ep-connector{flex-basis:27px}.plan-footer{padding:15px 18px}.plan-footer-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){.execution-plan .ep-node,.execution-plan .ep-connector,.motion-section .execution-plan{opacity:1;transform:none;filter:none;transition:none}.ep-connector-line{animation:none}}
