:root {
  font-family: "Inter", "Nimbus Sans", Arial, sans-serif;
  color: #e9eef7;
  background: #070b14;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #070b14;
  --bg-alt: #0a0e1a;
  --surface: #0e1524;
  --surface-alt: #101827;
  --surface-raised: #111b2c;
  --border: rgba(100, 140, 200, .14);
  --border-soft: rgba(100, 140, 200, .09);
  --text: #eef3fb;
  --muted: #8c98ab;
  --dim: #5d697d;
  --blue: #4da4fa;
  --cyan: #22c7e8;
  --purple: #8b6cf6;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 92px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 9px 12px; border: 1px solid var(--cyan); border-radius: 4px; background: var(--surface-raised); color: var(--text); font-size: 13px; transform: translateY(-180%); transition: transform .18s ease; }
.skip-link:focus { transform: translateY(0); }
.noscript-content { width: min(720px, calc(100% - 40px)); margin: 80px auto; }
.noscript-content h1 { font-size: 32px; }
.noscript-content p { margin-top: 16px; }
.noscript-content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.section-pad { padding-block: 96px; }
.desktop-only { display: inline; }
.section-eyebrow, .tech-heading, .diagram-header, .hero-meta span, .project-meta, .case-detail .section-eyebrow, .detail-item > span, .detail-tech > span, .timeline small { font-family: "DM Mono", "Fira Code", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .16em; }
.section-eyebrow { color: var(--blue); font-size: 11px; line-height: 1.4; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(48px, 4vw, 64px); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
h2 { font-size: clamp(30px, 2.2vw, 36px); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; }
h3 { font-size: 14px; line-height: 1.25; font-weight: 600; }
p { color: var(--muted); font-size: 14px; line-height: 1.7; }

.site-header { height: 72px; position: sticky; top: 0; z-index: 10; background: rgba(7, 11, 20, .89); border-bottom: 1px solid var(--border-soft); backdrop-filter: blur(14px); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #e4eaf4; font: 600 13px "DM Mono", "Fira Code", monospace; white-space: nowrap; }
.brand-name { color: inherit; }
.photo-trigger { display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: zoom-in; }
.brand-mark { width: 15px; height: 15px; position: relative; display: grid; place-items: center; border: 1px solid rgba(77, 164, 250, .38); border-radius: 4px; background: #0c1829; }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; position: absolute; background: var(--blue); border-radius: 1px; }
.brand-mark::before { width: 7px; height: 1px; transform: rotate(30deg); }
.brand-mark::after { width: 7px; height: 1px; transform: rotate(-30deg); }
.brand-mark span { width: 2px; height: 2px; }
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--dim); font-size: 14px; }
.nav-links a { transition: color .18s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-links a.is-active { color: var(--cyan); }
.nav-links a[href="#contact"].is-active { color: var(--cyan) !important; }
.nav-github { display: grid; place-items: center; margin-left: 2px; color: #8492a6; }
.nav-cta { padding: 10px 15px; border-radius: 4px; background: #eef3fb; color: #111827 !important; font-size: 12px; font-weight: 600; }
.menu-button { display: none; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 5px; width: 38px; height: 34px; align-items: center; justify-content: center; cursor: pointer; }

.hero { min-height: 525px; display: flex; align-items: center; background: radial-gradient(circle at 80% 48%, rgba(17, 61, 104, .08), transparent 32%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.hero-copy { max-width: 500px; }
.hero-copy .section-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; margin-bottom: 16px; border: 1px solid var(--border); border-radius: 999px; background: rgba(14, 21, 36, .55); font-size: 10px; }
.hero-copy .section-eyebrow::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px rgba(34, 199, 232, .7); }
.hero-role { margin-top: 12px; color: var(--cyan); font-size: clamp(24px, 2vw, 30px); line-height: 1.05; letter-spacing: -.04em; }
.hero-intro { max-width: 475px; margin-top: 23px; font-size: 14px; line-height: 1.7; }
.hero-actions { display: flex; gap: 8px; margin-top: 23px; }
.button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid var(--border); border-radius: 4px; font-size: 12px; font-weight: 600; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { transform: translateY(-1px); border-color: rgba(77, 164, 250, .4); }
.button-primary { background: var(--blue); border-color: var(--blue); color: #06101d; }
.button-secondary { color: var(--text); background: var(--surface); }
.button-light { color: #09121f; background: #edf2f9; border-color: #edf2f9; }
.hero-meta { display: grid; grid-template-columns: 1fr 1fr 1fr; max-width: 430px; margin-top: 25px; padding-top: 15px; border-top: 1px solid var(--border); }
.hero-meta div { display: grid; gap: 5px; }
.hero-meta span { color: var(--dim); font-size: 10px; letter-spacing: .14em; }
.hero-meta strong { color: #c8d1df; font-size: 12px; font-weight: 500; }

.architecture-panel { position: relative; min-height: 420px; padding: 17px 18px 15px; overflow: hidden; border: 1px solid var(--border); border-radius: 6px; background-color: #0c1423; box-shadow: 0 18px 50px rgba(0, 0, 0, .12); }
.architecture-panel::before, .mini-diagram::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .25; background-image: linear-gradient(rgba(108, 144, 193, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 144, 193, .08) 1px, transparent 1px); background-size: 21px 21px; }
.diagram-header { position: relative; display: flex; justify-content: space-between; color: var(--dim); font-size: 10px; letter-spacing: .13em; }
.diagram-dots { letter-spacing: 3px; color: #34435c; }
.diagram-canvas { position: relative; height: 330px; margin-top: 12px; color: #aebbd0; font: 10px "DM Mono", "Fira Code", monospace; }
.diagram-org, .diagram-hub, .diagram-onprem, .diagram-envs > div, .diagram-services > div { position: absolute; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(100, 140, 200, .2); border-radius: 3px; background: rgba(13, 25, 43, .8); }
.diagram-org { top: 1px; left: 50%; width: 118px; height: 32px; transform: translateX(-50%); border-color: rgba(77, 164, 250, .38); color: #dce7f7; font-size: 10px; }
.diagram-line { position: absolute; width: 1px; background: linear-gradient(var(--blue), rgba(77, 164, 250, .15)); }
.line-a { top: 33px; left: 50%; height: 22px; }
.diagram-envs { position: absolute; top: 55px; left: 8%; right: 8%; height: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.diagram-envs > div { position: relative; width: 100%; height: 100%; font-size: 10px; }
.diagram-envs .active-node, .diagram-services .active-node { color: #dce7f7; border-color: rgba(34, 199, 232, .45); box-shadow: inset 0 0 18px rgba(34, 199, 232, .04); }
.line-b { top: 89px; left: 50%; height: 25px; }
.diagram-hub { top: 114px; left: 12%; right: 12%; height: 52px; flex-wrap: wrap; align-content: center; color: var(--cyan); font-size: 10px; }
.diagram-hub span { width: 100%; color: var(--dim); text-align: center; font-size: 9px; }
.line-c { top: 166px; left: 50%; height: 25px; }
.diagram-services { position: absolute; top: 191px; left: 6%; right: 6%; height: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.diagram-services > div { position: relative; width: 100%; height: 100%; font-size: 10px; }
.line-d { top: 229px; left: 50%; height: 22px; }
.diagram-branch { position: absolute; top: 251px; left: 4%; right: 4%; display: flex; justify-content: space-between; gap: 5px; color: #67768c; font-size: 9px; }
.diagram-branch span { display: flex; align-items: center; gap: 3px; }
.line-e { top: 270px; left: 50%; height: 17px; }
.diagram-onprem { top: 287px; left: 13%; right: 13%; height: 34px; justify-content: flex-start; padding-left: 11px; color: #c0cad9; font-size: 10px; }
.diagram-onprem small { color: var(--dim); font-size: 9px; }
.diagram-onprem .vpn { margin-left: auto; margin-right: 9px; color: var(--cyan); }
.node-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--blue); }
.node-dot.cyan { background: var(--cyan); }
.diagram-legend { position: relative; display: flex; gap: 13px; margin-top: 5px; color: var(--dim); font: 9px "DM Mono", "Fira Code", monospace; }
.diagram-legend span { display: inline-flex; align-items: center; gap: 4px; }
.diagram-legend i { width: 4px; height: 4px; border-radius: 50%; display: inline-block; }
.legend-blue { background: var(--blue); } .legend-cyan { background: var(--cyan); } .legend-purple { background: var(--purple); }

.positioning { background: var(--bg); border-top: 1px solid rgba(100, 140, 200, .035); }
.two-column-section { display: grid; grid-template-columns: .8fr 1.55fr; gap: 90px; }
.two-column-section h2 { margin-top: 16px; }
.two-column-section h2 span { color: #8794a9; }
.section-copy { padding-top: 13px; max-width: 695px; }
.section-copy p + p { margin-top: 12px; }
.chip-row, .tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
.chip-row { margin-top: 15px; }
.chip-row span, .tag-row span, .detail-tech em { padding: 5px 8px; border: 1px solid var(--border); border-radius: 3px; color: #aab6c7; background: rgba(14, 21, 36, .72); font: 10px "DM Mono", "Fira Code", monospace; font-style: normal; }

.expertise { background: var(--bg-alt); border-top: 1px solid rgba(100, 140, 200, .04); border-bottom: 1px solid rgba(100, 140, 200, .04); }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 30px; }
.section-heading-row h2 { margin-top: 13px; }
.section-heading-row > p { max-width: 390px; font-size: 14px; line-height: 1.6; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.expertise-item { min-height: 148px; padding: 19px 17px; background: rgba(11, 18, 31, .32); border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.expertise-item:nth-child(4n) { border-right: 0; }
.expertise-item:nth-last-child(-n + 4) { border-bottom: 0; }
.expertise-item svg { width: 20px; height: 20px; color: var(--cyan); stroke-width: 1.6; margin-bottom: 13px; }
.expertise-item h3 { font-size: 14px; }
.expertise-item p { max-width: 220px; margin-top: 8px; font-size: 12px; line-height: 1.55; }
.tech-heading { margin: 30px 0 14px; color: #607087; font-size: 11px; }
.technology-grid { display: grid; grid-template-columns: 1.08fr .98fr 1.3fr 1.15fr 1.25fr; gap: 9px; }
.technology-card { min-height: 88px; padding: 14px 12px; border: 1px solid var(--border); border-radius: 5px; background: rgba(14, 21, 36, .5); }
.technology-card h3 { margin-bottom: 11px; color: #b8c4d4; font-size: 13px; }
.technology-card .tag-row { gap: 4px; }
.technology-card .tag-row span { padding: 4px 6px; color: #8290a5; font-size: 10px; }

.case-studies { background: var(--bg); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.project-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--surface); transition: transform .18s ease, border-color .18s ease; }
.project-card:hover { transform: translateY(-2px); border-color: rgba(77, 164, 250, .33); }
.project-card.is-selected { border-color: rgba(34, 199, 232, .5); box-shadow: inset 0 0 0 1px rgba(34, 199, 232, .08), 0 12px 30px rgba(0, 0, 0, .12); }
.project-visual { height: 120px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border-soft); }
.mini-diagram { position: absolute; inset: 0; overflow: hidden; background: #0c1524; }
.mini-diagram > * { position: absolute; z-index: 1; }
.project-content { display: flex; flex-direction: column; flex: 1; padding: 16px 15px 13px; }
.project-meta { display: flex; justify-content: space-between; align-items: center; gap: 5px; color: var(--dim); font-size: 10px; letter-spacing: .1em; }
.status { padding: 4px 6px; border: 1px solid var(--border); border-radius: 3px; color: #77859b; font-size: 10px; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.status-active { color: var(--cyan); border-color: rgba(34, 199, 232, .25); }
.project-content h3 { margin-top: 13px; color: #e2eaf5; font-size: 16px; }
.project-content > p { margin-top: 9px; font-size: 12px; line-height: 1.6; }
.project-content .problem { margin-top: 10px; color: #758399; }
.problem strong { color: #a7b2c3; font-weight: 500; }
.project-content .tag-row { margin-top: 15px; gap: 4px; }
.project-content .tag-row span { padding: 4px 5px; color: #738197; border-color: rgba(100, 140, 200, .11); font-size: 10px; }
.project-actions { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 15px; font-size: 12px; }
.project-actions a { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); }
.project-actions a:last-child { color: #718198; }
.button svg, .project-actions svg, .detail-link svg, .contact-card > svg, .cert-list article > svg { width: 17px; height: 17px; }
.case-detail { margin-top: 22px; overflow: hidden; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-alt); }
.case-detail.is-switching { opacity: .3; transform: translateY(6px); }
.case-detail { transition: opacity .15s ease, transform .15s ease; }
.case-detail-heading { display: flex; justify-content: space-between; align-items: center; padding: 15px 17px; border-bottom: 1px solid var(--border); }
.case-detail-heading h3 { margin-top: 6px; font-size: 16px; }
.detail-link { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border: 1px solid var(--border); border-radius: 4px; color: #d9e2ed; font-size: 11px; }
.case-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.detail-item { min-height: 105px; padding: 15px 17px; border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.detail-item:nth-child(3n) { border-right: 0; }
.detail-item:nth-last-child(-n + 3) { border-bottom: 0; }
.detail-item > span { color: #6e7e94; font-size: 10px; letter-spacing: .12em; }
.detail-item p { margin-top: 10px; color: #8995a8; font-size: 12px; line-height: 1.6; }
.detail-tech { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; padding: 12px 17px; border-top: 1px solid var(--border-soft); }
.detail-tech > span { margin-right: 4px; color: #6e7e94; font-size: 10px; }
.detail-tech > div { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.detail-tech em { padding: 5px 7px; font-size: 10px; }

.approach { background: var(--bg-alt); border-top: 1px solid rgba(100, 140, 200, .04); border-bottom: 1px solid rgba(100, 140, 200, .04); }
.approach-grid { display: grid; grid-template-columns: .9fr 1.35fr; gap: 90px; }
.approach h2 { margin-top: 16px; font-size: 32px; line-height: 1.05; }
.approach > .container > div:first-child > p { max-width: 330px; margin-top: 18px; }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 27px; }
.principles-grid article { display: grid; grid-template-columns: 23px 1fr; gap: 8px; min-height: 73px; padding: 1px 0 14px; border-bottom: 1px solid var(--border-soft); }
.principles-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
.principles-grid article > span { color: var(--blue); font: 10px "DM Mono", "Fira Code", monospace; }
.principles-grid h3 { font-size: 13px; }
.principles-grid p { margin-top: 5px; font-size: 12px; line-height: 1.55; }

.experience { background: var(--bg); }
.certifications-column { scroll-margin-top: 92px; }
.experience-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; }
.experience h2 { margin-top: 14px; font-size: 26px; }
.timeline { position: relative; margin-top: 25px; padding-left: 25px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 7px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, rgba(77, 164, 250, .8), rgba(77, 164, 250, .25) 34%, rgba(100, 140, 200, .15)); }
.timeline article { position: relative; display: flex; gap: 16px; padding-bottom: 32px; }
.timeline article:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -25px; top: 2px; width: 12px; height: 12px; border: 3px solid var(--bg); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px rgba(77, 164, 250, .55), 0 0 12px rgba(77, 164, 250, .18); }
.timeline article:not(:first-child) .timeline-dot { width: 9px; height: 9px; left: -23.5px; top: 3px; border-width: 2px; background: #425069; box-shadow: 0 0 0 1px rgba(66, 80, 105, .45); }
.timeline small { color: var(--blue); font-size: 10px; }
.timeline h3 { margin-top: 8px; font-size: 14px; }
.timeline p { margin-top: 3px; font-size: 12px; line-height: 1.55; }
.timeline p:last-child { max-width: 480px; margin-top: 8px; }
.cert-list { display: grid; gap: 8px; margin-top: 25px; }
.cert-list article { display: flex; gap: 10px; align-items: flex-start; padding: 13px 12px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); }
.cert-list article > svg { color: var(--blue); margin-top: 1px; }
.cert-list h3 { font-size: 13px; }
.cert-list p { margin-top: 4px; font-size: 12px; }
.cert-list a { display: inline-flex; align-items: center; gap: 3px; margin-top: 7px; color: var(--blue); font-size: 12px; }
.cert-list .reserved { align-items: center; color: #66748a; background: transparent; border-style: dashed; font-size: 12px; }
.cert-list .reserved svg { color: #738199; }

.github-cta { padding-top: 35px; padding-bottom: 48px; }
.github-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 27px 31px; border: 1px solid var(--border); border-radius: 9px; background: linear-gradient(120deg, #101827, #0c1422); }
.github-panel h2 { font-size: 27px; line-height: 1.02; }
.github-panel p { max-width: 520px; margin-top: 11px; font-size: 13px; }
.github-panel .button { flex: 0 0 auto; }
.contact { padding-top: 55px; background: var(--bg-alt); border-top: 1px solid rgba(100, 140, 200, .04); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact h2 { margin-top: 13px; font-size: 26px; line-height: 1.05; }
.contact > .container > div:first-child > p { max-width: 390px; margin-top: 15px; font-size: 13px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contact-card { display: flex; align-items: flex-start; gap: 10px; min-height: 65px; padding: 14px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); transition: border-color .18s ease, transform .18s ease; }
.contact-card:hover { transform: translateY(-1px); border-color: rgba(77, 164, 250, .35); }
.contact-card > svg { color: var(--blue); }
.contact-card h3 { font-size: 13px; }
.contact-card span { display: block; margin-top: 6px; color: #7c899d; font-size: 12px; }
.site-footer { padding-block: 23px; border-top: 1px solid var(--border-soft); background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; color: #617087; font-size: 11px; }
.footer-inner > span:last-child { display: flex; gap: 12px; align-items: center; }
.footer-inner a { display: grid; place-items: center; }
.footer-inner .section-eyebrow { color: #617087; font-size: 10px; letter-spacing: 0; text-transform: none; }
.uxpilot { position: fixed; left: 8px; bottom: 0; z-index: 20; padding: 4px 7px; border-radius: 4px 4px 0 0; background: #f7f8fc; color: #1e2431; font: 10px Inter, sans-serif; box-shadow: 0 -2px 10px rgba(0, 0, 0, .14); }
body.modal-open { overflow: hidden; }
.photo-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.photo-modal[hidden] { display: none; }
.photo-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 13, .82); backdrop-filter: blur(8px); }
.photo-dialog { position: relative; z-index: 1; max-width: min(520px, 92vw); max-height: 92vh; padding: 10px; border: 1px solid rgba(100, 140, 200, .25); border-radius: 10px; background: #0e1524; box-shadow: 0 24px 80px rgba(0, 0, 0, .5); }
.photo-dialog img { display: block; width: auto; max-width: 100%; max-height: 82vh; border-radius: 6px; object-fit: contain; }
.photo-dialog p { padding: 10px 4px 2px; color: #dbe5f2; font-size: 12px; }
.photo-close { position: absolute; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: rgba(7, 11, 20, .78); color: #fff; cursor: pointer; }

/* Mini technical illustrations */

/* Refined, information-rich case study diagrams */
.profile-photo { width: 36px; height: 36px; flex: 0 0 36px; object-fit: cover; object-position: center 22%; border: 1px solid rgba(77, 164, 250, .45); border-radius: 50%; background: #101827; }
.mini-title { top: 12px; left: 16px; right: 16px; color: #aebbd0; font: 10px "DM Mono", "Fira Code", monospace; letter-spacing: .08em; text-transform: uppercase; }
.project-visual { height: 150px; }
.tree-diagram { padding: 0; }
.tree-org { top: 38px; left: 50%; width: 88px; height: 24px; transform: translateX(-50%); display: grid; place-items: center; border: 1px solid rgba(77, 164, 250, .5); border-radius: 3px; color: var(--blue); font: 10px "DM Mono", "Fira Code", monospace; }
.tree-connector { top: 62px; left: 50%; width: 1px; height: 10px; background: var(--blue); }
.tree-levels { top: 72px; left: 9%; right: 9%; display: flex; gap: 5px; }
.tree-levels span { flex: 1; padding: 6px 3px; border: 1px solid var(--border); border-radius: 3px; color: #a2b0c3; text-align: center; font: 9px "DM Mono", "Fira Code", monospace; }
.tree-services { top: 109px; left: 14%; right: 14%; display: flex; justify-content: space-between; gap: 5px; color: #77879d; font: 9px "DM Mono", "Fira Code", monospace; }
.tree-services span { padding: 4px 5px; border: 1px solid rgba(100, 140, 200, .13); border-radius: 3px; }
.security-diagram { display: block; padding: 0; }
.security-layers { top: 37px; left: 16px; right: 16px; display: grid; gap: 7px; }
.security-layers span { width: auto; height: auto; display: flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid rgba(77, 164, 250, .26); border-radius: 4px; color: #aebbd0; font: 10px "DM Mono", "Fira Code", monospace; }
.security-layers span:nth-child(2) { border-color: rgba(34, 199, 232, .34); }
.security-layers span:nth-child(3) { border-color: rgba(139, 108, 246, .34); }
.security-layers svg { flex: 0 0 auto; color: var(--cyan); }
.chart-diagram { inset: 0; border: 0; padding: 0; }
.finops-flow { top: 45px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.finops-flow span { position: static; padding: 7px 8px; border: 1px solid var(--border); border-radius: 3px; color: #aebbd0; font: 10px "DM Mono", "Fira Code", monospace; }
.finops-flow span:nth-of-type(2) { border-color: rgba(34, 199, 232, .36); color: var(--cyan); }
.finops-flow i { position: static; color: var(--blue); font: 13px "DM Mono", monospace; font-style: normal; }
.chart-bars { left: 22px; right: 22px; bottom: 16px; height: 34px; display: flex; align-items: flex-end; gap: 7px; border-bottom: 1px solid rgba(100, 140, 200, .2); }
.chart-bars i { position: static; flex: 1; min-width: 8px; height: 13px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--blue), rgba(77, 164, 250, .2)); }
.chart-bars i:nth-child(2) { height: 20px; background: linear-gradient(180deg, var(--cyan), rgba(34, 199, 232, .2)); }
.chart-bars i:nth-child(3) { height: 27px; background: linear-gradient(180deg, var(--purple), rgba(139, 108, 246, .2)); }
.chart-bars i:nth-child(4) { height: 34px; background: linear-gradient(180deg, var(--cyan), rgba(34, 199, 232, .2)); }
.hybrid-diagram { display: block; padding: 0; }
.hybrid-flow { top: 48px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.hybrid-flow span { position: static; min-width: 72px; padding: 7px 5px; display: block; border: 1px solid rgba(77, 164, 250, .3); border-radius: 3px; color: #aebbd0; text-align: center; font: 9px "DM Mono", "Fira Code", monospace; }
.hybrid-flow span:nth-of-type(2) { border-color: rgba(34, 199, 232, .4); }
.hybrid-flow span:nth-of-type(3) { border-color: rgba(139, 108, 246, .4); }
.hybrid-flow small { display: block; margin-top: 4px; color: #6f8097; font-size: 9px; }
.hybrid-flow i { position: static; width: auto; height: auto; background: none; color: var(--cyan); font: 15px "DM Mono", monospace; font-style: normal; }
.migration-diagram { display: block; padding: 0; }
.migration-flow { top: 50px; left: 17px; right: 17px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.migration-flow span { position: static; padding: 7px 6px; border: 1px solid var(--border); border-radius: 3px; color: #aebbd0; font: 9px "DM Mono", "Fira Code", monospace; }
.migration-flow span:last-child { border-color: rgba(34, 199, 232, .4); color: var(--cyan); }
.migration-flow i { position: static; width: auto; height: auto; background: none; color: var(--blue); font: 14px "DM Mono", monospace; font-style: normal; }
.migration-diagram > em { top: 94px; left: 50%; transform: translateX(-50%); color: #77879d; font: 9px "DM Mono", "Fira Code", monospace; font-style: normal; white-space: nowrap; }
.governance-diagram { display: block; padding: 0; }
.governance-list { top: 42px; left: 22px; right: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.governance-list span { position: static; display: flex; align-items: center; gap: 6px; color: #aebbd0; font: 9px "DM Mono", "Fira Code", monospace; }
.governance-list svg { color: var(--cyan); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 980px) {
  .container { width: min(var(--container), calc(100% - 64px)); }
  .hero-grid, .two-column-section, .approach-grid, .experience-grid, .contact-grid { gap: 48px; }
  .nav-links { gap: 14px; }
  .technology-grid { grid-template-columns: repeat(3, 1fr); }
  .technology-card:nth-child(4), .technology-card:nth-child(5) { grid-column: span 1; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }
  .section-pad { padding-block: 70px; }
  .desktop-only { display: none; }
  .site-header { height: 58px; }
  .nav-links { position: absolute; top: 58px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--border); border-radius: 5px; background: #0c1423; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 10px; }
  .nav-links .nav-github { display: none; }
  .nav-links .nav-cta { text-align: center; margin-top: 4px; }
  .menu-button { display: flex; }
  .hero { min-height: auto; }
  .hero-grid, .two-column-section, .approach-grid, .experience-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: none; }
  .hero-intro { font-size: 14px; }
  .hero-role { font-size: 25px; }
  .section-heading-row > p { font-size: 14px; }
  .hero { padding-top: 82px; padding-bottom: 75px; }
  .architecture-panel { min-height: 405px; }
  .diagram-canvas { height: 315px; }
  .diagram-onprem { top: 270px; }
  .line-e { top: 253px; }
  .section-heading-row { display: block; margin-bottom: 24px; }
  .section-heading-row > p { margin-top: 16px; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .expertise-item { min-height: 150px; }
  .expertise-item:nth-child(4n) { border-right: 1px solid var(--border-soft); }
  .expertise-item:nth-child(2n) { border-right: 0; }
  .expertise-item:nth-last-child(-n + 4) { border-bottom: 1px solid var(--border-soft); }
  .expertise-item:nth-last-child(-n + 2) { border-bottom: 0; }
  .technology-grid { grid-template-columns: 1fr 1fr; }
  .technology-card:last-child { grid-column: span 2; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-visual { height: 150px; }
  .case-detail-grid { grid-template-columns: 1fr; }
  .detail-item, .detail-item:nth-last-child(-n + 3) { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .detail-item:last-child { border-bottom: 0; }
  .case-detail-heading { align-items: flex-start; gap: 12px; }
  .detail-link { white-space: nowrap; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article:nth-last-child(-n + 2) { border-bottom: 1px solid var(--border-soft); }
  .principles-grid article:last-child { border-bottom: 0; }
  .github-panel { align-items: flex-start; flex-direction: column; padding: 24px; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .footer-inner { align-items: flex-start; gap: 15px; flex-direction: column; }
}
@media (max-width: 430px) {
  h1 { font-size: 43px; }
  .hero-role { font-size: 24px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .button-primary { flex-basis: 100%; }
  .expertise-grid, .technology-grid, .contact-cards { grid-template-columns: 1fr; }
  .technology-card:last-child { grid-column: auto; }
  .expertise-item, .expertise-item:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .expertise-item:last-child { border-bottom: 0; }
  .diagram-legend { gap: 6px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
