/* Variables */
:root { --bg:#0B1220; --surface:#131C2E; --card:#1A2438; --primary:#3B82F6; --accent:#22C55E; --text:#F8FAFC; --muted:#94A3B8; --line:rgba(148,163,184,.16); --radius:16px; --content:1160px; }
/* Reset */
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:84px; }
body { margin:0; background:var(--bg); color:var(--text); font-family:"Inter",Arial,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
button { font:inherit; }
img { display:block; max-width:100%; }
/* Typography */
h1,h2,h3,p { margin:0; }
h1,h2,h3 { letter-spacing:-.045em; }
h1 { max-width:760px; font-size:clamp(3rem,6.4vw,5.7rem); line-height:1.02; }
h2 { font-size:clamp(2.2rem,4vw,3.7rem); line-height:1.08; }
h3 { font-size:1.35rem; line-height:1.25; }
.eyebrow { margin-bottom:18px; color:var(--accent); font-size:.72rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.section-shell { width:min(var(--content), calc(100% - 48px)); margin:0 auto; }
.section { padding:132px 0; }
/* Navigation */
.site-header { position:sticky; z-index:10; top:0; border-bottom:1px solid transparent; background:rgba(11,18,32,.76); backdrop-filter:blur(18px); }
.nav-wrap { display:flex; align-items:center; justify-content:space-between; width:min(var(--content), calc(100% - 48px)); min-height:76px; margin:auto; }
.wordmark { font-weight:600; font-size:.94rem; letter-spacing:-.025em; }
.primary-nav { display:flex; align-items:center; gap:29px; color:var(--muted); font-size:.84rem; }
.primary-nav a { transition:color .2s ease; }.primary-nav a:hover,.primary-nav a[aria-current="page"] { color:var(--text); }
.menu-toggle { display:none; }
/* Hero */
.hero { display:grid; grid-template-columns:1.32fr .68fr; align-items:center; gap:72px; min-height:calc(100vh - 76px); padding:100px 0; }
.hero-name { margin-bottom:20px; color:var(--accent); font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }.hero-lead { max-width:670px; margin:30px 0 37px; color:var(--muted); font-size:1.04rem; line-height:1.78; }.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.hero-portrait { position:relative; overflow:hidden; min-height:440px; border-radius:var(--radius); background:var(--surface); }
.hero-portrait img { position:relative; z-index:1; width:100%; height:100%; min-height:440px; object-fit:cover; }
.image-fallback { position:absolute; inset:0; display:grid; place-items:center; color:#5476ae; background:linear-gradient(145deg,#192842,#111c2f); font-size:5rem; font-weight:700; letter-spacing:-.1em; }
/* What I build */
.what-i-build { padding:132px 0; }.build-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }.build-card { min-height:190px; padding:25px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }.build-card h3 { margin-bottom:13px; }.build-card p { color:var(--muted); font-size:.91rem; line-height:1.65; }
/* Buttons */
.button { display:inline-flex; align-items:center; gap:11px; padding:14px 19px; border-radius:10px; font-size:.88rem; font-weight:600; transition:transform .2s ease, background .2s ease, border-color .2s ease; }.button:hover { transform:translateY(-2px); }
.button-primary { background:var(--accent); color:#07130c; }.button-primary:hover { background:#36d476; }
.button-secondary { border:1px solid rgba(248,250,252,.28); }.button-secondary:hover { border-color:var(--text); background:rgba(248,250,252,.06); }
/* Cards */
.section-heading { max-width:550px; margin-bottom:49px; }.section-heading h2 { margin-bottom:15px; }.section-heading > p:last-child { color:var(--muted); line-height:1.7; }
.project-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.project-card { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--card); transition:transform .24s ease, border-color .24s ease; }.project-card:hover { transform:translateY(-5px); border-color:rgba(148,163,184,.32); }
.project-image { display:grid; min-height:224px; place-items:center; overflow:hidden; border-bottom:1px solid var(--line); background:var(--surface); color:#6980a5; font-size:1.55rem; font-weight:600; line-height:1.15; letter-spacing:-.06em; }.project-image img { width:100%; height:224px; object-fit:cover; }
.project-image-mentor { background:linear-gradient(135deg,#162842,#1c314c); }.project-image-receipts { background:linear-gradient(135deg,#18263a,#253044); }
.card-body { padding:25px; }.card-body p { min-height:54px; margin:11px 0 22px; color:var(--muted); font-size:.9rem; line-height:1.55; }.text-link,.writing-card a { color:#c6dbff; font-size:.84rem; font-weight:600; }.text-link span,.writing-card a span { display:inline-block; transition:transform .2s ease; }.text-link:hover span,.writing-card a:hover span { transform:translateX(4px); }
/* About */
.about { background:var(--surface); border-block:1px solid var(--line); }.about-grid { display:grid; grid-template-columns:1fr 2fr; gap:40px; }.about-copy { max-width:710px; }.about-copy h2 { margin-bottom:31px; }.about-copy p { max-width:680px; margin-top:18px; color:var(--muted); font-size:1.02rem; line-height:1.82; }
/* Writing */
.writing-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }.writing-card { min-height:240px; padding:28px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); transition:transform .24s ease, border-color .24s ease; }.writing-card:hover { transform:translateY(-4px); border-color:rgba(148,163,184,.32); }.writing-card-image { position:relative; overflow:hidden; background:#101a2b; }.writing-card-image::after { position:absolute; inset:0; background:linear-gradient(90deg,rgba(11,18,32,.95),rgba(11,18,32,.35)); content:""; }.writing-card-image img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 30%; opacity:.78; }.writing-card-image > *:not(img) { position:relative; z-index:1; }.writing-mark { display:block; margin-bottom:66px; color:var(--accent); font-size:.76rem; font-weight:700; }.writing-card h3 { margin-bottom:20px; font-size:1.75rem; }
/* Resume & contact */
.resume { padding:108px 0; text-align:center; background:linear-gradient(180deg,rgba(19,28,46,.3),rgba(19,28,46,.85)); border-block:1px solid var(--line); }.resume-inner h2 { margin-bottom:31px; }.resume .eyebrow { margin-bottom:15px; }
.technology { padding:112px 0; }.technology h2 { margin-bottom:29px; }.technology-pills { display:flex; flex-wrap:wrap; gap:9px; max-width:720px; }.technology-pills span { padding:9px 12px; border:1px solid var(--line); border-radius:999px; color:#c9d4e5; background:var(--surface); font-size:.82rem; }.contact { padding:132px 0 120px; }.contact h2 { margin-bottom:24px; }.email-link { display:inline-block; margin-bottom:41px; color:#a9caff; font-size:clamp(1.12rem,2vw,1.5rem); font-weight:500; letter-spacing:-.035em; border-bottom:1px solid #a9caff; }.social-links { display:flex; gap:25px; color:var(--muted); font-size:.88rem; }.social-links a:hover { color:var(--text); }
/* Footer */
.site-footer { padding:28px 0; border-top:1px solid var(--line); color:#71809a; font-size:.75rem; }.site-footer > div { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; }.site-footer > div > div { display:grid; gap:7px; }.site-footer nav { display:flex; gap:20px; }.site-footer a:hover { color:var(--text); }
/* Motion */
.reveal { opacity:0; transform:translateY(14px); transition:opacity .55s ease, transform .55s ease; }.reveal.is-visible { opacity:1; transform:none; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
/* Responsive */
@media (max-width:800px) { .hero { grid-template-columns:1fr; gap:48px; min-height:auto; padding:96px 0 88px; }.hero-portrait { min-height:360px; max-width:540px; }.hero-portrait img { min-height:360px; }.what-i-build { padding:92px 0; }.build-grid { grid-template-columns:1fr; max-width:560px; }.section { padding:92px 0; }.about-grid { grid-template-columns:1fr; gap:3px; }.project-grid { grid-template-columns:1fr; max-width:560px; }.project-image,.project-image img { min-height:260px; height:260px; }.writing-grid { grid-template-columns:1fr; }.technology { padding:92px 0; }.contact { padding:92px 0; } }
@media (max-width:620px) { .section-shell,.nav-wrap { width:min(100% - 36px, var(--content)); }.nav-wrap { min-height:68px; }.menu-toggle { display:grid; gap:5px; width:33px; padding:8px 0; border:0; background:none; }.menu-toggle span:not(.sr-only) { display:block; height:1px; background:var(--text); transition:transform .2s ease; }.primary-nav { position:absolute; top:68px; right:18px; left:18px; display:none; flex-direction:column; align-items:stretch; gap:0; padding:9px; border:1px solid var(--line); border-radius:12px; background:#111a2c; box-shadow:0 15px 40px rgba(0,0,0,.22); }.primary-nav.open { display:flex; }.primary-nav a { padding:12px; }.hero { padding-top:73px; }.hero-lead { font-size:.96rem; }.hero-portrait,.hero-portrait img { min-height:310px; }.what-i-build { padding:80px 0; }.section-heading { margin-bottom:35px; }.card-body { padding:22px; }.resume { padding:84px 0; }.technology { padding:80px 0; }.site-footer > div { flex-direction:column; gap:8px; }.writing-card { min-height:210px; }.writing-mark { margin-bottom:46px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }.reveal { opacity:1; transform:none; transition:none; }.button,.project-card,.writing-card { transition:none; } }

/* ShopFlux case study */
.case-hero { padding:110px 0 66px; }.back-link { display:inline-block; margin-bottom:71px; color:var(--muted); font-size:.85rem; }.back-link:hover { color:var(--text); }.case-hero .eyebrow { margin-bottom:16px; }.case-hero h1 { margin-bottom:22px; }.case-subtitle { max-width:610px; color:var(--muted); font-size:clamp(1.1rem,2vw,1.42rem); line-height:1.55; letter-spacing:-.03em; }
.project-snapshot { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin-bottom:132px; }.project-snapshot-title { grid-column:1 / -1; margin:0 0 10px; font-size:clamp(1.7rem,2.5vw,2.25rem); }.snapshot-card { min-height:144px; padding:19px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }.snapshot-card p { margin-bottom:12px; color:var(--accent); font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }.snapshot-card strong { color:#d7e0ec; font-size:.84rem; font-weight:500; line-height:1.48; }
.why-it-matters { padding-bottom:132px; }.why-it-matters h2 { margin-bottom:30px; }.why-it-matters ul { display:grid; grid-template-columns:repeat(2,1fr); gap:0 45px; max-width:940px; margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }.why-it-matters li { padding:18px 0; border-bottom:1px solid var(--line); color:#c9d4e5; font-size:.94rem; line-height:1.55; }.why-it-matters li::before { margin-right:10px; color:var(--accent); content:'+'; }
.case-preview { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }.case-preview img { width:100%; max-height:620px; object-fit:cover; object-position:center; }
.case-overview { margin-top:132px; padding:104px 0; border-block:1px solid var(--line); background:var(--surface); }.case-overview-grid { display:grid; grid-template-columns:1fr 1fr; gap:63px 100px; }.case-overview-grid h2 { font-size:clamp(2rem,3.1vw,3.1rem); }.case-body { max-width:480px; color:var(--muted); font-size:1.04rem; line-height:1.78; }.case-section { padding:132px 0; }.role-list { display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }.role-list li { padding:22px 0; border-bottom:1px solid var(--line); color:#c9d4e5; font-size:.96rem; }.role-list li::before { margin-right:10px; color:var(--accent); content:'+'; }
.case-features,.case-gallery { padding:124px 0; border-block:1px solid var(--line); background:var(--surface); }.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }.feature-card { min-height:188px; padding:23px; border:1px solid var(--line); border-radius:var(--radius); background:var(--card); }.feature-card span { display:block; margin-bottom:38px; color:var(--accent); font-size:.75rem; font-weight:700; }.feature-card h3 { margin-bottom:8px; font-size:1.08rem; }.feature-card p { color:var(--muted); font-size:.84rem; line-height:1.55; }
.case-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:100px; }.case-detail-grid h2 { margin-bottom:30px; font-size:clamp(2rem,3vw,3rem); }.tag-list { display:flex; flex-wrap:wrap; gap:9px; }.tag-list span { padding:9px 11px; border:1px solid var(--line); border-radius:8px; color:#c9d4e5; font-size:.81rem; }.case-process p:last-child { max-width:500px; color:var(--muted); line-height:1.8; }
.gallery-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }.gallery-item { display:flex; align-items:flex-end; min-height:250px; padding:23px; border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(140deg,#1b2c46,#172238 50%,#22304a); color:#9fb1cd; font-size:.85rem; }.gallery-item:nth-child(3) { background:linear-gradient(135deg,#202e45,#172844); }.gallery-item:nth-child(4) { background:linear-gradient(135deg,#1c2940,#273753); }.gallery-wide { grid-column:span 2; min-height:410px; background:linear-gradient(135deg,#1d3150,#142237 54%,#263552); }
.case-closing { max-width:820px; padding:132px 0; text-align:center; }.case-closing h2 { margin-bottom:21px; }.case-closing p:not(.eyebrow) { max-width:660px; margin:0 auto 31px; color:var(--muted); line-height:1.8; }
.case-media { padding:0 0 132px; }.case-media .section-heading { max-width:630px; }.case-back-link { display:inline-block; margin-top:12px; color:#c6dbff; font-size:.88rem; font-weight:600; }.case-back-link:hover { color:var(--text); }
@media (max-width:800px) { .project-snapshot { grid-template-columns:repeat(5,minmax(155px,1fr)); margin-bottom:92px; padding-bottom:5px; overflow-x:auto; }.why-it-matters { padding-bottom:92px; }.case-overview { margin-top:92px; }.case-overview-grid,.case-detail-grid { grid-template-columns:1fr; gap:30px; }.case-overview-grid > :nth-child(3) { margin-top:34px; }.role-list,.feature-grid { grid-template-columns:repeat(2,1fr); }.case-section { padding:92px 0; }.case-detail-grid { gap:66px; }.case-features,.case-gallery { padding:92px 0; } }
@media (max-width:620px) { .case-hero { padding:75px 0 46px; }.back-link { margin-bottom:52px; }.project-snapshot { margin-bottom:80px; }.why-it-matters { padding-bottom:80px; }.why-it-matters ul { grid-template-columns:1fr; }.case-preview img { min-height:240px; object-fit:cover; }.case-overview { margin-top:80px; padding:80px 0; }.role-list,.feature-grid { grid-template-columns:1fr; }.role-list li { padding:17px 0; }.gallery-grid { grid-template-columns:1fr; }.gallery-wide { grid-column:span 1; min-height:270px; }.gallery-item { min-height:210px; }.case-closing { padding:92px 0; text-align:left; }.case-closing p:not(.eyebrow) { margin-left:0; } }

/* Projects hub */
.projects-intro { padding:112px 0 73px; }.projects-intro h1 { margin-bottom:24px; }.projects-intro > p:last-child { max-width:700px; color:var(--muted); font-size:1.05rem; line-height:1.8; }.projects-collection { padding-bottom:132px; }.projects-collection .card-body h2 { font-size:1.35rem; line-height:1.25; letter-spacing:-.045em; }.projects-collection .card-body p { min-height:76px; }.projects-collection button:disabled { cursor:default; opacity:.78; color:var(--text); }.project-image-ai { background:linear-gradient(135deg,#203652,#192a43); }
@media (max-width:800px) { .projects-intro { padding:92px 0 58px; }.projects-collection { padding-bottom:92px; }.projects-collection .card-body p { min-height:auto; } }

/* About page */
.about-page-intro { max-width:900px; padding:112px 0 132px; }.about-page-intro h1 { margin-bottom:41px; }.about-page-copy { max-width:720px; }.about-page-copy p { margin-bottom:22px; color:var(--muted); font-size:1.03rem; line-height:1.82; }.about-page-copy .about-page-emphasis { margin-top:31px; color:var(--text); font-size:clamp(1.35rem,2.3vw,1.8rem); font-weight:500; line-height:1.42; letter-spacing:-.035em; }
.how-i-work { padding:124px 0; border-block:1px solid var(--line); background:var(--surface); }.work-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }.work-card { min-height:243px; padding:23px; border:1px solid var(--line); border-radius:var(--radius); background:var(--card); }.work-icon { display:grid; width:33px; height:33px; margin-bottom:43px; place-items:center; border:1px solid rgba(34,197,94,.42); border-radius:9px; color:var(--accent); font-size:1.1rem; font-weight:600; line-height:1; }.work-card h3 { margin-bottom:9px; font-size:1.08rem; }.work-card p { color:var(--muted); font-size:.84rem; line-height:1.6; }
.currently-building { padding:132px 0; }.building-list { display:grid; grid-template-columns:repeat(2,1fr); column-gap:56px; border-top:1px solid var(--line); }.building-list article { padding:24px 0; border-bottom:1px solid var(--line); }.building-list h3 { margin-bottom:7px; font-size:1.12rem; }.building-list p { color:var(--muted); font-size:.9rem; line-height:1.55; }
@media (max-width:800px) { .about-page-intro { padding:92px 0; }.how-i-work { padding:92px 0; }.work-grid { grid-template-columns:repeat(2,1fr); }.currently-building { padding:92px 0; } }
@media (max-width:620px) { .about-page-intro { padding:75px 0 80px; }.about-page-intro h1 { margin-bottom:31px; }.about-page-copy p { font-size:.97rem; }.work-grid,.building-list { grid-template-columns:1fr; }.work-card { min-height:auto; }.work-icon { margin-bottom:34px; } }

/* Homepage focus */
.home-focus { padding:132px 0; }.focus-list { display:grid; grid-template-columns:repeat(2,1fr); gap:0 56px; max-width:900px; margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }.focus-list li { padding:20px 0; border-bottom:1px solid var(--line); color:#c9d4e5; font-size:.98rem; }.focus-list li::before { margin-right:11px; color:var(--accent); content:'+'; }
@media (max-width:800px) { .home-focus { padding:92px 0; } }
@media (max-width:620px) { .focus-list { grid-template-columns:1fr; }.home-focus { padding:80px 0; } }

/* Resume page */
.resume-page-hero { max-width:940px; padding:112px 0 132px; }.resume-page-hero h1 { margin-bottom:21px; }.resume-specialty { color:#c9d4e5; font-size:1rem; line-height:1.65; }.resume-specialty span { padding:0 4px; color:#52637d; }.resume-summary { max-width:715px; margin-top:34px; color:var(--muted); font-size:1.03rem; line-height:1.82; }
.resume-experience { padding:124px 0; border-block:1px solid var(--line); background:var(--surface); }.experience-timeline { position:relative; max-width:850px; padding-left:29px; border-left:1px solid var(--line); }.timeline-card { position:relative; padding:0 0 49px 23px; }.timeline-card:last-child { padding-bottom:0; }.timeline-marker { position:absolute; top:5px; left:-35px; width:11px; height:11px; border:2px solid var(--accent); border-radius:50%; background:var(--surface); }.timeline-period { margin-bottom:10px; color:var(--accent); font-size:.71rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }.timeline-card h3 { margin-bottom:9px; font-size:1.15rem; }.timeline-card > p:last-child { max-width:600px; color:var(--muted); font-size:.92rem; line-height:1.65; }
.resume-projects { padding:132px 0; }.resume-project-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }.resume-project-card { min-height:215px; padding:24px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); transition:transform .24s ease, border-color .24s ease; }.resume-project-card:hover { transform:translateY(-4px); border-color:rgba(148,163,184,.32); }.resume-project-card > span { display:block; margin-bottom:47px; color:var(--accent); font-size:.73rem; font-weight:700; }.resume-project-card h3 { margin-bottom:8px; font-size:1.18rem; }.resume-project-card p { color:var(--muted); font-size:.87rem; }.resume-project-card em { display:block; margin-top:18px; color:#c6dbff; font-size:.8rem; font-style:normal; font-weight:600; }
.resume-skills { padding:124px 0; border-block:1px solid var(--line); background:var(--surface); }.skills-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }.skill-card { min-height:140px; padding:22px; border:1px solid var(--line); border-radius:var(--radius); background:var(--card); }.skill-card h3 { margin-bottom:10px; font-size:1.05rem; }.skill-card p { color:var(--muted); font-size:.84rem; line-height:1.55; }
.learning-section { padding:132px 0; }.learning-grid { display:grid; grid-template-columns:1fr 1fr; gap:100px; }.learning-copy { max-width:530px; color:var(--muted); font-size:1.02rem; line-height:1.8; }.resume-download { padding:108px 0; text-align:center; border-block:1px solid var(--line); background:linear-gradient(180deg,rgba(19,28,46,.3),rgba(19,28,46,.85)); }.resume-download h2 { margin-bottom:31px; }
@media (max-width:800px) { .resume-page-hero { padding:92px 0; }.resume-experience,.resume-skills { padding:92px 0; }.resume-projects,.learning-section { padding:92px 0; }.resume-project-grid,.skills-grid { grid-template-columns:repeat(2,1fr); }.learning-grid { grid-template-columns:1fr; gap:30px; }.resume-download { padding:84px 0; } }
@media (max-width:620px) { .resume-page-hero { padding:75px 0 80px; }.resume-specialty { font-size:.91rem; }.resume-specialty span { padding:0 1px; }.resume-summary { font-size:.97rem; }.resume-project-grid,.skills-grid { grid-template-columns:1fr; }.experience-timeline { padding-left:22px; }.timeline-card { padding-left:19px; }.timeline-marker { left:-28px; }.resume-project-card { min-height:190px; }.resume-download { padding:80px 0; } }

@media (max-width:800px) { .case-media { padding-bottom:92px; } }
@media (max-width:620px) { .case-media { padding-bottom:80px; }.site-footer > div { align-items:flex-start; flex-direction:column; gap:18px; } }

/* Case study screenshots */
.case-screenshots { margin-bottom:132px; }.screenshot-frame { position:relative; display:flex; align-items:flex-end; width:100%; min-height:245px; padding:23px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:linear-gradient(135deg,#1d3150,#142237 54%,#263552); color:#a9bad4; cursor:zoom-in; text-align:left; }.screenshot-frame:hover { border-color:rgba(148,163,184,.38); }.screenshot-frame img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }.screenshot-frame span { position:relative; z-index:1; font-size:.84rem; font-weight:500; }.screenshot-frame:has(img) span { padding:7px 9px; border-radius:6px; background:rgba(11,18,32,.68); color:var(--text); }.screenshot-hero { min-height:520px; margin-bottom:18px; }.screenshot-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }.screenshot-grid .screenshot-frame:nth-child(2) { background:linear-gradient(135deg,#202e45,#172844); }
.lightbox { width:min(1080px, calc(100% - 32px)); padding:16px; border:1px solid var(--line); border-radius:var(--radius); background:var(--card); color:var(--text); box-shadow:0 28px 90px rgba(0,0,0,.54); }.lightbox::backdrop { background:rgba(3,8,17,.78); backdrop-filter:blur(5px); }.lightbox-preview { display:flex; align-items:flex-end; min-height:min(68vh,680px); padding:28px; overflow:hidden; border:1px solid var(--line); border-radius:10px; background:linear-gradient(135deg,#1d3150,#142237 54%,#263552); color:#a9bad4; }.lightbox-preview img { width:100%; height:min(68vh,680px); margin:-28px; object-fit:contain; }.lightbox-caption { margin:13px 4px 2px; color:var(--muted); font-size:.84rem; }.lightbox-close { position:absolute; top:27px; right:27px; z-index:1; display:grid; width:32px; height:32px; padding:0; place-items:center; border:1px solid var(--line); border-radius:50%; background:rgba(11,18,32,.75); color:var(--text); cursor:pointer; font-size:1.3rem; line-height:1; }
@media (max-width:800px) { .case-screenshots { margin-bottom:92px; }.screenshot-hero { min-height:410px; } }
@media (max-width:620px) { .case-screenshots { margin-bottom:80px; }.screenshot-hero { min-height:280px; }.screenshot-grid { grid-template-columns:1fr; }.screenshot-frame { min-height:190px; }.lightbox-preview { min-height:60vh; } }

/* Project Mentor dashboard */
.inside-application { padding:0 0 132px; }.inside-application .section-heading { max-width:630px; }.dashboard-shot { min-height:clamp(310px,53vw,640px); box-shadow:0 22px 55px rgba(0,0,0,.25); }.dashboard-shot span { padding:7px 9px; border-radius:6px; background:rgba(11,18,32,.68); color:var(--text); }
@media (max-width:800px) { .inside-application { padding-bottom:92px; } }
@media (max-width:620px) { .inside-application { padding-bottom:80px; } }

/* Portrait project imagery */
.project-image-ai img,.screenshot-portrait img { object-fit:contain; background:#111a2b; }
