.portfolio-page main{padding:0 5% 50px}.portfolio-intro{position:relative;min-height:620px;display:flex;align-items:center;overflow:hidden}.intro-copy{position:relative;pointer-events:none}.intro-copy button{pointer-events:auto;font-size:11px;border-bottom:1px solid #777;padding:10px 0}.portfolio-intro h1{font-size:clamp(64px,7.5vw,115px);letter-spacing:-.065em;line-height:.95;font-weight:500;margin:30px 0}.portfolio-intro canvas{position:absolute;inset:0;width:100%;height:100%}.intro-copy p{max-width:340px}.collection{padding:25px 0}.filters{display:flex;flex-wrap:wrap;gap:10px}.filters button{padding:12px 17px;border:1px solid #444;border-radius:30px;font-size:12px;min-height:44px}.filters button[aria-pressed=true]{background:#b829f7;border-color:#b829f7}.result-count{font-size:11px;letter-spacing:2px;margin:28px 0}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.project-card{border:1px solid #ffffff26;border-radius:24px;background:linear-gradient(140deg,#18131d,#080808);overflow:hidden;transition:border-color .2s,transform .2s}.project-card:hover,.project-card:focus-within{border-color:#b829f7;transform:translateY(-4px)}.project-card[hidden]{display:none}.project-card>a{display:block;height:100%}.project-cover{height:260px;position:relative;background:#121212}.project-cover img{width:100%;height:100%;object-fit:cover}.project-cover>span{position:absolute;bottom:15px;right:15px;background:#000c;border:1px solid #ffffff36;padding:8px 12px;border-radius:20px;font-size:10px}.project-copy{padding:28px}.project-copy small{color:#ddd;letter-spacing:1.5px;font-size:9px;text-transform:uppercase}.project-copy h2{font-weight:500;font-size:28px;letter-spacing:-.7px;line-height:1.15}.project-copy p{font-size:14px;max-width:none}.case-link{display:block;margin-top:25px;font-size:12px;color:#ddd}.portfolio-footer{margin-top:80px;padding:30px 0}.case-heading{padding:100px 0 45px;max-width:950px}.case-heading>a:first-child{font-size:12px}.case-heading .eyebrow{margin-top:45px}.case-heading h1{font-weight:500;font-size:clamp(38px,5vw,70px);letter-spacing:-.045em;line-height:1.08}.case-summary{font-size:19px;max-width:780px}.video-link{display:inline-block;background:#b829f7;padding:15px 22px;border-radius:24px;font-size:13px;margin:20px 0}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.gallery-photo{position:relative;border-radius:18px;overflow:hidden;background:#111}.gallery-photo:first-child{grid-column:span 2;grid-row:span 2}.gallery-photo img{display:block;width:100%;height:100%;min-height:160px;max-height:650px;object-fit:cover}.gallery-photo span{position:absolute;bottom:12px;right:12px;background:#000c;padding:8px 12px;border-radius:20px;font-size:11px}.case-story{max-width:780px;margin:70px auto}.case-story section{margin-bottom:45px}.case-story h2{font-size:28px;font-weight:500;letter-spacing:-.7px}.case-story p{max-width:none;line-height:1.8;color:#ddd}dialog{padding:55px 25px 20px;border:1px solid #444;border-radius:20px;background:#070707;color:#eee;width:96vw;max-width:1500px;height:94dvh;max-height:94dvh}dialog::backdrop{background:#000e;backdrop-filter:blur(10px)}.viewer-close{position:absolute;right:16px;top:8px;font-size:34px;width:44px;height:44px}.viewer-stage{display:flex;align-items:center;justify-content:space-between;gap:10px;height:calc(100% - 140px)}.viewer-stage img{width:calc(100% - 110px);height:100%;object-fit:contain;touch-action:pan-y}.viewer-stage button{font-size:28px;min-width:44px;height:44px}.viewer-caption{text-align:center;max-width:none;font-size:12px;line-height:1.4;max-height:40px;overflow:auto}.viewer-thumbs{display:flex;gap:10px;overflow-x:auto;justify-content:flex-start;padding:5px}.viewer-thumbs button{flex:0 0 60px;height:60px;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden}.viewer-thumbs button[aria-current=true]{border-color:#b829f7}.viewer-thumbs img{width:100%;height:100%;object-fit:cover}
@media(max-width:1000px){.project-grid{grid-template-columns:1fr}.portfolio-intro{min-height:560px}.intro-copy{max-width:100%}}
@media(max-width:700px){.portfolio-page main{padding:0 6% 30px}.portfolio-intro{padding-top:90px;min-height:620px}.portfolio-intro canvas{opacity:.5}.portfolio-intro h1{font-size:74px}.intro-copy{text-shadow:0 2px 30px #000}.project-cover{height:230px}.project-copy{padding:24px}.project-copy h2{font-size:26px}.case-heading{padding-top:125px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-photo:first-child{grid-column:span 2;grid-row:auto}.gallery-photo img{max-height:400px}.viewer-stage{gap:0}.viewer-stage img{width:calc(100% - 88px)}dialog{padding:55px 5px 10px}.filters{gap:8px}.filters button{padding:10px 13px}}
@media(prefers-reduced-motion:reduce){.project-card{transition:none}.project-card:hover{transform:none}}
 #crt-network{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}.portfolio-page:has(#crt-network) .project-card{background:rgba(8,8,12,.32);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.portfolio-page:has(#crt-network) .project-copy{text-shadow:0 2px 8px #000,0 0 20px #000}.portfolio-page:has(#crt-network) .project-cover{background:transparent}@media(max-width:700px){#crt-network{opacity:.55}}

/* Spacious alternating project stories; filtering preserves the zigzag. */
.project-grid{display:flex;flex-direction:column;gap:0;padding-top:32px}
.project-card{width:48%;flex:none}
.project-card:nth-child(even of :not([hidden])){align-self:flex-end}
.project-card:not([hidden])~.project-card:not([hidden]){margin-top:-48px}
.project-cover{height:auto;min-height:390px;aspect-ratio:5/4;display:flex;align-items:flex-end;padding:32px;isolation:isolate}
.project-cover img{position:absolute;inset:0;z-index:-2}
.project-cover::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0001 5%,#0005 35%,#000e 100%)}
.project-cover h2{font-size:clamp(32px,3.1vw,52px);font-weight:500;line-height:1.07;letter-spacing:-.045em;color:#fff;margin:60px 0 0;text-shadow:0 2px 18px #0008;overflow-wrap:anywhere}
.project-cover>span{top:18px;right:18px;bottom:auto}
.project-copy{padding:32px}
.project-copy p{font-size:15px;line-height:1.75;margin:18px 0 0}
.case-link{margin-top:28px}
@media(min-width:1700px){.project-cover{min-height:460px}}
@media(max-width:1000px){.project-grid{gap:64px}.project-card{width:100%;max-width:680px;align-self:center!important}.project-card:not([hidden])~.project-card:not([hidden]){margin-top:0}.project-cover{min-height:360px}.project-cover h2{font-size:clamp(32px,5vw,48px)}}
@media(max-width:700px){.project-grid{padding-top:20px;gap:52px}.project-cover{min-height:340px;aspect-ratio:auto;padding:24px}.project-cover h2{font-size:clamp(30px,8.5vw,44px)}.project-copy{padding:24px}.project-copy p{font-size:14px}}
