:root {
  --bg: #08090d;
  --bg-2: #0c0e14;
  --panel: #11141c;
  --panel-2: #171b25;
  --white: #f7f9fc;
  --paper: #eef2f7;
  --ink: #171a21;
  --muted: #9ca5b2;
  --muted-dark: #626b78;
  --line: rgba(255, 255, 255, .12);
  --line-dark: rgba(17, 22, 31, .14);
  --cyan: #18bdd7;
  --blue: #168dd0;
  --violet: #9054ff;
  --gradient: linear-gradient(120deg, var(--blue), var(--cyan) 52%, #80e7f0);
  --gradient-alt: linear-gradient(120deg, var(--violet), #476dff 55%, var(--cyan));
  --shadow: 0 30px 90px rgba(0, 0, 0, .32);
  --container: 1240px;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
p, h1, h2, h3, ol, ul { margin-top: 0; }
h1, h2, h3 { margin-bottom: 0; line-height: 1.02; letter-spacing: -.045em; }
h1 { font-size: clamp(4rem, 7vw, 7.1rem); }
h2 { font-size: clamp(3rem, 5.7vw, 5.7rem); }
h3 { font-size: 1.5rem; }
em { color: var(--cyan); font-style: normal; }
::selection { background: var(--cyan); color: #041014; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.container { width: min(calc(100% - 56px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 140px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 10px 16px; border-radius: 8px; background: var(--white); color: var(--ink); transform: translateY(-180%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.section-index, .eyebrow { color: var(--cyan); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-heading { display: grid; margin-bottom: 74px; grid-template-columns: minmax(0, 1.7fr) minmax(270px, .65fr); align-items: end; gap: 80px; }
.section-heading h2 { max-width: 920px; margin-top: 20px; }
.section-heading > p { margin-bottom: 5px; color: var(--muted); font-size: 1.04rem; }
.button { display: inline-flex; min-height: 56px; padding: 13px 23px; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 780; line-height: 1.2; transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.button svg, .text-link svg, .header-contact svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gradient); box-shadow: 0 14px 34px rgba(19, 162, 206, .21); color: #041014; }
.button-primary:hover { box-shadow: 0 18px 42px rgba(19, 162, 206, .34); }
.button-ghost { border-color: rgba(255,255,255,.23); background: rgba(255,255,255,.035); color: var(--white); }
.button-ghost:hover { border-color: var(--cyan); background: rgba(24,189,215,.08); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { box-shadow: 0 16px 35px rgba(0,0,0,.2); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan); font-size: .9rem; font-weight: 800; }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(5px); }

/* Header */
.site-header { position: fixed; z-index: 1000; top: 0; right: 0; left: 0; border-bottom: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled { border-color: var(--line); background: rgba(8,9,13,.9); box-shadow: 0 12px 45px rgba(0,0,0,.2); backdrop-filter: blur(18px); }
.header-inner { display: grid; min-height: 96px; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand img { width: 39px; height: 39px; object-fit: contain; }
.brand span { font-size: .75rem; font-weight: 820; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.main-nav { display: flex; justify-content: center; gap: clamp(20px, 2.7vw, 42px); }
.main-nav a { position: relative; padding: 36px 0; color: rgba(255,255,255,.7); font-size: .82rem; font-weight: 700; }
.main-nav a::after { position: absolute; right: 0; bottom: 27px; left: 0; height: 1px; background: var(--cyan); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-contact { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-size: .84rem; font-weight: 800; }
.header-contact svg { color: var(--cyan); transition: transform .2s ease; }
.header-contact:hover svg { transform: translateX(4px); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

/* Hero */
.hero { position: relative; min-height: 940px; overflow: hidden; background: radial-gradient(circle at 77% 50%, rgba(32,135,176,.2), transparent 27%), radial-gradient(circle at 57% 22%, rgba(117,67,215,.13), transparent 30%), var(--bg); isolation: isolate; }
.hero-grid, .contact-grid { position: absolute; z-index: -3; inset: 0; opacity: .38; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: linear-gradient(90deg, black, transparent 86%); mask-image: linear-gradient(90deg, black, transparent 86%); }
.hero::after { position: absolute; z-index: -2; right: -10vw; bottom: -460px; width: 850px; height: 850px; border: 1px solid rgba(24,189,215,.18); border-radius: 50%; content: ""; }
.hero-orbit { position: absolute; z-index: -2; border: 1px solid rgba(24,189,215,.13); border-radius: 50%; pointer-events: none; }
.orbit-one { top: 140px; right: 11vw; width: 520px; height: 520px; }
.orbit-two { top: 75px; right: 7vw; width: 650px; height: 650px; border-color: rgba(144,84,255,.12); }
.hero-layout { display: grid; min-height: 940px; padding-top: 132px; padding-bottom: 72px; grid-template-columns: minmax(0, 1.22fr) minmax(380px, .78fr); align-items: center; gap: 60px; }
.hero-copy { position: relative; z-index: 2; padding-top: 20px; }
.eyebrow { display: flex; margin-bottom: 27px; align-items: center; gap: 13px; }
.eyebrow span { display: block; width: 32px; height: 1px; background: currentColor; }
.hero h1 { max-width: 810px; font-weight: 790; }
.hero h1 em { display: block; background: var(--gradient); color: transparent; -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 720px; margin: 30px 0 35px; color: rgba(247,249,252,.68); font-size: clamp(1.05rem, 1.45vw, 1.26rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: grid; max-width: 790px; margin-top: 69px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-proof div { min-height: 95px; padding: 21px 24px 10px 0; }
.hero-proof div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { margin-bottom: 4px; color: var(--white); font-size: 1.03rem; }
.hero-proof span { color: var(--muted); font-size: .77rem; line-height: 1.45; }
.hero-visual { position: relative; z-index: 2; width: 100%; max-width: 500px; justify-self: end; }
.portrait-frame { position: relative; width: calc(100% - 25px); margin-left: auto; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 240px 240px 22px 22px; background: #1c232b; box-shadow: var(--shadow); }
.portrait-frame::after { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, transparent 65%, rgba(7,9,13,.78)); content: ""; pointer-events: none; }
.portrait-frame img { width: 100%; aspect-ratio: 4 / 5.18; object-fit: cover; object-position: center top; }
.portrait-signal { position: absolute; z-index: 2; right: 24px; bottom: 22px; display: flex; padding: 9px 13px; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: rgba(7,9,13,.76); color: rgba(255,255,255,.75); font-size: .7rem; font-weight: 750; backdrop-filter: blur(12px); }
.portrait-signal i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #45e7a4; box-shadow: 0 0 0 5px rgba(69,231,164,.14); }
.floating-note { position: absolute; z-index: 3; padding: 15px 17px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(13,15,21,.86); box-shadow: 0 18px 50px rgba(0,0,0,.28); backdrop-filter: blur(14px); }
.floating-note span, .floating-note strong { display: block; }
.floating-note span { margin-bottom: 3px; color: var(--cyan); font-size: .63rem; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.floating-note strong { font-size: .77rem; }
.note-one { top: 33%; left: -58px; }
.note-two { right: -26px; bottom: 16%; }

/* Platforms */
.platform-strip { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0a0b10; }
.platform-track { display: flex; width: max-content; min-height: 86px; align-items: center; animation: platformLoop 36s linear infinite; }
.platform-track span { display: inline-flex; align-items: center; gap: 34px; padding-right: 36px; color: rgba(255,255,255,.65); font-size: .86rem; font-weight: 760; letter-spacing: .05em; white-space: nowrap; }
.platform-track span::after { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(24,189,215,.8); content: ""; }
@keyframes platformLoop { to { transform: translateX(-50%); } }

/* Expertise */
.expertise { background: var(--bg-2); }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.expertise-card { position: relative; min-height: 335px; padding: 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); transition: background-color .25s ease; }
.expertise-card > span { color: var(--cyan); font-size: .73rem; font-weight: 820; letter-spacing: .12em; }
.expertise-card h3 { max-width: 420px; margin-top: 80px; font-size: clamp(1.7rem, 3vw, 2.65rem); }
.expertise-card p { max-width: 520px; margin: 17px 0 0; color: var(--muted); }
.expertise-card > i { position: absolute; top: 37px; right: 38px; display: grid; width: 45px; height: 45px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--cyan); transition: border-color .2s ease, transform .2s ease; }
.expertise-card > i svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.expertise-card:hover { background: rgba(24,189,215,.045); }
.expertise-card:hover > i { border-color: var(--cyan); transform: rotate(-35deg); }

/* Stack */
.stack-section { overflow: hidden; background: var(--paper); color: var(--ink); }
.stack-section .section-index, .approach-section .section-index, .about-section .section-index { color: #0c769d; }
.stack-section::before { position: absolute; top: -260px; right: -150px; width: 580px; height: 580px; border: 1px solid rgba(20,141,208,.17); border-radius: 50%; content: ""; }
.stack-layout { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 105px; }
.stack-copy h2 { margin: 20px 0 26px; font-size: clamp(3rem, 5vw, 5.2rem); }
.stack-copy em { color: var(--blue); }
.stack-copy > p:not(.section-index) { margin-bottom: 30px; color: var(--muted-dark); font-size: 1.05rem; }
.stack-copy .text-link { color: #0c769d; }
.stack-board { border-top: 1px solid var(--line-dark); }
.stack-board > div { display: grid; min-height: 126px; padding: 25px 0; grid-template-columns: 170px 1fr; align-items: center; gap: 28px; border-bottom: 1px solid var(--line-dark); }
.stack-board span { color: var(--muted-dark); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stack-board p { display: flex; margin: 0; flex-wrap: wrap; gap: 9px; }
.stack-board strong { padding: 10px 14px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255,255,255,.6); font-size: .88rem; letter-spacing: -.01em; }

/* Selected work */
.selected-work { background: var(--bg); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.work-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.work-card.work-featured { display: grid; grid-column: 1 / span 2; min-height: 570px; grid-template-columns: 1fr 1fr; }
.work-visual { position: relative; min-height: 305px; overflow: hidden; background: radial-gradient(circle at 50% 40%, rgba(24,189,215,.22), transparent 47%), #0b0d12; }
.work-featured .work-visual { min-height: 100%; }
.work-copy { padding: 42px; }
.work-featured .work-copy { display: flex; padding: 60px; flex-direction: column; justify-content: center; }
.work-copy > span { color: var(--cyan); font-size: .69rem; font-weight: 820; letter-spacing: .13em; text-transform: uppercase; }
.work-copy h3 { margin: 18px 0 20px; font-size: clamp(2rem, 3.5vw, 3.65rem); }
.work-card:not(.work-featured) .work-copy h3 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.work-copy p { color: var(--muted); }
.work-copy ul { display: flex; padding: 0; margin: 26px 0 0; flex-wrap: wrap; gap: 8px; list-style: none; }
.work-copy li { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: rgba(255,255,255,.7); font-size: .72rem; }
.visual-bars { display: flex; padding: 70px; align-items: flex-end; justify-content: center; gap: 15px; }
.visual-bars::before { position: absolute; inset: 45px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 100% 54px; content: ""; }
.visual-bars i { position: relative; z-index: 1; width: 35px; border-radius: 7px 7px 0 0; background: var(--gradient-alt); box-shadow: 0 0 24px rgba(24,189,215,.18); }
.visual-bars i:nth-child(1) { height: 24%; opacity: .45; }
.visual-bars i:nth-child(2) { height: 41%; opacity: .58; }
.visual-bars i:nth-child(3) { height: 35%; opacity: .7; }
.visual-bars i:nth-child(4) { height: 63%; opacity: .82; }
.visual-bars i:nth-child(5) { height: 73%; opacity: .92; }
.visual-bars i:nth-child(6) { height: 92%; }
.visual-map { background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px), radial-gradient(circle at 35% 55%, rgba(144,84,255,.23), transparent 32%); background-size: 45px 45px, 45px 45px, auto; }
.visual-map::before, .visual-map::after { position: absolute; border: 1px solid rgba(24,189,215,.42); border-radius: 50%; content: ""; }
.visual-map::before { top: 53%; left: 35%; width: 175px; height: 175px; transform: translate(-50%,-50%); }
.visual-map::after { top: 53%; left: 35%; width: 76px; height: 76px; background: rgba(24,189,215,.07); transform: translate(-50%,-50%); }
.visual-map i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 9px rgba(24,189,215,.1), 0 0 25px var(--cyan); }
.visual-map i:nth-child(1) { top: 34%; left: 67%; }
.visual-map i:nth-child(2) { top: 65%; left: 72%; }
.visual-map i:nth-child(3) { top: 48%; left: 35%; }
.visual-wave { display: flex; align-items: center; justify-content: center; gap: 8px; }
.visual-wave::before { position: absolute; width: 340px; height: 340px; border: 1px solid rgba(144,84,255,.2); border-radius: 50%; content: ""; }
.visual-wave i { width: 11px; border-radius: 999px; background: var(--gradient-alt); }
.visual-wave i:nth-child(1) { height: 58px; }
.visual-wave i:nth-child(2) { height: 132px; }
.visual-wave i:nth-child(3) { height: 89px; }
.visual-wave i:nth-child(4) { height: 178px; }

/* Experience */
.experience-section { overflow: hidden; background: linear-gradient(145deg, #111224, #151022 56%, #0c1620); }
.experience-section::before { position: absolute; top: 8%; left: -210px; width: 520px; height: 520px; border: 1px solid rgba(144,84,255,.18); border-radius: 50%; content: ""; }
.experience-layout { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 105px; }
.experience-intro { position: sticky; top: 145px; }
.experience-intro h2 { margin: 20px 0 28px; font-size: clamp(3rem, 5vw, 5.1rem); }
.experience-intro > p:not(.section-index) { margin-bottom: 31px; color: var(--muted); }
.timeline { padding: 0; margin: 0; list-style: none; }
.timeline li { display: grid; min-height: 205px; padding: 35px 0; grid-template-columns: 118px 1fr; gap: 30px; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { padding-top: 3px; color: var(--cyan); font-size: .71rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.timeline div > span { color: rgba(255,255,255,.52); font-size: .82rem; font-weight: 700; }
.timeline h3 { margin: 8px 0 15px; font-size: 1.75rem; }
.timeline p { max-width: 630px; margin: 0; color: var(--muted); font-size: .92rem; }

/* Approach + About */
.approach-section { background: var(--paper); color: var(--ink); }
.approach-section em, .about-section em { color: var(--blue); }
.approach-section .section-heading > p { color: var(--muted-dark); }
.approach-grid { display: grid; padding: 0; margin: 0; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); list-style: none; }
.approach-grid li { min-height: 305px; padding: 35px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.approach-grid span { color: var(--blue); font-size: .72rem; font-weight: 820; }
.approach-grid h3 { margin: 92px 0 16px; font-size: 2rem; }
.approach-grid p { margin: 0; color: var(--muted-dark); font-size: .91rem; }
.about-section { background: #f8fafc; color: var(--ink); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-title h2 { max-width: 650px; margin-top: 20px; }
.about-copy { padding-top: 44px; }
.about-copy p { color: var(--muted-dark); }
.about-copy .lead { color: var(--ink); font-size: 1.34rem; font-weight: 570; line-height: 1.55; }
.about-meta { display: flex; margin-top: 35px; flex-wrap: wrap; gap: 10px; }
.about-meta span { display: inline-flex; padding: 10px 13px; align-items: center; gap: 8px; border: 1px solid var(--line-dark); border-radius: 999px; background: var(--white); font-size: .76rem; }
.about-meta svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 2; }

/* Contact and footer */
.contact-section { position: relative; overflow: hidden; padding: 165px 0; background: radial-gradient(circle at 80% 35%, rgba(24,189,215,.19), transparent 28%), radial-gradient(circle at 30% 110%, rgba(144,84,255,.18), transparent 32%), var(--bg); isolation: isolate; }
.contact-grid { -webkit-mask-image: radial-gradient(circle at 55% 50%, black, transparent 76%); mask-image: radial-gradient(circle at 55% 50%, black, transparent 76%); }
.contact-inner { max-width: 990px; text-align: center; }
.contact-inner h2 { margin: 23px auto 27px; }
.contact-inner > p:not(.section-index) { max-width: 650px; margin: 0 auto 35px; color: var(--muted); font-size: 1.08rem; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.site-footer { padding-top: 78px; border-top: 1px solid var(--line); background: #05060a; color: var(--muted); }
.footer-main { display: grid; padding-bottom: 65px; grid-template-columns: 1.7fr 1fr 1fr; gap: 75px; }
.footer-main > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-main img { width: 45px; height: 45px; margin-bottom: 18px; object-fit: contain; }
.footer-main p { max-width: 400px; margin: 0; }
.footer-main span { margin-bottom: 13px; color: rgba(255,255,255,.45); font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-main a { margin-bottom: 6px; color: rgba(255,255,255,.76); font-size: .9rem; }
.footer-main a:hover, .footer-bottom a:hover { color: var(--cyan); }
.footer-bottom { display: flex; min-height: 78px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); font-size: .75rem; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 24px; }

/* Legal and 404 */
.simple-hero { padding: 205px 0 95px; background: radial-gradient(circle at 80% 20%, rgba(24,189,215,.16), transparent 27%), var(--bg); }
.simple-hero h1 { margin: 22px 0 20px; font-size: clamp(3.4rem, 7vw, 6.5rem); }
.simple-hero > .container > p:last-child { color: var(--muted); }
.legal { background: var(--paper); color: var(--ink); }
.legal-copy { max-width: 830px; }
.legal-copy h2 { margin: 48px 0 15px; font-size: 1.65rem; letter-spacing: -.025em; }
.legal-copy p { color: #505a68; }
.legal-copy a { color: #087a9c; text-decoration: underline; text-underline-offset: 3px; }
.not-found { display: flex; min-height: 820px; align-items: center; background: radial-gradient(circle at 50% 40%, rgba(24,189,215,.16), transparent 28%), var(--bg); text-align: center; }
.not-found span { display: block; background: var(--gradient); color: transparent; font-size: clamp(6rem, 15vw, 12rem); font-weight: 850; letter-spacing: -.09em; line-height: .85; -webkit-background-clip: text; background-clip: text; }
.not-found h1 { margin: 28px 0 18px; font-size: clamp(2.8rem, 5vw, 5rem); }
.not-found p { color: var(--muted); }
.not-found div div { display: flex; margin-top: 30px; justify-content: center; gap: 12px; }

/* Motion */
.reveal-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); gap: 30px; }
  .hero h1 { font-size: clamp(3.8rem, 7.5vw, 6rem); }
  .floating-note { display: none; }
  .section-heading { gap: 45px; }
  .stack-layout, .experience-layout { gap: 65px; }
  .work-featured .work-copy { padding: 45px; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .section { padding: 95px 0; }
  .site-header { background: rgba(8,9,13,.86); backdrop-filter: blur(15px); }
  .header-inner { min-height: 76px; grid-template-columns: 1fr auto; }
  .brand img { width: 35px; height: 35px; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; top: 76px; right: 0; left: 0; display: flex; height: calc(100dvh - 76px); padding: 36px 24px; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; background: rgba(8,9,13,.985); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease; }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { width: 100%; padding: 17px 4px; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .main-nav a::after { display: none; }
  .header-contact { display: none; }
  .hero-layout { padding-top: 115px; padding-bottom: 80px; grid-template-columns: 1fr; }
  .hero-copy { padding-top: 25px; }
  .hero h1 { max-width: 720px; }
  .hero-visual { max-width: 460px; margin-top: 20px; justify-self: center; }
  .portrait-frame { width: 100%; }
  .orbit-one { top: auto; right: -100px; bottom: 70px; }
  .orbit-two { display: none; }
  .section-heading { display: block; margin-bottom: 50px; }
  .section-heading > p { max-width: 620px; margin-top: 22px; }
  .stack-layout, .experience-layout, .about-layout { grid-template-columns: 1fr; gap: 60px; }
  .experience-intro { position: relative; top: auto; }
  .expertise-card { min-height: 300px; padding: 34px; }
  .expertise-card h3 { margin-top: 62px; }
  .work-card.work-featured { grid-template-columns: 1fr; }
  .work-featured .work-visual { min-height: 420px; }
  .about-copy { padding-top: 0; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 78px 0; }
  .brand span { font-size: .67rem; }
  .hero { min-height: auto; }
  .hero-layout { min-height: auto; padding-top: 116px; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 4.65rem); }
  .eyebrow { margin-bottom: 21px; font-size: .66rem; }
  .hero-lead { margin: 24px 0 29px; font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { margin-top: 45px; grid-template-columns: 1fr; }
  .hero-proof div { min-height: 68px; padding: 14px 0; }
  .hero-proof div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .hero-visual { width: 94%; margin-top: 8px; }
  .portrait-frame { border-radius: 180px 180px 18px 18px; }
  .portrait-signal { right: 13px; bottom: 13px; }
  .platform-track { min-height: 72px; }
  .section-heading h2, .stack-copy h2, .experience-intro h2, .about-title h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 280px; padding: 28px; }
  .expertise-card > i { top: 26px; right: 26px; }
  .stack-board > div { display: block; padding: 24px 0; }
  .stack-board p { margin-top: 15px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card.work-featured { grid-column: auto; }
  .work-featured .work-visual { min-height: 325px; }
  .work-copy, .work-featured .work-copy { padding: 29px; }
  .work-copy h3, .work-card:not(.work-featured) .work-copy h3 { font-size: 2.05rem; }
  .visual-bars { padding: 48px; }
  .visual-bars::before { inset: 28px; }
  .timeline li { display: block; min-height: 0; padding: 28px 0; }
  .timeline time { display: block; margin-bottom: 15px; }
  .timeline h3 { font-size: 1.55rem; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid li { min-height: 245px; padding: 28px; }
  .approach-grid h3 { margin-top: 66px; }
  .contact-section { padding: 105px 0; }
  .contact-inner h2 { font-size: clamp(2.8rem, 13vw, 4.3rem); }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .contact-actions .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { padding: 22px 0; align-items: flex-start; flex-direction: column; gap: 12px; }
  .simple-hero { padding: 150px 0 72px; }
  .not-found { min-height: 720px; }
  .not-found div div { align-items: stretch; flex-direction: column; }
}

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