/* Shared interface for every H.D Galerie page.
   Catalogue interiors keep the typography and composition of the original PDFs. */
:root{--hd-display:'Arial Black',Arial,sans-serif;--hd-body:'Helvetica Neue',Helvetica,Arial,sans-serif;--hd-gutter:clamp(20px,3.75vw,64px);--hd-max-width:1480px;--hd-line:#ccc;--hd-muted:#666}
body.hd-site{font-family:var(--hd-body);color:#111;background:#fff}
.hd-site>header{max-width:var(--hd-max-width);margin-inline:auto;padding-inline:var(--hd-gutter)}
/* Keep the common navigation available while scrolling interior pages.
   Reserve its original height; the approved video homepage owns its overlay. */
body.hd-site:not(:has(.hv-hero)){--hd-header-height:88px;padding-top:var(--hd-header-height)}
body.hd-site:not(:has(.hv-hero))>header{
 position:fixed;inset:0 0 auto;z-index:20;width:100%;max-width:none;margin:0;
 height:var(--hd-header-height);
 padding-inline:max(var(--hd-gutter),calc((100% - var(--hd-max-width))/2 + var(--hd-gutter)));
}
/* Secondary navigation and sticky artwork images sit below the main menu. */
body.hd-site:not(:has(.hv-hero)) .em-nav{top:var(--hd-header-height)}
body.hd-site:not(:has(.hv-hero)) .em-catalogue-panel{scroll-margin-top:110px}
body.hd-site:not(:has(.hv-hero)) .work-stage{top:calc(var(--hd-header-height) + 28px)}
body.hd-site:not(:has(.hv-hero)) .gallery-story figure{top:calc(var(--hd-header-height) + 32px)}
@media(max-width:700px){
 body.hd-site:not(:has(.hv-hero)){--hd-header-height:76px}
 body.hd-site:not(:has(.hv-hero)) #navigation.open{
  position:fixed;top:var(--hd-header-height);left:0;right:0;
  height:calc(100dvh - var(--hd-header-height));
 }
}
/* The exhibition links wrap to three rows on the narrowest phone screens. */
@media(max-width:380px){
 body.hd-site:not(:has(.hv-hero)) .exhibit-model :is(.em-section,.em-catalogue-panel){scroll-margin-top:152px}
}
.hd-site>main{max-width:var(--hd-max-width);margin-inline:auto}
.hd-site #navigation{font-family:var(--hd-body)}
.hd-site #navigation>a{font-family:var(--hd-body);letter-spacing:.02em}
.hd-site #navigation>a[aria-current]::after{width:100%}
.hd-site #language{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:12px}
.hd-site .breadcrumb{margin-inline:var(--hd-gutter);font-family:var(--hd-body);font-size:11px;line-height:1.6;flex-wrap:wrap;overflow-wrap:anywhere}
.hd-site .breadcrumb>a{display:inline-flex;align-items:center;min-height:32px}
.hd-site main>.section,.hd-site .work-detail{margin-inline:var(--hd-gutter)}
.hd-site[data-page-kind=artwork] .work-information h1,.hd-site[data-page-kind=edition] .work-information h1{font-family:var(--hd-display);font-weight:900;font-size:clamp(32px,3.8vw,54px);line-height:1.12;letter-spacing:-.045em;overflow-wrap:anywhere}
.hd-site .work-information,.hd-site .work-stage{min-width:0}
/* On phones, keep the zoom caption in its own row below the complete image. */
@media(max-width:700px){
 .hd-site[data-page-kind="artwork"] .work-stage .zoom-trigger,
 .hd-site[data-page-kind="edition"] .work-stage .zoom-trigger{flex-direction:column;gap:12px;min-height:0}
 .hd-site[data-page-kind="artwork"] .work-stage .zoom-hint,
 .hd-site[data-page-kind="edition"] .work-stage .zoom-hint{position:static;inset:auto;width:100%;flex:none;margin:0}
}
.hd-site .work-information .artist-back{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.hd-site .verified-work-specs dd{min-width:0;overflow-wrap:anywhere}
.hd-site:not([data-page-kind=catalogue]) .contact-strip h2{font-family:var(--hd-display);font-weight:900;line-height:1.15;letter-spacing:-.04em}
.hd-site:not([data-page-kind=catalogue]) :is(.text-link,.av-link,.gv-link,.hp-link,.wv-advice,.pathway-link){font-family:var(--hd-body);font-size:12px;line-height:1.5;min-height:44px;gap:24px}
.hd-site:not([data-page-kind=catalogue]) :is(.text-link,.av-link,.gv-link,.hp-link,.wv-advice,.pathway-link):hover{gap:24px}
.hd-site:not([data-page-kind=catalogue]) :is(.text-link,.av-link,.gv-link,.hp-link,.wv-advice,.pathway-link)>span[aria-hidden=true]{font-family:var(--hd-body);font-size:20px;line-height:1;transform:none}
.hd-action-arrow{white-space:nowrap}
/* Keep the approved desktop glyph. Touch/mobile devices use a monochrome
   vector, independent of iOS emoji fonts. Existing outer styles and hover
   transforms still control the arrow, with no new hit target. */
.hd-arrow-glyph{display:contents!important}
.hd-arrow-icon{display:none!important;pointer-events:none}
@media(max-width:1024px),(any-pointer:coarse),(hover:none){
 /* Decorative arrows add no action to the mobile enquiry button. */
 .solid-button>span[aria-hidden="true"]{display:none!important}
 .hd-arrow-glyph{display:none!important}
 .hd-arrow-icon{display:inline-block!important;width:1em;height:1em;max-width:none;vertical-align:-.15em;color:inherit}
}
.hd-site :is(a,button,input,select,summary):focus-visible{outline:2px solid currentColor;outline-offset:5px}
.hd-site .site-footer{max-width:var(--hd-max-width);margin:72px auto 0;padding:0 var(--hd-gutter) 28px;background:white;color:#111;font-family:var(--hd-body)}
.hd-site .site-footer-info{border-top:1px solid #ddd;padding-top:28px;display:flex;justify-content:space-between;gap:16px;font-size:12px;line-height:1.7}
.hd-site .site-footer .footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;padding-top:24px;gap:12px 22px;font-size:11px}
.hd-site .site-footer .footer-bottom a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere}
.hd-site .site-footer .footer-bottom img{width:64px;height:auto;filter:none}
.hd-site .site-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.hd-site .prototype{font-family:var(--hd-body);font-size:11px;line-height:1.6;padding:12px var(--hd-gutter);color:var(--hd-muted)}
.hd-site .error-page{margin:70px var(--hd-gutter) 100px;min-height:45vh;max-width:1050px}
.hd-site .error-page h1{font-family:var(--hd-display);font-size:clamp(40px,7vw,104px);font-weight:900;line-height:1.05;letter-spacing:-.055em;margin:24px 0 30px;overflow-wrap:anywhere}
.hd-site .error-page>p:not(.eyebrow){font-size:17px;line-height:1.8;max-width:55ch}
.hd-site .error-links{display:flex;flex-wrap:wrap;gap:24px;margin-top:30px}
@media(max-width:1000px){.hd-site>header{gap:20px}.hd-site #navigation{gap:22px}}
@media(max-width:700px){
 .hd-site>header{height:76px}
 .hd-site #navigation.open{overflow-y:auto;overscroll-behavior:contain;padding:24px var(--hd-gutter) 40px;height:calc(100dvh - 76px)}
 .hd-site #navigation>a{font-family:var(--hd-display);font-size:clamp(26px,7.7vw,38px);font-weight:900;line-height:1.2;letter-spacing:-.04em;min-height:48px;padding:8px 0;width:fit-content}
 .hd-site #navigation>a[aria-current]::after{bottom:4px}
 .hd-site .breadcrumb{font-size:10px;gap:8px;margin-block:18px}
 .hd-site[data-page-kind=artwork] .work-information h1,.hd-site[data-page-kind=edition] .work-information h1{font-size:clamp(30px,8.2vw,42px);letter-spacing:-.04em}
 .hd-site:not([data-page-kind=catalogue]) :is(.text-link,.av-link,.gv-link,.hp-link,.wv-advice,.pathway-link){font-size:11px;gap:20px}
 .hd-site:not([data-page-kind=catalogue]) :is(.text-link,.av-link,.gv-link,.hp-link,.wv-advice,.pathway-link):hover{gap:20px}
 .hd-site .site-footer{margin-top:56px;padding-bottom:20px}
 .hd-site .site-footer-info{display:block;font-size:11px}
 .hd-site .site-footer-info>p+p{margin-top:6px}
 .hd-site .site-footer .footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:20px;row-gap:4px;align-items:center}
 .hd-site .site-footer .footer-bottom>a:first-child{grid-column:1/-1;margin-bottom:10px}
 .hd-site .site-footer .footer-bottom>span{font-size:10px}
 .hd-site .error-page{margin-top:42px;margin-bottom:64px}
 .hd-site .error-page h1{font-size:clamp(34px,9.4vw,60px)}
 .hd-site .error-page>p:not(.eyebrow){font-size:15px}
}
@media(prefers-reduced-motion:reduce){.hd-site{scroll-behavior:auto}.hd-site *, .hd-site *::before,.hd-site *::after{transition:none!important;animation:none!important}}
/* Retained artwork templates: intrinsic image widths must not expand related grids. */
.hd-site .work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.hd-site .work-grid.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hd-site .work-card,.hd-site .work-card-caption>div{min-width:0}
.hd-site .work-card-caption>div{overflow-wrap:anywhere}
@media(max-width:700px){.hd-site .work-grid,.hd-site .work-grid.related-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.hd-site .work-card-image{width:100%;min-width:0;min-height:0}
.hd-site .work-card-image img{height:100%;max-height:100%;object-fit:contain}

/* Approved white presentation: preserve artwork colours and proportions. */
.hd-site[data-page-kind="artwork"] .work-stage,.hd-site[data-page-kind="edition"] .work-stage{background:#fff}

/* Six section titles share the approved "La galerie" scale.
   Viewport width is the only size input: never title length or language.
   Page-specific margins, containers and the rest of the hierarchy stay local. */
#main h1.hd-main-title{
 font-family:var(--hd-display);
 font-size:clamp(44px,10.6vw,152px);
 font-weight:900;
 font-style:normal;
 letter-spacing:-.065em;
 line-height:1;
 text-transform:uppercase;
 white-space:normal;
 word-break:normal;
 overflow-wrap:break-word;
 text-wrap:wrap;
}
@media(max-width:700px){
 #main h1.hd-main-title{font-size:clamp(38px,10vw,70px)}
}
