/* /interior-spaces.css */
/* Shared interior spacing, measured from the lower edge of the search header.
   The individual works retain their own proportions and reading order. */
body.house-page {
  --entrance-top:clamp(1.6rem,4vw,4.25rem);
  --entrance-bottom:clamp(2.8rem,6.4vw,6rem);
  --reading-inset:clamp(1.2rem,4.5vw,4.75rem);
  --chapter-air:clamp(2.2rem,5.5vw,5.4rem);
  --copy-gap:clamp(.85rem,1.8vw,1.65rem);
}
html body.house-page main.audience-guide.interior-main {
  width:min(calc(100% - var(--reading-inset) * 2),72rem);
  margin-block-start:var(--entrance-top);
}
html body.house-page main.interior-main > .house-return {
  margin-block-start:var(--entrance-top);
  margin-block-end:.7rem;
}
html body.house-page main.interior-main > .interior-opening {
  position:relative;
  isolation:isolate;
  min-width:0;
}
html body.house-page main.interior-main > .interior-opening:is(.primary-opening,.tools-opening,.artist-opening,.client-opening,.commissions-heading) {
  padding-block-start:var(--entrance-top);
  padding-block-end:var(--entrance-bottom);
}
html body.house-page main.interior-main > .interior-opening:is(.guide-cover,.sculpture-pair,.artist-services-intro,.case-intro) {
  padding-block-start:clamp(.3rem,1.3vw,1.2rem);
  padding-block-end:clamp(1.3rem,3.4vw,3rem);
  margin-block-end:clamp(1.4rem,3.8vw,3.6rem);
}
html body.house-page main.interior-main :where(.guide-intro,.case-title,.primary-copy,.tools-introduction,.commission-intro) > p:not([class]) {
  max-width:48ch;
  text-wrap:pretty;
}
html body.house-page main.interior-main > .interior-opening:is(.page-light,.guide-cover,.sculpture-pair)::before,
html body.house-page main.interior-main > .interior-opening:is(.page-light,.guide-cover,.sculpture-pair)::after,
html body.house-page main.interior-main > .interior-opening > .page-light::before,
html body.house-page main.interior-main > .interior-opening > .page-light::after {
  content:none;
}
@media(max-width:760px) {
  body.house-page {
    --entrance-top:clamp(1.25rem,5vw,2.1rem);
    --entrance-bottom:clamp(2.15rem,7vw,3.4rem);
  }
  html body.house-page main.audience-guide.interior-main {margin-block-start:var(--entrance-top)}
  html body.house-page main.interior-main > .interior-opening:is(.guide-cover,.sculpture-pair,.artist-services-intro,.case-intro) {
    padding-block-start:.25rem;
    padding-block-end:1.1rem;
    margin-block-end:1.6rem;
  }
}

body.house-page {
  --department-title:clamp(2.65rem,calc(.65rem + 4.85vw),5.3rem);
  --reader-title:clamp(2.25rem,calc(.65rem + 3.65vw),4.2rem);
  --utility-title:clamp(2rem,calc(.6rem + 3vw),3.55rem);
}
html body.house-page main[id] :is(.tools-opening,.commissions-heading,.shop-primary,.about-primary,.field-opening,.artist-opening) {
  --interior-title-size:var(--department-title);
}
html body.house-page main[id] h1:not(.studio-silver-title):not(.lab-signature h1) {
  max-width:22ch;
  margin-block-start:0;
  font-family:ArtistSans,HouseSans,Arial,sans-serif;
  font-size:var(--interior-title-size,var(--reader-title));
  line-height:var(--interior-title-leading,1.025);
  font-weight:500;
  letter-spacing:-.047em;
  text-wrap:balance;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
html body.house-page main[id] :is(.guide-intro,.intro,.tools-introduction) h1 :is(b,em,span:not([class])) {
  font-family:inherit;
  font-size:1em;
  line-height:inherit;
  letter-spacing:inherit;
  text-transform:inherit;
}
html body.house-page main[id] :is(.guide-intro,.intro) h1 :is(em,b) {font-style:normal}
html body.house-page main[id] :is(.guide-intro,.intro) h1 b {font-weight:560}
html body.house-page main[id] :is(.guide-intro,.intro) h1 em {font-weight:400}
html body.house-page main[id] .sculpture-heading {
  --interior-title-size:var(--utility-title);
  --interior-title-leading:1.075;
  min-height:0;
  margin-block:var(--entrance-top) .85rem;
  gap:.7rem;
}
html body.house-page main[id] .sculpture-heading h1 {margin:0}
html body.house-page main[id] .sculpture-heading > .house-sculpture {width:clamp(2.75rem,5vw,4.25rem);height:auto}
html body.house-page main[id] > .interior-opening > :is(.service-plate,.object-study,.cardinal-plate) {
  max-inline-size:min(100%,40rem);
  justify-self:center;
}
html.has-house-index[data-theme] body.lab-page #lab-main > .lab-primary.interior-opening {
  padding-block-start:calc(var(--mobile-top,.7rem) + var(--mast-line,56px) + var(--entrance-top));
  padding-block-end:var(--entrance-bottom);
}
html body.lab-page #lab-main .lab-primary.interior-opening > .lab-imprint {
  padding-block:0;
}
html body.house-page .about-woodland.woodland-host .woodland-plane {
  width:65%;opacity:.96;filter:brightness(.87) saturate(.84);
}
html[data-theme=light] body.house-page .about-woodland.woodland-host .woodland-plane {filter:brightness(1.12) saturate(.84)}
@media(max-width:760px) {
  html body.house-page .about-woodland.woodland-host > .woodland-scene {inset:auto 0 0;height:clamp(10rem,49vw,18rem)}
  html body.house-page .about-woodland.woodland-host .woodland-plane {width:100%;bottom:-8%}
}

/* One plane of glazing for actions and the selected medium. Pigment and paper
   remain visible beneath the Lab controls. The lighting stays at their edges. */
@media screen and (forced-colors:none) {
  body.house-page {
    --pane-tint:rgb(148 167 180 / .055);
    --index-glass:var(--glass-wash),color-mix(in srgb,var(--index-panel) 64%,transparent);
    --pane-coat:linear-gradient(116deg,rgb(221 236 247 / .095),transparent 33%,transparent 69%,rgb(218 201 228 / .055)),var(--pane-tint);
    --pane-edge:inset 0 1px 0 rgb(239 246 252 / .23),inset 0 -1px 0 rgb(153 174 187 / .08);
    --pane-radius:clamp(.7rem,1.35vw,1.15rem);
  }
  html[data-theme=light] body.house-page {
    --pane-tint:rgb(241 243 243 / .20);
    --pane-coat:linear-gradient(116deg,rgb(255 255 255 / .56),transparent 37%,transparent 68%,rgb(172 191 205 / .13)),var(--pane-tint);
    --pane-edge:inset 0 1px 0 rgb(255 255 255 / .8),inset 0 -1px 0 rgb(135 157 171 / .09);
  }
  html body.house-page main[id] :is(a.page-link,.glass-link,.house-action,.tools-jump,.inquire-system,a.medium-enquire,.commission-alternatives a,.practice-copy a,.artist-service-links a,.chapter-routes a,.reading-actions a,.field-reading a) {
    border:1px solid var(--glass-edge);
    background:var(--pane-coat);
    box-shadow:var(--pane-edge);
    color:var(--index-ink);
    -webkit-backdrop-filter:blur(7px) saturate(116%);
    backdrop-filter:blur(7px) saturate(116%);
    text-shadow:none;
  }
  html body.house-page main[id] :is(.medium-index a[aria-selected=true],.branding-contents a:hover,.tools-index nav a:hover) {
    background:var(--glass-wash),var(--pane-tint);
    box-shadow:inset 0 0 0 1px var(--glass-edge),var(--glass-hairline);
    color:var(--index-ink);
  }
  html body.house-page main.art-room :is(.practice-copy,.medium-caption,.commission-alternatives) a[href] {
    background:var(--pane-coat);border-color:var(--glass-edge);box-shadow:var(--pane-edge);
  }
  #builder .piece-sheet,#builder .exhibit-tools,#builder #selection-dock {
    border:1px solid var(--glass-edge);
    box-shadow:var(--glass-hairline);
    background:var(--index-glass);
  }
  #builder .piece-sheet {border-radius:var(--pane-radius)}
  #builder #tier-hero {
    border:1px solid var(--glass-edge);border-radius:var(--pane-radius);
    box-shadow:var(--glass-hairline);
    background:var(--glass-wash),linear-gradient(107deg,color-mix(in srgb,var(--pig) 13%,var(--index-panel)),var(--index-panel) 83%);
  }
  #builder #choose-path .tier-rail {
    border:1px solid var(--glass-edge);background:var(--index-glass);box-shadow:var(--glass-hairline);
  }
  #builder .tier-rail #tier-lens {
    background:linear-gradient(117deg,color-mix(in srgb,var(--pod-tint) 58%,#fff) 0%,color-mix(in srgb,var(--pod-tint) 46%,#e7eaeb) 64%,color-mix(in srgb,var(--pod-tint) 63%,#fff));
    border:1px solid rgb(255 255 255 / .6);box-shadow:inset 0 1px rgb(255 255 255 / .75),0 1px 3px #141a2017;
  }
}
@media screen {
  body.house-page main[id] :is(.guide-cover,.field-opening,.studio-archive,.system-row,.house-row,.branding-enquiry,.client-projects,.medium-exhibit,.cl-step,[id]:target) {
    scroll-margin-block-start:calc(var(--mobile-top,1rem) + var(--mast-line,56px) + 1rem);
  }
  html body.house-page main.interior-main :is(.guide-cover,.case-intro) {row-gap:clamp(1.25rem,3.5vw,3rem)}
  html body.house-page main.interior-main .guide-intro > p:not([class]) {line-height:1.62}
  html body.house-page main.interior-main :is(.branding-contents,.tools-index) {padding-block:clamp(.45rem,1.1vw,.9rem)}
  html body.house-page .reading-cards.chapter-cards > .house-row {padding-block:clamp(1.6rem,4.2vw,4rem)}
}
@media (hover:hover) and (forced-colors:none) {
  html body.house-page main[id] :is(a.page-link,.glass-link,.inquire-system,a.medium-enquire,.artist-service-links a,.chapter-routes a):hover {
    border-color:color-mix(in srgb,currentColor 45%,transparent);
    background-color:color-mix(in srgb,currentColor 7%,transparent);
  }
}
@media (prefers-reduced-transparency:reduce), (prefers-contrast:more) {
  html[data-theme] body.house-page {--index-glass:var(--index-panel);--pane-tint:var(--index-panel);--pane-coat:var(--index-panel);--pane-edge:none}
  html[data-theme] body.house-page main[id] :is(a,button) {
    -webkit-backdrop-filter:none;backdrop-filter:none;
  }
}

/* A chapter ends in a route. Keeping the action on its own line lets the
   reader finish the text before deciding where to go. */
html body.house-page main[id] .reading-actions {
  display:flex;align-items:center;flex-wrap:wrap;
  gap:.5rem .7rem;margin-block-start:.55rem;
}
html body.house-page main[id] .reading-actions a[href] {min-height:44px;padding:.48rem .98rem}
@media screen {
  html body.house-page main[id] :is(.guide-section,.case-reading,.artist-service-copy,.system-copy) > p {
    max-inline-size:57ch;line-height:1.65;text-wrap:pretty;
  }
  html body.house-page main[id] .article-sequence.reading-cards > .guide-section {
    padding-block:clamp(1.8rem,4.6vw,4.5rem);row-gap:var(--copy-gap);
  }
  html body.house-page main[id] :is(.case-reading,.artist-service) {
    padding-block:var(--chapter-air);row-gap:var(--copy-gap);
  }
  html body.house-page main.art-room .commission-showroom {
    padding-block:clamp(1.35rem,3.5vw,3.6rem) var(--chapter-air);
  }
  html body.house-page main[id] .commission-practice,
  html body.house-page main[id] .branding-enquiry {padding-block:var(--chapter-air)}
  html body.house-page main[id] :is(.field-reading,.commission-alternatives,.studio-actions,.inline-actions) {
    column-gap:.75rem;row-gap:.6rem;
  }
  html body.house-page main[id] .field-reading a[href] {align-self:start}
  html body.house-page main[id] .letter-actions {gap:.65rem 1rem;align-items:center;flex-wrap:wrap}
  html body.house-page main .guide-trail {margin-block-end:clamp(1rem,2.4vw,1.8rem)}
  html body.house-page main.notice {width:min(calc(100% - 2 * var(--reading-inset)),65ch);margin-inline:auto;padding-block:var(--entrance-top) 1rem}
  html body.house-page main.notice > small {display:block;margin-block:1rem 2rem}
  html body.house-page main.correspond:has(.recovery-links) {display:block;max-width:49rem;padding-block:var(--entrance-top) var(--entrance-bottom)}
  html body.house-page .recovery-links {display:flex;flex-wrap:wrap;gap:.55rem .75rem;margin-block-start:1.4rem}
  html body.house-page main.correspond:has(.recovery-links) p:not(.eyebrow) {max-width:52ch;line-height:1.65}
  html body.house-page main:has(.about-primary) > :is(.about-primary,.about-woodland,.chapter-cards) {width:min(calc(100% - 2 * var(--reading-inset)),74rem);margin-inline:auto}
  html body.house-page main:has(.about-primary) .chapter-cards > .house-row {width:100%;margin-inline:0}
  html body.virginia-branding .regional-copy h1 {max-width:16ch}
  html body.virginia-branding .regional-copy p {line-height:1.6;text-wrap:pretty}
  html body.creative-technology .workflow-invitation .tool-next {min-width:0}
  html body.creative-technology .workflow-invitation .tool-next p {max-width:45ch;line-height:1.6}
  html body.house-page main.notice > :is(h2,h3) {margin-block-start:clamp(1.8rem,3.8vw,3rem)}
  html body.house-page main.notice p {line-height:1.65}
}
@media(min-width:48rem) {
  html body.house-page main[id] .article-sequence.reading-cards {max-width:66rem}
  html body.house-page main[id] .article-sequence.reading-cards > .guide-section {column-gap:clamp(3rem,6vw,6.2rem)}
  html body.house-page main[id] .system-row {column-gap:clamp(2rem,6.5vw,6rem)}
}

/* Keep the Virginia opening readable at the intermediate widths where a
   desktop split leaves too little room for the introduction. */
@media (min-width:741px) and (max-width:57rem) {
  html body.virginia-branding .regional-opening,
  html body.house-page main[id] .about-primary {grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,2.5rem)}
}
@media (max-width:740px) {
  html body.house-page main[id] .about-primary .cardinal-plate,
  html body.virginia-branding main[id] .cardinal-plate {width:min(100%,30rem);justify-self:center}
}

/* Pair the audience examples with their explanations on the same reading axis. */
@media screen {
  html body.house-page main.audience-guide :is(.customer-reading,.audience-story,.audience-notes) {margin-inline:0;width:100%}
  html body.house-page main.audience-guide :is(.story-words,.artist-service-copy,.guide-section) > p {max-inline-size:54ch;line-height:1.65;text-wrap:pretty}
  html body.house-page main.audience-guide .work-example figcaption {max-inline-size:50ch;margin-block-start:.7rem}
  html body.house-page .studio-service-page .service-specimen {width:100%;aspect-ratio:2.5}
  html body.house-page .artist-services .artist-service-links {margin-block-start:1.25rem;gap:.6rem .7rem}
  html body.house-page .campaign-service .decision-pairs > div {min-width:0}
}
@media (min-width:47.55rem) and (max-width:58rem) {
  html body.house-page main.audience-work .audience-story {grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.85rem}
  html body.house-page .artist-services .artist-service {grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);column-gap:1.85rem}
}

/* /clear-glass.css */
/* A thin, clear face lets the surface underneath provide the colour.
   The two offset reflections are on the edge rather than across the lettering. */
@media screen and (forced-colors:none) {
  html[data-theme] {
    --clear-tint:rgb(30 41 48 / .065);
    --clear-rim:rgb(223 236 248 / .27);
    --clear-face:linear-gradient(118deg,#edf6ff0a,transparent 25% 82%,#d0bbc907),var(--clear-tint);
    --clear-edge:inset 0 1px 0 #f5f9ff18;
    --clear-filter:blur(4px) saturate(1.16);
    --mobile-glass:var(--clear-face);
    --glass-edge:var(--clear-rim);
    --glass-hairline:var(--clear-edge);
  }
  html[data-theme=light] {
    --clear-tint:rgb(252 253 255 / .105);
    --clear-rim:rgb(57 76 86 / .27);
    --clear-face:linear-gradient(118deg,#ffffff25,transparent 30% 82%,#a9bfca08),var(--clear-tint);
    --clear-edge:inset 0 1px 0 #ffffff85;
  }

  html[data-theme] #the-house {
    --home-pane-ground:var(--clear-tint);
    --home-pane-polish:linear-gradient(115deg,#f3f8ff0c,transparent 29% 76%,#acb9c408);
    --home-pane-hairline:var(--clear-rim);
    --home-pane-filter:blur(3px) saturate(1.10);
  }
  html[data-theme] #the-house :is(.door-full,.door-short,.audience-pill) {
    text-shadow:0 1px 3px #070c12cc,0 0 9px #070c1270;
  }
  html[data-theme=light] #the-house :is(.door-full,.door-short,.audience-pill) {
    text-shadow:0 1px 3px #ffffffd4,0 0 9px #ffffff82;
  }
  html.has-house-index[data-theme] body header:has(.archive-nav) button.index-key,
  html.has-house-index[data-theme] #top .home-utilities button.index-key,
  html.has-house-index[data-theme] #house-index.house-gallery .gallery-top .index-close {
    -webkit-backdrop-filter:blur(8px) saturate(1.21)!important;
    backdrop-filter:blur(8px) saturate(1.21)!important;
  }
  html[data-theme] body.house-page {
    --pane-tint:var(--clear-tint);
    --pane-coat:var(--clear-face);
    --pane-edge:var(--clear-edge);
  }
  /* Destination pills, gallery transport and form controls share a material.
     Image cards, colour swatches and the active tier lens keep their own finishes. */
  html[data-theme] body.house-page main[id] a[href]:not(:has(img,small,figure)):not([hidden]),
  html[data-theme] body main :is(.tool-motion-control,.cart-primary,.copy-letter,.glass-pick-trigger),
  html[data-theme] body#top main .house-reel :is(.reel-editorial a,.film-controls),
  html[data-theme] body#top #original-work :is(.artist-enquiry,.artist-transition a),
  html[data-theme] body.lab-page #builder :is(.bench-jump,.brief-map a,#tier-start,#add-piece,.series-chips button,#tabs button,.exhibit-tools button,#selection-dock a,.cl-send button),
  html[data-theme] body dialog.glass-pick-sheet :is(.pick-close,.pick-grid button) {
    background:var(--clear-face);
    border-color:var(--clear-rim);
    box-shadow:var(--clear-edge);
    -webkit-backdrop-filter:var(--clear-filter);
    backdrop-filter:var(--clear-filter);
  }
  html[data-theme] body.house-page main[id] :is(.primary-action,.page-primary,.cart-primary,.cl-send button) {
    color:var(--index-ink);
    border-color:color-mix(in srgb,currentColor 46%,transparent);
  }
  /* Treat a destination as one thin piece of glass, including the painting
     action on the home spread and its counterparts on the service pages. */
  html[data-theme] {--action-face:ArtistSans,HouseSans,Arial,sans-serif}
  html:lang(ar)[data-theme] {--action-face:EditionCairo,Tahoma,Arial,sans-serif}
  html[data-theme] body#top main :is(.reel-editorial a,.home-painting-copy .artist-enquiry,.artist-transition a,.house-correspond a),
  html[data-theme] body.house-page main[id] :is(a.primary-action,a.page-primary,a.page-link,a.house-action,a.tools-jump,a.medium-enquire,.studio-actions a,.client-links a,.chapter-routes a,.artist-service-links a,.commission-alternatives a,.lab-other-projects a,.inquire-system) {
    font-family:var(--action-face);font-size:.94rem;font-style:normal;font-weight:400;line-height:1.35;
    letter-spacing:normal;text-transform:none;text-decoration:none;
    min-height:44px;box-sizing:border-box;
    background:var(--clear-face)!important;border:1px solid var(--clear-rim);
    box-shadow:var(--clear-edge)!important;
    -webkit-backdrop-filter:var(--clear-filter);backdrop-filter:var(--clear-filter);
  }
  html[data-theme] body#top #original-work #art-commissions .home-painting-copy .artist-enquiry {
    width:fit-content;min-width:0;max-width:100%;padding:.52rem 1.05rem;margin:0;
    color:var(--index-ink);
  }
  html[data-theme] body#top #original-work .artist-enquiry:focus-visible,
  html[data-theme] body.house-page main[id] :is(.primary-action,.page-primary,.page-link,.house-action,.medium-enquire):focus-visible {
    outline:2px solid currentColor;outline-offset:3px;
  }
  html[data-theme] body.lab-page #builder :is(.series-chips button,#tabs button)[aria-pressed=true],
  html[data-theme] body dialog.glass-pick-sheet .pick-grid button[aria-pressed=true] {
    border-color:var(--lab-accent,currentColor);
    box-shadow:inset 0 -2px var(--lab-accent,currentColor),var(--clear-edge);
  }

  @media (hover:hover) {
    html[data-theme] body.house-page main[id] a[href]:not(:has(img,small,figure)):hover {
      border-color:color-mix(in srgb,currentColor 55%,transparent);
    }
  }
  @media (prefers-contrast:more),(prefers-reduced-transparency:reduce) {
    html[data-theme] {--clear-tint:#20262c;--clear-filter:none;--clear-face:var(--clear-tint);--clear-rim:currentColor}
    html[data-theme=light] {--clear-tint:#fafafa}
    html[data-theme] #the-house {--home-pane-ground:var(--home-pane-fallback)}
    html[data-theme] dialog#house-index.house-gallery[open] {--finder-pane:var(--gallery-paper);--finder-stage:var(--gallery-paper)}
    html[data-theme] #house-index.house-gallery::backdrop {backdrop-filter:none;-webkit-backdrop-filter:none}
  }
}

/* The real page stays interactive throughout the entrance. */
@media screen and (prefers-reduced-motion:no-preference) {
  html:not(.motion-paused) {scroll-behavior:smooth}
}
@media (prefers-reduced-motion:reduce) {html {scroll-behavior:auto!important}}
html.motion-paused {scroll-behavior:auto!important}

body.lab-page #lab-main .lab-other-projects {
  width:min(calc(100% - 2 * var(--reading-inset,1.4rem)),72rem);margin:clamp(2.5rem,6vw,5rem) auto 0;
  padding:clamp(1.1rem,2.7vw,2rem) 0;border-block-start:1px solid var(--index-edge);
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.8rem 2rem;
}
.lab-other-projects p {margin:0;color:var(--index-soft)}
.lab-other-projects nav {display:flex;flex-wrap:wrap;gap:.65rem}

/* /house-light.css */
/* The hero copy sits above the light moving in the photograph. */
.cinema-hero .hero-copy {z-index:2}

/* /house-footer.css */
/* The seal and crossing share one stage above the page links. */
html[data-theme] body footer.house-colophon,
html[data-theme] body#top footer.house-colophon#contact {
  --imprint-ink:#f3f1ed;
  --imprint-muted:#a9acb2;
  --imprint-ground:#07080a;
  --imprint-line:#cbd9e52c;
  --imprint-face:var(--clear-face,linear-gradient(119deg,#edf6ff0b,transparent 65%,#cdbde106));
  --imprint-edge:var(--clear-rim,#ddebf742);
  width:100%;max-width:none;height:auto;min-height:0;box-sizing:border-box;
  position:relative;isolation:isolate;
  margin:clamp(3rem,7vw,7rem) 0 0;
  display:block;padding:0!important;
  border:0;border-top:1px solid var(--imprint-line);border-radius:0;
  color:var(--imprint-ink);background:var(--imprint-ground)!important;
  font:400 1rem/1.45 var(--action-face,ArtistSans,HouseSans,Arial,sans-serif);
  text-align:center;overflow:visible;box-shadow:none;text-shadow:none;
}
html[data-theme=light] body footer.house-colophon,
html[data-theme=light] body#top footer.house-colophon#contact {
  --imprint-ink:#1c2125;--imprint-muted:#515962;--imprint-ground:#fff;--imprint-line:#2636422e;
}
footer.house-colophon::before,footer.house-colophon::after {content:none!important}
html[data-theme] footer.house-colophon .imprint-layout {
  --imprint-inset:var(--house-inset,clamp(1.15rem,4.8vw,5rem));
  display:grid;justify-items:center;align-items:start;gap:clamp(1.5rem,3vw,3rem);
  box-sizing:border-box;max-width:none;width:100%;margin-inline:auto;
  padding:clamp(1.75rem,3.7vw,4rem) 0 2rem;
}
html[data-mast-docked] footer.house-colophon .imprint-layout {padding-block-end:calc(var(--mast-dock-h) + var(--mast-dock-edge) + 2rem)}
.house-colophon .imprint-layout > * {min-width:0;width:100%}
html[data-theme] footer.house-colophon :is(.imprint-directory,.imprint-baseline) {
  box-sizing:border-box;width:min(76rem,100%);
  padding-inline-start:max(env(safe-area-inset-left),var(--imprint-inset));
  padding-inline-end:max(env(safe-area-inset-right),var(--imprint-inset));
}
html[data-theme] footer.house-colophon .imprint-front {
  --seal-width:clamp(7.4rem,23vw,17.5rem);
  --walk-plate-width:calc(var(--seal-width) * 1.36);
  /* The resting plate leaves its blank leading margin off the left wing. */
  --walk-rest-x:calc(25% - var(--seal-width) * .25 - var(--walk-plate-width) * .70);
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"crossing";
  align-items:center;justify-items:center;gap:0;width:100%;
  min-height:calc(var(--seal-width) + clamp(1rem,4vw,3.25rem));
  isolation:isolate;position:relative;
}
.house-colophon .imprint-front > .signature-seal {
  grid-area:crossing;z-index:1;--seal-ink:var(--imprint-ink);--seal-rail:var(--imprint-muted);
}
.house-colophon .imprint-house {grid-area:house}
.house-colophon .imprint-practice {grid-area:practice}
.house-colophon :is(.imprint-primary,.imprint-directory) {
  margin:0;padding:0;border:0;background:transparent;box-shadow:none;text-align:center;
}
.house-colophon .imprint-primary {width:100%}
.house-colophon :is(.imprint-primary,.imprint-directory) :is(ul,li) {list-style:none;margin:0;padding:0;border:0}
.house-colophon .imprint-primary h2,.house-colophon .imprint-directory > h2 {
  margin:0 0 .75rem;color:var(--imprint-muted);
  font:500 .75rem/1.4 var(--action-face,ArtistSans,HouseSans,sans-serif);
  letter-spacing:.12em;text-transform:uppercase;
}
.house-colophon .imprint-primary ul {display:grid;justify-items:center}
html body footer.house-colophon .imprint-primary a,html body footer.house-colophon .imprint-index a,html body footer.house-colophon .imprint-email {
  display:inline-flex;align-items:center;justify-content:center;min-height:40px;max-width:100%;
  box-sizing:border-box;margin:0;padding:.23rem .4rem;border:0;border-radius:0;box-shadow:none;
  color:var(--imprint-ink);background:transparent;
  font:500 clamp(1.02rem,1.55vw,1.43rem)/1.22 var(--action-face,ArtistSans,HouseSans,sans-serif);
  letter-spacing:-.025em;text-decoration:none;text-align:center;
}
.house-colophon .imprint-primary a[aria-current=page],.house-colophon .imprint-index a[aria-current=page] {font-weight:650}
.house-colophon .imprint-directory {max-width:67rem;border-top:1px solid var(--imprint-line);padding-block-start:clamp(1.5rem,3vw,2.55rem)}
.house-colophon .imprint-directory > h2 {margin-block-end:clamp(1.3rem,2vw,2rem)}
.house-colophon .imprint-index {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;
  column-gap:clamp(2.2rem,7vw,6rem);
}
.house-colophon .imprint-index details {margin:0;padding:0;border:0;border-bottom:1px solid var(--imprint-line);border-radius:0;background:none}
.house-colophon .imprint-index summary {
  position:relative;display:flex;align-items:center;justify-content:center;min-height:3.65rem;padding:.55rem 2rem;
  margin:0;box-sizing:border-box;list-style:none;cursor:pointer;color:var(--imprint-ink);text-align:center;
  font:500 clamp(1rem,1.65vw,1.38rem)/1.35 var(--action-face,ArtistSans,HouseSans,sans-serif);letter-spacing:-.025em;
}
.house-colophon .imprint-index summary::-webkit-details-marker {display:none}
.house-colophon .imprint-index summary i {position:absolute;inset-inline-end:.5rem;inset-block-start:50%;width:.72rem;height:1px;background:currentColor}
.house-colophon .imprint-index summary i::after {content:"";position:absolute;inset:0;transform:rotate(90deg);background:currentColor}
.house-colophon .imprint-index details[open] summary i::after {transform:none}
.house-colophon .imprint-index ul {padding:0 .6rem .85rem;display:grid;justify-items:center}
html body footer.house-colophon .imprint-index a,html body footer.house-colophon .imprint-email {
  color:var(--imprint-muted);font-size:.94rem;letter-spacing:0;font-weight:400;
}
.house-colophon .imprint-contact {display:grid;justify-items:center;gap:.35rem}
.house-colophon .imprint-email {direction:ltr;unicode-bidi:isolate}
.house-colophon :is(summary,a,button):focus-visible {outline:2px solid currentColor;outline-offset:3px}
@media(hover:hover) {
  html body footer.house-colophon :is(.imprint-primary,.imprint-index) a:hover,
  html body footer.house-colophon .imprint-email:hover {color:var(--imprint-ink)}
}
@media(max-width:42rem) {
  .house-colophon .imprint-primary {align-self:start}
  html body footer.house-colophon .imprint-primary a {min-height:44px;font-size:1rem}
  .house-colophon .imprint-index {grid-template-columns:1fr}
  .house-colophon .imprint-index summary {min-height:3.15rem}
}
html:lang(ar) .house-colophon :is(.imprint-primary h2,.imprint-directory h2,.imprint-index summary) {letter-spacing:0}

/* The 44px target sits around a thinner glass face. */
html body footer.house-colophon [data-imprint-pill],
footer.house-colophon .imprint-consent #sh-privacy-settings {
  display:inline-flex;align-items:center;justify-content:center;gap:.48em;position:relative;isolation:isolate;
  min-height:44px;min-width:44px;max-width:100%;width:fit-content;box-sizing:border-box;
  margin:0;padding:.46rem .87rem;appearance:none;
  color:var(--imprint-ink);background:transparent;border:0;border-radius:999px;box-shadow:none;
  font:400 .91rem/1.29 var(--action-face,ArtistSans,HouseSans,Arial,sans-serif);
  text-align:center;text-decoration:none;text-transform:none;letter-spacing:normal;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
}
html body footer.house-colophon [data-imprint-pill]::before,
footer.house-colophon .imprint-consent #sh-privacy-settings::before {
  content:"";position:absolute;z-index:-1;inset:3px 0;pointer-events:none;
  border:1px solid var(--imprint-edge);border-radius:inherit;background:var(--imprint-face);
  box-shadow:var(--clear-edge,inset 0 1px 0 #ffffff19);
  -webkit-backdrop-filter:var(--clear-filter,blur(4px));backdrop-filter:var(--clear-filter,blur(4px));
}
.house-colophon :is(a,button):focus-visible {outline:2px solid currentColor;outline-offset:1px}
html body footer.house-colophon [data-imprint-pill][aria-current=page]::before,
html body footer.house-colophon [data-imprint-pill][aria-pressed=true]::before {
  border-color:currentColor;background:color-mix(in srgb,var(--imprint-ink) 8%,var(--imprint-ground));
}
.house-colophon .imprint-invite i {
  position:relative;flex:none;width:.63em;height:.63em;margin-inline-start:.13em;
  border-top:1.35px solid currentColor;border-right:1.35px solid currentColor;
}
.house-colophon .imprint-invite i::after {
  content:"";position:absolute;top:-.5px;right:0;width:133%;height:1.35px;
  background:currentColor;transform-origin:100% 50%;transform:rotate(-45deg);
}
.house-colophon h2.imprint-invite {margin:0 .45rem 0 0;font-size:1.2rem;line-height:1.25}
.house-colophon .imprint-email {direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere}
.house-colophon .imprint-baseline {
  grid-column:1/-1;width:100%;border-top:1px solid var(--imprint-line);padding-top:clamp(.85rem,2vw,1.6rem);
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.6rem 1.7rem;
}
.house-colophon :is(.imprint-legal,.imprint-preferences,.imprint-languages,.imprint-appearance) {
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.12rem .3rem;min-width:0;
}
.house-colophon .imprint-preferences {column-gap:.85rem}
.house-colophon .imprint-legal > span {color:var(--imprint-muted);font-size:.8rem;margin-inline-start:.45rem}
html body footer.house-colophon .imprint-baseline [data-imprint-pill],
footer.house-colophon .imprint-consent #sh-privacy-settings {font-size:.8rem;padding-inline:.76rem}
.house-colophon .imprint-motion i {
  flex:none;width:.84em;height:.84em;box-sizing:border-box;border-inline:2px solid currentColor;
}
.house-colophon .imprint-motion[aria-disabled=true] {cursor:default}
.house-colophon .imprint-consent,.house-colophon .imprint-consent #sh-privacy-footer {display:contents}
.house-colophon .imprint-consent:has(#sh-privacy[data-placement=footer]:not([hidden])) {display:block;flex-basis:100%}
.house-colophon .imprint-consent #sh-privacy[data-placement=footer] {margin:.5rem auto;max-width:min(100%,28rem)}
.house-colophon .imprint-consent #sh-privacy-settings::after {display:none}
.house-colophon .imprint-layout [hidden] {display:none!important}
@media(hover:hover) {
  html body footer.house-colophon [data-imprint-pill]:hover::before,
  footer.house-colophon .imprint-consent #sh-privacy-settings:hover::before {border-color:color-mix(in srgb,var(--imprint-ink) 62%,transparent)}
}
@media(max-width:38rem) {
  .house-colophon .imprint-baseline {align-items:flex-start;gap:.45rem}
  .house-colophon .imprint-preferences {column-gap:.5rem}
  .house-colophon .imprint-legal {flex-basis:100%;justify-content:center;margin-block-start:.4rem}
  .house-colophon .imprint-legal > span {flex-basis:100%;margin:.36rem 0 0}
}
@media(forced-colors:active) {
  html body footer.house-colophon [data-imprint-pill]::before,
  footer.house-colophon .imprint-consent #sh-privacy-settings::before {background:Canvas;border:1px solid ButtonText;box-shadow:none}
  html body footer.house-colophon [data-imprint-pill]:is([aria-current=page],[aria-pressed=true])::before {border:2px solid Highlight}
}
/* Related settings share one glass rim. Each segment keeps its touch target. */
.house-colophon .imprint-preferences :is(.imprint-languages,.imprint-appearance) {
  position:relative;isolation:isolate;display:inline-flex;flex-flow:row nowrap;
  gap:0;padding-inline:3px;border-radius:999px;
}
.house-colophon .imprint-preferences :is(.imprint-languages,.imprint-appearance)::before {
  content:"";position:absolute;inset:2px 0;z-index:-1;pointer-events:none;
  border:1px solid var(--imprint-edge);border-radius:inherit;background:var(--imprint-face);
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--imprint-ink) 8%,transparent);
}
html body footer.house-colophon .imprint-preferences :is(.imprint-languages,.imprint-appearance) [data-imprint-pill] {
  color:var(--imprint-muted);font-weight:500;padding-inline:.72rem;
}
html body footer.house-colophon .imprint-preferences :is(.imprint-languages,.imprint-appearance) [data-imprint-pill]::before {
  inset:5px 0;border:1px solid transparent;background:transparent;box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
html body footer.house-colophon .imprint-preferences :is(.imprint-languages,.imprint-appearance) :is([aria-current],[aria-pressed=true]) {
  color:var(--imprint-ground);
}
html body footer.house-colophon .imprint-preferences :is(.imprint-languages,.imprint-appearance) :is([aria-current],[aria-pressed=true])::before {
  background:var(--imprint-ink);
}
@media(hover:hover) {
  html body footer.house-colophon .imprint-preferences :is(.imprint-languages,.imprint-appearance) [data-imprint-pill]:not([aria-current],[aria-pressed=true]):hover::before {
    background:color-mix(in srgb,var(--imprint-ink) 8%,transparent);
  }
}
@media(forced-colors:active) {
  .house-colophon .imprint-preferences :is(.imprint-languages,.imprint-appearance)::before {border-color:ButtonText}
  html body footer.house-colophon .imprint-preferences :is(.imprint-languages,.imprint-appearance) :is([aria-current],[aria-pressed=true])::before {border:2px solid Highlight}
}
@media print {footer.house-colophon {display:none!important}}

/* The photographic tile and the letters use the proportions of the original
   900 × 300 study. The field itself spans the full, physically LTR crossing. */
html[data-theme] footer.house-colophon .imprint-film {
  grid-area:crossing;position:absolute;inset:0;z-index:0;display:block;overflow:hidden;isolation:isolate;
  width:100%;height:100%;max-width:none;min-height:0;aspect-ratio:auto;direction:ltr;
  margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:var(--imprint-ground);
}
.house-colophon .imprint-film::before,.house-colophon .imprint-film::after {content:none}
html[data-theme] footer.house-colophon .imprint-field {
  position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;pointer-events:none;
}
.house-colophon .imprint-field :is(.imprint-phases,.imprint-motion-plane,.imprint-coat) {
  position:absolute;inset:0;display:block;width:100%;height:100%;
  max-width:none;object-fit:fill;padding:0;margin:0;border:0;border-radius:0;
}
.house-colophon .imprint-field :is(.imprint-digital,.imprint-photograph,.imprint-coat-travel) {
  position:absolute;top:50%;left:var(--walk-rest-x);transform:translateY(-50%);
  display:block;width:var(--walk-plate-width);height:auto;aspect-ratio:3 / 1;max-width:none;
  padding:0;margin:0;border:0;border-radius:0;object-fit:fill;pointer-events:none;
}
.house-colophon .imprint-digital {mix-blend-mode:screen}
html[data-theme=light] .house-colophon .imprint-digital {mix-blend-mode:multiply}
.house-colophon .imprint-motion-plane {image-rendering:pixelated}
.house-colophon .imprint-phases {visibility:hidden}
.house-colophon .imprint-gait-live .imprint-phases {visibility:visible}
.house-colophon .imprint-gait-live .imprint-digital {visibility:hidden}
.house-colophon .imprint-phases img[hidden] {display:none}
.house-colophon .imprint-coat {
  --fur-radius:clamp(1.4rem,3.5vw,3.25rem);
  --fur-window:radial-gradient(circle var(--fur-radius) at var(--fur-x,20%) var(--fur-y,50%),
    #000 0 36%,rgb(0 0 0/.8) 55%,transparent 100%);
  pointer-events:none;z-index:1;opacity:0;transition:opacity .13s ease-out;
  mask-image:var(--fur-window);
}
@supports (mask-composite:intersect) {
  .house-colophon .imprint-coat {
    mask-image:var(--fur-window),radial-gradient(circle at 50% 50%,
      transparent calc(var(--seal-width) * .52),#000 calc(var(--seal-width) * .67));
    mask-composite:intersect;
  }
}
.house-colophon .coat-preview .imprint-coat {opacity:1}
.house-colophon .imprint-coat-window {
  position:absolute;left:40.444444%;top:0;width:58.666667%;height:99%;overflow:hidden;display:none;
}
.house-colophon .imprint-fur-atlas {
  position:absolute;left:0;top:0;display:block;width:800%;height:300%;max-width:none;
  border:0;border-radius:0;margin:0;padding:0;object-fit:fill;transform-origin:0 0;
}
.house-colophon .imprint-gait-live .imprint-coat-window {display:block}
.house-colophon .imprint-gait-live .imprint-photograph {visibility:hidden}
/* The centre is the only clickable part. The orbit leaves the coat beneath
   it available to the pointer. Both impressions use this same circular die. */
.signature-seal {
  --seal-ink:#eeeae2; --seal-rail:#92908a;
  position:relative; display:grid; place-items:center; width:var(--seal-width); aspect-ratio:1;
  color:var(--seal-ink); direction:ltr; pointer-events:none;
}
.signature-seal .imprint-orbit {position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible}
.signature-seal .seal-engraving {color:var(--seal-rail);stroke-width:.65;opacity:.66}
.signature-seal .seal-type {fill:var(--seal-ink);font:500 14px/1 ui-monospace,Menlo,Consolas,monospace;letter-spacing:1.15px;unicode-bidi:isolate;transform-box:view-box;transform-origin:50% 50%}
.signature-seal .seal-type use {display:none}
.house-colophon .imprint-front .signature-core,#house-index.house-gallery .signature-core {
  display:block;position:relative;inset:auto;width:51%;height:auto;aspect-ratio:402/308;
  min-height:0;margin:0;padding:0;background:none;border:0;box-shadow:none;border-radius:0;pointer-events:auto;
}
.signature-core > :is(.imprint-signature,.signature-lettering) {
  position:absolute;display:block;inset:0;width:100%;height:100%;object-fit:contain;border:0;margin:0;
}
.signature-core > .imprint-signature {filter:brightness(0) invert(1)}
.signature-core > video {position:absolute;inset:0;width:1px;height:1px;opacity:0;clip-path:inset(50%);pointer-events:none}
.signature-core > .signature-lettering {visibility:hidden;pointer-events:none}
.signature-seal.has-letter-motion .imprint-signature {visibility:hidden}
.signature-seal.has-letter-motion .signature-lettering {visibility:visible}
html[data-theme=light] .signature-core > .signature-lettering {filter:brightness(0)}
.signature-core:focus-visible {outline:2px solid currentColor;outline-offset:5px}
@keyframes seal-company-type {to {transform:rotate(180deg)}}
@keyframes seal-practice-type {to {transform:rotate(-120deg)}}
@media screen and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  .signature-seal .seal-company {animation:seal-company-type 30s linear infinite paused}
  .signature-seal .seal-practices {animation:seal-practice-type 18s linear infinite paused}
  html:not(.motion-paused) .signature-seal.is-turning .seal-type use {display:inline}
  html:not(.motion-paused) .signature-seal.is-turning .seal-type {animation-play-state:running}
  html.motion-paused .signature-seal .seal-type {animation:none}
}
/* The same character ink prints dark on white paper in the light edition.
   The transparent photographic coat retains its native colors in both editions. */
.house-colophon .imprint-field :is(.imprint-digital,.imprint-motion-plane) {filter:contrast(1.04)}
html[data-theme=light] .house-colophon .imprint-field :is(.imprint-digital,.imprint-motion-plane) {filter:invert(1) hue-rotate(180deg) contrast(1.15)}
html[data-theme=light] .house-colophon .signature-core > .imprint-signature {filter:brightness(0)}
@media(prefers-reduced-motion:reduce) {
  .house-colophon .imprint-film * {transition:none;animation:none}
}
html.motion-paused .house-colophon .imprint-film * {transition:none}
@media(forced-colors:active) {
  .house-colophon .imprint-film {background:Canvas}
  .house-colophon .imprint-front .imprint-home {background:transparent}
}

/* /house-display.css */
/* Barlow by Jeremy Tribby. The original Latin webfonts share the same
   SIL Open Font License: "/assets/type/barlow-OFL.txt". */
@font-face {
  font-family: "House Barlow Semi Condensed";
  src: url("/assets/type/barlow-semicondensed-regular-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "House Barlow Semi Condensed";
  src: url("/assets/type/barlow-semicondensed-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "House Barlow Condensed";
  src: url("/assets/type/barlow-condensed-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "House Barlow Semi Condensed";
  src: url("/assets/type/barlow-semicondensed-medium-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "House Barlow Condensed";
  src: url("/assets/type/barlow-condensed-black-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "House Barlow Semi Condensed";
  src: url("/assets/type/barlow-semicondensed-bold-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "House Barlow Semi Condensed";
  src: url("/assets/type/barlow-semicondensed-extrabold-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --house-reading-face: "House Barlow Semi Condensed", "Helvetica Neue", Arial, sans-serif;
  --display-face: "House Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --display-section-face: "House Barlow Semi Condensed", "Helvetica Neue", Arial, sans-serif;
  --display-tracking: -.018em;
  --display-menu-tracking: -.012em;
  --display-leading: .98;
  --display-title-weight: 900;
  --display-section: 800;
  --display-subhead: 700;
}
html:lang(ar) {
  --house-reading-face: EditionCairo, Tahoma, Arial, sans-serif;
  --display-face: EditionCairo, Tahoma, Arial, sans-serif;
  --display-section-face: var(--display-face);
  --display-tracking: 0;
  --display-menu-tracking: 0;
  --display-leading: 1.48;
  --display-title-weight: 800;
  --display-section: 750;
  --display-subhead: 700;
}

/* The homepage lockup keeps its original Kufam, DM Sans and Doto lettering. */
html body.house-page main:is(#main,#lab-main)
  :is(h1,#branding-title,#tools-title):not(:has(img)) {
  font-family: var(--display-face);
  font-weight: var(--display-title-weight);
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading);
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
html body.house-page main:is(#main,#lab-main)
  :is(.guide-intro,.intro,.tools-introduction,.regional-copy,.branding-intro)
  h1 :is(b,em,span:not([class])) {
  font: inherit;
  letter-spacing: inherit;
}
html body.house-page main#main
  :is(.guide-intro,.guide-cover,.client-opening,.artist-services-intro,.case-reading)
  h1 {
  max-inline-size: min(100%,23ch);
}
html body.house-page main:is(#main,#lab-main)
  :is(h2,h3):not(.tool-heading h2):not(:has(img)),
html body.lab-page #lab-main #builder :is(#choose-path,#piece-config) > h2 {
  font-family: var(--display-section-face);
  font-weight: var(--section-weight,var(--display-section));
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
html body.house-page main:is(#main,#lab-main) h3:not(:has(img)) {
  --section-weight: var(--display-subhead);
  letter-spacing: var(--display-menu-tracking);
}
html:lang(ar) body.house-page main#main.language-studio :is(h1,h2,h3) {
  letter-spacing: 0;
  line-height: 1.48;
}
html:lang(ar) body.house-page main#main.language-studio h2 {
  font-weight: var(--display-section);
}
html body.house-page main#lab-main #builder #tier-display {
  font-family: var(--display-face);
  font-weight: var(--display-title-weight);
  line-height: 1.02;
}

html body#top #the-house .house-editorial-copy #house-story-title,
html body#top main .house-reel .reel-editorial h2,
html body#top #original-work #artists-title,
html body#top #original-work .artist-transition h3,
html body#top .contact-sheet h2 {
  font-family: var(--display-face);
  font-weight: var(--display-title-weight);
  line-height: .99;
  letter-spacing: var(--display-tracking);
}
html body #house-index.house-gallery .gallery-rooms .gallery-caption b,
html body #house-index.house-gallery .gallery-matches .gallery-caption b,
html body footer.house-colophon .imprint-invite {
  font-family: var(--display-section-face);
  font-weight: var(--display-section);
  letter-spacing: var(--display-menu-tracking);
  text-wrap: balance;
}

/* Short department names read as a masthead. Long article titles retain their
   sentence case and a wider cut for accented letters and multi-line reading. */
html:not(:lang(ar)) body.house-page main#main
  :is(.commissions-heading,.tools-introduction,.branding-intro,.shop-primary,.field-mast) h1 {
  text-transform: uppercase;
  letter-spacing: -.012em;
}
html:not(:lang(ar)) body.house-page main#main.audience-guide.field-guide:not(.notes-index) h1 {
  font-family: var(--display-section-face);
  font-weight: var(--display-section);
  line-height: 1.03;
  letter-spacing: -.019em;
}
html body#top #the-house .house-editorial-copy #house-story-title {
  font-size: clamp(2.8rem,5.2vw,5.35rem) !important;
  line-height: .94;
  letter-spacing: -.013em;
  margin-block: .22em .36em;
}
html body#top #the-house .house-editorial-copy .house-story-copy {
  max-width: 38ch !important;
  line-height: 1.55;
}

/* Lead the eye from the title to the first frame of the film on the same line.
   At smaller widths the text and image follow their natural reading order. */
@media (min-width: 49.0625rem) {
  #the-house .house-editorial-spread {
    grid-template-columns: minmax(0,5fr) minmax(0,7fr);
    grid-template-rows: auto auto 1fr;
    align-items: start;
    row-gap: 0;
  }
  #the-house .house-editorial-copy {display: contents}
  html body#top #the-house .house-editorial-copy > .eyebrow {
    grid-area: 1 / 1;
    margin-block: 0 clamp(.8rem,1.5vw,1.45rem);
  }
  html body#top #the-house .house-editorial-copy #house-story-title {
    grid-area: 2 / 1;
    margin: -.06em 0 .27em;
  }
  #the-house .house-editorial-copy .house-story-copy {grid-area: 3 / 1}
  #the-house .house-film-still {grid-area: 2 / 2 / span 2; align-self: start}
}
html body.house-page main#main :is(.guide-intro,.story-words,.subject-opening) > :is(h1,h2,p) {
  text-align: start;
  margin-inline-start: 0;
}

html body#top #original-work #artists-title {
  max-inline-size: 15ch;
  font-size: clamp(2.7rem,5vw,5rem);
  text-wrap: balance;
}

/* About carries the original outlined serif signature from the masthead. */
html body.house-page main#main .about-primary h1 {
  display: block;
  max-width: 100%;
  margin: .12em 0 clamp(1.1rem,2vw,1.8rem);
  line-height: 0;
}
html body.house-page main#main .about-house-mark {
  display: block;
  width: clamp(10rem,19vw,17rem);
  max-width: 100%;
  height: auto;
  filter: none;
}
html[data-theme=light] body.house-page main#main .about-house-mark {
  filter: brightness(.09);
}
@media (max-width: 40rem) {
  html body.house-page main#main :is(.commissions-heading,.tools-introduction,.branding-intro) h1 {
    font-size: clamp(2.55rem,10.6vw,3.75rem);
  }
  html body.house-page main#main .about-house-mark {
    width: clamp(8.4rem,39vw,12rem);
  }
}
@media print {
  html body.house-page main#main .about-house-mark {filter:brightness(0)}
}

/* Interface copy has one regular cut. The scope stops at composed artwork,
   device specimens, and typographic signatures, including their descendants. */
@layer house-reading {
  @scope (body) to (
    svg, pre, code, kbd, samp, .signature-seal, .mast-identity, .hero-statement,
    .tool-heading h2, .direction-specimen, .identity-paper, .identity-page,
    .brand-composition, .case-artwork, .exhibition-work, .film-plate, .artist-stage,
    [data-house-scene], [class*="wordmark"], .signature-core, .fixabl-lockup,
    .sequence-type, .sequence-cedars, .edition-languages [lang=ar],
    .language-studio .edition-intro h1, .language-studio .edition-chapter h2,
    .house-language-feature .edition-lead h1
  ) {
    :where(:scope, main, div, p, span, strong, b, small, em, time, address,
           h1, h2, h3, h4, h5, h6, a, button, summary, label, input, select,
           option, textarea, legend, output, li, dt, dd, th, td, figcaption, blockquote) {
      font-family: var(--house-reading-face) !important;
      font-weight: 400 !important;
    }
    :where(h1, h2, h3, h4) { letter-spacing: -.018em !important; }
    :where(:lang(ar)) { --house-reading-face: EditionCairo, Tahoma, Arial, sans-serif; }
    :where(h1, h2, h3, h4):lang(ar) { letter-spacing: normal !important; }
  }
}

/* /glass-finder.css */
/* A full-page directory. The ring and the closed mast share one optical centre. */
html {scrollbar-gutter:stable}
html:has(#house-index[open]) {overflow:hidden}
html[data-theme] dialog#house-index.house-gallery[open] {
  --ink:#faf8f3; --muted:#c3c6c9; --line:rgb(236 240 245 / .2); --glass:rgb(14 17 20 / .73);
  --rim:rgb(238 245 255 / .32); --well:rgb(255 255 255 / .055); --reflection:rgb(197 225 245 / .105);
  --gallery-type:ArtistSans,HouseSans,Arial,sans-serif;
  --directory-width:77rem;
  display:block;position:fixed;inset:var(--keyboard-offset,0px) auto auto var(--finder-left,0px);
  width:var(--finder-width,100%);height:var(--finder-height,100dvh);min-height:0;max-width:none;max-height:none;
  padding:0;margin:0;overflow:hidden;isolation:isolate;box-sizing:border-box;border:0;border-radius:0;
  color:var(--ink);font:400 1rem/1.42 var(--gallery-type);text-align:center;color-scheme:dark;
  background:transparent!important;box-shadow:none!important;transform:none!important;animation:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html[data-theme=light] dialog#house-index.house-gallery[open] {
  --ink:#171b1e;--muted:#4a5258;--line:rgb(35 47 55 / .18);--glass:rgb(252 251 247 / .77);
  --rim:rgb(255 255 255 / .92);--well:rgb(33 46 57 / .045);--reflection:rgb(255 255 255 / .55);color-scheme:light;
}
html:lang(ar)[data-theme] dialog#house-index.house-gallery[open] {--gallery-type:EditionCairo,Tahoma,Arial,sans-serif}
html[data-theme] dialog#house-index.house-gallery::backdrop {
  background:var(--page-ground,#070809);
}
#house-index.house-gallery *,#house-index.house-gallery *::before,#house-index.house-gallery *::after {box-sizing:border-box}
#house-index.house-gallery [hidden] {display:none!important}
#house-index.house-gallery :is(a,button,input,summary) {color:inherit;font-family:var(--gallery-type);text-decoration:none}
#house-index.house-gallery :is(button,summary) {cursor:pointer}
#house-index.house-gallery :is(a,button,input,summary):focus-visible {outline:2px solid var(--ink);outline-offset:3px}
html:has(#house-index[open]) header:has(.archive-nav) :is(.home-mark,.brand) {visibility:hidden}
#house-index.house-gallery .gallery-frame {width:100%;height:100%}
#house-index.house-gallery .gallery-stage {
  position:relative;isolation:isolate;display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;overflow:hidden;
  background:radial-gradient(ellipse 85% 85% at 50% -22%,#25282b 0,transparent 73%),#070809;
}
html[data-theme=light] #house-index.house-gallery .gallery-stage {
  background:radial-gradient(ellipse 85% 85% at 50% -22%,#e4e9ed 0,transparent 73%),#fff;
}
#house-index.house-gallery .gallery-top {
  position:relative;isolation:isolate;block-size:calc(var(--house-logo-y) + var(--house-orbit) / 2 + .35rem);
}
#house-index.house-gallery .gallery-mast {
  position:absolute;top:var(--house-logo-y);left:50%;transform:translate(-50%,-50%);
  display:grid;place-items:center;width:var(--house-orbit);height:var(--house-orbit);
  max-width:none;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:none;box-shadow:none;
}
#house-index.house-gallery .gallery-scroll {
  width:100%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;
  padding:0 max(var(--house-rail),env(safe-area-inset-left),env(safe-area-inset-right)) max(2.25rem,env(safe-area-inset-bottom));
}
#house-index.house-gallery .index-close {
  position:absolute;inset-inline-end:max(var(--house-rail),env(safe-area-inset-right));top:var(--house-logo-y);
  transform:translateY(-50%);display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;margin:0;padding:0;
  border:1px solid var(--line);border-radius:50%;color:var(--ink);background:var(--well);box-shadow:none;
}
#house-index .index-close .return-glyph,#house-index .index-close svg {display:block;width:18px;height:18px}
#house-index .directory-sr,#house-index .index-close>span:last-child {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#house-index .signature-seal {--seal-width:var(--house-orbit);--seal-ink:var(--ink)}
#house-index.house-gallery .gallery-mast .signature-core {width:var(--house-logo-width);pointer-events:none}
#house-index .gallery-mast .seal-type {font-size:16px;letter-spacing:.35px}
html[data-theme=light] #house-index .signature-seal {--seal-rail:#76726b}
html[data-theme=light] #house-index .signature-core img {filter:brightness(0)}
#house-index .gallery-home-label {
  display:inline-flex;flex-direction:column;align-items:center;
  font:500 1.03rem/1.3 var(--gallery-type);
}
#house-index .gallery-home-label > span {display:grid;place-items:center;min-height:44px;padding:0 .6rem}
#house-index.house-gallery :is(.gallery-field,.finder-theme,.index-close) {backdrop-filter:blur(14px) saturate(1.15);-webkit-backdrop-filter:blur(14px) saturate(1.15)}
#house-index .gallery-search {display:block;position:relative;width:min(100%,25rem);margin:clamp(.35rem,1.2vh,1.05rem) auto clamp(1.65rem,4svh,3.7rem);padding:0;border:0}
#house-index.house-gallery .gallery-field {
  display:flex;align-items:center;gap:.5rem;min-height:44px;padding:0 .92rem;border:1px solid var(--line);border-radius:99px;background:var(--well)
}
#house-index.house-gallery .gallery-field:focus-within {outline:2px solid var(--ink);outline-offset:2px}
#house-index.house-gallery #house-query {
  width:100%;min-width:0;min-height:44px;padding:.3rem 0;margin:0;color:var(--ink);border:0;border-radius:0;outline:0!important;background:transparent;box-shadow:none;font:400 1rem/1.4 var(--gallery-type);text-align:center;appearance:none;
}
#house-index #house-query::placeholder {color:var(--muted);opacity:1}
#house-index #house-query::-webkit-search-cancel-button {appearance:none}
#house-index .gallery-clear {min-height:44px;border:0;background:none;padding:.2rem .25rem}
#house-index .gallery-directory,#house-index .gallery-matches {margin:0 auto;width:min(100%,var(--directory-width))}
#house-index .gallery-rooms {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.2rem,2.7vw,3rem)}
#house-index .gallery-rooms>a {
  display:grid;grid-template-rows:auto 1fr;gap:clamp(.75rem,1.8vh,1.3rem);align-content:start;min-width:0;padding:0 .02rem .45rem;border:0;background:none;
}
#house-index .gallery-art {position:relative;display:block;overflow:hidden;width:100%;aspect-ratio:2.38;border-radius:.65rem;background:var(--well);isolation:isolate}
#house-index .gallery-art::after {content:"";position:absolute;inset:0;border:1px solid var(--line);border-radius:inherit;pointer-events:none}
#house-index .gallery-art img {width:100%;height:100%;display:block;object-fit:cover;border-radius:0;object-position:50% 55%}
#house-index .gallery-rooms [data-room=systems] .gallery-art {background:linear-gradient(145deg,#121722,#080a11)}
#house-index .gallery-rooms [data-room=systems] img {object-fit:contain;transform-origin:50% 82%;width:100%;height:112%;margin-top:-3%}
#house-index .gallery-rooms [data-room=art-commissions] img {object-position:50% 43%}
@media screen and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  html:not(.motion-paused) #house-index[open] .gallery-rooms [data-room=systems] img {animation:directory-sound 4.8s ease-in-out infinite alternate}
  @keyframes directory-sound {0%,12% {transform:scaleY(.89)}85%,100% {transform:scaleY(1.08)}}
}
#house-index .gallery-caption {display:grid;justify-items:center;gap:.22rem;align-content:start}
#house-index.house-gallery .gallery-rooms b {font:500 clamp(1.06rem,2vw,1.45rem)/1.18 var(--gallery-type);letter-spacing:-.045em}
#house-index .gallery-rooms small {display:block;max-width:25ch;color:var(--muted);font:400 .82rem/1.35 var(--gallery-type)}
#house-index .gallery-shortcuts,#house-index .gallery-filters {display:flex;flex-wrap:wrap;justify-content:center;gap:.1rem .65rem}
#house-index .gallery-shortcuts {margin:clamp(1.25rem,3.2vh,2.5rem) 0 .9rem}
#house-index .gallery-shortcuts a,#house-index .gallery-filters button,#house-index .gallery-enquiry {
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.3rem .4rem;border:0;background:none;font:400 .9rem/1.35 var(--gallery-type)
}
#house-index .gallery-shortcuts b {font-weight:inherit}
#house-index .gallery-filters button[aria-pressed=true] {background:var(--well);color:var(--ink);font-weight:650}
#house-index .gallery-pages {border-block:1px solid var(--line)}
#house-index .gallery-pages>summary {display:flex;justify-content:center;align-items:center;gap:.72rem;min-height:44px;list-style:none;font-size:.94rem}
#house-index .gallery-pages>summary::-webkit-details-marker {display:none}
#house-index .gallery-chevron {width:.45rem;height:.45rem;border-inline-end:1px solid;border-block-end:1px solid;transform:rotate(45deg)}
#house-index .gallery-pages[open] .gallery-chevron {transform:rotate(225deg)}
#house-index .gallery-page-groups {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:1.5rem 1rem;padding:1rem 0 1.35rem}
#house-index .gallery-page-groups strong {display:block;font:600 1.06rem/1.28 var(--gallery-type)}
#house-index .gallery-page-groups ul {padding:0;margin:.35rem 0 0;list-style:none}
#house-index .gallery-page-groups li {margin:0}
#house-index .gallery-page-groups a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.13rem;color:var(--muted);font:400 .89rem/1.4 var(--gallery-type)}
#house-index .gallery-page-groups a:is(:hover,:focus-visible,[aria-current]) {color:var(--ink)}
#house-index .gallery-utilities {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1.2rem;margin-top:1rem;font-size:.86rem}
#house-index .gallery-utilities>a {display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:44px}
#house-index .gallery-utilities svg {width:18px;height:18px}
#house-index .finder-theme {display:flex;align-items:center;padding:2px;border-radius:99px;background:var(--well);border:1px solid var(--line)}
#house-index .finder-theme button {min-width:3.1rem;min-height:38px;border:0;border-radius:99px;background:none;font-size:.85rem}
#house-index .finder-theme button[aria-pressed=true] {background:var(--ink);color:var(--glass)}
#house-index [role=status] {margin:.7rem 0;font:400 .88rem/1.4 var(--gallery-type);color:var(--muted)}
#house-index .gallery-matches nav {display:grid}
#house-index .gallery-matches nav>a {display:block;padding:.9rem .5rem;border-bottom:1px solid var(--line)}
#house-index .gallery-matches b {font:500 1.24rem/1.2 var(--gallery-type)}
#house-index .gallery-matches .gallery-caption>span {max-width:64ch}
#house-index .gallery-matches small,#house-index .gallery-matches .gallery-caption>span {font-size:.86rem;color:var(--muted)}
#house-index[data-searching] .gallery-home-label,#house-index[data-shallow] .gallery-home-label {display:none}
#house-index[data-shallow] .gallery-mast .imprint-orbit {visibility:hidden}
#house-index[data-shallow] .gallery-top {--house-logo-y:1.8rem;--house-orbit:3rem;block-size:3.6rem}
#house-index[data-searching] .gallery-search,#house-index[data-shallow] .gallery-search {width:min(calc(100% - 5rem),25rem);margin-block:1rem}
html:lang(ar) #house-index.house-gallery .gallery-rooms b {letter-spacing:0;line-height:1.5}
@media (max-width:39rem) {
  #house-index.house-gallery .gallery-scroll {padding-inline:var(--house-rail);padding-block-end:max(1.75rem,env(safe-area-inset-bottom))}
  #house-index .gallery-search {margin:.35rem auto 1.35rem}
  #house-index .gallery-rooms {grid-template-columns:1fr;gap:0}
  #house-index .gallery-rooms>a {position:relative;min-height:5.1rem;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;align-content:center;border-top:1px solid var(--line);padding:.55rem 3.85rem}
  #house-index .gallery-rooms>a:last-child {border-bottom:1px solid var(--line)}
  #house-index .gallery-art {position:absolute;inset-inline-start:0;align-self:center;width:3.6rem;height:3.35rem;aspect-ratio:auto;border-radius:.5rem}
  #house-index .gallery-rooms small {font-size:.76rem}
  #house-index .gallery-shortcuts {margin:.5rem 0 .3rem;gap:0 .25rem}
  #house-index .gallery-shortcuts a {padding:.25rem .3rem;font-size:.85rem}
  #house-index .gallery-page-groups {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (prefers-reduced-motion:no-preference) {
  html:not(.motion-paused) #house-index[open]:not([data-returning]) .gallery-mast .imprint-orbit {animation:directory-ink .65s cubic-bezier(.2,.7,.2,1) both;transform-origin:center}
  html:not(.motion-paused) #house-index[open] .gallery-rooms>a {animation:department-arrives .48s cubic-bezier(.18,.75,.2,1) backwards;animation-delay:.10s}
  html:not(.motion-paused) #house-index[open] .gallery-rooms>a:nth-child(2) {animation-delay:.14s}
  html:not(.motion-paused) #house-index[open] .gallery-rooms>a:nth-child(3) {animation-delay:.18s}
  html:not(.motion-paused) #house-index .gallery-art img {transition:transform .65s cubic-bezier(.2,.72,.2,1)}
  html:not(.motion-paused) #house-index .gallery-rooms a:is(:hover,:focus-visible) img {transform:scale(1.065)}
  @keyframes directory-ink {from {opacity:0;transform:scale(.87)}to {opacity:1;transform:none}}
  @keyframes department-arrives {from {transform:translateY(.65rem);opacity:0}to {transform:none;opacity:1}}
}
@media (prefers-contrast:more),(prefers-reduced-transparency:reduce),(forced-colors:active) {
  html[data-theme] dialog#house-index.house-gallery[open] {--ink:CanvasText;--muted:CanvasText;--glass:Canvas;--line:ButtonText;--rim:ButtonText;--well:Canvas}
  html[data-theme] #house-index.house-gallery .gallery-stage {background:Canvas;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
}

@media (forced-colors:active) {
  .signature-seal .signature-core {background:CanvasText!important;mask:url('/assets/house-signature.svg') center/contain no-repeat;forced-color-adjust:none}
  .signature-seal .signature-core>* {visibility:hidden}
}

/* /house-palette.css */
/* Shared page stock. Project artwork, photographic covers and the illustrated
   signoff keep their own lighting and are never recolored by a page filter. */
@media screen and (forced-colors:none) {
  html:root {
    color-scheme:dark;
    --house-ground:#000000;
    --house-surface:#0b0c0d;
    --house-fg:#f7f8fa;
    --house-secondary:#b7bdc4;
    --house-rule:rgb(228 233 240 / .22);
    --house-glass-ground:rgb(0 0 0 / .84);
    --house-glass-frost:rgb(228 242 255 / .032);
    --house-control:rgb(0 0 0 / .34);
    --house-film-tint:rgb(255 255 255 / .022);
    --house-ui-glint:rgb(225 237 255 / .075);
  }
  html[data-theme=light] {
    color-scheme:light;
    --house-ground:#ffffff;
    --house-surface:#fafbfc;
    --house-fg:#090b0d;
    --house-secondary:#414850;
    --house-rule:rgb(19 27 36 / .20);
    --house-glass-ground:rgb(255 255 255 / .89);
    --house-glass-frost:rgb(255 255 255 / .19);
    --house-control:rgb(255 255 255 / .45);
    --house-film-tint:rgb(255 255 255 / .065);
    --house-ui-glint:rgb(86 103 122 / .06);
  }
  html:root, html:root body:is(.house-page,#top) {
    --atmosphere-ground:var(--house-ground);
    --atmosphere-panel:var(--house-surface);
    --house-night:var(--house-ground);
    --house-paper:var(--house-fg);
    --house-muted:var(--house-secondary);
    --ink:var(--house-ground);
    --paper:var(--house-fg);
    --silver:var(--house-secondary);
    --soft:var(--house-secondary);
    --line:var(--house-rule);
    --index-panel:var(--house-surface);
    --index-ink:var(--house-fg);
    --index-soft:var(--house-secondary);
    --index-edge:var(--house-rule);
    --index-glass:linear-gradient(123deg,var(--house-ui-glint),transparent 32% 79%,var(--house-film-tint)),var(--house-surface);
    --clear-tint:var(--house-film-tint);
    --key-glass:var(--house-control);
    background:var(--house-ground)!important;
    color:var(--house-fg);
  }
  html[data-theme] body.house-page .house-header:not(.on-imprint) {
    --index-ink:var(--house-fg);
    --index-soft:var(--house-secondary);
  }
  html[data-theme] dialog#house-index.house-gallery[open] {
    --ink:var(--house-fg);
    --muted:var(--house-secondary);
    --line:var(--house-rule);
    --lens:var(--house-glass-ground);
    --frost:var(--house-glass-frost);
  }
  html[data-theme] body #the-house .house-film-still figcaption {color:var(--house-secondary)}
  html[data-theme] body footer.house-colophon,
  html[data-theme] body#top footer.house-colophon#contact {
    --imprint-ground:var(--house-ground);
    --imprint-ink:var(--house-fg);
    --imprint-muted:var(--house-secondary);
    --imprint-line:var(--house-rule);
  }
  /* Forced opaque surfaces keep the same contrast as the page beneath them. */
  @media (prefers-reduced-transparency:reduce),(prefers-contrast:more) {
    html:root, html:root body:is(.house-page,#top) {
      --house-glass-ground:var(--house-ground);
      --house-glass-frost:transparent;
      --key-glass:var(--house-surface);
      --clear-tint:var(--house-surface);
    }
    html[data-theme] dialog#house-index.house-gallery[open] {--lens:var(--house-ground)}
  }
}

/* /mast-identity.css */
/* Both inks use the same footprint. The four pairs of mask strokes follow
   the four tips of the original stripe master. */
[data-mast-menu] .mast-caption {display:none}
.mast-emblem {position:relative;display:inline-grid;place-items:center;flex:none;line-height:0;pointer-events:none}
.mast-cuts path {stroke-dashoffset:1;--claw-order:0}
.mast-cuts path:nth-child(2) {--claw-order:1}
.mast-cuts path:nth-child(3) {--claw-order:2}
.mast-cuts path:nth-child(4) {--claw-order:3}
@media screen and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  html:not(.motion-paused) .mast-cuts path {
    transition:stroke-dashoffset .36s cubic-bezier(.4,.02,.22,1);
    transition-delay:calc((3 - var(--claw-order)) * 44ms);
  }
  html[data-mast-stripes]:not(.motion-paused) .mast-cuts path {stroke-dashoffset:0;transition-delay:calc(var(--claw-order) * 44ms)}
}
html body header .home-mark .mast-identity,
html body#top .site-header > .brand .mast-identity {
  display:block!important;
  flex:none;
  width:var(--house-logo-width,60px);
  height:var(--house-mast-line,46px);
  filter:brightness(0) invert(1);
  pointer-events:none;
}
/* The photograph selects one ink for the mark and its circular inscription. */
@media screen {
  html.has-house-index[data-theme]:not([data-mast-docked]) body header:has(.archive-nav)>[data-mast-menu] {
    --mast-invert:1;
    width:var(--house-logo-width)!important;height:var(--house-mast-line)!important;
    mix-blend-mode:normal;background:none!important;border:0!important;box-shadow:none!important;
    -webkit-backdrop-filter:none;backdrop-filter:none;
  }
  html.has-house-index:is([data-theme=light],[data-mast-ink=black]):not([data-mast-docked]) body header:has(.archive-nav)>[data-mast-menu] {
    --mast-invert:0;
  }
  html.has-house-index[data-mast-ink=white]:not([data-mast-docked]) body header:has(.archive-nav)>[data-mast-menu] {
    --mast-invert:1;
  }
  html.has-house-index[data-theme]:not([data-mast-docked]) body header:has(.archive-nav)>[data-mast-menu] .mast-identity {
    filter:brightness(0) invert(var(--mast-invert));
  }
}
/* The same link travels with the reader and becomes the modal's own close button. */
@media screen {
  :root {
    --mast-dock-h:3.3rem;
    --mast-dock-w:9rem;
    --mast-dock-edge:max(clamp(.8rem,2.1svh,1.25rem),calc(env(safe-area-inset-bottom,0px) + .4rem));
    --mast-glass:rgb(25 28 33 / .82);
    --mast-glass-ink:#faf9f4;
    --mast-rim:rgb(255 255 255 / .25);
    --mast-reflection:rgb(255 255 255 / .29);
    --mast-invert:1;
  }
  html[data-theme=light] {
    --mast-glass:rgb(249 249 246 / .85);
    --mast-glass-ink:#171a1c;
    --mast-rim:rgb(44 53 59 / .23);
    --mast-reflection:rgb(255 255 255 / .96);
    --mast-invert:0;
  }
  html.has-house-index[data-theme][data-mast-docked] body :is(header:has(.archive-nav),#house-index .gallery-stage) > [data-mast-menu] {
    position:fixed;inset:auto;left:50%;top:var(--mast-dock-y,calc(100dvh - var(--mast-dock-edge) - var(--mast-dock-h) / 2))!important;
    transform:translate(-50%,-50%)!important;display:inline-flex!important;align-items:center;justify-content:center;
    gap:.7rem;width:var(--mast-dock-w)!important;height:var(--mast-dock-h)!important;min-height:44px;max-width:calc(100vw - 2rem);
    box-sizing:border-box;isolation:isolate;margin:0;padding:0 .88rem;z-index:30;pointer-events:auto;
    mix-blend-mode:normal;border:1px solid var(--mast-rim)!important;border-radius:999px;
    background:var(--mast-glass)!important;color:var(--mast-glass-ink)!important;text-decoration:none;
    box-shadow:inset 0 1px 1px var(--mast-reflection),inset 0 -1px 3px rgb(0 0 0 / .13),0 3px 14px rgb(0 0 0 / .19);
    -webkit-backdrop-filter:blur(20px) saturate(1.45);backdrop-filter:blur(20px) saturate(1.45);
  }
  html[data-mast-docked] #house-index.house-gallery .gallery-stage > [data-mast-menu] {
    --mast-dock-y:calc(100% - var(--mast-dock-edge) - var(--mast-dock-h) / 2);position:absolute!important;
  }
  html.has-house-index[data-mast-docked] body [data-mast-menu] .mast-caption {
    display:grid;place-items:center;flex:0 0 auto;white-space:nowrap;align-self:center;
    font:500 .93rem/1.25 ArtistSans,HouseSans,Arial,sans-serif;letter-spacing:0;
  }
  html:lang(ar)[data-mast-docked] body [data-mast-menu] .mast-caption {font-family:EditionCairo,Tahoma,sans-serif}
  [data-mast-menu] .mast-caption > span {grid-area:1/1}
  [data-mast-menu][aria-expanded=false] .mast-caption > :last-child,
  [data-mast-menu][aria-expanded=true] .mast-caption > :first-child {visibility:hidden}
  html.has-house-index[data-theme][data-mast-docked] body :is(header,#house-index) [data-mast-menu] .mast-identity {
    display:block!important;width:2.45rem!important;height:1.88rem!important;flex:none;pointer-events:none;filter:brightness(0) invert(1);
  }
  html.has-house-index[data-theme=light][data-mast-docked] body :is(header,#house-index) [data-mast-menu] .mast-identity {filter:brightness(0)}
  html[data-mast-docked] [data-mast-menu] .mast-emblem {width:2.45rem}
  html[data-mast-docked] [data-mast-menu] .mast-orbit {display:none}
  html[data-mast-docked] {scroll-padding-block-end:calc(var(--mast-dock-h) + var(--mast-dock-edge) + .75rem)}
  html[data-mast-docked] #house-index.house-gallery .index-close {display:none}
  html.has-house-index[data-mast-docked] .house-colophon {padding-bottom:calc(var(--mast-dock-h) + var(--mast-dock-edge) + 1.1rem)}
  html[data-mast-docked] #house-index.house-gallery .gallery-scroll {
    scroll-padding-block-end:calc(var(--mast-dock-h) + var(--mast-dock-edge) + .8rem);
    padding-block-end:calc(var(--mast-dock-h) + var(--mast-dock-edge) + 1.5rem);
  }
  html[data-mast-docked] [data-mast-menu]:focus-visible {outline:2px solid var(--mast-glass-ink);outline-offset:3px}
}

/* The circular inscription belongs to the mark at the top of the page. */
[data-mast-menu] .mast-orbit {
  --seal-width:var(--mast-orbit-size,var(--house-orbit,9rem));
  --seal-ink:rgb(calc(var(--mast-invert,1) * 255) calc(var(--mast-invert,1) * 255) calc(var(--mast-invert,1) * 255));
  --seal-rail:var(--seal-ink);
  position:absolute;inset:auto;left:50%;top:50%;margin:0;
  transform:translate(-50%,-50%) scale(calc(.88 + var(--mast-over,0) * .12));
  visibility:var(--mast-ring-visibility,hidden);opacity:var(--mast-over,0);
  pointer-events:none;
}
html body header [data-mast-menu] .mast-orbit > svg,
html body#top .site-header > .brand .mast-orbit > svg {display:block!important}
[data-mast-menu] .mast-orbit .seal-engraving {stroke-width:1.45;opacity:.68}
[data-mast-menu] .mast-orbit .seal-type {font-size:24px;letter-spacing:.25px}
[data-mast-menu] .mast-orbit .seal-practices {font-size:21px}
[data-mast-menu] .mast-identity {scale:calc(1 - var(--mast-over,0) * var(--mast-hover-shrink,0))}
@media screen and (any-hover:hover) and (any-pointer:fine) {
  html:not([data-mast-docked]) header [data-mast-menu]:not([aria-expanded=true]):hover {--mast-over:1;--mast-ring-visibility:visible;--mast-ring-play:running}
}
@media screen {
  html:not([data-mast-docked]) header [data-mast-menu]:not([aria-expanded=true]):focus-visible {--mast-over:1;--mast-ring-visibility:visible;--mast-ring-play:running}
}
@media screen and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  html:not(.motion-paused) [data-mast-menu] .mast-orbit {
    transition:opacity .24s ease,transform .34s cubic-bezier(.24,.78,.23,1),visibility .24s;
  }
  html:not(.motion-paused) [data-mast-menu] .mast-orbit .seal-type {animation-play-state:var(--mast-ring-play,paused)}
  html:not(.motion-paused) [data-mast-menu] .mast-orbit .seal-company {animation-name:mast-company-circuit;animation-duration:42s}
  html:not(.motion-paused) [data-mast-menu] .mast-orbit .seal-type use {display:inline}
  html:not(.motion-paused) [data-mast-menu] .mast-identity {transition:scale .3s ease}
  html.has-house-index[data-theme]:not(.motion-paused) body header:has(.archive-nav) > [data-mast-menu] {
    transition:top .52s cubic-bezier(.36,0,.16,1),width .36s ease,height .36s ease,box-shadow .28s ease;
  }
  html:not(.motion-paused)[data-mast-docked] [data-mast-menu] .mast-caption {animation:mast-caption-in .35s ease-out both}
  html.has-house-index[data-theme][data-mast-docked]:not(.motion-paused) body header:has(.archive-nav) > [data-mast-menu] {
    transition:top .32s ease,width .32s ease,height .32s ease,box-shadow .28s ease;
  }
  @keyframes mast-caption-in {from{opacity:0}to{opacity:1}}
  @keyframes mast-company-circuit {to{transform:rotate(360deg)}}
}
@media (forced-colors:active) {
  [data-mast-menu] .mast-orbit {--seal-ink:CanvasText;--seal-rail:CanvasText;forced-color-adjust:none}
  html.has-house-index[data-mast-docked] [data-mast-menu] {--mast-glass:Canvas;--mast-glass-ink:ButtonText;--mast-rim:ButtonText;--mast-reflection:transparent}
}
@media print, (prefers-reduced-motion:reduce) {
  .mast-identity .mast-signature {opacity:1}
  .mast-identity .mast-stripes {opacity:0}
}
@media (forced-colors:active) {
  /* CanvasText follows the visitor's actual contrast palette, including
     custom foregrounds. A mask paints the same filled serif in the chosen foreground. */
  .mast-identity {
    forced-color-adjust:none;
    background:CanvasText;
    filter:none!important;
    mask:url('/assets/house-signature.svg') center / contain no-repeat;
  }
  html.has-house-index[data-theme] body header:has(.archive-nav) :is(.home-mark,.brand) {mix-blend-mode:normal}
  .mast-identity image {visibility:hidden}
}

/* /house-alignment.css */
/* A central axis connects the mast, editorial openings, works and colophon.
   Artwork, scrolling galleries and the painting brief keep local coordinates. */
@media screen {
  :root {
    --house-span: 82rem;
    --house-inset: clamp(1.35rem, 5.5vw, 5.5rem);
    --house-orbit: clamp(8rem, 19svh, 11rem);
    --house-logo-width: clamp(4.25rem, 5.8vw, 5.35rem);
    --house-logo-y: calc(env(safe-area-inset-top, 0px) + var(--house-orbit) / 2 + clamp(.75rem, 1.8svh, 1.4rem));
    --house-mast-line: calc(var(--house-logo-width) * 308 / 402);
    --house-clearance: calc(var(--house-logo-y) + var(--house-mast-line) / 2 + clamp(2rem, 4.8svh, 3.75rem));
    --house-section-space: clamp(3.7rem, 7.4vw, 7.3rem);
    --house-rail: max(var(--house-inset), calc((100% - var(--house-span)) / 2), env(safe-area-inset-left), env(safe-area-inset-right));
    --house-column: calc(100% - 2 * var(--house-rail));
    --mast-inset: var(--house-rail);
  }

  @media (max-height:460px) {
    :root {--house-orbit:6.25rem;--house-logo-y:calc(env(safe-area-inset-top,0px) + 3.6rem);--house-logo-width:3rem}
  }
  /* The top margin of the pinned print is clear paper above the mane.
     Keep the closed mark and its open navigation circle on that same axis. */
  @media (min-aspect-ratio:1/1) and (min-height:32rem) {
    :root:has(.service-scene-opening > [data-scene="identity"]) {
      --house-orbit:clamp(6rem,12svh,7rem);
      --mast-hover-shrink:.3;
      --house-logo-y:calc(env(safe-area-inset-top,0px) + var(--house-orbit) / 2 + 1.45rem);
    }
  }
  @media (min-aspect-ratio:7/5) and (min-height:32rem) {
    html body main#main .service-scene-opening [data-scene="identity"] > picture > img {object-position:18% 50%}
  }
  html.has-house-index body.house-page:not([data-editorial-scenes],.lab-page,.scene-service-page) {
    padding-block-start:var(--house-clearance);
  }
  html body.house-page main#main > :is(.reading-spread,.customer-reading,.practice-register,.audience-notes,.edition-chapter) {
    margin-block-start:var(--house-section-space);
  }
  html body#top main#main :is(.home-shortcuts,.house-editorial-spread,.reel-grid) {
    row-gap:clamp(2.1rem,4.5vw,4.3rem);
  }

  /* Keep the navigation mark centered and let its ink respond to the page. */
  html.has-house-index[data-theme] body header:has(.archive-nav) > :is(.home-mark,.brand,.home-utilities,.header-utilities) {
    position: fixed;
    top: calc(var(--mobile-top) + (var(--mast-line) - var(--mobile-hit)) / 2);
    z-index: 12;
  }
  html.has-house-index[data-theme] body header:has(.archive-nav) > :is(.home-mark,.brand) {
    left: 50%;
    right: auto;
    top: var(--house-logo-y) !important;
    width: var(--house-logo-width) !important;
    height: var(--house-mast-line) !important;
    min-height: 0;
    padding: 0;
    mix-blend-mode: normal;
    transform: translate(-50%, -50%) !important;
    justify-content: center;
    align-items: center;
  }
  html.has-house-index body.house-page:not([data-editorial-scenes],.scene-service-page) {
    padding-block-start: var(--house-clearance);
  }
  html body#top #the-house .house-narrative,
  html body#top #the-house .house-editorial-spread,
  html body#top .house-reel .reel-grid {
    padding-block: var(--house-section-space);
  }
  html.has-house-index[data-theme] body header:has(.archive-nav) :is(.home-utilities,.header-utilities) {
    inset-inline-end: var(--mobile-right);
    margin-left: auto !important;
  }
  html body#top #the-house > .house-narrative {
    width: var(--house-column);
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
    text-align: center;
  }
  html body#top #the-house :is(.home-shortcuts,.identity-landing,.house-editorial-spread,.audience-routes) {
    margin-inline: auto;
  }
  html body#top #the-house .house-editorial-spread,
  html body#top .house-reel .reel-grid,
  #top #original-work .home-painting {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 72rem;
    margin-inline: auto;
  }
  html body#top #the-house .house-editorial-spread {
    row-gap: clamp(1.6rem,3.5vw,3rem);
  }
  html body#top #the-house .house-editorial-copy { width: min(100%,48rem); }
  html body#top #the-house .house-editorial-spread .house-film-still { align-self: center; }
  #the-house .house-editorial-copy,
  #top .house-reel .reel-editorial,
  #top #original-work .home-painting-copy {
    display: block;
    text-align: center;
  }
  html body#top #the-house .house-editorial-copy :is(.eyebrow,.house-story-copy,h2),
  html body#top .house-reel .reel-editorial > *,
  html body#top #original-work .home-painting-copy > * {
    margin-inline: auto !important;
    text-align: center !important;
  }
  html body#top #the-house .house-film-still,
  html body#top .house-reel .reel-grid > figure { width: min(100%,59rem); }
  html body#top #the-house .audience-routes a[href] { justify-items: center; text-align: center; }
  html body#top #the-house .audience-routes .audience-pill { justify-self: center; }
  html body#top #original-work .artist-transition,
  html body#top #the-house .house-film-still figcaption {
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  html body.house-page main#main:is(.audience-guide,.art-room,.language-studio,.house-portrait,.archive-main:not(.studio-overview)),
  html body:is(.virginia-branding,.creative-technology) main#main {
    box-sizing: border-box;
    width: var(--house-column);
    max-width: none;
    padding-inline: 0;
    margin-inline: auto;
  }
  html body.house-page main#main.studio-overview { --studio-column: var(--house-column); }
  html body.house-page main#main > :is(.artist-opening,.shop-opening,.practice-register,.practice-routes,.chapter-cards,.correspond,.client-projects),
  html body.house-page main#main:has(> .shop-opening) > :is(.customer-reading,.house-note),
  html body.house-page main#main:has(> .correspond) > .reading-spread {
    box-sizing: border-box;
    width: var(--house-column);
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
  }
  html body.house-page main#main,
  html body.cart-page main#lab-main { text-align: center; }
  html body.house-page main[id] :is(h1,h2) {
    margin-inline: auto;
    text-align: center !important;
  }

  /* Hero text gets the full line above the artwork. Removing the old
     two-column placement also prevents inset titles on translated editions. */
  html body.house-page main#main :is(.portrait-cover,.edition-intro,.edition-lead,.case-title,.sculpture-pair,.guide-cover,.field-opening,.client-opening,.artist-opening,.shop-opening,.artist-services-intro,.regional-opening,.client-projects,.correspond,.design-invitation,.design-languages,.design-enquiry,.portrait-section-head,.edition-chapter-head,.edition-invitation),
  html body.house-page main#main.correspond:has(.recovery-links),
  html.has-house-index[data-theme] body.lab-page #lab-main > .lab-primary.painters-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  html body.house-page main#main :is(.guide-intro,.primary-copy,.portrait-title,.regional-copy,.field-mast,.case-title,.tools-introduction,.edition-intro-copy,.artist-services-intro > div,.artist-opening > div,.shop-opening > div,.intro,.design-invitation > div,.design-opening,.client-projects > div),
  html body.lab-page #lab-main .painters-table .lab-imprint {
    text-align: center;
    margin-inline: auto;
    max-width: 100%;
  }
  html body.house-page main#main :is(.guide-cover,.sculpture-pair,.regional-opening,.edition-lead,.artist-opening,.shop-opening,.client-opening,.client-projects,.field-opening) > :is(figure,fieldset) {
    align-self: center;
    justify-self: center;
    margin-inline: auto;
    width: min(100%,42rem);
  }
  html body.house-page main#main .portrait-cover .cardinal-plate { width: min(100%,38rem); }
  html body.house-page main#main :is(.tools-jump,.page-primary,.house-return,.archive-back,.page-link) { justify-self: center; }
  html body.house-page main#main :is(.guide-intro,.intro,.field-mast,.tools-introduction,.portrait-title,.regional-copy,.case-title,.edition-intro-copy,.edition-story,.edition-lead,.guide-cover,.artist-opening,.shop-opening,.artist-services-intro,.correspond > div,.design-invitation,.design-languages,.design-enquiry,.client-projects > div,.portrait-section-head,.edition-invitation) :is(p,h1,h2),
  html body.lab-page #lab-main .painters-table :is(.lab-parent,h1,p) {
    margin-inline: auto !important;
    text-align: center !important;
  }
  html body.house-page main#main :is(.sculpture-heading,.edition-mast,.choice-actions,.guide-trail,.client-links,.chapter-routes,.reading-actions,.application-links,.design-links,.portrait-links,.edition-languages,.studio-project-links,.artist-service-links,.portfolio-heading,.portfolio-fields,.practice-routes > div,.client-signature figcaption,.commission-alternatives) {
    justify-content: center;
    justify-items: center;
    text-align: center;
  }
  html body.house-page main#main :is(.edition-road,.edition-story,.edition-intro-copy,.tools-opening,.portrait-address,.edition-deck) {
    justify-items: center;
    text-align: center;
  }
  html body.house-page main#main .house-edition-feature,
  html body.house-page main#main .edition-road { justify-content: center; }
  html body.house-page main#main.house-edition-feature .edition-road h1 { text-align: center; align-self: center; margin-inline: auto; }
  html body.house-page main#main .edition-intro-copy,
  html body.house-page main#main .portrait-address { justify-content: center; gap: 1rem; }
  html body.house-page main#main .portfolio-heading { flex-wrap: wrap; column-gap: 1rem; }
  html body.house-page main#main > .reading-opening { margin-inline: auto; }
  html body.house-page main#main .guide-cover .guide-intro,
  html body.house-page main#main .field-opening .field-mast { padding-inline: 0; }

  html body.house-page main#main .tools-opening > :is(#tools-title,.tools-introduction),
  html body.house-page main#main .commissions-heading h1,
  html body.house-page main#main .design-opening #branding-title {
    margin-inline: auto;
    text-align: center;
    justify-self: center;
  }
  html body.house-page main#main .medium-caption,
  html body.house-page main#main .commission-practice,
  html body.house-page main#main .case-reading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  html body.house-page main#main :is(.medium-caption,.practice-copy,.case-reading) :is(p,h2,figcaption) {
    margin-inline: auto;
    text-align: center;
  }
  html body.house-page main#main .commission-practice > figure { width: min(100%,40rem); margin-inline: auto; }

  /* Each service or editorial chapter opens on axis. Paired specimens and
     project cards below it may still share a row at a comfortable size. */
  html body.house-page main#main :is(.subject-opening,.system-row,.tool-signature,.shop-format,.artist-service,.artist-service-heading,.audience-story,.edition-art,.edition-tools,.portrait-contact,.practice-correspond,.archive-end),
  html body.house-page main#main.field-guide .article-sequence.reading-cards > .guide-section,
  html body.house-page main#main .design-service-list > article {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  html body.house-page main#main :is(.tool-signature,.artist-service-heading) {
    justify-content: center;
    gap: .7rem;
  }
  html body.house-page main#main :is(.artist-service,.system-row,.design-service-list > article,.shop-format,.audience-story,.edition-art,.edition-tools) {
    row-gap: clamp(1rem,2.8vw,2.5rem);
  }
  html body.house-page main#main :is(.audience-story > figure,.subject-opening > figure,.edition-tools > figure,.edition-art > figure,.article-sequence .guide-section > figure) {
    width: min(100%,42rem);
    align-self: center;
    margin-inline: auto;
  }
  html body.house-page main#main :is(.subject-opening,.tool-heading,.tool-signature,.shop-format,.artist-service-heading,.edition-story,.audience-story,.system-copy,.design-service-list,.article-sequence .guide-section,.portrait-contact,.archive-end) :is(h2,h3,p),
  html body.house-page main#main :is(.edition-columns,.edition-cases,.portrait-service-grid,.audience-notes) article :is(h3,p) {
    text-align: center;
    margin-inline: auto;
  }
  html body.house-page main#main .article-sequence .guide-section > :is(p,div,.reading-actions) {
    align-self: center;
  }
  html body.house-page main#main .edition-lab {
    border-inline-start: 0;
    padding-inline: 0;
  }
  html body.house-page main#main :is(.edition-film,.work-example,.portrait-works,.medium-figure,.practice-film) figcaption {
    text-align: center;
    justify-content: center;
  }
  html body.house-page main#main :is(.portfolio-heading,.edition-intro-copy,.artist-services-intro,.practice-correspond) {
    align-items: center;
    flex-direction: column;
  }
  html body.house-page main#main .reading-spread > h2,
  html body.house-page main#main .customer-reading > h2,
  html body.house-page main#main .subject-chapter > .subject-opening {
    grid-column: 1 / -1;
    justify-self: center;
    margin-inline: auto;
  }
  html body.house-page main#main .subject-chapter > .notes-list,
  html body.house-page main#main .reading-spread > dl,
  html body.house-page main#main .customer-reading > ul { grid-column: 1 / -1; }
  html body.house-page main#main .portrait-service-grid article {
    justify-items: center;
    padding-inline: 0;
    border-inline-start: 0;
  }
  .archive-main .tool-signature > .tool-mark { width: clamp(4.25rem,7vw,7rem); }
  .house-page main .notes-list,
  .house-page main .customer-reading ul { text-align: start; }
  .house-page main .practice-pair { text-align: start; }

  /* Text fields, long legal passages and application previews keep their
     local reading direction within centered panels. */
  html body.house-page main#main.correspond:has(.recovery-links),
  html body.house-page main#main.notice,
  html body.cart-page main#lab-main {
    width: min(var(--house-column),50rem);
    margin-inline: auto;
    padding-inline: 0;
  }
  html body.house-page main#main .correspond > form { width: min(100%,38rem); text-align: start; }
  html body.house-page main#main.notice p { text-align: start; }
  html body.house-page main#main .correspond > div { width: min(100%,45rem); }
  html body.lab-page #lab-main .painters-table .lab-imprint {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }
  html body.cart-page #lab-main .sculpture-heading { justify-content: center; }
  html body.cart-page #lab-main #review-empty p { margin-inline: auto; }
  html.has-house-index[data-theme] body.lab-page #lab-main > .lab-primary.painters-table { padding-inline: var(--house-rail); }
  html body.lab-page #lab-main .painters-table > .linen-study { width: min(100%,42rem); }
  html body.lab-page #lab-main #choose-path > :is(h2,p) { text-align: center; margin-inline: auto; }
  html body.cart-page main#lab-main > :is(p,.sculpture-heading,.house-return) { margin-inline: auto; }


}

@media screen and (max-width:46rem) {
  html body#top #the-house .audience-routes a[href] { grid-template-columns: minmax(0,1fr); }
  html body#top #the-house .audience-routes { row-gap: .85rem; }
}

/* /house-body-center.css */
/* Keep the reading axis through the project, material and campaign chapters. */
@media screen {
  html body.house-page main#main.archive-main .case-reading,
  html body.house-page main#main.archive-main .case-reading .sculpture-heading {
    align-items: center;
    justify-content: center;
  }

  html body.house-page main#main.archive-main .case-reading .sculpture-heading {
    display: flex;
    flex-direction: column;
    margin-inline: auto;
  }

  html body.house-page main#main > .guide-section:not(.subject-chapter) {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: .85rem;
    margin-inline: auto;
    text-align: center;
  }
  html body.house-page main#main > .guide-section:not(.subject-chapter) > :is(h2,p,dl) {
    flex: 0 0 100%;
    max-inline-size: 100%;
    margin: 0;
  }
  html body.house-page main#main.campaign-service > .guide-section {
    max-inline-size: 64ch;
  }

  main#main .support-library > .guide-section,
  main#main .chapter-cards > .house-row {
    align-items: center;
    text-align: center;
  }
  main#main .audience-notes > section > :is(p,h2),
  main#main .support-library .support-sample {
    margin-inline: auto;
  }
  main#main.studio-overview .feature-caption {
    justify-items: center;
    text-align: center;
  }

  main#main .practice-register .practice-pair article {
    grid-template-columns: minmax(0,1fr);
    justify-items: center;
    text-align: center;
  }
  main#main .practice-register .practice-pair article > div {
    display: grid;
    justify-items: center;
  }
  main#main .practice-register .practice-pair h3,
  main#main .practice-register .practice-pair a {
    grid-area: auto;
    justify-self: center;
  }

  html body.house-page main#main .inventory-study figcaption {
    grid-template-columns: minmax(0,1fr);
    justify-items: center;
    text-align: center;
  }
  html body.house-page main#main .inventory-credit {
    justify-items: center;
    justify-self: center;
    text-align: center;
  }

  /* Keep help next to its question on every screen. Open help participates
     in the layout beneath it, leaving the editable material desk intact. */
  #lab-main #builder .cl-step > .lab-question {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  #lab-main #builder .cl-step > .lab-question > h2 {
    float: none;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    padding-inline: 0;
  }
  #lab-main #builder .cl-step > .lab-question > details > summary {
    position: static;
    margin-inline: auto;
    width: fit-content;
  }
  #lab-main #builder .cl-step > .lab-question > details > div {
    margin-inline: auto;
    text-align: start;
  }
  #lab-main #builder > .tier-resources,
  #lab-main #builder .piece-heading,
  #lab-main #builder .paint-comparison figcaption {
    justify-content: center;
    text-align: center;
  }
}

/* /house-scene-layout.css */
/* Each opening uses the typography and the actual materials of its page.
   The native photograph, work credit and controls also work without scripts. */
@media screen {
  html body.house-page[data-editorial-scenes],
  html.has-house-index body.house-page[data-editorial-scenes] {padding-block-start: 0}
  html:not(.has-house-index) body.house-page:is([data-editorial-scenes],.scene-service-page) > .house-header {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    z-index: 10;
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] {
    display: block;
    margin-block-start: 0;
    padding-block-start: 0;
    transform: none;
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] > .house-picture-opening {
    --scene-height: 100svh;
    --scene-space: clamp(1rem,4.5vw,4.75rem);
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    display: block;
    inline-size: 100vw;
    max-inline-size: none;
    min-block-size: var(--scene-height);
    margin: 0 calc(50% - 50vw);
    padding: 0;
    border: 0;
    text-align: center;
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] > .house-picture-opening > h1 {
    position: absolute;
    z-index: 3;
    inset: var(--scene-height) auto auto 50%;
    transform: translate(-50%,-100%);
    inline-size: min(calc(100% - 2 * var(--scene-space)),24ch);
    max-inline-size: none;
    margin: 0;
    padding-block-end: clamp(1.3rem,5svh,3.5rem);
    color: var(--index-ink,currentColor);
    font: 850 clamp(2.5rem,6.4vw,6.7rem)/.97 var(--display-face,"House Barlow Semi Condensed",sans-serif);
    text-wrap: balance;
    text-align: center;
    letter-spacing: -.027em;
    pointer-events: none;
  }
  html:lang(ar) body.house-page main#main[data-scene-page] > .house-picture-opening > h1 {
    font-family: EditionCairo,Tahoma,sans-serif;
    font-size: clamp(2.1rem,5.8vw,5.8rem);
    line-height: 1.3;
    letter-spacing: normal;
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening :is(.house-picture-stage,.house-image-plane) {
    position: relative;
    display: block;
    width: 100%;
    height: var(--scene-height);
    overflow: hidden;
    isolation: isolate;
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening :is(.house-picture-stage,.house-image-plane) > img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    object-fit: cover;
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening > :is(figure,fieldset,.edition-road) {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: .4rem 1rem;
    padding: 1.1rem var(--scene-space);
    margin: 0;
    text-align: center;
    color: var(--index-soft);
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening[data-scene-layout="compact"] {
    --scene-height: clamp(13rem,32svh,20rem);
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening:is([data-scene-layout="compact"],[data-scene-layout="photo"],[data-scene-layout="road"]) > h1 {
    color: white;
    text-shadow: 0 1px 15px rgb(0 0 0 / .24);
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening:is([data-scene-layout="compact"],[data-scene-layout="photo"],[data-scene-layout="road"])::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0 0 auto;
    height: var(--scene-height);
    background: linear-gradient(to top, rgb(var(--scene-title-shadow,4 5 7) /.92), rgb(var(--scene-title-shadow,4 5 7) /.63) 13%,transparent 48%);
    pointer-events: none;
  }
  .house-picture-opening[data-scene-layout="road"] {--scene-title-shadow: 0 0 0}
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening[data-scene-layout="compact"] > h1 {
    font-size: clamp(2rem,4.5vw,4.7rem);
    padding-block-end: 1.4rem;
  }
  /* Finished works retain their edges. Editorial images run to the edges. */
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening:is([data-scene-layout="object"],[data-scene-layout="art"],[data-scene-layout="screen"],[data-scene-layout="interactive"],[data-scene-layout="logo"]) [data-house-scene] {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: var(--scene-height);
    max-height: none;
    aspect-ratio: auto;
    padding: clamp(4.6rem,11svh,7rem) var(--scene-space) clamp(7.8rem,20svh,12rem);
    background-color: var(--house-bg,var(--bg));
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening:is([data-scene-layout="object"],[data-scene-layout="art"],[data-scene-layout="screen"],[data-scene-layout="interactive"],[data-scene-layout="logo"]) [data-house-scene] > :is(img,svg) {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    box-sizing: border-box;
    margin: 0;
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening[data-scene-layout="screen"] :is(.proof-pair,.edition-proof-pair) {
    display: grid;
    grid-template-columns: minmax(0,3fr) minmax(0,1fr);
    gap: clamp(.45rem,2vw,2rem);
    align-items: center;
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening[data-scene-layout="screen"] :is(.proof-pair,.edition-proof-pair) img {
    position: static;
    max-width: 100%;
    max-height: 100%;
    transform: none;
    border: 0;
  }
  .house-picture-opening[data-scene-layout="interactive"] .field-work {
    display: flex !important;
    flex-direction: column;
  }
  .house-picture-opening .field-work .field-view {order: 1; align-self: center}
  .house-picture-opening .field-print {margin: 0; width: 100%; max-width: none}
  html body.house-page main#main[data-scene-page] .house-picture-opening .inventory-study figcaption {
    display: grid;
    justify-items: center;
  }
  html body.house-page main#main[data-scene-page] .house-picture-opening .inventory-stage {
    position: relative;
    inset: auto;
  }
  html body.house-page main#main[data-scene-page] .house-picture-opening .inventory-stage > img {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    padding: inherit;
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening:is([data-scene-layout="camera"],[data-scene-layout="linen"],[data-scene-layout="lab"]) {
    display: grid;
    align-content: center;
    justify-items: center;
    padding-block: 4rem 9rem;
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening:is([data-scene-layout="camera"],[data-scene-layout="linen"],[data-scene-layout="lab"]) > figure {
    max-width: min(100%,calc((var(--scene-height) - 13rem) * 1.5));
    aspect-ratio: 3 / 2;
  }
  html body.house-page main#lab-main[data-scene-page] .house-picture-opening[data-scene-layout="lab"] {
    --scene-height: clamp(18rem,60svh,44rem);
    padding-block: 3.5rem 5.25rem;
  }
  html body.house-page main#lab-main[data-scene-page] .house-picture-opening[data-scene-layout="lab"] > figure {
    max-width: min(100%,calc((var(--scene-height) - 8rem) * 1.5));
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening[data-scene-layout="case"] > figure {
    height: var(--scene-height);
    padding-block-end: 14svh;
    aspect-ratio: auto;
    overflow: hidden;
  }
  html body.house-page main#main[data-scene-page] .house-picture-opening[data-scene-layout="case"] > h1 {color: #fff}
  .house-picture-opening[data-scene-layout="case"]::after {
    content:"";position:absolute;inset:auto 0 0;height:35%;z-index:2;
    background:linear-gradient(transparent,rgb(6 7 9 /.82));pointer-events:none;
  }
  html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening .edition-film > div {height: var(--scene-height); max-height: none; border-radius: 0}
  html body.house-page main#main[data-scene-page] .house-picture-opening .edition-film img {height:100%;width:100%;object-fit:cover}
  html body.house-page main:is(#main,#lab-main)[data-scene-page] > .house-picture-opening + :is(.guide-cover,.sculpture-pair,.portrait-opening,.client-opening,.artist-opening,.shop-opening,.field-opening,.artist-services-intro,.edition-opening,.case-intro,.lab-primary) {
    margin-block-start: clamp(1.4rem,3.5vw,3.5rem);
    min-block-size: auto;
  }
  html body.house-page main#main[data-scene-page] .portrait-opening .portrait-cover {min-height: auto}
  html body.house-page main#main[data-scene-page] .portrait-address {margin-bottom: 1.3rem}
  html body.house-page main#main[data-scene-page] .case-title {display: block}
  html body.house-page main#main[data-scene-page] .case-title p {margin-inline: auto}
  html body.house-page main#lab-main[data-scene-page] .painters-table {padding-block: 1rem; min-height: auto}
  @media(max-width: 40rem) {
    html body.house-page main:is(#main,#lab-main)[data-scene-page] .house-picture-opening > h1 {
      font-size: clamp(2.1rem,9vw,3.7rem);
      width: calc(100% - 2rem);
    }
  }
}
@media print {
  .house-picture-opening [data-house-scene] {display:none!important}
}

/* /house-scene-flow.css */
/* Only saturation is taken from the scene. The sand is an alpha mask,
   so it contributes no painted pixels of its own to a transparent cutout. */
[data-house-scene] {
  isolation: isolate;
}
.house-sand-veil {
  display: none;
}
@supports ((backdrop-filter: saturate(0)) or (-webkit-backdrop-filter: saturate(0))) and (mask-image: linear-gradient(black, transparent)) {
  /* Constrain backdrop sampling to the local photograph and its live painter.
     Otherwise the filter can reach through a transparent bird or drawing and
     desaturate the wall, sky, or gradient behind the scene's own box. */
  :where([data-house-scene]:has(> .house-sand-veil)) {
    clip-path: inset(0);
  }
  .house-sand-veil {
    --sand-period: 300%;
    position: absolute;
    inset: 0;
    z-index: 4;
    display: block;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    -webkit-backdrop-filter: saturate(0);
    backdrop-filter: saturate(0);
    mask-image: url('/assets/scene-sand.webp');
    mask-mode: alpha;
    mask-repeat: repeat-x;
    mask-size: 150% 112%;
    animation: house-sand-passage 13s linear -4.75s infinite paused;
  }
  [data-flow-running] > .house-sand-veil {
    animation-play-state: running;
  }
  /* Percentage mask positions are relative to the difference between the
     box and tile sizes. At 150% wide, 300% travel is precisely one repeat. */
  @keyframes house-sand-passage {
    0% {mask-position: var(--sand-period) 50%}
    32% {mask-position: calc(var(--sand-period) * .68) 28%}
    68% {mask-position: calc(var(--sand-period) * .32) 68%}
    100% {mask-position: 0% 50%}
  }
  @media (max-aspect-ratio: 1/1) {
    .house-sand-veil {
      --sand-period: 225%;
      mask-size: 180% 112%;
      animation-duration: 11s;
    }
  }
}
@media (prefers-reduced-motion: reduce), (prefers-contrast: more), (forced-colors: active), print {
  .house-sand-veil {display: none}
}
html.motion-paused .house-sand-veil,
.house-sand-veil[hidden] {display: none}

/* /house-material.css */
/* The lenses pick up their surroundings. Photographs, artwork and the top mast keep their own ground. */
:root {
  --lens-ink:#f4f2eb;--lens-muted:#b8bec2;--lens-ground:#08090a;
  --lens-face:rgb(23 26 30 / .73);--lens-wash:rgb(173 194 215 / .072);
  --lens-line:rgb(220 231 239 / .22);--lens-crest:rgb(254 254 255 / .38);
  --lens-under:rgb(0 0 0 / .38);--lens-shadow:rgb(0 0 0 / .16);
  --lens-sheen:linear-gradient(153deg,rgb(215 234 250 / .12),transparent 27%,transparent 66%,rgb(182 214 238 / .065));
  --lens-edge:inset 0 1px .5px var(--lens-crest),inset 0 -1px 1px var(--lens-under),0 8px 23px -15px var(--lens-shadow);
}
html[data-theme=light] {
  --lens-ink:#141819;--lens-muted:#50585d;--lens-ground:#fff;
  --lens-face:rgb(248 249 248 / .78);--lens-wash:rgb(39 66 87 / .04);
  --lens-line:rgb(50 66 78 / .2);--lens-crest:#fff;--lens-under:rgb(42 65 79 / .12);--lens-shadow:rgb(16 30 44 / .22);
  --lens-sheen:linear-gradient(153deg,rgb(255 255 255 / .87),transparent 28%,transparent 66%,rgb(129 163 185 / .12));
}
html.has-house-index[data-theme][data-mast-docked] body :is(header:has(.archive-nav),#house-index .gallery-stage)>[data-mast-menu] {
  --mast-glass:var(--lens-face);background:var(--lens-sheen),var(--lens-face)!important;
  border-color:var(--lens-line)!important;box-shadow:var(--lens-edge),0 8px 24px -8px var(--lens-shadow);
  -webkit-backdrop-filter:blur(20px) saturate(1.65);backdrop-filter:blur(20px) saturate(1.65);
}
/* One sheet of ground glass carries the light of the open page into the menu. */
html[data-theme] dialog#house-index.house-gallery::backdrop {
  background:rgb(7 12 16 / .16);-webkit-backdrop-filter:blur(16px) saturate(1.15);backdrop-filter:blur(16px) saturate(1.15);
}
html[data-theme=light] dialog#house-index.house-gallery::backdrop {background:rgb(242 245 242 / .12)}
html[data-theme] #house-index.house-gallery .gallery-stage {
  background:linear-gradient(155deg,rgb(15 22 28 / .58),rgb(7 10 13 / .68) 68%,rgb(15 20 23 / .63));
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
html[data-theme=light] #house-index.house-gallery .gallery-stage {
  background:linear-gradient(155deg,rgb(252 253 249 / .65),rgb(249 249 246 / .75) 68%,rgb(237 242 244 / .7));
}
html[data-theme] #house-index.house-gallery :is(.gallery-field,.finder-theme,.index-close),
html[data-theme] footer.house-colophon .imprint-preferences :is(.imprint-appearance,.imprint-languages),
html[data-theme] #main .folio-action {
  border:1px solid var(--lens-line);background:var(--lens-sheen),var(--lens-face);box-shadow:var(--lens-edge);
  -webkit-backdrop-filter:blur(13px) saturate(1.5);backdrop-filter:blur(13px) saturate(1.5);
}
.house-colophon .imprint-film {touch-action:pan-y pinch-zoom}
html body main:is(#main,#lab-main) .section-choices {
  box-sizing:border-box;display:block;position:relative;width:min(100%,69rem);max-width:100%;isolation:isolate;
  margin:clamp(2.8rem,6vw,5.6rem) auto;padding:0 clamp(.8rem,2vw,1.8rem);
  color:var(--lens-ink);text-align:center;font-family:ArtistSans,HouseSans,Arial,sans-serif;
}
html body main:is(#main,#lab-main) .section-choices h2 {
  margin:0 0 1.15rem;padding:0;max-width:none;
  font:500 clamp(1.28rem,2.6vw,2.05rem)/1.16 var(--action-face,ArtistSans,HouseSans,sans-serif);
  text-transform:none;letter-spacing:-.04em;color:var(--lens-ink);
}
.section-grid {
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  gap:clamp(.55rem,1.15vw,.95rem);margin:0;padding:0;
}
html body main:is(#main,#lab-main) .section-choices .section-link {
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:.68rem;
  width:fit-content;min-width:0;max-width:100%;min-height:3.15rem;margin:0;
  padding:.4rem 1.05rem .4rem .48rem;text-align:start;text-decoration:none;
  color:var(--lens-ink);border:1px solid var(--lens-line);border-radius:99rem;
  background:var(--lens-sheen),var(--lens-wash);box-shadow:inset 0 1px 0 var(--lens-line);
  font:400 1rem/1.28 ArtistSans,HouseSans,sans-serif;white-space:normal;
}
.section-link-copy {min-width:0;display:grid;gap:.2rem;overflow-wrap:anywhere}
html body main:is(#main,#lab-main) .section-link strong {font:500 clamp(.98rem,1.6vw,1.16rem)/1.22 ArtistSans,HouseSans,sans-serif;letter-spacing:-.018em;color:var(--lens-ink)}
html body main:is(#main,#lab-main) .section-link small {color:var(--lens-muted);font:400 .88rem/1.45 ArtistSans,HouseSans,sans-serif}
.section-thumb {aspect-ratio:1;inline-size:2.25rem;flex:none;overflow:hidden;border-radius:50%;display:grid;place-items:center;background:var(--lens-wash)}
.section-thumb img {display:block;inline-size:100%;block-size:100%;max-height:none;object-fit:cover}
.section-thumb img[src$=".svg"] {object-fit:contain;background:#e1e4e2;padding:.28rem;box-sizing:border-box}
.route-arrow {flex:none;position:relative;display:inline-block;inline-size:.7rem;block-size:.7rem;color:inherit}
.route-arrow::before,.route-arrow::after {content:"";position:absolute;box-sizing:border-box}
.route-arrow::before {inset:10% 5% 15% 20%;border-block-start:1.4px solid;border-inline-end:1.4px solid}
.route-arrow::after {left:8%;top:50%;width:93%;height:1.4px;background:currentColor;transform:rotate(-45deg)}
[dir=rtl] .route-arrow {scale:-1 1}
html body main:is(#main,#lab-main) .section-choices .section-link:is(:hover,:focus-visible),html body #main .folio-action:is(:hover,:focus-visible){border-color:var(--lens-muted);background:var(--lens-sheen),var(--lens-wash)}
html body main:is(#main,#lab-main) .section-link:focus-visible {outline:2px solid currentColor;outline-offset:3px}
html body #main .section-path {
  margin:clamp(1.1rem,2.5vw,2rem) auto;padding:0 1rem;width:fit-content;max-width:100%;
  font:500 .86rem/1.45 ArtistSans,HouseSans,sans-serif;color:var(--lens-muted);
}
.section-path ol {display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0;padding:0;margin:0;list-style:none}
.section-path li {display:inline-flex;align-items:center;min-width:0}
.section-path li + li::before {content:"";width:.36rem;height:.36rem;border-block-start:1px solid;border-inline-end:1px solid;rotate:45deg;margin:0 .65rem;opacity:.65}
html body #main .section-path a {display:inline-flex;align-items:center;min-height:38px;padding:0;color:inherit;text-decoration:none;background:none;border:none;box-shadow:none;font:inherit}
.section-path li[aria-current] {color:var(--lens-ink)}
.destination-language {margin-inline-start:.4em;font-size:.78em}
html body.folio-page,html.has-house-index body.folio-page {padding-block-start:0}
html body.folio-page #main.destination-page {
  display:block;width:100%;max-width:none;margin:0 auto;padding:0;position:relative;transform:none;
  color:var(--lens-ink);text-align:center;
}
html body #main .folio-opening {display:grid;justify-items:center;align-content:start;position:relative;margin:0;padding:clamp(6.7rem,13svh,9rem) 0 0;width:100%}
html body #main .folio-opening .section-path {margin:0 auto clamp(.8rem,2vw,1.5rem)}
html body #main .folio-opening h1 {
  max-width:min(17ch,92%);margin:0 auto clamp(1.5rem,3vw,2.7rem);
  font:var(--display-title-weight,800) clamp(2.9rem,7.8vw,7.6rem)/.98 var(--display-face,HouseSans,sans-serif);
  text-wrap:balance;letter-spacing:-.043em;text-transform:none;color:inherit;
}
.folio-plate,.folio-detail {width:100%;margin:0;display:grid;justify-items:center;gap:.6rem}
.folio-image {position:relative;isolation:isolate;overflow:hidden;width:100%}
.folio-plate .folio-image {height:clamp(17rem,60svh,40rem);background:var(--lens-wash)}
.folio-image img {display:block;width:100%;height:100%;object-fit:cover}
[data-folio^="commission-"] .folio-image img,[data-folio="artist-william-okaily"] .folio-image img {object-fit:contain}
.folio-plate :is(.house-sand-veil) {pointer-events:none}
.folio-plate figcaption,.folio-detail figcaption {max-width:65ch;margin:.3rem 1rem 0;font:400 .8rem/1.5 ArtistSans,HouseSans,sans-serif;color:var(--lens-muted)}
.folio-page .folio-diagram {width:min(76rem,100%);min-height:clamp(17rem,47svh,30rem);box-sizing:border-box;display:grid;align-content:center;justify-items:center;gap:clamp(2rem,6vw,4rem);margin:0;
  background:radial-gradient(ellipse at 50% 45%,var(--lens-wash),transparent 69%);color:var(--lens-ink)}
.diagram-mark {width:min(21rem,60%);height:clamp(5.5rem,13vw,9rem);display:grid;place-items:center}
.diagram-mark :is(img,svg) {width:100%;height:100%;object-fit:contain}
html:not([data-theme=light]) .diagram-mark img {filter:brightness(0) invert(1)}
.diagram-line {position:relative;width:min(38rem,88%);display:flex;justify-content:space-around;gap:.7rem;
  border-block-start:1px solid var(--lens-line);font:500 clamp(.76rem,1.4vw,.98rem)/1.4 ArtistSans,sans-serif;color:var(--lens-muted)}
.diagram-line span {position:relative;padding-block-start:1.1rem}
.diagram-line span::before {position:absolute;content:"";inset:0 auto auto 50%;width:1px;height:.52rem;background:currentColor}
html body #main .folio-intro {max-width:min(42rem,88%);margin:clamp(2rem,5.8vw,4.8rem) auto;display:grid;justify-items:center;gap:1.15rem}
html body #main .folio-intro p {color:var(--lens-ink);font:500 clamp(1.25rem,2.3vw,1.95rem)/1.42 ArtistSans,HouseSans,sans-serif;letter-spacing:-.023em;text-wrap:pretty;margin:0}
html body #main .folio-status {font:500 .85rem/1.3 ArtistSans,sans-serif;color:var(--lens-muted);border-block-end:1px solid var(--lens-line);padding-block-end:.4rem}
.folio-detail {width:min(64rem,92%);margin:2rem auto}
.folio-detail .folio-image {height:clamp(15rem,48vw,35rem)}
.folio-text {width:min(65rem,89%);box-sizing:border-box;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:clamp(1.65rem,4.8vw,4.2rem);margin:clamp(2rem,4.5vw,4rem) auto}
.folio-text section {padding:1.3rem 0 0;border-block-start:1px solid var(--lens-line)}
html body #main .folio-text h2 {margin:0 0 .75rem;color:var(--lens-ink);font:500 clamp(1.4rem,2.6vw,2rem)/1.14 ArtistSans,HouseSans,sans-serif;letter-spacing:-.04em}
html body #main .folio-text p {max-width:59ch;margin:0 auto;color:var(--lens-muted);font:400 clamp(1rem,1.36vw,1.16rem)/1.62 ArtistSans,HouseSans,sans-serif}
.folio-actions {display:flex;justify-content:center;flex-wrap:wrap;gap:.7rem;margin:2rem 1rem 3.6rem}
html body #main .folio-action {min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.68rem;padding:.45rem 1.1rem;border-radius:99px;color:var(--lens-ink);font:500 1rem/1.3 ArtistSans,sans-serif;text-decoration:none}
html body main:is(#main,#lab-main) .section-list .section-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
html body main:is(#main,#lab-main) .section-list .section-link {width:100%;justify-content:flex-start;padding:.62rem 1.4rem .62rem .72rem}
.section-list .section-thumb {width:clamp(2.4rem,4vw,3.2rem)}
.section-list .route-arrow {margin-inline-start:auto}
html body.house-page #main.art-room .medium-collection {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.75rem,4vw,3.7rem);padding:clamp(1.6rem,5vw,4rem) 0}
html body.house-page #main.art-room .medium-collection .medium-exhibit {box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:1rem;margin:0;padding:0;border:0;min-width:0}
html body.house-page #main.art-room .medium-collection .medium-figure {display:block;margin:0}
.medium-collection :is(.material-detail,.film-contact) {display:none}
html body.house-page #main.art-room .medium-collection .medium-object {width:100%;aspect-ratio:3/2}
html body.house-page #main.art-room .medium-collection .medium-caption {display:grid;gap:.65rem;justify-items:center;align-content:start;padding:0;margin:0}
html body.house-page #main.art-room .medium-collection .medium-caption > :is(h2,p) {margin:0}
@media(max-width:48rem) {
  html[data-theme] footer.house-colophon .imprint-index details:nth-last-child(2) {border-bottom:1px solid var(--lens-line)}
  html body main:is(#main,#lab-main) .section-list .section-grid {grid-template-columns:1fr}
  html body #main .folio-plate .folio-image {height:clamp(15rem,48svh,28rem)}
}
@media(max-width:36rem) {
  .section-grid {gap:.55rem}
  .section-entrances .section-thumb {inline-size:1.85rem}
  html body.house-page #main.art-room .medium-collection {grid-template-columns:1fr}
  html body #main .folio-opening {padding-block-start:6.9rem}
  html body main:is(#main,#lab-main) .section-choices {padding-inline:.75rem}
}
@media(prefers-reduced-motion:no-preference) {
  html:not(.motion-paused) .route-arrow,html:not(.motion-paused) .section-thumb img {transition:transform .36s cubic-bezier(.19,.75,.25,1)}
  html:not(.motion-paused) .section-link:is(:hover,:focus-visible) .route-arrow {transform:translate(2px,-2px)}
  html:not(.motion-paused) .section-link:is(:hover,:focus-visible) .section-thumb img {transform:scale(1.06)}
  html:not(.motion-paused) .house-arrived {animation:house-material-arrives .54s cubic-bezier(.2,.69,.23,1) both}
  html:not(.motion-paused) .diagram-mark.motion-in-view {animation:house-material-arrives .68s ease-out both}
  html:not(.motion-paused) .diagram-murexical .motion-in-view path {animation:manuscript-line 6s ease-in-out infinite alternate;transform-origin:center}
  html:not(.motion-paused) .diagram-murexical .motion-in-view path:nth-child(even) {animation-delay:-3s}
}
@keyframes house-material-arrives {from{opacity:.42;translate:0 9px}to{opacity:1;translate:0 0}}
@keyframes manuscript-line {to{transform:scaleY(.84)}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more),(forced-colors:active) {
  html[data-theme] #house-index.house-gallery .gallery-stage {background:var(--lens-ground);-webkit-backdrop-filter:none;backdrop-filter:none}
  html[data-theme] :is(.section-link,.imprint-index,.folio-action,.gallery-field) {background:var(--lens-ground)!important;box-shadow:none!important;-webkit-backdrop-filter:none;backdrop-filter:none}
  html.has-house-index[data-theme][data-mast-docked] body :is(header:has(.archive-nav),#house-index .gallery-stage)>[data-mast-menu] {background:var(--lens-ground)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
}
@media print {html body #main :is(.section-choices,.section-path,.folio-actions) {display:none} .folio-plate .folio-image,.folio-detail .folio-image {height:auto;max-height:18rem}}


/* One linked print per medium leaves the full object and its original caption in the index. */
html body.house-page.folio-page,html.has-house-index body.house-page.folio-page {padding-block-start:0!important}
html body.folio-page #main .folio-opening {
  padding-block-start:calc(var(--house-logo-y,5.5rem) + var(--house-logo-width,4rem) * .45 + clamp(1.35rem,3vw,2.5rem));
}
html body.house-page #main.art-room .medium-collection .medium-exhibit {
  display:block;min-width:0;margin:0;padding:0;border:0;max-width:none;
}
html body.house-page #main.art-room .medium-collection {gap:clamp(2.2rem,5vw,4.4rem) clamp(1rem,2.5vw,2.2rem);padding-block:clamp(1.25rem,3vw,2.75rem)}
html body.house-page #main.art-room .medium-collection .medium-route {
  display:block;position:relative;box-sizing:border-box;border:0;border-radius:0;background:none;box-shadow:none;
  width:100%;max-width:none;padding:0;margin:0;color:var(--lens-ink);text-decoration:none;
}
html body.house-page #main.art-room .medium-route .medium-figure {display:block;margin:0}
html body.house-page #main.art-room .medium-route .material-legend {font-size:.77rem;color:var(--lens-muted);text-align:center}
html body.house-page #main.art-room .medium-route .medium-caption h2 {font-size:clamp(1.3rem,2.7vw,2.25rem);line-height:1.12}
html body.house-page #main.art-room .medium-route .medium-caption p {font:400 clamp(.9rem,1.3vw,1.04rem)/1.5 ArtistSans,sans-serif;color:var(--lens-muted)}
.medium-route .route-arrow {margin-inline-start:.25em;vertical-align:middle}
html body #main .work-prints {width:min(92%,86rem);display:grid;align-items:center;grid-template-columns:.87fr 1.17fr 1fr;gap:clamp(.35rem,1vw,1rem);margin:clamp(.5rem,2vw,1.5rem) auto;overflow:hidden}
.work-prints>div {position:relative;overflow:hidden;aspect-ratio:4/4.45;background:#ce4d16}
.work-prints>div:nth-child(2) {background:#192438;aspect-ratio:1.1}
.work-prints>div:nth-child(3) {background:#cbd1ed;aspect-ratio:4/4.1}
.work-prints img {display:block;width:100%;height:100%;object-fit:cover}
.work-prints>div:nth-child(2) img,.work-prints>div:nth-child(3) img {object-fit:contain;padding:7%;box-sizing:border-box}
@media(min-width:66rem){html body.house-page #main.art-room .medium-collection {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:40rem){
  html body.house-page #main.art-room .medium-collection {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.65rem .85rem}
  html body.house-page #main.art-room .medium-route .medium-caption p,.medium-route .study-caption {display:none}
  html body.house-page #main.art-room .medium-route .material-legend {font-size:.7rem;line-height:1.28}
  html body.house-page #main.art-room .medium-route h2 .route-arrow {width:.55rem;height:.55rem}
  html body.folio-page #main .folio-plate .folio-image {height:auto;aspect-ratio:3/2}
  html body.folio-page #main .work-prints {width:100%;grid-template-columns:1fr 1.3fr}
  .work-prints>div:last-child {grid-column:1/-1;aspect-ratio:3/.95}
  .work-prints>div:last-child img {padding:2%}
}

/* The finder and the standalone directory share their plates and touch targets. */
:is(#house-index,#main[data-folio="site-directory"]) .gallery-directory {
  --nav-face:ArtistSans,HouseSans,Arial,sans-serif;
  width:min(100%,68rem);max-width:100%;margin-inline:auto;box-sizing:border-box;color:var(--lens-ink);
}
html:lang(ar) .gallery-directory {--nav-face:EditionCairo,Tahoma,sans-serif}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-rooms {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:clamp(.55rem,1.25vw,1rem);
  margin:0;padding:0;border:0;border-radius:0;box-shadow:none;overflow:visible;background:none;
}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-rooms>a {
  position:relative;display:grid;align-items:start;align-content:start;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;
  min-width:0;min-height:0;gap:0;padding:0;margin:0;overflow:hidden;text-decoration:none;color:var(--lens-ink);
  border:1px solid var(--lens-line);border-radius:clamp(.78rem,1.6vw,1.2rem);background:var(--lens-sheen),var(--lens-wash);box-shadow:var(--lens-edge);
}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-rooms .gallery-art {
  position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:2.28;align-self:start;border-radius:0;overflow:hidden;
}
:is(#house-index,#main[data-folio="site-directory"]) .gallery-art img {display:block;width:100%;height:100%;object-fit:cover}
:is(#house-index,#main[data-folio="site-directory"]) [data-room="home"] img {object-position:50% 66%}
:is(#house-index,#main[data-folio="site-directory"]) [data-room="systems"] .gallery-art {background:#10151e}
:is(#house-index,#main[data-folio="site-directory"]) [data-room="systems"] img {object-fit:contain}
:is(#house-index,#main[data-folio="site-directory"]) .gallery-art::after {content:none}
:is(#house-index,#main[data-folio="site-directory"]) .gallery-caption {display:grid;justify-items:center;text-align:center}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-rooms .gallery-caption {gap:.25rem;padding:.78rem .45rem .88rem}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-rooms b {font:600 clamp(1rem,1.55vw,1.24rem)/1.18 var(--nav-face);letter-spacing:-.025em}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-rooms small {display:block;max-width:22ch;color:var(--lens-muted);font:400 .81rem/1.35 var(--nav-face)}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-pages {
  text-align:center;display:block;max-width:100%;margin:clamp(1.8rem,4vw,3.3rem) 0 0;padding:0;border:0;background:none;
}
:is(#house-index,#main[data-folio="site-directory"]) .gallery-pages>h2 {
  font:550 clamp(1.3rem,2.2vw,1.8rem)/1.2 var(--nav-face);letter-spacing:-.035em;color:var(--lens-ink);
  margin:0 0 clamp(1rem,2vw,1.6rem);text-transform:none;text-align:center;
}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-page-groups {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:0 clamp(1.4rem,4vw,3rem);
  margin:0;padding:0;text-align:center;
}
:is(#house-index,#main[data-folio="site-directory"]) .gallery-page-groups nav {
  min-width:0;padding:1.1rem 0 1.4rem;margin:0;border:0;border-top:1px solid var(--lens-line);background:none;
}
:is(#house-index,#main[data-folio="site-directory"]) .gallery-page-groups h3 {
  color:var(--lens-ink);font:600 1rem/1.35 var(--nav-face);letter-spacing:0;text-transform:none;margin:0 0 .64rem;
}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-page-groups ul,
html[data-theme] .house-colophon .imprint-links {
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;list-style:none;gap:.38rem;padding:0;margin:0;
}
:is(#house-index,#main[data-folio="site-directory"]) .gallery-page-groups li {display:block;min-width:0;max-width:100%;padding:0;margin:0}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-page-groups a,
html[data-theme] body footer.house-colophon .imprint-links a {
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:44px;
  color:var(--lens-ink);padding:.38rem .85rem;border-radius:99rem;border:1px solid var(--lens-line);
  background:var(--lens-sheen),var(--lens-wash);box-shadow:inset 0 1px 0 var(--lens-line);
  font:450 .91rem/1.29 ArtistSans,HouseSans,Arial,sans-serif;text-align:center;letter-spacing:normal;text-decoration:none;
}
html[lang=ar][data-theme] :is(#house-index,.house-colophon) :is(.gallery-page-groups,.imprint-links) a {font-family:EditionCairo,Tahoma,sans-serif}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"],.house-colophon) :is(.gallery-page-groups,.imprint-links,.gallery-rooms) a:is(:hover,:focus-visible,[aria-current=page]) {
  border-color:var(--lens-muted);
}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"],.house-colophon) :is(.gallery-page-groups,.imprint-links,.gallery-rooms) a[aria-current=page] {
  border-color:currentColor;box-shadow:inset 0 0 0 1px currentColor;
}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"],.house-colophon) :is(.gallery-page-groups,.imprint-links,.gallery-rooms) a:focus-visible {
  outline:2px solid currentColor;outline-offset:2px;
}
/* Show the most direct destinations first. Each topic opens to its own
   set of links; direct visits to the standalone directory show the full index. */
:is(#house-index,#main[data-folio="site-directory"]) .gallery-page-groups .gallery-quick {
  grid-column:1/-1;padding:.4rem 0 1.5rem;border:0;
}
:is(#house-index,#main[data-folio="site-directory"]) .gallery-page-groups .gallery-quick h3 {
  margin-block:0 .55rem;color:var(--lens-muted);font-size:.92rem;font-weight:500;
}
:is(#house-index,#main[data-folio="site-directory"]) .gallery-topic {
  min-width:0;margin:0;padding:0;border-block-start:1px solid var(--lens-line);
}
:is(#house-index,#main[data-folio="site-directory"]) .gallery-topic > summary {
  display:flex;align-items:center;justify-content:space-between;gap:.8rem;min-height:48px;
  padding:.68rem .3rem;list-style:none;text-align:start;cursor:pointer;
  font:550 clamp(1.02rem,1.5vw,1.18rem)/1.25 var(--nav-face);color:var(--lens-ink);
}
.gallery-topic > summary::-webkit-details-marker {display:none}
.gallery-topic > summary::after {
  content:"";width:.46rem;height:.46rem;flex:none;border-bottom:1.5px solid;border-right:1.5px solid;
  transform:translateY(-2px) rotate(45deg);margin-inline-end:.3rem;
}
.gallery-topic[open] > summary::after {transform:translateY(2px) rotate(225deg)}
:is(#house-index,#main[data-folio="site-directory"]) .gallery-topic > nav {border:0;margin:0;padding:.05rem 0 1rem}
html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-topic ul {justify-content:flex-start}
:is(#house-index,#main[data-folio="site-directory"]) .gallery-topic > summary:focus-visible {outline:2px solid currentColor;outline-offset:-2px}
html[data-theme] #house-index.house-gallery .gallery-search {margin:.35rem auto clamp(1.15rem,2.6vh,2rem);width:min(100%,30rem)}
html body #main[data-folio="site-directory"] .gallery-directory {padding:0 clamp(.9rem,2.4vw,2rem) clamp(2rem,5vw,5rem)}
html body #main[data-folio="site-directory"] .folio-opening {padding-block-end:.35rem}
html body #main[data-folio="site-directory"] .folio-intro {margin-block:0 clamp(1.5rem,3vw,2.5rem)}

/* A seal and a running pixel print share a single spread above one line of links. */
html[data-theme] .house-colophon .imprint-layout {gap:clamp(1.2rem,2.6vw,2.5rem);max-width:76rem}
html[data-theme] .house-colophon .imprint-front {
  --seal-width:clamp(9rem,17vw,13rem);width:min(100%,63rem);display:grid;
  grid-template-columns:minmax(9rem,.32fr) minmax(0,1fr);grid-template-areas:"seal run";gap:clamp(.4rem,4vw,3.2rem);
  align-items:center;position:relative;
}
html[data-theme] .house-colophon .imprint-film {width:100%;min-width:0;justify-self:stretch}
html[data-theme] .house-colophon .imprint-directory {max-width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem .8rem;margin:0;padding:0;border:0}
html[data-theme] .house-colophon .imprint-baseline {padding-block-start:clamp(1rem,2.3vw,1.8rem);border-top:1px solid var(--lens-line)}
html[data-theme] .house-colophon .imprint-links a[data-browse-pages] {border-color:var(--lens-muted)}
@media (max-width:49rem) {
  html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-rooms {grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-page-groups {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:39rem) {
  html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-rooms .gallery-caption {padding:.62rem .15rem}
  html[data-theme] :is(#house-index,#main[data-folio="site-directory"]) .gallery-rooms small {display:block;font-size:.74rem;line-height:1.3}
  html[data-theme] .house-colophon .imprint-front {--seal-width:clamp(6rem,24vw,8.3rem);grid-template-columns:.34fr 1fr;gap:.2rem}
  html[data-theme] .house-colophon .imprint-film {aspect-ratio:2.2}
  html[data-theme] .house-colophon .imprint-field {width:132%}
}
@media(prefers-reduced-motion:no-preference) and (hover:hover) {
  html:not(.motion-paused) :is(#house-index,#main[data-folio="site-directory"]) .gallery-rooms a:not([data-room="systems"]) img {transition:scale .45s ease}
  html:not(.motion-paused) :is(#house-index,#main[data-folio="site-directory"]) .gallery-rooms a:is(:hover,:focus-visible) img {scale:1.035}
}
@media (forced-colors:active) {
  html[data-theme] :is(#house-index,#main[data-folio="site-directory"],.house-colophon) :is(.gallery-rooms,.gallery-page-groups,.imprint-links) a {border:1px solid LinkText}
}
@media screen {
  html body.house-page main:is(#main,#lab-main)[data-scene-page]>.house-picture-opening[data-scene-layout="compact"] {
    --scene-height:clamp(19rem,46svh,29rem);
  }
}

html[data-theme] footer.house-colophon .imprint-legal :is(a,#sh-privacy-settings),
html[data-theme] footer.house-colophon .imprint-preferences .imprint-motion {
  color:var(--lens-muted);background:none;border:0;box-shadow:none;padding-inline:.42rem;font-weight:400;
}
html[data-theme] footer.house-colophon .imprint-legal :is(a,#sh-privacy-settings)::before,
html[data-theme] footer.house-colophon .imprint-preferences .imprint-motion::before {content:none}
html[data-theme] footer.house-colophon .imprint-legal :is(a,#sh-privacy-settings):is(:hover,:focus-visible),
html[data-theme] footer.house-colophon .imprint-motion:is(:hover,:focus-visible) {color:var(--lens-ink)}

/* /page-covers.css */
/* The mast, subject and headline have their own rows. The photograph is the
   only element that spans all three. Galleries can therefore hang a complete
   work without guessing the height of a translated or wrapped headline. */
@media screen {
  html body.house-page:has(main[data-opening="scene"]),
  html.has-house-index body.house-page:has(main[data-opening="scene"]) {padding-block-start:0}
  html:not(.has-house-index) body.house-page:has(main[data-opening]) > .house-header {
    position:absolute;inset:0 0 auto;inline-size:100%;z-index:10;
  }
  html body.house-page main:is(#main,#lab-main)[data-opening="scene"] {
    margin-block-start:0;padding-block-start:0;transform:none;
  }
  html body.house-page main:is(#main,#lab-main)[data-opening="scene"] > :is(.editorial-opening,.folio-opening,.case-exhibit,[data-cover-opening]) {
    display:block;position:relative;inset:auto;box-sizing:border-box;float:none;
    inline-size:100%;max-inline-size:none;min-block-size:0;margin:0;padding:0;border:0;
    background:none;text-align:center;transform:none;
  }
  html body main:is(#main,#lab-main)[data-opening="scene"] .page-cover {
    --title-edge:max(1.6rem,5.2svh,env(safe-area-inset-bottom,0px));
    --scene-stock:0 0 0;
    --scene-ink:#fafafa;
    display:grid;grid-template-columns:minmax(0,1fr);
    grid-template-rows:var(--house-clearance,9rem) minmax(7rem,1fr) auto;
    position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;
    inline-size:100vw;max-inline-size:none;min-block-size:100vh;min-block-size:100svh;
    margin:0 calc((100% - 100vw)/2);padding:0;border:0;border-radius:0;
    background:rgb(var(--scene-stock));color:var(--scene-ink);text-align:center;
  }
  html[data-theme=light] body main:is(#main,#lab-main)[data-opening="scene"] .page-cover {
    --scene-stock:255 255 255;--scene-ink:#121419;
  }
  .page-cover .cover-visual {position:absolute;inset:0;isolation:isolate;overflow:hidden;container-type:size}
  .page-cover .cover-plane {position:absolute;inset:0}
  html body main:is(#main,#lab-main)[data-opening] .page-cover .cover-plane picture,
  html body main:is(#main,#lab-main)[data-opening] .page-cover img.cover-photograph {
    display:block;position:absolute;inset:0;float:none;width:100%;height:100%;
    max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;
    object-fit:cover;object-position:var(--focus-wide,50%) 50%;
    opacity:1;transform:none;filter:none;mask-image:none;box-shadow:none;
  }
  /* The fade is anchored to the type. A long headline gets the same quiet
     ground as a short one, and the fade ends on the actual page colour. */
  .page-cover::after {
    content:"";grid-area:3/1;z-index:1;align-self:stretch;pointer-events:none;
    margin-block-start:calc(-1 * clamp(6rem,19svh,13rem));
    background:linear-gradient(to bottom,rgb(var(--scene-stock)/0),rgb(var(--scene-stock)/.07) 16%,
      rgb(var(--scene-stock)/.34) 38%,rgb(var(--scene-stock)/.74) 66%,
      rgb(var(--scene-stock)/.96) 90%,rgb(var(--scene-stock)));
  }
  html body.house-page main:is(#main,#lab-main)[data-opening="scene"] .page-cover > h1 {
    grid-area:3/1;align-self:end;justify-self:center;z-index:2;
    display:block;position:relative;inset:auto;float:none;box-sizing:border-box;
    width:min(24ch,calc(100% - 2 * clamp(1.25rem,5vw,5rem)));max-width:none;height:auto;
    margin:0;padding:0 0 var(--title-edge);white-space:normal;pointer-events:auto;
    font:800 clamp(2.7rem,6.35vw,6.9rem)/.99 var(--display-face,"House Barlow Semi Condensed",sans-serif);
    letter-spacing:-.029em;text-align:center;text-wrap:balance;text-transform:none;
    color:var(--scene-ink);-webkit-text-fill-color:currentColor;background:none;
    text-shadow:none;opacity:1;transform:none;filter:none;
  }
  html body.house-page main:is(#main,#lab-main)[data-opening="scene"] .page-cover[data-long-title] > h1 {
    width:min(27ch,calc(100% - 2.4rem));font-size:clamp(2.25rem,5.1vw,5.25rem);line-height:1.03;
  }
  html:lang(ar) body.house-page main#main[data-opening="scene"] .page-cover > h1 {
    font-family:EditionCairo,Tahoma,sans-serif;font-size:clamp(2rem,5vw,5.2rem);line-height:1.35;letter-spacing:normal;
  }
  /* Registered planes keep the projected screen and the film-gate light on
     their photographed surfaces even when the viewport crops the room. */
  .page-cover:is([data-scene-plate="desk"],[data-scene-plate="cutting"]) .cover-plane {
    inset:0 auto auto 50%;width:max(100cqw,calc(100cqh * 16 / 9));height:auto;
    aspect-ratio:16/9;transform:translateX(-50%);
  }
  .page-cover[data-scene-plate="cutting"] .cover-plane {inset-block-start:50%;transform:translate(-50%,-50%)}
  .page-cover .exhibited-display {
    position:absolute;left:37.56%;top:10.72%;width:49.1%;height:44.1%;overflow:hidden;
    background:#141a22;border-radius:.12%;container-type:size;
  }
  html body main:is(#main,#lab-main)[data-opening] .exhibited-display > img {
    display:block;position:static;width:100%;max-width:none;height:auto;max-height:none;
    margin:0;padding:0;border:0;border-radius:0;object-fit:initial;filter:brightness(.88);transform:none;
  }
  .page-cover .display-mark {display:grid;place-items:center;background:#111a27}
  html body main:is(#main,#lab-main)[data-opening] .display-mark > img {
    width:55%;height:50%;object-fit:contain;filter:brightness(0) invert(1);
  }
  /* This is original lettering hung on the wall. Its complete drawing and
     caption always occupy different grid rows, in either orientation. */
  .page-cover .exhibited-identity {
    display:block;position:relative;flex:none;width:min(72vw,94cqh,36rem);aspect-ratio:1280/898;
  }
  html body main:is(#main,#lab-main)[data-opening] .exhibited-identity > :is(img,svg) {
    display:block;position:static;inset:auto;width:100%;height:100%;max-width:none;max-height:none;
    margin:0;object-fit:contain;filter:none;overflow:visible;
  }
  .page-cover .exhibited-identity:has(svg)::before {
    content:"";position:absolute;inset:0;pointer-events:none;
    background:url('/assets/cyclamen-logo.png') center / contain no-repeat;opacity:.18;
  }
  .page-cover .gallery-hang > .house-sand-veil {
    -webkit-backdrop-filter:saturate(.6);backdrop-filter:saturate(.6);
  }
  [data-opening] .cover-credit > cite,[data-opening] .cover-credit > span {display:block}
  @media (prefers-reduced-motion:no-preference) {
    html:not(.motion-paused) .page-cover [data-flow-running] .cyclamen-drawing {
      --cyclamen-construction:cyclamen-drawing-finish .28s linear 4.28s both;
      --cyclamen-resolve:cyclamen-original-resolve .28s linear 4.28s both;
      --cyclamen-guides:cyclamen-drafting-pass 4.1s ease both;
      --cyclamen-path:cyclamen-letter-trace;
    }
  }
  .page-cover .gallery-hang {
    grid-area:2/1;align-self:stretch;position:relative;z-index:1;container-type:size;
    display:flex;align-items:center;justify-content:center;gap:clamp(1.5rem,5vw,7rem);
  }
  .page-cover .exhibited-work,.page-cover .exhibited-film {
    display:block;position:relative;overflow:hidden;flex:none;box-sizing:border-box;
    width:min(79vw,112cqh,46rem);aspect-ratio:914/731;
    box-shadow:1px 2px 3px #1c170e46,5px 9px 14px -5px #18160f70;
  }
  html body main:is(#main,#lab-main)[data-opening] .exhibited-work > img {
    /* Photographed canvas face in the 1280 × 1600 installation source:
       x=183, y=433, w=914, h=731. Keep its original proportions and colour. */
    position:absolute;display:block;max-width:none;max-height:none;
    width:140.044%;height:auto;left:-20.022%;top:-59.234%;
    margin:0;padding:0;border:0;border-radius:0;transform:none;filter:none;
  }
  .page-cover[data-projection="pair"] .exhibited-work {width:min(32vw,95cqh,34rem)}
  .page-cover .exhibited-film {width:min(44vw,135cqh,49rem);aspect-ratio:1920/654}
  html body main:is(#main,#lab-main)[data-opening] .exhibited-film > img {display:block;width:100%;height:100%;margin:0;padding:0;object-fit:cover}
  html body main:is(#main,#lab-main)[data-opening] .cover-credit {
    width:min(90%,65ch);max-width:none;margin:.9rem auto 0;color:var(--house-secondary,currentColor);
    font:400 .83rem/1.55 ArtistSans,HouseSans,sans-serif;text-align:center;
  }
  html body main:is(#main,#lab-main)[data-opening="scene"] .folio-opening .section-path {
    margin:clamp(1.4rem,3vw,2.5rem) auto 0;padding-inline:1rem;
  }
  html body main#main[data-opening="scene"] .case-exhibit > .case-return {margin-top:clamp(1.25rem,3vw,2.5rem)}
  html body main:is(#main,#lab-main)[data-opening="scene"] .opening-study {
    width:min(100%,55rem);margin:clamp(1.8rem,4.2vw,4rem) auto;
  }
  html body main:is(#main,#lab-main)[data-opening="scene"] .opening-study > :is(figure,fieldset) {
    max-width:100%;margin-inline:auto;
  }
  html body main#main[data-opening="scene"] > [data-cover-opening] > .software-system-study {
    margin:clamp(2rem,5vw,5rem) auto 1.5rem;width:min(90%,70rem);height:auto;
  }
  html body main#main[data-opening="scene"] > [data-cover-opening] .tools-introduction {
    position:relative;inset:auto;margin:clamp(1.75rem,4vw,3.75rem) auto;padding-inline:1.2rem;
  }
  @media (max-aspect-ratio:4/5) {
    html body main:is(#main,#lab-main)[data-opening] .page-cover img.cover-photograph {object-position:var(--focus-narrow,50%) 50%}
    .page-cover[data-scene-plate="desk"] .cover-plane {
      width:max(100cqw,calc(100cqh * 941 / 1672));aspect-ratio:941/1672;
    }
    .page-cover .exhibited-display {left:9.14%;top:36.72%;width:80.24%;height:25.95%}
    .page-cover[data-projection="pair"] .gallery-hang {flex-direction:column;gap:clamp(.8rem,3svh,1.7rem)}
    .page-cover[data-projection="pair"] .exhibited-film {width:min(80vw,92cqh)}
    .page-cover[data-projection="pair"] .exhibited-work {width:min(58vw,58cqh)}
  }
  @media (max-height:32rem) and (min-aspect-ratio:1/1) {
    .page-cover {--house-clearance:5.35rem}
    html body.house-page main:is(#main,#lab-main)[data-opening="scene"] .page-cover > h1 {font-size:clamp(2rem,5vw,3.4rem);padding-bottom:.85rem}
  }
  @media (prefers-reduced-motion:no-preference) {
    html:not(.motion-paused) .page-cover .exhibited-display:not(.display-mark) img {
      animation:cover-screen-reading 16s cubic-bezier(.42,0,.3,1) infinite paused;
    }
    html:not(.motion-paused) .page-cover [data-flow-running] .exhibited-display img,
    html:not(.motion-paused) .page-cover [data-flow-running] .cover-plane::after {animation-play-state:running}
    .page-cover[data-scene-plate="cutting"] .cover-plane::after {
      content:"";position:absolute;inset:35.8% 40.5% 50% 48.5%;pointer-events:none;
      background:radial-gradient(ellipse,rgb(255 226 170 / .24),transparent 75%);
      animation:cover-gate-light 4.5s ease-in-out infinite paused;
    }
    @keyframes cover-screen-reading {
      0%,18%,100% {transform:translateY(0)}
      58%,76% {transform:translateY(clamp(-105cqh,calc(100cqh - 100%),0px))}
    }
    @keyframes cover-gate-light {0%,100% {opacity:.08} 42% {opacity:.75} 70% {opacity:.3}}
  }
  @media (forced-colors:active) {
    html body main:is(#main,#lab-main)[data-opening] .page-cover {--scene-ink:CanvasText}
    html body main:is(#main,#lab-main)[data-opening] .page-cover > h1 {background:Canvas;color:CanvasText}
  }
}
@media print {
  .page-cover :is(.cover-visual,.gallery-hang) {display:none}
  .page-cover {margin:0;padding:0;break-after:avoid}
}

/* /reader-editions.css */
/* Keep the language switch and the catalogue visually distinct at every width. */
.house-languages {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.45rem;direction:ltr}
#house-index .finder-languages {margin:.68rem auto clamp(1.2rem,2.5vh,2.4rem)}
.house-languages a[data-language],.edition-languages a[data-language] {
  display:inline-flex;align-items:center;justify-content:center;min-height:2.4rem;padding:.24rem .9rem;
  font:inherit;font-size:.94rem;line-height:1.3;text-decoration:none;white-space:nowrap;
  color:inherit;border:1px solid color-mix(in srgb,currentColor 23%,transparent);border-radius:999px;
  background:color-mix(in srgb,currentColor 4%,transparent);
}
.house-languages a[aria-current],.edition-languages a[data-language][aria-current] {border-color:currentColor;background:color-mix(in srgb,currentColor 12%,transparent)}
.house-languages a:focus-visible,.edition-languages a:focus-visible {outline:2px solid currentColor;outline-offset:3px}
#house-index[data-searching] .finder-languages {display:none}
#house-index .gallery-directory .gallery-pages {margin-block-start:clamp(1.4rem,3.5vh,3.3rem)}
#house-index .gallery-pages details summary {min-height:2.9rem;align-content:center}
#house-index .gallery-pages nav a {margin-block:.18rem}
.house-colophon .imprint-languages {margin-block:.75rem}
html:lang(ar) {--display-face:EditionCairo,Tahoma,Arial,sans-serif;--house-body-font:EditionCairo,Tahoma,Arial,sans-serif}
@font-face {font-family:EditionCairo;font-display:swap;src:url('/assets/type/cairo-arabic.woff2') format('woff2');font-weight:200 900;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200F,U+FB50-FDFF,U+FE70-FEFF}
html:lang(ar) :is(main,.house-gallery,.house-colophon,.house-header) :where(p,li,button,input,select,textarea,a,label,h1,h2,h3,h4,small,summary,legend,figcaption) {letter-spacing:normal}
html:lang(ar) :is(main,.house-gallery,.house-colophon) :is(h1,h2,h3,h4) {line-height:1.32;text-wrap:balance}
html:lang(ar) :is(main,.house-gallery,.house-colophon) :is(p,li,summary,label) {line-height:1.75}
html:lang(ar) :is(.gallery-caption,.section-entrance-copy,.hero-statement,.home-intro-copy) {letter-spacing:normal;line-height:1.45}
html:lang(ar) :is(.hero-statement,#branding-title,#tools-title) {overflow:visible}
html:lang(ar) :is(.studio-monitor,.screen-dock,.signature-seal,.imprint-film,[data-gallery-track],.studio-devices,.room-canvas,.wall-canvas,.lab-preview) {direction:ltr}
html:lang(ar) :is(.imprint-directory,.gallery-directory,.gallery-matches,.house-gallery form,form[data-contact-form]) {direction:rtl}
html:lang(ar) :is(.gallery-clear,.gallery-filters button,.glass-link) {line-height:1.55}
html:lang(ar) :is(input[type=email],input[type=url],input[type=tel]) {direction:ltr;text-align:start}
@media(max-width:36rem) {
  #house-index .finder-languages {gap:.32rem;margin:.5rem auto 1rem}
  .house-languages a[data-language] {padding:.24rem .68rem}
  #house-index .gallery-caption b {overflow-wrap:anywhere}
  html:lang(ar) main :is(h1,h2) {overflow-wrap:break-word}
}

/* Leave a full tap target and a clear gap between the house menu and the brief. */
@media screen and (min-height:481px) {
  html[data-mast-docked] .lab-page #builder #selection-dock {
    bottom:calc(var(--mast-dock-edge) + var(--mast-dock-h) + .85rem);
    max-width:min(36rem,calc(100vw - 2rem));box-sizing:border-box;
  }
}
html .lab-page #builder #selection-dock[hidden] {display:none!important}
@media(max-height:480px) {
  html[data-mast-docked] .lab-page #builder #selection-dock {position:static;margin-block:1rem 5.5rem}
}
