:root {
  color-scheme: dark;
  --ink: #100d0c;
  --wine: #7f242b;
  --paper: #f7ebd9;
  --gold: #eac993;
  --muted: #e2d5c4;
  --line: #d5ad7260;
  --nav-h: var(--site-header-h, 76px);
  --gutter: clamp(20px, 5vw, 100px);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Be Vietnam Pro", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 1rem/1.65 var(--sans); }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 20; background: var(--ink); padding: .5em 1em; transform: translateY(-200%); }
.skip:focus { transform: none; }
.loading { padding: calc(var(--nav-h) + 40px) var(--gutter); }
.story {
  --scene-step: clamp(110px, 22svh, 210px);
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); isolation: isolate;
  min-height: calc(100svh + var(--scene-step) * (var(--scene-count) - 1));
}
.stage, .scenes { grid-area: 1 / 1; }
.stage { position: sticky; top: 0; align-self: start; height: 100svh; overflow: hidden; background: #241713; }
.backdrop, .stage iframe, .stage::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.backdrop { object-fit: cover; opacity: 0; transition: opacity .55s ease; }
.stage iframe { width: max(100vw, 177.78svh); height: max(100svh, 56.25vw); top: 50%; left: 50%; transform: translate(-50%, -50%); border: 0; pointer-events: none; opacity: 0; transition: opacity .55s ease; }
.backdrop.is-current, .stage iframe.is-current { opacity: 1; }
.stage::after {
  content: ""; pointer-events: none;
  background: linear-gradient(90deg, #100b0a12 17%, #100b0a54 37%, #100b0ac9 54%, #100b0ae8 75%, #100b0af5),
              linear-gradient(0deg, #100d0c 0%, transparent 21%, transparent 76%, #100d0c8a);
}
.scenes { position: sticky; top: 0; align-self: start; height: 100svh; z-index: 1; pointer-events: none; }
.scene {
  position: absolute; inset: 0; display: grid; align-items: center;
  grid-template-columns: 1fr minmax(0, 1fr); gap: clamp(24px, 5vw, 96px);
  padding: calc(var(--nav-h) + 24px) calc(var(--gutter) + 32px) 70px var(--gutter);
}
.scene-copy { grid-column: 2; max-width: 600px; }
.scene.is-active .scene-copy { pointer-events: auto; }
.scene-copy > *, .scene .media-note { opacity: 0; transition: opacity 150ms ease-out; }
.scene.is-active .scene-copy > *, .scene.is-active .media-note {
  opacity: 1; transition: opacity 390ms ease-out; transition-delay: 145ms;
}
.scene.is-active .scene-copy > :nth-child(2) { transition-delay: 200ms; }
.scene.is-active .scene-copy > :nth-child(3) { transition-delay: 260ms; }
.scene.is-active .scene-copy > :nth-child(4) { transition-delay: 320ms; }
.eyebrow {
  display: flex; align-items: center; gap: 11px; margin: 0 0 18px;
  color: var(--gold); font-size: .72rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase;
}
.knot { display: block; flex: 0 0 19px; width: 19px; height: 19px; color: var(--gold); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.07; text-wrap: balance; }
.scene h1 { font-size: clamp(3rem, 5vw, 6.3rem); }
.scene h2 { font-size: clamp(2.65rem, 5.4vw, 6rem); }
.accent { display: block; margin-top: .14em; color: var(--gold); font-size: .73em; }
.description { max-width: 42ch; color: var(--muted); margin: 20px 0 0; font-size: clamp(.95rem, 1.25vw, 1.1rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.action { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; padding: 10px 17px; border: 1px solid #d5ad72a1; border-radius: 5px; background: var(--wine); text-decoration: none; font-size: .83rem; font-weight: 600; }
.action:hover { background: #9a333a; }
.action.secondary { background: #1d1410; color: var(--gold); }
.action.secondary:hover { background: #39291d; }
.frame-corners {
  position: fixed; z-index: 81; inset: clamp(6px, 1vw, 17px);
  color: var(--gold); pointer-events: none;
}
.corner { position: absolute; width: clamp(17px, 3vw, 43px); aspect-ratio: 1; opacity: .72; }
.corner:nth-child(1) { top: 0; left: 0; }
.corner:nth-child(2) { top: 0; right: 0; transform: rotate(90deg); }
.corner:nth-child(3) { bottom: 0; right: 0; transform: rotate(180deg); }
.corner:nth-child(4) { bottom: 0; left: 0; transform: rotate(270deg); }
.vimeo-layer {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  container-type: size; transition: opacity .55s ease;
}
.vimeo-layer.is-current { opacity: 1; }
.vimeo-layer iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
  border: 0;
}
.rail { position: sticky; z-index: 2; grid-area: 1 / 1; justify-self: end; align-self: start; top: 45svh; margin-right: max(17px, calc(var(--gutter) * .45)); display: grid; gap: 10px; }
.rail[inert] { visibility: hidden; }
.rail a { display: grid; place-items: center; width: 31px; height: 31px; text-decoration: none; }
.rail a::after { content: ""; width: 6px; height: 6px; border: 1px solid var(--gold); border-radius: 50%; }
.rail a[aria-current]::after { background: var(--gold); box-shadow: 0 0 0 4px #eac99331; }
.media-note { position: absolute; bottom: 25px; left: var(--gutter); margin: 0; color: var(--muted); font-size: .68rem; z-index: 1; }
.panel { padding: clamp(58px, 9vw, 128px) var(--gutter); border-top: 1px solid var(--line); scroll-margin-top: var(--nav-h); }
.visit { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(28px, 7vw, 120px); }
.visit figure { margin: 0; }
.visit img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
.visit figcaption { margin-top: 8px; font-size: .7rem; color: var(--muted); }
.panel h2 { font-size: clamp(2.25rem, 4.2vw, 4.8rem); }
.partnership { background: radial-gradient(ellipse at 82% 100%, #42211b, #190f0d 72%); }
.site-footer { border-top: 1px solid var(--line); padding: 23px var(--gutter); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .76rem; color: var(--muted); }
@media (max-width: 850px) {
  :root { --nav-h: 65px; }
  .scene { display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 20px) var(--gutter) 94px; }
  .scene-copy { max-width: 490px; }
  .scene h1 { font-size: clamp(2.8rem, 10vw, 4.6rem); }
  .scene h2 { font-size: clamp(2.6rem, 8vw, 4.2rem); }
  .stage::after { background: linear-gradient(0deg, #100d0c 0%, #100b0aef 17%, #100b0aab 47%, transparent 79%, #100d0c60); }
  .rail { top: calc(var(--nav-h) + 8px); margin-right: var(--gutter); display: flex; gap: 2px; }
  .media-note { bottom: 19px; }
  .visit { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.explore { background: #150e0d; }
.shop-ticker { position: absolute; z-index: 3; bottom: 0; width: 100%; overflow: hidden; border-block: 1px solid var(--line); background: #21110e; color: var(--gold); white-space: nowrap; }
.shop-ticker-track { display: flex; width: max-content; gap: 3rem; padding: 13px 0; animation: shopFlow 26s linear infinite; }
.shop-ticker-track span { font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.shop-ticker-track span::after { content: "✦"; margin-left: 3rem; color: var(--wine); }
.shop-ticker:hover .shop-ticker-track { animation-play-state: paused; }
@keyframes shopFlow { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .shop-ticker-track { animation: none; } .shop-ticker { overflow-x: auto; } }
.explore-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(14px,2vw,28px); margin-top: 34px; }
.explore-card { grid-column: span 2; position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; border: 1px solid var(--line); background: #201411; }
.explore-card:first-child, .explore-card:nth-child(2) { grid-column: span 3; }
.explore-card img { display: block; width: 100%; aspect-ratio: 16/8; object-fit: cover; transition: transform .55s ease; }
.explore-card:hover img { transform: scale(1.035); }
.explore-copy { position: relative; padding: clamp(18px,3vw,36px); flex: 1; }
.explore-copy h3 { margin: 0; font: 500 clamp(1.45rem,2.5vw,2.5rem)/1.2 var(--serif); color: var(--gold); }
.explore-copy p { margin: 12px 22px 0 0; color: var(--muted); font-size: .88rem; }
.explore-arrow { position: absolute; right: 17px; bottom: 17px; color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .home-motion-ready :is(.explore > .eyebrow, .explore > h2, .explore-card, .visit > *, .partnership > *) {
    opacity: 0; transform: translate3d(0, 26px, 0);
    transition: opacity 720ms cubic-bezier(.2,.7,.2,1), transform 880ms cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .home-motion-ready :is(.explore > .eyebrow, .explore > h2, .explore-card, .visit > *, .partnership > *).is-visible {
    opacity: 1; transform: translate3d(0, 0, 0);
  }
  .home-motion-ready .explore-card:hover { transform: translate3d(0,-3px,0); }
}
@media (max-width: 650px) {
  .explore-grid { grid-template-columns: 1fr; }
  .explore-card:nth-child(n) { grid-column: auto; }
}
.story-stops { position: absolute; inset: 0; pointer-events: none; }
.story-stop { position: absolute; top: calc(var(--stop-index) * var(--scene-step)); left: 0; }
.home-chat { position: fixed; right: clamp(18px,3vw,46px); bottom: 28px; z-index: 7; display: flex; gap: 9px; align-items: center; min-height: 50px; padding: 10px 15px; color: #fff2df; background: #722a2f; border: 1px solid #d5ad72; border-radius: 30px; box-shadow: 0 8px 28px #0007; font: 600 .72rem var(--sans); letter-spacing: .045em; cursor: pointer; }
.home-chat:hover { background: #963841; }
.home-chat svg { width: 20px; height: 20px; }
@media (max-width: 650px) { .home-chat { bottom: 21px; } }
:root { --secondary: #eac993; --on-primary-container: #fff4e2; --on-surface: #f7ebd9; }
