/* A dark glass exhibition, with the original chrome / lime ribbon behind it. */
:root{--muted:#657074;--line:#dce1e2}
.site-header{max-width:none;background:#101619ed;border-bottom:1px solid #ffffff0e;color:#fff;padding-left:max(40px,calc((100vw - 1312px)/2));padding-right:max(40px,calc((100vw - 1312px)/2));height:76px}
.site-header nav a,.site-header .github-link{color:#c2cbcc}.site-header nav a.active,.site-header nav a:hover{color:#fff}.site-header nav a:after{background:var(--lime)}
.site-header .header-contact{color:#172008}.wordmark{font-size:30px;letter-spacing:-1.2px;font-weight:650}.asterisk{color:var(--lime);font-size:24px}
.exhibition{background:#101619;color:#f1f5f5;position:relative;isolation:isolate;overflow:hidden;scroll-margin-top:76px}
.ambient-art{position:absolute;inset:-18% 15% -38% -24%;z-index:-2;pointer-events:none;opacity:.47;mask-image:radial-gradient(ellipse at 45% 45%,#000 22%,#0009 50%,transparent 74%)}
.ambient-art img{width:100%;height:100%;object-fit:contain;animation:ribbon-drift 24s ease-in-out infinite alternate;transform-origin:43% 50%}
.data-saver .ambient-art img{animation:none}
.exhibition:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,#10161925,#10161910 35%,#101619df 95%);z-index:-1;pointer-events:none}
.exhibit-inner{padding-top:26px;padding-bottom:26px}
.exhibit-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:21px}
.exhibit-heading .section-kicker{font-size:12px;color:#afbfbe;letter-spacing:1.8px}
.exhibit-heading h1{font-size:36px;letter-spacing:-1px;font-weight:550;line-height:1.3;margin:7px 0 0}
.exhibit-heading>p{margin:0;color:#aebabc;font-size:14px;line-height:1.8;text-align:right}
.exhibit-stage{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr);gap:34px;padding:28px;border:1px solid #ffffff21;background:linear-gradient(125deg,#e7efff0c,#f0ffff03);border-radius:20px;box-shadow:inset 0 1px 0 #ffffff0a,0 20px 75px #0003;backdrop-filter:blur(16px);min-height:435px;align-items:center}
.exhibit-copy{padding:10px 4px 10px 8px;min-width:0}
.exhibit-type{display:flex;gap:14px;flex-wrap:wrap;align-items:center;font-size:12px;line-height:1.8;letter-spacing:.5px;color:#a8b8b6}
.exhibit-type>span:last-child{color:#d0e6ad;border-left:1px solid #b9cbbd40;padding-left:14px;letter-spacing:0}
.exhibit-copy h2{font-size:40px;line-height:1.2;letter-spacing:-1.3px;margin:25px 0 13px;color:#fff;font-weight:600}
.exhibit-copy h3{font-size:18px;line-height:1.6;font-weight:450;margin:0 0 12px;color:#e0e8e5}
.exhibit-copy>p{font-size:15px;line-height:1.9;color:#b6c3c0;margin:0;max-width:370px}
.exhibit-skills{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px;color:#bdd0c4;font-size:12px}
.exhibit-skills span{padding:5px 9px;border:1px solid #b3c3be25;border-radius:5px;background:#cedccc08}
.exhibit-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:29px}
.exhibit-actions .button{background:var(--lime);color:#1b2313;font-size:14px;min-height:46px;padding:13px 18px;gap:22px;border-radius:6px;box-shadow:0 5px 20px #aac92a0c}
.exhibit-actions .button:hover{background:#e0ff87;box-shadow:0 7px 23px #d4ff5024}
.exhibit-actions>a:last-child{font-size:14px;color:#d2ded9;text-underline-offset:5px}.exhibit-actions>a:last-child:hover{text-decoration:underline}
.exhibit-media{min-width:0}
.inline-gallery{margin:0;min-width:0;outline:none}
.inline-gallery:focus-visible{outline:2px solid #879f59;outline-offset:5px;border-radius:12px}
.gallery-stage{position:relative;border-radius:12px;overflow:hidden;border:1px solid #ced7d4;background:#e9edef}
.gallery-stage .project-photo{border:0;border-radius:0;background:transparent}
.gallery-stage .project-photo img{aspect-ratio:16/10;object-fit:contain;max-height:420px;transition:transform .7s var(--ease);background:transparent}
.gallery-stage .project-photo:hover img{transform:scale(1.012)}
.gallery-stage .project-photo span{bottom:11px;right:12px;font-size:11px;background:#1c262adb;border:1px solid #ffffff30}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:40px;height:52px;padding:0;border:1px solid #ffffff65;border-radius:10px;background:#1d272aeb;color:white;font-family:Arial,sans-serif;font-size:33px;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 18px #0003;backdrop-filter:blur(10px);transition:background .25s,box-shadow .25s}
.gallery-arrow:hover{background:#314543;box-shadow:0 5px 20px #0005}.gallery-arrow.prev{left:9px}.gallery-arrow.next{right:9px}.gallery-arrow:focus-visible{outline-color:var(--lime);outline-offset:3px}
.gallery-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:12px;min-height:25px;color:#71807f;font-size:12px;font-variant-numeric:tabular-nums}
.gallery-dots{display:flex;gap:2px;align-items:center}.gallery-dots button{padding:10px 6px;border:0;background:none;position:relative;min-width:24px;height:28px}
.gallery-dots button:after{content:"";height:5px;width:5px;border-radius:20px;background:#a7b2af;display:block;transition:width .3s,background .3s}.gallery-dots button[aria-pressed=true]:after{background:#455e55;width:17px}
.inline-gallery figcaption{font-size:13px;line-height:1.8;color:#6c7a77;min-height:24px;margin-top:4px}
.exhibit-media .gallery-stage{border:1px solid #ffffff40;background:#ffffff0d;box-shadow:0 12px 34px #0004}
.exhibit-media .project-photo img{aspect-ratio:16/9.2;max-height:360px}
.exhibit-media .gallery-arrow{background:#172021e8;width:37px;height:48px}
.exhibit-media .gallery-bar{color:#afbfba;margin-top:8px}.exhibit-media .gallery-dots button:after{background:#798a86}.exhibit-media .gallery-dots button[aria-pressed=true]:after{background:var(--lime)}
.exhibit-media figcaption{font-size:12px;line-height:1.7;color:#9dafa9;min-height:21px}
.exhibit-controls{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:20px}
.exhibit-tabs{display:flex;gap:10px;min-width:0}
.exhibit-tabs>button{position:relative;overflow:hidden;background:#d0e0dd08;border:1px solid #bbd0c917;color:#a5b6b0;border-radius:7px;display:flex;align-items:center;gap:13px;padding:13px 17px;font-size:14px;white-space:nowrap;transition:background .3s,color .3s,border-color .3s}
.exhibit-tabs>button[aria-pressed=true]{color:#f5ffe9;background:#d4ff5010;border-color:#d4ff5055}
.tab-number{font-size:11px;opacity:.55;font-variant-numeric:tabular-nums}
.exhibit-tabs i{position:absolute;left:0;bottom:0;height:2px;background:var(--lime);width:var(--progress,0%)}
.exhibit-playback{display:flex;gap:9px;align-items:center;flex-shrink:0}
.exhibit-playback button{width:34px;height:34px;border-radius:50%;background:#cededb08;border:1px solid #ffffff21;color:#d5dfdb;font-size:16px}
.exhibit-playback #autoplay{border:0;background:transparent;border-radius:5px;font-size:12px;width:70px}
.exhibit-playback button:hover{background:#d5e5e218;color:#fff}
.exhibition button:focus-visible,.exhibition a:focus-visible{outline-color:var(--lime)}
.evidence{margin-top:0;padding-top:32px;padding-bottom:32px;border-top:0}
.case-intro,.case-facts dd{color:#53625d}.case-content>h3{font-weight:600}.case-media{align-self:start}
.project-case{gap:44px;padding-top:42px;padding-bottom:42px}.case-content>h3{font-size:27px}.case-subtitle{font-size:17px}
.lightbox-stage{position:relative;min-height:180px;border-radius:10px;overflow:hidden;background:#e8ecec;padding:12px 52px}
.lightbox-stage img{max-height:60dvh;max-width:100%;display:block;margin:auto;background:transparent}
.lightbox-stage .gallery-arrow{width:37px;height:54px}.image-dialog{width:min(1240px,calc(100% - 32px))}.image-dialog .dialog-content{padding:24px 30px 26px}
.image-dialog .image-detail img{background:transparent}.image-detail figcaption{font-size:14px;margin-top:15px;line-height:1.8}
.usage-section{padding-top:25px;padding-bottom:65px}.usage-section .section-heading{margin-bottom:30px}.usage-layout{display:grid;grid-template-columns:minmax(0,.66fr) minmax(0,1.2fr);gap:64px;align-items:center;padding:32px;background:#edf1f1;border-radius:16px;border:1px solid #dfe6e5}
.usage-copy{min-width:0}.usage-copy>p{font-size:15px;line-height:1.9;color:#6c7975;margin:0 0 18px}.usage-copy .usage-intro{font-size:23px;color:#24302c;font-weight:500;line-height:1.5}.usage-stats{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:8px}
.usage-stats strong{font-size:32px;font-weight:500;letter-spacing:-1.2px;white-space:nowrap}.usage-stats strong span{font-size:16px;letter-spacing:0}.usage-stats p{font-size:12px;color:#6a7c75;margin:9px 0 19px}.usage-source{font-size:12px;line-height:1.8;color:#829089}.usage-layout .project-photo img{aspect-ratio:2.14/1}.usage-layout .gallery-stage{background:white}
.site-footer .asterisk{color:#65832e}
@keyframes ribbon-drift{0%{transform:translate(-1%,2%) rotate(-7deg) scale(1)}100%{transform:translate(3%,-2%) rotate(6deg) scale(1.05)}}
@media(min-width:1500px){.exhibit-stage{min-height:458px}.exhibit-media .project-photo img{max-height:390px}}
@media(max-width:1150px){.site-header{padding:0 38px}.exhibit-stage{gap:25px;padding:24px;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr)}.exhibit-copy{padding-left:0}.exhibit-copy h2{font-size:33px}.exhibit-copy h3{font-size:17px}.exhibit-copy>p{font-size:14px}.exhibit-skills{margin-top:18px}.exhibit-actions{gap:19px;margin-top:23px}.exhibit-tabs>button{gap:9px;padding:12px}.usage-layout{gap:32px;padding:25px}.usage-stats strong{font-size:29px}.usage-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}}
@media(max-width:900px){.exhibit-stage{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-height:440px;padding:22px;gap:20px}.exhibit-copy h2{font-size:31px}.exhibit-copy h3{font-size:16px}.exhibit-skills{gap:6px}.exhibit-skills span{font-size:11px;padding:4px 7px}.exhibit-type{font-size:11px;gap:8px}.exhibit-type>span:last-child{padding-left:8px}.exhibit-actions{flex-direction:column;align-items:flex-start;gap:16px}.exhibit-tabs>button{font-size:13px;gap:6px;padding:12px 10px}.exhibit-tabs{gap:8px}.exhibit-controls{gap:15px}.tab-number{display:none}.usage-layout{grid-template-columns:1fr;gap:22px}.usage-stats{max-width:370px}.usage-copy>p{margin-bottom:10px}.project-case{gap:25px}.usage-section{padding-bottom:50px}}
@media(max-width:700px){.site-header{padding:0 24px;height:70px}.site-header .wordmark{font-size:27px}.header-actions{gap:17px}.exhibit-inner{padding-top:22px;padding-bottom:23px}.exhibit-heading{gap:14px;margin-bottom:18px}.exhibit-heading h1{font-size:27px;margin-top:4px}.exhibit-heading .section-kicker{font-size:10px;letter-spacing:1px}.exhibit-heading>p{font-size:11px;max-width:155px;line-height:1.8}.exhibit-stage{display:flex;flex-direction:column-reverse;gap:20px;padding:17px;border-radius:14px;min-height:0}.exhibit-media{width:100%}.exhibit-media .project-photo img{aspect-ratio:16/10;max-height:290px}.exhibit-media figcaption{display:none}.exhibit-media .gallery-bar{font-size:11px;margin-top:5px}.exhibit-media .gallery-hint{font-size:10px}.exhibit-media .gallery-arrow{width:32px;height:44px;font-size:29px;border-radius:8px}.exhibit-copy{width:100%;padding:0 1px 3px}.exhibit-type{font-size:10px;letter-spacing:.2px}.exhibit-copy h2{font-size:29px;letter-spacing:-.8px;margin:12px 0 7px}.exhibit-copy h3{font-size:15px;line-height:1.6;margin-bottom:8px}.exhibit-copy>p{font-size:13px;max-width:100%;line-height:1.85}.exhibit-skills{display:none}.exhibit-actions{flex-direction:row;align-items:center;margin-top:17px;gap:21px}.exhibit-actions .button{font-size:13px;padding:12px 15px;min-height:42px;gap:18px}.exhibit-actions>a:last-child{font-size:12px}.exhibit-controls{display:block;margin-top:16px}.exhibit-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.exhibit-tabs>button{justify-content:center;white-space:normal;font-size:11px;line-height:1.5;padding:11px 4px;border-radius:5px;min-height:42px}.exhibit-tabs>button:last-child{font-size:10px}.exhibit-playback{justify-content:center;margin-top:12px;gap:17px}.exhibit-playback button{height:29px;width:29px;font-size:14px}.exhibit-playback #autoplay{font-size:11px;width:65px}.ambient-art{inset:-1% -75% 0 -85%;opacity:.5}.exhibit-stage{backdrop-filter:blur(11px)}.gallery-stage .project-photo img{max-height:350px}.gallery-arrow{width:36px;height:47px;font-size:31px}.gallery-bar{margin-top:7px;font-size:11px}.inline-gallery figcaption{font-size:12px}.project-case{padding-top:30px;padding-bottom:30px}.case-content>h3{font-size:25px}.case-subtitle{font-size:16px}.usage-section{padding-top:13px}.usage-layout{padding:21px 18px;gap:19px}.usage-copy .usage-intro{font-size:22px}.usage-copy>p{font-size:14px}.usage-stats{gap:19px}.usage-stats strong{font-size:31px}.usage-stats p{font-size:11px}.usage-source{font-size:11px}.usage-layout .gallery-stage{margin-left:-5px;margin-right:-5px}.lightbox-stage{padding:9px 31px;border-radius:7px}.lightbox-stage .gallery-arrow{width:29px;height:46px;font-size:27px}.lightbox-stage .gallery-arrow.prev{left:3px}.lightbox-stage .gallery-arrow.next{right:3px}.image-dialog .dialog-content{padding:20px 15px}.image-detail figcaption{font-size:13px}.image-dialog h2{font-size:22px}.lightbox-stage img{max-height:64dvh}}
@media(max-width:360px){.site-header{padding:0 18px;gap:12px}.site-header .wordmark{font-size:24px}.site-header .asterisk{font-size:22px}.header-actions{gap:10px}.site-header .header-contact{font-size:12px;padding:9px 10px;gap:9px}.site-header .github-link{font-size:11px}.exhibit-heading>p{font-size:10px;max-width:125px}.exhibit-heading h1{font-size:25px}.exhibit-stage{padding:12px;gap:14px}.exhibit-copy>p{font-size:12px}.exhibit-copy h2{font-size:27px}.exhibit-copy h3{font-size:14px}.exhibit-actions{gap:15px}.exhibit-actions .button{font-size:12px;padding:11px 12px;gap:12px}.usage-stats strong{font-size:28px}}
@media(prefers-reduced-motion:reduce){.ambient-art img{animation:none}.gallery-arrow,.gallery-dots button:after,.exhibit-tabs>button{transition:none}}

/* Keep the page still while projects and differently shaped screenshots change. */
.exhibit-shell{position:relative}
.exhibit-stage{height:500px;min-height:500px}
.exhibit-media .gallery-stage{height:clamp(230px,25vw,330px)}
.exhibit-media .gallery-stage .project-photo{height:100%}
.exhibit-media .gallery-stage .project-photo img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain}
.exhibit-media .gallery-bar{height:28px;min-height:28px}
.exhibit-media figcaption{height:64.8px;min-height:64.8px;line-height:1.8;overflow:hidden}
.project-page-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:60px;height:124px;border:1px solid #e3f2ea3a;border-radius:18px;background:#b9d4cb12;color:#e7f3ed;backdrop-filter:blur(14px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;box-shadow:0 10px 26px #0002;transition:background .25s,color .25s,border-color .25s}
.project-page-arrow b{font-family:Arial,sans-serif;font-size:52px;line-height:1;font-weight:300}
.project-page-arrow span{font-size:12px}
.project-page-arrow.previous{left:-76px}.project-page-arrow.following{right:-76px}
.project-page-arrow:hover{background:#d4ff5028;border-color:#d4ff5080;color:#e4ff98}
.project-page-arrow:active{background:#d4ff5040}
.exhibit-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px}
.exhibit-tabs{display:flex;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;position:relative;padding:4px 0}
.exhibit-tabs::-webkit-scrollbar{display:none}
.exhibit-tabs>button{flex:0 0 auto;white-space:nowrap;padding:13px 14px;gap:9px}
#exhibit-position{font-size:12px;font-variant-numeric:tabular-nums;letter-spacing:1px;color:#c9d8d0;white-space:nowrap;padding-right:8px;border-right:1px solid #ffffff26}
.global-practice{padding-top:65px;padding-bottom:10px}
.global-practice .section-heading{margin-bottom:28px}
.global-practice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #dce3e0;border-radius:14px;background:#eef2f1;overflow:hidden}
.global-practice-grid article{padding:30px;min-width:0}
.global-practice-grid article+article{border-left:1px solid #d6dfdb}
.practice-number{font-size:12px;letter-spacing:1px;color:#72887c}
.global-practice-grid h3{font-size:21px;font-weight:550;line-height:1.5;margin:15px 0 13px;color:#26372f}
.global-practice-grid p{font-size:15px;line-height:1.95;margin:0;color:#627369}
.practice-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:23px}
.practice-tags span{font-size:12px;background:#dfe9e1;border:1px solid #d1ddd3;color:#45644a;border-radius:5px;padding:5px 9px}
@media(max-width:1150px){.exhibit-inner{padding-left:80px;padding-right:80px}.project-page-arrow{width:54px;height:118px}.project-page-arrow.previous{left:-67px}.project-page-arrow.following{right:-67px}.exhibit-stage{height:500px;min-height:500px}.exhibit-tabs>button{font-size:13px;padding:12px 13px}.global-practice-grid article{padding:24px}.global-practice-grid h3{font-size:19px}}
@media(max-width:900px){.exhibit-inner{padding-left:72px;padding-right:72px}.project-page-arrow.previous{left:-61px}.project-page-arrow.following{right:-61px}.project-page-arrow{width:48px;height:112px}.project-page-arrow b{font-size:46px}.project-page-arrow span{font-size:11px}.exhibit-stage{height:490px;min-height:490px}.exhibit-copy h2{font-size:29px}.exhibit-controls{gap:15px}.global-practice-grid{grid-template-columns:1fr}.global-practice-grid article{padding:24px 27px}.global-practice-grid article+article{border-left:0;border-top:1px solid #d6dfdb}.global-practice-grid h3{margin-top:9px}.practice-tags{margin-top:16px}}
@media(max-width:700px){.exhibit-inner{padding-left:24px;padding-right:24px}.exhibit-shell{padding:0 18px}.exhibit-stage{--hero-image-height:clamp(140px,calc((100vw - 120px)*.625),290px);height:calc(var(--hero-image-height) + 355px);min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-items:start;gap:18px}.exhibit-copy{grid-row:2}.exhibit-media{grid-row:1}.exhibit-media .gallery-stage{height:var(--hero-image-height)}.exhibit-media figcaption{display:none;height:0;min-height:0}.exhibit-media .gallery-bar{height:28px;min-height:28px}.project-page-arrow{width:44px;height:104px;border-radius:13px;gap:4px}.project-page-arrow.previous{left:-18px}.project-page-arrow.following{right:-18px}.project-page-arrow b{font-size:43px}.project-page-arrow span{font-size:10px}.exhibit-copy h2{font-size:27px}.exhibit-copy h3{font-size:14px}.exhibit-copy>p{font-size:13px}.exhibit-actions{gap:14px}.exhibit-actions .button{font-size:12px;padding:12px 13px;gap:12px}.exhibit-actions>a:last-child{font-size:12px}.exhibit-controls{display:block;margin-top:15px}.exhibit-tabs{display:flex;gap:7px}.exhibit-tabs>button,.exhibit-tabs>button:last-child{font-size:12px;min-height:44px;padding:11px 14px;min-width:76px;white-space:nowrap}.exhibit-playback{gap:14px;margin-top:9px}.exhibit-playback #autoplay{font-size:12px;width:76px}.global-practice{padding-top:48px}.global-practice .section-heading h2{font-size:27px}.global-practice-grid h3{font-size:20px}.global-practice-grid p{font-size:14px}.global-practice-grid article{padding:23px}}
@media(max-width:360px){.exhibit-inner{padding-left:18px;padding-right:18px}.exhibit-shell{padding:0 16px}.project-page-arrow{width:38px;height:96px}.project-page-arrow.previous{left:-13px}.project-page-arrow.following{right:-13px}.project-page-arrow b{font-size:39px}.project-page-arrow span{font-size:10px}.exhibit-stage{--hero-image-height:140px;gap:14px;height:495px}.exhibit-copy h2{font-size:25px}.exhibit-copy h3{font-size:13px}.exhibit-copy>p{font-size:12px}.exhibit-actions{gap:12px}.exhibit-actions .button{font-size:12px;padding:11px 10px;gap:10px}.exhibit-actions>a:last-child{font-size:11px}}
@media(prefers-reduced-motion:reduce){.project-page-arrow{transition:none}}
.contact-bottom #contact-message a{display:inline-block;margin-top:10px;font-size:20px;font-weight:550;color:#245443;text-decoration:underline;text-underline-offset:5px}

.ai-evidence-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:24px}
.ai-evidence-card{padding:25px;border:1px solid #dfe6e5;background:#edf1f1;border-radius:14px;min-width:0}
.ai-evidence-card h3{font-size:23px;font-weight:550;margin:10px 0 13px;color:#263b31}
.ai-evidence-intro{font-size:14px;line-height:1.9;color:#687971;min-height:80px;margin:0 0 18px}
.ai-evidence-card .gallery-stage{height:260px;background:#e2e8e7}
.ai-evidence-card .project-photo{height:100%}.ai-evidence-card .project-photo img{height:100%;width:100%;aspect-ratio:auto;object-fit:contain}
.ai-evidence-card figcaption{min-height:66px}.ai-evidence-card .gallery-hint{display:none}
.engineering-proof .gallery-stage{height:300px}.engineering-proof .project-photo{height:100%}.engineering-proof .project-photo img{height:100%;object-fit:contain;aspect-ratio:auto}
@media(max-width:1000px){.ai-evidence-grid{grid-template-columns:1fr}.ai-evidence-card{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1fr);gap:0 30px}.ai-evidence-card>.inline-gallery{grid-column:2;grid-row:1/4}.ai-evidence-card .ai-evidence-intro{min-height:0}.ai-evidence-card h3{align-self:start}.ai-evidence-card>.section-kicker{align-self:end}.ai-evidence-card figcaption{min-height:0}}
@media(max-width:600px){.ai-evidence-card{display:block;padding:22px}.ai-evidence-card .gallery-stage{height:280px}.ai-evidence-intro{min-height:0}.engineering-proof .gallery-stage{height:220px}}

/* Fit the frame to the active screenshot; retain the full image without letterboxing. */
.inline-gallery{--media-max-height:460px}
.inline-gallery .gallery-stage{width:min(100%,calc(var(--media-max-height)*var(--media-ratio,1.6)));height:auto;margin-inline:auto}
.inline-gallery .gallery-stage .project-photo{width:100%;height:auto}
.inline-gallery .gallery-stage .project-photo img{width:100%;height:auto;max-height:none;aspect-ratio:var(--media-ratio,auto);object-fit:contain}
.exhibit-media .inline-gallery{--media-max-height:330px}
.ai-evidence-card .inline-gallery{--media-max-height:300px}
.project-page-arrow span{white-space:nowrap}
@media(max-width:700px){
  .inline-gallery{--media-max-height:440px}
  .exhibit-shell{padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .exhibit-shell .exhibit-stage{--hero-image-height:clamp(140px,calc((100vw - 82px)*.625),290px);grid-column:1/-1;grid-row:1;height:auto;min-height:0;grid-template-rows:auto auto}
  .exhibit-media .inline-gallery{--media-max-height:var(--hero-image-height)}
  .project-page-arrow{position:static;transform:none;flex-direction:row;gap:8px;width:100%;height:44px;border-radius:9px;padding:0 12px}
  .project-page-arrow.previous{grid-column:1;grid-row:2}
  .project-page-arrow.following{grid-column:2;grid-row:2}
  .project-page-arrow b{font-size:26px}
  .project-page-arrow.following b{order:1}
  .project-page-arrow span{font-size:12px;line-height:1}
}

/* Keep XiClaw's portrait screenshots clear of carousel controls. */
.exhibit-media [data-gallery="xiclaw"] .gallery-stage{width:100%;height:var(--hero-image-height,330px)}
.exhibit-media [data-gallery="xiclaw"] .project-photo{height:100%}
.exhibit-media [data-gallery="xiclaw"] .project-photo img{height:100%;aspect-ratio:auto;object-fit:contain}

.exhibit-media [data-gallery="mobileconsole"] .gallery-stage{width:100%;height:var(--hero-image-height,330px)}
.exhibit-media [data-gallery="mobileconsole"] .project-photo{height:100%}
.exhibit-media [data-gallery="mobileconsole"] .project-photo img{height:100%;aspect-ratio:auto;object-fit:contain}

/* Keep controls outside the portrait WeChat screenshot and avoid carousel height jumps. */
.exhibit-media [data-gallery="campus"] .gallery-stage{width:100%;height:var(--hero-image-height,330px)}
.exhibit-media [data-gallery="campus"] .project-photo{height:100%}
.exhibit-media [data-gallery="campus"] .project-photo img{height:100%;aspect-ratio:auto;object-fit:contain}
