:root {
  color-scheme: light;
  --page: #F1F5F4;
  --paper: #FFFFFF;
  --ink: #14202B;
  --muted: #596974;
  --line: #D9E2E1;
  --night: #101A25;
  --night-raised: #172533;
  --teal: #36C9B2;
  --teal-deep: #167E77;
  --blue: #7EAAFF;
  --amber: #F0B768;
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(22px, 5.4vw, 88px);
  --max-width: 1320px;
  --nav-height: 74px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 22px); -webkit-text-size-adjust: 100%; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
html.has-lenis { scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: transparent; }
a, button { color: inherit; }
button { font: inherit; }
a { text-underline-offset: .22em; }
::selection { color: var(--night); background: var(--teal); }
:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 4px; border-radius: 5px; }
.shell { width: min(calc(100% - var(--gutter) * 2), var(--max-width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 11px 16px; color: var(--paper); background: var(--night); border-radius: 8px; transform: translateY(-150%); transition: transform .2s var(--ease); }
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.site-nav { position: sticky; z-index: 50; top: 0; height: var(--nav-height); background: var(--page); border-bottom: 1px solid rgb(20 32 43 / 8%); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.04em; }
.wordmark-mark { display: grid; width: 34px; height: 34px; place-items: center; color: var(--night); background: var(--teal); border-radius: 11px; font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.nav-links a { position: relative; padding: 8px 0; color: #44535D; font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.nav-links a::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; background: var(--teal-deep); border-radius: 2px; content: ''; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-links .nav-contact { padding: 10px 15px; color: var(--paper); background: var(--night); border-radius: 9px; }
.nav-links .nav-contact::after { display: none; }
.nav-contact span { margin-left: 4px; color: var(--teal); }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(44px, 5.3vw, 70px) 0 24px; }
.hero::before { display: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr); align-items: center; gap: clamp(42px, 7vw, 100px); }
.hero-copy { max-width: 630px; }
.hero-location { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--muted); font-size: 14px; font-weight: 600; }
.location-pulse, .live-pill i, .visual-state i { width: 8px; height: 8px; flex: 0 0 auto; background: var(--teal-deep); border-radius: 50%; }
.location-pulse { box-shadow: 0 0 0 5px rgb(54 201 178 / 16%); animation: quiet-pulse 2.4s ease-in-out infinite; }
.hero h1 { max-width: 680px; margin: 0; font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 58px); font-weight: 600; line-height: 1.1; letter-spacing: -.048em; }
.hero h1 span { color: var(--teal-deep); }
.hero-description { max-width: 540px; margin: 22px 0 25px; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 15px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 18px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .22s var(--ease), translate .22s var(--ease), background .22s ease, border-color .22s ease, box-shadow .22s ease; }
.button:focus-visible { translate: 0 -3px; }
@media (hover: hover) { .button:hover { translate: 0 -3px; } }
.button:active { translate: 0 -1px; }
.button-primary { color: var(--paper); background: var(--night); box-shadow: 0 8px 20px rgb(16 26 37 / 12%); }
.button-primary span:last-child { color: var(--teal); font-size: 18px; transition: transform .22s var(--ease); }
.button-primary:hover { background: #1C2B39; box-shadow: 0 13px 24px rgb(16 26 37 / 18%); }
.button-primary:hover span:last-child { transform: translate(3px, -3px); }
.button-secondary { color: var(--ink); background: transparent; border-color: #C7D3D1; }
.button-secondary:hover { background: var(--paper); border-color: var(--teal-deep); }
.hero-focus { margin: 21px 0 0; color: #64747D; font-size: 13px; }

/* Interactive system map */
.system-panel { position: relative; overflow: hidden; min-height: 360px; padding: 25px 27px 20px; color: #EEF6F6; background: var(--night); border: 1px solid rgb(255 255 255 / 8%); border-radius: 22px; box-shadow: 0 24px 55px rgb(21 46 56 / 17%); }
.system-panel::before { position: absolute; top: -125px; right: -82px; width: 290px; height: 290px; border: 1px solid rgb(54 201 178 / 17%); border-radius: 50%; content: ''; }
.system-panel::after { position: absolute; top: -84px; right: -42px; width: 210px; height: 210px; border: 1px solid rgb(126 170 255 / 13%); border-radius: 50%; content: ''; }
.system-panel-top, .system-panel-foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.system-kicker { margin: 0 0 2px; color: #9BAFB8; font-size: 12px; font-weight: 600; }
.system-panel h2 { margin: 0; font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -.035em; }
.orbit-mark { position: relative; width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid rgb(54 201 178 / 48%); border-radius: 50%; }
.orbit-mark::before, .orbit-mark::after { position: absolute; width: 25px; height: 25px; border: 1px solid rgb(126 170 255 / 70%); border-radius: 50%; content: ''; transform: rotate(55deg) scaleX(.45); }
.orbit-mark::after { transform: rotate(-55deg) scaleX(.45); }
.orbit-mark span { position: absolute; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; }
.system-map { position: relative; height: 205px; display: flex; align-items: center; justify-content: space-between; padding: 0 3px; isolation: isolate; }
.workflow-canvas { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.workflow-canvas.is-ready { opacity: .94; }
.has-three .system-wires { opacity: .16; }
.has-three .system-node, .has-three .system-node.is-selected { background: transparent; border-color: transparent; box-shadow: none; }
.has-three .node-icon { opacity: 0; }
.system-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wire { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.wire-muted { stroke: #465563; }
.wire-active { stroke: var(--teal); stroke-dasharray: 8 11; animation: flow-dash 8s linear infinite; }
.wire-branch { stroke: #607C9A; stroke-dasharray: 3 6; opacity: .65; }
.system-node { position: relative; z-index: 1; width: 80px; min-height: 94px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 8px 3px; color: #BDCBD1; background: var(--night); border: 1px solid transparent; border-radius: 14px; font-size: 12px; font-weight: 600; cursor: pointer; transition: color .2s ease, translate .24s var(--ease), background .2s ease, border-color .2s ease, box-shadow .24s ease; }
@media (hover: hover) { .system-node:hover { color: #FFFFFF; translate: 0 -4px; } }
.system-node:focus-visible { color: #FFFFFF; translate: 0 -4px; }
.system-node.is-selected { color: #FFFFFF; background: #1B2A37; border-color: rgb(54 201 178 / 48%); box-shadow: 0 8px 22px rgb(0 0 0 / 20%); }
.node-icon { position: relative; width: 38px; height: 38px; display: grid; place-items: center; color: var(--teal); background: #203744; border: 1px solid #365463; border-radius: 12px; font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.node-data { align-content: center; gap: 3px; }
.node-data i { width: 17px; height: 3px; display: block; background: var(--teal); border-radius: 5px; }
.node-data i:nth-child(2) { width: 23px; opacity: .65; }
.node-data i:nth-child(3) { width: 12px; opacity: .42; }
.node-model { grid-template-columns: repeat(2, 6px); align-content: center; justify-content: center; gap: 5px; }
.node-model i { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 8px rgb(126 170 255 / 65%); }
.node-api { color: var(--amber); font-size: 15px; }
.node-deploy { display: flex; align-items: end; justify-content: center; gap: 3px; padding-bottom: 9px; }
.node-deploy i { width: 5px; height: 9px; background: var(--teal); border-radius: 2px 2px 1px 1px; }
.node-deploy i:nth-child(2) { height: 15px; opacity: .8; }
.node-deploy i:nth-child(3) { height: 12px; opacity: .6; }
.system-caption { position: relative; z-index: 1; min-height: 25px; margin: -1px 0 11px; color: #C2D0D6; font-size: 13px; }
.system-panel-foot { padding-top: 12px; color: #899CA6; border-top: 1px solid rgb(255 255 255 / 10%); font-size: 11px; }
.system-foot-mark { width: 27px; height: 8px; background: linear-gradient(90deg, var(--teal) 0 28%, transparent 28% 36%, #718DAB 36% 64%, transparent 64% 72%, var(--amber) 72%); border-radius: 5px; opacity: .9; }
.hero-proof { display: flex; justify-content: flex-start; gap: clamp(20px, 4vw, 56px); padding-top: 24px; color: #5E6E78; font-size: 13px; font-weight: 600; }
.hero-proof span { display: flex; align-items: center; gap: 9px; }
.hero-proof span::before { width: 6px; height: 6px; background: var(--teal-deep); border-radius: 50%; content: ''; }

/* Project showcases */
.work-section { padding: clamp(64px, 6vw, 84px) 0 clamp(72px, 7vw, 98px); background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 34px; }
.eyebrow { margin: 0 0 9px; color: var(--teal-deep); font-size: 13px; font-weight: 700; letter-spacing: .005em; }
.section-heading h2, .about-heading h2, .credentials-heading h2, .education-layout h2 { max-width: 730px; margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1.1; letter-spacing: -.055em; }
.section-heading > p { max-width: 380px; margin: 0 0 4px; color: var(--muted); font-size: 15px; }
.project { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; }
.project-smartreco { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); background: #F8FBFA; box-shadow: 0 14px 36px rgb(20 45 51 / 6%); }
.smartreco-visual { position: relative; overflow: hidden; min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; color: #EAF3F4; background: #12212B; }
.smartreco-visual::before { position: absolute; top: -100px; left: -100px; width: 320px; height: 320px; border: 1px solid rgb(54 201 178 / 17%); border-radius: 50%; content: ''; }
.smartreco-visual::after { position: absolute; right: -140px; bottom: -180px; width: 400px; height: 400px; border: 1px solid rgb(126 170 255 / 13%); border-radius: 50%; content: ''; }
.visual-heading, .phishing-visual-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #DDE9EC; font-size: 12px; font-weight: 600; }
.visual-state { display: inline-flex; align-items: center; gap: 7px; color: #ABC1C6; font-size: 11px; }
.visual-state i { width: 6px; height: 6px; background: var(--teal); }
.reco-flow { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(85px, 1fr) 28px minmax(85px, 1fr) 28px minmax(85px, 1fr) 28px minmax(85px, 1fr); align-items: center; gap: 4px; }
.reco-step { min-height: 139px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; padding: 13px 11px; background: rgb(255 255 255 / 4%); border: 1px solid rgb(255 255 255 / 10%); border-radius: 13px; transition: transform .24s var(--ease), background .24s ease, border-color .24s ease; }
.reco-step:hover { background: rgb(54 201 178 / 9%); border-color: rgb(54 201 178 / 48%); transform: translateY(-5px); }
.reco-step:nth-of-type(1) { animation: node-rise .7s .1s both; }
.reco-step:nth-of-type(2) { animation: node-rise .7s .2s both; }
.reco-step:nth-of-type(3) { animation: node-rise .7s .3s both; }
.reco-step:nth-of-type(4) { animation: node-rise .7s .4s both; }
.reco-step-title { color: #F3F7F7; font-size: 11px; font-weight: 700; line-height: 1.3; }
.reco-step small { color: #A8BBC1; font-size: 10px; line-height: 1.35; }
.reco-icon { width: 30px; height: 30px; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 6px; background: #203945; border-radius: 9px; }
.reco-icon i { width: 14px; height: 2px; background: var(--teal); border-radius: 3px; }
.reco-icon i:nth-child(2) { width: 18px; opacity: .65; }
.reco-icon i:nth-child(3) { width: 10px; opacity: .45; }
.score-icon { flex-direction: row; align-items: end; gap: 2px; }
.score-icon i { width: 4px; height: 7px; }
.score-icon i:nth-child(2) { width: 4px; height: 13px; opacity: .8; }
.score-icon i:nth-child(3) { width: 4px; height: 10px; }
.retrieve-icon { position: relative; border: 1px solid #527087; border-radius: 50%; background: transparent; }
.retrieve-icon i { position: absolute; width: 13px; height: 13px; background: transparent; border: 1px solid var(--blue); border-radius: 50%; }
.retrieve-icon i:nth-child(2) { width: 2px; height: 8px; top: 17px; left: 19px; border: 0; background: var(--blue); transform: rotate(-45deg); }
.retrieve-icon i:nth-child(3) { display: none; }
.ground-icon { display: grid; place-items: center; color: var(--night); background: var(--teal); font-size: 18px; font-weight: 700; }
.flow-link, .pipeline-connector { height: 1px; display: block; background: #55717C; position: relative; }
.flow-link::after, .pipeline-connector::after { position: absolute; top: -3px; right: 0; width: 7px; height: 7px; border-top: 1px solid #86B4BA; border-right: 1px solid #86B4BA; content: ''; transform: rotate(45deg); }
.catalog-preview { position: relative; z-index: 1; height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 12px; background: rgb(255 255 255 / 4%); border: 1px solid rgb(255 255 255 / 8%); border-radius: 8px; }
.catalog-line { width: 20%; height: 4px; background: #607A83; border-radius: 4px; }
.catalog-line:nth-child(2) { width: 31%; opacity: .55; }
.catalog-check { margin-left: auto; color: var(--teal); font-size: 14px; }
.smartreco-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 54px); }
.project-heading-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-heading-line .eyebrow { margin: 0; }
.award-pill, .live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; color: #145C55; background: #DFF6F1; border: 1px solid #C6ECE4; border-radius: 99px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.award-pill::before { width: 6px; height: 6px; background: #25A890; border-radius: 50%; content: ''; }
.smartreco-copy h3, .project-card-content h3, .qazterion-copy h3 { margin: 11px 0 8px; font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 600; line-height: 1.08; letter-spacing: -.055em; }
.project-deck { margin: 0; color: #566771; font-size: 15px; line-height: 1.65; }
.project-points { display: grid; gap: 10px; margin: 17px 0 20px; padding: 0; list-style: none; }
.project-points li { position: relative; padding-left: 19px; color: #4C5C66; font-size: 13px; line-height: 1.55; }
.project-points li::before { position: absolute; top: .61em; left: 0; width: 7px; height: 7px; background: var(--teal-deep); border-radius: 2px; content: ''; transform: rotate(45deg); }
.project-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; margin-top: auto; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 7px; }
.tech-stack span { padding: 5px 9px; color: #4D5F68; background: #EDF2F1; border: 1px solid #E0E8E6; border-radius: 6px; font-size: 10px; font-weight: 600; }
.project-link { display: inline-flex; align-items: center; gap: 8px; color: #126C66; font-size: 13px; font-weight: 700; text-decoration: none; }
.project-link span { transition: transform .2s var(--ease); }
.project-link:hover span, .project-link:focus-visible span { transform: translate(3px, -3px); }
.project-link:hover, .project-link:focus-visible { color: #0A4F4A; }
.award-context { margin: 11px 0 0; color: #75848B; font-size: 11px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.project-agentcare, .project-phishing { background: var(--paper); }
.agentcare-visual { position: relative; min-height: 245px; display: grid; place-items: center; overflow: hidden; color: var(--paper); background: #142530; }
.agentcare-visual::before { position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / 9%) .7px, transparent .7px); background-size: 18px 18px; content: ''; mask-image: linear-gradient(90deg, black, transparent 88%); }
.agent-orbit { position: absolute; width: 174px; height: 174px; border: 1px solid #42606A; border-radius: 50%; }
.orbit-one { animation: orbit-drift 26s linear infinite; }
.orbit-two { width: 125px; height: 125px; border-color: #376D70; transform: rotateX(58deg) rotate(-24deg); }
.agent-center { position: relative; z-index: 2; width: 78px; height: 78px; display: grid; place-items: center; color: var(--night); background: var(--teal); border: 6px solid #244149; border-radius: 50%; font-size: 11px; font-weight: 700; box-shadow: 0 0 35px rgb(54 201 178 / 17%); }
.agent-node { position: absolute; z-index: 2; width: 29px; height: 29px; display: grid; place-items: center; color: #DCEAF0; background: #294453; border: 1px solid #66808A; border-radius: 9px; font-size: 10px; font-weight: 700; box-shadow: 0 5px 14px rgb(0 0 0 / 18%); animation: agent-glow 4s ease-in-out infinite; }
.agent-a { top: calc(50% - 95px); left: calc(50% - 15px); }.agent-b { top: calc(50% - 56px); left: calc(50% + 77px); animation-delay: .4s; }.agent-c { top: calc(50% + 43px); left: calc(50% + 62px); animation-delay: .8s; }.agent-d { top: calc(50% + 65px); left: calc(50% - 42px); animation-delay: 1.2s; }.agent-e { top: calc(50% + 7px); left: calc(50% - 98px); animation-delay: 1.6s; }.agent-f { top: calc(50% - 77px); left: calc(50% - 72px); animation-delay: 2s; }
.agent-approval { position: absolute; right: 18px; bottom: 17px; padding: 7px 10px; color: #D7E7E8; background: #233843; border: 1px solid #42616D; border-radius: 8px; font-size: 10px; }
.agentcare-caption { position: absolute; top: 16px; left: 18px; color: #B8C9CE; font-size: 11px; font-weight: 600; }
.project-card-content { min-height: 430px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px clamp(22px, 2.5vw, 34px) 27px; }
.project-card-content h3 { margin-top: 8px; font-size: 36px; }
.live-pill { color: #3B644C; background: #E8F4E8; border-color: #D6E9D7; }
.live-pill i { width: 6px; height: 6px; background: #579360; }
.evidence-strip { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); margin: 19px 0 4px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.evidence-strip div { display: flex; flex-direction: column; gap: 0; padding-left: 14px; border-left: 1px solid var(--line); }
.evidence-strip div:first-child { padding-left: 0; border-left: 0; }
.evidence-strip dt { color: var(--muted); font-size: 11px; }
.evidence-strip dd { margin: 0; color: var(--ink); font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.2; }
.project-phishing { background: #F4F8FB; }
.phishing-visual { min-height: 245px; display: flex; flex-direction: column; justify-content: space-between; padding: 19px; color: #EBF4FA; background: #162538; }
.phishing-visual-top { color: #C5D5E3; }
.shield-mark { width: 29px; height: 32px; display: grid; place-items: center; color: var(--teal); border: 1px solid #3C6E78; border-radius: 11px 11px 13px 13px; font-size: 14px; }
.pipeline-flow { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.pipeline-node { min-width: 58px; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.pipeline-glyph { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 3px; color: var(--teal); background: #253A4E; border: 1px solid #3B5368; border-radius: 10px; font-size: 16px; }
.glyph-database { position: relative; border-radius: 50% / 20%; background: linear-gradient(#31546A 0 18%, #203C50 18% 83%, #31546A 83%); }
.glyph-database::after { width: 32px; height: 9px; position: absolute; top: 10px; left: 1px; border-top: 1px solid #53778B; border-bottom: 1px solid #53778B; content: ''; }
.glyph-validate { color: var(--night); background: var(--teal); font-weight: 700; }
.glyph-model { display: flex; align-items: center; justify-content: center; gap: 3px; }
.glyph-model i { width: 4px; height: 7px; background: var(--blue); border-radius: 3px; }.glyph-model i:nth-child(2) { height: 15px; }.glyph-model i:nth-child(3) { height: 11px; }
.glyph-cloud { color: var(--amber); font-size: 20px; }
.pipeline-node strong { font-size: 11px; }.pipeline-node small { color: #9DB0C1; font-size: 9px; white-space: nowrap; }
.pipeline-connector { min-width: 13px; flex: 1; margin-top: -30px; background: #52697D; }
.pipeline-connector::after { border-color: #7895A6; }
.project-phishing .project-card-content { min-height: 363px; }
.project-qazterion { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: clamp(30px, 6vw, 82px); align-items: center; margin-top: 22px; padding: clamp(27px, 4vw, 52px); background: #EAF2F3; }
.qazterion-copy h3 { margin-top: 6px; }
.qazterion-visual { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; padding: 27px 12px; }
.workflow-path { position: absolute; top: 54px; right: 10%; left: 10%; height: 2px; overflow: hidden; background: #CBD8D9; }
.workflow-path span { position: absolute; top: 0; left: -26%; width: 24%; height: 2px; background: var(--teal-deep); box-shadow: 0 0 8px rgb(22 126 119 / 50%); animation: flow-dash 4s linear infinite; }
.workflow-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #65757D; font-size: 11px; font-weight: 600; text-align: center; }
.workflow-step b { width: 54px; height: 54px; display: grid; place-items: center; color: #718189; background: #F8FBFA; border: 1px solid #CCD9D9; border-radius: 16px; font-family: var(--font-display); font-size: 13px; font-weight: 600; box-shadow: 0 5px 12px rgb(29 55 61 / 5%); transition: transform .24s var(--ease), border-color .2s ease, background .2s ease; }
.workflow-step:hover b { transform: translateY(-4px); border-color: var(--teal-deep); }
.workflow-step i { position: absolute; top: 37px; right: calc(50% - 29px); width: 18px; height: 18px; display: grid; place-items: center; color: var(--night); background: var(--teal); border: 2px solid #EAF2F3; border-radius: 50%; font-size: 9px; font-style: normal; }
.workflow-step.is-recovery b { color: #80581E; background: #FFF5E4; border-color: #F0D7A8; }.workflow-step.is-recovery i { color: var(--night); background: var(--amber); }

/* About and credentials */
.section-dark { color: #EDF4F5; background: var(--night); }
.about-section { padding: clamp(72px, 8vw, 108px) 0; }
.about-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(45px, 9vw, 140px); }
.about-heading .eyebrow, .credentials-heading .eyebrow, .education-layout .eyebrow, .contact-main .eyebrow { color: var(--teal); }
.about-heading h2 { max-width: 500px; font-size: clamp(33px, 4vw, 48px); }
.about-content { max-width: 620px; }
.about-lead { margin: 0 0 17px; color: #F3F8F8; font-size: 19px; line-height: 1.5; }
.about-content > p:not(.about-lead) { margin: 0; color: #B2C0C5; font-size: 15px; }
.about-notes { display: grid; gap: 12px; margin-top: 27px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 14%); }
.about-notes div { display: grid; grid-template-columns: 145px 1fr; gap: 15px; font-size: 13px; }
.note-label { color: #8EA1A8; font-weight: 600; }.about-notes div span:last-child { color: #E0E9EB; }
.credentials-section { padding: clamp(72px, 8vw, 108px) 0; background: var(--page); }
.credentials-layout { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: clamp(42px, 8vw, 116px); }
.credentials-heading { align-self: start; position: sticky; top: calc(var(--nav-height) + 24px); }
.credentials-heading h2 { font-size: clamp(34px, 4vw, 48px); }
.cert-list { border-top: 1px solid #CAD7D5; }
.cert-item { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid #CAD7D5; }
.cert-item h3 { margin: 0; font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.cert-meta { margin: 6px 0 0; color: #53646D; font-size: 12px; }.cert-desc { margin: 6px 0 0; color: #64747C; font-size: 13px; }
.cert-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 10px; }
.cert-preview-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; color: #126C66; background: #E8F3F1; border: 1px solid #CFE5E1; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.cert-preview-btn:hover, .cert-preview-btn:focus-visible { background: #DCEEEB; border-color: #9FD1C8; transform: translateY(-1px); }
.cert-preview-dialog { width: min(820px, calc(100% - 28px)); max-height: 90vh; padding: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 28px 80px rgb(16 26 37 / 28%); overflow: hidden; }
.cert-preview-dialog::backdrop { background: rgb(16 26 37 / 62%); backdrop-filter: blur(4px); }
.cert-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cert-preview-head .eyebrow { margin: 0 0 2px; font-size: 11px; }
.cert-preview-head h3 { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.cert-preview-close { width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); background: #F2F6F5; border: 1px solid var(--line); border-radius: 8px; font-size: 20px; line-height: 1; cursor: pointer; }
.cert-preview-stage { position: relative; max-height: 68vh; overflow: auto; display: grid; place-items: center; padding: 20px; background: #EEF3F2; user-select: none; -webkit-user-select: none; }
.cert-preview-stage img { display: block; max-width: 100%; max-height: 62vh; object-fit: contain; border-radius: 8px; pointer-events: none; -webkit-user-drag: none; }
.cert-preview-stage iframe { width: 100%; height: 62vh; border: 0; border-radius: 8px; background: #fff; }
.cert-preview-shield { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(-30deg, transparent 0 140px, rgb(20 32 43 / 2.5%) 140px 141px); }
.cert-preview-note { margin: 0; padding: 11px 22px; color: var(--muted); background: #F8FBFA; border-top: 1px solid var(--line); font-size: 12px; }
.education-section { padding: clamp(65px, 7vw, 94px) 0; }
.education-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(42px, 8vw, 116px); }
.education-layout h2 { font-size: clamp(34px, 4vw, 48px); }
.education-card { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 20px; padding: 22px 24px; background: var(--night-raised); border: 1px solid #2B3C49; border-radius: 16px; }
.education-mark { width: 54px; height: 54px; display: grid; place-items: center; color: var(--teal); background: #203541; border: 1px solid #36535F; border-radius: 14px; font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.education-degree { margin: 0 0 4px; color: #AAB9BF; font-size: 12px; }.education-card h3 { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; }.education-card div > p:last-child { margin: 2px 0 0; color: #AAB9BF; font-size: 13px; }
.education-date { display: flex; flex-direction: column; align-items: end; gap: 3px; color: #AAB9BF; font-size: 11px; }.education-date strong { color: var(--teal); font-family: var(--font-display); font-size: 20px; }

/* Contact */
.contact-section { padding: clamp(68px, 8vw, 104px) 0 22px; color: var(--paper); background: #0C141D; }
.contact-main { display: grid; grid-template-columns: 1fr minmax(270px, .65fr); align-items: end; gap: 44px; padding-bottom: 53px; }
.contact-main h2 { max-width: 650px; margin: 0; font-family: var(--font-display); font-size: clamp(38px, 5.2vw, 64px); font-weight: 600; line-height: 1.06; letter-spacing: -.06em; }
.contact-location { margin: 15px 0 0; color: #9DADB4; font-size: 14px; }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 9px; }
.contact-email-row { display: flex; gap: 8px; }
.contact-email-link { flex: 1 1 auto; min-width: 0; color: inherit; font-size: 12px; white-space: nowrap; text-decoration: none; }
.contact-email-link span { min-width: 0; overflow-wrap: anywhere; }
.email-arrow { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--teal); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform .2s ease; }
.contact-email-link:hover .email-arrow, .contact-email-link:focus-visible .email-arrow { transform: translate(2px,-2px); }
.contact-copy-email { width: 40px; flex: 0 0 40px; justify-content: center; padding: 0; }
.contact-copy { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 47px; padding: 0 13px; color: #EAF1F2; background: #17232E; border: 1px solid #2E404C; border-radius: 9px; text-align: left; cursor: pointer; transition: translate .2s var(--ease), background .2s ease, border-color .2s ease; }
@media (hover: hover) { .contact-copy:hover { background: #1D303B; border-color: #4B827E; translate: 3px 0; } }
.contact-copy:focus-visible { background: #1D303B; border-color: #4B827E; translate: 3px 0; }
.contact-copy.is-copied { color: #D9FFF4; background: #173A37; border-color: var(--teal); box-shadow: inset 3px 0 var(--teal); }.copy-arrow { color: var(--teal); }.copy-status { min-height: 18px; color: #9DE6D8; font-size: 12px; }
.contact-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 19px; color: #93A2AA; border-top: 1px solid #2A3741; font-size: 12px; }
.social-links { display: flex; gap: 25px; }.social-links a { color: #CAD5D9; text-decoration: none; transition: color .2s ease; }.social-links a:hover, .social-links a:focus-visible { color: var(--teal); }.social-links a span { color: var(--teal); }
.nav-home-link { color: #44535D; font-size: 14px; font-weight: 700; text-decoration: none; }.nav-home-link span { color: var(--teal-deep); }
.not-found { min-height: calc(100vh - var(--nav-height)); display: grid; place-items: center; padding: 48px var(--gutter); background: radial-gradient(ellipse at 72% 45%, rgb(54 201 178 / 10%), transparent 30%), var(--page); }
.not-found-inner { position: relative; width: min(100%, 660px); padding: 56px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 64px rgb(20 45 51 / 8%); }
.not-found-art { position: absolute; top: 30px; right: 34px; width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid #D7E5E2; border-radius: 50%; }
.not-found-art::before, .not-found-art::after { position: absolute; width: 60px; height: 60px; border: 1px solid #C6DBD8; border-radius: 50%; content: ''; transform: scaleX(.48) rotate(45deg); }
.not-found-art::after { transform: scaleX(.48) rotate(-45deg); }.not-found-art i { position: absolute; width: 7px; height: 7px; background: var(--teal-deep); border-radius: 50%; }.not-found-art i:nth-child(2) { margin: 0 0 31px 20px; background: var(--blue); }.not-found-art i:nth-child(3) { margin: 25px 25px 0 0; background: var(--amber); }
.not-found-inner h1 { max-width: 520px; margin: 0; font-family: var(--font-display); font-size: clamp(38px, 6vw, 58px); line-height: 1.08; letter-spacing: -.06em; }.not-found-inner > p:not(.eyebrow) { max-width: 440px; margin: 18px 0 24px; color: var(--muted); }

/* Focus state for project browsing */
.project-focus-mode .compact-project.is-focus-dim, .project-focus-mode .project.is-focus-dim { opacity: .58; filter: saturate(.72); }
.project-focus-mode .compact-project.is-focus-active, .project-focus-mode .project.is-focus-active { border-color: #9bcfc6; }
.compact-project, .project-grid > .project { transition: opacity .24s ease, filter .24s ease, border-color .24s ease, translate .22s var(--ease); }
.compact-project.is-detail-open { border-color: #167E77; box-shadow: 0 0 0 2px rgb(22 126 119 / 14%), 0 12px 28px rgb(20 45 51 / 9%); }
.extra-project.is-detail-open { background: #F0F7F5; box-shadow: inset 3px 0 #167E77; }

/* Responsive layouts */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(390px, 1.08fr); gap: 35px; }
  .hero h1 { font-size: clamp(38px, 4.8vw, 54px); }
  .system-panel { padding-inline: 21px; }
  .smartreco-visual { min-height: 400px; padding: 20px; }
  .reco-flow { grid-template-columns: minmax(74px, 1fr) 18px minmax(74px, 1fr) 18px minmax(74px, 1fr) 18px minmax(74px, 1fr); gap: 2px; }
  .reco-step { min-height: 128px; padding-inline: 8px; }
}
@media (max-width: 820px) {
  :root { --nav-height: 68px; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { max-width: 680px; }
  .system-panel { max-width: 680px; min-height: 340px; }
  .system-map { height: 185px; }
  .hero-proof { padding-top: 20px; }
  .project-smartreco { grid-template-columns: 1fr; }
  .smartreco-visual { min-height: 330px; }
  .reco-step { min-height: 115px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card-content { min-height: unset; }
  .project-phishing .project-card-content { min-height: unset; }
  .agentcare-visual, .phishing-visual { min-height: 250px; }
  .project-qazterion { grid-template-columns: 1fr; }
  .about-layout, .credentials-layout, .education-layout { grid-template-columns: 1fr; gap: 27px; }
  .about-heading h2 { max-width: 590px; }
  .credentials-heading { position: static; }
  .education-card { max-width: 720px; }
  .contact-main { grid-template-columns: 1fr; gap: 28px; }
  .contact-actions { max-width: 460px; }
}
@media (max-width: 680px) {
  :root { --gutter: 22px; }
  .menu-toggle { min-width: 76px; min-height: 44px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 11px; padding: 0; color: var(--ink); background: transparent; border: 0; font-size: 14px; font-weight: 700; cursor: pointer; }
  .menu-glyph { width: 30px; height: 30px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 7px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
  .menu-glyph i { height: 2px; display: block; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease); }
  .menu-toggle[aria-expanded="true"] .menu-glyph i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-glyph i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links { position: absolute; top: calc(var(--nav-height) + 8px); right: var(--gutter); left: var(--gutter); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 14px; visibility: hidden; opacity: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 16px 34px rgb(20 32 43 / 12%); transform: translateY(-8px); transition: opacity .2s ease, transform .2s var(--ease), visibility .2s; }
  .nav-links.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-links a { padding: 12px 7px; border-bottom: 1px solid #E1E8E6; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links .nav-contact { margin-top: 8px; padding: 12px; border: 0; }
  .hero { padding-top: 45px; }
  .hero-grid { gap: 30px; }
  .hero-location { align-items: flex-start; font-size: 12px; }
  .hero h1 { max-width: 520px; font-size: clamp(36px, 9vw, 46px); }
  .hero-description { margin: 16px 0 20px; font-size: 16px; }
  .hero-actions { gap: 9px; }
  .button { min-height: 47px; padding-inline: 14px; font-size: 13px; }
  .hero-focus { margin-top: 16px; font-size: 12px; }
  .system-panel { min-height: 326px; padding: 19px 17px 15px; border-radius: 17px; }
  .system-panel h2 { font-size: 19px; }
  .system-map { height: 177px; margin-inline: -3px; }
  .system-node { width: 67px; min-height: 84px; font-size: 11px; }
  .node-icon { width: 34px; height: 34px; }
  .system-caption { font-size: 12px; }
  .system-panel-foot { font-size: 10px; }
  .hero-proof { flex-wrap: wrap; gap: 8px 17px; font-size: 11px; }
  .hero-proof span::before { width: 5px; height: 5px; }
  .work-section { padding: 68px 0 76px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading h2, .about-heading h2, .credentials-heading h2, .education-layout h2 { font-size: 35px; }
  .section-heading > p { margin-top: 12px; font-size: 14px; }
  .project { border-radius: 16px; }
  .smartreco-visual { min-height: 345px; padding: 17px 13px; }
  .visual-heading { align-items: flex-start; font-size: 11px; }
  .visual-state { max-width: 142px; justify-content: flex-end; font-size: 9px; text-align: right; }
  .reco-flow { grid-template-columns: minmax(0, 1fr) 13px minmax(0, 1fr); gap: 6px 3px; }
  .reco-step { min-height: 107px; padding: 11px 9px; }
  .reco-step:nth-of-type(1), .reco-step:nth-of-type(2), .reco-step:nth-of-type(3), .reco-step:nth-of-type(4) { animation-delay: 0s; }
  .flow-link:nth-of-type(2) { display: none; }
  .reco-step:nth-of-type(3) { grid-column: 3; grid-row: 2; }
  .flow-link:nth-of-type(3) { grid-column: 2; grid-row: 2; transform: rotate(180deg); }
  .reco-step:nth-of-type(4) { grid-column: 1; grid-row: 2; }
  .catalog-preview { margin-top: 9px; }
  .smartreco-copy { padding: 24px 20px 23px; }
  .project-heading-line { align-items: flex-start; }
  .project-heading-line .eyebrow { max-width: 190px; font-size: 12px; }
  .award-pill { padding: 6px 8px; font-size: 10px; }
  .smartreco-copy h3, .project-card-content h3, .qazterion-copy h3 { font-size: 34px; }
  .project-deck { font-size: 14px; }
  .project-points { gap: 9px; margin: 15px 0 18px; }
  .project-points li { font-size: 12px; }
  .tech-stack { gap: 6px; }
  .tech-stack span { font-size: 9px; }
  .agentcare-visual, .phishing-visual { min-height: 228px; }
  .project-card-content { padding: 22px 20px 23px; }
  .project-qazterion { gap: 10px; padding: 23px 20px 26px; }
  .qazterion-visual { gap: 4px; padding-inline: 0; }
  .workflow-step { font-size: 10px; }
  .workflow-step b { width: 46px; height: 46px; border-radius: 13px; }
  .workflow-path { top: 50px; }
  .workflow-step i { top: 33px; right: calc(50% - 25px); }
  .about-section, .credentials-section { padding: 67px 0; }
  .about-layout { gap: 21px; }
  .about-heading h2 { font-size: 34px; }
  .about-lead { font-size: 17px; }
  .about-content > p:not(.about-lead) { font-size: 14px; }
  .about-notes div { grid-template-columns: 1fr; gap: 1px; }
  .education-section { padding: 63px 0; }
  .education-layout { gap: 22px; }
  .education-card { grid-template-columns: 46px 1fr; gap: 13px; padding: 17px; }
  .education-mark { width: 44px; height: 44px; border-radius: 12px; font-size: 14px; }
  .education-card h3 { font-size: 18px; }
  .education-date { grid-column: 2; align-items: flex-start; padding-top: 9px; border-top: 1px solid #33444F; }
  .contact-section { padding-top: 65px; }
  .contact-main { gap: 24px; padding-bottom: 35px; }
  .contact-main h2 { font-size: 40px; }
  .contact-location { font-size: 12px; }
  .contact-bottom { align-items: flex-start; flex-direction: column; gap: 13px; }
  .social-links { flex-wrap: wrap; gap: 12px 21px; }
  .not-found-inner { padding: 36px 24px; }.not-found-art { top: 19px; right: 18px; width: 58px; height: 58px; transform: scale(.72); transform-origin: top right; }.not-found-inner h1 { max-width: 340px; font-size: 39px; }.not-found-inner .hero-actions { align-items: stretch; flex-direction: column; }.not-found-inner .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
  .workflow-canvas { display: block; }
  .button:focus-visible, .system-node:focus-visible, .detail-toggle:focus-visible, .contact-copy:focus-visible { translate: none; transform: none; }
  .button:active { background-color: #28414C; }
  .detail-toggle:active { background-color: #D2E8E3; }
  .system-node:active, .contact-copy:active { color: #FFFFFF; background-color: #1D303B; }
  .has-three .system-wires { opacity: 1; }
  .project-focus-mode .compact-project.is-focus-dim, .project-focus-mode .project.is-focus-dim { opacity: 1; filter: none; }
}

@keyframes quiet-pulse { 0%, 100% { box-shadow: 0 0 0 5px rgb(54 201 178 / 16%); } 50% { box-shadow: 0 0 0 8px rgb(54 201 178 / 6%); } }
@keyframes flow-dash { to { stroke-dashoffset: -76; } }
@keyframes node-rise { from { opacity: .5; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbit-drift { to { transform: rotate(360deg); } }
@keyframes agent-glow { 0%, 100% { border-color: #66808A; box-shadow: 0 5px 14px rgb(0 0 0 / 18%); } 50% { border-color: #6FC9B7; box-shadow: 0 0 16px rgb(54 201 178 / 24%); } }

@media (hover: none) { .system-node:hover, .reco-step:hover, .workflow-step:hover b { transform: none; translate: none; } }

/* Compact project presentation and editable portfolio sections */
[hidden] { display: none !important; }
.portfolio-profiles { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.profile-choice { min-height: 34px; display: inline-flex; align-items: center; padding: 0 12px; color: var(--muted, #65747A); background: transparent; border: 1px solid var(--line, #DCE5E5); border-radius: 999px; cursor: pointer; font: 600 12px var(--font-body); transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.profile-choice:hover, .profile-choice:focus-visible { color: var(--ink, #16242B); border-color: var(--teal, #138B7D); transform: translateY(-2px); }
.profile-choice.is-active { color: #fff; background: #167E75; border-color: #167E75; }
.project-list { margin-top: 22px; }
.featured-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.compact-project { min-width: 0; overflow: hidden; background: #F8FBFA; border: 1px solid #DCE6E5; border-radius: 14px; box-shadow: 0 8px 23px rgb(21 49 54 / 5%); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.compact-project:hover { translate: 0 -4px; border-color: #B8D5D1; box-shadow: 0 14px 30px rgb(21 49 54 / 10%); }
.compact-project-visual { position: relative; display: grid; min-height: 112px; height: 112px; place-items: center; overflow: hidden; background: #E3EFED; }
.compact-project-smartreco .compact-project-visual { background: #E5F1EF; }
.compact-project-agentcare .compact-project-visual { background: #E9EDF6; }
.compact-project-phishing .compact-project-visual { background: #E9F0E9; }
.compact-project-qazterion .compact-project-visual { background: #EBEAF4; }
.compact-project-visual img { width: 100%; height: 100%; object-fit: cover; }
.project-monogram { display: grid; width: 54px; height: 54px; place-items: center; color: #136A63; background: rgb(255 255 255 / 78%); border: 1px solid rgb(35 95 91 / 14%); border-radius: 16px; font: 600 25px var(--font-display); }
.mini-flow, .qaz-mini { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; padding: 12px; }
.mini-flow span, .qaz-mini span { display: grid; min-height: 37px; padding: 0 8px; place-items: center; color: #344D50; background: rgb(255 255 255 / 74%); border: 1px solid rgb(50 102 101 / 13%); border-radius: 7px; font-size: 9px; font-weight: 600; text-align: center; }
.mini-flow i, .qaz-mini i { flex: 0 0 10px; height: 1px; background: #3C8F84; }
.agent-mini { position: relative; width: 168px; height: 102px; }
.agent-mini-center { position: absolute; inset: 34px auto auto 61px; display: grid; width: 46px; height: 34px; place-items: center; color: #314658; background: #fff; border: 1px solid #CBD7E0; border-radius: 9px; font-size: 9px; font-weight: 700; }
.agent-mini-node { position: absolute; display: grid; width: 21px; height: 21px; place-items: center; color: #536885; background: #fff; border: 1px solid #C8D4E1; border-radius: 50%; font-size: 8px; font-weight: 700; }
.agent-mini .n1 { left: 72px; top: 2px; }.agent-mini .n2 { right: 17px; top: 19px; }.agent-mini .n3 { right: 17px; bottom: 20px; }.agent-mini .n4 { left: 72px; bottom: 20px; }.agent-mini .n5 { left: 17px; bottom: 20px; }.agent-mini .n6 { left: 17px; top: 19px; }
.agent-mini small { position: absolute; right: 0; bottom: 1px; color: #657982; font-size: 8px; }
.qaz-mini span { min-width: 36px; min-height: 29px; color: #554F72; font-size: 8px; }.qaz-mini i { background: #77709B; }
.compact-project-copy { padding: 16px 17px 15px; }
.compact-project .project-heading-line { min-height: 22px; align-items: start; }
.compact-project .eyebrow { font-size: 10px; }
.compact-project .award-pill { max-width: 140px; font-size: 9px; line-height: 1.25; white-space: normal; }
.compact-project h3 { margin: 3px 0 5px; color: #1B292E; font: 600 21px/1.15 var(--font-display); letter-spacing: -.04em; }
.compact-project .project-deck { min-height: 63px; margin: 0; color: #5F6F73; font-size: 12px; line-height: 1.55; }
.compact-project-foot { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 11px; border-top: 1px solid #E0E8E7; }
.compact-project-foot > span { color: #738286; font-size: 10px; line-height: 1.45; }
.detail-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; min-height: 34px; padding: 0 9px; color: #166E66; background: #E8F3F1; border: 1px solid #D5E8E4; border-radius: 7px; cursor: pointer; font: 700 10px var(--font-body); transition: translate .18s ease, background .18s ease; }
@media (hover: hover) { .detail-toggle:hover { translate: 2px 0; background: #DCEDE9; } }
.detail-toggle:focus-visible { translate: 2px 0; background: #DCEDE9; }
.project-detail { grid-column: 1 / -1; padding: 0 18px 17px; border-top: 1px solid #DEE8E6; }
.project-detail-inner { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 20px; padding-top: 16px; }
.project-detail-image { display: block; width: 100%; max-height: 300px; object-fit: cover; border-radius: 9px; }
.project-detail-copy > p { margin: 0 0 12px; color: #536469; font-size: 13px; line-height: 1.7; }
.detail-block { margin: 12px 0; }
.detail-block h4 { margin: 0 0 4px; color: #24363B; font-size: 11px; }
.detail-block p, .detail-block ul { margin: 0; padding-left: 0; color: #536469; font-size: 12px; line-height: 1.65; }
.detail-block ul { padding-left: 18px; }
.project-detail-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.detail-close { min-height: 32px; margin-top: 14px; padding: 0 11px; color: #42575A; background: transparent; border: 1px solid #D5E0DE; border-radius: 7px; cursor: pointer; font: 600 11px var(--font-body); }
.explore-projects { margin-top: 16px; }
#work .explore-projects { color: #FFFFFF; background: #14202B; border-color: #14202B; box-shadow: 0 5px 14px rgb(20 32 43 / 16%); }
#work .explore-projects:hover, #work .explore-projects:focus-visible { color: #FFFFFF; background: #263B49; border-color: #263B49; }
.extra-projects { margin-top: 17px; overflow: hidden; border: 1px solid #DEE7E6; border-radius: 12px; background: #FBFCFC; }
.extra-heading { margin: 0; padding: 13px 17px; color: #66777A; border-bottom: 1px solid #E4EBEA; font-size: 11px; font-weight: 600; }
.extra-project { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 18px; align-items: center; padding: 15px 17px; border-bottom: 1px solid #E7ECEB; }
.extra-project:last-child { border-bottom: 0; }
.extra-project h4 { margin: 0 0 4px; color: #202F33; font: 600 15px var(--font-display); }
.extra-project p { max-width: 720px; margin: 0; color: #69787B; font-size: 12px; line-height: 1.55; }
.extra-project .project-detail { grid-column: 1 / -1; padding: 15px 0 0; }
.content-section { padding: clamp(56px, 6.5vw, 84px) 0; background: #F6F9F8; }
.content-section-inner > .section-heading { margin-bottom: 28px; }
.skills-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.skill-group { min-width: 0; padding: 20px 20px 18px; background: #FFFFFF; border: 1px solid #D8E3E1; border-radius: 14px; box-shadow: 0 4px 16px rgb(20 45 51 / 3%); animation: skill-enter .34s var(--ease) both; }
.skill-group:nth-child(2) { animation-delay: .04s; }
.skill-group:nth-child(3) { animation-delay: .08s; }
.skill-group:nth-child(4) { animation-delay: .12s; }
.skill-group:nth-child(5) { animation-delay: .16s; }
.skill-group:nth-child(6) { animation-delay: .2s; }
.skill-group:nth-child(7) { animation-delay: .24s; }
.skill-group h3 { margin: 0 0 13px; color: #192A32; font: 600 15.5px/1.35 var(--font-display); letter-spacing: -.02em; }
.skill-group ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.skill-group li { max-width: 100%; padding: 6px 11px; color: #2B3F46; background: #EFF5F4; border: 1px solid #D9E6E4; border-radius: 8px; font-size: 12.5px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; transition: color .17s ease, border-color .17s ease, background .17s ease, transform .17s ease; }
.skill-group li:hover { color: #115852; background: #E3F2EF; border-color: #B8DDD6; transform: translateY(-1px); }
@keyframes skill-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.content-row { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr); gap: 20px; padding: 15px 0; border-top: 1px solid rgb(126 153 152 / 25%); }
.content-row h3 { margin: 0 0 4px; font: 600 16px var(--font-display); }
.content-row p { margin: 0; color: #728184; font-size: 12px; line-height: 1.6; }
.content-row > p { color: #D1DDDC; }
.custom-section-body { max-width: 800px; color: #506267; font-size: 14px; line-height: 1.75; }
.custom-section-image { display: block; width: min(100%, 760px); max-height: 420px; margin: 0 0 20px; object-fit: cover; object-position: center; border: 1px solid #DCE6E5; border-radius: 14px; box-shadow: 0 12px 32px rgb(24 52 55 / 8%); }
.copy-icon { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.contact-copy:hover .copy-icon { transform: translateY(-1px); }
.copy-icon { transition: transform .18s ease; }

/* Scroll-story navigation inspired by the reference's chapter progression. */
.story-rail { position: fixed; z-index: 40; top: 50%; right: max(18px, calc((100vw - var(--max-width)) / 2 - 48px)); display: grid; gap: 8px; width: 38px; padding: 9px 8px; background: rgb(248 251 250 / 88%); border: 1px solid rgb(213 224 222 / 88%); border-radius: 999px; box-shadow: 0 8px 24px rgb(18 42 45 / 7%); backdrop-filter: blur(8px); transform: translateY(-50%); }
.story-rail a { position: relative; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; text-decoration: none; }
.story-rail a::before { width: 6px; height: 6px; background: #AAB8B7; border: 2px solid #F8FBFA; border-radius: 50%; content: ''; transition: width .2s ease, height .2s ease, background .2s ease; }
.story-rail a::after { position: absolute; right: 31px; top: 50%; padding: 6px 9px; color: #F5FAF9; background: #12212B; border-radius: 6px; content: attr(aria-label); font-size: 10px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(4px,-50%); transition: opacity .16s ease, transform .16s ease; }
.story-rail a:hover::after, .story-rail a:focus-visible::after { opacity: 1; transform: translate(0,-50%); }
.story-rail a[aria-current="location"]::before { width: 10px; height: 10px; background: #167E77; box-shadow: 0 0 0 4px rgb(22 126 119 / 14%); }
.story-rail a:focus-visible { outline-offset: 1px; }
.featured-projects > .compact-project, .extra-projects .extra-project { animation: chapter-enter .48s var(--ease) both; }
.featured-projects > .compact-project:nth-child(2) { animation-delay: .07s; }
.featured-projects > .compact-project:nth-child(3) { animation-delay: .14s; }
.extra-projects { transition: opacity .2s ease, transform .2s var(--ease); }
.extra-projects.is-opening { animation: chapter-enter .28s var(--ease) both; }
.chapter-highlight { animation: chapter-highlight .8s ease both; }
@keyframes chapter-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes chapter-highlight { 0% { box-shadow: inset 3px 0 #167E77; } 100% { box-shadow: inset 0 0 transparent; } }
@media (max-width: 900px) { .featured-projects { grid-template-columns: repeat(2,minmax(0,1fr)); }.compact-project:last-child:nth-child(odd) { grid-column: 1 / -1; }.project-detail-inner { grid-template-columns: 1fr; }.project-detail-image { max-height: 260px; }.skills-content { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 680px) { .portfolio-profiles { gap: 6px; margin-top: 15px; }.profile-choice { min-height: 35px; padding-inline: 10px; font-size: 11px; }.featured-projects { grid-template-columns: 1fr; gap: 11px; }.compact-project:last-child:nth-child(odd) { grid-column: auto; }.compact-project { display: grid; grid-template-columns: 92px minmax(0,1fr); }.compact-project-visual { height: 100%; min-height: 100%; }.compact-project-visual .mini-flow, .compact-project-visual .qaz-mini { flex-direction: column; gap: 2px; padding: 5px; }.compact-project-visual .mini-flow span, .compact-project-visual .qaz-mini span { min-height: 14px; padding: 0 3px; font-size: 7px; }.compact-project-visual .mini-flow i, .compact-project-visual .qaz-mini i { flex-basis: 4px; width: 1px; }.compact-project-visual .agent-mini { transform: scale(.48); transform-origin: center; }.compact-project-copy { padding: 13px; }.compact-project .project-deck { min-height: 0; }.compact-project h3 { font-size: 18px; }.compact-project .project-heading-line { flex-wrap: wrap; }.compact-project .award-pill { max-width: 105px; }.compact-project-foot { align-items: center; flex-wrap: wrap; margin-top: 10px; padding-top: 8px; }.project-detail { grid-column: 1 / -1; padding: 0 13px 13px; }.extra-project { grid-template-columns: 1fr; gap: 8px; padding: 13px; }.extra-project .detail-toggle { justify-self: start; }.skills-content { grid-template-columns: 1fr; gap: 9px; }.skill-group { padding: 13px; }.content-row { grid-template-columns: 1fr; gap: 5px; }.content-section { padding: 43px 0; } }
@media (max-width: 680px) {
  .compact-project-agentcare { grid-template-columns: minmax(0,1fr); }
  .compact-project-agentcare .compact-project-visual { height: 112px; min-height: 112px; }
  .compact-project-agentcare .agent-mini { transform: scale(.78); transform-origin: center; }
}
@media (max-width: 1100px) { .story-rail { right: 10px; width: 30px; padding: 6px 4px; opacity: .84; }.story-rail a { width: 20px; height: 18px; } }
@media (max-width: 820px) {
  .story-rail { position: fixed; z-index: 60; top: auto; right: 50%; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; gap: 2px; width: max-content; max-width: calc(100vw - 24px); padding: 5px; overflow-x: auto; background: rgb(248 251 250 / 94%); border-color: rgb(213 224 222 / 95%); transform: translateX(50%); }
  .story-rail a { flex: 0 0 auto; width: auto; min-width: 40px; height: 36px; padding: 0 9px; }
  .story-rail a::before { display: none; }
  .story-rail a::after { position: static; padding: 0; color: #40535A; background: transparent; font-size: 10px; opacity: 1; transform: none; }
  .story-rail a[aria-current="location"]::after { color: #116F68; }
  .story-rail a:hover::after, .story-rail a:focus-visible::after { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .compact-project, .profile-choice, .detail-toggle, .copy-icon, .skill-group li { transition: none !important; }.compact-project:hover, .profile-choice:hover, .detail-toggle:hover, .skill-group li:hover { transform: none; translate: none; }.skill-group { animation: none !important; } }
@media (prefers-reduced-motion: reduce) { .featured-projects > .compact-project, .extra-projects .extra-project, .extra-projects.is-opening, .chapter-highlight { animation: none !important; }.extra-projects, .story-rail a::before { transition: none !important; } }

/* Integrated hero navigation, structured case studies and restrained cursor. */
.site-nav { position: absolute; z-index: 50; inset: 0 0 auto; min-height: 76px; height: auto; background: transparent; border: 0; pointer-events: none; }
.nav-inner { min-height: 76px; height: auto; gap: 22px; pointer-events: auto; }
.wordmark { flex: 0 0 auto; padding: 0; background: transparent; border: 0; border-radius: 0; backdrop-filter: none; font-size: 20px; }
.wordmark-mark { display: none; }
.hero { padding-top: 120px; }
.hero { color: #EAF2FA; background: #080B12; }
.wordmark, .hero-section-nav a { color: #D8E2ED; }
.hero-location { color: #A6B7C8; }
.hero h1 span { color: #F0A65A; }
.hero-description { color: #B7C5D4; }
.hero-focus { color: #91A4B7; }
.hero .profile-choice { color: #B9C7D5; border-color: rgb(219 233 245 / 22%); }
.hero .profile-choice:hover, .hero .profile-choice:focus-visible { color: #FFFFFF; border-color: #F0A65A; }
.hero .profile-choice.is-active { color: #17100A; background: #F0A65A; border-color: #F0A65A; }
.hero .button-primary { color: #17100A; background: #F0A65A; box-shadow: 0 8px 24px rgb(240 166 90 / 20%); }
.hero .button-primary:hover { color: #17100A; background: #FFC27D; }
.hero .button-primary span:last-child { color: #17100A; }
.button-secondary { color: #EAF2FA; border-color: rgb(219 233 245 / 34%); }
.button-secondary:hover { color: #061019; background: #EAF2FA; }
.hero-bottomline { display: none; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 17px; color: #A6B7C8; }
.hero-proof span::before { background: #F0A65A; }
.hero .location-pulse { background: #F0A65A; box-shadow: 0 0 0 5px rgb(240 166 90 / 16%); }
.hero-section-nav { position: relative; display: flex; flex: 1 1 auto; flex-wrap: wrap; justify-content: flex-end; gap: 7px clamp(13px, 2vw, 24px); }
.hero-section-nav a { padding: 5px 0; font-size: 12px; }
.hero-section-nav .nav-contact { padding: 7px 12px; }
.hero-section-nav .nav-contact:hover, .hero-section-nav .nav-contact:focus-visible { color: #D8E2ED; background: #101820; }
.hero-section-nav a::after { bottom: 0; }
.system-panel { min-height: 0; overflow: visible; padding: 0; color: var(--ink); background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.system-panel::before, .system-panel::after { display: none; }
.system-map { position: relative; width: min(100%, 560px); aspect-ratio: 1; height: auto; margin: -12px auto; overflow: visible; isolation: auto; }
.system-map::before { position: absolute; z-index: 0; inset: 0; background: radial-gradient(circle closest-side at center, rgb(17 66 106 / 34%), rgb(9 20 39 / 17%) 72%, transparent 100%); filter: blur(25px); content: ''; pointer-events: none; }
.system-map::after { display: none; }
.portrait-photo { position: absolute; z-index: 1; inset: 4%; width: 92%; height: 92%; object-fit: cover; object-position: center; opacity: 0; pointer-events: none; -webkit-mask-image: radial-gradient(circle closest-side at center, #000 82%, transparent 100%); mask-image: radial-gradient(circle closest-side at center, #000 82%, transparent 100%); }
.workflow-canvas { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s ease; pointer-events: auto; touch-action: pan-y; -webkit-mask-image: radial-gradient(circle closest-side at center, #000 0 86%, transparent 100%); mask-image: radial-gradient(circle closest-side at center, #000 0 86%, transparent 100%); }
.workflow-canvas.is-ready { opacity: 1; filter: drop-shadow(0 0 2px rgb(53 183 255 / 15%)); }
.system-wires { opacity: .7; }
.wire-muted { stroke: #B8CBC7; }
.wire-active { stroke: #167E77; stroke-dasharray: 8 11; }
.wire-branch { stroke: #95AEB5; }
.system-node, .system-node.is-selected { color: #30434B; background: transparent; border-color: transparent; box-shadow: none; }
.system-node.is-selected { color: #116F68; }
.node-icon { width: 34px; height: 34px; color: var(--teal-deep); background: #FFFFFF; border-color: #D6E4E1; border-radius: 50%; }
.node-model i { box-shadow: none; }
.system-caption { min-height: 22px; margin: -4px 0 0; color: var(--muted); font-size: 12px; }
.system-panel-foot { display: none; }
.project-detail-inner { display: block; min-width: 0; padding: 20px 0 4px; }
.project-detail-inner.has-media { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); align-items: start; gap: clamp(20px, 3vw, 38px); }
.project-detail-gallery { display: grid; gap: 10px; min-width: 0; }
.project-detail-image { width: 100%; max-height: 330px; object-fit: cover; border: 1px solid #DCE6E5; border-radius: 12px; }
.project-detail-content { min-width: 0; }
.detail-section-kicker, .detail-block h4, .detail-technologies h4 { margin: 0 0 8px; color: #167E77; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.detail-prose { max-width: 78ch; }
.detail-prose p, .detail-block p, .detail-block li { color: #526369; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.detail-prose p { margin: 0 0 12px; }
.detail-structure { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 22px; margin-top: 20px; }
.detail-block { min-width: 0; margin: 0; padding-top: 12px; border-top: 1px solid #E1E9E8; }
.detail-block p, .detail-block ul { margin: 0; padding-left: 0; }
.detail-block ul { padding-left: 18px; }
.detail-block li + li { margin-top: 5px; }
.project-detail-bottom { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 20px; margin-top: 22px; padding-top: 15px; border-top: 1px solid #DEE8E6; }
.detail-technologies h4 { color: #65767A; }
.detail-technologies .tech-stack { margin: 0; }
.project-detail-links { margin: 0; }
.project-detail-links .button { min-height: 40px; font-size: 12px; }
.project-detail-links .button-secondary { color: #F5FAF9; background: #17313C; border-color: #17313C; }
.project-detail-links .button-secondary:hover, .project-detail-links .button-secondary:focus-visible { color: #FFFFFF; background: #245B54; border-color: #245B54; }
.project-detail-stage { grid-column: 1 / -1; margin-top: 16px; }
.project-detail-stage:empty { display: none; }
.project-detail-stage .project-detail { display: block; margin: 0; padding: clamp(16px, 2.5vw, 26px); background: #FBFCFC; border: 1px solid #DEE7E6; border-radius: 14px; box-shadow: 0 8px 24px rgb(20 45 51 / 6%); }
.project-detail-stage .project-detail-inner.has-media { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
@media (hover: hover) and (pointer: fine) {
  html, html *, html *::before, html *::after { cursor: url('./assets/custom-cursor.svg') 5 5, auto !important; }
}
.js-ready [data-reveal] { opacity: 1 !important; }
.location-pulse, .wire-active, .reco-step, .orbit-one, .agent-node, .workflow-path span, .skill-group, .featured-projects > .compact-project, .extra-projects .extra-project, .extra-projects.is-opening, .chapter-highlight { animation: none !important; }
@media (max-width: 900px) {
  .hero-section-nav { gap: 5px 14px; }
  .hero-section-nav a { font-size: 11px; }
  .project-detail-inner.has-media { grid-template-columns: minmax(0,1fr); }
  .project-detail-stage .project-detail-inner.has-media { grid-template-columns: minmax(0,1fr); }
  .project-detail-gallery { grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); }
}
@media (max-width: 820px) {
  .system-map { width: min(100%, 500px); margin: -12px auto; }
}
@media (max-width: 680px) {
  .site-nav { position: absolute; min-height: 82px; }
  .nav-inner { min-height: 82px; align-items: center; gap: 12px; }
  .wordmark { font-size: 17px; }
  .menu-toggle { min-width: 76px; min-height: 44px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 9px; padding: 0; color: #D8E2ED; background: transparent; border: 0; font-size: 12px; font-weight: 700; cursor: pointer; }
  .menu-glyph { width: 34px; height: 34px; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 7px; background: #14202B; border: 1px solid rgb(219 233 245 / 24%); border-radius: 9px; }
  .menu-glyph i { height: 2px; display: block; background: #EAF2FA; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-glyph i:first-child { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-glyph i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-glyph i:last-child { transform: translateY(-5px) rotate(-45deg); }
  .nav-links.hero-section-nav { position: absolute; top: calc(var(--nav-height) + 8px); right: var(--gutter); left: var(--gutter); display: flex; flex: initial; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 0; max-height: none; overflow: hidden; padding: 8px 14px; visibility: hidden; opacity: 0; background: #111C28; border: 1px solid rgb(219 233 245 / 17%); border-radius: 13px; box-shadow: 0 16px 34px rgb(0 0 0 / 26%); transform: translateY(-8px); transition: opacity .2s ease, transform .2s var(--ease), visibility .2s; }
  .nav-links.hero-section-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-links.hero-section-nav a { display: block; padding: 10px 7px; color: #D8E2ED; border-bottom: 1px solid rgb(219 233 245 / 12%); font-size: 13px; }
  .nav-links.hero-section-nav a:last-child { border-bottom: 0; }
  .nav-links.hero-section-nav .nav-contact { margin-top: 7px; padding: 10px 12px; color: #D8E2ED; background: #182735; border: 0; }
  .hero { padding-top: 112px; }
  .story-rail { display: none; }
  .system-panel { padding-top: 0; }
  .system-map { width: min(100%, 430px); margin: -10px auto; }
  .workflow-canvas { inset: 0; width: 100%; height: 100%; }
  .system-node { width: 62px; min-height: 74px; gap: 6px; font-size: 10px; }
  .node-icon { width: 29px; height: 29px; }
  .project-detail-inner, .project-detail-inner.has-media { display: block; padding-top: 15px; }
  .project-detail-stage .project-detail-inner.has-media { display: block; }
  .project-detail-gallery { grid-template-columns: 1fr; margin-bottom: 17px; }
  .project-detail-image { max-height: 230px; }
  .detail-prose p, .detail-block p, .detail-block li { font-size: 13px; line-height: 1.72; }
  .detail-structure { grid-template-columns: 1fr; gap: 12px; }
  .project-detail-bottom { grid-template-columns: 1fr; gap: 10px; }
  .project-detail-links { margin-top: 4px; }
  .project-detail-stage .project-detail { padding: 15px; }
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .hero-copy, .system-panel, .compact-project, .extra-project, .content-row, .skill-group, .cert-item, .education-card, .section-heading, .project-detail-gallery img { transform: none !important; }
}
