/* Home: preloader, letter-split mark, film, the arch, the doors stage, ritual slider, the door journey */
.pg-home main { background: var(--umber); }

/* preloader: two clay slabs part to the sides */
.preloader { position: fixed; inset: 0; z-index: 1000; display: flex; justify-content: center; background: rgba(0, 0, 0, .38); overflow: hidden; }
.pl-box { flex-shrink: 0; width: 70.313vw; height: 100%; background: var(--clay); border-radius: 15vw; }
.pl-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 23.229vw; color: var(--sand); text-align: center; }
.pl-text .h5 { margin: 0; }
.pl-pct { margin: 3vw 0 0; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.no-preloader .preloader { display: none; }

/* hero film + letters */
.hero { position: relative; height: 91.146vw; overflow: hidden; background: #2a1e16; }
.hero-film, .hero-film video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-film video { object-fit: cover; object-position: 70% 50%; }
.hero-film::before { content: ""; position: absolute; inset: 0; z-index: 1; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .38 0 0 0 1.2 -.1'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-film::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(58, 44, 35, .42); opacity: .87; }
.letters { position: absolute; top: 9.2vw; left: 0; width: 100%; z-index: 3; margin: 0; display: flex; align-items: flex-end; justify-content: center; gap: 3.5vw; color: var(--sand); font-family: var(--serif); font-weight: 200; font-style: normal; font-size: 18.2vw; line-height: .78; font-variation-settings: "opsz" 72; pointer-events: none; }
.lt { display: block; }

/* intro over the film */
.intro { position: relative; z-index: 11; margin-top: -49.146vw; color: var(--sand); }
.intro-navi::before { top: 0; }
.go .intro-navi::before { animation: line1 1.5s 1s forwards; }
.go .intro-navi .navi-start::after { animation: line2 1s 1.5s forwards; }
.intro-navi .navi-middle .h6 { font-weight: 300; }
.intro-navi .navi-end { font-weight: 700; }

/* the arch */
.arch { position: relative; margin-top: 1.719vw; padding: 18.082vw var(--left) 8.802vw; overflow-x: clip; }
.arch-bg { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 109.38vw; height: 100%; background: var(--clay); border-top-left-radius: var(--arch); border-top-right-radius: var(--arch); z-index: 0; }
.arch > :not(.arch-bg) { position: relative; z-index: 2; }
.intro-title { width: 66vw; margin: 0 auto 5.836vw; text-align: center; }
.intro-title h1 { margin-bottom: 2.4vw; }
.intro-title .lede { margin-bottom: 2.4vw; }

/* doors stage */
.stage { position: relative; z-index: 3; }
.stage-clip { position: relative; overflow-x: clip; margin: 0 calc(-1 * var(--left)); padding: 0 var(--left); }
.doors { position: relative; display: flex; overflow: hidden; height: 47.108vw; border-radius: 6.253vw; background: var(--umber); }
.door { position: relative; height: 100%; border-radius: 6.253vw; overflow: hidden; transition: width .4s ease; }
.door1 { position: absolute; top: 0; left: 0; width: 60%; z-index: 5; }
.door2 { width: 60%; margin-left: auto; }
.door img { width: 80vw; max-width: none; height: 100%; object-fit: cover; }
.door2 img { margin-left: -20vw; }
.door::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 19.8%, rgba(20, 10, 4, .88) 100%); }
.door-txt { position: absolute; bottom: 0; width: 40vw; padding: 5.573vw 0; z-index: 2; text-align: center; transition: .5s; }
.door-txt .h2 { margin-bottom: 1.5vw; }
.door-txt p { width: 28.542vw; margin: 0 auto 1.5vw; }
.hidden-txt { transition: .5s; }
.door1 .door-txt { left: 50%; transform: translateX(-50%); }
.door2 .door-txt { right: 3vw; bottom: -9vw; }
.door2 .door-txt .hidden-txt { opacity: 0; }
.door1.active, .door2.active { width: 70%; }
.door1.not-active { width: 50%; }
.door1.not-active .door-txt { bottom: -9vw; }
.door1.not-active .hidden-txt { opacity: 0; }
.door2.active .door-txt { right: 4vw; bottom: 0; }
.door2.active .hidden-txt { opacity: 1; }

/* menu stage (fades in once the doors part) */
.menu-stage { position: absolute; left: calc(-1 * var(--left)); right: calc(-1 * var(--left)); top: -22vh; height: 100vh; z-index: 6; opacity: 0; pointer-events: none; padding-top: 11vh; }
.menu-stage.on { pointer-events: auto; }
.sec-navi::before { bottom: 0; }
.sec-navi .navi-start::after { top: auto; bottom: 0; }
.sec-navi.active::before { animation: line1 1.5s .5s forwards; }
.sec-navi.active .navi-start::after { animation: line2 1s 1s forwards; }
.sec-navi .navi-start span { font-weight: 400; }
.menu-title { margin-top: 2.6vw; text-align: center; }
.menu-title .h2 { margin-bottom: 1vw; }
.menu-title .h2 { opacity: 0; }
.menu-title p { width: 25.3vw; margin: 0 auto; opacity: 0; }

/* ritual slider: centred, 1.5 slides */
.rslider { position: relative; z-index: 4; margin-top: 2.2vw; height: 31vw; opacity: 0; touch-action: pan-y; }
.rs-track { position: relative; height: 100%; }
.rs-slide { position: absolute; top: 0; left: 16.667vw; width: 66.667vw; height: 100%; padding: 0 1.2vw; transition: transform .8s var(--ease-out), opacity .8s; color: var(--sand); }
.rs-img { display: block; height: 25vw; border-radius: 3.125vw; overflow: hidden; }
.rs-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease-out); }
.rs-slide.is-c .rs-img img { transform: scale(1); }
.rs-slide:hover .rs-img img { transform: scale(1.03); }
.rs-cap { display: flex; align-items: baseline; gap: 1.4vw; padding: 1.1vw .4vw 0; }
.rs-name { font-size: 2.604vw; }
.rs-n { font-weight: 600; }
.rs-cap { transition: visibility .8s; }
.rs-slide:not(.is-c) .rs-cap { visibility: hidden; transition-duration: 0s; }
.rs-name { margin: 0; }
.rs-meta { margin-left: auto; font-weight: 600; text-transform: uppercase; }
.rs-nav { position: absolute; top: 40%; transform: translateY(-50%); width: 9vw; height: 9vw; color: var(--sand); border-radius: 50%; z-index: 5; transition: background-color .25s, color .25s; }
.rs-nav svg { width: 100%; height: 100%; }
.rs-nav:hover, .rs-nav:focus-visible { background: var(--sand); color: var(--umber); }
.rs-prev { left: 6.354vw; }
.rs-next { right: 6.354vw; }

/* door journey */
/* the arch rises over the held menu like the reference: its top reaches 38.8vh at the end of the pin */
.loc { position: relative; z-index: 12; margin-top: calc(16.8vh - 55.91vw); background: var(--sand); border-top-left-radius: var(--arch); border-top-right-radius: var(--arch); overflow: hidden; }
.loc-door-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 104vw; z-index: 2; pointer-events: none; }
.loc-door { position: absolute; inset: 0; transform-origin: 50% 100%; will-change: transform; }
.loc-door svg { width: 100%; height: 100%; fill: var(--sand); }
.loc-door-line { stroke: var(--stone); stroke-width: 1.2; }
.loc-h1 { position: absolute; top: 19vw; left: 50%; transform: translateX(-50%); width: 100%; color: var(--umber); text-align: center; }
.jungle { position: absolute; bottom: -4vw; left: 0; width: 100%; height: 44vw; }
.jungle img { position: absolute; bottom: 0; }
.hedge { left: 14%; width: 72%; }
.prop { width: 31vw; }
.prop-l { left: -1vw; }
.prop-r { right: -1vw; }
.loc-bg { height: 104vw; overflow: hidden; }
.loc-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(.8); }
.loc-wrap { position: absolute; bottom: 14vw; left: 0; width: 100%; height: 55vw; z-index: 3; opacity: 0; visibility: hidden; color: var(--sand-2); }
.loc-wrap::before { content: ""; position: absolute; inset: -10vw 0 0; background: linear-gradient(180deg, rgba(30, 20, 14, 0), rgba(30, 20, 14, .45) 30%, rgba(30, 20, 14, .2)); pointer-events: none; }
.loc-wrap > * { position: relative; }
.loc-title { width: 38.021vw; margin: 0 auto; text-align: center; }
.loc-title .h4 { margin-bottom: 1.2vw; }
.loc-nav-card { position: absolute; bottom: -4vw; left: 7.813vw; width: 21.612vw; height: 37.321vw; background: var(--tile); border-radius: 3.125vw; padding: 2.708vw; transform: rotate(-5deg); color: var(--sand-2); }
.loc-nav { margin-top: 8.646vw; margin-left: 3vw; display: flex; flex-direction: column; align-items: flex-start; gap: 1.719vw; }
.loc-nav button { width: 5.052vw; height: 5.052vw; border-radius: 50%; color: var(--sand-2); transition: background-color .25s, color .25s; }
.loc-nav button svg { width: 100%; height: 100%; }
.loc-nav button:hover, .loc-nav button:focus-visible { background: var(--sand-2); color: var(--tile); }
.loc-slider { position: absolute; bottom: -3vw; left: 23.854vw; width: 65.625vw; overflow: hidden; }
.loc-track { display: flex; transition: transform .7s var(--ease-out); }
/* card face is a pseudo layer so the track keeps .573vw gutters */
.loc-item { position: relative; flex: 0 0 calc(100% / 3); display: flex; flex-direction: column; height: 33vw; color: #4a3526; }
.loc-item::after { content: ""; position: absolute; inset: 0 .573vw; background: var(--sand-2); border-radius: 3.125vw; z-index: 0; }
.loc-item > * { position: relative; z-index: 1; padding: 0 1.6vw; margin-left: .573vw; margin-right: .573vw; }
.loc-item .h5 { padding-top: 2vw; color: var(--umber); }
.loc-item .h6 { line-height: 1.25; margin-bottom: .8vw; }
.loc-note { font-size: .86vw; margin-bottom: .8vw; }
.loc-link { font-weight: 600; text-transform: uppercase; margin-bottom: 1.2vw; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; transition: color .2s; }
.loc-link:hover { color: var(--clay); }
.map { margin: auto 1.003vw .957vw !important; padding: 0 !important; height: 11.771vw; border-radius: 2.083vw; overflow: hidden; }
.map svg, .map img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 767px) {
  .pl-box { width: 170.313vw; border-radius: 35vw; }
  .pl-text { width: 70vw; }
  .pl-pct { margin-top: 6vw; }
  .hero { height: 100vh; height: 100svh; }
  .letters { top: 50vw; font-size: 21vw; gap: 2vw; }
  .intro { margin-top: -50vw; }
  .intro-navi .navi-end { display: none; }
  .intro-title { width: auto; margin: 0 auto 15vw; }
  .arch { margin-top: 10vw; padding: 25vw var(--left) 0; }
  .arch-bg { width: 180vw; border-top-left-radius: 90vw; border-top-right-radius: 90vw; }
  .stage-clip { margin: 0; padding: 0; }
  .doors { height: auto; flex-direction: column; gap: 5vw; border-radius: 0; background: none; overflow: visible; }
  .door, .door1, .door2 { position: relative; width: 100% !important; height: 120vw; border-radius: 12.723vw; margin: 0; }
  .door img, .door2 img { width: 100%; margin: 0; }
  .door-txt, .door1 .door-txt, .door2 .door-txt { left: 0; right: 0; transform: none; width: 100%; padding: 12vw 8vw; bottom: 0; }
  .door-txt p { width: auto; margin: 0 auto 3vw; }
  .door2 .door-txt .hidden-txt { opacity: 1; }
  .menu-stage { position: relative; top: 0; left: 0; right: 0; margin: 20vw calc(-1 * var(--left)) 0; height: auto; opacity: 1; padding: 10vw 0 16vw; pointer-events: auto; background: var(--umber); }
  .menu-stage .rslider { margin: 0 var(--left); }
  .menu-title { margin: 14vw 0 10vw; }
  .menu-title .h2, .menu-title p { opacity: 1; }
  .menu-title p { width: 80%; }
  .rslider { height: auto; opacity: 1; margin-top: 0; }
  .rs-track { height: 118vw; }
  .rs-slide { left: 7.5vw; width: 85vw; padding: 0 2vw; }
  .rs-img { height: 100vw; border-radius: 9vw; }
  .rs-name { font-size: 7.5vw; }
  .rs-cap { flex-wrap: wrap; gap: 2vw; padding-top: 3vw; }
  .rs-meta { margin-left: 0; width: 100%; }
  .rslider .rs-nav { position: static; transform: none; width: 21.12vw; height: 21.12vw; }
  .rslider { display: flex; flex-wrap: wrap; justify-content: center; gap: 7vw; }
  .rs-track { width: 100%; }
  .loc { margin-top: 20vw; border-top-left-radius: 50vw; border-top-right-radius: 50vw; }
  .loc-wrap { bottom: 0; }
  .loc-door-wrap, .loc-bg { height: 190vw; }
  .loc-h1 { top: 22vw; }
  .jungle { bottom: 0; height: 90vw; }
  .hedge { left: -40%; width: 180%; }
  .prop { width: 52vw; }
  .prop-l { left: -12vw; }
  .prop-r { right: -12vw; }
  .loc-wrap { height: 120vw; }
  .loc-title { width: auto; padding: 0 var(--left); }
  .loc-title .h4 { margin-bottom: 3vw; }
  .loc-nav-card { bottom: 5vw; left: 0; width: 38.612vw; height: 57.321vw; border-radius: 7vw; padding: 5.708vw 13vw 0 5vw; }
  .loc-nav { margin-top: 4.646vw; margin-left: 2vw; }
  .loc-nav button { width: 12vw; height: 12vw; }
  .loc-slider { left: 30vw; width: 66vw; bottom: 3vw; }
  .loc-item { flex: 0 0 100%; height: 100vw; }
  .loc-item::after { border-radius: 10vw; }
  .loc-item > * { padding: 0 5vw; }
  .loc-item .h5 { padding-top: 7vw; }
  .loc-note { font-size: 3.2vw; }
  .loc-link { margin-bottom: 4vw; }
  .map { height: 35.771vw; border-radius: 9vw; margin: auto 4vw 4vw !important; }
}
