/* CERAMIC DISCO — an intentionally quiet, image-first catalogue */
:root{color-scheme:light;--ground:#d4d4d4;--ink:#171717;--subtle:#555555;--edge:rgba(0,0,0,.12);--header-height:64px;--footer-height:63px}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overscroll-behavior:none}
body{background:var(--ground);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit;cursor:pointer}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:4px}
button:focus-visible,a:focus-visible{outline:2px solid #c3bcfa;outline-offset:4px}
.site{display:flex;flex-direction:column;width:100%;height:100vh;height:100svh;min-height:330px;overflow:hidden;position:relative}
.topbar{height:var(--header-height);flex:0 0 var(--header-height);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,3.1vw,50px);gap:12px}
.wordmark{display:flex;align-items:center;white-space:nowrap;flex:0 1 auto;min-width:0}
.wordmark img{display:block;width:310px;max-width:100%;height:auto}
.topnav{display:flex;align-items:center;gap:clamp(20px,2.6vw,41px)}
.topnav a{font-size:10px;letter-spacing:.135em;font-weight:400;white-space:nowrap;color:var(--ink)}
.topnav a span{font-size:12px;margin-left:2px;opacity:.75}
.reader{position:relative;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;isolation:isolate;overflow:hidden}
.page-frame{position:relative;flex:none;aspect-ratio:1224 / 792;width:min(calc(100vw - 160px),calc((100svh - 151px) * 1.5454545));background:#c6c6c6;box-shadow:0 1px 16px rgba(0,0,0,.18);overflow:hidden;user-select:none}
.page-frame img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none;transition:opacity .16s ease,transform .19s ease;will-change:opacity,transform}
.page-frame img.turning{opacity:.52;transform:translateX(var(--turn-shift,0px))}
.link-overlays{position:absolute;inset:0;pointer-events:none}
.page-hotspot{position:absolute;display:block;pointer-events:auto;background:transparent;border:0;cursor:pointer}
/* Invisible hotspots: preserve artwork on hover. Only keyboard focus receives an accessible focus outline. */
.page-hotspot:hover{background:transparent;border:0;text-decoration:none}
.page-hotspot:focus-visible{outline:2px solid #fafafa;outline-offset:2px}
.side-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:clamp(45px,6.5vw,110px);height:132px;background:transparent;border:0;color:var(--ink);display:flex;align-items:center;justify-content:center;opacity:.65;transition:opacity .15s ease;color-scheme:light}
.side-arrow span{font-family:Arial,sans-serif;font-weight:200;font-size:24px;line-height:1}
.side-arrow:hover{opacity:1}
.side-arrow:disabled{opacity:.14;cursor:default}
.side-arrow.prev{left:0}.side-arrow.next{right:0}
.enlarge{position:absolute;right:clamp(20px,3.1vw,50px);bottom:21px;color:#555555;background:transparent;border:0;padding:8px 0;font-size:10px;letter-spacing:.12em;line-height:1.5;transition:color .15s ease}
.enlarge:hover{color:var(--ink)}
.enlarge span{font-size:12px;margin-left:2px}
.bottombar{height:var(--footer-height);flex:0 0 var(--footer-height);display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;padding:0 clamp(18px,3.1vw,50px);font-size:9px;letter-spacing:.12em;color:var(--subtle)}
.page-counter{font-size:12px;letter-spacing:.115em;color:var(--ink);font-variant-numeric:tabular-nums;min-width:82px;text-align:center}
.counter-slash{margin:0 7px;color:#73716e}
.footer-right{text-align:right}
.mobile-page-btn{display:none}
.progress-track{height:1px;background:#b8b8b8;flex:0 0 1px}
.progress-fill{width:2.85714%;height:100%;background:#171717;transition:width .18s ease}
.zoom-dialog{padding:0;border:0;max-width:none;max-height:none;width:100vw;height:100vh;height:100dvh;margin:0;background:#d4d4d4;color:#171717;overflow:hidden}
.zoom-dialog::backdrop{background:rgba(0,0,0,.72)}
.zoom-dialog[open]{display:flex;flex-direction:column}
.zoom-toolbar{height:56px;min-height:56px;padding:0 clamp(18px,3.1vw,50px);display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.13em;color:#444444}
.zoom-toolbar button{border:0;background:transparent;padding:10px 0;color:#171717;font-size:10px;letter-spacing:.12em}
.zoom-scroller{flex:1;overflow:auto;display:block;overscroll-behavior:contain;touch-action:pan-x pan-y;background:#cfcfcf}
.zoom-scroller img{display:block;height:auto;max-width:none;margin:0 auto;user-select:none;-webkit-user-drag:none}
.no-js{position:absolute;left:50%;bottom:15px;transform:translateX(-50%);background:#d4d4d4;padding:12px;font-size:13px;text-align:center}
@media (max-width:700px){
 :root{--header-height:55px;--footer-height:70px}
 .topbar{padding:0 18px}.wordmark img{width:min(62vw,245px)}.topnav{gap:16px}.topnav a{font-size:9px;letter-spacing:.055em}
 .page-frame{width:min(calc(100vw - 16px),calc((100svh - 171px) * 1.5454545))}
 .side-arrow,.desktop-hint{display:none}
 .enlarge{bottom:9px;right:18px;font-size:9px}
 .bottombar{padding:4px 19px 6px;gap:8px;align-items:center}
 .footer-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
 .desktop-credit{font-size:9px;letter-spacing:.1em;line-height:1;color:var(--ink)}
 .mobile-page-btn{display:block;background:transparent;border:0;color:var(--ink);font-size:10px;letter-spacing:.1em;padding:8px 0}
 .mobile-page-btn:disabled{opacity:.25}
 .footer-right{text-align:right;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:8px}
 .desktop-credit{display:block;font-size:9px;color:var(--ink)}
 .footer-right .mobile-page-btn{padding:0}
 .mobile-page-btn{color:var(--ink)}
}
@media (max-width:380px){.topnav{gap:10px}.wordmark{font-size:11px}.topnav a{font-size:8.5px}}
@media (max-height:570px) and (min-width:701px){:root{--header-height:45px;--footer-height:45px}.page-frame{width:min(calc(100vw - 160px),calc((100svh - 110px) * 1.5454545))}.side-arrow{height:80px}.enlarge{bottom:2px}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* high-resolution zoom, designed to make the manifesto legible */
.page-frame{cursor:zoom-in}
.zoom-tools{display:flex;align-items:center;gap:14px}
.zoom-tools button{min-width:26px;min-height:35px;padding:6px;font-size:16px;line-height:1}
.zoom-tools button:last-child{font-size:10px;margin-left:16px;white-space:nowrap}
.zoom-tools #zoomLevel{font-size:10px;min-width:36px;text-align:center;letter-spacing:0;font-variant-numeric:tabular-nums}
.zoom-scroller{cursor:grab}
.zoom-scroller:active{cursor:grabbing}
.zoom-scroller img{max-width:none}
@media (max-width:700px){.zoom-toolbar{padding:0 13px}.zoom-tools{gap:8px}.zoom-tools button:last-child{margin-left:3px}.zoom-toolbar{font-size:9px;letter-spacing:.07em}}

/* CERAMIC DISCO V4 | Adriano Regular UI, authored as vector outlines so no font file is distributed. */
.topnav a,.desktop-credit,.enlarge{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
.topnav img{display:block;width:auto;height:15px}
.enlarge{padding:8px 0}
.enlarge img{display:block;height:14px;width:auto}
.desktop-credit img{display:block;width:auto;height:14px}
.page-counter{display:flex;align-items:center;justify-content:center;min-width:82px}
.page-counter img{display:block;height:16px;width:auto}
.mobile-page-btn{align-items:center;gap:6px}
.mobile-page-btn img{display:block;height:14px;width:auto}
.mobile-control-arrow{font:18px/1 Georgia,serif;color:var(--ink)}
.zoom-toolbar #zoomPageLabel img{display:block;height:14px;max-width:40vw;width:auto}
.zoom-toolbar #closeZoom img{display:block;height:14px;width:auto}
#zoomLevel{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.orientation-hint{display:none;position:absolute;bottom:18px;left:18px;align-items:center;gap:9px;opacity:.58;pointer-events:none}
.orientation-hint img{display:block;height:12px;width:auto}
.rotate-icon{display:block;height:17px;width:11px;border:1.1px solid #171717;border-radius:2px;transform:rotate(-36deg);position:relative}
.rotate-icon::after{content:'';display:block;width:3px;height:1px;position:absolute;left:3px;bottom:1px;background:#171717}
@media (max-width:700px){
 .topnav img{height:13px}
 .desktop-credit{min-height:20px}
 .desktop-credit img{height:12px}
 .mobile-page-btn{display:inline-flex;min-height:26px}
 .mobile-page-btn img{height:13px}
 .page-counter img{height:15px}
 .enlarge img{height:13px}
}
@media (max-width:700px) and (orientation:portrait){
 .orientation-hint{display:flex}
}
/* Hand-held landscape: catalogue fills the available height rather than staying phone-portrait sized. */
@media (max-width:950px) and (orientation:landscape) and (max-height:540px){
 :root{--header-height:40px;--footer-height:36px}
 .topbar{padding:0 14px}
 .wordmark img{width:min(34vw,235px)}
 .topnav img{height:12px}
 .page-frame{width:min(calc(100vw - 98px),calc((100svh - 88px) * 1.5454545))}
 .side-arrow{display:flex;width:45px;height:80px}
 .side-arrow span{font-size:20px}
 .bottombar{padding:0 16px;display:grid;grid-template-columns:1fr auto 1fr}
 .footer-left .mobile-page-btn,.footer-right .mobile-page-btn{display:none}
 .footer-right{display:flex;justify-content:flex-end;align-items:center;gap:0}
 .desktop-credit{display:inline-flex;min-height:30px}
 .desktop-credit img{height:12px}
 .page-counter img{height:14px}
 .enlarge{right:14px;bottom:6px}
 .enlarge img{height:12px}
 .orientation-hint{display:none}
 .zoom-toolbar{height:42px;min-height:42px}
}

/* V7: On phones, remove the rotation prompt and the zoom label entirely.
   Keep the page-tap zoom viewer and support pinch-to-zoom. Desktop stays unchanged. */
@media (max-width:700px),
       (max-width:1100px) and (max-height:600px) and (orientation:landscape),
       (hover:none) and (pointer:coarse) {
  .orientation-hint, .enlarge {display:none!important}
}

/* V8 approved MOBILE-ONLY layout – desktop remains unchanged. */
/* The desktop wordmark must be the only wordmark above the mobile breakpoint.
   Higher specificity is required to override the base .wordmark img display rule. */
.wordmark .mobile-wordmark{display:none}
.mobile-footer-links{display:none}
@media (max-width:700px){
 :root{--header-height:88px;--footer-height:145px}
 .topbar{padding:17px 20px 0;align-items:flex-start}
 .wordmark .desktop-wordmark{display:none}
 .wordmark .mobile-wordmark{display:block;width:auto;height:55px;max-width:calc(100vw - 40px)}
 .topnav{display:none}
 .page-frame{width:min(calc(100vw - 16px),calc((100svh - 245px) * 1.5454545))}
 .bottombar{height:var(--footer-height);padding:0 20px 19px;grid-template-columns:1fr auto 1fr;gap:4px;align-items:end}
 .footer-left{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:13px}
 .mobile-footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
 .mobile-footer-links a{display:flex;align-items:center;justify-content:flex-start;min-height:22px}
 .mobile-footer-links img{display:block;width:auto;height:13px}
 .mobile-page-btn{height:25px;min-height:25px;padding:0;line-height:1;align-items:center}
 .footer-left .mobile-page-btn{justify-content:flex-start}
 .footer-right{height:100%;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:0}
 .footer-right .desktop-credit{display:none}
 .footer-right .mobile-page-btn{height:25px;min-height:25px;padding:0;display:inline-flex;align-items:center;justify-content:flex-end}
 .page-counter{height:25px;min-height:25px;display:flex;align-self:end;align-items:center;justify-content:center}
 .progress-track{display:none}
}
