/* A continuous glass surface: manual appearance, water apertures, and page choreography. */
html{background:var(--paper)}
body[data-atmosphere-controller=site]{background:var(--paper)}
html[data-theme=dark]{--paper:#151a22;--ink:#f2f3f5;--muted:#bcc7d1;--line:rgba(230,237,242,.21);--gold:#efbf04;color-scheme:dark}
html[data-theme=light]{color-scheme:light}
.site-head{gap:24px}
.site-head::before,.site-head.is-scrolled::before{opacity:0}
.site-head>.contact-link{margin-inline-start:auto}
.appearance-control{pointer-events:auto;display:flex;direction:ltr;align-items:center;gap:2px;border:1px solid var(--line);border-radius:24px;padding:2px;background:color-mix(in srgb,var(--paper) 62%,transparent)}
.appearance-control button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--muted);transition:color .25s,background-color .25s}
.appearance-control button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.appearance-control svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.edge-glass{position:fixed;inset-inline:0;height:clamp(100px,14vh,155px);pointer-events:none;z-index:25;isolation:isolate;--edge-direction:to bottom}
.edge-glass-top{top:0}
.edge-glass-bottom{bottom:0;--edge-direction:to top;height:clamp(90px,13vh,145px)}
/* Progressive edge blur (round 2, 10.10.2026). shell.js stacks backdrop blurs whose masks
   overlap like roof tiles: each layer owns one band, blur doubles toward the screen edge, so
   there is no visible boundary. Top is narrower and subtler, bottom wider and stronger. The
   stack must have no ancestor with opacity, filter, mask, clip-path, mix-blend-mode,
   will-change or view-transition-name — that would make it a backdrop root and the blur
   would see nothing. It never takes pointer events; the header and controls sit above it. */
.edge-blur{position:fixed;inset-inline:0;z-index:24;pointer-events:none}
.edge-blur>i{position:absolute;inset:0;pointer-events:none}
.edge-blur-top{top:0;height:132px}
.edge-blur-bottom{bottom:0;height:clamp(120px,17vh,160px)}
/* At the end of a page the bottom band steps aside so the last lines stay sharp. */
.edge-glass-bottom{transform:translateY(var(--edge-bottom-retreat,0px))}
.edge-blur-bottom{transform:translateY(var(--edge-blur-bottom-retreat,100%))}
.edge-glass-bottom::before{opacity:.62;mask-image:linear-gradient(to top,#000 0%,transparent 72%)}
.edge-glass-top::before{opacity:.86}
@media(max-width:760px){.edge-blur-top{height:140px}.edge-blur-bottom{height:112px}}
@media(prefers-reduced-transparency:reduce){.edge-glass-top::before{opacity:.97}.edge-glass-bottom::before{opacity:.8}}
@media print{.edge-blur,.edge-glass{display:none}}
.edge-glass::before,.edge-glass::after{content:'';position:absolute;inset:0;pointer-events:none;mask-image:linear-gradient(var(--edge-direction),#000 0%,#000 8%,transparent 100%)}
.edge-glass::before{background:var(--paper);opacity:.92}
.edge-glass::after{background-image:var(--edge-grain);background-size:256px;opacity:.11;mix-blend-mode:multiply}
html[data-theme=dark] .edge-glass::after{mix-blend-mode:screen;opacity:.09}
.portal-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.portal-surface{border-radius:0!important;box-shadow:none!important;background:transparent}
.hero{grid-template-columns:.82fr 1.18fr;gap:3vw;min-height:790px;padding-top:135px;padding-bottom:135px}
.hero h1{font-size:clamp(70px,7.6vw,112px)}
.hero-art{width:108%;margin-inline-start:-3%;isolation:isolate}
.hero-art>a{aspect-ratio:1.15;transform:rotate(-5deg);background:transparent}
.hero-art img{transform:scale(1.03) rotate(5deg);width:100%;height:100%;object-fit:cover}
.hero-art figcaption{padding-inline:12%;padding-top:4px}
.hero-bottom{bottom:67px}
.work-top{border-top:0;padding-bottom:75px}
.work-top h2{font-size:clamp(52px,6.2vw,88px)}
.project-card{padding:36px 0 100px;border-bottom:0}
.project-link,.project-card:nth-child(even) .project-link{grid-template-columns:minmax(0,8fr) minmax(0,4fr);gap:4vw;align-items:center}
.project-card:nth-child(even) .project-link{grid-template-columns:minmax(0,4fr) minmax(0,8fr)}
.project-media{aspect-ratio:1.32;overflow:hidden}
.project-media img{object-fit:cover;transition:transform 1s cubic-bezier(.16,1,.3,1);transform:scale(1.015)}
.project-card-copy{max-width:100%;padding-inline:1.2vw}
.project-number{margin-bottom:23px;letter-spacing:.1em}
.project-card h3{font-size:clamp(30px,3.7vw,58px)}
.project-open{gap:30px;margin-top:26px}
.project-card:nth-child(3n) .project-link{grid-template-columns:minmax(0,1fr);gap:20px;padding-inline:8vw}
.project-card:nth-child(3n) .project-media{order:0;aspect-ratio:1.78}
.project-card:nth-child(3n) .project-card-copy{display:grid;grid-template-columns:1fr auto;column-gap:30px;align-items:center;max-width:none;padding:0 5%}
.project-card:nth-child(3n) .project-number{display:none}
.project-card:nth-child(3n) h3{grid-column:1;grid-row:1}
.project-card:nth-child(3n) .project-card-copy p{grid-column:1;margin-top:10px}
.project-card:nth-child(3n) .project-open{grid-column:2;grid-row:1/3;margin-top:0}
.project-link:focus-visible{outline-offset:8px}
.play-label{inset:auto 18% 18%}
.studio-section{padding-block:140px}
.studio-heading h2{font-size:clamp(48px,6.5vw,94px)}
.studio-fragments{gap:5vw;margin-top:90px}
.studio-fragments figure:first-child{transform:rotate(3deg)}
.studio-fragments figure:last-child{transform:rotate(-3deg)}
.contact-section{padding-block:100px 130px}
.archive-invitation{padding-top:100px}
.project-page{padding-top:132px}
.project-topline{margin-bottom:56px}
.project-heading{position:relative;z-index:4}
.project-title{font-size:clamp(64px,10vw,154px);letter-spacing:-.03em}
.project-heading-bottom{align-items:center}
.project-info{position:relative;font-size:14px;min-width:180px}
.project-info summary{min-height:44px;cursor:pointer;display:flex;align-items:center;gap:25px;list-style:none}
.project-info summary::-webkit-details-marker{display:none}
.project-info summary::after{content:'+';font-size:24px;font-weight:300}
.project-info[open] summary::after{content:'−'}
.project-info-panel{position:absolute;top:calc(100% + 8px);inset-inline-end:0;min-width:260px;padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:12px;z-index:4}
.project-info-panel p+p{margin-top:12px;color:var(--muted)}
.project-neighbors{grid-template-columns:1.65fr 1fr;align-items:center;gap:6vw;border-top:0}
.project-neighbor-next{grid-template-columns:1fr auto;gap:15px}
.neighbor-preview{grid-column:1/-1;width:100%;aspect-ratio:1.5;margin-bottom:15px;overflow:hidden}
.neighbor-preview img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease-out)}
.project-neighbor-prev{padding-inline:2vw}
.artwork-dialog{background:var(--paper);color:var(--ink)}
#artwork-position,#artwork-image-status,.artwork-caption p{color:var(--muted)}
.artwork-bottom,.artwork-controls button{border-color:var(--line)}
.artwork-dialog button:focus-visible{outline-color:var(--ink)}
.hero-bottom .since,.project-heading-bottom>span{font-size:14px;letter-spacing:.025em}
@media(hover:hover) and (pointer:fine){.project-link:hover .project-media img,.project-neighbor-next:hover img{transform:scale(1.055)}.appearance-control button:not([aria-pressed=true]):hover{background:color-mix(in srgb,var(--ink) 9%,transparent)}}
@view-transition{navigation:auto}
::view-transition{pointer-events:none;background:var(--paper)}
::view-transition-group(root){animation-duration:1.08s}
::view-transition-old(root){animation:none;opacity:1;mix-blend-mode:normal}
::view-transition-new(root){animation:none;mix-blend-mode:normal}
::view-transition-image-pair(root){isolation:isolate}
::view-transition-group(project-portal){animation-duration:1.08s;animation-timing-function:cubic-bezier(.65,0,.2,1);z-index:2}
::view-transition-image-pair(project-portal){overflow:visible}
::view-transition-old(project-portal){height:100%;object-fit:fill;animation:cover-out 1.08s ease both}
::view-transition-new(project-portal){height:100%;object-fit:fill;animation:cover-in 1.08s ease both}
html[data-transition-kind=project]::view-transition-old(root){animation:project-recede 1.08s ease both}
@keyframes project-recede{from{opacity:1}to{opacity:.15}}
/* Card-to-hero opening: the water reveals the page while the image grows. */
html[data-project-opening]::view-transition-old(root){animation:none;opacity:1}
/* The navigation and glass stay in viewport space on every route. Only the
   content takes part in the wave; the header never recedes or scales. */
.site-head{view-transition-name:site-header}
.edge-glass-top{view-transition-name:site-glass-top}
.edge-glass-bottom{view-transition-name:site-glass-bottom}
::view-transition-group(site-header){z-index:5;animation:none}
::view-transition-group(site-glass-top),::view-transition-group(site-glass-bottom){z-index:4;animation:none}
::view-transition-old(site-header),::view-transition-old(site-glass-top),::view-transition-old(site-glass-bottom){animation:none;opacity:0}
::view-transition-new(site-header),::view-transition-new(site-glass-top),::view-transition-new(site-glass-bottom){animation:none;opacity:1}
.site-nav a[data-navigation-pending]{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:7px}
@keyframes cover-out{0%,25%{opacity:1}90%,100%{opacity:0}}
@keyframes cover-in{0%,18%{opacity:0}75%,100%{opacity:1}}
@media(max-width:1100px){.site-head{gap:18px}.site-head>.contact-link{display:none}.site-nav{margin-inline-start:auto}.hero h1{font-size:clamp(65px,7.5vw,88px)}}
@media(max-width:800px){
  .site-head{height:118px;flex-wrap:wrap;align-content:center;gap:1px 12px;padding-block:10px}.wordmark{font-size:20px}.appearance-control{margin-inline-start:auto;order:1}.appearance-control button{width:44px;height:44px}.site-nav{order:2;flex-basis:100%;margin:0;justify-content:flex-start;gap:24px;font-size:14px}.site-nav a{padding:6px 0;min-height:44px}.edge-glass-top{height:142px}.edge-glass-bottom{height:90px}
  html{scroll-padding-top:145px}.hero{display:flex;min-height:0;padding-top:164px;padding-bottom:148px;gap:30px}.hero h1{font-size:clamp(62px,12vw,88px)}.hero-copy p{font-size:17px;max-width:330px}.hero-art{width:100%;margin:0}.hero-art>a{aspect-ratio:1.24}.hero-art figcaption{padding-inline:6%;font-size:12.5px}.hero-bottom{bottom:77px}.hero-bottom .since{font-size:14px}.work-top{padding-bottom:32px}.work-top h2{font-size:51px}.project-card{padding:20px 0 66px}.project-link,.project-card:nth-child(even) .project-link,.project-card:nth-child(3n) .project-link{display:flex;gap:0;padding:0;flex-direction:column}.project-media,.project-card:nth-child(3n) .project-media{aspect-ratio:1.23;order:0}.project-card:nth-child(3n) .project-media{aspect-ratio:1.6}.project-card-copy,.project-card:nth-child(3n) .project-card-copy{padding:22px 0 0;display:grid;width:100%;grid-template-columns:1fr auto;gap:0 15px}.project-card h3{font-size:30px}.project-number{margin-bottom:0;margin-top:9px}.project-card:nth-child(3n) .project-card-copy p{grid-column:1/-1;margin-top:9px}.project-card:nth-child(3n) .project-open{grid-column:1/-1;grid-row:auto;margin-top:19px;justify-self:start}.project-open{font-size:14px;gap:20px}.studio-section{padding-block:65px 80px}.studio-heading h2{font-size:48px}.studio-fragments{margin-top:45px}.contact-section{padding-block:65px 80px}.archive-invitation{padding-top:70px}.project-page{padding-top:145px}.project-topline{margin-bottom:45px}.project-title{font-size:clamp(42px,12vw,80px)}.project-heading-bottom{gap:8px 20px}.project-info{min-width:0}.project-info-panel{inset-inline-start:0;inset-inline-end:auto;min-width:250px;max-width:calc(100vw - 48px)}.project-neighbors{grid-template-columns:1fr;gap:30px}.project-neighbor-prev{padding:0}.project-neighbor-next{border:0}.page-shell.archive-shell{padding-top:157px}
}
@media(prefers-reduced-motion:reduce){
  @view-transition{navigation:none}
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
  .hero-art>a,.hero-art img,.studio-fragments figure{transform:none!important}
  .portal-surface img,.appearance-control button{transition:none}
}


