:root{font-family:'DM Sans',Arial,sans-serif;color:#171717;background:#faf9f6}*{box-sizing:border-box}html{}body{margin:0}.content-width{width:min(1120px,calc(100% - 80px));margin-inline:auto}.portfolio-header{height:68px;padding:0 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff}.header-left{display:flex;align-items:center;gap:24px}.portfolio-logo{color:#111;text-decoration:none;font-family:"Portfolio CHAOS16",sans-serif;font-size:32px;font-weight:400;line-height:.9;letter-spacing:-.05em;white-space:nowrap}.portfolio-logo img{display:block;width:131px;height:auto}.clock{font-size:13px;color:#737373;background:#efeeeb;border-radius:5px;padding:7px 10px;white-space:nowrap}.portfolio-header nav{display:flex;align-items:center;gap:22px;font-size:15px}.portfolio-header nav a{color:#191919;text-decoration:none}.portfolio-header nav a:hover,.project-link:hover,.jump-link:hover,footer a:hover{opacity:.55}.resume-pill{padding:7px 14px;border-radius:99px;background:#efeeeb}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.19em;color:#648b93}.intro{padding-top:105px;padding-bottom:116px}.intro-kicker,.section-top{display:flex;justify-content:space-between;gap:18px;align-items:center}.intro-index{font-size:12px;color:#94928e}.intro h1{font-size:clamp(58px,7.6vw,112px);letter-spacing:-.078em;line-height:1.02;margin:37px 0 46px;font-weight:700;max-width:1100px}.intro h1 em{font-style:normal;color:#769b9e}.intro-bottom{display:flex;justify-content:space-between;align-items:end;gap:36px}.intro-bottom p{max-width:570px;font-size:20px;line-height:1.5;color:#5d5c59;margin:0}.jump-link,.project-link{font-size:14px;color:#171717;text-decoration:none;border-bottom:1px solid #171717;padding-bottom:7px;white-space:nowrap}.jump-link span,.project-link span{margin-left:12px}.section-top{border-top:1px solid #d9d9d5;padding:18px 0 27px}.section-top>span:last-child{font-size:13px;color:#85837f}.project-frame{aspect-ratio:1120/730;background:#dceef6;overflow:hidden}.project-frame iframe{display:block;width:100%;height:100%;border:0}.project-bottom{display:flex;justify-content:space-between;align-items:start;gap:36px;padding-top:22px}.project-bottom p{max-width:560px;font-size:16px;line-height:1.6;color:#64615d;margin:0}.test-section{margin-top:145px}.test-section h2{font-size:clamp(38px,5vw,66px);line-height:1.08;letter-spacing:-.065em;margin:7px 0 30px}.test-video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#111}
.image-caption{font-size:13px;color:#8c8984;margin:12px 0 0}.takeaways{margin-top:155px;border-top:1px solid #d9d9d5;padding-top:18px;padding-bottom:170px}.takeaway-grid{display:grid;grid-template-columns:1.1fr .8fr;gap:8%;align-items:end;margin-top:37px}.takeaway-grid h2{font-size:clamp(60px,7vw,105px);line-height:.99;letter-spacing:-.085em;margin:0}.orange-dot{color:#f17e3f}.takeaway-copy{padding-bottom:4px}.takeaway-copy p{font-size:17px;line-height:1.6;color:#55534f;margin:0 0 19px}.takeaway-copy p:first-child{color:#171717;font-weight:700}footer{border-top:1px solid #d9d9d5;padding:23px 0 38px;display:flex;justify-content:space-between;font-size:13px;color:#77746f}footer a{color:#171717;text-decoration:none}a:focus-visible{outline:2px solid #111;outline-offset:4px}@media(max-width:700px){.content-width{width:calc(100% - 36px)}.portfolio-header{height:58px;padding:0 18px}.header-left{gap:10px}.portfolio-logo img{width:112px}.clock{font-size:10px;padding:6px}.portfolio-header nav{gap:10px;font-size:12px}.resume-pill{padding:6px 9px}.intro{padding-top:67px;padding-bottom:80px}.intro h1{font-size:clamp(47px,11vw,74px);margin:28px 0 30px}.intro-bottom{display:block}.intro-bottom p{font-size:17px}.jump-link{display:inline-block;margin-top:25px}.intro-index{font-size:10px}.section-top{padding:16px 0 18px}.section-top>span:last-child{font-size:11px;text-align:right}.project-frame{aspect-ratio:4/5}.project-bottom{display:block}.project-bottom p{font-size:14px}.project-link{display:inline-block;margin-top:17px}.test-section{margin-top:100px}.test-section h2{font-size:42px;margin-bottom:20px}.takeaways{margin-top:100px;padding-bottom:100px}.takeaway-grid{display:block;margin-top:27px}.takeaway-grid h2{font-size:64px;margin-bottom:38px}.takeaway-copy p{font-size:16px}}@media(max-width:410px){.clock{display:none}.intro-index{display:none}}

.context-section{margin-top:145px}.context-section h2{font-size:clamp(38px,5vw,66px);line-height:1.08;letter-spacing:-.065em;margin:7px 0 30px}.context-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.context-placeholder{aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;background:#efede8;border:1px dashed #c8c4bc;color:#9c9890;font-size:11px;font-weight:700;letter-spacing:.2em}.context-caption{font-size:20px;line-height:1.5;margin:25px 0 0;color:#5d5c59}@media(max-width:700px){.context-section{margin-top:100px}.context-section h2{font-size:42px;margin-bottom:20px}.context-gallery{gap:10px}.context-placeholder{font-size:9px;letter-spacing:.08em}.context-caption{font-size:16px;margin-top:18px}}

.context-gallery img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}

.context-section{margin-top:0}.project{margin-top:145px}@media(max-width:700px){.project{margin-top:100px}}

/* Consistent paragraph typography across the case study */
.intro-bottom p,.context-caption,.project-bottom p,.takeaway-copy p{font-size:17px;line-height:1.6}
@media(max-width:700px){.intro-bottom p,.context-caption,.project-bottom p,.takeaway-copy p{font-size:16px;line-height:1.6}}

/* Shared portfolio header geometry from the City Portal case study */
@font-face{font-family:"Portfolio Inter";src:url("https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Portfolio Inter Display";src:url("https://framerusercontent.com/assets/bHYNJqzTyl2lqvmMiRRS6Y16Es.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
.portfolio-header{position:relative;z-index:60;height:auto;display:block;padding:16px 24px;background:#fff;color:#030303;box-shadow:inset 0 -1px #00000014;font:400 15px/1.06 "Portfolio Inter",Arial,sans-serif;letter-spacing:-.03em;-webkit-font-smoothing:antialiased}
.portfolio-header__inner{max-width:1560px;margin:0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.portfolio-header__brand,.portfolio-header__links,.portfolio-header__clock{display:flex;align-items:center}
.portfolio-header__brand{gap:24px;align-items:flex-start}
.portfolio-header a{color:#030303;text-decoration:none}
.portfolio-header__logo{display:block;position:relative;width:117.68px;height:28.8px;overflow:hidden;flex:none}
.portfolio-header__logo img{display:block;position:absolute;left:-5.5px;top:-.1px;width:131px;height:29px;max-width:none}
.portfolio-header__clock{font:400 15px/1 "Portfolio Inter Display",Arial,sans-serif;gap:5px;padding:6px 10px;border-radius:4px;background:#f2f2f2;color:#696969;letter-spacing:-.04em;white-space:nowrap;font-variant-numeric:tabular-nums}
.portfolio-header__links{gap:16px}.portfolio-header__links>a{transition:opacity .15s}.portfolio-header__links>a:hover{opacity:.65}.portfolio-header__resume{margin-left:2px;padding:6px 14px;border-radius:100px;background:#f2f2f2}
.portfolio-works{position:relative}.portfolio-works__trigger{display:block;border:0;padding:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer}.portfolio-works__menu{position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%);width:200px;margin:0;padding:8px 0;list-style:none;background:#fff;border-radius:0 0 12px 12px;box-shadow:0 14px 28px #0000000f;font-size:16px;line-height:1.25;letter-spacing:-.03em;text-align:center}.portfolio-works__menu[hidden]{display:none}.portfolio-works__menu a{display:block;padding:8px 12px;white-space:nowrap}.portfolio-works__menu a:hover{background:#f7f7f7}
.portfolio-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.portfolio-header a:focus-visible,.portfolio-works__trigger:focus-visible{outline:2px solid #2a7882;outline-offset:5px}
@media(max-width:600px){.portfolio-header{padding:16px 20px}.portfolio-header__inner{flex-wrap:wrap;gap:18px}.portfolio-header__brand{gap:16px}.portfolio-header__logo{width:95.62px;height:23.4px}.portfolio-header__logo img{width:106.44px;height:auto;left:-4.47px;top:0}}
@media(max-width:410px){.portfolio-header__clock{display:flex}}
.portfolio-header .portfolio-header__links{gap:16px}
.portfolio-header .portfolio-header__links{font:inherit}

.portfolio-works__menu::before{content:"";position:absolute;bottom:100%;left:0;right:0;height:12px}
.portfolio-header .portfolio-header__resume:hover{background:rgb(229,229,229);opacity:1}

/* Match the City Portal wordmark while keeping its box fixed during font load. */
@font-face{font-family:"Portfolio CHAOS16";src:url("./case-assets/portfolio-chaos16.woff2") format("woff2");font-style:normal;font-weight:400;font-display:block}
.portfolio-header__logo{font:400 32px/.9 "Portfolio CHAOS16",sans-serif;letter-spacing:-.05em;white-space:nowrap;overflow:visible}
@media(max-width:600px){.portfolio-header__logo{font-size:26px}}

/* Reveal the three context photos in reading order. */
.context-gallery.is-reveal-ready img{opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .5s cubic-bezier(.22,1,.36,1)}
.context-gallery.is-reveal-ready.is-visible img{opacity:1;transform:translateY(0)}
.context-gallery.is-reveal-ready.is-visible img:nth-child(2){transition-delay:120ms}
.context-gallery.is-reveal-ready.is-visible img:nth-child(3){transition-delay:240ms}
@media(prefers-reduced-motion:reduce){.context-gallery.is-reveal-ready img{opacity:1;transform:none;transition:none}}
.portfolio-header{position:sticky;top:0}
