/* /interior-heroes.css */
/* Give each existing object, photograph or heading its own reading space. */
html body.house-page main .page-light {position:relative;isolation:isolate}

/* Shared spacing for the editorial and service openings. */
.page-light.guide-cover {
  gap:clamp(2rem,6vw,6.5rem);
  margin-bottom:clamp(3rem,6vw,6rem);
  padding-block:clamp(.75rem,1.6vw,1.5rem);
}
.page-light .guide-intro h1,
.page-light.guide-intro h1 {line-height:1.04;letter-spacing:-.043em}
.page-light .guide-intro > p,
.page-light.guide-intro > p {margin-top:1.4rem;line-height:1.6}
html .house-page .page-light.guide-cover > figure {
  border:0;
  padding:2.5rem .5rem;
  color:var(--index-soft);
}
html .house-page .page-light.guide-cover > figure > svg {
  color:var(--index-soft);
  opacity:.77;
}
.page-light.guide-cover figcaption {margin-top:1.8rem;line-height:1.6;letter-spacing:.14em}
.page-light .chapter-routes {display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.65rem}
.page-light .chapter-routes a {margin:0}
.page-light .tool-motion-control {margin-top:1rem}
.page-light.guide-intro {max-width:none;padding-right:18%;padding-bottom:1.5rem}
.page-light.guide-intro > :is(h1,p) {max-width:49rem}

.studio-overview .studio-opening.page-light {max-width:none;padding-block:clamp(3rem,7vw,6.5rem) clamp(3rem,6vw,5rem)}
.studio-opening.page-light .studio-lead {max-width:42ch}
.intro-systems.page-light {padding-block:clamp(3rem,7vw,6.5rem) clamp(3rem,6vw,5rem)}
.intro-systems.page-light p {max-width:48ch}
.page-light.case-intro {padding-bottom:clamp(3.5rem,7vw,6rem)}
.page-light.artist-services-intro {grid-template-columns:minmax(0,1fr);padding-block:clamp(1rem,3vw,2.5rem) clamp(2rem,4vw,4rem)}
.page-light.artist-services-intro > div {max-width:51rem}
.page-light.artist-services-intro .artist-services-ribbon {display:none}
.page-light.commission-intro {padding-block:clamp(1rem,3vw,2.5rem) clamp(2rem,4vw,4rem)}

/* The Lab keeps its ink masthead and custom lettering. */
html body.lab-page main .lab-signature.page-light {padding-block:clamp(2rem,5vw,4rem) clamp(2.5rem,6vw,5rem);background:linear-gradient(180deg,#201e29,#15171f 82%,#12151c)}
.lab-signature.page-light .imprint-fold {display:none}
.lab-signature.page-light .lab-imprint {max-width:39rem}

@media(max-width:760px) {
  .page-light.guide-cover {gap:1.5rem;margin-bottom:3rem;padding-block:.5rem 1rem}
  html .house-page .page-light.guide-cover > figure {padding:.8rem 0;gap:1.35rem}
  .page-light.guide-cover figcaption {margin:0;font-size:.64rem;letter-spacing:.1em}
  .page-light.guide-intro {padding-right:0;padding-bottom:1rem}
  .page-light .guide-intro > p,.page-light.guide-intro > p {margin-top:1.05rem}
  .studio-overview .studio-opening.page-light,.intro-systems.page-light {padding-block:2.5rem 3rem}
  .page-light.artist-services-intro {padding-block:1.25rem 1.75rem}
  html body.lab-page main .lab-signature.page-light {padding-block:calc(var(--mobile-top,.8rem) + var(--mobile-hit,44px) + 2rem) 3rem}
}

/* /house-atmosphere.css */
/* Daylight and ink share one neutral ground. Artwork keeps its own color space. */
:root {
  --atmosphere-ground: #040507;
  --atmosphere-panel: #121416;
  --atmosphere-cool: 124 165 180;
  --atmosphere-warm: 186 146 160;
  --atmosphere-glint: .14;
  --index-panel: var(--atmosphere-panel);
  --index-ink: #f8f4ed;
  --index-soft: #c1c8d1;
}
html[data-theme="light"] {
  --atmosphere-ground: #fff;
  --atmosphere-panel: #fafaf8;
  --atmosphere-cool: 93 135 152;
  --atmosphere-warm: 153 118 136;
  --atmosphere-glint: .11;
  --index-panel: var(--atmosphere-panel);
  --index-ink: #191e25;
  --index-soft: #414c57;
}
html body.house-page,
html body#top {
  --house-night: var(--atmosphere-ground);
  --house-paper: var(--index-ink);
  --house-muted: var(--index-soft);
  background: var(--atmosphere-ground) !important;
}
html[data-theme] body.house-page {
  --ink: var(--atmosphere-ground);
  --paper: var(--index-ink);
  --silver: var(--index-soft);
  color: var(--paper);
}
html[data-theme] body footer.house-end,
html[data-theme] #top footer.house-end#contact {
  position: relative;
  background:
    radial-gradient(ellipse 37% 110% at 92% 0%, rgb(var(--atmosphere-cool) / .045), transparent 98%),
    var(--atmosphere-ground) !important;
  border-top-color: color-mix(in srgb, var(--index-ink) 17%, transparent);
}
html body footer.house-end::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 10%, rgb(var(--atmosphere-warm) / .18) 36%, rgb(var(--atmosphere-cool) / .50) 63%, transparent 87%);
}

/* The animals, grass and track are projected in one photographic space. */
.woodland-host {position:relative;isolation:isolate}
.woodland-scene {
  position:absolute;
  z-index:-1;
  inset:0;
  overflow:hidden;
  overflow:clip;
  pointer-events:none;
  opacity:0;
}
.woodland-ready > .woodland-scene {opacity:1}
@media (prefers-reduced-motion:no-preference) {
  html:not(.motion-paused) .woodland-scene {transition:opacity 700ms ease-out}
}
.woodland-plane {
  position:absolute;
  right:0;
  bottom:0;
  width:min(87%,77rem);
  aspect-ratio:3/2;
  overflow:hidden;
  opacity:.84;
  filter:brightness(.76) saturate(.82);
  mask-image:
    linear-gradient(90deg,transparent 0%,#000 34%,#000 95%,transparent 100%),
    linear-gradient(180deg,transparent 0%,#000 30%,#000 88%,transparent 100%);
  mask-composite:intersect;
}
html[data-theme=light] .woodland-plane {
  opacity:.91;
  filter:brightness(1.14) saturate(.82);
}
.woodland-plane > img,
.woodland-plane > canvas {
  display:block;
  position:absolute;
  width:100%;
  max-width:none;
  height:100%;
  inset:0;
  margin:0;
  padding:0;
  border:0;
}
.woodland-plane > .woodland-path {top:70%;height:17%;bottom:auto}
.woodland-plane > .woodland-grass {top:70%;height:17%;bottom:auto}

/* The woodland crosses the About/work boundary. Feather the clipping layer
   itself so no painted pixel can land on either edge of the photograph. */
#the-house.woodland-host > .woodland-scene {
  inset:auto 0 calc(-1 * clamp(3rem,6vw,6rem));
  height:clamp(19rem,44vw,39rem);
  mask-image:linear-gradient(transparent, #0008 15%, #000 34%, #000 60%, #000b 75%, #0003 90%, transparent);
}
#the-house .woodland-plane {
  bottom:0;
  opacity:.78;
  mask-image:
    linear-gradient(90deg,transparent, #0007 35%, #000 68%, #000d 90%, transparent),
    linear-gradient(180deg,transparent 25%, #0006 58%, #000 76% 85%, transparent);
}
html[data-theme=light] #the-house .woodland-plane {opacity:.85}
html body.house-page main .folio-hero.woodland-ready::before,
html body.house-page main .folio-hero.woodland-ready::after {content:none}
.folio-hero.woodland-ready > .house-sculpture {visibility:hidden}
.folio-hero.woodland-host > .woodland-scene {inset:0 min(-2vw,-.6rem)}
.folio-hero .woodland-plane {
  width:69%;
  right:0;
  bottom:-5%;
  mask-image:
    linear-gradient(90deg,transparent 0%,#0002 8%,#000 42%,#000 94%,transparent),
    linear-gradient(180deg,transparent 0%,#000 28%,#000 87%,transparent);
}
@media(max-width:760px) {
  #the-house.woodland-host > .woodland-scene {height:clamp(15rem,60vw,23rem);bottom:-2.5rem}
  #the-house .woodland-plane {width:125%;right:-14%;bottom:0}
  #the-house .woodland-plane {
    mask-image:linear-gradient(180deg,transparent 28%,#0003 55%,#000 76% 85%,transparent);
  }
  .folio-hero.woodland-host > .woodland-scene {inset:0 calc(-1 * var(--edge,1.25rem))}
  .folio-hero .woodland-plane {width:100%;right:0;bottom:-.75rem}
  .folio-hero .woodland-plane {
    mask-image:linear-gradient(180deg,transparent 0% 16%,#000 52%,#000 88%,transparent 100%);
  }
  .folio-hero.woodland-ready > .house-sculpture {width:min(57vw,13rem);aspect-ratio:1.35}
}
@media (forced-colors:active),print {
  .woodland-scene {display:none}
  .folio-hero.woodland-ready > .house-sculpture {display:none}
  html body footer.house-end::before {display:none}
}

.cut-light {display:none}
html .field-opening {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.96fr);
  align-items:center;gap:clamp(2rem,5vw,5rem);
  padding-block:clamp(2rem,5vw,5.5rem);
}
html body.house-page .field-opening > header {padding:0}
html body.house-page .field-opening > header p {max-width:42ch}
html body.house-page .field-opening > header::before,
html body.house-page .field-opening > header::after {content:none}
html .field-opening .cut-light {width:100%;aspect-ratio:1.55}
html body.house-page .correspond .cut-light {width:min(100%,31rem);margin-top:clamp(1.1rem,4vw,3.75rem)}
@media (max-width:700px) {
  html .field-opening {grid-template-columns:1fr;gap:1.25rem}
  html .field-opening .cut-light {aspect-ratio:2.7}
  html body.house-page .correspond .cut-light {aspect-ratio:3.6;max-width:26rem}
}
/* Editorial openings keep a separate reading column and room around the object. */
.house-page .field-guide :is(.guide-cover,.sculpture-pair):has(.guide-study) {
  gap:clamp(1.75rem,5vw,5.5rem);
  padding-block:clamp(1.35rem,3.6vw,3.75rem);
  margin-block-end:clamp(2.75rem,6vw,6rem);
}
.house-page .field-guide :is(.guide-cover,.sculpture-pair):has(.guide-study) .guide-intro h1 {
  max-inline-size:19ch;
  text-wrap:balance;
  word-break:normal;
}
.house-page .field-guide :is(.guide-cover,.sculpture-pair):has(.guide-study) .guide-intro > p {
  max-inline-size:48ch;
  line-height:1.58;
  text-wrap:pretty;
}

/* /sculpture-studies.css */
/* Transparent, directly lit objects share the surrounding page surface. */
.house-sculpture {
  position: relative;
  display: block;
  width: min(100%, 21rem);
  aspect-ratio: 4 / 3;
  min-width: 0;
  justify-self: center;
  align-self: center;
  isolation: isolate;
  pointer-events: none;
}
.house-sculpture > img,
.house-sculpture::after {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  background-color: transparent;
}
.house-sculpture.is-turning::after {
  content: "";
  background-image: var(--turntable);
  background-size: 1200% 100%;
  background-repeat: no-repeat;
  animation: sculpture-study-turn 3.8s steps(11,end) infinite alternate;
  animation-play-state: paused;
}
.house-sculpture.is-turning > img {visibility: hidden}
.house-sculpture.is-turning.in-view::after {animation-play-state: running}
@keyframes sculpture-study-turn {from {background-position: 0% 50%} to {background-position: 100% 50%}}
@media (prefers-reduced-motion: reduce) {
  .house-sculpture.is-turning::after {content: none}
  .house-sculpture.is-turning > img {visibility: visible}
}
html.motion-paused .house-sculpture.is-turning::after {content: none}
html.motion-paused .house-sculpture.is-turning > img {visibility: visible}
.sculpture-pair,
.house-page .intro-systems.page-light:has(> .house-sculpture),
.house-page .artist-services-intro.page-light:has(> .house-sculpture) {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(9rem, .85fr);
  align-items: center;
  gap: clamp(1rem, 5vw, 5rem);
}
.sculpture-pair {position: relative; isolation: isolate; margin-block-end: clamp(2.25rem, 5vw, 5rem)}
.sculpture-pair > .page-light {min-width: 0; width: 100%; margin: 0; box-sizing: border-box}
html .house-page main .sculpture-pair > .guide-intro {padding-inline-end: 0}
.sculpture-pair > .commission-intro {display: block}
.sculpture-pair > .commission-intro > * + * {margin-block-start: 1.4rem}
.regional-study {display:grid; justify-items:center; margin: 0; width:100%; gap:.4rem}
.regional-study figcaption {font:inherit; font-size:.8rem; text-align:center; line-height:1.55; color:inherit}
.regional-study figcaption span {display:block; font-size:.72rem; opacity:.72}
.sculpture-heading {display:flex; align-items:center; gap:clamp(.9rem,3vw,2.4rem); min-width:0}
.sculpture-heading > :is(h1,h2) {margin-block:0; min-width:0}
.sculpture-heading .sculpture-seal {flex:0 0 clamp(3rem,6.2vw,5.6rem); width:clamp(3rem,6.2vw,5.6rem)}
.house-page .lab-signature .imprint-sculpture {width: min(16rem, 70%); z-index: 1; margin: 0 auto}
.correspond-sculpture {width:min(41%,11rem);margin-block-start:1rem}
@media(max-width:680px){
  .sculpture-pair,
  .house-page .intro-systems.page-light:has(> .house-sculpture),
  .house-page .artist-services-intro.page-light:has(> .house-sculpture) {
    grid-template-columns:minmax(0,1fr); gap:1rem;
  }
  .sculpture-pair > .house-sculpture,
  .regional-study > .house-sculpture,
  .house-page .page-light > .house-sculpture {width:min(57vw,14rem)}
  .sculpture-pair > .house-sculpture,.regional-study,.page-light > .house-sculpture {justify-self:center}
  .correspond-sculpture {width:5rem}
  .house-page .lab-signature .imprint-sculpture {width:6rem}
}
/* Give the regional and software objects a clear field at the top of the page. */
html[data-theme] body:is(.virginia-branding,.creative-technology)::before {
  background: radial-gradient(ellipse at 76% 45%,rgb(var(--atmosphere-warm)/.09),transparent 41%),
              radial-gradient(ellipse at 60% 22%,rgb(var(--atmosphere-cool)/.07),transparent 55%);
}
:is(.virginia-branding,.creative-technology) .sculpture-pair .intro {text-align:start}
:is(.virginia-branding,.creative-technology) .sculpture-pair .intro p {margin-inline:0; max-width:46ch}
:is(.virginia-branding,.creative-technology) .sculpture-pair h1 {margin-block:.45em .4em}
.regional-opening {margin-block:clamp(1.4rem,3vw,3.25rem) clamp(3rem,6vw,5.5rem)}
.regional-study figcaption {letter-spacing:.015em}
@media(max-width:680px){
  .regional-study {grid-template-columns: minmax(0,10rem) minmax(0,8rem); align-items:center; justify-content:center;column-gap:.6rem}
  .regional-study > .house-sculpture {width:100%}
  .regional-study figcaption {justify-self:start;text-align:start}
}

/* The guide turntables share a stable optical center at each device density. */
.house-page main .house-sculpture.guide-study {width:min(100%, clamp(220px, 20vw, 256px))}
.house-sculpture.guide-study.is-turning::after {
  background-size:400% 300%;
  animation-name:guide-study-turn;
  animation-timing-function:steps(1,end);
}
@keyframes guide-study-turn {
  0%     {background-position:0% 0%}
  9.09%  {background-position:33.333333% 0%}
  18.18% {background-position:66.666667% 0%}
  27.27% {background-position:100% 0%}
  36.36% {background-position:0% 50%}
  45.45% {background-position:33.333333% 50%}
  54.55% {background-position:66.666667% 50%}
  63.64% {background-position:100% 50%}
  72.73% {background-position:0% 100%}
  81.82% {background-position:33.333333% 100%}
  90.91% {background-position:66.666667% 100%}
  100%   {background-position:100% 100%}
}
@media(max-width:680px) {
  .house-page main .house-sculpture.guide-study {width:min(57vw,224px,100%)}
}

/* /material-light.css */
/* The white areas of each alpha mask follow the photograph's actual cut edges.
   Object-position and the scroll transform must agree with house-plates.css. */
:is(.editorial-plate.plate-studio, #house-index .material-slide[data-room="studio"]) {
  --silver-mask: url("/assets/material-studies/studio-reflection.png");
  --silver-angle: 111deg;
}
:is(.editorial-plate.plate-systems, #house-index .material-slide[data-room="systems"]) {
  --silver-mask: url("/assets/material-studies/systems-reflection.png");
  --silver-angle: 74deg;
}

.editorial-plate.plate-art-commissions, #house-index .material-slide[data-room="art-commissions"] {
  --silver-mask: url("/assets/material-studies/art-commissions-reflection.png");
  --silver-angle: 137deg;
}
.editorial-plate.plate-shop, #house-index .material-slide[data-room="shop"] {
  --silver-mask: url("/assets/material-studies/shop-reflection.png");
  --silver-angle: 67deg;
}
.editorial-plate.plate-commission-lab {
  --silver-mask: url("/assets/material-studies/commission-lab-reflection.png");
  --silver-angle: 120deg;
}
@supports (mask-image: linear-gradient(white,transparent)) or (-webkit-mask-image: linear-gradient(white,transparent)) {
@media screen and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  html:not(.motion-paused,.page-hidden):not(:has(.tool-motion-control[aria-pressed="true"], #house-index[open]))
    .editorial-plate.light-in-view::after,
  html:not(.motion-paused,.page-hidden):not(:has(.tool-motion-control[aria-pressed="true"])) #house-index[open] .material-plate.light-in-view
    .material-slide.exposed::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(var(--silver-angle),
      transparent 32%, rgb(221 223 239 / .10) 39%, rgb(233 235 242 / .26) 45%,
      rgb(251 248 239 / .60) 49.2%, rgb(244 240 231 / .40) 51.1%,
      rgb(235 229 219 / .12) 57%, transparent 65%);
    background-repeat: no-repeat;
    background-size: 280% 100%;
    -webkit-mask: var(--silver-mask) var(--crop-x,50%) var(--crop-y,50%) / cover no-repeat;
    mask: var(--silver-mask) var(--crop-x,50%) var(--crop-y,50%) / cover no-repeat;
    animation: silver-softbox 8s cubic-bezier(.33,.06,.64,.97) infinite;
  }
  @supports (animation-timeline: view()) {
    html:not(.motion-paused,.page-hidden):not(:has(.tool-motion-control[aria-pressed="true"], #house-index[open]))
      body.house-page main .editorial-plate.light-in-view::after {
      animation: silver-softbox 8s cubic-bezier(.33,.06,.64,.97) infinite,
                 material-plate-travel linear both;
      animation-timeline: auto, --material-travel;
      animation-range: normal, entry 0% exit 100%;
    }
  }
}
}
@keyframes silver-softbox {
  from {background-position: 93% 0}
  84%, to {background-position: 2% 0}
}
