:root {
  --opening-paper: #eee8df;
  --landing-gutter: clamp(1.15rem, 3.2vw, 3.7rem);
}
.landing-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 8;
  height: auto;
  padding: clamp(.8rem, 2vw, 1.6rem) var(--landing-gutter);
  border: 0;
  pointer-events: none;
}
.landing-header > * { pointer-events: auto; }
.landing-brand {
  display: block;
}
.landing-brand img {
  width: clamp(2.25rem, 3.5vw, 3rem);
  height: auto;
  filter: drop-shadow(0 1px 1.25px #251d154f);
}
.home-experience { background: var(--opening-paper); }
.home-stage { position: relative; height: 100svh; }
.has-landing-motion .home-stage { position: sticky; top: 0; overflow: hidden; }
.home-portfolio { position: absolute; inset: 0; overflow: hidden; color: #211e1a; }
.home-track { display: flex; height: 100%; width: 100%; transform: translate3d(var(--track-x, 0px), 0, 0); }
.home-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  background: #241d16;
  display: grid;
  grid-template-rows: 1fr 1fr;
  isolation: isolate;
  overflow: hidden;
}
.home-image { overflow: hidden; min-height: 0; }
.home-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--scene-zoom, 1));
}
.home-image-detail img { object-position: center 43%; transform-origin: 55% 65%; }
.home-image-room img { object-position: center 58%; transform-origin: 50% 35%; }
.home-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(#19150f38, transparent 32%, transparent 81%, #16100b40);
  z-index: 0;
}
.home-feature-card {
  position: absolute;
  z-index: 1;
  top: 50%;
  inset-inline: clamp(1.15rem, 12vw, 13rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: .6rem;
  min-height: clamp(6.8rem, 15svh, 9.5rem);
  padding: clamp(.9rem, 1.55vw, 1.35rem);
  border: 0;
  border-radius: 0;
  color: #302b25;
  background: linear-gradient(118deg, #ede4d6b8, #ddcfbcad 66%, #cab9a5a8);
  backdrop-filter: blur(2px);
  box-shadow: 0 14px 42px #201b1726;
  opacity: var(--card-opacity, 1);
  transform: perspective(900px) translateY(calc(-50% + var(--card-y, 0px))) rotateX(var(--card-angle, 0deg));
  text-align: left;
}
.home-feature-card:hover .feature-name { text-decoration: underline; text-underline-offset: .18em; }

.feature-name {
  font: 600 clamp(1.3rem, 2.45vw, 2.2rem)/1.08 var(--sans);
  letter-spacing: -.05em;
}
.feature-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .09em; }
.feature-word > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .home-slide.is-feature-visible .feature-word > span {
    animation: feature-word-in .72s cubic-bezier(.22,.8,.26,1) both;
    animation-delay: calc(.12s + var(--word, 0) * .09s);
  }
  .home-slide.is-feature-visible .feature-emboss {
    animation: feature-emboss-in .8s .23s ease-out both;
  }

}
@keyframes feature-word-in {
  from { transform: translateY(112%) rotateX(18deg); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes feature-emboss-in { from { opacity: 0; transform: translateY(14px) rotate(-5deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }

.feature-emboss {
  width: clamp(2.8rem, 5.8vw, 5.6rem);
  aspect-ratio: 474 / 308;
  filter: drop-shadow(1px 1.6px 1px #8d7a67a1) drop-shadow(-.75px -.8px .65px #f6efe5);
}
.feature-emboss::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  mask: url(assets/t11-emboss.svg) center / contain no-repeat;
  background: linear-gradient(152deg, #f0e8dc, #d6c9b9 51%, #bbab98);
}
.feature-location, .feature-sector {
  grid-row: 3;
  align-self: end;
  font: 700 clamp(.66rem, 1vw, .86rem)/1.35 var(--sans);
}
.feature-sector { justify-self: end; }
.home-controls {
  display: flex;
  gap: .65rem;
  align-items: center;
  position: absolute;
  right: var(--landing-gutter);
  bottom: 1.35rem;
  padding: .3rem;
  border-radius: 100vw;
  background: var(--opening-paper);
  font: 700 .63rem/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.home-controls button {
  padding: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #211e1a42;
  border-radius: 50%;
  background: transparent;
  font-size: .95rem;
}
.home-controls button:disabled { opacity: .35; cursor: default; }
.home-controls button:hover:not(:disabled) { background: #ded4c8; }
.studio {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr);
  align-items: end;
  gap: 2rem;
}
.studio-copy p { color: var(--soft); max-width: 40ch; margin-bottom: 1.35rem; }
.footer-logo { width: 60px; height: auto; filter: brightness(0) invert(1); }
html:not(.has-landing-motion) .home-stage { height: auto; }
html:not(.has-landing-motion) .home-portfolio { position: relative; }
html:not(.has-landing-motion) .home-track { overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.has-landing-motion) .home-slide { scroll-snap-align: start; min-height: min(80svh, 50rem); }
html:not(.has-landing-motion) .home-image { height: min(40svh, 25rem); }

@media (max-width: 700px) {
  .home-feature-card { inset-inline: 1.4rem; min-height: 6.5rem; }
  .home-controls { bottom: .8rem; right: var(--landing-gutter); }
  .studio { grid-template-columns: 1fr; gap: 1.15rem; }
}


.landing-header .direct-nav,
.project-page-header .direct-nav {
  position: static;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(.85rem, 2.15vw, 2.4rem);
  padding: 0;
  border: 0;
  background: transparent;
}
.direct-nav a {
  position: relative;
  color: #fffdf9;
  font: 600 clamp(.64rem, .85vw, .78rem)/1.2 var(--sans);
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 9px #1c171bb3;
}
.direct-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -.5rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.direct-nav a:hover::after, .direct-nav a:focus-visible::after { transform: scaleX(1); }
.landing-header.on-paper {
  background: #eee8dff0;
  backdrop-filter: blur(12px);
}
.landing-header.on-paper .direct-nav a { color: #342d28; text-shadow: none; }
section[id] { scroll-margin-top: 100px; }
html.project-open { overflow: hidden; }
dialog.project-page {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 0;
  border: 0;
  color: #342d28;
  background: #f2ece4;
  overflow: hidden;
}
dialog.project-page[open] { display: grid; grid-template-rows: 80px minmax(0, 1fr) 74px; }
.project-page::backdrop { background: #211c17; }
.project-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem var(--landing-gutter);
  background: #302c29;
}
.project-story {
  display: grid;
  grid-template-columns: minmax(280px, .80fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 4.1vw, 5rem);
  min-height: 0;
  padding: clamp(1.6rem, 3.8vh, 3rem) var(--landing-gutter);
}
.project-page-caption {
  min-height: 0;
  overflow-y: auto;
  padding: .3rem 1rem 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: #bbab99 transparent;
}
.project-page-caption .eyebrow {
  color: #75675a;
  font-size: .63rem;
  line-height: 1.7;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.project-page-caption h2 {
  font-size: clamp(3rem, 4.2vw, 5rem);
  line-height: .98;
  letter-spacing: -.025em;
  margin-bottom: clamp(1.25rem, 2.8vh, 2rem);
}
.project-page-caption h3 {
  font: 400 clamp(1.7rem, 2.2vw, 2.4rem)/1.07 var(--serif);
  margin-bottom: 1rem;
  color: #7d6b58;
}
#project-description p {
  font-size: clamp(.85rem, 1.05vw, .98rem);
  line-height: 1.75;
  max-width: 43ch;
  color: #5e554b;
  margin-bottom: .85rem;
}
.project-reel {
  display: flex;
  min-width: 0;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}
.project-reel::-webkit-scrollbar { display: none; }
.project-spread {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1.35rem;
  scroll-snap-align: start;
}
.project-photo-frame {
  min-height: 0;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e6ddd1;
  padding: clamp(.55rem, 1vw, 1rem);
}
.project-reel .project-photo-frame img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
}
.project-spread figcaption { padding: 0 .15rem .5rem; }
.project-spread figcaption h3 {
  font: 400 clamp(1.6rem, 2vw, 2.15rem)/1.1 var(--serif);
  color: #3d352c;
  margin-bottom: .4rem;
}
.project-spread figcaption p { font: 400 .85rem/1.6 var(--sans); color: #776757; }
.project-page .gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0 var(--landing-gutter);
  padding: .75rem 0 1rem;
  border-top: 1px solid #cfc0af;
}
.project-back {
  padding: .55rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: .78rem;
}
.project-pagination { display: flex; align-items: center; gap: .65rem; }
.project-page .round { color: inherit; border-color: #b6a38f; }
.project-page .round:hover { background: #ded0bd66; }
.project-page .round:disabled { opacity: .3; cursor: default; }
.project-page #gallery-count { margin: 0; font-size: .7rem; min-width: 3rem; text-align: center; }
@media (max-width: 700px) {
  .landing-header, .project-page-header { gap: .8rem; padding-inline: 1rem; }
  .landing-brand img { width: 2.15rem; }
  .landing-header .direct-nav, .project-page-header .direct-nav { gap: .7rem; }
  .direct-nav a { font-size: .57rem; letter-spacing: .01em; }
  dialog.project-page { overflow-y: auto; }
  dialog.project-page[open] { display: block; }
  .project-page-header { position: sticky; top: 0; z-index: 3; min-height: 66px; }
  .project-story { grid-template-columns: 1fr; gap: .7rem; padding: 1.65rem 1rem 1rem; }
  .project-page-caption { overflow: visible; padding: 0; }
  .project-page-caption .eyebrow { margin-bottom: .65rem; }
  .project-page-caption h2 { font-size: 3.1rem; margin-bottom: 1rem; }
  .project-page-caption h3 { font-size: 1.9rem; }
  #project-description p { font-size: .86rem; line-height: 1.7; max-width: none; }
  .project-reel { height: auto; }
  .project-spread { gap: 1rem; grid-template-rows: 42svh auto; }
  .project-photo-frame { padding: .4rem; }
  .project-spread figcaption h3 { font-size: 1.7rem; }
  .project-spread figcaption p { font-size: .81rem; }
  .project-page .gallery-controls {
    position: sticky;
    bottom: 0;
    z-index: 2;
    min-height: 67px;
    margin: 0;
    padding: .7rem 1rem;
    background: #f2ece4f5;
    backdrop-filter: blur(8px);
  }
  .project-page .round { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .direct-nav a::after { transition: none; } }

/* A quieter, editorial portfolio: smaller images, complete project stories. */
.work .section-head { align-items: flex-end; }
.portfolio-intro { max-width: 31rem; color: #7a6e61; font-size: .9rem; line-height: 1.8; }
.portfolio-filters { display: flex; gap: 1.6rem; flex-wrap: wrap; margin: 0 0 2.3rem; border-bottom: 1px solid var(--line); }
.portfolio-filters button { background: transparent; border: 0; border-bottom: 1px solid transparent; padding: .9rem 0; color: #8b7b6b; font: 400 .78rem/1.4 var(--sans); cursor: pointer; }
.portfolio-filters button[aria-pressed="true"] { border-bottom-color: #615344; color: #302b25; }
.work .projects { gap: 3.6rem clamp(1.5rem,4vw,4.8rem); }
.work .project { min-width: 0; }
.work .project[hidden] { display: none; }
.work .project-image { background: #e7dfd4; }
.work .project-image img { aspect-ratio: 1.5; object-fit: contain; padding: clamp(.3rem,.7vw,.7rem); }
.work .project-image > span { width: 36px; height: 36px; background: #f2ece4e8; }
.portfolio-card-meta { display: flex; justify-content: space-between; gap: .7rem; padding-top: 1rem; font: 400 .62rem/1.5 var(--sans); letter-spacing: .06em; color: #92806c; text-transform: uppercase; }
.work .project-caption { align-items: baseline; margin-top: .5rem; padding: 0; }
.work .project-caption h3 { font-size: clamp(1.9rem,2.5vw,3rem); line-height: 1.08; }
.work .project-caption p { font-size: .7rem; }
.portfolio-card-story { max-width: 44ch; margin-top: .65rem; color: #74675a; font: 400 .83rem/1.75 var(--sans); }
.portfolio-empty { font-size: .9rem; color: #74675a; padding: 2rem 0; }
.studio-copy p + p { margin-top: 1rem; }
@media (min-width: 1000px) { .work .project:nth-child(even) { padding-top: 3rem; } }
@media (max-width: 700px) {
  .work .section-head { align-items: flex-start; gap: 1.2rem; }
  .portfolio-intro { font-size: .82rem; }
  .portfolio-filters { gap: 1.25rem; margin-bottom: 1.6rem; }
  .work .projects { gap: 2.5rem; }
  .work .project-image img { aspect-ratio: 1.3; }
  .work .project-caption h3 { font-size: 2rem; }
}
.lighting-story { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); align-items: center; gap: clamp(2rem,7vw,8rem); border-top: 1px solid var(--line); background: #e9e1d6; }
.lighting-story figure { margin: 0; }
.lighting-story figure img { width: 100%; aspect-ratio: 1.2; object-fit: contain; background: #e1d7ca; }
.lighting-story figcaption { padding-top: .7rem; }
.lighting-copy h2 { font-size: clamp(3rem,4.5vw,5.4rem); }
.lighting-copy > p:not(.eyebrow) { font-size: .9rem; line-height: 1.8; color: #75685a; max-width: 44ch; margin-top: 1rem; }
.lighting-copy .text-link { margin-top: 1.5rem; }
@media (max-width: 700px) { .lighting-story { grid-template-columns: 1fr; } .lighting-copy > p:not(.eyebrow) { font-size: .85rem; } }
.project-photo-room { display: block; margin-bottom: .5rem; font: 400 .62rem/1.4 var(--sans); color: #98836c; letter-spacing: .12em; text-transform: uppercase; }

/* Five layered photographic scenes, revealed horizontally by the scroll. */
@media(prefers-reduced-motion:no-preference){
  .has-landing-motion .home-portfolio {isolation:isolate;}
  .has-landing-motion .home-track {position:relative;transform:none;isolation:isolate;}
  .has-landing-motion .home-slide {position:absolute;inset:0;visibility:hidden;clip-path:inset(0 0 0 var(--scene-mask,100%));}
  .has-landing-motion .home-slide.is-scene-near {visibility:visible;will-change:clip-path;}
  .has-landing-motion .home-controls {z-index:8;}
  .has-landing-motion .home-image img {transform-origin:50% 50%;transform:translate3d(calc(var(--photo-x,0px) + var(--pointer-x,0px)),calc(var(--photo-y,0px) + var(--pointer-y,0px)),0) scale(var(--photo-scale,1.08));transition:transform .32s ease-out;}
  .has-landing-motion .home-image-room img {transform:translate3d(calc(var(--photo-x-alt,0px) - var(--pointer-x,0px)),calc(0px - var(--photo-y,0px) - var(--pointer-y,0px)),0) scale(var(--photo-scale,1.08));}
  .has-landing-motion .home-slide.is-scene-revealing .home-image-detail img {animation:scene-photo-upper 2.15s cubic-bezier(.16,.65,.21,1) both;}
  .has-landing-motion .home-slide.is-scene-revealing .home-image-room img {animation:scene-photo-lower 2.45s .12s cubic-bezier(.16,.65,.21,1) both;}
  .has-landing-motion .home-slide.is-feature-visible .home-feature-card {animation:scene-panel-reveal 1s cubic-bezier(.18,.75,.2,1) both;}
  .has-landing-motion .home-slide.is-feature-visible :is(.feature-location,.feature-sector) {animation:scene-meta-in .85s .4s ease-out both;}
}
@keyframes scene-photo-upper {from{scale:1.12;translate:28px -14px;opacity:.58}to{scale:1;translate:0 0;opacity:1}}
@keyframes scene-photo-lower {from{scale:1.14;translate:-30px 18px;opacity:.58}to{scale:1;translate:0 0;opacity:1}}
@keyframes scene-panel-reveal {from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes scene-meta-in {from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@media(max-width:700px) and (prefers-reduced-motion:no-preference){
  .has-landing-motion .home-slide.is-scene-revealing .home-image-detail img {animation-duration:1.75s;}
  .has-landing-motion .home-slide.is-scene-revealing .home-image-room img {animation-duration:2s;}
}
