/* /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 browser carries normal history, focus and anchor behaviour between pages. */
@media screen and (prefers-reduced-motion:no-preference) {
  @view-transition {navigation:auto}
  html:not(.motion-paused)::view-transition-group(root) {animation-duration:230ms}
  html:not(.motion-paused)::view-transition-old(root) {animation:house-leave 230ms ease-out both}
  html:not(.motion-paused)::view-transition-new(root) {animation:house-arrive 230ms cubic-bezier(.25,.66,.3,1) both}
  html::view-transition-image-pair(root) {isolation:isolate}
  html::view-transition-old(root), html::view-transition-new(root) {mix-blend-mode:normal}
  html:not(.motion-paused) {scroll-behavior:smooth}
}
@keyframes house-leave {from,to{opacity:1}}
@keyframes house-arrive {from{opacity:0}to{opacity:1}}
html.motion-paused::view-transition-group(*), html.motion-paused::view-transition-old(*),
html.motion-paused::view-transition-new(*) {animation-duration:0s!important}
@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 colophon is set in the house UI face. Only the final signature uses the serif. */
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:start;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}
.house-colophon .imprint-layout {
  display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.8fr);align-items:start;
  gap:clamp(1.6rem,3.7vw,3.65rem) clamp(2rem,4vw,4.5rem);
  --imprint-inset:var(--house-inset,clamp(1.2rem,4.5vw,4.75rem));
  box-sizing:content-box;max-width:82rem;margin-inline:auto;
  padding:clamp(2.65rem,5.2vw,5rem) max(env(safe-area-inset-right),var(--imprint-inset)) clamp(1.45rem,3.6vw,3.5rem) max(env(safe-area-inset-left),var(--imprint-inset));
}
.house-colophon .imprint-layout > * {min-width:0}
.house-colophon .imprint-contact {display:flex;flex-wrap:wrap;align-items:center;align-content:start;gap:.12rem .36rem}
.house-colophon .imprint-place {flex-basis:100%}
.house-colophon .imprint-place,.house-colophon .imprint-directory h2 {
  margin:0 0 .55rem;color:var(--imprint-muted);
  font:500 .8rem/1.4 var(--action-face,ArtistSans,HouseSans,Arial,sans-serif);letter-spacing:.015em;
}
.house-colophon .imprint-place {flex-basis:100%}
.house-colophon .imprint-directory {
  display:grid;grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,1fr));
  gap:clamp(1rem,2vw,2.25rem);margin:0;padding:0;border:0;box-shadow:none;background:none;
}
.house-colophon .imprint-directory :is(ul,li) {list-style:none;margin:0;padding:0;border:0}
.house-colophon .imprint-directory ul {display:flex;flex-flow:column;align-items:flex-start;gap:.08rem}
.house-colophon .imprint-directory li {max-width:100%}

/* 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:start;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;border-top:1px solid var(--imprint-line);padding-top:clamp(.85rem,2vw,1.6rem);
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.6rem 1.7rem;
}
.house-colophon :is(.imprint-legal,.imprint-preferences,.imprint-languages,.imprint-appearance) {
  display:flex;align-items: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 0;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:58rem) {
  .house-colophon .imprint-layout {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:38rem) {
  .house-colophon .imprint-directory {grid-template-columns:minmax(0,1fr);row-gap:1.1rem}
  .house-colophon .imprint-directory ul {flex-flow:row wrap;gap:0 .32rem}
  .house-colophon .imprint-directory h2 {margin-block-end:.1rem}
  .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:flex-start;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 final image has its own full-width coordinate space outside the text grid.
   Both surface treatments occupy the same plane, including the phone crop. */
.house-colophon .imprint-film {
  position:relative;display:block;isolation:isolate;overflow:hidden;overflow:clip;
  width:100%;max-width:none;min-height:0;aspect-ratio:3;
  border:0;border-radius:0;margin:0;padding:0;box-shadow:none;background:#030507;
}
.house-colophon .imprint-film::before,.house-colophon .imprint-film::after {content:none}
.house-colophon .imprint-field {
  position:absolute;right:0;top:50%;transform:translateY(-50%);
  width:100%;aspect-ratio:3;pointer-events:none;
}
.house-colophon .imprint-field :is(img,.imprint-scanlight) {
  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;filter:none;
}
.house-colophon .imprint-photograph {
  --fur-radius:clamp(38px,8.5vw,146px);
  z-index:1;opacity:0;transition:opacity .13s ease-out;
  mask-image:radial-gradient(circle var(--fur-radius) at var(--fur-x,77%) var(--fur-y,32%),
    #000 0 44%,rgb(0 0 0 / .89) 59%,rgb(0 0 0 / .24) 82%,transparent 100%);
}
.house-colophon .imprint-film.coat-preview .imprint-photograph {opacity:1}
.house-colophon .imprint-scanlight {
  opacity:0;mix-blend-mode:screen;pointer-events:none;
}
.house-colophon .house-light-live.plate-ready .imprint-scanlight {opacity:1}
/* Project light only onto cells present in the print. A diagonal current and
   two slower groups of junctions remain under the revealed fur. */
.house-colophon .house-light-live.plate-ready .imprint-scanlight::before,
.house-colophon .house-light-live.plate-ready .imprint-scanlight::after {
  content:"";position:absolute;inset:0;
  background:url("/assets/material-studies/house-run-pulse-960.webp") center/100% 100% no-repeat;
  mask-repeat:no-repeat;
}
.house-colophon .house-light-live.plate-ready .imprint-scanlight::before {
  mask-image:linear-gradient(106deg,transparent 35%,rgb(0 0 0 / .28) 40%,transparent 43%,
    transparent 46%,#000 50%,transparent 58%);
  mask-size:230% 100%;animation:imprint-facet-pass 5.6s cubic-bezier(.4,.07,.6,.95) infinite;
}
.house-colophon .house-light-live.plate-ready .imprint-scanlight::after {
  mask-image:radial-gradient(ellipse 10% 33% at 60% 49%,#000,transparent),
    radial-gradient(ellipse 12% 28% at 82% 26%,#000,transparent);
  animation:imprint-junctions 3.8s ease-in-out -1.3s infinite;
}
@keyframes imprint-facet-pass {
  0%,8% {mask-position:100% 50%}
  92%,100% {mask-position:0% 50%}
}
@keyframes imprint-junctions {
  0%,100% {opacity:.08}
  42% {opacity:.76}
  72% {opacity:.24}
}
.house-colophon .imprint-film .imprint-home {
  position:absolute;z-index:2;display:grid;align-items:center;min-width:44px;min-height:44px;
  border:0;box-shadow:none;background:none;border-radius:0;padding:0;margin:0;
  left:max(env(safe-area-inset-left),clamp(1.25rem,5vw,6rem));top:50%;transform:translateY(-50%);
  width:clamp(5rem,16%,17rem);height:auto;filter:none;
}
.house-colophon .imprint-home .imprint-signature {display:block;width:100%;height:auto;margin:0;filter:none}
.house-colophon .imprint-film .imprint-stripe-control {
  position:absolute;inset:0;z-index:1;display:block;touch-action:pan-y pinch-zoom;
  border:0;border-radius:0;box-shadow:none;background:transparent;
  padding:0;margin:0;color:#f4f5f6;appearance:none;cursor:pointer;
}
.house-colophon .imprint-film .imprint-stripe-control[hidden] {display:none}
.house-colophon .imprint-film .imprint-stripe-control:focus-visible {outline:0}
.house-colophon .imprint-stripe-control span {
  display:flex;position:absolute;right:max(env(safe-area-inset-right),clamp(.8rem,2.5vw,3rem));
  bottom:max(env(safe-area-inset-bottom),clamp(.55rem,1.8vw,1.75rem));
  align-items:center;gap:.46rem;border:1px solid #bfced75e;border-radius:99px;
  padding:.34rem .67rem;background:rgb(7 14 19 / .39);color:#f5f6f6;
  backdrop-filter:blur(6px);font:500 .73rem/1.15 var(--action-face,ArtistSans,HouseSans,sans-serif);
}
.house-colophon .imprint-stripe-control span::before {
  content:"";width:.45rem;height:.45rem;border-radius:50%;border:1px solid currentColor;
}
.house-colophon .coat-preview .imprint-stripe-control span::before {background:currentColor}
.house-colophon .imprint-stripe-control:focus-visible span {outline:2px solid #e4efff;outline-offset:3px}
html[lang=ar] .house-colophon .imprint-stripe-control span {font-family:EditionCairo,Tahoma,Arial,sans-serif}
@media(max-width:39rem) {
  .house-colophon .imprint-film {aspect-ratio:1.57}
  .house-colophon .imprint-field {width:135%;bottom:0;top:auto;transform:none}
  .house-colophon .imprint-field {mask-image:linear-gradient(to bottom,transparent,#000 10%)}
  .house-colophon .imprint-film .imprint-home {width:clamp(4.35rem,18%,7rem);top:7%;transform:none}
}
@media(prefers-reduced-motion:reduce) {
  .house-colophon .imprint-film *,.house-colophon .imprint-scanlight::before,.house-colophon .imprint-scanlight::after {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-film .imprint-home {background:#030507;forced-color-adjust:none}
  .house-colophon .imprint-stripe-control span {background:ButtonFace;border:1px solid ButtonText;color:ButtonText}
  .house-colophon .imprint-stripe-control:focus-visible span {outline:2px solid Highlight}
  .house-colophon .imprint-scanlight {visibility:hidden}
}

/* /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 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 {
  --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) {
  --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)}
}

/* /glass-finder.css */
/* A fixed search key joins a single translucent sheet. Its geometry comes
   from the real header, including device safe areas and browser zoom. */
html {scrollbar-gutter:stable}
html[data-theme] dialog#house-index.house-gallery[open] {
  --ink:#f4f6f5; --muted:#d2d9db; --line:rgb(226 238 241 / .21);
  --lens:rgb(13 18 22 / .86); --frost:rgb(208 235 246 / .065);
  --shine:rgb(250 254 255 / .45); --gallery-type:ArtistSans,HouseSans,Arial,sans-serif;
  --gutter:clamp(1.15rem,5.2vw,6.5rem); --sill:var(--anchor-key-top,1rem);
  --end:var(--anchor-key-end,1rem);
  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); max-width:none; max-height:none;
  min-height:0; margin:0; padding:0; overflow:hidden; box-sizing:border-box; isolation:isolate;
  color:var(--ink); font:400 1rem/1.42 var(--gallery-type); text-align:start; color-scheme:dark;
  border:0; border-radius:0; 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:#182022; --muted:#414e54; --line:rgb(30 50 56 / .23);
  --lens:rgb(249 252 252 / .86); --frost:rgb(255 255 255 / .24);
  --shine:#fff; 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:transparent}
html[data-theme=light] dialog#house-index.house-gallery::backdrop {background:transparent}
#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) {font-family:var(--gallery-type);color:inherit;text-decoration:none}
#house-index.house-gallery button {cursor:pointer}
#house-index.house-gallery :is(a,button):focus-visible {outline:2px solid currentColor;outline-offset:-3px}
#house-index.house-gallery .gallery-frame {position:relative;width:100%;height:100%;container-type:inline-size}
#house-index.house-gallery .gallery-top {position:absolute;inset:0;z-index:2;pointer-events:none}
#house-index.house-gallery .gallery-top .gallery-home {
  position:absolute;left:var(--anchor-logo-left);top:var(--anchor-logo-top);
  width:var(--anchor-logo-width);height:var(--anchor-logo-height);margin:0;padding:0;pointer-events:auto;
}
#house-index.house-gallery .gallery-home img {
  position:absolute;top:calc(var(--anchor-mark-top) - var(--anchor-logo-top));left:calc(var(--anchor-mark-left) - var(--anchor-logo-left));
  display:block;width:var(--anchor-mark-width);height:var(--anchor-mark-height);
}
html:has(#house-index[open]) header:has(.index-key) :is(.home-mark,.brand) {visibility:hidden}
html:has(#house-index[open]) header .index-key[aria-hidden=true] {visibility:hidden}
html[data-theme=light] #house-index .gallery-home img {filter:brightness(.1)}
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 {
  border:1px solid color-mix(in srgb,currentColor 28%,transparent)!important;
  border-top-color:color-mix(in srgb,currentColor 52%,transparent)!important;
  background:linear-gradient(148deg,#ffffff24,transparent 36% 78%,#b4ced419),var(--key-glass,rgb(15 21 26 / .29))!important;
  box-shadow:inset 0 1px 0 #ffffff24,inset 0 -1px 0 #bac9d019,0 2px 9px #0000000d!important;
  -webkit-backdrop-filter:blur(16px) saturate(1.2)!important; backdrop-filter:blur(16px) saturate(1.2)!important;
  transform:none!important; translate:none!important;
}
html[data-theme=light] {--key-glass:rgb(246 249 250 / .48)}
#house-index.house-gallery .gallery-top .index-close {
  position:absolute;left:var(--anchor-key-left);top:var(--anchor-key-top);width:var(--anchor-key-width);height:var(--anchor-key-height);
  pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:.45rem; min-width:0;min-height:0;
  margin:0;padding:0 .4rem; color:var(--ink);border-radius:100vw;font:500 .93rem/1 var(--gallery-type);
}
#house-index .return-glyph,#house-index .return-glyph svg {display:block;width:17px;height:17px;flex:none}
#house-index.house-gallery .gallery-stage {
  --aisle:max(var(--gutter),calc((100% - 84rem) / 2),env(safe-area-inset-left),env(safe-area-inset-right));
  position:absolute;inset:0;width:100%;height:100%;max-height:none;
  display:grid;grid-template-rows:auto minmax(0,1fr) auto;isolation:isolate;overflow:hidden;
  border:0;border-radius:0;
  background:linear-gradient(118deg,var(--frost),transparent 26% 72%,var(--frost)),var(--lens);
  box-shadow:inset 0 1px var(--shine);
  -webkit-backdrop-filter:blur(26px) saturate(1.12);backdrop-filter:blur(26px) saturate(1.12);
}
/* The original key and logo have physical, measured coordinates even on RTL
   pages. Leave their respective ends free when the query opens between them. */
#house-index.house-gallery .gallery-search {
  min-width:0;margin:0;
  padding:var(--sill) calc(var(--end) + var(--anchor-key-width,6rem) + 1rem)
    max(.6rem,calc(var(--mast-end) - var(--sill) - var(--anchor-key-height,44px)))
    calc(var(--anchor-logo-left,1rem) + var(--anchor-logo-width,4rem) + 1rem);
  border-bottom:1px solid var(--line);
}
#house-index #index-title {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#house-index.house-gallery .gallery-field {
  display:flex;gap:.75rem;align-items:center; min-height:calc(var(--anchor-key-height,44px) - 1px); padding:0 clamp(.9rem,2vw,2rem);
  border:1px solid var(--line);border-radius:99rem;background:var(--frost);box-shadow:inset 0 1px rgb(255 255 255 / .065);
}
#house-index .gallery-field>svg {width:19px;height:19px;flex:none;color:var(--muted)}
#house-index.house-gallery #house-query {
  display:block;flex:1 1 auto;width:100%;min-width:0;height:auto;min-height:44px; padding:0;margin:0;
  appearance:none;text-align:start;border:0;background:none;box-shadow:none;outline:none;
  font:400 clamp(1rem,1.55vw,1.4rem)/1.3 var(--gallery-type);letter-spacing:-.018em;color:var(--ink);
}
#house-index #house-query::placeholder {color:var(--muted);opacity:1}
#house-index #house-query::-webkit-search-cancel-button {display:none}
#house-index .gallery-search:focus-within {border-bottom-color:color-mix(in srgb,var(--ink) 55%,transparent)}
#house-index .gallery-scroll {overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:0 var(--aisle)}
#house-index .gallery-directory {padding:clamp(2.75rem,14vh,9rem) 0 clamp(1.4rem,5vh,4rem)}
#house-index .gallery-rooms {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.75rem,2.2vw,2rem)}
#house-index .gallery-rooms a {
  position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;align-items:start;
  gap:1.05rem;padding:.2rem 0 1.05rem;min-width:0;border:0;border-bottom:1px solid var(--line);border-radius:0;
  text-decoration:none;color:var(--ink);background:none;box-shadow:none;
}
#house-index .gallery-rooms a >svg {width:22px;height:22px;opacity:.77}
#house-index .gallery-caption {display:grid;gap:.39rem;min-width:0}
#house-index.house-gallery .gallery-rooms a b {
  font:var(--display-section,500) clamp(1.75rem,3.1vw,3.25rem)/1.07 var(--display-section-face,Arial);
  letter-spacing:var(--display-menu-tracking,-.012em);text-wrap:balance;
}
#house-index .gallery-rooms small,#house-index .gallery-matches .gallery-caption>span {
  font:400 clamp(.87rem,1.05vw,1rem)/1.42 var(--gallery-type);color:var(--muted);
}
#house-index .gallery-rooms a[aria-current] {border-bottom-color:var(--ink)}
#house-index .gallery-rooms a[aria-current] >svg {opacity:1}
#house-index .gallery-arrow {display:none}
#house-index .gallery-shortcuts {display:flex;align-items:center;flex-wrap:wrap;gap:.4rem .55rem;margin-top:clamp(1.15rem,2.8vw,2.35rem)}
#house-index :is(.gallery-shortcuts a,.gallery-filters button,.gallery-enquiry,.gallery-matches nav button) {
  display:inline-flex;align-items:center;min-height:2.55rem;padding:.38rem .9rem;color:var(--ink);border-radius:100vw;
  font:400 .91rem/1.28 var(--gallery-type);text-decoration:none;
  border:1px solid var(--line);background:var(--frost);box-shadow:inset 0 1px 0 rgb(255 255 255 / .045);
}
#house-index .gallery-shortcuts b {font:inherit}
#house-index .gallery-utilities {
  display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 var(--aisle);min-width:0;
  border-top:1px solid var(--line);padding:.7rem 0 max(.72rem,env(safe-area-inset-bottom));background:transparent;
}
#house-index .gallery-utilities a,#house-index .gallery-clear {
  display:inline-flex;align-items:center;gap:.5rem;min-height:44px;padding:.4rem .2rem;
  font:500 .92rem/1.2 var(--gallery-type);color:var(--ink);border:0;background:none;box-shadow:none;
}
#house-index .gallery-utilities svg {width:18px;height:18px}
#house-index .finder-theme {display:inline-flex;padding:2px;border:1px solid var(--line);border-radius:99rem}
#house-index .finder-theme button {border:0;background:none;color:var(--muted);border-radius:99rem;min-height:44px;padding:.42rem .88rem;font:500 .88rem/1.3 var(--gallery-type)}
#house-index .finder-theme button[aria-pressed=true] {color:var(--ink);background:color-mix(in srgb,var(--ink) 15%,transparent)}
#house-index .gallery-matches {padding:1.2rem 0 1.5rem}
#house-index .gallery-matches [role=status] {margin:.75rem 0;font:400 .9rem/1.4 var(--gallery-type);color:var(--muted)}
#house-index .gallery-filters {display:flex;gap:.4rem;flex-wrap:wrap}
#house-index .gallery-filters button[aria-pressed=true] {border-color:var(--ink)}
#house-index .gallery-matches nav {display:grid;gap:.13rem}
#house-index .gallery-matches nav a {display:block;padding:.9rem .2rem;border-bottom:1px solid var(--line)}
#house-index .gallery-matches small {font-size:.78rem;color:var(--muted)}
#house-index .gallery-matches b {font:500 1.5rem/1.16 var(--display-section-face)}
#house-index .gallery-enquiry {margin-top:1.2rem}
html:lang(ar) #house-index .gallery-rooms a b {line-height:1.52}
@media (hover:hover) {
  #house-index .gallery-rooms a:hover {border-bottom-color:var(--ink)}
  #house-index .gallery-shortcuts a:hover,#house-index .gallery-filters button:hover {background:color-mix(in srgb,var(--ink) 10%,transparent);border-color:var(--muted)}
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  html[data-theme=dark] dialog#house-index.house-gallery[open] {--lens:rgb(12 17 21 / .76)}
  html[data-theme=light] dialog#house-index.house-gallery[open] {--lens:rgb(249 251 253 / .80)}
}
#house-index .gallery-stage::before {
  content:"";position:absolute;inset:0 0 auto;height:1px;pointer-events:none;z-index:1;
  background:radial-gradient(ellipse 18% 1px at var(--finder-glint,75%) 0%,var(--shine),transparent);
}
#house-index .gallery-field .finder-compact-prompt {display:none}
@container (max-width:800px) {
  #house-index.house-gallery .gallery-stage {--gutter:clamp(.95rem,5.3vw,2.5rem)}
  #house-index.house-gallery .gallery-search {padding-left:calc(var(--anchor-logo-left) + var(--anchor-logo-width) + .45rem);padding-right:calc(var(--end) + var(--anchor-key-width) + .45rem)}
  #house-index.house-gallery .gallery-field {position:relative;padding:0 .8rem;min-height:max(44px,var(--anchor-key-height))}
  #house-index .gallery-field>svg {display:none}
  #house-index #house-query::placeholder {color:transparent}
  #house-index .gallery-field:has(input:placeholder-shown) .finder-compact-prompt {display:block;position:absolute;inset-inline-start:.8rem;align-self:center;pointer-events:none;color:var(--muted);font:400 1rem/1.4 var(--gallery-type)}
  #house-index .gallery-directory {padding:clamp(1.15rem,5vh,3rem) 0 1.5rem}
  #house-index .gallery-rooms {grid-template-columns:1fr;gap:0}
  #house-index .gallery-rooms a {grid-template-columns:1.45rem minmax(0,1fr);gap:1rem;align-items:center;padding:.74rem 0}
  #house-index.house-gallery .gallery-rooms a b {font-size:clamp(1.5rem,4.8vw,1.9rem)}
  #house-index .gallery-caption {gap:.18rem}
  #house-index .gallery-rooms small {font-size:.86rem}
  #house-index .gallery-shortcuts {margin-top:1.05rem;gap:.32rem .46rem}
  #house-index .gallery-shortcuts a {min-height:max(44px,2.65rem);padding:.3rem .75rem}
}
/* A longer translated header key can otherwise leave only a few pixels for
   the query after Clear appears. Keep both mast controls at their anchors. */
@container (max-width:365px) {
  #house-index.house-gallery .gallery-search {padding:calc(var(--mast-end) + .45rem) var(--gutter) .65rem}
  #house-index.house-gallery .gallery-field {min-height:44px;padding-inline:var(--gutter)}
  #house-index .gallery-field:has(input:placeholder-shown) .finder-compact-prompt {inset-inline-start:var(--gutter)}
}
@container (max-width:410px) {
  html:lang(fr) #house-index.house-gallery .gallery-search {padding:calc(var(--mast-end) + .45rem) var(--gutter) .65rem}
  html:lang(fr) #house-index.house-gallery .gallery-field {min-height:44px;padding-inline:var(--gutter)}
  html:lang(fr) #house-index .gallery-field:has(input:placeholder-shown) .finder-compact-prompt {inset-inline-start:var(--gutter)}
}
@media (max-height:500px) {
  #house-index .gallery-directory {padding-block:.6rem}
  #house-index .gallery-utilities {padding-block:.2rem}
}
/* Browser keyboards can shrink the visual viewport independently of CSS
   media queries. The whole sheet scrolls when there is only room for a row. */
#house-index[data-shallow] .gallery-stage {
  display:block;overflow:auto;overscroll-behavior:contain;
  scroll-padding-block-start:min(var(--mast-end,4rem),25dvh);
}
#house-index[data-shallow] .gallery-scroll {overflow:visible}
#house-index[data-shallow] .gallery-utilities {padding-block:.2rem}
@media (prefers-reduced-motion:no-preference) {
  html:not(.motion-paused) #house-index[open] .gallery-stage {animation:finder-open .32s cubic-bezier(.17,.74,.16,1) backwards}
  html:not(.motion-paused) #house-index[open][data-returning] .gallery-stage {animation-play-state:paused}
  @keyframes finder-open {
    from {clip-path:inset(var(--sill) var(--end) calc(100% - var(--sill) - var(--anchor-key-height,44px)) var(--anchor-key-left) round 2rem)}
    46% {clip-path:inset(0 0 calc(100% - var(--mast-end) - .7rem) 0 round .45rem)}
    to {clip-path:inset(0)}
  }
}
@media (prefers-contrast:more),(prefers-reduced-transparency:reduce),(forced-colors:active) {
  #house-index.house-gallery .gallery-stage {background:Canvas;color:CanvasText;-webkit-backdrop-filter:none;backdrop-filter:none;--ink:CanvasText;--muted:CanvasText;--line:ButtonText}
  html[data-theme] dialog#house-index.house-gallery::backdrop {-webkit-backdrop-filter:none;backdrop-filter:none}
}

/* A single disclosure keeps the main destinations near the search field. */
#house-index .gallery-pages {margin-block:clamp(1rem,3vh,2.25rem) 0;border-block:1px solid var(--line)}
#house-index .gallery-pages>summary {
  display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-block-size:48px;
  padding-block:.6rem;list-style:none;cursor:pointer;color:var(--ink);
  font:500 1rem/1.4 var(--gallery-type);
}
#house-index .gallery-pages>summary::-webkit-details-marker {display:none}
#house-index .gallery-pages>summary:focus-visible {outline:2px solid currentColor;outline-offset:3px}
#house-index .gallery-chevron {
  display:block;width:.58rem;height:.58rem;margin-inline-end:.3rem;border-inline-end:1.5px solid;border-block-end:1.5px solid;
  transform:rotate(45deg);transition:transform .18s ease;
}
#house-index .gallery-pages[open] .gallery-chevron {transform:rotate(225deg)}
#house-index .gallery-page-groups {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));
  align-items:start;column-gap:clamp(.85rem,3vw,2.8rem);row-gap:1.6rem;padding:.4rem 0 1.5rem;
}
#house-index .gallery-page-groups strong {display:block;font:var(--display-section,800) 1.2rem/1.1 var(--display-section-face,var(--gallery-type));color:var(--ink);margin-block-end:.5rem}
#house-index .gallery-page-groups ul {padding:0;margin:0;list-style:none}
#house-index .gallery-page-groups li {margin:0}
#house-index .gallery-page-groups a {
  display:flex;align-items:center;min-height:44px;width:fit-content;max-width:100%;
  font:400 .94rem/1.35 var(--gallery-type);color:var(--muted);border-radius:.35rem;padding-inline:.25rem;
}
#house-index .gallery-page-groups a:is(:hover,:focus-visible,[aria-current]) {color:var(--ink);text-decoration:underline;text-underline-offset:.24em}
#house-index .gallery-page-groups a:focus-visible {outline-offset:0}
@media (min-width:801px) {#house-index .gallery-scroll {scroll-padding-block:1rem}}
@media (prefers-reduced-motion:reduce) {#house-index .gallery-chevron {transition:none}}

/* /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 copies read the same opacity, including a finder opened midway through a fade. */
@property --mast-stripe-opacity {
  syntax:"<number>";
  inherits:true;
  initial-value:0;
}
html[data-mast-stripes] {--mast-stripe-opacity:1}
.mast-identity .mast-signature {opacity:calc(1 - var(--mast-stripe-opacity,0))}
.mast-identity .mast-stripes {opacity:var(--mast-stripe-opacity,0)}
@media screen and (prefers-reduced-motion:no-preference) {
  html:not(.motion-paused) {transition:--mast-stripe-opacity .48s ease-in-out}
}
html.motion-paused {--mast-stripe-opacity:0}
html body header .home-mark .mast-identity,
html body#top .site-header > .brand .mast-identity {
  display:block!important;
  flex:none;
  width:calc(var(--mast-mark,44px) * 4 / 3);
  height:var(--mast-mark,44px);
  filter:var(--mobile-mark);
  pointer-events:none;
}
#house-index.house-gallery .gallery-home .mast-identity {
  display:block;
  position:absolute;
  left:calc(var(--anchor-mark-left) - var(--anchor-logo-left));
  top:calc(var(--anchor-mark-top) - var(--anchor-logo-top));
  width:var(--anchor-mark-width);
  height:var(--anchor-mark-height);
  filter:var(--mobile-mark);
  pointer-events:none;
}
@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 keeps the original open letter contours. */
  .mast-identity {
    forced-color-adjust:none;
    background:CanvasText;
    filter:none!important;
    mask:url('/assets/house-signature-outline.svg') center / contain no-repeat;
  }
  .mast-identity image {visibility:hidden}
}
