@font-face{font-family:Geist;src:url('/assets/fonts/Geist-Variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--paper:#f0efeb;--ink:#171716;--muted:#55544f;--line:#cccac2;--page-x:clamp(1.25rem,4vw,4rem);color-scheme:light;scrollbar-color:#55544f #f0efeb}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:6rem;background:var(--paper)}
body{margin:0;color:var(--ink);background:var(--paper);font-family:Geist,'Helvetica Neue',Arial,sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased}
::selection{background:var(--ink);color:var(--paper)}
a{color:inherit;text-underline-offset:.3em;text-decoration-thickness:1px}
a,button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
a:focus-visible,button:focus-visible,.preview-scroll:focus-visible{outline:2px solid #315ee7;outline-offset:5px}
button{font:inherit;cursor:pointer}
svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:square;flex-shrink:0}
img{display:block;max-width:100%}
figure,h1,h2,p,blockquote{margin:0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip-link{position:fixed;left:1rem;top:1rem;z-index:10;padding:1rem;background:var(--ink);color:var(--paper);transform:translateY(-200%)}
.skip-link:focus{transform:none}
.case-header,.case-footer{margin-inline:var(--page-x);display:flex;align-items:center;justify-content:space-between;gap:1.25rem;min-height:6rem}
.case-header{border-bottom:1px solid var(--line)}
.author{font-weight:600;font-size:1rem;text-decoration:none}
.header-actions{display:flex;align-items:center;gap:clamp(1rem,3vw,3rem)}
.back-link{font-size:.875rem}
.language-toggle{background:none;border:1px solid var(--ink);border-radius:50%;color:inherit;width:44px;height:44px;font-size:.8rem;transition:background-color 180ms ease-out,color 180ms ease-out}
.language-toggle[hidden]{display:none}
.language-toggle:hover{background:var(--ink);color:var(--paper)}
.case-hero{padding:clamp(2.5rem,5vw,5rem) var(--page-x) 0}
h1{font-size:clamp(2.8rem,7vw,7rem);font-weight:500;letter-spacing:-.04em;line-height:1;max-width:18ch;text-wrap:balance}
.hero-details{display:grid;grid-template-columns:1fr 1.5fr auto;align-items:start;gap:2rem;margin-block:2rem 3rem}
.project-context{font-size:.8rem;line-height:1.6}
.project-context p+p{color:var(--muted)}
.hero-summary{max-width:34ch;font-size:clamp(1.1rem,1.6vw,1.5rem);line-height:1.35;letter-spacing:-.02em}
.live-link{display:inline-flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:48px;padding:.85rem 1.2rem;background:var(--ink);color:var(--paper);text-decoration:none;font-size:.875rem;font-weight:500;transition:background-color 180ms ease-out}
.live-link:hover{background:#3a3935}
.preview-toolbar{min-height:3.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid var(--line);padding:.5rem 1rem;font-size:.8rem}
.preview-reset{background:none;color:var(--ink);border:0;text-decoration:underline;text-underline-offset:.3em;font-size:.8rem;min-height:44px;padding:.5rem 0;flex-shrink:0}
.preview-reset:disabled{color:var(--muted);text-decoration:none;cursor:default}
.preview-reset[hidden]{display:none}
.preview-scroll{height:clamp(25rem,52vw,44rem);overflow:auto;border:1px solid var(--line);border-top:0;scrollbar-color:var(--muted) #d8d7d2;scrollbar-width:auto;background:#d8d7d2}
.preview-stack img{display:block;width:100%;height:auto;margin:0}
.preview-stack--mobile{display:none}
figcaption{font-size:.8rem;line-height:1.5;color:var(--muted)}
.site-preview figcaption{display:flex;justify-content:space-between;gap:1rem;padding-block:1rem 2.5rem}
.case-nav{position:sticky;top:0;z-index:5;display:flex;gap:clamp(1rem,3vw,3rem);overflow-x:auto;padding:.4rem var(--page-x);border-block:1px solid var(--line);background:var(--paper);scrollbar-width:thin}
.case-nav a{display:flex;align-items:center;flex-shrink:0;min-height:48px;font-size:.85rem;text-decoration:none;color:var(--muted);border-bottom:1px solid transparent}
.case-nav a:hover,.case-nav a[aria-current]{color:var(--ink);border-bottom-color:var(--ink)}
.case-content{padding-inline:var(--page-x)}
.case-section{padding-block:clamp(3.5rem,7vw,7rem);border-bottom:1px solid var(--line);scroll-margin-top:1rem}
.case-section:last-child{border-bottom:0}
.section-heading,.intro-section{display:grid;grid-template-columns:1fr 1.55fr;gap:2rem}
h2{font-size:clamp(2rem,3.5vw,3.8rem);font-weight:500;line-height:1.05;letter-spacing:-.035em;text-wrap:balance}
.section-copy{max-width:60ch;font-size:clamp(1rem,1.35vw,1.2rem);line-height:1.65;color:var(--muted)}
.intro-copy{font-size:clamp(1.25rem,2vw,1.85rem);line-height:1.5;letter-spacing:-.02em;color:var(--ink)}
.concept-note{font-size:.875rem;line-height:1.6;max-width:65ch;color:var(--muted);margin-top:1.5rem}
.type-exhibits{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:2.5rem;margin-top:3rem}
.type-exhibit{border-top:1px solid var(--ink);padding-top:1rem;min-width:0}
.type-exhibit figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem 1rem}
.type-exhibit figcaption>span:first-child{color:var(--ink);font-weight:500}
.type-sample{font-size:clamp(6rem,12vw,12rem);line-height:1.2;letter-spacing:-.04em;padding-block:1.25rem}
.type-alphabet{font-size:clamp(1.35rem,2.5vw,2.25rem);line-height:1.5;overflow-wrap:anywhere}
.palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:3rem;gap:1rem}
.swatch-color{height:clamp(7rem,14vw,14rem);border:1px solid rgb(23 23 22 / 8%)}
.swatch figcaption{padding-top:.875rem;display:grid;gap:.4rem}
.swatch figcaption>span{color:var(--ink)}
.swatch code{font-family:inherit;font-size:.75rem;overflow-wrap:anywhere}
.copy-exhibit{margin-top:3rem;padding:clamp(2rem,5vw,5rem);background:var(--ink);color:var(--paper)}
.copy-exhibit blockquote{font-size:clamp(2rem,4.5vw,4.5rem);line-height:1.2;letter-spacing:-.025em;max-width:24ch;text-wrap:balance}
.copy-exhibit figcaption{color:#c3c1b9;margin-top:2rem}
.asset-gallery{display:grid;grid-template-columns:1.35fr 1fr;align-items:start;gap:2rem;margin-top:3rem}
.asset-image{background:#e4e2da;display:flex;align-items:center;justify-content:center;aspect-ratio:4/3}
.asset-image img{width:100%;height:100%;object-fit:contain}
.asset-gallery figure:nth-child(2){margin-top:5rem}
.asset-gallery figcaption{padding-top:1rem}
.case-outro{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:clamp(3rem,6vw,6rem) var(--page-x);background:var(--ink);color:var(--paper)}
.case-outro .live-link{border:1px solid #6e6c64;flex-shrink:0}
.next-project{display:grid;grid-template-columns:1fr 240px 32px;align-items:center;gap:3rem;margin:0 var(--page-x);padding-block:3rem;text-decoration:none;border-bottom:1px solid var(--line)}
.next-label{display:block;font-size:.85rem;color:var(--muted);margin-bottom:1rem}
.next-name{display:block;font-size:clamp(1.75rem,4vw,4rem);letter-spacing:-.035em;line-height:1.1}
.next-project img{width:100%;height:auto}
.next-project svg{width:32px;height:32px}
.next-project:hover .next-name{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.15em}
.case-footer{font-size:.8rem;flex-wrap:wrap;padding-block:1.5rem}
@media(min-width:1600px){.case-content,.case-hero,.case-nav,.case-outro{padding-inline:max(var(--page-x),calc((100vw - 1500px)/2))}}
@media(max-width:760px){
 .case-header{min-height:5rem}.back-link{font-size:.75rem}.header-actions{gap:.75rem}.author{font-size:.875rem}
 .hero-details{grid-template-columns:1fr;gap:1.25rem;margin-block:1.5rem 2rem}.project-context{display:flex;flex-wrap:wrap;gap:.2rem 1rem}.hero-summary{font-size:1.25rem}.hero-details .live-link{justify-self:start}
 .site-preview{margin-inline:calc(-1 * var(--page-x))}.site-preview figcaption{padding-inline:var(--page-x);padding-bottom:1.5rem}
 .preview-toolbar{padding-inline:var(--page-x);font-size:.75rem;gap:.75rem}.preview-reset{font-size:.75rem}
 .preview-scroll{height:clamp(25rem,70svh,36rem)}.preview-stack--desktop{display:none}.preview-stack--mobile{display:block}
 .case-nav{gap:1.4rem}.case-nav a{font-size:.8rem}
 .section-heading,.intro-section{grid-template-columns:1fr;gap:1.25rem}.section-copy{font-size:1rem}.intro-copy{font-size:1.25rem}
 .type-exhibits{grid-template-columns:1fr 1fr;gap:1.25rem}.type-sample{font-size:6rem}.type-alphabet{font-size:1.2rem}.type-exhibit figcaption{display:grid;font-size:.75rem;min-height:3rem;align-content:start}.type-exhibits:has(> :nth-child(3)){grid-template-columns:1fr}
 .palette{grid-template-columns:1fr 1fr;row-gap:1.5rem}.swatch-color{height:8rem}
 .asset-gallery{grid-template-columns:1fr;gap:2rem}.asset-gallery figure:nth-child(2){margin-top:0}.asset-image{aspect-ratio:auto}.asset-image img{height:auto;max-height:32rem}
 .case-outro{align-items:start;flex-direction:column}.next-project{grid-template-columns:1fr 24px;gap:1rem;padding-block:2.5rem}.next-project img{display:none}.next-project svg{width:24px;height:24px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
