@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&family=Libre+Baskerville:wght@700&display=swap');

:root{--paper:#f2f3ed;--white:#fbfcf8;--ink:#172421;--muted:#58645f;--line:#c9d0c7;--accent:#d6eb85;--accent-dark:#6d8540;--panel:#e4e9df;--card-radius:28px;scroll-behavior:smooth}
*{box-sizing:border-box}
html{scroll-padding-top:80px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}
.home-page main>section,.home-page .site-footer{position:relative}
.ambient-grid{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.ambient-grid~*{position:relative;z-index:1}
.ambient-grid svg{position:absolute;top:0;left:-64px;width:calc(100% + 64px);height:100%;animation:grid-drift 8s linear infinite}
.ambient-grid circle{fill:#788e55;opacity:.14;transform-box:fill-box;transform-origin:center;animation:grid-pulse 6s ease-in-out infinite}
@keyframes grid-drift{to{transform:translate3d(64px,0,0)}}
@keyframes grid-pulse{50%{transform:scale(1.22)}}
button,a{font:inherit}button{cursor:pointer}a{color:inherit}
img{display:block;max-width:100%}
[hidden]{display:none!important}
.shell{width:min(100% - 80px,1340px);margin-inline:auto}
.skip-link{position:absolute;z-index:100;top:-60px;left:20px;padding:12px 16px;background:var(--ink);color:white}
.skip-link:focus{top:12px}
:focus-visible{outline:3px solid #81a749;outline-offset:3px}
.eyebrow,.section-index,.section-aside,.showcase-topline,.showcase-bottomline,.hero-footer,.discipline-strip,.project-topline,.media-disclaimer,.carousel-count,.project-content h4,.process-steps,.site-footer,.case-meta,.case-kicker,.case-nav,.evidence-label,.case-slide-index,.visual-caption{font-family:'IBM Plex Mono',Consolas,monospace}

.site-header{position:sticky;top:0;z-index:50;background:rgba(242,243,237,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:78px;gap:24px}
.wordmark{text-decoration:none;font-family:'Libre Baskerville',Georgia,serif;font-size:22px;font-weight:700;letter-spacing:-.055em;line-height:1}
.wordmark-ai{color:var(--accent-dark)}
.wordmark-dot{color:var(--accent-dark)}
.main-nav{display:flex;align-items:center;gap:34px}
.main-nav a{font-size:13px;font-weight:700;text-decoration:none;transition:color .2s}
.main-nav a:hover{color:var(--accent-dark)}
.main-nav a:last-child{border:1px solid var(--ink);border-radius:100px;padding:11px 16px;transition:background .2s,color .2s}
.main-nav a:last-child:hover{background:var(--ink);color:var(--white)}
.main-nav a:last-child span{margin-left:13px}
.menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:42px;height:42px;border:1px solid var(--ink);border-radius:50%;background:transparent}
.menu-toggle span{width:17px;height:2px;background:var(--ink);transition:transform .2s}
.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.5px) rotate(45deg)}
.menu-toggle[aria-expanded=true] span:nth-child(2){transform:translateY(-3.5px) rotate(-45deg)}
.menu-toggle[aria-expanded=true] span:last-child{display:none}

.hero{display:grid;grid-template-columns:1.04fr .96fr;gap:min(6vw,78px);min-height:690px;padding-block:90px 75px;align-items:center}
.hero-copy{display:flex;flex-direction:column;align-items:flex-start}
.eyebrow{display:flex;align-items:center;gap:11px;margin:0 0 33px;font-size:11px;font-weight:600;letter-spacing:.12em}
.live-dot{display:block;width:9px;height:9px;border-radius:50%;background:var(--accent-dark);box-shadow:0 0 0 4px rgba(109,133,64,.13)}
.hero h1,.section-intro h2,.about-section h2,.contact-section h2,.case-hero h1,.case-section h2{margin:0;font-weight:800;letter-spacing:-.075em;line-height:.98}
.hero h1{max-width:650px;font-size:clamp(66px,6.3vw,99px)}
.hero h1 em,.section-intro h2 em,.about-section h2 em,.contact-section h2 em,.case-hero h1 em,.case-section h2 em{font-style:normal;color:var(--accent-dark)}
.hero-lead{max-width:520px;margin:30px 0 0;color:#45534d;font-size:18px;line-height:1.65}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:28px;margin-top:38px}
.button{display:inline-flex;justify-content:space-between;align-items:center;gap:28px;border:1px solid var(--ink);border-radius:999px;padding:15px 19px;font-size:13px;font-weight:800;text-decoration:none;transition:transform .2s,background .2s,color .2s}
.button:hover,.inline-button:hover{transform:translateY(-2px)}
.button-dark{background:var(--ink);color:var(--white)}
.button-dark:hover{background:#30443c}
.text-link{display:inline-flex;align-items:center;gap:16px;border:0;border-bottom:1px solid var(--ink);padding:9px 0;color:var(--ink);font-size:13px;font-weight:800;text-decoration:none}
.text-link:hover{color:var(--accent-dark);border-color:var(--accent-dark)}
.hero-footer{display:flex;flex-wrap:wrap;gap:18px;margin-top:74px;color:#67746a;font-size:10px;letter-spacing:.05em}
.hero-footer span+span:before{content:'•';margin-right:18px;color:var(--accent-dark)}
.hero-showcase{overflow:hidden;border:1px solid #425752;border-radius:var(--card-radius);background:#192d32;color:#edf2eb;box-shadow:18px 18px 0 #e0e5d9}
.showcase-topline,.showcase-bottomline{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;font-size:10px;letter-spacing:.08em}
.showcase-topline{border-bottom:1px solid #6e817a}
.showcase-media{position:relative;aspect-ratio:1.02;overflow:hidden}
.showcase-media img{width:100%;height:100%;object-fit:cover}
.showcase-media[data-hero-slideshow] img{position:absolute;inset:0;display:block;object-fit:cover;object-position:center}
.showcase-media[data-hero-slideshow] img.showcase-next{opacity:0;transition:opacity 700ms ease}
.showcase-media[data-hero-slideshow] img.showcase-next.is-visible{opacity:1}
.showcase-media:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(12,31,36,.5),transparent 40%);pointer-events:none}
.showcase-label{position:absolute;z-index:2;left:22px;bottom:21px;font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.11em}
.showcase-bottomline{border-top:1px solid #6e817a;color:#c4d1c5}
.showcase-bottomline a{color:var(--accent);font-weight:600;text-decoration:none}
.showcase-bottomline a span{margin-left:8px}
.discipline-strip{border-block:1px solid var(--line);background:#e8ece4}
.discipline-strip .shell{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap;padding-block:20px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.discipline-strip span:before{content:'+';margin-right:12px;color:var(--accent-dark)}

.section{padding:120px 0}
.section-top{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--ink);padding-top:17px}
.section-index,.section-aside{font-size:11px;font-weight:600;letter-spacing:.1em}
.section-aside{color:#748077}
.section-intro{display:flex;justify-content:space-between;align-items:end;gap:50px;margin:39px 0 54px}
.section-intro h2,.about-section h2{font-size:clamp(54px,5.7vw,88px)}
.section-intro p{max-width:365px;margin:0 0 5px;color:#55625a;font-size:16px;line-height:1.65}
.work-section{background:var(--white)}
.feature-project{display:grid;grid-template-columns:1.16fr .84fr;border:1px solid var(--line);background:var(--paper)}
.project-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.project-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--card-radius);background:var(--paper)}
.project-card--featured{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.57fr) minmax(0,.83fr);gap:48px;overflow:visible;border:0;background:transparent}
.project-card:not(.project-card--featured){display:flex;flex-direction:column}
.project-card:not(.project-card--featured) .media-viewport{min-height:310px}
.project-card:not(.project-card--featured) .project-content{flex:1}
.project-card:not(.project-card--featured) .project-content h3{margin-top:34px;font-size:clamp(48px,4.6vw,70px)}
.project-media{display:flex;flex-direction:column;min-width:0;background:#1c3138;color:#f7f9f0}
.project-card--featured .project-media{position:relative;min-height:615px;overflow:hidden;border:1px solid #536b68;border-radius:32px;transform:rotate(-.3deg);box-shadow:12px 15px 0 #dce5d9}
.project-card--featured .media-viewport{min-height:615px}
.media-open{position:absolute;z-index:3;top:20px;right:20px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--white);color:var(--ink);font-size:21px;font-weight:700;text-decoration:none;transition:transform .2s,background .2s}
.media-open:hover{transform:rotate(45deg);background:var(--accent)}
.project-card--featured .carousel-controls{position:absolute;z-index:3;left:18px;bottom:18px;gap:13px;min-height:0;padding:7px 8px 7px 12px;border:1px solid #566e69;border-radius:999px;background:rgba(19,39,42,.94)}
.project-card--featured .carousel-dots button{width:15px;height:5px}
.project-card--featured .carousel-dots button.is-active{width:23px}
.project-card--featured .carousel-arrows button{width:28px;height:28px;border:0;font-size:17px}
.project-card--featured .media-disclaimer{right:18px;left:auto;bottom:22px;max-width:260px;text-align:right}
.media-viewport{position:relative;flex:1;min-height:560px;overflow:hidden}
.media-viewport>.carousel-slide{position:absolute;inset:0;margin:0}
.media-image-button{display:block;width:100%;height:100%;border:0;padding:0;background:transparent;cursor:zoom-in}
.carousel-slide img{width:100%;height:100%;object-fit:cover}
.project-card--featured .carousel-slide:first-child img{object-fit:cover;object-position:51% center}
.carousel-slide figcaption{position:absolute;top:19px;left:22px;padding:8px 12px;border-radius:999px;background:rgba(22,39,44,.75);font-family:'IBM Plex Mono',monospace;font-size:10px;text-transform:uppercase;letter-spacing:.07em}
.image-lightbox{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border:0;padding:clamp(16px,3vw,42px);background:#0d1516;color:#f4f6ef}
.image-lightbox[open]{display:grid;grid-template-columns:clamp(42px,5vw,72px) minmax(0,1fr) clamp(42px,5vw,72px);align-items:center;gap:clamp(8px,2vw,28px)}
.image-lightbox::backdrop{background:rgba(5,10,11,.94)}
.lightbox-figure{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;margin:0}
.lightbox-figure img{display:block;width:100%;max-height:calc(100dvh - 130px);object-fit:contain}
.lightbox-figure figcaption{display:flex;justify-content:space-between;gap:20px;width:100%;max-width:100%;margin-top:14px;color:#d8e0d6;font-family:'IBM Plex Mono',Consolas,monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.lightbox-arrow,.lightbox-close{display:grid;place-items:center;width:clamp(42px,5vw,64px);height:clamp(42px,5vw,64px);border:1px solid #65736f;border-radius:50%;background:rgba(31,48,49,.92);color:#f4f6ef;font-size:26px;cursor:pointer}
.lightbox-arrow:hover,.lightbox-close:hover{background:#465d54}
.lightbox-arrow--previous{grid-column:1}.lightbox-figure{grid-column:2}.lightbox-arrow--next{grid-column:3}
.lightbox-close{position:absolute;z-index:2;top:16px;right:16px;width:44px;height:44px;font-size:28px}
body.lightbox-open{overflow:hidden}
.media-disclaimer{position:absolute;left:22px;bottom:21px;padding:9px 12px;border-radius:999px;background:#142831;color:#e5ebdf;font-size:9px;letter-spacing:.05em}
.carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 20px;min-height:68px;border-top:1px solid #5e7574}
.carousel-count{font-size:11px;letter-spacing:.08em}
.carousel-dots{display:flex;align-items:center;gap:7px}
.carousel-dots button{width:26px;height:8px;border:0;border-radius:20px;background:#6d8683;transition:background .2s,width .2s}
.carousel-dots button.is-active{width:39px;background:var(--accent)}
.carousel-arrows{display:flex;gap:7px}
.carousel-arrows button{width:35px;height:35px;border:1px solid #718886;border-radius:50%;background:transparent;color:white;font-size:18px}
.carousel-arrows button:hover{background:#3e5958}
.project-content{display:flex;flex-direction:column;padding:34px 37px 30px}
.project-card--featured .project-content{min-height:615px;padding:45px 0 16px}
.spit-work-section,.escape-work-section,.one-round-work-section{border-top:1px solid var(--line)}
.spit-work-section,.one-round-work-section{background:var(--paper)}
.escape-work-section{background:var(--white)}
.spit-work-section .project-gallery-grid,.escape-work-section .project-gallery-grid,.one-round-work-section .project-gallery-grid{margin-top:54px}
.project-card--featured .project-content h3{margin:35px 0 18px;font-size:clamp(48px,4.4vw,70px);line-height:1.05;white-space:nowrap}
.escape-work-section .project-content h3{font-size:clamp(38px,3.1vw,52px);line-height:1.08;white-space:normal}
.project-card--featured .project-summary{font-size:15px;line-height:1.6}
.project-contribution{margin:34px 0 28px}
.project-contribution>span{font-family:'IBM Plex Mono',monospace;color:#647269;font-size:10px;font-weight:600;letter-spacing:.06em}
.contribution-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.contribution-tags span{border:1px solid var(--line);border-radius:999px;padding:9px 12px;background:var(--white);color:#394a40;font-size:11px;font-weight:700}
.project-detail-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line)}
.project-detail-tabs button{border:0;border-bottom:2px solid transparent;padding:12px 0;background:transparent;color:#718076;font-size:12px;font-weight:700}
.project-detail-tabs button:hover{color:var(--ink)}
.project-detail-tabs button.is-active{border-bottom-color:var(--accent-dark);color:var(--ink)}
.project-detail-panel{min-height:110px;padding:19px 0 22px;color:#536159;font-size:14px;line-height:1.65}
.project-detail-panels{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;flex:1 0 auto}
.project-detail-panels .project-detail-panel{grid-area:1/1}
.project-detail-panels .project-detail-panel:not(.is-active){visibility:hidden}
.project-explore{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:auto;border-top:1px solid var(--line);padding:20px 0 4px;font-size:13px;font-weight:800;text-decoration:none}
.project-explore span{font-size:20px;transition:transform .2s}
.project-explore:hover{color:var(--accent-dark)}
.project-explore:hover span{transform:translate(3px,-3px)}
.project-topline{display:flex;justify-content:space-between;gap:14px;color:#778379;font-size:10px;font-weight:600;letter-spacing:.07em}
.project-content h3{margin:62px 0 20px;font-size:clamp(58px,5.5vw,88px);font-weight:800;letter-spacing:-.08em;line-height:.84}
.project-content h3 span{color:var(--accent-dark)}
.project-content>p{max-width:380px;margin:0;color:#435148;font-size:16px;line-height:1.6}
.spit-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.spit-gallery-grid figure{grid-column:1/-1;margin:0;overflow:hidden;border-radius:var(--card-radius);background:#192d32;color:var(--white)}
.spit-gallery-grid figure img{width:100%;height:auto}
.spit-gallery-grid figcaption{padding:14px 20px;font-family:'IBM Plex Mono',Consolas,monospace;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.project-tags{display:flex;flex-wrap:wrap;gap:7px;margin:27px 0 34px}
.project-tags span{border:1px solid #bdc8b9;border-radius:99px;padding:7px 11px;color:#526157;font-family:'IBM Plex Mono',monospace;font-size:10px}
.project-divider{height:1px;margin:34px 0 23px;background:var(--line)}
.project-content h4{margin:0 0 10px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.1em}
.project-list{margin:0 0 30px;padding-left:18px;color:#425148;font-size:13px;line-height:1.85}
.project-list li::marker{color:var(--accent-dark)}
.inline-button{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:auto;border:1px solid var(--ink);border-radius:999px;padding:14px 16px;font-size:13px;font-weight:800;text-decoration:none;transition:transform .2s}
.inline-button:hover{background:var(--ink);color:white}

.systems-section{background:#e7ebe3}
.skills-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.skill-card{display:flex;flex-direction:column;min-height:265px;padding:23px;border:1px solid #bfcbc0;border-radius:22px;background:#f2f5ee}
.skill-card>span{color:var(--accent-dark);font-family:'IBM Plex Mono',monospace;font-size:10px;font-weight:600;letter-spacing:.08em}
.skill-card h3{margin:auto 0 12px;font-size:26px;line-height:1.08;letter-spacing:-.045em}
.skill-card p{margin:0;color:#55645a;font-size:13px;line-height:1.55}
.systems-list{border-top:1px solid var(--ink)}
.system-row{display:grid;grid-template-columns:90px 1fr 40px;gap:20px;align-items:center;border-bottom:1px solid #aebaae;padding:25px 12px 25px 0}
.system-row>span:first-child{font-family:'IBM Plex Mono',monospace;color:var(--accent-dark);font-size:12px}
.system-row h3{margin:0 0 7px;font-size:28px;font-weight:800;letter-spacing:-.045em}
.system-row p{max-width:820px;margin:0;color:#566359;font-size:15px;line-height:1.55}
.system-symbol{font-size:24px;justify-self:end;color:var(--accent-dark)}
.systems-link{margin-top:34px}

.about-section{background:var(--white)}
.about-layout{display:grid;grid-template-columns:1fr .74fr;gap:10%;align-items:start}
.about-section h2{margin-top:37px}
.about-copy{padding-top:80px}
.about-copy p{margin:0 0 17px;color:#4e5c52;font-size:17px;line-height:1.7}
.process-steps{display:flex;align-items:center;gap:13px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:22px;margin-top:34px;color:var(--accent-dark);font-size:11px;font-weight:600;letter-spacing:.06em}
.process-steps span:nth-child(even){color:#8d9b8a}

.contact-section{padding:95px 0 110px;background:var(--ink);color:#f3f5ec}
.contact-section .section-top{border-color:#71837a}
.contact-section .section-aside{color:#a3b4a7}
.contact-layout{display:grid;grid-template-columns:1fr .67fr;align-items:end;gap:10%;padding-top:50px}
.contact-section h2{font-size:clamp(65px,7vw,112px)}
.contact-section h2 em{color:var(--accent)}
.contact-layout>div{padding-bottom:8px}
.contact-layout p{max-width:460px;margin:0 0 25px;color:#c8d1c7;font-size:17px;line-height:1.6}
.button-light{background:var(--accent);border-color:var(--accent);color:var(--ink)}
.button-light:hover{background:#e5f5a9}
.copy-status{display:block;min-height:24px;margin-top:15px;color:var(--accent);font-size:13px}
.contact-options{min-width:0}
.contact-method{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;align-items:center;border-top:1px solid #71837a;padding:20px 0 14px}
.contact-method:last-child{border-bottom:1px solid #71837a}
.contact-platform{display:block;margin-bottom:7px;color:#a3b4a7;font-family:'IBM Plex Mono',Consolas,monospace;font-size:10px;font-weight:600;letter-spacing:.1em}
.contact-method strong{display:block;color:#f3f5ec;font-size:22px;line-height:1.25;overflow-wrap:anywhere}
.contact-note{display:block;margin-top:6px;color:#b8c8b8;font-size:12px}
.contact-method .button{gap:15px;padding:11px 15px;font-size:12px;white-space:nowrap}
.contact-method .copy-status{grid-column:1/-1;min-height:17px;margin-top:7px;font-size:11px}
.site-footer{background:#111d1b;color:#e9eee7}
.site-footer .shell{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-block:30px}
.site-footer .wordmark{font-size:19px}
.site-footer .wordmark-dot{color:var(--accent)}
.site-footer .wordmark-ai{color:var(--accent)}
.site-footer span:not(.wordmark-dot),.site-footer a:last-child{font-size:10px;text-decoration:none;letter-spacing:.06em}

/* Project case study */
.case-hero{padding:64px 0 80px}
.breadcrumb{display:inline-flex;gap:12px;align-items:center;color:#5b6a5f;font-family:'IBM Plex Mono',monospace;font-size:11px;text-decoration:none}
.breadcrumb:hover{color:var(--accent-dark)}
.case-head{display:grid;grid-template-columns:1.2fr .8fr;gap:8%;align-items:end;margin-top:65px}
.case-kicker{display:block;margin-bottom:24px;color:var(--accent-dark);font-size:11px;font-weight:600;letter-spacing:.1em}
.case-hero h1{font-size:clamp(80px,12vw,175px)}
.one-round-case-hero h1{font-size:clamp(70px,8vw,116px)}
.escape-case-hero h1{font-size:clamp(62px,7.4vw,108px);line-height:.95}
.case-summary{max-width:430px;margin:0 0 9px;color:#48574d;font-size:20px;line-height:1.55}
.case-meta{display:flex;gap:32px;flex-wrap:wrap;margin:42px 0 0;padding:18px 0 0;border-top:1px solid var(--line);color:#657267;font-size:11px}
.case-meta strong{display:block;color:var(--ink);margin-top:8px;font-family:'DM Sans',sans-serif;font-size:14px}
.case-cover{position:relative;margin-top:54px;aspect-ratio:16/7;overflow:hidden;border-radius:var(--card-radius);background:#1c3037}
.case-cover img{width:100%;height:100%;object-fit:cover}
.case-cover span{position:absolute;left:20px;bottom:20px;padding:9px 13px;border-radius:999px;background:#152b31;color:white;font-family:'IBM Plex Mono',monospace;font-size:10px}
.case-nav{position:sticky;top:78px;z-index:40;display:flex;gap:0;background:var(--paper);border-block:1px solid var(--line)}
.case-nav a{padding:17px 23px 17px 0;margin-right:26px;text-decoration:none;font-size:11px;font-weight:600;letter-spacing:.06em}
.case-nav a:hover{color:var(--accent-dark)}
.case-section{padding:110px 0}
.case-section:nth-of-type(even){background:var(--white)}
.case-section h2{font-size:clamp(58px,7vw,100px)}
.case-section-intro{display:grid;grid-template-columns:1fr .55fr;gap:10%;align-items:end;margin:35px 0 47px}
.case-section-intro p{margin:0;color:#506056;font-size:17px;line-height:1.65}
.program-card{overflow:hidden;border:1px solid var(--line);border-radius:var(--card-radius);background:var(--white)}
.program-slide{display:grid;grid-template-columns:.96fr 1.04fr;min-height:420px}
.program-visual{display:flex;flex-direction:column;justify-content:center;gap:16px;padding:45px;background:#1a302d;color:#e8f0e8}
.program-visual>span{font-family:'IBM Plex Mono',monospace;color:var(--accent);font-size:11px;letter-spacing:.08em}
.flow{display:flex;flex-direction:column;gap:10px;max-width:340px}
.flow span{display:block;border:1px solid #698078;border-radius:12px;padding:12px 15px;font-size:14px;font-weight:700}
.flow span+span:before{content:'↓';display:block;margin:-18px auto 3px;color:var(--accent);text-align:center}
.program-copy{display:flex;flex-direction:column;align-items:flex-start;padding:41px}
.case-slide-index{color:var(--accent-dark);font-size:11px;font-weight:600}
.program-copy h3{margin:24px 0 14px;font-size:36px;font-weight:800;letter-spacing:-.06em;line-height:1.1}
.program-copy p{max-width:480px;margin:0;color:#526157;font-size:16px;line-height:1.65}
.evidence-label{margin-top:auto;padding-top:30px;color:#718076;font-size:10px;line-height:1.5}
.program-card .carousel-controls{background:#1c302d}
.case-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}
.case-note{padding:25px;border:1px solid var(--line);border-radius:22px;background:var(--paper)}
.case-note>span{font-family:'IBM Plex Mono',monospace;color:var(--accent-dark);font-size:11px}
.case-note h3{margin:28px 0 8px;font-size:22px;letter-spacing:-.04em}
.case-note p{margin:0;color:#58665b;font-size:14px;line-height:1.6}
.visual-section{background:var(--white)}
.visual-frame{display:grid;grid-template-columns:1.2fr .8fr;min-height:470px;border:1px solid var(--line);border-radius:var(--card-radius);overflow:hidden;background:var(--paper)}
.visual-media{position:relative;min-height:450px;background:#20363d}
.visual-media img{width:100%;height:100%;object-fit:cover}
.visual-caption{position:absolute;left:18px;bottom:18px;padding:9px 13px;border-radius:999px;background:#183037;color:white;font-size:10px}
.visual-copy{display:flex;flex-direction:column;padding:36px}
.visual-copy h3{margin:27px 0 14px;font-size:34px;line-height:1.1;letter-spacing:-.05em}
.visual-copy p{margin:0;color:#536157;font-size:15px;line-height:1.65}
.visual-copy .carousel-controls{margin-top:auto;border-top:1px solid var(--line);padding:20px 0 0;color:var(--ink)}
.visual-copy .carousel-arrows button{border-color:var(--ink);color:var(--ink)}
.visual-copy .carousel-arrows button:hover{background:#dce4d9}
.visual-copy .carousel-dots button{background:#b1c0ae}
.visual-copy .carousel-dots button.is-active{background:var(--accent-dark)}
.visual-card>.carousel-controls{background:#1c302d;color:#f7f9f0}
.case-contact{padding:90px 0;background:#e4e9df}
.case-contact .shell{display:flex;align-items:center;justify-content:space-between;gap:40px}
.case-contact h2{font-size:clamp(44px,5vw,75px)}
.case-contact p{color:#536157;font-size:15px}
.systems-carousel,.visual-card{overflow:hidden;border:1px solid var(--line);border-radius:var(--card-radius);background:var(--paper)}
.carousel-tabs{display:flex;gap:0;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid var(--line);background:#edf1e9}
.carousel-tabs button{flex:1 0 auto;min-width:165px;border:0;border-bottom:3px solid transparent;padding:18px 16px 16px;background:transparent;color:#657267;font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:600;text-align:left;white-space:nowrap}
.carousel-tabs button span{margin-right:8px;color:#899886}
.carousel-tabs button:hover{background:#e2e9dc;color:var(--ink)}
.carousel-tabs button.is-active{border-bottom-color:var(--accent-dark);background:var(--white);color:var(--ink)}
.track-window{overflow:hidden}
.carousel-track{display:flex;align-items:stretch;transition:transform .5s cubic-bezier(.22,.72,.21,1)}
.carousel-track>.carousel-slide{flex:0 0 100%;min-width:0}
.system-slide{display:grid;grid-template-columns:.42fr .58fr;min-height:475px}
.system-slide-copy{display:flex;flex-direction:column;align-items:flex-start;padding:42px;background:var(--white)}
.system-slide-copy h3{margin:44px 0 20px;font-size:clamp(38px,4vw,60px);font-weight:800;letter-spacing:-.065em;line-height:1}
.system-slide-copy p{max-width:430px;margin:0;color:#4f5d54;font-size:16px;line-height:1.65}
.system-slide-media{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:25px;background:#e0e7dc}
.evidence-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:360px;padding:19px;border:1px solid #c0cbc0;border-radius:18px}
.evidence-card>span{font-family:'IBM Plex Mono',monospace;font-size:10px;font-weight:600;letter-spacing:.06em}
.evidence-card strong{margin-top:auto;max-width:230px;font-size:14px;line-height:1.4}
.evidence-code{background:#192d2b;color:#dce8d8}
.evidence-code>span{color:var(--accent)}
.combat-code-card{align-items:stretch}
.code-window{margin:0;background:#1e1e1e;color:#d4d4d4;font-family:'IBM Plex Mono',Consolas,monospace;font-size:11px;line-height:21px;tab-size:2;user-select:text}
.code-window--preview{flex:1 1 0;min-height:0;margin:18px -7px 14px;padding:7px 5px;overflow:hidden;border:1px solid #3e3e42;border-radius:9px}
.code-window code{display:block;min-width:0}
.code-row{display:flex;min-width:0;width:100%;min-height:21px}
.code-line-number{flex:0 0 31px;padding-right:8px;border-right:1px solid #3e3e42;color:#858585;text-align:right;user-select:none}
.code-line-text{min-width:0;padding:0 10px;white-space:pre-wrap;overflow-wrap:anywhere}
.code-comment{color:#6a9955}.code-keyword{color:#c586c0}.code-string{color:#ce9178}.code-number{color:#b5cea8}.code-global{color:#569cd6}.code-boolean{color:#dcdcaa}
.code-view-button{align-self:flex-start;margin-top:auto;border:0;border-bottom:1px solid #91b36f;padding:6px 0;background:transparent;color:var(--accent);font-family:'IBM Plex Mono',Consolas,monospace;font-size:11px;font-weight:600;cursor:pointer}
.code-view-button:hover{color:#f0fac4}.code-view-button span{margin-left:6px}
.code-dialog{position:fixed;inset:0;width:min(900px,calc(100vw - 32px));max-width:none;max-height:min(85dvh,760px);margin:auto;border:1px solid #54715e;border-radius:18px;padding:0;background:#192d2b;color:#e6eee2;box-shadow:0 24px 70px rgba(4,15,11,.38)}
.code-dialog[open]{display:flex;flex-direction:column}
.code-dialog::backdrop{background:rgba(7,18,15,.76)}
.code-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px 12px}
.code-dialog-header span{color:var(--accent);font-family:'IBM Plex Mono',Consolas,monospace;font-size:10px;letter-spacing:.08em}
.code-dialog-header h2{margin:8px 0 0;font-size:28px;letter-spacing:-.04em}
.code-dialog-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #617c69;border-radius:50%;background:transparent;color:#e6eee2;font-size:25px;cursor:pointer}
.code-dialog-close:hover{background:#365145}
.code-window--full{flex:1 1 auto;min-height:0;margin:0 16px 16px;padding:14px 8px;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;border:1px solid #3e3e42;border-radius:10px;font-size:12px;line-height:23px}
.code-window--full::-webkit-scrollbar{display:none}
.code-window--full .code-row{min-height:23px}
.code-window--full{cursor:grab;touch-action:pan-y}
.code-window--full.is-dragging{cursor:grabbing;user-select:none}
body.code-dialog-open{overflow:hidden}
.evidence-demo{background:linear-gradient(145deg,#b7c5b4,#7e968e);color:#172a29}
.systems-carousel>.carousel-controls,.visual-card>.carousel-controls{min-height:70px;background:#1c302d;color:#f7f9f0}
.carousel-hint{color:#aabdb0;font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.04em}
.visual-card .visual-frame{min-height:470px}
.visual-annotation{position:absolute;z-index:1;top:23%;padding:9px 12px;border:1px solid rgba(234,240,224,.75);border-radius:999px;background:rgba(20,43,48,.77);color:#f7f9f0;font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.03em}
.visual-annotation--left{left:10%}.visual-annotation--right{right:12%}
.visual-copy .evidence-label{display:block;margin-top:auto;padding-top:32px}
@media(max-width:1100px){
  .shell{width:min(100% - 56px,1340px)}
  .hero{grid-template-columns:1fr .9fr;gap:35px}
  .hero h1{font-size:clamp(61px,7vw,83px)}
  .hero-showcase{box-shadow:10px 10px 0 #e0e5d9}
  .section-intro h2,.about-section h2{font-size:clamp(54px,6vw,75px)}
  .project-content h3{margin-top:37px}
  .project-card--featured{gap:30px}
  .project-card--featured .project-content{padding-top:27px}
  .project-card--featured .project-content h3{font-size:clamp(44px,4.6vw,61px)}
  .escape-work-section .project-content h3{font-size:clamp(38px,4.4vw,52px)}
  .media-viewport{min-height:500px}
  .case-head{gap:4%}
  .skills-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .system-slide{grid-template-columns:.46fr .54fr}
  .system-slide-copy{padding:32px}
  .system-slide-media{padding:16px;gap:10px}
  .evidence-card{min-height:340px;padding:15px}
}
@media(max-width:800px){
  .shell{width:min(100% - 40px,1340px)}
  .hero{grid-template-columns:1fr;gap:52px;padding-block:80px 70px}
  .hero h1{max-width:760px;font-size:clamp(63px,9vw,90px)}
  .hero-footer{margin-top:48px}
  .hero-showcase{max-width:650px}
  .showcase-media{aspect-ratio:1.5}
  .discipline-strip .shell{justify-content:flex-start}
  .section{padding:85px 0}
  .feature-project{grid-template-columns:1fr}
  .project-card--featured{grid-template-columns:1fr}
  .project-card--featured{gap:21px}
  .project-card--featured .project-media{min-height:480px;transform:none}
  .project-card--featured .media-viewport{min-height:480px}
  .project-card--featured .project-content{min-height:560px;padding:24px 0 8px}
  .project-card--featured .project-content h3{font-size:60px}
  .escape-work-section .project-content h3{font-size:clamp(38px,6vw,52px)}
  .media-viewport{min-height:470px}
  .project-content{min-height:480px}
  .project-content h3{margin:34px 0 20px}
  .section-intro{align-items:start}
  .section-intro h2,.about-section h2{font-size:clamp(51px,7.5vw,75px)}
  .about-layout{grid-template-columns:1fr;gap:20px}
  .about-copy{padding-top:0}
  .contact-layout{grid-template-columns:1fr;gap:35px}
  .case-head{grid-template-columns:1fr;gap:25px}
  .case-summary{max-width:700px}
  .case-section-intro{grid-template-columns:1fr;gap:20px}
  .program-slide,.visual-frame{grid-template-columns:1fr}
  .program-visual{min-height:330px}
  .visual-media{min-height:400px}
  .case-notes{grid-template-columns:1fr 1fr}
  .system-slide{grid-template-columns:1fr}
  .system-slide-copy{min-height:310px}
  .system-slide-copy h3{margin-top:24px}
  .system-slide-media{min-height:280px}
  .evidence-card{min-height:250px}
}
@media(max-width:600px){
  .code-dialog{width:calc(100vw - 16px);max-height:90dvh}
  .code-dialog-header{padding:16px 16px 10px}
  .code-dialog-header h2{font-size:23px}
  .code-window--full{margin:0 8px 8px;font-size:11px}
  .image-lightbox{padding:12px}
  .image-lightbox[open]{grid-template-columns:34px minmax(0,1fr) 34px;gap:4px}
  .lightbox-arrow{width:34px;height:34px;font-size:19px}
  .lightbox-figure img{max-height:calc(100dvh - 105px)}
  .lightbox-figure figcaption{font-size:8px}
  .shell{width:min(100% - 32px,1340px)}
  .header-inner{height:66px}
  .wordmark{font-size:22px}
  .menu-toggle{display:flex}
  .main-nav{display:none;position:absolute;top:66px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:15px 16px 22px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 20px 30px rgba(18,37,28,.1)}
  .main-nav.is-open{display:flex}
  .main-nav a{padding:13px 5px}
  .main-nav a:last-child{margin-top:9px;text-align:center}
  .hero{padding-block:70px 55px;gap:42px}
  .hero h1{font-size:clamp(55px,12vw,72px)}
  .hero-lead{font-size:16px;margin-top:24px}
  .hero-actions{gap:18px;margin-top:28px}
  .hero-footer{gap:10px;margin-top:40px;font-size:9px}
  .hero-footer span+span:before{margin-right:10px}
  .showcase-topline,.showcase-bottomline{font-size:8px;padding:13px}
  .showcase-media{aspect-ratio:1.1}
  .showcase-label{font-size:8px;left:12px;bottom:13px}
  .discipline-strip .shell{gap:12px;padding-block:16px;font-size:9px}
  .discipline-strip span:before{margin-right:6px}
  .section{padding:68px 0}
  .section-index,.section-aside{font-size:9px}
  .section-intro{display:block;margin:29px 0 34px}
  .section-intro h2,.about-section h2{font-size:clamp(48px,11vw,66px)}
  .section-intro p{margin:20px 0 0;font-size:15px}
  .media-viewport{min-height:310px}
  .project-card--featured .project-media{min-height:360px}
  .project-card--featured .media-viewport{min-height:360px}
  .project-card--featured .media-disclaimer{left:11px;right:auto;bottom:62px;max-width:230px;text-align:left}
  .project-card--featured .carousel-controls{left:10px;bottom:10px}
  .project-card--featured .project-content{min-height:640px;padding:24px 0 8px}
  .project-card--featured .project-content h3{font-size:clamp(44px,12vw,60px);white-space:normal}
  .escape-work-section .project-content h3{font-size:clamp(40px,10vw,54px)}
  .project-contribution{margin:26px 0 21px}
  .project-detail-tabs{gap:18px}
  .project-detail-panel{min-height:110px}
  .carousel-slide figcaption{top:11px;left:11px;font-size:8px}
  .media-disclaimer{left:11px;bottom:11px;font-size:7px}
  .project-content{padding:25px 23px;min-height:0}
  .project-topline{font-size:8px}
  .project-content h3{font-size:64px;margin:33px 0 17px}
  .project-gallery-grid,.skills-grid{grid-template-columns:1fr}
  .skill-card{min-height:190px}
  .skill-card h3{margin-top:38px}
  .project-divider{margin:26px 0 20px}
  .system-row{grid-template-columns:33px 1fr 18px;gap:10px;padding:22px 0}
  .system-row h3{font-size:22px}
  .system-row p{font-size:13px}
  .system-symbol{font-size:17px}
  .about-copy p,.contact-layout p{font-size:15px}
  .contact-section{padding:69px 0 80px}
  .contact-section h2{font-size:clamp(63px,13vw,80px)}
  .contact-method{grid-template-columns:1fr;gap:12px}
  .contact-method .button{justify-self:start}
  .contact-method .copy-status{margin-top:0}
  .site-footer .shell{display:grid;grid-template-columns:1fr auto}
  .site-footer .shell>span{grid-column:1/-1;grid-row:2}
  .case-hero{padding:40px 0 57px}
  .case-head{margin-top:42px}
  .case-hero h1{font-size:clamp(76px,16vw,125px)}
  .one-round-case-hero h1{font-size:clamp(62px,12vw,80px)}
  .escape-case-hero h1{font-size:clamp(54px,11vw,76px)}
  .case-summary{font-size:17px}
  .case-meta{gap:20px;font-size:10px}
  .case-cover{aspect-ratio:1.4;margin-top:38px}
  .case-nav{top:66px;overflow-x:auto;white-space:nowrap}
  .case-nav a{margin-right:16px;padding:15px 10px 15px 0}
  .case-section{padding:70px 0}
  .case-section h2{font-size:clamp(55px,11vw,78px)}
  .program-visual{padding:30px;min-height:300px}
  .program-copy{padding:30px;min-height:330px}
  .program-copy h3{font-size:30px}
  .case-notes{grid-template-columns:1fr}
  .visual-media{min-height:290px}
  .visual-copy{padding:27px;min-height:290px}
  .case-contact .shell{display:block}
  .case-contact .button{margin-top:20px}
  .carousel-tabs button{min-width:145px;padding:15px 13px;font-size:10px}
  .system-slide-copy{padding:27px;min-height:330px}
  .system-slide-copy h3{font-size:42px}
  .system-slide-copy p{font-size:14px}
  .system-slide-media{grid-template-columns:1fr;padding:15px}
  .evidence-card{min-height:175px}
  .carousel-hint{display:none}
  .visual-annotation{top:18%;font-size:8px}
}
/* Motion uses opacity and transforms, so it never changes the document flow. */
@keyframes rise-in{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes header-in{from{opacity:0;transform:translate3d(0,-8px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
.site-header{transition:box-shadow .28s ease,background-color .28s ease}
.site-header.is-scrolled{box-shadow:0 10px 28px rgba(18,37,28,.08)}
.site-header .header-inner{animation:header-in .55s ease-out both}
.hero-copy>.eyebrow{animation:rise-in .55s .08s cubic-bezier(.22,.72,.21,1) both}
.hero-copy>h1{animation:rise-in .7s .16s cubic-bezier(.22,.72,.21,1) both}
.hero-copy>.hero-lead{animation:rise-in .65s .28s cubic-bezier(.22,.72,.21,1) both}
.hero-copy>.hero-actions{animation:rise-in .6s .39s cubic-bezier(.22,.72,.21,1) both}
.hero-copy>.hero-footer{animation:rise-in .55s .48s cubic-bezier(.22,.72,.21,1) both}
.hero-showcase{animation:rise-in .8s .26s cubic-bezier(.22,.72,.21,1) both}
.case-hero .breadcrumb{animation:rise-in .5s .06s ease-out both}
.case-head{animation:rise-in .7s .14s cubic-bezier(.22,.72,.21,1) both}
.main-nav a:not(:last-child){position:relative}
.main-nav a:not(:last-child):after{content:'';position:absolute;right:0;bottom:-6px;left:0;height:2px;background:var(--accent-dark);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.main-nav a:not(:last-child):hover:after,.main-nav a.is-current:not(:last-child):after{transform:scaleX(1)}
.main-nav a.is-current{color:var(--accent-dark)}
.wordmark-dot{display:inline-block;transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.button,.inline-button,.carousel-arrows button,.media-open,.copy-username{transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease,background-color .22s ease,color .22s ease}
.button:active,.inline-button:active,.carousel-arrows button:active,.media-open:active{transform:translateY(2px) scale(.985);box-shadow:0 1px 0 rgba(0,0,0,.16)}
.copy-username.is-copied{background:#eaf6ae;border-color:#eaf6ae;box-shadow:0 0 0 4px rgba(214,235,133,.14)}
.copy-username span{display:inline-grid;place-items:center;width:14px;transition:transform .2s ease}
.copy-username.is-copied span{transform:scale(1.2)}
.skill-card,.case-note{transition:transform .3s cubic-bezier(.22,.72,.21,1),box-shadow .3s ease,border-color .3s ease}
.skill-card>span{transition:transform .3s ease,color .3s ease}
.project-card--featured .project-media{transition:transform .35s cubic-bezier(.22,.72,.21,1),box-shadow .35s ease}
.project-card--featured .media-viewport img{transition:transform .65s cubic-bezier(.22,.72,.21,1)}
@media(hover:hover){
  .wordmark:hover .wordmark-dot{transform:translateY(-3px) scale(1.18)}
  .button:hover,.inline-button:hover{transform:translateY(-3px);box-shadow:0 7px 0 rgba(18,37,28,.13)}
  .button:active,.inline-button:active{transform:translateY(2px) scale(.985);box-shadow:0 1px 0 rgba(18,37,28,.13)}
  .skill-card:hover,.case-note:hover{transform:translateY(-5px);border-color:#9cac94;box-shadow:0 14px 25px rgba(31,59,42,.09)}
  .skill-card:hover>span{transform:translateX(4px);color:#4f7130}
  .project-card--featured:hover .project-media{transform:translateY(-5px) rotate(-.3deg);box-shadow:15px 20px 0 #dce5d9}
  .project-card--featured:hover .media-viewport img{transform:scale(1.025)}
}
@media(hover:none){.button:hover:not(:active),.inline-button:hover:not(:active){transform:none;box-shadow:none}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}.ambient-grid svg,.ambient-grid circle{animation:none}}

/* Programming gameplay captures share the existing evidence-card dimensions. */
.programming-gameplay{overflow:hidden;padding:0;position:relative}
.programming-gameplay .programming-gameplay-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.programming-gameplay .programming-gameplay-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;background:#1e1e1e}
.programming-gameplay strong{display:grid;place-items:center;width:100%;height:100%;max-width:none;margin:0;padding:22px;text-align:center;color:#172a29}
