:root {
  --paper: #f2f0ea;
  --paper-2: #e8e5dc;
  --ink: #11120f;
  --muted: #68685f;
  --line: rgba(17, 18, 15, 0.18);
  --blue: #2148ff;
  --blue-dark: #1532bf;
  --dark: #11120f;
  --dark-2: #171914;
  --white: #f8f7f2;
  --lime: #c7ff45;
  --max: 1480px;
  --pad: clamp(22px, 4vw, 64px);
  --radius: 2px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: white; }

.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 1000; pointer-events: none; }
.progress span { display: block; width: 0; height: 100%; background: var(--blue); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, height .25s ease;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(242, 240, 234, .94);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 650; letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; color: white; background: var(--ink); font: 700 12px/1 var(--mono); }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a { position: relative; font-size: 13px; color: #33352f; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .2s ease; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.lang-toggle, .icon-link, .menu-toggle { height: 38px; min-width: 38px; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; }
.lang-toggle { font: 700 10px/1 var(--mono); letter-spacing: .05em; padding: 0 12px; }
.lang-toggle:hover, .icon-link:hover, .menu-toggle:hover { background: var(--ink); color: white; }
.icon-link svg { width: 16px; fill: currentColor; }
.menu-toggle { display: none; padding: 0 9px; gap: 4px; }
.menu-toggle span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .2s ease; }
.menu-toggle.active span:first-child { transform: translateY(2.5px) rotate(45deg); }
.menu-toggle.active span:last-child { transform: translateY(-2.5px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--paper); padding: 120px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; transform: translateY(-100%); transition: transform .4s cubic-bezier(.76,0,.24,1); }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: clamp(36px, 10vw, 72px); line-height: 1.1; letter-spacing: -.055em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu-meta { display: flex; justify-content: space-between; gap: 20px; font: 11px/1.4 var(--mono); color: var(--muted); }

.section-shell { width: min(100%, var(--max)); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.hero { min-height: 100svh; padding-top: 146px; padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); gap: clamp(36px, 5vw, 92px); align-items: center; }
.eyebrow-row { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 8px 11px; font: 650 10px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.status-pill i, .system-live i { width: 7px; height: 7px; border-radius: 50%; background: #43a047; box-shadow: 0 0 0 4px rgba(67,160,71,.12); }
.hero-location { font: 10px/1 var(--mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(58px, 7vw, 116px); line-height: .88; letter-spacing: -.07em; font-weight: 700; max-width: 890px; }
.hero h1 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; }
.hero-intro { width: min(680px, 93%); margin: 34px 0 0; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; color: #3d3e38; letter-spacing: -.015em; }
.hero-cta { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; padding: 0 18px; font-size: 12px; font-weight: 650; transition: transform .2s ease, background .2s ease; }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: var(--blue); transform: translateY(-2px); }
.text-link { display: inline-flex; gap: 16px; align-items: center; font-size: 12px; font-weight: 650; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.text-link:hover { color: var(--blue); border-color: var(--blue); }

.hero-system { min-height: 580px; background: var(--dark); color: white; padding: 18px; display: grid; grid-template-rows: auto 1fr auto; box-shadow: 18px 18px 0 var(--paper-2); }
.system-topline, .system-footer { display: flex; justify-content: space-between; align-items: center; font: 9px/1 var(--mono); letter-spacing: .09em; color: #a8aa9e; }
.system-topline { padding-bottom: 16px; border-bottom: 1px solid #32342f; }
.system-footer { padding-top: 16px; border-top: 1px solid #32342f; }
.system-live { display: inline-flex; align-items: center; gap: 8px; color: #d5d7cb; }
.system-live i { width: 5px; height: 5px; background: var(--lime); box-shadow: 0 0 0 4px rgba(199,255,69,.07); }
.system-canvas { position: relative; min-height: 480px; overflow: hidden; }
.system-canvas::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#262822 1px, transparent 1px), linear-gradient(90deg, #262822 1px, transparent 1px); background-size: 48px 48px; opacity: .65; }
.connections { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.connections path { fill: none; stroke: #4a4d44; stroke-width: 1.5; stroke-dasharray: 4 7; }
.connections .packet { fill: var(--lime); filter: drop-shadow(0 0 6px rgba(199,255,69,.8)); }
.packet-a { offset-path: path("M120 113 C220 113 220 222 330 222 C440 222 440 112 570 112"); animation: packetMove 6s linear infinite; }
.packet-b { offset-path: path("M120 350 C230 350 225 222 330 222 C455 222 440 350 570 350"); animation: packetMove 7.5s linear -2s infinite; }
@keyframes packetMove { to { offset-distance: 100%; } }
.node { position: absolute; z-index: 2; width: 144px; min-height: 82px; padding: 12px; border: 1px solid #494b44; background: #171914; display: flex; flex-direction: column; justify-content: flex-end; }
.node::after { content: ""; width: 5px; height: 5px; position: absolute; top: 10px; right: 10px; background: #63665d; }
.node strong { font-size: 13px; letter-spacing: -.01em; }
.node small { font: 9px/1.5 var(--mono); color: #8f9189; margin-top: 3px; }
.node-index { position: absolute; top: 11px; left: 11px; font: 9px/1 var(--mono); color: #777a71; }
.node-client { left: 1%; top: 13%; }
.node-api { left: 50%; top: 47%; transform: translate(-50%, -50%); border-color: var(--lime); }
.node-api::after { background: var(--lime); }
.node-data { right: 0; top: 13%; }
.node-integrations { left: 1%; bottom: 12%; }
.node-ops { right: 0; bottom: 12%; }

.proof-bar { width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--pad); }
.proof-bar > div { min-height: 126px; display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 24px; border-right: 1px solid var(--line); }
.proof-bar > div:first-child { border-left: 1px solid var(--line); }
.proof-bar strong { font-size: clamp(34px, 3.2vw, 54px); letter-spacing: -.05em; line-height: .9; }
.proof-bar span { max-width: 128px; font: 10px/1.35 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.work { padding-top: 150px; padding-bottom: 170px; }
.section-heading { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(260px, 400px); align-items: end; gap: 28px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.section-heading.compact { grid-template-columns: 72px 1fr; }
.section-number { align-self: start; font: 10px/1 var(--mono); color: var(--muted); padding-top: 7px; }
.kicker { margin: 0 0 13px; font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.section-heading h2, .about h2, .contact h2 { margin: 0; font-size: clamp(44px, 5.4vw, 82px); line-height: .95; letter-spacing: -.06em; font-weight: 650; }
.section-note { align-self: end; margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.project-list { display: flex; flex-direction: column; }
.project { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr); min-height: 560px; padding: 62px 0; border-bottom: 1px solid var(--line); gap: clamp(40px, 6vw, 90px); cursor: pointer; }
.project-copy { display: flex; flex-direction: column; min-width: 0; }
.project-meta { display: flex; justify-content: space-between; gap: 18px; font: 9px/1 var(--mono); letter-spacing: .07em; color: var(--muted); margin-bottom: auto; }
.project h3 { margin: 56px 0 18px; font-size: clamp(34px, 4vw, 62px); line-height: .96; letter-spacing: -.055em; font-weight: 650; }
.project-copy > p { margin: 0; font-size: 16px; line-height: 1.55; color: #50514a; max-width: 560px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.tags span { border: 1px solid var(--line); padding: 7px 9px; font: 9px/1 var(--mono); color: #55574f; }
.project-open { margin-top: 38px; border: 0; border-top: 1px solid var(--line); background: none; padding: 14px 0 0; display: flex; align-items: center; justify-content: space-between; width: min(100%, 270px); font-size: 12px; cursor: pointer; }
.project-open span:last-child { transition: transform .2s ease; }
.project:hover .project-open span:last-child { transform: translate(4px, -4px); }
.project-visual { min-height: 440px; position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.project:hover .project-visual { transform: translateY(-5px); }

.visual-ipa { background: #10110f; color: white; padding: 14px; display: grid; grid-template-rows: auto 1fr auto; }
.window-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid #30322c; }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #53564d; }
.window-bar i:first-child { background: var(--lime); }
.window-bar span { margin-left: auto; font: 8px/1 var(--mono); color: #86897e; }
.sync-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 16px; padding: 50px 18px; }
.sync-card { border: 1px solid #45483f; min-height: 126px; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.sync-card small, .sync-core small { font: 8px/1 var(--mono); color: #7e8178; letter-spacing: .08em; }
.sync-card strong { font-size: 18px; }
.signal { margin-top: 9px; align-self: flex-start; padding: 6px 7px; background: #262923; color: #aeb1a6; font: 8px/1 var(--mono); }
.signal.ok { color: var(--lime); }
.sync-center { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sync-arrow { font: 18px/1 var(--mono); color: #75786e; }
.sync-core { width: 138px; min-height: 138px; border: 1px solid var(--lime); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sync-core b { font: 700 26px/1 var(--mono); margin: 8px 0; }
.sync-core span { font: 8px/1 var(--mono); color: #8f9286; }
.log-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.log-lines span { background: #1a1c18; padding: 10px; font: 8px/1.2 var(--mono); color: #8c8f84; }

.visual-clothing { background: #d9e2ff; padding: 24px; color: #10131f; }
.dash-head, .chess-head, .micro-title { display: flex; justify-content: space-between; font: 8px/1 var(--mono); letter-spacing: .07em; }
.dash-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 16px; margin-top: 34px; height: calc(100% - 80px); }
.budget-card, .orders-card { background: #f9fafc; border: 1px solid rgba(16,19,31,.15); padding: 18px; }
.budget-card { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.budget-card small, .orders-card small { align-self: flex-start; font: 8px/1 var(--mono); color: #666b78; }
.budget-ring { width: 120px; height: 120px; border-radius: 50%; margin: 18px 0 12px; display: grid; place-items: center; background: conic-gradient(var(--blue) 72%, #e1e3e9 72%); position: relative; }
.budget-ring::after { content: ""; position: absolute; width: 84px; height: 84px; border-radius: 50%; background: #f9fafc; }
.budget-ring span { position: relative; z-index: 1; font-size: 24px; font-weight: 700; letter-spacing: -.04em; }
.budget-card p { margin: 0; font: 9px/1 var(--mono); }
.orders-card { display: flex; flex-direction: column; gap: 8px; }
.order-row { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #e2e4e9; font-size: 11px; }
.order-row i { width: 24px; height: 24px; background: #e4e8f4; }
.order-row b { font: 9px/1 var(--mono); }
.dash-footer { position: absolute; left: 24px; right: 24px; bottom: 18px; display: flex; gap: 18px; font: 8px/1 var(--mono); color: #4d5364; }

.visual-coaching { background: #efe6d2; color: #15140f; padding: 24px; }
.micro-map { position: relative; height: 330px; margin-top: 36px; }
.micro-node { position: absolute; min-width: 88px; min-height: 58px; border: 1px solid #1c1b15; background: #f7f1e3; display: grid; place-items: center; text-align: center; font: 700 9px/1.2 var(--mono); z-index: 2; }
.micro-node.gateway { width: 110px; height: 74px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--blue); color: white; border-color: var(--blue); }
.micro-node.s1 { top: 0; left: 7%; }
.micro-node.s2 { top: 0; right: 7%; }
.micro-node.s3 { bottom: 0; left: 7%; }
.micro-node.s4 { bottom: 0; right: 7%; }
.micro-node.kafka { width: 88px; min-height: 48px; left: 50%; bottom: 0; transform: translateX(-50%); background: #1b1a15; color: white; }
.micro-lines { position: absolute; inset: 20px 55px; background: linear-gradient(27deg, transparent 49.7%, rgba(20,20,15,.35) 50%, transparent 50.3%), linear-gradient(-27deg, transparent 49.7%, rgba(20,20,15,.35) 50%, transparent 50.3%); opacity: .8; }
.micro-foot { display: flex; justify-content: space-between; gap: 10px; font: 8px/1 var(--mono); text-transform: uppercase; }

.visual-chess { background: #181818; color: white; padding: 22px; }
.chess-board { width: min(82%, 360px); aspect-ratio: 1; margin: 28px auto 18px; display: grid; grid-template-columns: repeat(10, 1fr); border: 1px solid #555; }
.chess-board span { aspect-ratio: 1; background: #e9e4d8; }
.chess-board span.dark { background: #343631; }
.chess-board span.piece::after { content: ""; display: block; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); margin: 27% auto; box-shadow: inset 0 0 0 4px rgba(255,255,255,.25); }
.chess-board span.piece.alt::after { background: var(--lime); }
.test-strip { display: flex; align-items: center; gap: 14px; border-top: 1px solid #383838; padding-top: 14px; font: 8px/1 var(--mono); color: #9d9d98; }
.test-strip span { display: flex; align-items: center; gap: 6px; }
.test-strip i { width: 5px; height: 5px; background: var(--lime); }
.test-strip b { margin-left: auto; color: var(--lime); }

.experience { padding-bottom: 160px; }
.experience-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(60px, 9vw, 150px); padding-top: 76px; }
.timeline { position: relative; padding-left: 42px; }
.timeline-line { position: absolute; top: 7px; left: 4px; bottom: 0; width: 1px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 155px 1fr; gap: 34px; padding: 0 0 72px; }
.timeline-item::before { content: ""; position: absolute; width: 9px; height: 9px; left: -42px; top: 3px; background: var(--paper); border: 1px solid var(--ink); }
.timeline-date { font: 9px/1.4 var(--mono); color: var(--muted); }
.timeline-item h3 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.timeline-item .role { margin: 6px 0 20px; font: 10px/1.4 var(--mono); color: var(--blue); text-transform: uppercase; }
.timeline-item p:not(.role) { margin: 0; font-size: 15px; line-height: 1.6; color: #57584f; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.timeline-tags span { font: 8px/1 var(--mono); padding: 6px 8px; background: var(--paper-2); }
.experience-aside { background: var(--blue); color: white; padding: 38px; align-self: start; position: sticky; top: 100px; }
.mono-label { margin: 0 0 28px; font: 9px/1 var(--mono); color: rgba(255,255,255,.65); letter-spacing: .08em; }
.experience-aside blockquote { margin: 0; font: 400 clamp(27px, 2.8vw, 43px)/1.08 var(--serif); letter-spacing: -.035em; }
.process { margin-top: 66px; border-top: 1px solid rgba(255,255,255,.28); }
.process > div { display: grid; grid-template-columns: 50px 1fr; border-bottom: 1px solid rgba(255,255,255,.28); padding: 13px 0; align-items: center; }
.process span { font: 8px/1 var(--mono); color: rgba(255,255,255,.6); }
.process p { margin: 0; font-size: 12px; }

.stack-section { background: var(--dark); color: var(--white); padding: 150px 0 160px; }
.section-heading.inverted { border-color: #343630; }
.section-heading.inverted .section-number, .section-heading.inverted .section-note { color: #96998e; }
.section-heading.inverted .kicker { color: var(--lime); }
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid #343630; border-left: 1px solid #343630; }
.stack-grid article { min-height: 260px; padding: 26px; border-right: 1px solid #343630; border-bottom: 1px solid #343630; display: flex; flex-direction: column; }
.stack-num { font: 9px/1 var(--mono); color: #777a70; }
.stack-grid h3 { margin: auto 0 13px; font-size: 26px; letter-spacing: -.04em; }
.stack-grid p { margin: 0; color: #9d9f96; font-size: 13px; line-height: 1.6; }
.stack-personal { background: #171914; }

.about { padding-top: 160px; padding-bottom: 160px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: clamp(50px, 10vw, 160px); }
.about-title { display: grid; grid-template-columns: 72px 1fr; align-content: start; }
.about-title .kicker { grid-column: 2; }
.about-title h2 { grid-column: 2; }
.about-copy { padding-top: 36px; }
.about-copy .lead { margin: 0 0 28px; font-size: clamp(24px, 2.3vw, 36px); line-height: 1.18; letter-spacing: -.035em; }
.about-copy > p:not(.lead) { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.about-links { display: grid; margin-top: 46px; border-top: 1px solid var(--line); }
.about-links a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.about-links a:hover { color: var(--blue); }

.contact { background: var(--blue); color: white; min-height: 90svh; display: flex; align-items: stretch; }
.contact-inner { padding-top: 118px; padding-bottom: 34px; display: flex; flex-direction: column; }
.contact .kicker { color: #d9e0ff; }
.contact h2 { font-size: clamp(58px, 8.5vw, 132px); line-height: .84; letter-spacing: -.075em; }
.contact h2 em { font-family: var(--serif); font-weight: 400; }
.contact-inner > p:not(.kicker) { max-width: 680px; margin: 42px 0 0; font-size: 17px; line-height: 1.6; color: #e2e6ff; }
.contact-mail { margin-top: 38px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid white; padding-bottom: 12px; font-size: clamp(20px, 2vw, 30px); letter-spacing: -.03em; width: min(100%, 680px); }
.contact-mail:hover { color: var(--lime); border-color: var(--lime); }
.contact-footer { margin-top: auto; padding-top: 80px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; font: 9px/1 var(--mono); color: #c7d0ff; }
.contact-footer a:hover { color: white; }

.case-modal { border: 0; padding: 0; width: min(1120px, calc(100vw - 40px)); max-height: min(90vh, 900px); background: var(--paper); color: var(--ink); overflow: auto; }
.case-modal::backdrop { background: rgba(9,10,8,.76); backdrop-filter: blur(6px); }
.case-dialog { position: relative; min-height: 700px; padding: clamp(34px, 5vw, 76px); }
.case-close { position: sticky; top: 20px; float: right; z-index: 3; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--paper); font-size: 25px; line-height: 1; cursor: pointer; }
.case-close:hover { background: var(--ink); color: white; }
.case-head { padding-right: 70px; }
.case-label { font: 9px/1 var(--mono); color: var(--blue); letter-spacing: .08em; text-transform: uppercase; }
.case-head h2 { margin: 18px 0 24px; font-size: clamp(44px, 6vw, 82px); line-height: .92; letter-spacing: -.06em; }
.case-head > p { max-width: 720px; font-size: 18px; line-height: 1.55; color: #4d4e46; }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 52px 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.case-facts div { min-height: 110px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-facts small { display: block; font: 8px/1 var(--mono); color: var(--muted); margin-bottom: 22px; }
.case-facts strong { font-size: 14px; font-weight: 600; }
.case-body { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; margin-top: 64px; }
.case-body h3 { font: 700 10px/1 var(--mono); color: var(--blue); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.case-body p { margin: 0; font-size: 15px; line-height: 1.68; color: #55564f; }
.case-body ul { padding: 0; margin: 0; list-style: none; }
.case-body li { position: relative; padding: 10px 0 10px 20px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.case-body li::before { content: "↳"; position: absolute; left: 0; color: var(--blue); }
.case-link { margin-top: 44px; display: inline-flex; gap: 18px; align-items: center; background: var(--ink); color: white; padding: 14px 17px; font-size: 12px; }
.case-link:hover { background: var(--blue); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .12s; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { padding-right: 8vw; }
  .hero-system { min-height: 540px; }
  .proof-bar { grid-template-columns: repeat(2, 1fr); }
  .proof-bar > div:nth-child(2) { border-right: 0; }
  .proof-bar > div:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .proof-bar > div:nth-child(4) { border-top: 1px solid var(--line); }
  .project { grid-template-columns: 1fr; }
  .project-meta { margin-bottom: 0; }
  .project h3 { margin-top: 38px; }
  .project-copy { min-height: auto; }
  .project-open { margin-bottom: 10px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-aside { position: static; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { padding-left: 72px; padding-top: 0; max-width: 780px; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  .site-header { height: 70px; }
  .desktop-nav, .brand-name { display: none; }
  .menu-toggle { display: grid; }
  .hero { padding-top: 108px; padding-bottom: 50px; gap: 44px; }
  .hero-copy { padding-right: 0; }
  .eyebrow-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hero h1 { font-size: clamp(49px, 15vw, 74px); }
  .hero-intro { width: 100%; margin-top: 27px; font-size: 15px; }
  .hero-cta { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-system { min-height: 460px; padding: 12px; box-shadow: 9px 9px 0 var(--paper-2); }
  .system-canvas { min-height: 390px; }
  .node { width: 108px; min-height: 68px; padding: 9px; }
  .node strong { font-size: 11px; }
  .node small { font-size: 7px; }
  .node-index { font-size: 7px; }
  .proof-bar { padding: 0; }
  .proof-bar > div { padding: 18px; min-height: 100px; flex-direction: column; align-items: flex-start; }
  .proof-bar span { max-width: none; }
  .work { padding-top: 100px; padding-bottom: 110px; }
  .section-heading, .section-heading.compact, .section-heading.inverted { grid-template-columns: 36px 1fr; gap: 10px; }
  .section-heading .section-note { grid-column: 2; margin-top: 20px; }
  .section-heading h2, .about h2 { font-size: 48px; }
  .project { padding: 48px 0; min-height: auto; gap: 30px; }
  .project h3 { font-size: 40px; }
  .project-copy > p { font-size: 14px; }
  .project-visual { min-height: 360px; }
  .sync-grid { grid-template-columns: 1fr; padding: 26px 12px; gap: 8px; }
  .sync-center { flex-direction: row; justify-content: center; }
  .sync-card { min-height: 72px; }
  .sync-core { width: 100px; min-height: 80px; }
  .sync-arrow { transform: rotate(90deg); }
  .log-lines { display: none; }
  .dash-layout { grid-template-columns: 1fr; height: auto; }
  .budget-card { display: none; }
  .orders-card { min-height: 250px; }
  .micro-map { height: 270px; }
  .micro-node { min-width: 72px; min-height: 48px; font-size: 7px; }
  .micro-node.gateway { width: 90px; height: 62px; }
  .micro-foot { flex-wrap: wrap; }
  .chess-board { width: 90%; }
  .experience { padding-bottom: 100px; }
  .experience-grid { padding-top: 50px; }
  .timeline { padding-left: 26px; }
  .timeline-line { left: 3px; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; }
  .timeline-item::before { left: -27px; }
  .experience-aside { padding: 28px; }
  .stack-section { padding: 100px 0; }
  .stack-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .stack-grid article { min-height: 200px; }
  .about { padding-top: 100px; padding-bottom: 100px; }
  .about-title { grid-template-columns: 36px 1fr; }
  .about-copy { padding-left: 36px; }
  .contact { min-height: 100svh; }
  .contact-inner { padding-top: 90px; }
  .contact h2 { font-size: clamp(54px, 17vw, 86px); }
  .contact-inner > p:not(.kicker) { font-size: 15px; }
  .contact-footer { grid-template-columns: 1fr auto; }
  .contact-footer span:nth-child(2) { display: none; }
  .case-modal { width: calc(100vw - 18px); max-height: 94vh; }
  .case-dialog { padding: 28px 22px 40px; }
  .case-head { padding-right: 45px; }
  .case-facts { grid-template-columns: 1fr; }
  .case-body { grid-template-columns: 1fr; gap: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Experience layer inspired by modern motion portfolios */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  gap: 22px;
  padding: clamp(24px, 4vw, 64px);
  background: var(--ink);
  color: white;
  transition: transform .9s cubic-bezier(.76,0,.24,1), visibility .9s;
}
.intro-loader.is-hidden { transform: translateY(-105%); visibility: hidden; }
.loader-name { align-self: center; font-size: clamp(58px, 12vw, 190px); font-weight: 750; line-height: .8; letter-spacing: -.085em; }
.loader-line { height: 1px; background: rgba(255,255,255,.16); overflow: hidden; }
.loader-line span { display: block; width: 42%; height: 100%; background: var(--lime); animation: loaderSweep 1.05s cubic-bezier(.76,0,.24,1) infinite; }
.loader-meta { display: flex; justify-content: space-between; font: 9px/1 var(--mono); letter-spacing: .12em; color: #a3a59d; }
@keyframes loaderSweep { from { transform: translateX(-120%); } to { transform: translateX(340%); } }

.cursor-dot, .cursor-ring { display: none; position: fixed; left: 0; top: 0; pointer-events: none; z-index: 2500; border-radius: 50%; transform: translate3d(-100px,-100px,0); }
@media (pointer:fine) {
  .cursor-dot { display: block; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--ink); }
  .cursor-ring { display: block; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(17,18,15,.42); transition: width .2s, height .2s, margin .2s, background .2s, border-color .2s; }
  body.cursor-active .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(33,72,255,.08); border-color: var(--blue); }
}

.hero-stage {
  --mx: 0px;
  --my: 0px;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  background: var(--paper);
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at calc(50% + var(--mx)) calc(45% + var(--my)), rgba(255,255,255,.88), transparent 44%);
}
.hero-particles, .hero-grid, .hero-glow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-particles { z-index: -2; opacity: .85; }
.hero-grid {
  z-index: -4;
  opacity: .55;
  background-image: linear-gradient(rgba(17,18,15,.065) 1px, transparent 1px), linear-gradient(90deg, rgba(17,18,15,.065) 1px, transparent 1px);
  background-size: clamp(44px, 5.2vw, 78px) clamp(44px, 5.2vw, 78px);
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 98%);
}
.hero-glow { z-index: -3; filter: blur(90px); opacity: .58; }
.hero-glow-a { width: 38vw; height: 38vw; inset: 5% auto auto -10%; background: rgba(33,72,255,.16); border-radius: 50%; animation: glowFloatA 11s ease-in-out infinite alternate; }
.hero-glow-b { width: 32vw; height: 32vw; inset: auto -7% 4% auto; background: rgba(199,255,69,.17); border-radius: 50%; animation: glowFloatB 13s ease-in-out infinite alternate; }
@keyframes glowFloatA { to { transform: translate(18vw, 11vh) scale(1.16); } }
@keyframes glowFloatB { to { transform: translate(-15vw, -13vh) scale(.9); } }

.hero-stage-inner {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding-top: 116px;
  padding-bottom: 42px;
}
.hero-topline { display: flex; justify-content: space-between; align-items: center; align-self: start; }
.hero-name-wrap { align-self: center; width: 100%; padding: clamp(28px, 5vh, 70px) 0; }
.hero-name-line { position: relative; display: flex; align-items: center; min-width: 0; }
.hero-name-line-top { justify-content: flex-start; }
.hero-name-line-bottom { justify-content: flex-end; margin-top: clamp(-18px, -1vw, -5px); }
.hero-name {
  display: inline-block;
  font-size: clamp(86px, 16.1vw, 256px);
  font-weight: 790;
  line-height: .72;
  letter-spacing: -.09em;
  white-space: nowrap;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  text-wrap: nowrap;
}
.hero-name-outline {
  color: transparent;
  -webkit-text-stroke: clamp(1px, .09vw, 2px) var(--ink);
  text-stroke: clamp(1px, .09vw, 2px) var(--ink);
}
.hero-orbit {
  position: relative;
  width: clamp(84px, 9vw, 145px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 1px solid rgba(17,18,15,.24);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-left: clamp(22px, 4vw, 64px);
  animation: orbitRotate 13s linear infinite;
}
.orbit-two { order: -1; margin-left: 0; margin-right: clamp(24px, 4vw, 64px); animation-direction: reverse; animation-duration: 16s; }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(17,18,15,.18); transform: translate(-50%,-50%); }
.hero-orbit::before { width: 130%; height: 1px; }
.hero-orbit::after { height: 130%; width: 1px; }
.hero-orbit i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); top: 10%; left: 18%; box-shadow: 0 0 0 6px rgba(33,72,255,.1); }
.hero-orbit b { font: 700 11px/1 var(--mono); letter-spacing: .08em; animation: orbitCounter 13s linear infinite; }
.orbit-two b { animation-direction: reverse; animation-duration: 16s; }
@keyframes orbitRotate { to { transform: rotate(360deg); } }
@keyframes orbitCounter { to { transform: rotate(-360deg); } }

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(200px,.72fr) minmax(300px,1.1fr) auto;
  align-items: end;
  gap: clamp(26px, 4vw, 70px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-role { display: flex; gap: 16px; align-items: flex-start; }
.hero-role-index { font: 9px/1 var(--mono); color: var(--blue); padding-top: 4px; }
.hero-role-title { margin: 0; font-size: 17px; font-weight: 680; letter-spacing: -.02em; }
.hero-role-stack { margin: 8px 0 0; font: 8px/1.45 var(--mono); color: var(--muted); letter-spacing: .06em; }
.hero-stage .hero-intro { width: auto; margin: 0; max-width: 600px; font-size: clamp(14px, 1.05vw, 17px); line-height: 1.55; }
.hero-stage .hero-cta { margin: 0; flex-direction: column; align-items: stretch; gap: 11px; min-width: 190px; }
.hero-stage .text-link { justify-content: space-between; }
.hero-scroll { position: absolute; right: var(--pad); bottom: 45%; display: flex; align-items: center; gap: 10px; transform: rotate(90deg) translateX(50%); transform-origin: right center; font: 8px/1 var(--mono); letter-spacing: .14em; color: var(--muted); }
.hero-scroll i { display: block; width: 42px; height: 1px; background: var(--ink); transform-origin: left; animation: scrollLine 1.7s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleX(.25); opacity: .35; } 50% { transform: scaleX(1); opacity: 1; } }

.interactive-card { position: relative; }
.interactive-card::before {
  content: "";
  position: absolute;
  inset: 18px 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle 260px at var(--card-x,50%) var(--card-y,50%), rgba(33,72,255,.08), transparent 70%);
  transition: opacity .25s ease;
}
.interactive-card:hover::before { opacity: 1; }
.project-visual { transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .55s cubic-bezier(.2,.8,.2,1); transform-origin: center; }
.project:hover .project-visual { transform: translateY(-8px) rotate(.35deg) scale(1.012); box-shadow: 0 24px 60px rgba(17,18,15,.14); }
.project h3 { transition: color .25s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.project:hover h3 { color: var(--blue); transform: translateX(8px); }
.stack-grid article { transition: background .3s ease, transform .3s ease, color .3s ease; }
.stack-grid article:hover { background: #20231c; transform: translateY(-6px); }

@media (max-width: 980px) {
  .hero-stage-inner { padding-top: 105px; padding-bottom: 30px; }
  .hero-name { font-size: clamp(78px, 17vw, 150px); }
  .hero-orbit { width: clamp(68px, 11vw, 100px); }
  .hero-bottom { grid-template-columns: 1fr 1.3fr; }
  .hero-stage .hero-cta { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .hero-scroll { display: none; }
}

@media (max-width: 680px) {
  .intro-loader { padding: 24px; }
  .loader-name { font-size: 17vw; }
  .loader-meta span:last-child { display: none; }
  .hero-stage-inner { padding-top: 96px; min-height: 100svh; }
  .hero-topline { align-items: flex-start; gap: 14px; }
  .hero-location { text-align: right; max-width: 130px; line-height: 1.45; }
  .hero-name-wrap { padding: 9vh 0 8vh; }
  .hero-name-line { display: block; }
  .hero-name { font-size: clamp(70px, 25.5vw, 118px); line-height: .78; }
  .hero-name-line-bottom { text-align: right; margin-top: 6px; }
  .hero-orbit { display: none; }
  .hero-bottom { grid-template-columns: 1fr; gap: 22px; }
  .hero-stage .hero-intro { max-width: none; }
  .hero-stage .hero-cta { grid-column: auto; flex-direction: row; flex-wrap: wrap; }
  .hero-stage .button { flex: 1 1 190px; }
  .hero-stage .text-link { flex: 1 1 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-loader { display: none; }
  .hero-glow, .hero-orbit, .hero-orbit b, .hero-scroll i, .loader-line span { animation: none; }
  .hero-name, .magnetic { transform: none !important; }
}
.hero-stage {
  display: block;
  grid-template-columns: none;
  gap: 0;
  align-items: initial;
}


/* 2026-10 interactive neutral redesign */
:root {
  --accent: #86e7a4;
  --accent-soft: rgba(134, 231, 164, .16);
  --accent-faint: rgba(134, 231, 164, .07);
  --night: #0d100e;
  --night-2: #121613;
  --night-line: rgba(241, 246, 241, .13);
  --pointer-x: 50vw;
  --pointer-y: 45vh;
}

body { position: relative; }
main { position: relative; z-index: 1; }
.site-header, .mobile-menu, .intro-loader, .progress, .cursor-dot, .cursor-ring { z-index: 100; }
.site-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .82;
}
.site-ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--pointer-x) var(--pointer-y), rgba(134,231,164,.055), transparent 72%);
  transition: opacity .25s ease;
}
.ambient-orb { position: absolute; border-radius: 999px; filter: blur(95px); opacity: .18; will-change: transform; }
.ambient-orb-a { width: 36vw; height: 36vw; min-width: 380px; min-height: 380px; top: 18vh; left: -12vw; background: rgba(92, 184, 122, .26); animation: ambientDriftA 18s ease-in-out infinite alternate; }
.ambient-orb-b { width: 32vw; height: 32vw; min-width: 340px; min-height: 340px; right: -12vw; top: 56vh; background: rgba(176, 190, 168, .20); animation: ambientDriftB 22s ease-in-out infinite alternate; }
.ambient-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(17,18,15,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(17,18,15,.028) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); }
@keyframes ambientDriftA { to { transform: translate3d(22vw, 28vh, 0) scale(1.08); } }
@keyframes ambientDriftB { to { transform: translate3d(-18vw, 24vh, 0) scale(.92); } }

.work { position: relative; isolation: isolate; }
.work::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100vw;
  inset: 0 auto 0 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(800px circle at 8% 14%, rgba(134,231,164,.08), transparent 66%),
    radial-gradient(720px circle at 92% 72%, rgba(132,143,132,.08), transparent 65%);
  pointer-events: none;
}

.project-list { gap: 30px; padding-top: 44px; }
.project {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 585px;
  padding: clamp(34px, 4.2vw, 62px);
  border: 1px solid var(--night-line);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(16,19,17,.985), rgba(10,12,11,.995));
  color: #f5f7f3;
  box-shadow: 0 30px 80px rgba(17,18,15,.07);
  isolation: isolate;
  transition: border-color .35s ease, box-shadow .45s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.project::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: .58;
  background:
    radial-gradient(560px circle at var(--card-x, 72%) var(--card-y, 42%), rgba(117,224,151,.17), transparent 66%),
    radial-gradient(620px circle at 78% 44%, rgba(67, 91, 76, .17), transparent 70%);
  transition: opacity .35s ease;
}
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 72% 50%, black, transparent 72%);
}
.project:hover { border-color: rgba(134,231,164,.32); box-shadow: 0 38px 95px rgba(12,16,13,.16), inset 0 1px rgba(255,255,255,.025); transform: translateY(-5px); }
.project:hover::before { opacity: 1; }
.project-meta { color: rgba(240,244,239,.48); }
.project-copy { position: relative; z-index: 2; }
.project-copy > p { color: rgba(238,243,237,.64); }
.project h3 { color: #f7f9f6; }
.project:hover h3 { color: #a2f1b9; transform: translateX(7px); }
.tags span { color: rgba(238,243,237,.68); border-color: rgba(238,243,237,.17); background: rgba(255,255,255,.018); }
.project-open { color: #f3f6f2; border-color: rgba(238,243,237,.20); }
.project-open:hover { color: #a2f1b9; }
.project-visual {
  z-index: 1;
  border: 1px solid rgba(244,248,243,.12);
  border-radius: 24px;
  box-shadow: 0 26px 80px rgba(0,0,0,.25);
  transform: perspective(1100px) translate3d(var(--visual-x, 0), var(--visual-y, 0), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .18s ease-out, box-shadow .45s ease, border-color .35s ease;
  will-change: transform;
}
.project:hover .project-visual { transform: perspective(1100px) translate3d(var(--visual-x, 0), calc(var(--visual-y, 0px) - 5px), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); box-shadow: 0 34px 90px rgba(0,0,0,.36); border-color: rgba(134,231,164,.21); }

.visual-coaching { background: radial-gradient(circle at 52% 45%, rgba(77,128,91,.18), transparent 42%), #0c100d; color: #eef5ef; }
.micro-title, .micro-foot { color: rgba(237,244,238,.50); }
.micro-node { border-color: rgba(239,247,241,.18); background: rgba(23,29,25,.86); color: #e9f2eb; backdrop-filter: blur(10px); box-shadow: 0 10px 32px rgba(0,0,0,.18); }
.micro-node.gateway { background: #92e8aa; color: #0c130e; border-color: #92e8aa; box-shadow: 0 0 42px rgba(134,231,164,.18); }
.micro-node.kafka { background: #171b18; color: #dce8df; }
.micro-lines { opacity: .42; filter: invert(1); }
.micro-node.service { animation: nodeFloat 5.5s ease-in-out infinite; }
.micro-node.s2 { animation-delay: -.9s; }
.micro-node.s3 { animation-delay: -1.8s; }
.micro-node.s4 { animation-delay: -2.7s; }
.micro-node.kafka { animation: nodePulse 4.2s ease-in-out infinite; }
@keyframes nodeFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes nodePulse { 0%,100% { box-shadow: 0 0 0 rgba(134,231,164,0); } 50% { box-shadow: 0 0 35px rgba(134,231,164,.13); } }

.visual-chess { background: radial-gradient(circle at 50% 52%, rgba(75,106,84,.17), transparent 46%), #0c0f0d; }
.chess-board { box-shadow: 0 18px 42px rgba(0,0,0,.26); }
.chess-board span { background: #d9ded8; }
.chess-board span.dark { background: #303731; }
.chess-board span.piece::after { background: #8fe5a7; box-shadow: 0 0 18px rgba(134,231,164,.22), inset 0 0 0 4px rgba(255,255,255,.2); animation: chessPieceGlow 3.8s ease-in-out infinite; }
.chess-board span.piece.alt::after { background: #e8ede8; }
@keyframes chessPieceGlow { 50% { box-shadow: 0 0 28px rgba(134,231,164,.42), inset 0 0 0 4px rgba(255,255,255,.25); } }
.test-strip i { background: #8fe5a7; }

.visual-ipa { background: radial-gradient(circle at 50% 50%, rgba(67,100,76,.10), transparent 45%), #0b0e0c; }
.window-bar i:first-child, .sync-core { border-color: #8fe5a7; }
.window-bar i:first-child { background: #8fe5a7; }
.signal.ok { color: #8fe5a7; }

.visual-clothing { background: radial-gradient(circle at 68% 24%, rgba(132,165,142,.17), transparent 42%), #111512; color: #eaf1eb; }
.dash-head, .dash-footer { color: rgba(235,243,237,.52); }
.budget-card, .orders-card { background: rgba(246,249,246,.93); border-color: rgba(255,255,255,.15); color: #151a16; }
.budget-ring { background: conic-gradient(#77d594 72%, #dfe5df 72%); }
.order-row i { background: #dfe9e1; }

.experience { position: relative; }
.experience-aside {
  background: linear-gradient(145deg, #111512, #0b0e0c);
  color: #f5f7f3;
  border: 1px solid rgba(17,18,15,.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(17,18,15,.09);
}
.experience-aside::before { content: ""; position: absolute; width: 320px; height: 320px; top: -120px; right: -120px; border-radius: 50%; background: rgba(134,231,164,.12); filter: blur(55px); animation: asideGlow 8s ease-in-out infinite alternate; pointer-events: none; }
@keyframes asideGlow { to { transform: translate(-70px, 100px) scale(1.18); } }

.stack-section { position: relative; overflow: hidden; background: #0d100e; }
.stack-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(620px circle at var(--pointer-x) var(--pointer-y), rgba(134,231,164,.075), transparent 72%), linear-gradient(120deg, transparent 10%, rgba(255,255,255,.012), transparent 70%); }
.stack-inner { position: relative; z-index: 1; }
.stack-personal { background: #141915; }
.stack-grid article:hover { background: #19201a; }

.contact { position: relative; overflow: hidden; background: #0c0f0d; color: white; }
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px circle at var(--pointer-x) var(--pointer-y), rgba(134,231,164,.14), transparent 70%); }
.contact::after { content: ""; position: absolute; inset: 0; opacity: .24; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.038) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.038) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 70% 52%, black, transparent 75%); }
.contact-inner { position: relative; z-index: 1; }
.contact .kicker { color: #9eeab4; }
.contact-inner > p:not(.kicker) { color: rgba(239,245,240,.68); }
.contact-footer { color: rgba(239,245,240,.52); }
.contact-mail:hover { color: #9eeab4; border-color: #9eeab4; }

.case-link:hover { background: #23482e; }

@media (max-width: 860px) {
  .project { border-radius: 25px; padding: 28px; }
  .project-list { gap: 18px; }
  .project-visual { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-orb, .micro-node.service, .micro-node.kafka, .chess-board span.piece::after, .experience-aside::before { animation: none; }
  .project, .project-visual { transform: none !important; }
}

/* 2026-10 full dark edition — Kenta-inspired, original implementation */
:root {
  --paper: #090b0a;
  --paper-2: #0f1210;
  --ink: #f2f4f1;
  --muted: #8d938c;
  --line: rgba(236, 242, 237, .12);
  --blue: #83dfa0;
  --blue-dark: #65c985;
  --dark: #090b0a;
  --dark-2: #0f1210;
  --white: #f5f7f4;
  --lime: #91e7aa;
  --accent: #91e7aa;
  --accent-soft: rgba(145, 231, 170, .14);
  --accent-faint: rgba(145, 231, 170, .065);
  --night: #0a0d0b;
  --night-2: #101411;
  --night-line: rgba(240, 246, 241, .12);
}

html { background: #090b0a; color-scheme: dark; }
body {
  background:
    radial-gradient(900px 600px at 6% 0%, rgba(77, 124, 91, .11), transparent 68%),
    radial-gradient(820px 620px at 96% 22%, rgba(87, 123, 98, .075), transparent 72%),
    #090b0a;
  color: var(--ink);
}
::selection { background: #91e7aa; color: #08100a; }
.progress span { background: #91e7aa; box-shadow: 0 0 12px rgba(145,231,170,.38); }

.site-header { color: #eef2ed; }
.site-header.scrolled {
  background: rgba(9, 11, 10, .78);
  border-color: rgba(239,244,240,.10);
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}
.brand { color: #f2f4f1; }
.brand-mark {
  color: #09100b;
  background: #91e7aa;
  border-radius: 8px;
  box-shadow: 0 0 28px rgba(145,231,170,.12);
}
.desktop-nav a { color: rgba(238,243,239,.69); }
.desktop-nav a:hover { color: #f7faf7; }
.lang-toggle, .icon-link, .menu-toggle {
  border-color: rgba(239,244,240,.14);
  color: rgba(241,246,242,.78);
  background: rgba(255,255,255,.015);
}
.lang-toggle:hover, .icon-link:hover, .menu-toggle:hover {
  background: rgba(145,231,170,.10);
  border-color: rgba(145,231,170,.30);
  color: #a8efbb;
}
.mobile-menu {
  background:
    radial-gradient(600px 500px at 90% 10%, rgba(145,231,170,.10), transparent 68%),
    #090b0a;
  color: #f2f4f1;
}
.mobile-menu nav a { border-color: rgba(239,244,240,.12); }
.mobile-menu-meta { color: #858c85; }

.site-ambient { opacity: 1; }
.site-ambient::before {
  background: radial-gradient(540px circle at var(--pointer-x) var(--pointer-y), rgba(145,231,170,.07), transparent 72%);
}
.ambient-orb { filter: blur(125px); opacity: .18; }
.ambient-orb-a { background: rgba(86, 177, 114, .22); }
.ambient-orb-b { background: rgba(130, 157, 138, .15); }
.ambient-grid {
  opacity: .42;
  background-image:
    linear-gradient(rgba(242,247,243,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,247,243,.025) 1px, transparent 1px);
  background-size: 74px 74px;
}

.intro-loader { background: #080a09; color: #f3f6f2; }
.loader-line { background: rgba(255,255,255,.11); }
.loader-line span { background: #91e7aa; }
.loader-meta { color: #858c85; }

.hero-stage {
  position: relative;
  background: transparent;
  color: #f2f4f1;
  isolation: isolate;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background:
    radial-gradient(720px 560px at 14% 42%, rgba(145,231,170,.075), transparent 70%),
    radial-gradient(560px 460px at 84% 58%, rgba(114,135,120,.08), transparent 72%);
}
.hero-grid {
  opacity: .34;
  background-image:
    linear-gradient(rgba(238,244,239,.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238,244,239,.027) 1px, transparent 1px);
}
.hero-glow { opacity: .46; filter: blur(115px); }
.hero-glow-a { background: rgba(91, 181, 118, .18); }
.hero-glow-b { background: rgba(142, 161, 147, .13); }
.status-pill {
  border-color: rgba(239,244,240,.14);
  background: rgba(255,255,255,.018);
  color: rgba(241,246,242,.78);
}
.status-pill i { background: #91e7aa; box-shadow: 0 0 0 4px rgba(145,231,170,.10), 0 0 20px rgba(145,231,170,.28); }
.hero-location { color: #7f877f; }
.hero-name { color: #f3f5f2; text-shadow: 0 12px 50px rgba(0,0,0,.28); }
.hero-name-outline {
  color: transparent;
  -webkit-text-stroke-color: rgba(239,244,240,.80);
  text-stroke-color: rgba(239,244,240,.80);
}
.hero-orbit {
  border-color: rgba(239,244,240,.18);
  background: rgba(255,255,255,.012);
  box-shadow: inset 0 0 50px rgba(145,231,170,.025);
}
.hero-orbit::before, .hero-orbit::after { background: rgba(239,244,240,.11); }
.hero-orbit i { background: #91e7aa; box-shadow: 0 0 0 6px rgba(145,231,170,.07), 0 0 22px rgba(145,231,170,.35); }
.hero-orbit b { color: rgba(242,247,243,.80); }
.hero-bottom { border-color: rgba(239,244,240,.12); }
.hero-role-index { color: #91e7aa; }
.hero-role-title { color: #edf1ed; }
.hero-role-stack { color: #858c85; }
.hero-stage .hero-intro { color: #9ba29b; }
.button-dark {
  color: #09100b;
  background: #91e7aa;
  border: 1px solid #91e7aa;
  border-radius: 999px;
  box-shadow: 0 12px 38px rgba(0,0,0,.22);
}
.button-dark:hover {
  color: #071008;
  background: #a7efba;
  border-color: #a7efba;
  box-shadow: 0 16px 50px rgba(145,231,170,.10);
}
.text-link {
  color: rgba(241,246,242,.84);
  border-color: rgba(239,244,240,.32);
}
.text-link:hover { color: #a5efb9; border-color: #a5efb9; }
.hero-scroll { color: #737b74; }
.hero-scroll i { background: rgba(239,244,240,.48); }

.proof-bar {
  position: relative;
  border-color: rgba(239,244,240,.10);
  background: rgba(255,255,255,.008);
  backdrop-filter: blur(8px);
}
.proof-bar > div { border-color: rgba(239,244,240,.10); }
.proof-bar strong { color: #f2f4f1; }
.proof-bar span { color: #777f78; }

.work { color: #f2f4f1; }
.work::before {
  background:
    radial-gradient(900px circle at 2% 18%, rgba(145,231,170,.055), transparent 67%),
    radial-gradient(860px circle at 96% 70%, rgba(124,144,130,.055), transparent 66%);
}
.section-heading { border-color: rgba(239,244,240,.11); }
.section-number { color: #727a73; }
.kicker { color: #91e7aa; }
.section-heading h2, .about h2, .contact h2 { color: #f1f4f0; }
.section-note { color: #868e87; }

.project-list { gap: 34px; }
.project {
  border-color: rgba(236,243,238,.13);
  background:
    linear-gradient(145deg, rgba(17,20,18,.97), rgba(10,12,11,.995));
  box-shadow: 0 30px 90px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.018);
}
.project::before {
  background:
    radial-gradient(600px circle at var(--card-x, 72%) var(--card-y, 42%), rgba(145,231,170,.16), transparent 66%),
    radial-gradient(680px circle at 80% 44%, rgba(73, 100, 82, .13), transparent 70%);
}
.project::after {
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 58px 58px;
}
.project:hover {
  border-color: rgba(145,231,170,.32);
  box-shadow: 0 42px 110px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.028);
}
.project-meta { color: #747d75; }
.project h3 { color: #f5f7f4; }
.project:hover h3 { color: #a7efba; }
.project-copy > p { color: #9ba29b; }
.tags span {
  color: #9aa29b;
  border-color: rgba(238,244,239,.14);
  background: rgba(255,255,255,.014);
}
.project-open { color: #e5eae5; border-color: rgba(238,244,239,.18); }
.project-open:hover { color: #a7efba; }
.project-visual { border-color: rgba(239,245,240,.11); }

.visual-coaching, .visual-chess, .visual-ipa, .visual-clothing {
  background-color: #0b0e0c;
}
.visual-coaching { background: radial-gradient(circle at 52% 45%, rgba(80,139,97,.18), transparent 44%), #0b0e0c; }
.visual-chess { background: radial-gradient(circle at 50% 52%, rgba(80,126,94,.17), transparent 47%), #0b0e0c; }
.visual-ipa { background: radial-gradient(circle at 50% 50%, rgba(77,115,88,.11), transparent 47%), #090c0a; }
.visual-clothing { background: radial-gradient(circle at 68% 24%, rgba(114,151,124,.14), transparent 44%), #0e1210; }

.experience {
  position: relative;
  color: #f2f4f1;
}
.experience::before {
  content: "";
  position: absolute;
  width: 70vw;
  height: 70vw;
  max-width: 980px;
  max-height: 980px;
  left: -42vw;
  top: 6%;
  border-radius: 50%;
  background: rgba(90,136,104,.055);
  filter: blur(110px);
  pointer-events: none;
}
.timeline-line { background: rgba(239,244,240,.12); }
.timeline-item::before { background: #090b0a; border-color: rgba(241,246,242,.66); box-shadow: 0 0 0 5px rgba(145,231,170,.035); }
.timeline-date { color: #737b74; }
.timeline-item h3 { color: #f1f4f0; }
.timeline-item .role { color: #91e7aa; }
.timeline-item p:not(.role) { color: #909891; }
.timeline-tags span {
  background: #111512;
  border: 1px solid rgba(239,244,240,.08);
  color: #949c95;
}
.experience-aside {
  background:
    radial-gradient(440px 340px at 110% -10%, rgba(145,231,170,.13), transparent 65%),
    linear-gradient(145deg, #121713, #0b0e0c);
  border-color: rgba(239,244,240,.11);
  box-shadow: 0 32px 85px rgba(0,0,0,.28);
}
.mono-label { color: #79827a; }
.process { border-color: rgba(239,244,240,.14); }
.process > div { border-color: rgba(239,244,240,.12); }
.process span { color: #737c74; }
.process p { color: #e6ebe6; }

.stack-section {
  background:
    radial-gradient(760px 560px at 86% 24%, rgba(145,231,170,.065), transparent 70%),
    #0a0d0b;
  border-top: 1px solid rgba(239,244,240,.08);
  border-bottom: 1px solid rgba(239,244,240,.08);
}
.stack-section::before {
  background:
    radial-gradient(650px circle at var(--pointer-x) var(--pointer-y), rgba(145,231,170,.07), transparent 72%),
    linear-gradient(120deg, transparent 10%, rgba(255,255,255,.01), transparent 70%);
}
.section-heading.inverted { border-color: rgba(239,244,240,.12); }
.section-heading.inverted .section-number, .section-heading.inverted .section-note { color: #7b837c; }
.section-heading.inverted .kicker { color: #91e7aa; }
.stack-grid { border-color: rgba(239,244,240,.11); }
.stack-grid article {
  border-color: rgba(239,244,240,.11);
  background: rgba(255,255,255,.006);
}
.stack-grid article:hover { background: rgba(145,231,170,.055); }
.stack-num { color: #687169; }
.stack-grid h3 { color: #f0f3ef; }
.stack-grid p { color: #858e86; }
.stack-personal { background: rgba(145,231,170,.025) !important; }

.about {
  position: relative;
  color: #f2f4f1;
}
.about::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -290px;
  top: 10%;
  border-radius: 50%;
  background: rgba(145,231,170,.055);
  filter: blur(100px);
  pointer-events: none;
}
.about-copy .lead { color: #e7ece7; }
.about-copy > p:not(.lead) { color: #8d958e; }
.about-links { border-color: rgba(239,244,240,.11); }
.about-links a { border-color: rgba(239,244,240,.11); color: #dce2dc; }
.about-links a:hover { color: #a6efb9; }

.contact {
  background:
    radial-gradient(900px 660px at 75% 40%, rgba(145,231,170,.085), transparent 70%),
    #080a09;
  border-top: 1px solid rgba(239,244,240,.08);
}
.contact::before { background: radial-gradient(760px circle at var(--pointer-x) var(--pointer-y), rgba(145,231,170,.11), transparent 70%); }
.contact::after {
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
}
.contact .kicker { color: #91e7aa; }
.contact h2 { color: #f3f6f2; }
.contact-inner > p:not(.kicker) { color: #939b94; }
.contact-mail { color: #f0f4f0; border-color: rgba(239,244,240,.75); }
.contact-mail:hover { color: #a7efba; border-color: #a7efba; }
.contact-footer { color: #707971; }

.case-modal {
  background:
    radial-gradient(620px 420px at 100% 0%, rgba(145,231,170,.08), transparent 72%),
    #0e1210;
  color: #edf2ed;
  border: 1px solid rgba(239,244,240,.12);
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
}
.case-close {
  border-color: rgba(239,244,240,.13);
  background: rgba(14,18,16,.92);
  color: #eff3ef;
}
.case-close:hover { background: rgba(145,231,170,.12); color: #a7efba; }
.case-label, .case-body h3 { color: #91e7aa; }
.case-head > p, .case-body p { color: #929a93; }
.case-facts small { color: #727b73; }
.case-body li::before { color: #91e7aa; }
.case-link { background: #91e7aa; color: #08100a; border-radius: 999px; }
.case-link:hover { background: #a7efba; }

@media (pointer:fine) {
  .cursor-dot { background: #b3f4c4; box-shadow: 0 0 12px rgba(145,231,170,.48); }
  .cursor-ring { border-color: rgba(145,231,170,.42); }
  body.cursor-active .cursor-ring {
    background: rgba(145,231,170,.075);
    border-color: rgba(145,231,170,.72);
  }
}

@media (max-width: 860px) {
  .site-header.scrolled { background: rgba(9,11,10,.90); }
  .proof-bar { background: rgba(255,255,255,.004); }
}
