/* Pale drawing paper and the dark studio alternate across the public site. */
:root {
  --studio: #181914;
  --studio-surface: #22231d;
  --studio-paper: #ebe8df;
  --studio-orange: #f0a477;
  --studio-rust: #703c27;
  --mast-shift: 0px;
  --shot-offset: 0px;
}
.site-header .bar { position: relative; }
.site-header .bar::after { top: auto; bottom: 0; }
body[data-page=home] .site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  translate: 0 calc(var(--mast-shift) * -1);
  color: var(--studio-paper);
  border-color: #555548;
  background: #191b15;
}
body[data-page=home] .site-header:focus-within { translate: none; }
body[data-page=home] .site-rail { background: #10110e; }
body[data-page=home] .logo-w { display: block; }
body[data-page=home] .logo-b { display: none; }
body[data-page=home] .nav-cta,
body[data-page=home] .burger { border-color: #6a695b; }
body[data-page=home] .nav-cta {
  --curve-button-fill: transparent;
  --curve-button-edge: #6a695b;
  background: var(--curve-button-fill);
  border-color: var(--curve-button-edge);
}
body[data-page=home] .nav-cta span { color: var(--studio-orange); }
body[data-page=home] .burger i { background: var(--studio-paper); }
body[data-page=home] .nav-cta:hover {
  --curve-button-fill: var(--studio-orange);
  --curve-button-edge: var(--studio-orange);
  color: var(--studio);
}
body[data-page=home] .nav-cta:hover span { color: inherit; }
body[data-page=home] .mega,
body[data-page=home] .mobile-menu { background: #23251e; color: var(--studio-paper); }
body[data-page=home] .mega { position: absolute; inset: 100% 0 auto; border-block: 1px solid #545446; }
body[data-page=home] .mega .mega-in > a { border-color: #5d5c50; }
body[data-page=home] .mega .mega-in > a span { color: #c8c5b6; }
body[data-page=home] .mega a:hover,
body[data-page=home] .mobile-menu a:hover { color: var(--studio-orange); }
body[data-page=home] .mobile-menu {
  position: fixed;
  z-index: 19;
  top: calc(101px - var(--mast-shift));
  transition: opacity .28s ease, translate .34s cubic-bezier(.22,.61,.36,1), visibility .28s;
  opacity: 0;
  translate: 0 -12px;
  border-bottom: 1px solid #626253;
}
body[data-page=home] .mobile-menu[aria-hidden=false] { opacity: 1; translate: none; }
body[data-page=home]:has(.site-header:focus-within) .mobile-menu { top: 101px; }
body[data-page=home] .mobile-menu .mm-in { padding-bottom: 24px; }
body[data-page=home] .mobile-menu .mm-in > a { border-color: #47483e; }
body[data-page=home] .mobile-menu .mm-in .mm-cta { color: var(--studio-paper); }

.editorial-hero {
  width: 100%;
  max-width: none;
  min-height: clamp(625px, 86svh, 940px);
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  padding: clamp(26px, 4vw, 70px) var(--pad) clamp(36px, 5vw, 88px);
  background:
    linear-gradient(90deg, #ffffff07 1px, transparent 1px) 0 0 / clamp(70px, 10vw, 190px) 100%,
    var(--studio);
  color: var(--studio-paper);
}
.editorial-hero-copy { position: relative; z-index: 2; }
.editorial-hero-copy .hero-eyebrow { color: #e6c6b2; }
.editorial-hero-copy .hero-eyebrow::before { background: var(--studio-orange); }
.editorial-hero-copy h1 {
  font-size: clamp(2.9rem, 4.75vw, 6rem);
  font-weight: 570;
  letter-spacing: -.074em;
}
.editorial-hero-copy .hero-sub { color: #d0ccc0; }
.editorial-hero-copy .btn-light {
  color: #1c1712;
  border-color: var(--studio-orange);
  background: var(--studio-orange);
}
.editorial-hero-copy .btn-light:hover { background: #f4c3a4; border-color: #f4c3a4; }

.editorial-hero-image {
  align-self: stretch;
  background: #797364;
  box-shadow: 0 0 0 1px #a6a28a5c;
  isolation: isolate;
}
.hero-photograph {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.editorial-hero-image .hero-photograph img {
  object-position: 50% 53%;
}
.editorial-hero-image::before, .editorial-hero-image::after {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.editorial-hero-image::before { left: -6px; top: -6px; border-left: 1px solid #f3b092; border-top: 1px solid #f3b092; }
.editorial-hero-image::after { right: -6px; bottom: -6px; border-right: 1px solid #f3b092; border-bottom: 1px solid #f3b092; }
[data-cinematic-loop] {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.site-footer { position: relative; overflow: hidden; isolation: isolate; }
.footer-lens {
  position: absolute;
  width: min(41vw,660px);
  height: 100%;
  inset: 0 0 0 auto;
  z-index: -1;
  opacity: .24;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent,#000 47%);
}
.footer-lens video { object-position: 64% center; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion:no-preference) {
    .site-footer .foot-top {
      animation: site-scroll-type linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 32%;
    }
    .editorial-hero-copy > :is(h1,.hero-sub) {
      translate: 0 calc(var(--mast-shift) * .42);
    }
    @keyframes site-scroll-type {
      from { translate: 0 36px; opacity: .42; }
      to { translate: 0 0; opacity: 1; }
    }

  }
}
@media (max-width: 760px) {
  .editorial-hero { grid-template-columns: 1fr; min-height: 0; padding-block: 26px 35px; gap: 26px; }
  .editorial-hero-copy { padding: 0; }
  .editorial-hero-copy h1 { font-size: clamp(2.7rem, 7.15vw, 4.55rem); }
  .footer-lens { width: 63%; opacity: .2; }
}
@media (max-width: 600px) {
  body[data-page=home] .mobile-menu { top: calc(89px - var(--mast-shift)); }
  body[data-page=home]:has(.site-header:focus-within) .mobile-menu { top: 89px; }
}
@media (prefers-reduced-motion:reduce) {
  body[data-page=home] .site-header { translate: none; }
}

:root { --page-progress: 0; --scroll-drift: 0px; }
.site-header::after {
  content: "";
  height: 1px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
  background: #e6a17b;
  transform: scaleX(var(--page-progress));
  transform-origin: left;
}
@media (prefers-reduced-motion:no-preference) {
  .editorial-hero-copy > .hero-eyebrow { animation: hero-arrival .72s .05s cubic-bezier(.18,.8,.2,1) both; }
  .editorial-hero-copy h1 { animation: hero-arrival .88s .10s cubic-bezier(.18,.8,.2,1) both; }
  .editorial-hero-copy .hero-sub { animation: hero-arrival .85s .16s cubic-bezier(.18,.8,.2,1) both; }
  .editorial-hero-copy .hero-actions { animation: hero-arrival .75s .26s cubic-bezier(.18,.8,.2,1) both; }
  .mega-in > a, .mega-in > p { opacity: 0; translate: -10px 7px; transition: translate .36s cubic-bezier(.17,.84,.36,1), opacity .23s; }
  .nav-btn[aria-expanded=true] + .mega .mega-in > :is(a,p) { opacity: 1; translate: none; }
  .nav-btn[aria-expanded=true] + .mega .mega-in > :nth-child(2) { transition-delay:.039s; }
  .nav-btn[aria-expanded=true] + .mega .mega-in > :nth-child(3) { transition-delay:.074s; }
  .nav-btn[aria-expanded=true] + .mega .mega-in > :nth-child(4) { transition-delay:.110s; }
  .nav-btn[aria-expanded=true] + .mega .mega-in > :nth-child(5) { transition-delay:.145s; }
  .mobile-menu[aria-hidden=false] .mm-in { animation: menu-arrival .38s cubic-bezier(.18,.8,.2,1) both; }
  @keyframes hero-arrival {
    from { transform: translate3d(-12px,22px,0); opacity: .1; }
    to { transform: translate3d(0,0,0); opacity: 1; }
  }
  @keyframes menu-arrival {
    from { transform: translate3d(-9px,-12px,0); opacity: .45; }
    to { transform: translate3d(0,0,0); opacity: 1; }
  }
}
@media (max-width: 540px) {
  .editorial-hero-image { aspect-ratio: 1.23; }
}

.editorial-hero-copy h1 {
  color: #f5ede1;
  text-shadow: 0 1px #c3a68d, 0 2px #866d58, 0 3px #483a2f, 0 9px 22px #0007;
}
@media (prefers-reduced-motion:no-preference) {
  .editorial-hero-copy h1 { animation-name: hero-title-rise; }
  @keyframes hero-title-rise {
    0% { transform: perspective(640px) translate3d(-16px,30px,-38px) rotateX(17deg) rotateY(-7deg); opacity: .10; }
    63% { transform: perspective(640px) translate3d(2px,-2px,2px) rotateX(-1.25deg) rotateY(.65deg); opacity: 1; }
    100% { transform: perspective(640px) translate3d(0,0,0) rotateX(0) rotateY(0); opacity: 1; }
  }
}
.architectural-viewport,
main:not(.home-editorial) :is(.hero-media,.panel-media) { overflow: clip; }
body[data-page] [data-photo-curve][data-curve-warp] {
  overflow: visible;
  clip-path: var(--curve-path);
}
body[data-page] [data-button-curve] { position: relative; isolation: isolate; }
body[data-page] :is(.btn,.nav-cta)[data-button-curve][data-curve-warp] {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
}
body[data-page] [data-button-curve][data-curve-warp]::before,
body[data-page] [data-button-curve="outline"][data-curve-warp]::after {
  content: "";
  position: absolute;
  inset: -11px;
  z-index: -1;
  pointer-events: none;
}
body[data-page] [data-button-curve][data-curve-warp]::before {
  background: var(--curve-button-fill);
  clip-path: var(--curve-path);
}
body[data-page] [data-button-curve="outline"][data-curve-warp]::after {
  background: var(--curve-button-edge);
  clip-path: var(--curve-rim);
}
.site-utility { display: inline-flex; align-items: center; gap: 13px; }
.ambient-toggle {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
}
.ambient-toggle::before {
  content: "";
  width: 8px;
  height: 10px;
  border-inline: 2px solid currentColor;
}
.ambient-toggle[aria-pressed=true]::before {
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left: 8px solid currentColor;
  border-right: 0;
}
.ambient-toggle:hover { color: var(--studio-orange); }
.ambient-toggle:focus-visible { outline: 1px solid var(--studio-orange); outline-offset: -2px; }
html[data-motion-paused] .home-editorial *,
html[data-motion-paused] .site-header *,
html[data-motion-paused] main:not(.home-editorial) *,
html[data-motion-paused] .site-footer * {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion:reduce) {
  .ambient-toggle { display: none; }
}

@media (prefers-reduced-motion:no-preference) {
  :is(.btn,.link-arrow) > svg[aria-hidden="true"],
  .nav-cta > .arrow,
  :is(.hero-actions,.services-index) a > span[aria-hidden="true"] {
    transition: translate .42s cubic-bezier(.22,1,.36,1);
  }
  html:not([data-motion-paused]) :is(.btn,.link-arrow):is(:hover,:focus-visible) > svg[aria-hidden="true"] {
    translate: 4px 0;
  }
  html:not([data-motion-paused]) .nav-cta:is(:hover,:focus-visible) > .arrow { translate: 3px -3px; }
  html:not([data-motion-paused]) :is(.hero-actions,.services-index) a:is(:hover,:focus-visible) > span[aria-hidden="true"] {
    translate: 3px 3px;
  }
}
