/* Small-screen role system. Desktop values stay in current-typography.css.
   Width controls navigation/density; width AND height control record layout. */
.mobile-menu-toggle,.mobile-menu,.contents-toggle{display:none}
@media(max-width:1199px){
 :root{--margin:16px;--gutter:12px;--text-reading-heading:1.1875rem;--leading-reading-heading:1.473684211;--text-caption:0.8125rem;--leading-caption:1.538461538;--text-information:0.9375rem;--leading-information:1.533333333;--text-reading:1.0625rem;--space-reading-paragraph:1.75rem;--leading-reading-text:1.647058824;--text-record-title:1.125rem;--leading-record-title:1.5;--text-section-title:1.25rem;--leading-section-title:1.4;--text-identity:1.5rem;--leading-identity:1.333333333;--text-lead:1.25rem;--leading-lead:1.5;--text-thumbnail:0.8125rem;--leading-thumbnail:1.384615385;--tracking-information:.005em;--works-columns:3;--archive-columns:2;--compact-header:calc(56px + env(safe-area-inset-top,0px))}
 body.current-design{--margin:inherit;--gutter:inherit;font-size:var(--text-information);line-height:var(--leading-information)}
 body.current-design .page{padding-inline:var(--margin);min-width:0}
 body.current-design .site-header{height:var(--compact-header);min-height:var(--compact-header);padding:env(safe-area-inset-top,0px) var(--margin) 0;display:flex;align-items:center;justify-content:space-between;top:0;gap:16px;position:sticky;z-index:30}
 body.current-design .site-header .main-nav,body.current-design .site-header .utilities{display:none}
 body.current-design .site-header .brand{font-size:0.9375rem;line-height:1.533333333;min-height:44px;display:flex;align-items:center}
 .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:0.9375rem;line-height:1.533333333;padding:0;background:none;border:0;color:var(--ink)}
 .mobile-menu[open]{display:flex;flex-direction:column;position:fixed;inset:0;max-width:none;max-height:none;width:100%;height:100dvh;margin:0;padding:calc(6px + env(safe-area-inset-top,0px)) var(--margin) calc(24px + env(safe-area-inset-bottom,0px));border:0;background:var(--paper);color:var(--ink);overflow-y:auto}
 .mobile-menu::backdrop{background:var(--paper)}
 .mobile-menu-head{display:flex;justify-content:space-between;align-items:center;min-height:44px}
 .mobile-menu-head button,.mobile-menu a{min-height:44px;display:flex;align-items:center;font-size:0.9375rem;line-height:1.533333333}
 .mobile-menu nav{display:flex;flex-direction:column;gap:8px;margin-top:40px}
 .mobile-menu .languages{flex-direction:row;gap:24px;margin-top:32px}
 .mobile-menu [aria-current]{text-decoration:underline;text-underline-offset:4px}
 body.current-design .footer{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:32px var(--margin) calc(24px + env(safe-area-inset-bottom,0px));font-size:var(--text-caption);line-height:var(--leading-caption)}
 .footer a{display:inline-flex;min-height:44px;align-items:center}
 body.current-design .catalogue-page{--gutter:inherit;padding-top:12px}
 body.current-design .catalogue-layout{display:block}
 body.current-design .catalogue-filters{position:static;width:auto;height:auto;max-height:none;overflow:visible;padding:0;margin:0 0 12px}
 body.current-design .catalogue-sidebar-head{display:none}
 body.current-design[data-catalogue-experiment] .catalogue-filters .catalogue-type-nav{display:flex;flex-flow:row wrap;gap:0 20px;margin:0;padding:0}
 body.current-design[data-catalogue-experiment] .catalogue-filters .catalogue-type-nav a{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0;font-size:0.9375rem;line-height:1.533333333}
 body.current-design .catalogue-type-nav .tab-count{font-size:0.8125rem;line-height:1.538461538}
 body.current-design[data-catalogue-experiment] .catalogue-filters .catalogue-sidebar-controls{display:flex;flex-flow:row wrap;align-items:center;gap:0 20px;margin:0;padding:0}
 body.current-design .catalogue-sort,body.current-design .catalogue-view{display:flex;flex-flow:row;align-items:center;gap:8px;margin:0}
 body.current-design .catalogue-sort label,body.current-design .sidebar-view-label{display:none}
 body.current-design[data-catalogue-experiment] .catalogue-filters #catalogue-sort,body.current-design .view-options a{font-size:0.9375rem;line-height:1.533333333;min-height:44px;padding:0}
 body.current-design .view-options{display:flex;gap:16px}
 body.current-design .catalogue-results{min-width:0}
 body.current-design[data-catalogue-experiment] .catalogue-results>.catalogue-search-area{max-width:none;width:100%;margin:0 0 16px}
 body.current-design .search-input-row{min-height:44px}
 body.current-design[data-catalogue-experiment] .catalogue-results .search-input-row #catalogue-query{font-size:1rem;line-height:1.5;min-width:0;min-height:44px}
 body.current-design .search-icon-button{min-width:44px;min-height:44px}
 body.current-design[data-catalogue-layout] .catalogue-page .works-grid:not(.list){display:grid;grid-template-columns:repeat(var(--works-columns),minmax(0,1fr));gap:24px var(--gutter)}
 body.current-design[data-catalogue-layout] .catalogue-page .catalogue-grid:not(.list){display:grid;grid-template-columns:repeat(var(--archive-columns),minmax(0,1fr));gap:24px var(--gutter)}
 body.current-design[data-catalogue-layout] .catalogue-page :is(.works-grid,.catalogue-grid) :is(.art-caption,.art-caption h2,.art-caption p,.art-medium,.result-content h2,.record-meta,.record-type,.result-meta){font-size:0.8125rem;line-height:1.384615385;letter-spacing:.01em}
 body.current-design[data-catalogue-experiment] .catalogue-page .catalogue-grid[data-record-types]:not(.list) :is(.result-content h2,.result-meta,.type-badge,.sample-badge,.result-excerpt,.thumbnail-fallback){font-size:0.8125rem;line-height:1.384615385;letter-spacing:.01em}
 body.current-design .catalogue-page :is(.art-caption h2,.art-medium,.result-content h2,.result-meta,.result-excerpt){overflow-wrap:anywhere}
 body.current-design .catalogue-index{display:block}
 body.current-design .catalogue-index .index-image-panel{display:none}
 body.current-design .catalogue-index .index-record{display:block;min-height:44px;padding:10px 0;font-size:0.9375rem;line-height:var(--leading-information);overflow:visible;white-space:normal}
 body.current-design .index-caption,body.current-design .index-title,body.current-design .index-meta{font-size:0.9375rem;line-height:var(--leading-information);white-space:normal;overflow:visible;max-width:none;transform:none!important;letter-spacing:.005em;overflow-wrap:anywhere}
 body.current-design .index-caption{display:block}
 body.current-design .index-meta{margin-left:8px}
 body:not([data-catalogue-tab="works"]) .index-meta{display:block;margin-left:0}
 body.current-design .index-meta:empty{display:none}
 body.current-design .catalogue-back-top{min-height:44px;--catalogue-bottom-inset:calc(20px + env(safe-area-inset-bottom,0px))}
 body.current-design .about-page-layout,body.current-design .artist-cv-layout{display:block}
 body.current-design .about-page-layout>.about-nav,body.current-design .artist-cv-layout>.cv-category-nav{display:flex;flex-direction:column;position:sticky;top:var(--compact-header);z-index:20;max-height:none;overflow:visible;gap:0;margin:0 0 24px;background:var(--paper)}
 .contents-toggle{display:flex;min-width:44px;min-height:44px;align-items:center;text-align:left;font-size:0.9375rem;line-height:1.533333333;color:var(--ink);padding:0;border:0;background:none}
 body.current-design .about-nav:not([data-expanded]) a,body.current-design .cv-category-nav:not([data-expanded]) a{display:none}
 body.current-design .about-nav a,body.current-design .cv-category-nav a{display:flex;align-items:center;min-height:44px;white-space:normal;font-size:0.9375rem;line-height:1.533333333}
 body.current-design .about-opening,body.current-design .about-section{display:block;scroll-margin-top:calc(var(--compact-header) + 56px)}
 body.current-design .about-page .about-section{margin-bottom:48px}
 body.current-design .about-page .about-work{position:static;padding-top:28px}
 body.current-design .about-work img{max-height:60svh;object-fit:contain}
 body.current-design .about-identity h2,body.current-design .landing-identity h1{font-size:var(--text-identity);line-height:var(--leading-identity)}
 body.current-design .about-section h2,body.current-design .info-section h2{font-size:var(--text-section-title);line-height:var(--leading-section-title);margin-bottom:1rem}
 body.current-design .about-page .about-excerpt,body.current-design .reading-body,body.current-design .contact-page .guide,body.current-design .guide-page .guide{font-size:var(--text-reading);line-height:var(--leading-reading-text);max-width:52ch;letter-spacing:0}
 body.current-design .about-excerpt p,body.current-design .reading-body p{font-size:inherit;line-height:inherit;margin-bottom:var(--space-reading-paragraph)}
 body.current-design .reading-body h2{font-size:1.1875rem;line-height:1.473684211}
 body.current-design .reading-body p.text-endnote{font-size:0.875rem;line-height:1.571428571;margin-bottom:0.75rem}
 body.current-design .reading-body .editorial-quotation footer p{font-size:var(--text-caption);line-height:var(--leading-caption);margin:0}
 body.current-design .artist-landing .landing-opening{display:flex;flex-direction:column;gap:24px;min-height:0;height:auto}
 body.current-design .landing-intro{display:block;order:2;width:100%;max-width:52ch;font-size:var(--text-reading);line-height:var(--leading-reading-text)}
 body.current-design .landing-identity{order:0}
 body.current-design .landing-work{order:1;width:100%;margin:0;min-height:0}
 body.current-design .landing-work-content{width:max-content;max-width:calc(100% - 32px)}
 body.current-design .landing-work img{max-width:100%;max-height:600px;width:auto;height:var(--landing-fit-height,55svh)}
 body.current-design .landing-work[data-optical-align="mass"] img{transform:none}
 body.current-design .landing-copy{order:2;width:100%;max-width:52ch}
 body.current-design .landing-copy p:first-child{font-size:var(--text-lead);line-height:var(--leading-lead)}
 body.current-design .landing-copy p{font-size:var(--text-reading);line-height:var(--leading-reading-text)}
 body.current-design .artist-landing{height:auto;min-height:0;padding:32px 24px}
 body.current-design:has(.artist-landing){--margin:24px}
 body.current-design:has(.artist-landing) :is(.site-header,.footer){padding-inline:24px}
 body.current-design:has(.artist-landing) .footer{padding-block:12px calc(16px + env(safe-area-inset-bottom,0px));gap:4px}
 body.current-design:has(.artist-landing) .footer>span{margin-top:0}
 body.current-design .cv-date-group{grid-template-columns:4.5em minmax(0,1fr);font-size:0.9375rem;line-height:var(--leading-information)}
 body.current-design .system-type-row{grid-template-columns:minmax(0,1fr);gap:8px}
 body.current-design .system-type-caption{font-size:0.8125rem;line-height:1.384615385}
 body.current-design .system-type-supporting{font-size:var(--text-caption);line-height:var(--leading-caption)}
 body.current-design .system-type-readingheading{font-size:1.1875rem;line-height:1.473684211}
 body.current-design .system-type-endnote{font-size:0.875rem;line-height:1.571428571}
 body.current-design .contact-page .guide p,body.current-design .guide-page .guide p{font-size:var(--text-reading);line-height:var(--leading-reading-text);letter-spacing:0;max-width:52ch}
 body.current-design .info-section p{font-size:var(--text-reading);line-height:var(--leading-reading-text);letter-spacing:0;max-width:52ch;margin-bottom:var(--space-reading-paragraph)}
 body.current-design :is(.about-nav,.cv-category-nav)[data-expanded]{position:static}
 body.current-design :is(.about-work,.about-opening,.landing-work) figcaption{font-size:var(--text-caption);line-height:var(--leading-caption)}
 body.current-design .info-page-layout{display:block}
 body.current-design .info-page-content,body.current-design .contact-content,body.current-design .guide-content{min-width:0;max-width:52ch}
}
@media(max-width:359px){:root{--works-columns:2}}
@media(min-width:600px) and (max-width:767px){:root{--margin:24px;--works-columns:4;--archive-columns:3}}
@media(min-width:768px) and (max-width:1199px){
 body.current-design:has(.artist-landing){--margin:40px}
 body.current-design:has(.artist-landing) :is(.site-header,.artist-landing,.footer){padding-inline:40px}
 body.current-design:has(.artist-landing) .footer{flex-direction:row;align-items:center;justify-content:space-between;gap:24px}
}
@media(min-width:768px) and (max-width:1199px){:root{--margin:24px;--gutter:16px;--works-columns:5;--archive-columns:3;--text-reading-heading:1.25rem;--leading-reading-heading:1.5;--text-reading:1.125rem;--space-reading-paragraph:1.875rem;--leading-reading-text:1.666666667;--leading-information:1.846153846;--text-caption:0.875rem;--leading-caption:1.5;--text-identity:1.625rem;--leading-identity:1.384615385;--text-lead:1.375rem;--leading-lead:1.5;--text-section-title:1.375rem;--leading-section-title:1.454545455}body.current-design .about-page .about-section{margin-bottom:64px}body.current-design .reading-body h2,body.current-design .system-type-readingheading{font-size:1.25rem;line-height:1.5}}
@media(min-width:1024px) and (max-width:1199px){:root{--margin:32px;--works-columns:6;--archive-columns:4}}
@media(max-width:1199px) and (max-height:599px){body.current-design .about-page-layout>.about-nav,body.current-design .artist-cv-layout>.cv-category-nav{position:static}}
@media(max-width:1199px),(max-height:639px){
 body.current-design .record-layout{display:flex;flex-direction:column;gap:24px;min-height:0;height:auto}
 body.current-design .record-left,body.current-design .record-reading{display:contents}
 body.current-design .record-caption{display:block;order:0;height:auto;max-height:none;width:100%;overflow:visible;padding:0}
 body.current-design .record-layout>.record-content:not(.is-preview){order:1}
 body.current-design .record-connections{order:2;width:100%;height:auto;max-height:none;overflow:visible;padding:0}
 body.current-design .detail-sequence{order:3;position:static;margin-top:24px;min-height:44px}
 body.current-design .detail-sequence a,body.current-design .detail-sequence [aria-disabled]{min-height:44px;display:inline-flex;align-items:center}
 body.current-design .record-heading h1,body.current-design .preview-heading h2{font-size:1.125rem;line-height:1.5}
 body.current-design .record-information .metadata dd,body.current-design .record-information,body.current-design .record-year,body.current-design .record-author,body.current-design .caption-facts p,body.current-design .related-title,body.current-design .related-meta,body.current-design .record-detail .related-section .related-group-title,body.current-design .related-count,body.current-design .relation-location{font-size:0.9375rem;line-height:var(--leading-information,1.6);letter-spacing:.005em}
 body.current-design .record-detail .related-record{min-height:44px}
 body.current-design .record-content,body.current-design .primary-content,body.current-design .reader-scroll{height:auto;max-height:none;min-height:0;overflow:visible;position:static}
 body.current-design .work-visual{height:auto;min-height:0;max-height:none;display:flex;align-items:center;justify-content:center}
 body.current-design .work-visual>.image-button{width:100%;height:auto;max-width:100%;max-height:var(--compact-work-height,70svh)}
 body.current-design .record-content .work-visual>.image-button img{width:auto;height:auto;max-width:100%;max-height:var(--compact-work-height,70svh);object-fit:contain}
 body.current-design .media-page-index{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;gap:0;justify-content:flex-start}
 body.current-design .media-page-index button{flex:0 0 44px;min-width:44px;min-height:44px;font-size:var(--text-caption);line-height:var(--leading-caption)}
 body.current-design .record-content.preview-origin{display:block}
 body.current-design .record-detail .related-section{margin-top:0}
 body.current-design .record-detail .preview-summary{overflow:visible;height:auto;max-height:none}
 body.current-design .record-content.is-preview{position:fixed;inset:0;z-index:100;width:100%;height:100dvh;max-height:none;display:block;overflow:auto;overscroll-behavior:contain;padding:calc(64px + env(safe-area-inset-top,0px)) var(--margin) calc(32px + env(safe-area-inset-bottom,0px));background:var(--preview-paper,#f5f3ed);transform:none;animation:none}
 body.current-design .is-preview .preview-heading{position:static;display:block;padding:0;margin:0 0 16px}
 body.current-design .preview-actions{display:block;margin-top:12px}
 body.current-design .preview-actions a{display:inline-flex;align-items:center;min-height:44px;font-size:0.9375rem;line-height:1.533333333}
 /* Shared compact close control: 24px strokes, 44px target, centered in 56px bar. */
 body.current-design .detail-close,body.current-design .is-preview .preview-actions .preview-close{position:fixed;left:auto;right:var(--margin);top:calc(6px + env(safe-area-inset-top,0px));width:44px;height:44px;min-width:44px;min-height:44px;padding:0;transform:none}
 body.current-design .is-preview .preview-actions .preview-close{background:var(--preview-paper,#f5f3ed)}
 body.current-design :is(.detail-close,.is-preview .preview-actions .preview-close)::before,body.current-design :is(.detail-close,.is-preview .preview-actions .preview-close)::after{content:'';position:absolute;width:24px;height:1px;background:currentColor;inset:auto;left:10px;top:21px;margin:0;border:0;transform:rotate(45deg);pointer-events:none}
 body.current-design :is(.detail-close,.is-preview .preview-actions .preview-close)::after{transform:rotate(-45deg)}
 body.current-design .is-preview .primary-content,body.current-design .is-preview .reader-scroll{display:block;height:auto;max-height:none;overflow:visible;padding:0}
 body.current-design .is-preview .reading-body{margin-inline:0;max-width:52ch}
 body.current-design.detail-screen .site-header,body.current-design.detail-screen .footer{display:none}
 body.current-design .detail-close{min-width:44px;min-height:44px}
}

/* Compact scan reading: natural-height plate, no inherited desktop centering. */
@media(max-width:1199px){
 body.current-design .record-content .source-preview{display:block;height:auto;min-height:0;max-height:none;padding:0;background:transparent}
 body.current-design .record-content .source-page{display:block;height:auto;min-height:0;margin:0}
 body.current-design .record-content .source-image{display:flex;align-items:flex-start;justify-content:center;height:auto;min-height:0;padding:0}
 body.current-design .record-content .source-image img{display:block;width:auto;height:auto;max-width:100%;max-height:var(--compact-scan-height,70svh);object-fit:contain}
 body.current-design .record-content .source-pagination{margin:12px 0 0;padding:0}
 body.current-design .record-content .source-pagination .media-page-index{margin:0}
}
.record-dialog[data-viewer-type='source']{background:var(--paper);padding:64px 20px max(24px,env(safe-area-inset-bottom));gap:12px}
.record-dialog[data-viewer-type='source'] .touch-photo-numbers{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;max-height:44px}
.record-dialog[data-viewer-type='source'] .touch-photo-numbers button{flex:0 0 44px}
.source-image[data-scan-open]:focus-visible{outline:1px solid currentColor;outline-offset:4px}

@media(max-width:1199px){.mobile-menu-head .mobile-menu-toggle{justify-content:center;padding:0;width:44px;height:44px}.mobile-menu-toggle svg{display:block;flex:none}.mobile-menu-toggle:focus-visible{outline:1px solid currentColor;outline-offset:2px}}

/* Compact catalogue: one navigation row, one utility row. Desktop controls are moved, not copied. */
.compact-view-icon{display:none}
@media(max-width:1199px){
 body.current-design .catalogue-layout[data-compact]>.catalogue-filters{display:none}
 body.current-design .compact-catalogue-heading{position:sticky;top:var(--compact-header);z-index:25;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;margin:0 calc(-1 * var(--margin)) 4px;padding:0 var(--margin);background:var(--paper,#fff)}
 body.current-design[data-catalogue-experiment] .compact-catalogue-heading>.catalogue-type-nav{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:0;width:100%;min-width:0;margin:0;padding:0;background:none}
 body.current-design[data-catalogue-experiment] .compact-catalogue-heading .catalogue-type-nav a{display:flex;align-items:baseline;justify-content:center;gap:3px;min-height:44px;min-width:0;padding:10px 0;margin:0;font-size:0.9375rem;line-height:1.6;white-space:nowrap;text-align:center;box-sizing:border-box}
 body.current-design .compact-catalogue-heading .tab-count{font-size:0.6875rem;line-height:1.636363636;color:var(--muted)}
 body.current-design .compact-search-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;background:none;color:var(--ink)}
 body.current-design .compact-search-toggle svg{width:20px;height:20px}
 body.current-design .compact-search-toggle:focus-visible{outline:1px solid var(--ink);outline-offset:-2px}
 body.current-design .compact-catalogue-tools{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0 0 24px}
 body.current-design[data-catalogue-experiment] .compact-catalogue-tools>.catalogue-search-area{width:100%;max-width:none;margin:4px 0 8px;scroll-margin-top:116px}
 body.current-design .compact-catalogue-tools>.catalogue-search-area[hidden]{display:none!important}
 /* The focused input uses the full search underline, without a second inner box. */
 body.current-design .compact-catalogue-tools .catalogue-search-area #catalogue-query:focus-visible{outline:none}
 body.current-design .compact-catalogue-tools .search-input-row:has(#catalogue-query:focus){border-bottom-color:var(--ink);box-shadow:0 1px 0 var(--ink)}
 body.current-design .compact-catalogue-tools .catalogue-search-area .catalogue-search .search-icon-button{flex-basis:44px;min-width:44px;min-height:44px}

 body.current-design[data-catalogue-experiment] .compact-catalogue-tools>.catalogue-sidebar-controls{display:flex;flex-flow:row wrap;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin:0;padding:0}
 body.current-design :is(.compact-catalogue-tools,.compact-catalogue-heading) .catalogue-sort{flex:0 1 auto;width:auto;max-width:calc(100% - 104px);margin:0}
 body.current-design :is(.compact-catalogue-tools,.compact-catalogue-heading) #catalogue-sort{width:auto;max-width:100%;min-height:44px;margin:0;padding:0 24px 0 0;font-size:0.9375rem;line-height:1.533333333}
 body.current-design :is(.compact-catalogue-tools,.compact-catalogue-heading) .catalogue-view{margin:0 0 0 auto}
 body.current-design :is(.compact-catalogue-tools,.compact-catalogue-heading) .view-options{display:flex;gap:4px}
 body.current-design :is(.compact-catalogue-tools,.compact-catalogue-heading) .view-options a{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;color:var(--muted);text-decoration:none;background:none}
 body.current-design :is(.compact-catalogue-tools,.compact-catalogue-heading) .view-options a[aria-current="true"]{color:var(--ink);background:#f0efeb;text-decoration:none}
 body.current-design :is(.compact-catalogue-tools,.compact-catalogue-heading) .view-options a:focus-visible{outline:1px solid var(--ink);outline-offset:-2px}
 body.current-design :is(.compact-catalogue-tools,.compact-catalogue-heading) .view-options .view-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 body.current-design :is(.compact-catalogue-tools,.compact-catalogue-heading) .compact-view-icon{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.25}
 body.current-design :is(.compact-catalogue-tools,.compact-catalogue-heading) .results-query{display:none}
 body.current-design :is(.compact-catalogue-tools,.compact-catalogue-heading) .results-count:not(.sr-only){flex:1 0 max-content;min-width:max-content;margin:0;color:var(--muted);white-space:nowrap}
 body.current-design :is(.compact-catalogue-tools,.compact-catalogue-heading) .results-count:not(.sr-only)+.catalogue-sort{max-width:58%;margin-left:auto}
 body.current-design .catalogue-layout[data-keyboard-open]>.compact-catalogue-heading{position:static}
 body.current-design .catalogue-results{scroll-margin-top:calc(var(--compact-header) + 60px)}
 body.current-design .site-header{background:var(--paper);backdrop-filter:none;-webkit-backdrop-filter:none}
 body.current-design .site-header::before,body.current-design .site-header::after{content:none}
}
@media(min-width:768px) and (max-width:1199px){
 body.current-design .compact-catalogue-heading{min-height:56px;gap:12px;margin-bottom:28px}
 body.current-design[data-catalogue-experiment] .compact-catalogue-heading>.catalogue-sidebar-controls{display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-end;gap:24px;flex:1;min-width:0;padding:0;margin:0}
 body.current-design .compact-catalogue-heading .catalogue-sort{max-width:200px}
 body.current-design .compact-catalogue-heading .catalogue-view{margin:0}
 body.current-design .compact-catalogue-heading .results-count:not(.sr-only){flex:0 1 auto;font-size:0.8125rem}
 body.current-design .compact-catalogue-tools{margin:0}
 body.current-design .compact-catalogue-tools[data-search-open]{flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px 32px;margin:0 0 28px}
 body.current-design[data-catalogue-experiment] .compact-catalogue-tools>.catalogue-search-area:not([hidden]){flex:1 1 280px;max-width:400px;margin:0}
 body.current-design[data-catalogue-experiment] .compact-catalogue-tools>.catalogue-sidebar-controls{flex:1 1 320px}
}
@media(max-width:1199px) and (max-height:599px){body.current-design .compact-catalogue-heading{position:static}}

/* Compact review, 2026-10-30: shared controls, no changes to desktop proportions. */
.media-direct-picker{display:none}
.preview-repeated-title{display:none}
@media(max-width:1199px),(max-height:639px){
 body.current-design .preview-repeated-title{display:block}
 /* Fixed opaque close bar stays above scrolling prose without hiding the control. */
 body.current-design .record-content.is-preview{scroll-padding-top:calc(64px + env(safe-area-inset-top,0px))}
 body.current-design .record-content.is-preview::before{content:"";position:fixed;inset:0 0 auto;height:calc(56px + env(safe-area-inset-top,0px));background:var(--preview-paper,#f5f3ed);z-index:3;pointer-events:none}
 body.current-design .is-preview .preview-actions .preview-close{z-index:4}
 body.current-design .media-direct-picker{display:flex;align-items:center;gap:8px;min-height:44px;font-size:0.9375rem;line-height:1.533333333;color:var(--muted);margin-top:12px}
 body.current-design .media-direct-picker select{font:inherit;color:var(--ink);background:transparent;border:0;min-height:44px;min-width:64px;padding:0 8px}
 body.current-design .media-many-pages{display:none}
 body.current-design .media-direct-picker select:focus-visible{outline:1px solid var(--ink);outline-offset:2px}
}
@media(max-width:1199px){
 body.current-design .artist-landing .landing-opening{gap:40px}
 body.current-design .artist-landing .landing-work{padding-top:0}
 body.current-design .artist-landing .landing-identity{margin-bottom:16px}
 body.current-design .about-section{display:flex;flex-direction:column}
 body.current-design .about-section .about-copy{display:contents}
 body.current-design .about-section h2{order:0;margin-bottom:1rem}
 body.current-design .about-section .about-work{order:1;padding-top:0;margin:0 0 clamp(32px,4.8vw,40px)}
 body.current-design .about-section .about-excerpt{order:2}
 body.current-design .cv-caption-context{display:block;color:var(--muted)}
 body.current-design .cv-caption-dot{display:none}
 body.current-design .cv-entry a{display:block;min-height:44px}
 body.current-design .contact-address a{display:inline-flex;align-items:center;min-height:44px;font-size:var(--text-reading);line-height:var(--leading-reading-text)}
 body.current-design .catalogue-page :is(.works-grid,.catalogue-grid):not(.list) .thumbnail-fallback[data-thumbnail-type="source"]{height:auto;aspect-ratio:4/5;min-height:0;max-height:160px;width:100%;max-width:128px}
}


@media(max-width:1199px),(max-height:639px){
 /* Emergency wrapping for unspaced source strings; preserve normal word boundaries. */
 body.current-design :is(.about-page,.cv-page,.record-detail) :is(h1,h2,h3,p,blockquote,figcaption,dt,dd,li,.related-title,.related-meta,.preview-summary,.cv-entry,.record-meta){overflow-wrap:anywhere}
}

/* Result-start focus is shown at the search region, not around the entire long list. */
.catalogue-results:focus-visible{outline:none}
.catalogue-results:focus-visible .catalogue-search{outline:1px solid var(--ink);outline-offset:3px}

/* Tablet works retain full image proportions while revealing related records sooner. */
@media(min-width:768px) and (max-width:1199px){
 body.current-design .record-detail{--compact-work-height:65svh}
}

/* Landscape tablet previews leave room for the scan selector below the plate. */
@media(min-width:768px) and (max-width:1199px) and (orientation:landscape){
 body.current-design .record-content.is-preview{--compact-scan-height:65svh}
}

/* Landing orientation study: keep the default landscape stack; opt in to split. */
@media(min-width:768px) and (max-width:1199px) and (orientation:portrait){
 body.current-design .artist-landing .landing-opening{gap:64px}
}
@media(min-width:768px) and (max-width:1199px) and (orientation:landscape){
 body.current-design .artist-landing .landing-opening{gap:28px}
 body.current-design .artist-landing[data-landing-layout="split"] .landing-opening{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:56px;align-items:center}
 body.current-design .artist-landing[data-landing-layout="split"] .landing-work{grid-column:1;grid-row:1;order:0}
 body.current-design .artist-landing[data-landing-layout="split"] .landing-intro{grid-column:2;grid-row:1;order:0;max-width:36ch;justify-self:start}
 body.current-design .artist-landing[data-landing-layout="split"] .landing-work-content{max-width:100%}
}

/* Selected landing: artwork first, introduction second; compact footer follows first screen. */
@media(min-width:1200px){
 body.current-design .artist-landing .landing-work{grid-column:1/span 6;grid-row:1}
 body.current-design .artist-landing .landing-intro{grid-column:8/span 5;grid-row:1}
}
@media(max-width:1199px){
 body.current-design .artist-landing{box-sizing:border-box;min-height:calc(100svh - 56px);flex-shrink:0}
 body.current-design:has(.artist-landing) .footer{margin-top:0}
}
/* Desktop landing: give the plate breathing room and balance its caption below. */
@media(min-width:1200px) and (min-height:640px){
 body.current-design .artist-landing{padding-block:48px 24px}
 body.current-design .artist-landing .landing-work img{max-height:min(62svh,600px,calc(100svh - 280px))}
}

/* Always-visible compact contents, shared by About and CV. */
@media(max-width:1199px){
 body.current-design .about-page-layout>.about-nav,body.current-design .artist-cv-layout>.cv-category-nav{flex-direction:row;flex-wrap:nowrap;align-items:center;gap:24px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding-block:4px;scroll-padding-inline:8px}
 body.current-design :is(.about-nav,.cv-category-nav)::-webkit-scrollbar{display:none}
 body.current-design .about-nav:not([data-expanded]) a,body.current-design .cv-category-nav:not([data-expanded]) a{display:flex;flex:0 0 auto;white-space:nowrap;min-height:44px;padding-block:6px}
 body.current-design .about-nav a[href="#about-introduction"]{display:none}
 body.current-design :is(.about-nav,.cv-category-nav) a:focus-visible{outline-offset:-2px}
}

.contents-track{display:contents}.contents-edge{display:none}
@media(max-width:1199px){
 body.current-design .about-page-layout>.about-nav,body.current-design .artist-cv-layout>.cv-category-nav{gap:0;overflow:visible}
 .contents-track{display:flex;align-items:center;gap:24px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none;scroll-padding-inline:8px}
 .contents-track::-webkit-scrollbar{display:none}
 body.current-design :is(.about-nav,.cv-category-nav)[data-overflow] .contents-edge{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:0;background:transparent;color:var(--muted);padding:0}
 .contents-edge:disabled{visibility:hidden}
 .contents-edge span{display:block;width:7px;height:7px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg)}
 .contents-edge-previous span{transform:rotate(-135deg)}
 .contents-edge:focus-visible{outline:1px solid var(--ink);outline-offset:-3px}
}
/* Compact section navigation starts under the GNB, so it does not drift before sticking. */
@media(max-width:1199px) and (min-height:600px){
 body.current-design :is(.about-page,.cv-page){padding-top:0}
}
@media(max-width:1199px){body.current-design :is(.about-nav,.cv-category-nav)[data-overflow] .contents-edge:disabled{display:none}}
/* The top viewer uses the same thin close mark as compact detail and preview. */
.touch-viewer-close{font-size:0!important;top:calc(6px + env(safe-area-inset-top,0px));display:flex;align-items:center;justify-content:center}
.touch-viewer-close::before,.touch-viewer-close::after{content:"";position:absolute;width:24px;height:1px;background:currentColor;transform:rotate(45deg);pointer-events:none}
.touch-viewer-close::after{transform:rotate(-45deg)}

/* Horizontal gallery gestures keep vertical document scrolling and browser pinch available. */
.record-content :is(.work-visual>.image-button,.source-image){touch-action:pan-y pinch-zoom}
/* Informational prose follows Korean word units rather than splitting syllables. */
body.current-design :is(.contact-page,.guide-page,.info-page) .guide p{word-break:keep-all;overflow-wrap:anywhere;text-wrap:pretty}

