/* kolodec: print archive + pixel-scale motion. */
.pixel-layout {
  --paper:#f6f5f1; --ink:#181816; --muted:#555456; --line:#d6d4d0; --signal:#3629bc;
  --pixel-blue:#3023bc; --pixel-foam:#dfdeff; --pixel-white:#f6f5f1;
  --edge:clamp(22px,5vw,92px);--max:1440px; --pixel-ease:cubic-bezier(.19,.75,.21,1);
  color:var(--ink);background:var(--paper);
}
.pixel-layout .site-header { min-height:72px; border-bottom-color:#242422; }
.pixel-layout .brand { font-size:1.95rem;gap:9px;font-weight:740;letter-spacing:-.086em; }
.pixel-layout .header-actions { gap:clamp(.8rem,3vw,2.55rem); font-size:.95rem; font-weight:550; }
.pixel-layout .contact-eye {color:var(--pixel-blue);}
.pixel-layout .language { color:var(--pixel-blue); }
.px-brand-icon,.px-intro-icon,.px-bucket,.px-project-icon {display:block;overflow:visible;flex:none;}
.px-ink {fill:currentColor;} .px-water {fill:#7e70ff;} .px-reflection {fill:#a99dff;}
.px-brand-icon {width:23px;height:23px;color:var(--pixel-blue);}
.px-brand-icon .px-reflection {display:none;}
.brand:is(:hover,:focus-visible) .px-brand-icon { animation:px-hop .55s var(--pixel-ease); }
.px-intro-icon {width:.46em;height:.46em;color:#eeeaff;animation:px-hop .75s var(--pixel-ease);}
.pixel-layout .site-intro-overlay {background:#211c72;}
.pixel-layout .intro-credit {color:#e2dfff;}
.pixel-layout .intro-rule,.pixel-layout .film-progress {background:#897bff;}
.pixel-hero {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.16fr); align-items:start;
  gap:clamp(26px,5vw,90px); padding:clamp(30px,5.6vw,88px) 0 clamp(43px,8vw,120px);
}
.hero-editorial { position:relative;display:grid;align-content:start;min-width:0; }
.pixel-kicker,.stage-label {display:flex;gap:.62rem;align-items:center;min-height:2.1rem;font-weight:600;}
.pixel-kicker {line-height:1.2;}
.pixel-square {width:8px;height:8px;display:inline-block;background:var(--pixel-blue);flex:0 0 8px;}
.hero-editorial h1 {
  font-size:clamp(3.05rem,6.6vw,8.2rem);line-height:.89;letter-spacing:-.084em;
  margin:.3em 0 .36em -.055em; font-weight:725;
}
.hero-editorial h1 span { display:block;animation:px-lines .68s var(--pixel-ease) both; }
.hero-editorial h1 span+span { color:var(--pixel-blue);animation-delay:.07s; }
.intro-entered .hero-editorial h1 span { animation-delay:.82s; }
.intro-entered .hero-editorial h1 span+span { animation-delay:.9s; }
@keyframes px-lines {from {clip-path:inset(100% 0 0 0);translate:0 .3em;} to {clip-path:inset(0);translate:0 0;}}
.hero-stamp {
  display:grid;place-items:center; position:relative; width:clamp(88px,13vw,205px); margin:-.25rem 0 .85rem -.7rem;
  aspect-ratio:1; color:#251d93;
}
.px-bucket {
  width:100%;height:100%; transform:translate3d(calc((var(--tilt-x,0px) + var(--pointer-x,0px)) * -.7),calc((var(--tilt-y,0px) + var(--pointer-y,0px)) * -.7),0);
}
.px-bucket .px-water {animation:px-water 3.2s steps(2,end) infinite alternate;transform-box:fill-box;transform-origin:bottom;}
.px-spark {position:absolute; width:8px;height:8px; background:#e84b32; animation:px-shimmer 2.5s steps(1,end) infinite; }
.px-spark.first {left:15%;top:24%;} .px-spark.second {right:3%;top:49%;animation-delay:.75s;}
@keyframes px-water {28%,70% {fill:#5546e8;} 65%,100% {fill:#9688ff;} }
@keyframes px-shimmer {0%,60%,100%{opacity:0;}15%,35%{opacity:1;} }
.hero-description {font-size:clamp(1.04rem,1.7vw,1.42rem);line-height:1.3;max-width:32ch;}
.hero-links {display:flex;align-items:flex-start;gap:.55rem;flex-wrap:wrap;margin-top:1.05rem;}
.px-primary {background:var(--pixel-blue);color:#fff;display:inline-flex;align-items:center;padding:.4rem .82rem;min-height:44px;font-weight:650;}
.px-primary:hover {background:#1c146c;}
.tilt-bar {display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;max-width:100%;}
.tilt-status:empty,.layout-switch[hidden],.showcase-slide[hidden],.showcase-nav[hidden],.folio-filters[hidden],.tilt-switch[hidden],.folio-grid li[hidden] {display:none;}
.tilt-switch {border:1px solid var(--pixel-blue);background:none;color:var(--pixel-blue);min-height:44px;font-size:.87rem;cursor:pointer;padding:.3rem .52rem;}
.tilt-switch[aria-pressed=true] {background:var(--pixel-foam);}
.tilt-status {flex-basis:100%;font-size:.8rem;color:var(--muted);line-height:1.25;}
.hero-stage {min-width:0;}
.stage-label { justify-content:space-between;flex-direction:row-reverse; font-size:.79rem;border-bottom:1px solid var(--ink);margin-bottom:.55rem;}
.showcase {position:relative;display:grid;isolation:isolate;overflow:hidden;aspect-ratio:1.22;background:#141418;color:white;}
.showcase-slide {grid-area:1/1;position:relative;z-index:2;}
.showcase-slide[data-leaving] {z-index:1;}
.showcase-link {display:block;position:absolute;inset:0;overflow:hidden;}
.showcase-link:focus-visible {outline-offset:-4px;outline-color:white;}
.showcase-link picture,.showcase-link img {width:100%;height:100%;display:block;}
.showcase-link img {object-fit:cover;transform:translate3d(calc(var(--tilt-x,0px) + var(--pointer-x,0px)),calc(var(--tilt-y,0px) + var(--pointer-y,0px)),0) scale(1.12);}
.showcase-link::after {content:"";position:absolute;inset:30% 0 0;pointer-events:none;background:linear-gradient(transparent,#080812d4);}
.showcase-caption.frame {width:auto;margin:0;position:absolute;z-index:2;left:clamp(14px,2.6vw,38px);right:1rem;bottom:clamp(64px,6vw,88px);display:grid;gap:.32rem;}
.showcase-caption strong {font-size:clamp(1.25rem,2.6vw,2.7rem);line-height:1.04;letter-spacing:-.04em;}
.showcase-caption > span {font-size:clamp(.9rem,1.28vw,1.13rem);line-height:1.27;max-width:44ch;}
.showcase-nav.frame {width:auto;margin:0;position:absolute;z-index:3;bottom:12px;left:clamp(12px,2.6vw,38px);right:1rem;display:flex;align-items:center;gap:.34rem;pointer-events:none;}
.showcase-nav button {min-height:44px;pointer-events:auto;cursor:pointer;padding:.35rem .55rem;color:white;border:1px solid #fffc;background:#17203b65;font-size:.82rem;}
.showcase-nav button:hover {background:#3125bc;}
.showcase-dots {display:flex;gap:.18rem;}
.showcase-dots button {display:grid;place-items:center;min-width:28px;padding:0;border-color:transparent;}
.showcase-dots button::after {content:"";width:8px;height:8px;background:white;}
.showcase-dots button[aria-pressed=true]::after {background:#ada4ff;transform:scale(1.45);}
[data-tilt-mode="drag"] [data-tilt-surface] {touch-action:none;cursor:grab;}
.folio-index {padding:0 0 clamp(48px,9vw,116px);scroll-margin-top:100px;}
.folio-heading {display:flex;align-items:end;justify-content:space-between;gap:.5rem;border-top:1px solid var(--ink);padding-top:clamp(17px,3vw,34px);}
.folio-heading h2 {font-size:clamp(2.6rem,5.65vw,6.8rem);font-weight:680;letter-spacing:-.074em;line-height:.91;}
.layout-switch {display:flex;gap:.3rem;flex:none;}
.layout-switch button,.folio-filters button {border:0;padding:.35rem .6rem;min-height:44px;cursor:pointer;background:none;color:var(--muted);}
.layout-switch button[aria-pressed=true],.folio-filters button[aria-pressed=true] {background:var(--pixel-foam);color:#251b8b;}
.folio-filters {display:flex;gap:.25rem;flex-wrap:wrap;padding:1rem 0 1.05rem;}
.folio-grid {display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(16px,3vw,44px);list-style:none;margin:0;padding:0;}
.folio-grid li {grid-column:span 4; min-width:0;}
.folio-grid li:first-child { grid-column:span 7; }
.folio-grid li:nth-child(2) { grid-column:span 5; }
.folio-grid li:nth-child(2) .tile-photo {aspect-ratio:1.05;}
.folio-tile {display:block;}
.tile-photo {aspect-ratio:1.49;overflow:hidden;background:transparent;}
.tile-photo picture,.tile-photo img {width:100%;height:100%;display:block;}
.tile-photo img {object-fit:cover;transition:scale .65s var(--pixel-ease),filter .45s;}
.folio-tile:is(:hover,:focus-visible) img {scale:1.055;}
.tile-caption {display:flex;align-items:start;gap:.65rem;padding:.7rem 0 0;}
.px-project-icon {color:var(--pixel-blue);width:19px;height:19px;margin-top:.14rem;}
.folio-tile:is(:hover,:focus-visible) .px-project-icon { animation:px-hop .54s var(--pixel-ease); }
.folio-grid li:nth-child(3n+2) .folio-tile:is(:hover,:focus-visible) .px-project-icon { animation-name:px-tilt-hop; }
.folio-grid li:nth-child(3n) .folio-tile:is(:hover,:focus-visible) .px-project-icon { animation-name:px-double-hop; }
@keyframes px-hop { 35%{transform:translateY(-7px) scaleY(1.12);} 70%{transform:translateY(1px) scale(1.1,.88);} }
@keyframes px-tilt-hop { 42%{transform:translateY(-7px) rotate(-13deg);} 68%{transform:translateY(1px) rotate(7deg);} }
@keyframes px-double-hop { 25%{transform:translateY(-7px);} 52%{transform:scale(1.09,.87);} 76%{transform:translateY(-3px);} }
.tile-caption strong,.tile-caption small {display:block;}
.tile-caption strong {font-size:clamp(1rem,1.48vw,1.43rem);line-height:1.1;letter-spacing:-.027em;}
.tile-caption small {font-size:.86rem;color:var(--muted);margin-top:.2rem;}
.folio-grid.is-list {display:block;border-top:1px solid var(--line);}
.folio-grid.is-list li {border-bottom:1px solid var(--line);}
.folio-grid.is-list .folio-tile {display:grid;grid-template-columns:94px 1fr;gap:1.05rem;align-items:center;padding:.55rem 0;}
.folio-grid.is-list .tile-photo {aspect-ratio:1.5 !important;}
.folio-grid.is-list .tile-caption {padding:0;}
.pixel-layout .is-seen[data-motion="film"] {animation:px-sheet .72s var(--pixel-ease) both;}
@keyframes px-sheet {from {clip-path:polygon(0 0,100% 0,100% 57%,49% 57%,49% 72%,0 72%);opacity:.52;translate:0 14px;} to {clip-path:polygon(0 0,100% 0,100% 100%,49% 100%,49% 100%,0 100%);}}
.pixel-layout .film-feature {background:none;color:var(--ink);border-top:1px solid var(--ink);padding:1.75rem 0 4rem;}
.pixel-layout .film-feature .film-head .mono {color:var(--pixel-blue);}
.pixel-layout .film-feature .film-head h2 {font-size:clamp(2.5rem,5vw,5.5rem);}
.pixel-layout .film-ready .film-frame img {transform:translate3d(calc(var(--film-x,0px) + var(--tilt-x,0px)),calc(var(--film-y,0px) + var(--tilt-y,0px)),0) scale(1.12);}
.pixel-layout .film-ready .film-count,.pixel-layout .film-tools button[aria-pressed=true],.pixel-layout .film-tools button:hover {color:var(--pixel-blue);border-color:var(--pixel-blue);}
.site-footer {background:#201b65;color:white;padding:clamp(22px,5vw,58px) 0;}
.site-footer .frame {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;}
.site-footer p {font-size:clamp(1.5rem,3.8vw,3.65rem);font-weight:700;letter-spacing:-.068em;}
.site-footer p span {font-size:.66rem;letter-spacing:0;}
.site-footer a {text-decoration:underline;}
.pixel-layout .contact {background:#211b72;}
.case-crumbs {display:flex;flex-wrap:wrap;gap:.35rem .65rem;margin-bottom:1.4rem;color:var(--muted);font-size:.88rem;}
.case-crumbs a:hover {color:var(--pixel-blue);text-decoration:underline;}
.pixel-layout .case-heading h1 {font-size:clamp(2.7rem,6.6vw,7rem);line-height:.93;margin:0 0 1.5rem;}
.case-meta {display:grid;grid-template-columns:.75fr .85fr 2fr;gap:1.1rem;margin:0 0 clamp(22px,4vw,52px);padding:1rem 0;border-top:1px solid var(--ink);border-bottom:1px solid var(--line);}
.case-meta dt {text-transform:uppercase;color:var(--pixel-blue);font:600 .8rem/1.2 var(--mono);margin-bottom:.32rem;}
.case-meta dd {margin:0;}
.pixel-layout .case-story h2 {font-size:clamp(1.5rem,2.8vw,2.85rem);margin:0 0 .6rem;}
.pixel-layout .system-plate {color:#271c84;background:var(--pixel-foam);}
@media(max-width:1050px) {
  .pixel-hero {gap:clamp(21px,3vw,38px);}
  .hero-editorial h1 {font-size:clamp(3.1rem,6.4vw,6.2rem);}
  .hero-stamp {width:clamp(80px,12vw,145px);}
}
@media(max-width:700px) {
  .pixel-layout {--edge:17px;}
  .pixel-layout .site-header {min-height:56px;gap:8px;}
  .pixel-layout .brand {font-size:1.65rem;gap:4px;}
  .px-brand-icon {width:18px;height:18px;}
  .pixel-layout .header-actions {gap:.66rem;}
  .pixel-layout .header-actions a {font-size:.81rem;}
  .pixel-layout .header-actions .contact-eye {display:none;}
  .pixel-hero {grid-template-columns:1fr;gap:18px;padding-top:17px;}
  .hero-editorial h1 {font-size:clamp(3.05rem,11vw,5.7rem);}
  .hero-editorial h1 span {position:relative;z-index:1;}
  .hero-stamp {position:absolute;right:.1rem;top:clamp(44px,14vw,78px);width:clamp(65px,22vw,120px);margin:0;}
  .hero-description {max-width:28ch;}
  .hero-links {margin-top:.65rem;}
  .showcase {aspect-ratio:1.28;}
  .showcase-caption.frame {bottom:57px;}
  .showcase-nav.frame {bottom:6px;}
  .showcase-link img {transform:translate3d(calc(var(--tilt-x,0px) * .75),calc(var(--tilt-y,0px) * .75),0) scale(1.16);}
  .pixel-layout .film-ready .film-frame img {transform:translate3d(calc(var(--tilt-x,0px) * .75),calc(var(--tilt-y,0px) * .75),0) scale(1.16);}
  .folio-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .folio-grid li:first-child {grid-column:span 2;}
  .folio-grid li,.folio-grid li:nth-child(2) {grid-column:span 1;}
  .folio-grid li:nth-child(2) .tile-photo {aspect-ratio:1.49;}
  .case-meta {grid-template-columns:1fr 1fr;}
  .case-meta div:last-child {grid-column:1/-1;}
}
@media(prefers-reduced-motion:reduce) {
  .showcase-link img,.px-bucket,.pixel-layout .film-ready .film-frame img {transform:none;}
  .pixel-layout .film-progress {display:none;}
}
