
/* V16 — Midnight Black 60 / Electric Blue 30 / Sunset Orange 10
   Typography: Space Grotesk (display), IBM Plex Sans (body) */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--midnight:#080D17;--midnight-2:#10192A;--electric:#2563FF;--electric-bright:#4F8BFF;--sunset:#FF7547;--bg:#080D17;--panel:#10192A;--line:#273752;--text:#F7F9FF;--muted:#9CAFCB;--lime:#2563FF;--navy:#080D17;--blue:#2563FF}
html{scroll-padding-top:85px}
body{font-family:'IBM Plex Sans',sans-serif;background:var(--midnight);color:var(--text)}
h1,h2,h3,h4,.wordmark,.contact-title,.project-title-row h3,.section h2,.hero h1,.timeline-item h3,.education-card h3,.skill-panel h3,.dialog-inner h2,.ticker{font-family:'Space Grotesk',sans-serif!important;letter-spacing:-.045em}
.site-header{background:rgba(8,13,23,.97);border-bottom:1px solid #223352;color:var(--text);position:sticky;top:0;z-index:50;backdrop-filter:blur(14px)}
.wordmark{font-weight:700;color:#fff}.wordmark-name{font-family:'IBM Plex Sans',sans-serif!important;color:#e8efff}
.dot{color:var(--sunset)}.nav{color:#d6e3fa}.nav a:hover,.footer a:hover,.header-cta span{color:var(--sunset)}
.header-cta{border-color:var(--sunset);color:white}.menu-btn{color:white}.nav.open,.site-header .nav{background:var(--midnight)}
.hero{background:radial-gradient(ellipse at 78% 24%,rgba(37,99,255,.30),transparent 49%),linear-gradient(115deg,#080D17 10%,#102754 100%);color:white;min-height:690px;border-bottom:1px solid #20365a}
.hero h1{font-size:clamp(58px,7.7vw,120px);line-height:1.04;letter-spacing:-.075em;font-weight:700}
.hero h1 em{color:#78A5FF;font-weight:500}.hero .eyebrow,.hero-top{color:#b6cdf2}.sep{color:var(--sunset)}
.pulse,.availability .pulse{background:var(--sunset);box-shadow:0 0 18px rgba(255,117,71,.7)}
.hero-bottom p{color:#c0d0eb}.hero-rule{border-color:#355079;color:#b4c9e8}.hero-rule b{color:var(--sunset)}
.round-link .arrow{border:1px solid var(--electric-bright);background:var(--electric);color:white}.round-link:hover .arrow{background:var(--sunset);border-color:var(--sunset);color:#111827}
.section{padding-top:110px;padding-bottom:110px}.section-kicker{color:var(--electric-bright);font-weight:700}
.section h2,.section h3,.project-title-row h3{color:#F7F9FF}.muted{color:#7292C4}
.section-intro{color:#aebed7}.work-section{background:#0B1220}
.work-section .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;max-width:1350px}
.project-card{transition:transform .22s ease}.project-card:hover{transform:translateY(-5px)}
.project-art{border-radius:12px;height:340px;background:#142441;border:1px solid #30466c;box-shadow:0 15px 35px rgba(0,0,0,.22)}
.project-card:hover .project-art{filter:brightness(1.08);border-color:var(--electric-bright)}
.project-meta{color:#9cb2d4}.project-meta span:first-child{color:#7fa8ff}.project-arrow{color:var(--sunset)}
.project-card p{color:#a7b8d4}.project-note{background:#101b2e;border:1px solid #293b5a}.project-note span{color:var(--sunset)}.project-note p{color:#b5c4dc}
.ticker{background:#1846BB;color:#fff;border-color:#2d5ad4}.ticker span{color:#FFAD87}
.approach-section,.career-section,.education-section{background:#080D17}.approach-details,.approach-item,.timeline,.timeline-item{border-color:#273752}
.approach-item>span,.timeline-date,.education-year{color:var(--sunset)}
.approach-item p,.timeline-item p{color:#b3c2d8!important}.timeline-company{color:#f1f5ff!important}
.about-section{background:#10204A}.about-grid h2 i{color:#83ADFF}.about-copy p{color:#c0d0e7}.about-copy strong{color:white}
.expertise span{background:#17346B;color:#edf4ff;border-color:#355BA3}
.skills-section{background:#0B162C}.skill-panel{background:#11213C;border:1px solid #2a4576;border-radius:12px;box-shadow:none}
.skill-icon{color:var(--sunset)}.skill-tags span{background:#152b50;border:1px solid #365482;color:#d9e6ff}
.education-card{background:#101A2E;border:1px solid #304266;border-radius:12px}.education-card p{color:#b3c4de}
.contact-section{background:radial-gradient(circle at 80% 20%,rgba(37,99,255,.27),transparent 40%),#080D17;color:white}
.contact-section .section-kicker{color:#88adff}.contact-title span{color:var(--sunset)}.contact-section>p{color:#bacbe5}
.primary-btn{background:var(--electric);color:#fff;border-radius:8px}.primary-btn:hover{background:#477dff}
.secondary-btn{border-color:#6285bc;color:#fff;border-radius:8px}.secondary-btn:hover{border-color:var(--sunset)}
.footer{background:#080D17;color:#a4b8d6;border-color:#263653}.footer .wordmark{color:#fff}
::selection{background:var(--sunset);color:#080D17}
a:focus-visible,button:focus-visible{outline:3px solid var(--sunset);outline-offset:4px}
.bdtickets-card-art{background:linear-gradient(130deg,#08101f,#163e9e);color:#fff}
.redmi-card-art{background:linear-gradient(130deg,#091326,#1646c7);color:#fff}
.redmi-card-art strong{font-family:'Space Grotesk',sans-serif!important}
@media(max-width:760px){.work-section .project-grid{grid-template-columns:1fr}.project-art{height:280px}.section{padding-top:78px;padding-bottom:78px}.hero h1{font-size:clamp(46px,11vw,77px)}.site-header .nav{background:#0b1425}}
@media(prefers-reduced-motion:reduce){.project-card{transition:none}.project-card:hover{transform:none}}
/* Case study pages use the same display/body fonts, and a restrained dark frame. */
.article{font-family:'IBM Plex Sans',sans-serif}
.article h1,.article h2,.article h3{font-family:'Space Grotesk',sans-serif!important}

/* V17 FIX: case study pages were written for a light background; these rules restore contrast on the dark theme. */
.article h1{color:#F7F9FF!important}
.article .lead{color:#B3C2D8!important}
.article .kicker,.back{color:#7FA8FF!important}
.article-section{border-top-color:#273752!important}
.article-section h2,.article-section h3{color:#F7F9FF!important}
.article-section p,.article-section li{color:#B3C2D8!important}
.article .note,.note{color:#8FA3C2!important}
.metric{background:#10192A!important;border:1px solid #273752}
.metric strong{color:#7FA8FF!important}
.metric span{color:#B3C2D8!important}
.mini,.platform-card{background:#10192A!important;border-color:#273752!important}
.mini strong{color:#7FA8FF!important}
.quote,.article blockquote{background:#10192A!important;border-left-color:#FF7547!important;color:#F7F9FF!important}
.article img{border-color:#273752!important}
table th,.platforms th{background:#10192A!important;color:#F7F9FF!important}
table th,table td,.platforms th,.platforms td{border-bottom-color:#273752!important}
table td,.platforms td{color:#B3C2D8!important}
.article-footer{border-top-color:#273752!important}
.article-footer a{color:#7FA8FF!important}
.article a:hover,.back:hover{color:#FF7547!important}
