@font-face{font-family:PixelAE;src:url('assets/fonts/PixelAE-Regular.ttf') format('truetype');font-display:swap}

:root{
  --night:#041426;
  --night-deep:#020b18;
  --moss:#082846;
  --moss-light:#0d355c;
  --paper:#eaf7ff;
  --ink:#e7f5ff;
  --muted:#9bb9cf;
  --sun:#6ed2ff;
  --clay:#2369c9;
  --sky:#4fa8ed;
  --line:#1d4668;
  --line-soft:rgba(193,229,250,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--night-deep)}
body{margin:0;background:var(--night);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;overflow-x:hidden}
body::before{content:"";position:absolute;inset:0 0 auto;height:44rem;pointer-events:none;opacity:.16;background-image:radial-gradient(rgba(163,220,255,.22) .6px,transparent .7px);background-size:5px 5px;z-index:0}
img{max-width:100%}
a{color:var(--paper);text-underline-offset:.22em;text-decoration-thickness:1px}
a:hover{color:#fff}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--sun);outline-offset:4px}
button{font:inherit}
.site-frame{position:relative;z-index:1;width:min(1280px,calc(100% - 3rem));margin:auto}
.pixel{font-family:PixelAE,monospace;font-weight:400}
.muted{color:var(--muted)}

/* Shared navigation */
.site-header{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;border-bottom:1px solid var(--line);position:relative;z-index:50}
.studio-brand{display:flex;align-items:center;gap:.8rem;color:var(--ink);font-family:PixelAE,monospace;font-size:.92rem;text-decoration:none;letter-spacing:.02em}
.studio-brand img{display:block;width:44px;height:44px;object-fit:contain}
.studio-brand b{color:var(--sun);font-weight:400}
.site-nav{display:flex;align-items:center;gap:1.35rem}
.site-nav a{color:var(--muted);font-size:.86rem;font-weight:720;text-decoration:none;padding:.7rem 0}
.site-nav a:hover,.site-nav a[aria-current="page"]{color:var(--ink)}
.site-nav .header-action{background:var(--paper);color:var(--night-deep);padding:.64rem .88rem;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%)}
.site-nav .header-action:hover{background:#fff;color:var(--night-deep)}
.nav-toggle{display:none;background:var(--paper);color:var(--night-deep);border:0;padding:.55rem .7rem;font-weight:780;cursor:pointer}

/* Shared actions */
.primary-action{display:inline-flex;align-items:center;gap:.65rem;background:var(--paper);color:var(--night-deep);text-decoration:none;font-weight:780;padding:.83rem 1rem;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%)}
.primary-action:hover{background:#fff;color:var(--night-deep)}
.text-action{display:inline-flex;align-items:center;gap:.55rem;color:var(--muted);text-decoration:none;font-weight:720;padding:.75rem 0}
.text-action span{transition:transform .18s ease}
.text-action:hover{color:var(--sun)}
.text-action:hover span{transform:translate(3px,-3px)}
.status{color:var(--sun);font-size:.72rem;font-weight:800}

/* Studio home */
.studio-hero{min-height:calc(100vh - 78px);display:grid;grid-template-rows:auto minmax(300px,1fr);padding:clamp(2.4rem,5vw,5.2rem) 0 2rem;position:relative}
.studio-hero-copy{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.55fr);gap:3rem;align-items:end;position:relative;z-index:2}
.studio-hero h1{font-family:PixelAE,monospace;font-size:clamp(2.8rem,5.2vw,6.2rem);font-weight:400;line-height:1.06;letter-spacing:.01em;margin:0;white-space:nowrap}
.studio-hero h1 span{color:var(--sun)}
.studio-hero-intro{padding-bottom:.75rem;border-bottom:3px solid var(--clay)}
.studio-hero-intro p{color:var(--muted);font-size:1.05rem;margin:0 0 1.25rem;max-width:34rem}
.hero-byline{display:flex;justify-content:space-between;gap:1rem;color:var(--muted);font-size:.75rem}
.studio-reel{align-self:end;height:clamp(250px,34vh,320px);display:flex;align-items:flex-end;justify-content:center;gap:clamp(1rem,2.4vw,2rem);margin:clamp(2rem,5vw,5rem) 0 0;overflow:visible}
.studio-reel figure{position:relative;margin:0;background:var(--night-deep);overflow:hidden;flex:0 0 auto}
.studio-reel .reel-landscape,.studio-reel .reel-cinematic{height:100%}
.studio-reel img{display:block;width:auto;max-width:none;height:100%;filter:saturate(.78) contrast(1.03);transition:filter .2s ease}
.studio-reel figure:hover img{filter:saturate(1) contrast(1.02)}
.studio-reel figcaption{position:absolute;left:.85rem;bottom:.75rem;background:var(--night-deep);border-left:4px solid var(--sun);padding:.45rem .6rem;color:var(--paper);font-size:.72rem;font-weight:780}

.studio-main{padding-top:clamp(5rem,10vw,10rem)}
.studio-statement{display:grid;grid-template-columns:minmax(240px,.45fr) minmax(0,1fr);gap:clamp(3rem,8vw,8rem);align-items:start;padding-bottom:clamp(5rem,9vw,9rem)}
.studio-statement h2,.project-index-head h2,.connect-band h2{font-family:PixelAE,monospace;font-size:clamp(2rem,3.6vw,3.8rem);font-weight:400;line-height:1.12;margin:0}
.studio-statement p{color:var(--muted);font-size:clamp(1.05rem,1.7vw,1.35rem);margin:0;max-width:50rem}

.project-index{border-top:1px solid var(--line);padding:clamp(4rem,7vw,7rem) 0}
.project-index-head{display:grid;grid-template-columns:1fr auto;align-items:end;gap:2rem;margin-bottom:2.5rem}
.project-index-head p{color:var(--muted);margin:0 0 .45rem}
.project-row{display:grid;grid-template-columns:2.5rem minmax(150px,.4fr) minmax(260px,.78fr) minmax(320px,1fr);gap:clamp(1rem,3vw,2.5rem);align-items:center;min-height:340px;padding:1.5rem 0;border-top:1px solid var(--line);text-decoration:none;color:var(--ink)}
.project-row:last-child{border-bottom:1px solid var(--line)}
.project-row:hover{color:var(--ink)}
.project-number{font-family:PixelAE,monospace;color:var(--muted);font-size:.72rem}
.project-name{font-family:PixelAE,monospace;font-size:clamp(1rem,1.7vw,1.45rem);font-weight:400;transition:color .18s ease}
.project-row:hover .project-name{color:var(--sun)}
.project-copy{color:var(--muted);font-size:.9rem;max-width:31rem}
.project-media{position:relative;overflow:hidden;background:transparent;min-height:290px;display:flex;align-items:center;justify-content:flex-end}
.project-media img{display:block;width:auto;max-width:100%;height:auto;max-height:290px;filter:saturate(.78)}
.project-media.media-portrait{width:100%;justify-self:stretch;justify-content:flex-end}
.project-row:hover .project-media img{filter:saturate(1)}
.project-media-text{justify-content:flex-end;background:transparent;color:var(--muted);font-family:PixelAE,monospace;font-size:.78rem;letter-spacing:.04em}
.project-meta{display:flex;gap:1rem;color:var(--muted);font-size:.7rem;margin-top:.35rem}

.policy-section{padding:clamp(3rem,6vw,6rem) 0;border-bottom:1px solid var(--line)}
.policy-disclosure{border-top:3px solid var(--clay);background:var(--moss)}
.policy-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;list-style:none;padding:1.25rem 1.4rem;font-family:PixelAE,monospace;font-size:1rem;color:var(--paper)}
.policy-disclosure>summary::-webkit-details-marker{display:none}
.policy-disclosure>summary::after{content:"Open policy +";font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--muted);font-size:.75rem;font-weight:760}
.policy-disclosure[open]>summary::after{content:"Close policy −"}
.policy-body{max-width:820px;padding:0 1.4rem 2rem;color:var(--muted)}
.policy-body h3{color:var(--paper);font-size:1rem;margin:2rem 0 .35rem}
.policy-body p{margin:.35rem 0}

.connect-band{display:grid;grid-template-columns:minmax(240px,.55fr) minmax(0,1fr);gap:clamp(2rem,8vw,8rem);align-items:end;padding:clamp(5rem,9vw,9rem) 0}
.connect-copy p{color:var(--muted);margin:0 0 1.2rem;max-width:42rem}
.contact-links{display:flex;gap:1.5rem;flex-wrap:wrap;align-items:center}
.social-links{display:flex;align-items:center;gap:1.1rem;flex-wrap:wrap;margin-top:1.25rem}
.social-links a{color:var(--muted);font-weight:720;text-decoration:none}
.social-links a:hover{color:var(--paper)}

/* WatchBlocks product page */
.watch-hero{min-height:calc(100vh - 78px);display:grid;grid-template-rows:1fr auto;position:relative;padding:2rem 0}
.watch-hero-art{position:absolute;inset:2rem 0 2rem 21%;margin:0;overflow:hidden;background:var(--clay);clip-path:polygon(8% 0,100% 0,100% 88%,95% 88%,95% 100%,0 100%,0 10%,8% 10%)}
.watch-hero-art img{display:block;width:100%;height:auto;object-fit:contain;filter:saturate(.82) contrast(1.04);animation:watch-breathe 12s ease-in-out infinite alternate}
@keyframes watch-breathe{from{transform:scale(1.01)}to{transform:scale(1.035)}}
.watch-hero-title{position:relative;z-index:2;align-self:center;max-width:75rem;padding:2rem 0}
.watch-version{color:var(--sun);font-size:.75rem;font-weight:800;margin:0 0 .8rem}
.watch-hero h1{font-family:PixelAE,monospace;font-size:clamp(3.2rem,8.4vw,9.6rem);font-weight:400;line-height:.95;letter-spacing:.015em;margin:0;white-space:nowrap;text-shadow:0 3px 0 rgba(2,11,24,.65)}
.watch-hero-footer{position:relative;z-index:3;display:grid;grid-template-columns:minmax(260px,.72fr) auto;gap:2rem;align-items:end;background:var(--night-deep);border-left:5px solid var(--sun);padding:1rem 1.2rem;max-width:58rem}
.watch-hero-footer p{color:var(--muted);font-size:1rem;margin:0;max-width:42rem}
.watch-actions{display:flex;align-items:center;gap:1.25rem;white-space:nowrap}

.watch-main{padding-top:clamp(5rem,9vw,9rem)}
.watch-intro{display:grid;grid-template-columns:minmax(260px,.48fr) minmax(0,1fr);gap:clamp(3rem,8vw,8rem);align-items:start;padding-bottom:clamp(5rem,9vw,9rem)}
.watch-intro h2,.world-section h2,.ecosystem-title,.gallery-heading h2,.faq-title{font-family:PixelAE,monospace;font-size:clamp(2rem,3.6vw,3.8rem);font-weight:400;line-height:1.12;margin:0}
.watch-intro-copy{font-size:clamp(1.05rem,1.6vw,1.3rem);color:var(--muted)}
.watch-intro-copy p{margin:0 0 1.2rem}
.watch-intro-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);margin-top:2rem}
.watch-intro-facts div{background:var(--moss);padding:.9rem}
.watch-intro-facts strong{display:block;font-family:PixelAE,monospace;color:var(--sun);font-size:.8rem;font-weight:400;margin-bottom:.25rem}
.watch-intro-facts span{color:var(--muted);font-size:.78rem}

.trailer-section{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:clamp(4rem,7vw,7rem) 0}
.trailer-heading{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:1.3rem}
.trailer-heading h2{font-family:PixelAE,monospace;font-size:clamp(1.6rem,3vw,3rem);font-weight:400;margin:0}
.trailer-heading p{color:var(--muted);margin:0}
.trailer-frame{position:relative;aspect-ratio:16/9;background:var(--night-deep);clip-path:polygon(0 0,100% 0,100% calc(100% - 24px),calc(100% - 24px) calc(100% - 24px),calc(100% - 24px) 100%,0 100%)}
.trailer-frame iframe,.trailer-frame video{position:absolute;inset:0;width:100%;height:100%;border:0}

.world-section{padding:clamp(5rem,9vw,9rem) 0}
.world-head{display:grid;grid-template-columns:1fr minmax(250px,.45fr);gap:2rem;align-items:end;margin-bottom:2.5rem}
.world-head p{color:var(--muted);margin:0}
.world-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line)}
.world-item{min-height:15rem;background:var(--moss);padding:1.25rem;display:flex;flex-direction:column;justify-content:space-between}
.world-item:nth-child(even){background:#0a2d4e}
.world-item strong{font-family:PixelAE,monospace;font-size:1.05rem;font-weight:400;color:var(--paper)}
.world-item p{color:var(--muted);font-size:.88rem;margin:1rem 0 0}
.world-item span{font-family:PixelAE,monospace;color:var(--sun);font-size:.68rem}

.gallery-section{padding:clamp(4rem,7vw,7rem) 0;border-top:1px solid var(--line)}
.gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:2rem}
.gallery-heading p{color:var(--muted);margin:0}
.game-gallery{display:grid;grid-template-columns:repeat(6,minmax(210px,1fr));gap:3px;overflow-x:auto;padding-bottom:.8rem;scroll-snap-type:x proximity}
.game-gallery figure{margin:0;min-width:210px;background:var(--night-deep);scroll-snap-align:start}
.game-gallery img{display:block;width:100%;height:auto;aspect-ratio:368/448;object-fit:contain;filter:saturate(.82);transition:filter .18s ease}
.game-gallery figure:hover img{filter:saturate(1)}
.game-gallery figcaption{color:var(--muted);font-size:.72rem;padding:.55rem .65rem;border-left:3px solid var(--clay)}

.ecosystem-section{display:grid;grid-template-columns:minmax(260px,.45fr) minmax(0,1fr);gap:clamp(3rem,8vw,8rem);padding:clamp(5rem,9vw,9rem) 0;border-top:1px solid var(--line)}
.ecosystem-copy>p{color:var(--muted);margin:0 0 2rem;font-size:1.05rem}
.ecosystem-list{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:var(--line)}
.ecosystem-list article{background:var(--moss);padding:1.1rem}
.ecosystem-list h3{font-size:.95rem;color:var(--paper);margin:0 0 .55rem}
.ecosystem-list p{font-size:.82rem;color:var(--muted);margin:0}
.device-line{grid-column:1/-1;background:var(--night-deep);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:.85rem 1rem;color:var(--muted);font-size:.78rem}

.watch-faq{display:grid;grid-template-columns:minmax(260px,.45fr) minmax(0,1fr);gap:clamp(3rem,8vw,8rem);padding:clamp(5rem,9vw,9rem) 0;border-top:1px solid var(--line)}
.faq-list details{border-top:1px solid var(--line);padding:1rem 0}
.faq-list details:last-child{border-bottom:1px solid var(--line)}
.faq-list summary{cursor:pointer;list-style:none;color:var(--paper);font-weight:760;padding-right:2rem;position:relative}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";position:absolute;right:.3rem;top:0;color:var(--sun)}
.faq-list details[open] summary::after{content:"−"}
.faq-list p{color:var(--muted);margin:.8rem 2rem .25rem 0}

.site-footer{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:2rem;padding:1.5rem 0 3rem;color:var(--muted);font-size:.78rem}
.footer-social{display:flex;gap:1.2rem}
.footer-social a{color:var(--muted);font-size:1.05rem}
.footer-social a:hover{color:var(--sun)}
.site-footer>a{justify-self:end;color:var(--muted)}
.site-footer>.social-links{justify-self:center;margin:0}
.site-footer>span:last-child{justify-self:end}

@media(max-width:1000px){
  .studio-reel{height:min(25vw,280px)}
  .project-row{grid-template-columns:2rem minmax(130px,.38fr) minmax(200px,.78fr) minmax(240px,1fr)}
  .project-media,.project-media img{max-height:250px}.project-media{min-height:250px}
  .world-grid{grid-template-columns:repeat(2,1fr)}
  .ecosystem-list{grid-template-columns:1fr}
}

@media(max-width:780px){
  .site-frame{width:min(100% - 1.5rem,1280px)}
  .site-header{min-height:70px}
  .nav-toggle{display:block}
  .site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--night-deep);border-bottom:3px solid var(--sun);padding:.8rem;flex-direction:column;align-items:stretch;gap:0}
  .site-nav.open{display:flex}
  .site-header:not(:has(.nav-toggle)) .site-nav{display:flex;position:static;flex-direction:row;align-items:center;background:transparent;border:0;padding:0;gap:.85rem}
  .site-header:not(:has(.nav-toggle)) .site-nav a{border:0;padding:.5rem 0;font-size:.76rem}
  .site-nav a{padding:.75rem .5rem;border-bottom:1px solid var(--line)}
  .site-nav .header-action{clip-path:none;border:0;margin-top:.4rem;text-align:center}
  .studio-hero{min-height:calc(100vh - 70px);min-height:calc(100dvh - 70px)}
  .studio-hero-copy,.studio-statement,.connect-band,.watch-intro,.ecosystem-section,.watch-faq{grid-template-columns:1fr}
  .studio-hero h1{font-size:clamp(2.4rem,8vw,4.2rem)}
  .studio-hero-intro{max-width:38rem}
  .studio-reel{height:min(31vh,260px);justify-content:center}.studio-reel .reel-cinematic{display:none}
  .project-row{grid-template-columns:2rem 1fr;gap:.5rem 1rem;min-height:0;padding:2rem 0}
  .project-copy{grid-column:2}.project-media{grid-column:1/-1;min-height:0;max-height:none;justify-content:center;margin-top:1rem}.project-media img{max-height:300px}.project-media.media-portrait{width:100%;justify-content:center}.project-meta{grid-column:2}
  .project-media-text{min-height:5rem;justify-content:center;margin-top:.5rem}
  .watch-hero{min-height:calc(100vh - 70px);padding:1rem 0}
  .watch-hero-art{inset:1rem 0 8rem 8%}
  .watch-hero-title{align-self:start;padding-top:14vh}
  .watch-hero h1{font-size:clamp(2.7rem,12.5vw,6rem)}
  .watch-hero-footer{grid-template-columns:1fr;align-self:end;gap:.8rem}
  .watch-intro-facts{grid-template-columns:1fr}
  .world-head{grid-template-columns:1fr;align-items:start}
  .gallery-heading,.trailer-heading{align-items:start;flex-direction:column}
  .ecosystem-list{grid-template-columns:1fr}
  .site-footer{grid-template-columns:1fr;gap:.65rem}.site-footer>a,.site-footer>.social-links,.site-footer>span:last-child{justify-self:start}
}

@media(max-width:520px){
  .studio-brand span{font-size:.8rem}
  .studio-reel{height:220px;gap:.65rem}.studio-reel .reel-landscape{height:100%}.studio-reel .reel-cinematic{display:none}
  .studio-hero h1{font-size:2.05rem}
  .studio-hero-copy{gap:1.8rem}
  .world-grid{grid-template-columns:1fr}
  .world-item{min-height:11rem}
  .watch-hero-art{inset:1rem 0 10rem 0}
  .watch-hero-title{padding-top:12vh}
  .watch-hero h1{font-size:2.55rem}
  .watch-hero-footer{padding:.85rem}.watch-actions{align-items:flex-start;flex-direction:column;gap:0}
  .game-gallery{grid-template-columns:repeat(6,75vw)}.game-gallery figure{min-width:75vw}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.watch-hero-art img{animation:none}.text-action span,.project-name{transition:none}}

/* Cohesive public-site system */
.section-rule{border-top:1px solid var(--line)}
.section-pad{padding:clamp(4.5rem,8vw,8rem) 0}
.section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.42fr);gap:2rem;align-items:end;margin-bottom:2.4rem}
.section-head h2{font-family:PixelAE,monospace;font-size:clamp(2rem,3.6vw,3.8rem);font-weight:400;line-height:1.12;margin:0}
.section-head p{color:var(--muted);margin:0}
.native-image{display:block;width:100%;height:auto;object-fit:contain}
.media-caption{display:flex;justify-content:space-between;gap:1rem;padding:.65rem .8rem;background:var(--night-deep);color:var(--muted);font-size:.75rem}
.media-caption strong{color:var(--paper)}

/* Homepage discovery */
.home-feature{margin:clamp(1.5rem,3vw,2.5rem) auto 0;width:min(100%,630px)}
.home-feature a{display:block;text-decoration:none;color:inherit}
.home-feature figure{margin:0;background:var(--night-deep)}
.home-feature img{display:block;width:100%;height:auto;filter:saturate(.85)}
.home-feature figcaption{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;padding:.8rem 1rem;color:var(--muted);font-size:.78rem}
.home-feature strong{font-family:PixelAE,monospace;color:var(--paper);font-weight:400}
.work-group+.work-group{margin-top:clamp(4rem,7vw,7rem)}
.work-group-head{display:flex;justify-content:space-between;gap:2rem;align-items:end;margin-bottom:1.2rem}
.work-group-head h3{font-family:PixelAE,monospace;font-size:clamp(1.35rem,2.4vw,2.2rem);font-weight:400;margin:0}
.work-group-head p{color:var(--muted);margin:0}
.landscape-project-grid{--landscape-height:clamp(220px,23.6vw,340px);display:flex;align-items:flex-start;justify-content:center;gap:clamp(1rem,2.5vw,2rem)}
.landscape-project-grid .project-card{flex:0 0 auto}
.landscape-project-grid .project-card:first-child{width:calc(var(--landscape-height) * 1.2909)}
.landscape-project-grid .project-card:nth-child(2){width:calc(var(--landscape-height) * 2.1622)}
.landscape-project-grid .project-card img{width:100%;max-width:100%;height:auto}
.landscape-project-grid .project-card figure{display:flex;justify-content:center}
.landscape-project-grid .project-card-copy{min-height:123px}
.project-card{display:flex;flex-direction:column;color:var(--ink);text-decoration:none;background:var(--moss)}
.project-card:hover{color:var(--ink);background:var(--moss-light)}
.project-card figure{margin:0;background:var(--night-deep)}
.project-card img{display:block;width:100%;height:auto;object-fit:contain;filter:saturate(.83)}
.project-card:hover img{filter:saturate(1)}
.project-card-copy{display:grid;grid-template-columns:1fr auto;gap:.65rem 1rem;padding:1rem 1.1rem 1.15rem}
.project-card h4{font-family:PixelAE,monospace;font-size:1.2rem;font-weight:400;margin:0}
.project-card p{grid-column:1/-1;color:var(--muted);font-size:.88rem;margin:0;max-width:38rem}
.project-card-meta{color:var(--muted);font-size:.72rem;white-space:nowrap}
.portrait-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,3vw,2.5rem)}
.portrait-project-grid .project-card{background:transparent}
.portrait-project-grid .project-card:hover{background:transparent}
.portrait-stage{height:min(52vw,560px);display:flex;align-items:flex-end;justify-content:center;background:var(--night-deep);padding:1rem}
.portrait-stage img{width:auto;height:100%;max-width:100%}
.portrait-project-grid .project-card-copy{padding:1rem 0}
.experiment-row{display:grid;grid-template-columns:minmax(180px,.32fr) minmax(0,1fr) auto;gap:2rem;align-items:center;padding:1.5rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
.experiment-row strong{font-family:PixelAE,monospace;font-weight:400}
.experiment-row p{color:var(--muted);margin:0}

/* Product pages */
.product-hero{min-height:calc(100vh - 78px);display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:clamp(2rem,6vw,6rem);align-items:center;padding:clamp(3rem,6vw,6rem) 0}
.product-hero-copy{max-width:34rem}
.product-mark{color:var(--sun);font-weight:780;font-size:.78rem;margin:0 0 1rem}
.product-hero h1{font-family:PixelAE,monospace;font-size:clamp(3rem,5.2vw,5.2rem);font-weight:400;line-height:.96;margin:0 0 1.4rem}
.product-hero-copy>p{color:var(--muted);font-size:clamp(1rem,1.4vw,1.18rem);margin:0 0 1.7rem}
.product-actions{display:flex;gap:1.25rem;align-items:center;flex-wrap:wrap}
.product-hero-media{margin:0;min-width:0;justify-self:end;width:100%}
.product-hero-media img{display:block;width:100%;height:auto;object-fit:contain}
.product-hero-media.portrait{display:flex;justify-content:center;height:min(70vh,690px)}
.product-hero-media.portrait img{width:auto;height:100%;max-width:100%}
.product-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line)}
.product-facts div{background:var(--moss);padding:1rem}
.product-facts strong{display:block;color:var(--paper);font-size:.82rem;margin-bottom:.2rem}
.product-facts span{color:var(--muted);font-size:.78rem}
.product-story{display:grid;grid-template-columns:minmax(240px,.44fr) minmax(0,1fr);gap:clamp(3rem,8vw,8rem);align-items:start}
.product-story h2,.product-gallery h2{font-family:PixelAE,monospace;font-size:clamp(2rem,3.5vw,3.6rem);font-weight:400;line-height:1.12;margin:0}
.product-story-copy{color:var(--muted);font-size:1.05rem;max-width:52rem}
.product-story-copy p:first-child{margin-top:0}
.product-gallery-head{display:flex;justify-content:space-between;gap:2rem;align-items:end;margin-bottom:2rem}
.product-gallery-head p{color:var(--muted);margin:0}
.portrait-gallery{display:flex;gap:clamp(1rem,3vw,2.5rem);justify-content:center;align-items:flex-end}
.portrait-gallery figure{margin:0;flex:0 1 320px;min-width:0}
.portrait-gallery img{display:block;width:100%;height:auto;object-fit:contain}
.landscape-gallery{display:grid;grid-template-columns:1fr;gap:2rem}
.landscape-gallery figure{margin:0}
.landscape-gallery img{display:block;width:100%;height:auto;object-fit:contain}
.product-support{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line)}
.product-support a{display:block;background:var(--moss);padding:1.2rem;color:var(--paper);text-decoration:none}
.product-support a:hover{background:var(--moss-light)}

/* Press and legal documents */
.document-page{max-width:820px;margin:0 auto;padding:clamp(3rem,7vw,7rem) 0}
.document-head{padding-bottom:2rem;border-bottom:3px solid var(--clay);margin-bottom:3rem}
.document-head a{color:var(--muted);text-decoration:none}
.document-head h1{font-family:PixelAE,monospace;font-size:clamp(2.5rem,5vw,5rem);font-weight:400;line-height:1.06;margin:1.5rem 0 1rem}
.document-head p{color:var(--muted);max-width:42rem;margin:0}
.document-meta{color:var(--muted);font-size:.78rem;margin-top:1rem}
.document-toc{display:grid;grid-template-columns:repeat(2,1fr);gap:.55rem 1.5rem;background:var(--moss);padding:1.2rem;margin-bottom:3rem}
.document-toc a{color:var(--muted);text-decoration:none;font-size:.86rem}
.document-toc a:hover{color:var(--paper)}
.document-section{scroll-margin-top:2rem;margin:0 0 2.8rem}
.document-section h2{font-family:PixelAE,monospace;font-size:1.35rem;font-weight:400;color:var(--paper);margin:0 0 .8rem}
.document-section p,.document-section li{color:var(--muted)}
.document-section li{margin:.35rem 0}
.document-note{background:var(--moss);padding:1rem 1.1rem;color:var(--muted);margin:1rem 0}
.document-table-wrap{overflow-x:auto;margin:1rem 0 1.5rem;background:var(--night-deep)}
.document-table{width:100%;border-collapse:collapse;min-width:540px}
.document-table th,.document-table td{text-align:left;padding:.75rem;border-bottom:1px solid var(--line);color:var(--muted)}
.document-table th{background:var(--moss);color:var(--paper);font-size:.78rem}
.press-hero{display:grid;grid-template-columns:minmax(420px,1fr) minmax(300px,.85fr);gap:clamp(2rem,7vw,7rem);align-items:end;padding:clamp(4rem,8vw,8rem) 0}
.press-hero h1{font-family:PixelAE,monospace;font-size:clamp(3rem,7vw,7rem);font-weight:400;line-height:.95;margin:0}
.press-hero-copy p{color:var(--muted);font-size:1.1rem}
.press-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line)}
.press-facts div{background:var(--moss);padding:1rem}
.press-facts strong{display:block;color:var(--paper);font-size:.8rem;margin-bottom:.2rem}
.press-facts span{color:var(--muted);font-size:.82rem}
.press-assets{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.press-assets figure{margin:0}.press-assets img{display:block;width:100%;height:auto}
.press-downloads{display:flex;gap:1rem;flex-wrap:wrap;margin-top:2rem}

/* Standalone print queue */
.queue-shell{width:min(1120px,calc(100% - 3rem));margin:auto;padding:2rem 0 5rem}
.queue-head{display:flex;justify-content:space-between;gap:2rem;align-items:end;padding:2rem 0;border-bottom:3px solid var(--clay)}
.queue-brand{display:inline-flex;align-items:center;gap:.7rem;color:var(--ink);font-family:PixelAE,monospace;font-size:.82rem;text-decoration:none;margin-bottom:2rem}
.queue-brand img{display:block;width:44px;height:44px;object-fit:contain}
.queue-head h1{font-family:PixelAE,monospace;font-size:clamp(2rem,4vw,4rem);font-weight:400;line-height:1.05;margin:0}
.queue-head p{color:var(--muted);margin:0;max-width:30rem}
.queue-status{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;padding:1.25rem 0}
.queue-status p{color:var(--muted);margin:0}
.queue-status button{border:0;background:var(--paper);color:var(--night-deep);padding:.65rem .85rem;font-weight:780;cursor:pointer}
.queue-table-wrap{overflow-x:auto;background:var(--night-deep)}
.queue-table{width:100%;border-collapse:collapse;min-width:760px}
.queue-table th,.queue-table td{text-align:left;padding:.85rem;border-bottom:1px solid var(--line)}
.queue-table th{color:var(--paper);font-size:.78rem;background:var(--moss)}
.queue-table td{color:var(--muted);font-size:.88rem}
.queue-table td[data-status="Completed"]{color:var(--paper)}
.queue-empty{padding:3rem;text-align:center;color:var(--muted)}

/* Error page */
.error-page{min-height:calc(100vh - 78px);min-height:calc(100dvh - 78px);display:grid;grid-template-rows:auto 1fr;align-items:center;padding:clamp(3rem,7vw,7rem) 0}
.error-heading{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(320px,1fr);gap:clamp(2rem,7vw,7rem);align-items:end}
.error-code{font-family:PixelAE,monospace;font-size:clamp(5rem,14vw,12rem);line-height:.72;color:var(--clay);margin:0}
.error-copy h1{font-family:PixelAE,monospace;font-size:clamp(2.4rem,5vw,5rem);font-weight:400;line-height:1;margin:0 0 1.2rem}
.error-copy p{color:var(--muted);font-size:1.05rem;max-width:40rem;margin:0 0 1.5rem}
.error-actions{display:flex;align-items:center;gap:1.3rem;flex-wrap:wrap}
.error-world{width:min(920px,82%);justify-self:center;margin:clamp(3rem,6vw,6rem) 0 0;background:var(--night-deep)}
.error-world img{display:block;width:100%;height:auto;object-fit:contain;filter:saturate(.72) brightness(.78)}
.error-world figcaption{display:flex;justify-content:space-between;gap:1rem;color:var(--muted);font-size:.75rem;padding:.7rem .85rem}

@media(max-width:900px){
  .section-head,.product-story,.press-hero,.error-heading{grid-template-columns:1fr}
  .landscape-project-grid{display:grid;grid-template-columns:1fr}
  .landscape-project-grid .project-card,
  .landscape-project-grid .project-card:first-child,
  .landscape-project-grid .project-card:nth-child(2){width:100%}
  .landscape-project-grid .project-card img{width:100%;max-width:100%;height:auto}
  .landscape-project-grid .project-card-copy{min-height:0}
  .portrait-stage{height:min(68vw,520px)}
  .product-hero{grid-template-columns:1fr;min-height:auto}
  .product-hero-copy{max-width:46rem}
  .product-hero-media{justify-self:center;max-width:900px}
  .product-hero-media.portrait{height:min(74vh,640px)}
  .product-facts{grid-template-columns:repeat(2,1fr)}
  .error-world{width:100%}
}
@media(max-width:680px){
  .work-group-head,.product-gallery-head,.queue-head{align-items:start;flex-direction:column}
  .portrait-project-grid{display:flex;overflow-x:auto;justify-content:flex-start;scroll-snap-type:x proximity;padding-bottom:.8rem}
  .portrait-project-grid .project-card{flex:0 0 76vw;scroll-snap-align:start}
  .portrait-stage{height:auto;padding:.8rem}.portrait-stage img{width:100%;height:auto}
  .experiment-row{grid-template-columns:1fr;gap:.5rem}
  .portrait-gallery{justify-content:flex-start;overflow-x:auto;scroll-snap-type:x proximity}
  .portrait-gallery figure{flex:0 0 78vw;scroll-snap-align:start}
  .product-facts,.product-support,.press-facts{grid-template-columns:1fr}
  .press-assets{grid-template-columns:repeat(2,1fr)}
  .document-toc{grid-template-columns:1fr}
  .queue-shell{width:min(100% - 1.5rem,1120px)}
}
