:root { --ink:#171717; --paper:#f7f3ec; --surface:#fffdf9; --line:#d9d1c5; --muted:#68625e; --blue:#1558d6; --blue-dark:#0d42a1; --red:#e62117; --black:#101110; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Poppins, Arial, sans-serif; font-size: 16px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.skip-link { position:fixed; top:-5rem; left:1rem; z-index:100; padding:.75rem 1rem; color:#000; background:#fff; border-radius:.5rem; }
.skip-link:focus { top:1rem; }
:focus-visible { outline:3px solid #69a8ff; outline-offset:3px; }
.eyebrow { margin:0 0 .65rem; color:var(--blue); font-size:.82rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }

.site-header { min-height:78px; position:relative; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:2rem; padding:0 clamp(1.25rem,5vw,5.5rem); color:#fff; background:var(--black); border-bottom:1px solid #333; }
.brand { display:flex; align-items:center; gap:.8rem; text-decoration:none; }
.brand-logo { width:auto; height:58px; display:block; object-fit:contain; }
.brand-mark { width:42px; height:42px; display:grid; place-items:center; color:#fff; border:1px solid #3c65a7; border-radius:50%; font-weight:700; letter-spacing:-.05em; }
.brand > span:last-child { display:flex; flex-direction:column; line-height:1.1; }
.brand strong { font-size:1.1rem; }
.brand small { margin-top:.2rem; color:#9ca3ad; font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; }
.site-nav { display:flex; align-items:center; gap:clamp(1.4rem,3vw,2.8rem); }
.site-nav a { color:#dedede; text-decoration:none; font-weight:500; }
.site-nav a:hover { color:#fff; }
.site-nav .nav-contact { padding:.55rem 1rem; color:#fff; border:1px solid #555; border-radius:.5rem; }
.menu-toggle { width:44px; height:44px; display:none; border:0; padding:10px; background:transparent; }
.menu-toggle > span:not(.sr-only) { display:block; height:2px; margin:5px 0; background:#fff; }

.hero { min-height:calc(100vh - 78px); display:grid; grid-template-columns:minmax(460px,1.08fr) minmax(0,.92fr); align-items:stretch; gap:clamp(2.5rem,6vw,7rem); overflow:hidden; padding:0 clamp(1.25rem,7vw,8rem) 0 0; color:#fff; background:radial-gradient(circle at 83% 20%, rgba(33,107,216,.3), transparent 27%), linear-gradient(135deg,#101110 12%,#121d2b 66%,#09111c); }
.hero-copy { position:relative; z-index:2; align-self:center; order:2; padding:5rem 0; }
.hero h1 { max-width:850px; margin:0; font-size:clamp(3.2rem,7vw,7rem); line-height:.93; letter-spacing:-.065em; }
.hero h1 span { color:#71a7ff; }
.hero-lead { max-width:760px; margin:1.6rem 0 2rem; color:#cbd2dc; font-size:clamp(1.05rem,1.7vw,1.35rem); }
.hero-actions { display:flex; gap:.9rem; flex-wrap:wrap; }
.button { min-height:50px; display:inline-flex; align-items:center; justify-content:center; padding:.78rem 1.35rem; border:1px solid transparent; border-radius:.6rem; text-decoration:none; font-weight:600; }
.button-primary { color:#fff; background:var(--blue); }
.button-primary:hover { background:var(--blue-dark); }
.button-youtube { color:#fff; background:var(--red); }
.button-youtube:hover { background:#c51b13; }
.button-dark { color:#fff; background:var(--black); }
.subtle-link { display:inline-block; margin-top:1.25rem; color:#dce8ff; text-underline-offset:.3rem; }
.subtle-link.dark { color:var(--ink); }
.tool-strip { display:flex; align-items:center; gap:1rem 1.3rem; flex-wrap:wrap; margin:2.8rem 0 0; padding:1.2rem 0 0; border-top:1px solid rgba(255,255,255,.16); list-style:none; }
.tool-strip li { display:flex; align-items:center; gap:.5rem; color:#c2c9d3; font-size:.86rem; }
.tool-strip img { width:28px; height:28px; object-fit:contain; }
.hero-portrait { min-height:680px; position:relative; order:1; overflow:hidden; }
.hero-portrait::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,transparent 55%,rgba(14,20,29,.2) 78%,#111923 100%); }
.hero-portrait > img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; object-position:left center; }
.portrait-note { position:absolute; display:flex; align-items:center; gap:.6rem; padding:.7rem .9rem; color:#e9eef6; border:1px solid rgba(255,255,255,.16); border-radius:.55rem; background:rgba(11,17,25,.84); backdrop-filter:blur(10px); font-size:.82rem; }
.portrait-note span { width:8px; height:8px; border-radius:50%; background:#5e9cff; box-shadow:0 0 12px #5e9cff; }
.note-top { z-index:2; top:12%; right:5%; }
.note-bottom { z-index:2; bottom:8%; left:7%; }

.intro-band { display:grid; grid-template-columns:.65fr 1.35fr; gap:3rem; padding:2rem clamp(1.25rem,7vw,8rem); color:#fff; background:var(--blue); }
.intro-band p { margin:0; }
.intro-band p:first-child { font-size:1.25rem; font-weight:700; }
.intro-band p:last-child { color:#dfebff; }
.section { padding:clamp(4.5rem,9vw,8.5rem) clamp(1.25rem,7vw,8rem); }
.section-heading { display:grid; grid-template-columns:1.1fr .9fr; align-items:end; gap:3rem; margin-bottom:3rem; }
.section-heading h2 { max-width:780px; margin:0; font-size:clamp(2.5rem,5vw,5rem); line-height:.98; letter-spacing:-.06em; }
.section-heading > p { max-width:600px; margin:0 0 .35rem; color:var(--muted); font-size:1.05rem; }
.section-heading.light h2 { color:#fff; }
.section-heading.light > p { color:#aeb8c6; }

.roadmap-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.2rem; }
.roadmap-card { min-height:390px; display:flex; flex-direction:column; padding:2rem; text-decoration:none; border:1px solid var(--line); border-radius:1rem; background:var(--surface); transition:transform .2s ease,box-shadow .2s ease; }
.roadmap-card:hover { transform:translateY(-5px); box-shadow:0 20px 45px rgba(69,50,26,.1); }
.roadmap-card.featured { color:#fff; border-color:#1d62d6; background:linear-gradient(140deg,#164a9d,#101e32 74%); }
.roadmap-card.intermediate-card { color:#fff; border-color:#20835a; background:linear-gradient(140deg,#176d4a,#102c25 74%); }
.roadmap-card.advanced-card { color:#fff; border-color:#7d50a8; background:linear-gradient(140deg,#593474,#24172f 74%); }
.roadmap-card.ai-card { color:#fff; border-color:#c2364d; background:linear-gradient(140deg,#a71932,#35111a 74%); }
.card-top { display:flex; justify-content:space-between; align-items:center; color:var(--muted); font-size:.85rem; font-weight:600; text-transform:uppercase; letter-spacing:.08em; }
.featured .card-top { color:#cbd9ef; }
.intermediate-card .card-top { color:#cce9da; }
.advanced-card .card-top { color:#e4d1f4; }
.ai-card .card-top { color:#ffd1d9; }
.level { padding:.3rem .6rem; border:1px solid currentColor; border-radius:2rem; }
.roadmap-icons { display:flex; align-items:center; margin:2.8rem 0 1.8rem; }
.roadmap-icons img { width:58px; height:58px; padding:.7rem; object-fit:contain; border:1px solid var(--line); border-radius:50%; background:#fff; }
.roadmap-icons img + img { margin-left:-.55rem; }
.roadmap-card h3 { margin:0 0 .65rem; font-size:clamp(1.7rem,3vw,2.55rem); line-height:1.08; letter-spacing:-.04em; }
.roadmap-card p { max-width:620px; margin:0 0 1.7rem; color:var(--muted); }
.featured p { color:#c4d0e1; }
.intermediate-card p { color:#c7ded3; }
.advanced-card p { color:#dbcce5; }
.ai-card p { color:#f0c7ce; }
.card-link { margin-top:auto; color:var(--blue); font-weight:600; text-decoration:underline; text-underline-offset:.3rem; }
.featured .card-link { color:#fff; }
.intermediate-card .card-link { color:#fff; }
.advanced-card .card-link { color:#fff; }
.ai-card .card-link { color:#fff; }

.videos-section { background:#101722; }
.video-layout { display:grid; grid-template-columns:1.3fr .7fr; gap:1.2rem; }
.video-feature { min-height:560px; position:relative; overflow:hidden; border-radius:1rem; background:#050505; }
.video-feature > img { width:100%; height:100%; position:absolute; object-fit:cover; opacity:.72; transition:transform .35s ease; }
.video-feature:hover > img { transform:scale(1.025); }
.video-feature::after { content:""; position:absolute; inset:0; background:linear-gradient(transparent 35%,rgba(0,0,0,.9)); }
.video-overlay { position:absolute; z-index:2; left:2rem; right:2rem; bottom:2rem; display:flex; align-items:center; gap:1.3rem; color:#fff; }
.play { width:58px; height:58px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; background:var(--red); }
.play::after { content:""; width:0; height:0; margin-left:4px; border-top:8px solid transparent; border-bottom:8px solid transparent; border-left:13px solid #fff; }
.video-overlay small,.video-list small,.project-card small { color:#82aef4; font-size:.75rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.video-overlay h3 { margin:.25rem 0 0; font-size:clamp(1.6rem,3vw,2.8rem); line-height:1.08; }
.video-list { display:flex; flex-direction:column; border:1px solid #303a47; border-radius:1rem; overflow:hidden; }
.video-list > a:not(.all-videos) { flex:1; display:grid; grid-template-columns:44px 1fr auto; align-items:center; gap:1rem; padding:1.2rem; color:#fff; text-decoration:none; border-bottom:1px solid #303a47; }
.video-list > a:hover { background:#182232; }
.video-number { color:#7199d8; font-size:.8rem; }
.video-list h3 { margin:.2rem 0 0; font-size:1.2rem; }
.external { color:#9ca8b8; font-size:.78rem; }
.video-list .all-videos { min-height:60px; display:flex; align-items:center; justify-content:center; padding:1rem; color:#fff; background:var(--blue); font-weight:600; text-underline-offset:.25rem; }

.other-projects-section { background:#101722; }
.engineering-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.2rem; }
.engineering-card { min-height:330px; display:flex; flex-direction:column; padding:1.8rem; color:#fff; text-decoration:none; border:1px solid #344154; border-radius:1rem; background:#172231; transition:transform .2s ease,border-color .2s ease; }
.engineering-card:hover { transform:translateY(-5px); border-color:#6f91c0; }
.project-icon { width:76px; height:76px; flex:0 0 76px; display:grid; place-items:center; margin-bottom:2.2rem; padding:14px; border:1px solid rgba(255,255,255,.24); border-radius:1rem; background:rgba(255,255,255,.96); }
.project-icon img { width:48px; height:48px; display:block; object-fit:contain; }
.terminal-icon { box-sizing:border-box; color:#fff; background:#20252b; font-weight:700; font-size:1.1rem; }
.engineering-card small { color:#8bb4f2; font-size:.75rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.engineering-card h3 { margin:.35rem 0 .65rem; font-size:clamp(1.65rem,3vw,2.5rem); line-height:1.05; letter-spacing:-.04em; }
.engineering-card p { margin:0; color:#b9c3d0; }
.engineering-card div > span { display:inline-block; margin-top:1.7rem; color:#fff; font-weight:600; text-decoration:underline; text-underline-offset:.3rem; }
.project-python { background:radial-gradient(circle at 85% 20%,rgba(55,118,224,.42),transparent 25%),linear-gradient(140deg,#174e9c,#13243a 78%); }
.project-bash { background:linear-gradient(145deg,#20392d,#14251d); }
.project-batch { background:linear-gradient(145deg,#353a42,#1d2229); }
.project-go { background:linear-gradient(145deg,#086b81,#12333d); }
.project-js { background:linear-gradient(145deg,#6a5806,#322b0c); }
.project-rasp { background:linear-gradient(145deg,#7b1738,#35101d); }
.project-web { background:linear-gradient(145deg,#7c321b,#361a12); }

.project-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:1.2rem; }
.project-card { overflow:hidden; display:grid; grid-template-columns:.9fr 1.1fr; min-height:285px; color:var(--ink); text-decoration:none; border:1px solid var(--line); border-radius:1rem; background:var(--surface); }
.project-card > .project-copy { display:flex; flex-direction:column; justify-content:center; padding:1.7rem; }
.project-cloud-cover { position:relative; overflow:hidden; display:grid; place-items:center; min-height:285px; }
.project-cloud-cover::before { content:""; position:absolute; inset:0; opacity:.22; background-image:linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px); background-size:38px 38px; }
.project-cloud-cover span { width:190px; height:190px; position:absolute; border:1px solid rgba(255,255,255,.28); border-radius:50%; box-shadow:0 0 60px rgba(255,255,255,.1); }
.project-cloud-cover img { width:115px; height:115px; position:relative; z-index:1; object-fit:contain; filter:drop-shadow(0 18px 20px rgba(0,0,0,.4)); }
.project-cloud-aws { background:radial-gradient(circle at 50% 45%,rgba(255,153,0,.42),transparent 26%),linear-gradient(135deg,#141a23,#28384d 60%,#0d1118); }
.project-cloud-gcp { background:radial-gradient(circle at 50% 45%,rgba(66,133,244,.5),transparent 27%),linear-gradient(135deg,#101825,#163b72 60%,#09111d); }
.project-cloud-azure { background:radial-gradient(circle at 50% 45%,rgba(0,120,212,.52),transparent 27%),linear-gradient(135deg,#091923,#0e486d 60%,#06121a); }
.project-card h3 { margin:.35rem 0 .7rem; font-size:clamp(1.5rem,2.5vw,2.25rem); line-height:1.1; }
.project-card p { color:var(--muted); }
.project-large { grid-row:span 2; grid-template-columns:1fr; }
.project-large .project-cloud-cover { min-height:330px; }

.about-preview { display:grid; grid-template-columns:.75fr 1.25fr; min-height:650px; margin:0 clamp(1.25rem,7vw,8rem) clamp(4.5rem,8vw,8rem); overflow:hidden; border-radius:1rem; background:#e9e2d8; }
.about-photo { position:relative; display:flex; align-items:end; justify-content:center; overflow:hidden; background:radial-gradient(circle at 50% 34%,#fdfbf8 0 28%,transparent 29%),linear-gradient(160deg,#cdc4b8,#9eaec1); }
.about-photo img { width:100%; height:100%; max-height:none; object-fit:cover; object-position:center bottom; }
.about-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(2rem,6vw,6rem); }
.about-copy h2 { margin:.3rem 0 1.2rem; font-size:clamp(2.4rem,5vw,4.7rem); line-height:.98; letter-spacing:-.055em; }
.about-copy > p:not(.eyebrow) { max-width:700px; color:#4f4b47; font-size:1.08rem; }
.about-links { display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; margin-top:1.5rem; }
.connect-section { padding:clamp(4rem,8vw,7rem) clamp(1.25rem,7vw,8rem); text-align:center; color:#fff; background:linear-gradient(120deg,#0d2d5d,#15191f); }
.connect-section h2 { max-width:900px; margin:.3rem auto 2rem; font-size:clamp(2.5rem,6vw,5.5rem); line-height:.98; letter-spacing:-.06em; }
.connect-section > div { display:flex; justify-content:center; gap:1rem 2.2rem; flex-wrap:wrap; }
.connect-section a { color:#fff; font-weight:600; text-underline-offset:.3rem; }
.site-footer { min-height:150px; display:flex; justify-content:space-between; align-items:center; gap:2rem; padding:2rem clamp(1.25rem,7vw,8rem); color:#fff; background:var(--black); }
.site-footer strong { font-size:1.4rem; }
.site-footer p { margin:.25rem 0 0; color:#999; }
.site-footer > div:has(> a) { display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.site-footer > div:has(> a) a { color:#fff; text-underline-offset:.3rem; text-decoration-thickness:1px; }
.site-footer .footer-links { display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.site-footer .footer-links a { color:#fff; text-underline-offset:.3rem; text-decoration-thickness:1px; }

@media (max-width:1050px) {
  .hero { min-height:auto; grid-template-columns:1fr; gap:0; padding:0; }
  .hero-copy { order:1; padding:5rem clamp(1.25rem,7vw,5rem); }
  .hero-portrait { min-height:570px; order:2; }
  .hero-portrait::after { background:linear-gradient(180deg,#111923 0,transparent 22%); }
  .hero-portrait > img { object-position:left center; }
  .video-layout,.project-grid { grid-template-columns:1fr; }
  .engineering-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .video-feature { min-height:470px; }
  .project-large { grid-row:auto; }
}
@media (max-width:760px) {
  .site-header { min-height:66px; }
  .menu-toggle { display:block; }
  .site-nav { position:absolute; top:66px; left:0; right:0; display:none; flex-direction:column; align-items:stretch; gap:0; padding:1rem 1.25rem 1.5rem; background:var(--black); }
  .site-nav.open { display:flex; }
  .site-nav a { padding:.8rem 0; }
  .site-nav .nav-contact { padding:.8rem 0; border:0; }
  .hero { padding:0; }
  .hero-copy { padding:4.5rem 1.25rem; }
  .hero h1 { font-size:clamp(3.2rem,16vw,5.3rem); }
  .hero-actions,.hero-actions .button { width:100%; }
  .hero-portrait { min-height:430px; }
  .hero-portrait > img { object-position:left center; }
  .portrait-note { display:none; }
  .intro-band,.section-heading { grid-template-columns:1fr; gap:1rem; }
  .roadmap-grid { grid-template-columns:1fr; }
  .engineering-grid { grid-template-columns:1fr; }
  .roadmap-card { min-height:340px; padding:1.5rem; }
  .video-feature { min-height:380px; }
  .video-overlay { left:1.2rem; right:1.2rem; bottom:1.2rem; align-items:flex-start; flex-direction:column; }
  .video-list > a:not(.all-videos) { grid-template-columns:34px 1fr; }
  .external { display:none; }
  .project-card { grid-template-columns:1fr; }
  .project-cloud-cover,.project-large .project-cloud-cover { min-height:240px; }
  .about-preview { grid-template-columns:1fr; }
  .about-photo { min-height:430px; }
  .about-photo img { height:430px; max-height:none; object-fit:cover; object-position:center bottom; }
  .site-footer { align-items:flex-start; flex-direction:column; }
  .site-footer > div:has(> a) { gap:.8rem 1.25rem; }
  .site-footer .footer-links { gap:.8rem 1.25rem; }
}
@media (prefers-reduced-motion:reduce) { html{scroll-behavior:auto} *,*::before,*::after{transition-duration:.01ms!important} }
