@import "./tokens.css?v=20261027-nav-viewer-final";
@import "./typeset.css?v=20261027-body-type";

/* Text Book is the active body face. The variable face remains available for studies. */
@font-face{font-family:"Neue Montreal Text";src:url("/fonts/neue-montreal/PPNeueMontrealText-Book.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Neue Montreal Text";src:url("/fonts/neue-montreal/PPNeueMontrealText-BookItalic.otf") format("opentype");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Neue Montreal Text Variable";src:url("/fonts/neue-montreal/PPNeueMontrealText-Variable.woff2") format("woff2");font-weight:200 700;font-style:normal;font-display:swap}
@font-face{font-family:"Neue Montreal";src:url("/fonts/neue-montreal/PPNeueMontreal-Regular.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Neue Montreal";src:url("/fonts/neue-montreal/PPNeueMontreal-Italic.otf") format("opentype");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Neue Montreal";src:url("/fonts/neue-montreal/PPNeueMontreal-Semibold.otf") format("opentype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Neue Montreal";src:url("/fonts/neue-montreal/PPNeueMontreal-SemiboldItalic.otf") format("opentype");font-weight:600;font-style:italic;font-display:swap}
@font-face{font-family:"Red Dot Rotis";src:url("/fonts/RotisSemiSansProCyrillic-250.woff2") format("woff2");font-weight:250;font-style:normal;font-display:swap}
@font-face{font-family:"Red Dot Rotis";src:url("/fonts/RotisSemiSansProCyrillic-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Red Dot Rotis";src:url("/fonts/RotisSemiSansProCyrillic-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Red Dot Rotis";src:url("/fonts/RotisSemiSansProCyrillic-750.woff2") format("woff2");font-weight:750;font-style:normal;font-display:swap}
@font-face{font-family:"Rotis Semi Serif";src:url("/fonts/rotis/Rotis SemiSerif Std Regular.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
/* Shared semantic tokens built on the forward-looking spacing scale. */
:root{
 --gap-label-value:var(--space-2);--gap-heading-body:var(--space-4);--gap-content:var(--space-6);--gap-section:clamp(var(--space-8),8vw,var(--space-10));
 --font-family-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
 --type-meta-size:12px;--type-meta-leading:1.333;--type-display-size:clamp(32px,5vw,64px);--type-display-leading:1.05;--type-tight-tracking:-.025em;
 --layout-gutter:clamp(var(--space-4),4vw,var(--space-6));--layout-grid-gap:clamp(var(--space-4),3vw,var(--space-7));--layout-readable:42rem;--layout-content:72rem;--layout-wide:100rem;--layout-section-gap:var(--gap-section);
 --control-height:40px;--control-height-button:36px;--control-height-compact:32px;--control-width-half:208px;--border-width:1px;--border-width-strong:2px;--border-color:#e4e4e1;--muted-color:#777;--surface-light:#f7f7f5;--radius-small:4px;--radius-button:6px;--radius-card:12px;--radius-control:999px;--icon-size:20px;--icon-size-small:16px;--control-padding-inline:var(--space-4);
}
:root{font-family:var(--font-text);font-synthesis:none;--font-text:var(--type-body-family);--font-display:var(--font-family-display);--weight-book:400;--weight-emphasis:600;color:#111;background:#fff;--unit:8px;--grid-inset:16px;--inset:32px;--body:var(--type-body-size);--meta:12px;--nav:16px;--title:32px;--project-title:28px;--space:16px;--motion-duration:620ms;--motion-ease:cubic-bezier(.2,.7,.2,1)}
body{font-family:var(--type-body-family);font-size:var(--type-body-size);font-weight:var(--type-body-weight);letter-spacing:var(--type-body-tracking);line-height:var(--type-body-leading);font-kerning:normal;font-feature-settings:"kern" 1;text-rendering:optimizeLegibility}
.typeset-placard{font-weight:var(--typeset-body-weight);letter-spacing:var(--typeset-body-tracking);font-kerning:normal;font-optical-sizing:auto;font-feature-settings:"kern" 1;text-rendering:optimizeLegibility}
.typeset-placard :is(h1,h2,h3,h4,h5,h6){letter-spacing:normal}
.typeset :is(h1,h2,h3,h4,h5,h6){font-weight:400;line-height:1.4;letter-spacing:normal}
@media(max-width:767px){.typeset-placard{--typeset-leading:var(--typeset-body-leading-mobile)}}
@media(max-width:767px){.typeset{--typeset-leading:var(--typeset-body-leading-mobile)}}
*{box-sizing:border-box}html{overflow-x:hidden;scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}body{margin:0;padding-top:64px;overflow-x:hidden;scrollbar-width:none}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer;padding:8px 0}a{color:inherit}button:focus-visible,a:focus-visible,main:focus-visible{outline:2px solid #111;outline-offset:4px}
html[data-input-modality="pointer"] :focus-visible{outline:none}
.site-header{position:fixed;top:0;left:0;right:0;z-index:30;height:64px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;padding:12px var(--grid-inset);background:transparent;font-size:var(--meta);transition:background-color 420ms var(--motion-ease)}.site-header a{font-family:var(--font-display);line-height:24px;text-decoration:none;padding:4px 0}.site-header .site-title{justify-self:start;font-family:var(--font-display);font-size:32px;line-height:44px;white-space:nowrap;transform-origin:left top;font-weight:400;color:#111}.site-header .menu-link{justify-self:end;font-size:var(--nav);line-height:24px;font-weight:var(--weight-book);color:#858585;text-transform:lowercase}.site-header .menu-link:is(:hover,:focus-visible){color:#111}.site-header button{font-size:12px}.site-header.is-minimized{background:#fff}
.menu-links a:is(:hover,:focus-visible){color:#111!important;filter:none!important;opacity:1!important}
.site-intro{position:relative;min-height:calc(100svh - 64px);padding:0 var(--grid-inset) calc(var(--unit) * 4);display:flex;flex-direction:column;align-items:flex-start}.site-intro p{margin:0;font-family:"Rotis Semi Serif",var(--font-display);font-size:42px;line-height:1.02;letter-spacing:-.02em;max-width:18ch;color:#a0a0a0;}.site-intro-image{width:62%;aspect-ratio:1.35;align-self:flex-end;margin-top:auto;background:linear-gradient(135deg,#b4d400 0%,#74a900 36%,#162b10 100%);filter:saturate(1.15);}
.site-menu{position:fixed;inset:64px 0 0;z-index:40;display:grid;grid-template-rows:auto 1fr;padding:20px 16px;background:#fff;overflow-x:hidden;opacity:0;visibility:hidden;pointer-events:none;}.site-menu.is-open{opacity:1;visibility:visible;pointer-events:auto}.menu-close{justify-self:end;display:grid;place-items:center;width:24px;height:24px;padding:0;color:#777}.menu-close svg{width:24px;height:24px;display:block}.menu-close path{fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.menu-close:focus-visible{outline:2px solid #111;outline-offset:5px}.menu-links{width:100%;align-self:center;justify-self:stretch;display:grid;justify-items:start;gap:clamp(8px,2.4vw,14px)}.menu-links a{font-family:var(--font-display);font-size:28px;line-height:1.02;font-weight:var(--weight-book);color:#111;text-decoration:none;white-space:nowrap;letter-spacing:-.025em}.menu-links a:focus-visible{outline:2px solid #111;outline-offset:5px}
.menu-close:focus:not(:focus-visible),.menu-link:focus:not(:focus-visible),.menu-links a:focus:not(:focus-visible){outline:none}
html.menu-open{overflow-y:hidden;overscroll-behavior:none}
#projects{display:block;overflow:visible;overscroll-behavior-y:contain;scrollbar-width:none}#projects::-webkit-scrollbar{display:none}
.project{width:100%;min-height:100%;overflow:visible;display:flex;flex-direction:column;background:#fff}
.project:first-of-type{scroll-margin-top:64px}
.project-trigger{height:1px;overflow:hidden;scroll-margin-top:64px}.information{overflow-anchor:none;position:relative;z-index:1;padding:calc(var(--unit) * 5) var(--grid-inset) calc(var(--unit) * 3.5);background:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:calc(var(--unit) * 2);align-items:start}.eyebrow{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);font-size:var(--meta);line-height:calc(var(--unit) * 2);color:#666}.eyebrow span:first-child{font-size:20px;line-height:calc(var(--unit) * 3);color:#111}.eyebrow span:last-child{text-transform:lowercase;text-align:right}.project-title{grid-column:1 / -1;max-width:100%;font-style:normal}.metadata{font-family:var(--type-facts-family);font-weight:var(--type-facts-weight);grid-column:1 / -1;font-size:var(--body);line-height:var(--type-facts-leading);letter-spacing:var(--type-facts-tracking);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;max-height:calc(var(--unit) * 15);max-width:38ch}.metadata p{margin:0}.metadata small{font-size:inherit}
.project:first-child .information{padding-top:calc(var(--unit) * 8)}
.gallery{position:relative;min-height:0;flex:0 0 auto;margin-inline:var(--grid-inset);background:#f7f7f5;overflow:visible;max-height:none;transition:none}.gallery img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;}.gallery img:not(:first-child){display:block;margin-top:8px}.gallery::after,.gallery.is-expanded::before{display:none}.gallery.is-expanded{max-height:none;overflow:visible}.gallery.is-expanded img{display:block;max-height:none}.gallery.is-expanded img:not(:first-child){opacity:1;transform:none}.video-label{display:grid;place-items:center;height:220px;font-size:14px}
.summary{padding:calc(var(--unit) * 4) var(--grid-inset) calc(var(--unit) * 5)}.summary p{font-size:var(--body);line-height:var(--type-body-leading);letter-spacing:var(--type-body-tracking);margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;max-width:38ch}
.eyebrow span{display:flex;flex-direction:column;gap:2px}.eyebrow small{display:none}.metadata::before{display:block;margin-bottom:4px;font-family:var(--font-text);font-size:10px;line-height:16px;letter-spacing:.01em;color:#999;content:attr(data-label)}.eyebrow strong{font:inherit;color:inherit}
@media(min-width:700px){body{max-width:480px;margin:auto;padding-top:64px;box-shadow:0 0 0 1px #ddd}.site-header{max-width:480px;margin:0 auto}html{background:#eee}}
@media(min-width:700px){.site-header .site-title{font-size:32px}.site-intro p{font-size:40px;margin-top:-4px;color:#b0b0b0}}

@media(max-height:740px){.information{padding-top:24px;padding-bottom:24px}}

/* Shared navigation surface and motion preferences. */
html{scrollbar-gutter:stable}
.site-header{background:#fff}
.site-menu{max-width:480px;margin-inline:auto}
.site-menu.is-closing{visibility:visible;pointer-events:none}
.site-menu a{transition:color 160ms ease}.site-menu a:hover{color:#777}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:699px){.site-menu{max-width:none}}
.dummy-media{width:100%;aspect-ratio:4/3;background:#f2f2f0}

/* One content tree: mobile keeps its original flow; desktop pins its placard. */
.project-placard{display:contents}
@media(min-width:1200px){
 :root{--desktop-inset:32px;--desktop-gap:32px;--desktop-band-side:calc((100vw - 2 * var(--desktop-inset)) * .235);--placard-top:clamp(160px,32vh,360px);--placard-frame-height:min(62vh,calc(100svh - 2 * (var(--desktop-inset) + 96px)));--golden-lift:.118;--placard-duration:180ms}
 html{background:#fff}
 body{max-width:none;margin:0;padding:var(--desktop-inset);box-shadow:none}
 .site-header{top:var(--desktop-inset);left:var(--desktop-inset);right:auto;width:calc(var(--desktop-band-side) - var(--desktop-gap));max-width:none;height:auto;margin:0;padding:0;display:block;background:transparent;transform:none}
 .site-header .site-title{font-size:24px;line-height:1.15;letter-spacing:-.025em;padding:0;transform:none}
 .menu-link,.menu-close{display:none}
 .site-intro{position:fixed;top:72px;left:var(--desktop-inset);width:calc(var(--desktop-band-side) - var(--desktop-gap));min-height:0;padding:0}
 .site-intro p{font-size:clamp(20px,1.65vw,30px);line-height:1.15;max-width:14ch;opacity:1;color:#b8b8b8}
 .site-intro-image{display:none}
 .site-menu{inset:auto;top:50%;bottom:auto;left:var(--desktop-inset);width:calc(var(--desktop-band-side) - var(--desktop-gap));max-width:none;max-height:70vh;margin:0;padding:0;display:block;background:transparent;opacity:1;visibility:visible;pointer-events:auto;overflow:visible;transform:translateY(-50%)}
 .menu-links{display:grid;gap:8px}
 .menu-links a{font-size:24px;line-height:1.15;letter-spacing:-.025em;white-space:normal;text-transform:lowercase}
 #projects{margin-inline:var(--desktop-band-side)}
 #projects .project:first-child .gallery{padding-top:0}
 .project{min-height:0;padding-bottom:96px}
 #projects .project:first-child{min-height:100svh;justify-content:center}
 body:not(.project-focus) #projects .project:first-child{padding-bottom:calc(2 * var(--desktop-inset))}
 /* The script sizes this runway so the final gallery's center settles on viewport center. */
 .project:last-child{padding-bottom:var(--last-runway,0px)}
 .project-trigger{display:none}
 .gallery{margin:0;background:transparent}
 .gallery img:not(:first-child){margin-top:16px}
 .video-label{height:auto;min-height:60vh;background:#f7f7f5}
 .project-placard{display:block;position:fixed;top:50%;right:var(--desktop-inset);width:calc(var(--desktop-band-side) - var(--desktop-gap));height:var(--placard-frame-height);max-height:none;overflow:visible;overscroll-behavior:contain;opacity:0;visibility:hidden;transform:translateY(calc(-50% + 4px));transition:opacity var(--placard-duration) var(--motion-ease),transform var(--placard-duration) var(--motion-ease),visibility 0s var(--placard-duration)}
 .project.is-active .project-placard{opacity:1;visibility:visible;transform:translateY(-50%);transition-delay:0s}
 .information,.project:first-child .information{height:100%;padding-top:max(24px,calc(var(--placard-frame-height) * var(--golden-lift)));padding-right:0;padding-bottom:0;padding-left:0;column-gap:16px;align-content:start}
 .eyebrow{font-size:13px;line-height:20px;color:#858585}
 .eyebrow span:first-child{font-size:inherit;line-height:inherit;color:inherit}
 .project-title{text-wrap:balance}
 .metadata{font-size:16px;line-height:var(--type-body-relaxed-leading);display:block;overflow:visible}
 .summary{padding:32px 0 40px}
 .summary p{font-size:16px;line-height:var(--type-body-relaxed-leading);display:block;overflow:visible;color:#666}
}

/* Mobile placard: original elements interpolate directly with native scrolling. */
@media(max-width:1199px){
 .js #projects .featured-summary{padding-inline:var(--grid-inset)}
 .featured-information .eyebrow span:last-child{align-items:flex-end}
 .featured-information .eyebrow span:last-child strong{width:max-content;max-width:100%}
 .js #projects .summary p{opacity:calc(1 - var(--summary-exit,0));transform:scale(var(--summary-scale,1));transform-origin:top left}
 .project > .project-link{margin:24px var(--grid-inset) 0;transition:none;transform:none;box-shadow:none}
 .js #projects{overflow-anchor:none}
 .js #projects .project-placard{display:block;height:var(--slot-height,auto);flex:none;overflow-anchor:none}
 .js #projects .information.is-condensed{position:fixed;z-index:25;top:var(--placard-top);left:0;right:0;width:100%;max-width:480px;margin-inline:auto;height:var(--placard-height);padding:0;display:block;overflow:hidden;transform:translateY(var(--push,0px));opacity:var(--fade,1);filter:blur(var(--blur,0px))}
 .information.is-condensed [data-placard-part]{position:absolute;top:var(--part-top);left:var(--part-left);width:var(--part-width);height:var(--part-height);margin:0}
 .project .information.is-condensed .project-title{font-size:var(--title-size);line-height:var(--title-line);overflow:hidden}
 .information.is-condensed .metadata{opacity:var(--details-opacity);transform:scale(var(--details-scale));transform-origin:top left}
}
@media(max-width:699px){.js #projects .information.is-condensed{max-width:none}}

/* Desktop project wheel: same right grid edge as the museum placard. */
.project-rolodex{display:none}
@media(min-width:1200px){
 :root{--frost-blur:1px;--frost-opacity:.78;--rolodex-step:15px}
 .js .project-rolodex:not([hidden]){display:block;position:fixed;z-index:26;bottom:var(--desktop-inset);left:var(--desktop-inset);width:calc(var(--desktop-band-side) - var(--desktop-gap));height:calc(var(--rolodex-step) * 5);perspective:480px;opacity:.78}
 .rolodex-window{position:relative;width:calc(100% + 16px);height:calc(100% + 16px);margin:-8px;padding:8px;overflow:hidden;mask-image:linear-gradient(transparent,#000 20%,#000 80%,transparent)}
 .rolodex-item{position:absolute;top:calc(50% - var(--rolodex-step) / 2);left:0;max-width:100%;height:var(--rolodex-step);line-height:var(--rolodex-step);padding-inline:4px;font-family:var(--font-display);font-size:clamp(14px,1.1vw,16px);letter-spacing:-.02em;text-align:left;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform-origin:left center;transform:translateY(var(--index-y,0px)) rotateX(var(--index-angle,0deg)) scaleX(var(--index-scale,1));opacity:var(--index-opacity,0);filter:blur(var(--index-blur,0px));transition:transform 300ms cubic-bezier(.2,1.28,.3,1),translate 180ms var(--motion-ease),opacity 160ms var(--motion-ease),filter 160ms var(--motion-ease)}
 .rolodex-item:is(:hover,:focus-visible){translate:3px 0;filter:none!important;opacity:1!important}
 .rolodex-item:active{translate:-1px 0}
 .rolodex-item:focus-visible{outline-offset:-2px}
 .rolodex-item:hover,.rolodex-item:focus-visible{opacity:1}
 body:has(.project-rolodex:not([hidden])) .project-placard{max-height:min(70vh,calc(100svh - 2 * (var(--desktop-inset) + 160px)))}
 .site-title,.site-intro p,.menu-links a{transition:filter 220ms var(--motion-ease),opacity 220ms var(--motion-ease)}
 body:has(.menu-links a:is(:hover,:focus-visible)) .menu-links a:not(:hover):not(:focus-visible),
 body:has(.site-title:is(:hover,:focus-visible)) .menu-links a{filter:blur(var(--frost-blur));opacity:var(--frost-opacity)}
}
/* Keep the desktop homepage clear; retain the rolodex markup and styles for later reuse. */
@media(min-width:768px){.project-rolodex{display:none!important}}
.project-rolodex[hidden]{display:none!important}
@media(min-width:1200px) and (prefers-reduced-motion:reduce){
 .rolodex-item{filter:none}
 body:has(.menu-links a:is(:hover,:focus-visible)) .menu-links a,body:has(.site-title:is(:hover,:focus-visible)) .menu-links a{filter:none}
}

/* Desktop listing placard: a continuous reading stack, followed by its action. */
@media(min-width:1200px){
 #projects .project-placard{height:auto;overflow-y:auto}
 #projects .information{height:auto;padding:0}
 #projects .metadata{font-size:14px;line-height:1.5;max-height:none}
 #projects .metadata::before{font-size:11px;line-height:16px;margin-bottom:8px}
 #projects .summary{padding:24px 0 0}
 #projects .summary p{font-size:15px;line-height:1.5;color:#666;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:7;overflow:hidden}
 #projects .project-placard > .project-link{margin:24px 0 0}
}

/* All desktop placards share the first artwork's centered top-edge anchor. */
@media(min-width:1200px){
 body:not(.project-focus) #projects .project-placard{top:var(--featured-placard-top,var(--desktop-inset));height:auto;max-height:none;overflow:visible;transform:none}
 body:not(.project-focus) #projects .project.is-active .project-placard{transform:none}
 body:not(.project-focus) #projects .summary p{display:block;overflow:visible;-webkit-line-clamp:unset}
}
@media(min-width:1200px) and (max-height:740px){
 body:not(.project-focus) #projects .summary{padding-top:16px}
 body:not(.project-focus) #projects .project-placard > .project-link{margin-top:16px}
}

/* Featured placard copy keeps the Typeset scale ahead of the shared metadata size. */
.metadata.typeset-placard,.featured-inline-metadata.typeset-placard{display:block;max-height:none;overflow:visible;font-family:var(--type-facts-family);font-weight:var(--type-facts-weight);font-size:calc(var(--typeset-size) * 1.125);line-height:var(--type-facts-leading);letter-spacing:var(--type-facts-tracking);font-kerning:normal;font-feature-settings:"kern" 1;text-rendering:optimizeLegibility}
.project-detail-value{font-family:var(--type-facts-family);letter-spacing:var(--type-facts-tracking);font-kerning:normal;font-feature-settings:"kern" 1;text-rendering:optimizeLegibility}
@media(min-width:768px){.metadata.typeset-placard,.featured-inline-metadata.typeset-placard{font-size:var(--typeset-size)}}

/* Isolated review surface for the featured placard Typeset preset. */
.typeset-preview-page{min-height:calc(100svh - 64px);padding:clamp(40px,8vw,96px) var(--grid-inset) 96px;background:#fff}
.typeset-preview-shell{width:min(100%,720px);margin:0 auto}
.typeset-preview-copy{--typeset-size:14px;max-width:28em}
.typeset-preview-copy :is(h1,h2,h3,h4,h5,h6){font-family:var(--typeset-font-heading);font-style:normal;letter-spacing:normal;font-weight:400}
.typeset-preview-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap-content);width:100%;margin-top:var(--gap-section)}
.typeset-preview-card{--typeset-size:14px;min-width:0;display:flex;flex-direction:column;padding:var(--space-4) var(--space-5);border:var(--border-width) solid #d5d5d1;border-radius:var(--radius-card);background:var(--surface-light);box-shadow:inset 0 1px rgb(255 255 255 / .9),inset 0 -1px rgb(0 0 0 / .06),0 1px 2px rgb(0 0 0 / .08)}
.typeset-preview-card :is(h1,h2,h3,h4,h5,h6){font-family:var(--typeset-font-heading);font-style:normal;letter-spacing:normal;font-weight:400}
.typeset-preview-card > header{display:contents}
.typeset-preview-card-eyebrow{display:flex;justify-content:space-between;gap:1em;color:var(--typeset-muted);font-size:.875em;letter-spacing:normal}
.typeset-preview-card-metadata{color:var(--typeset-muted);font-size:.875em}
.typeset-preview-card .token-card-action{display:inline-flex;align-self:flex-end;width:var(--control-width-half);max-width:100%;height:var(--control-height-button);min-height:var(--control-height-button);margin-top:auto;padding:0 var(--space-4)!important;align-items:center;justify-content:space-between;gap:var(--space-3);border:var(--border-width) solid var(--border-color);border-radius:var(--radius-button);font-family:var(--font-family-display);font-size:var(--type-meta-size);font-weight:400;line-height:1;background:var(--surface-light);color:#111;box-shadow:0 1px 2px rgb(0 0 0 / .08);transition:background-color 160ms ease,border-color 160ms ease,box-shadow 160ms ease,transform 220ms var(--motion-ease)}
.typeset-preview-card .token-card-action:hover{background:#efefed;border-color:#c8c8c3;box-shadow:0 2px 4px rgb(0 0 0 / .1);transform:translateY(-1px)}
.typeset-preview-card .token-card-action:focus-visible{outline:2px solid #111;outline-offset:2px}
.typeset-preview-card .token-card-action:active{transform:translateY(0);box-shadow:0 1px 1px rgb(0 0 0 / .08)}
.typeset-preview-subtle-section{margin-top:clamp(48px,8vw,96px);padding-top:clamp(20px,3vw,32px);border-top:1px solid #e6e6e3}
.typeset-preview-subtle-card{width:min(100%,520px);border-color:#d5d5d1;background:var(--surface-light)}
@media(max-width:767px){.typeset-preview-card-grid{grid-template-columns:minmax(0,1fr);gap:var(--space-5);margin-top:var(--space-8)}.typeset-preview-card{padding:var(--space-4)}}
@media(min-width:768px){.typeset-preview-page{padding-inline:var(--inset)}}

/* Token specimen: an intentionally quiet test surface for the new foundation. */
.token-specimen{margin-top:var(--layout-section-gap);padding-top:var(--space-6);border-top:var(--border-width) solid var(--border-color)}
.token-specimen-heading{max-width:var(--layout-readable)}
.token-specimen-heading h2{font:400 clamp(24px,4vw,40px)/var(--type-display-leading) var(--font-family-display);letter-spacing:var(--type-tight-tracking);margin:var(--gap-label-value) 0 var(--gap-heading-body)}
.token-specimen-heading>p:last-child{max-width:38ch;margin:0;color:var(--muted-color);line-height:var(--type-body-leading)}
.token-kicker,.token-specimen-block h3{font-size:var(--type-meta-size);line-height:var(--type-meta-leading);letter-spacing:.02em;color:var(--muted-color);margin:0}
.token-specimen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--layout-grid-gap);margin-top:var(--gap-section)}
.token-specimen-block{min-width:0;padding-top:var(--space-4);border-top:var(--border-width) solid var(--border-color)}
.token-space-list{display:grid;gap:var(--space-2);margin-top:var(--gap-heading-body);font-size:var(--type-meta-size)}
.token-space-list>div{display:grid;grid-template-columns:48px 1fr auto;gap:var(--space-2);align-items:center}
.token-space-swatch{display:block;height:var(--space-2);background:#111;border-radius:var(--radius-small)}.token-space-1{width:var(--space-1)}.token-space-2{width:var(--space-2)}.token-space-4{width:var(--space-4)}.token-space-6{width:var(--space-6)}.token-space-8{width:var(--space-8)}
.token-space-list code{font-family:var(--font-family-mono);font-size:11px;color:var(--muted-color)}
.token-type-stack{display:grid;gap:var(--gap-label-value);margin-top:var(--gap-heading-body)}
.token-type-display{font:400 var(--type-display-size)/var(--type-display-leading) var(--font-family-display);letter-spacing:var(--type-tight-tracking)}
.token-type-body{font:400 var(--type-body-size)/var(--type-body-leading) var(--font-family-body)}
.token-type-meta{font:400 var(--type-meta-size)/var(--type-meta-leading) var(--font-family-body);color:var(--muted-color)}
.token-definition-list{display:grid;gap:0;margin:var(--gap-heading-body) 0 0;font:400 var(--type-body-size)/var(--type-body-leading) var(--font-family-body)}
.token-definition-list>div{display:grid;grid-template-columns:minmax(72px,.7fr) 1.3fr;gap:var(--gap-label-value);padding-block:var(--space-2);border-bottom:var(--border-width) solid var(--border-color)}
.token-definition-list dt{color:var(--muted-color)}.token-definition-list dd{margin:0}
.token-control-row{display:flex;align-items:center;gap:var(--space-4);margin-top:var(--gap-heading-body)}
.token-v2-controls{display:grid;gap:var(--gap-content);margin-top:var(--gap-heading-body)}
.token-v2-controls .ds-v2-button{font-family:var(--font-family-display);font-weight:400}
.token-secondary-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}
.token-secondary-row .ds-v2-button--half{width:100%;min-height:var(--control-height);padding:0 var(--space-4)!important;border:var(--border-width-strong) solid var(--border-color);font-size:var(--type-meta-size)}
.token-secondary-row .token-secondary-dark{background:#111;color:#fff;border-color:#111}
.token-v2-controls .ds-v2-circle-stage{grid-column:auto;gap:var(--space-4);padding:var(--space-5);margin:0;background:#e8e8e4}
.token-v2-controls .ds-v2-button--circle{border-width:var(--border-width-strong)}
.token-icon-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-4);padding:var(--space-5);background:#e8e8e4}
.typeset-preview-page .ds-v2-button--circle{width:var(--control-height);height:var(--control-height);min-height:var(--control-height);aspect-ratio:1;flex:none;padding:0!important;border-radius:50%;background:var(--surface-light);color:#1a1a1a;border-color:#d5d5d1;box-shadow:inset 0 1px rgb(255 255 255 / .9),inset 0 -1px rgb(0 0 0 / .08),0 1px 2px rgb(0 0 0 / .12)}
.typeset-preview-page .ds-v2-button--circle-small{width:var(--control-height-compact);height:var(--control-height-compact);min-height:var(--control-height-compact)}
.typeset-preview-page .ds-v2-button--circle-large{width:var(--space-5);height:var(--space-5);min-height:var(--space-5)}
.typeset-preview-page .ds-v2-button--circle:is(:hover,:focus-visible){background:#fff;border-color:#bdbdb8}
.token-icon-grid .ds-v2-button--circle{width:var(--control-height);min-height:var(--control-height);justify-self:center}
.token-icon-grid .ds-v2-button--circle:nth-child(3n+1){width:var(--control-height-compact);height:var(--control-height-compact);min-height:var(--control-height-compact)}
.token-icon-grid .ds-v2-button--circle:nth-child(3n){width:var(--space-5);height:var(--space-5);min-height:var(--space-5)}
.token-button{display:inline-flex;align-items:center;justify-content:space-between;gap:var(--space-4);min-height:var(--control-height);padding:0 var(--control-padding-inline);border:var(--border-width) solid var(--border-color);border-radius:var(--radius-control);font-family:var(--font-family-display);font-size:var(--type-meta-size);text-decoration:none;transition:background-color 160ms ease,border-color 160ms ease,transform 220ms var(--motion-ease)}
.token-button:hover{background:#f2f2f0;border-color:#aaa;transform:translateY(-1px)}
.token-icon-button{display:grid;place-items:center;width:var(--control-height);height:var(--control-height);padding:0;border:var(--border-width) solid var(--border-color);border-radius:50%;font-size:var(--type-meta-size);background:#f7f7f5}
.token-surface{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);margin-top:var(--gap-content);padding:var(--space-4);border:var(--border-width) solid var(--border-color);border-radius:var(--radius-small);font-size:var(--type-meta-size)}
.token-surface span{color:var(--muted-color)}.token-surface a{text-decoration-color:var(--border-color)}
@media(max-width:767px){.token-specimen-grid{grid-template-columns:1fr;gap:var(--space-7)}.token-specimen{margin-top:var(--space-8)}}

/* Homepage featured text follows the same Typeset stack as the preview card. */
.featured-information{--typeset-size:var(--type-body-compact-size);display:block;font-family:var(--typeset-font-body)}
.featured-information .eyebrow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.5em;margin:0;font-family:var(--typeset-font-body);font-size:var(--typeset-size);line-height:var(--typeset-leading);letter-spacing:var(--typeset-body-tracking);color:var(--typeset-muted)}
.featured-information .eyebrow span:first-child{font-size:inherit;line-height:inherit;color:inherit}
.featured-information .eyebrow span:last-child strong{display:inline-block;padding:4px 8px;border:1px solid var(--border-color);border-radius:var(--radius-control);background:var(--surface-light);color:var(--muted-color);font-size:.875em;line-height:1}
.featured-information .project-title{margin-block-start:var(--space-4)}
.featured-information .featured-inline-metadata{display:grid;width:100%;max-width:34em;margin-block-start:var(--space-2);margin-block-end:0;padding:0;font-size:var(--typeset-size);line-height:var(--typeset-leading);color:var(--typeset-muted)}
.project-metadata{display:grid;gap:var(--space-4)}
.project-metadata::before{display:none}
.project-metadata-lines,.project-screenings-list{display:grid;gap:var(--space-1)}
.project-metadata :is(p,h3){margin:0}
.project-screenings{display:grid;gap:var(--space-1);margin:0}
.project-screenings h3{font-family:var(--type-facts-family);font-size:.75em;font-weight:400;line-height:var(--typeset-leading);letter-spacing:var(--type-facts-tracking);color:var(--typeset-muted)}
.project-screenings small{display:block;font-size:.875em;line-height:inherit}
.featured-summary{--typeset-size:var(--type-body-compact-size);padding:0;font-family:var(--typeset-font-body)}
.featured-summary p{max-width:38ch;line-height:inherit;margin:0}

/* Featured desktop specialization. My Body Being Modern is the primary type reference.
   Facts use Regular/natural tracking; compact summaries use Text Book/body tracking.
   Listing height remains auto; home.js aligns its top with the active artwork.
   Detail flow is static and is owned by projects.css. */
@media(min-width:1200px){
 #projects .featured-placard{display:flex;flex-direction:column;justify-content:flex-start;row-gap:0;min-height:0;padding-bottom:var(--desktop-inset);overflow:visible;background:transparent}
 #projects .featured-placard .information{display:block;height:auto;padding:0;background:transparent}
 #projects .featured-placard .eyebrow{display:flex;justify-content:space-between;gap:1em;margin:0;font-size:.875em;line-height:inherit;color:var(--typeset-muted)}
 #projects .featured-placard .eyebrow span{display:block}
 #projects .featured-placard .eyebrow span:first-child{font-size:inherit;line-height:inherit;color:inherit}
 #projects .featured-placard .eyebrow span:last-child{text-align:right}
 #projects .featured-placard .eyebrow small{display:none}
 #projects .featured-placard .featured-inline-metadata{width:100%;max-width:none;max-height:none;margin-block-start:var(--space-2);margin-block-end:0;padding:0;display:block;overflow:visible;color:var(--typeset-muted)}
 #projects .featured-placard > .summary{height:auto;min-height:0;margin-top:var(--space-6);padding:0;overflow:visible}
 #projects .featured-placard > .summary p{display:block;max-width:none;margin:0;overflow:visible;font-size:1em;line-height:inherit;color:inherit}
 #projects .featured-placard > .project-link{margin:var(--space-4) 0 0}
 #projects .featured-information .featured-inline-metadata{font-size:var(--type-body-size);line-height:var(--type-body-leading)}
}

/* Homepage project actions complete the summary as a quiet editorial link. */
@media(min-width:1200px){
 #projects .featured-placard > .featured-project-action.action-button{align-self:flex-start;width:max-content;margin:var(--space-4) 0 0}
}

/* Mobile cards share one content axis and pause clearly before the next identity. */
@media(max-width:1199px){
 :root{--mobile-masthead-height:var(--space-8);--mobile-content-inset:var(--grid-inset);--mobile-boundary:var(--border-width-strong) solid var(--border-color);--mobile-nav-line:calc(var(--space-6) - var(--border-width-strong))}
 body{padding-top:var(--mobile-masthead-height)}
 .site-header{height:var(--mobile-masthead-height);grid-template-rows:minmax(0,1fr);align-items:center;padding:var(--mobile-content-inset);border-block-end:var(--mobile-boundary)}
 .site-header a{padding:0}
 .site-header .site-title,.site-header .menu-link{font-size:var(--nav);line-height:var(--mobile-nav-line)}
 .site-header .site-title,.project-focus .site-header .site-title{transform:none}
 .site-header .site-title{font-size:var(--space-5);letter-spacing:-.025em}
 /* Text follows the page edge; the invisible target remains comfortable to tap. */
 .site-header .menu-link{display:flex;align-items:center;justify-content:flex-end;justify-self:end;min-width:var(--control-touch-target);min-height:var(--control-touch-target);padding:0;border:0;border-radius:0;background:transparent;color:var(--muted-color);font-family:var(--type-navigation-family);font-size:var(--type-body-size);font-weight:var(--type-navigation-weight);letter-spacing:var(--type-navigation-tracking);line-height:var(--type-body-leading);text-transform:lowercase;cursor:pointer}
 .site-header .menu-link:focus-visible{outline:2px solid #111;outline-offset:2px}
 body.menu-open .site-header{z-index:91;background:#fff}
 /* Fixed to the viewport: opening never changes the document's geometry. */
 .site-menu{position:fixed;inset:var(--mobile-masthead-height) 0 0;z-index:90;width:auto;max-width:none;max-height:none;margin:0;padding:var(--mobile-content-inset) var(--mobile-content-inset) max(var(--space-6),env(safe-area-inset-bottom));display:block;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:0;opacity:0;visibility:hidden;pointer-events:none;transform:none;transition:opacity var(--motion-menu-duration) var(--motion-ease),visibility 0s var(--motion-menu-duration)}
 .site-menu.is-open{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
 .menu-links{width:100%;display:grid;justify-items:stretch;align-content:start;gap:var(--space-2);overflow:visible;min-height:0}
 .menu-links a{display:flex;align-items:center;width:100%;min-height:var(--control-touch-target);padding:var(--space-2) var(--space-3);border:var(--border-width) solid var(--border-color);border-radius:var(--radius-button);background:var(--surface-light);font-family:var(--type-navigation-family);font-size:var(--space-5);font-weight:var(--type-navigation-weight);letter-spacing:var(--type-navigation-tracking);line-height:var(--type-navigation-leading);white-space:normal;text-transform:lowercase;opacity:0;transform:translateY(var(--motion-menu-distance));transition:opacity var(--motion-menu-duration) var(--motion-ease),transform var(--motion-menu-duration) var(--motion-ease)}
 .site-menu.is-open .menu-links a{opacity:1;transform:none}
 .menu-links a:focus-visible{outline:2px solid #111;outline-offset:2px}
 .site-intro{display:none}
 body:not(.project-focus) #projects .project:not(:last-child){padding-bottom:var(--mobile-content-inset);border-block-end:var(--mobile-boundary)}
 body:not(.project-focus) #projects .information{padding:var(--space-7) var(--grid-inset) var(--space-5)}
 body:not(.project-focus) #projects .project:first-child .information{padding-top:var(--space-5)}
 body:not(.project-focus) #projects .gallery{margin-inline-start:var(--mobile-content-inset);margin-inline-end:calc(var(--mobile-content-inset) + var(--space-6))}
 body:not(.project-focus) #projects .featured-summary{padding:var(--space-5) var(--grid-inset) 0}
 body:not(.project-focus) #projects .featured-summary p{margin:0}
 .project-focus .information .eyebrow span:last-child strong{display:inline-block;padding:var(--space-1) var(--space-2);border:var(--border-width) solid var(--border-color);border-radius:var(--radius-control);background:var(--surface-light);color:var(--muted-color);font-size:.875em;line-height:1}
 #projects .project > .featured-project-action.action-button{align-self:flex-start;width:max-content!important;max-width:calc(100% - 2 * var(--grid-inset));box-sizing:border-box;margin:var(--space-4) auto 0 var(--grid-inset)!important}
 .js #projects .information.is-condensed{border-block-end:var(--mobile-boundary)}
}
@media(max-width:767px){body:not(.project-focus) #projects .gallery{margin-inline:var(--mobile-content-inset)}}

/* Tablet opens the mobile composition onto the viewport; phone boundaries stay intentional. */
@media(min-width:700px) and (max-width:1199px){
 html{background:#fff}
 body{max-width:none;margin:0;box-shadow:none}
 .site-header{max-width:none;margin:0;border-block-end:0}
 body:not(.project-focus) #projects .project:not(:last-child){border-block-end:0}
 .js #projects .information.is-condensed{max-width:none}
}

/* Tablet gives the artwork three of four inset-grid columns; the open quarter
   keeps the placard readable without introducing a fixed media width. */
@media(min-width:768px) and (max-width:1199px){
 :root{--tablet-media-span:.75}
 body:not(.project-focus) #projects .gallery{
  width:100%;
  max-width:calc((100% - 2 * var(--grid-inset)) * var(--tablet-media-span));
  margin-inline-start:var(--grid-inset);
  margin-inline-end:0;
 }
}

/* The home ending occupies the same media field as the work above it. */
.home-explore{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);margin:var(--space-8) var(--grid-inset) var(--space-9)}
.home-explore__tile{min-width:0;min-height:clamp(220px,28vw,360px);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:var(--space-6);padding:var(--space-5);border:var(--border-width) solid #30302f;border-radius:var(--radius-card);background:#171717;box-shadow:inset 0 1px rgb(255 255 255 / .08),0 2px 0 #0a0a0a;color:#f7f7f5;text-decoration:none;transition:background-color 220ms var(--motion-ease),transform 220ms var(--motion-ease),box-shadow 220ms var(--motion-ease)}
.home-explore__tile:nth-child(2){background:#242424}
.home-explore__tile:hover{background:#30302f;transform:translateY(-3px);box-shadow:inset 0 1px rgb(255 255 255 / .1),0 5px 0 #0a0a0a}
.home-explore__tile:active{transform:translateY(1px);box-shadow:inset 0 1px rgb(255 255 255 / .08),0 1px 0 #0a0a0a}
.home-explore__tile:focus-visible{outline-offset:5px}
.home-explore__arrow{grid-column:2;grid-row:1;align-self:end;display:block;width:var(--space-5);height:var(--space-5);transition:transform 220ms var(--motion-ease)}
.home-explore__arrow svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter}
.home-explore__tile:is(:hover,:focus-visible) .home-explore__arrow{transform:translateX(4px)}
.home-explore__title{grid-column:1;grid-row:1;align-self:end;max-width:11ch;font-family:var(--font-display);font-size:var(--space-5);font-weight:400;line-height:1.15;letter-spacing:-.025em}
@media(min-width:768px) and (max-width:1199px){.home-explore{width:calc((100% - 2 * var(--grid-inset)) * var(--tablet-media-span));margin-inline-start:var(--grid-inset);margin-inline-end:0}}
@media(min-width:1200px){.home-explore{margin-inline:var(--desktop-band-side)}}
@media(max-width:767px){.home-explore{grid-template-columns:1fr;gap:var(--space-4)}.home-explore__tile{min-height:220px}}
@media(prefers-reduced-motion:reduce){.home-explore__tile,.home-explore__arrow{transition:none}.home-explore__tile:is(:hover,:active){transform:none}.home-explore__tile:is(:hover,:focus-visible) .home-explore__arrow{transform:none}}

/* The final home placard leaves with its image before the ending comes into view. */
@media(min-width:1200px){body:not(.project-focus) #projects[data-home-page] .project:last-child .project-placard{transform:translateY(var(--last-placard-shift,0px));transition:opacity var(--placard-duration) var(--motion-ease),visibility 0s var(--placard-duration)}}

/* Clip horizontally without creating a nested body scroll container: hidden
   computes overflow-y:auto and prevents descendant snap points reaching root. */
html:has(body.home-page),body.home-page{overflow-x:clip}
/* Featured magnetism is paused. Set this switch to y mandatory to resume
   the existing desktop/mobile snap rules and measured targets. */
html:has(body.home-page){--featured-scroll-snap:none}
/* Featured projects are firm destinations when enabled; Works releases
   the page back to free scrolling as the archive enters. */
@media(min-width:1200px) and (prefers-reduced-motion:no-preference){
 html.js:has(body.home-page:not(.works-entered)){scroll-snap-type:var(--featured-scroll-snap,none)}
 #projects[data-home-page] .gallery:not(.is-snap-oversize){scroll-snap-align:center;scroll-snap-stop:always}
}

/* Mobile rests at the complete project identity, before its measured placard
   starts condensing. Snapping the moving image would compete with that flow
   owner. Oversized cards retain native free scrolling; Works has no points. */
@media(max-width:1199px) and (prefers-reduced-motion:no-preference){
 html.js:has(body.home-page:not(.works-entered)){scroll-snap-type:var(--featured-scroll-snap,none);scroll-padding-top:0}
 #projects[data-home-page] .project{scroll-snap-align:start;scroll-snap-stop:always;scroll-margin-top:var(--home-snap-offset,24px)}
}

@media(min-width:1200px) and (prefers-reduced-motion:no-preference){
 /* An oversized snap area permits native scrolling inside the full artwork. */
 #projects[data-home-page] .gallery.is-snap-oversize{scroll-snap-align:start;scroll-snap-stop:always;scroll-margin-block:var(--desktop-inset)}
}
@media(prefers-reduced-motion:no-preference){
 .home-page #works{scroll-snap-align:start;scroll-snap-stop:always}
 html.js:has(body.home-page.works-entered){scroll-snap-type:none}
}

/* Home is the first option in the compact navigation composition only. */
.menu-links .menu-home{display:none}
@media(max-width:1199px){.menu-links .menu-home{display:flex}}
