@font-face {
  font-family: Riviera;
  src: url("/brand/riviera.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --royal: #163362;
  --night: #10172b;
  --deep: #0a1021;
  --gold: #edc87a;
  --ivory: #f5f1e9;
  --muted: #c9c4b8;
  --paper: #f5efe5;
  --paper-shade: #ece3d5;
  --paper-ink: #262529;
  --paper-muted: #59524a;
  --paper-gold: #77542f;
  --gutter: clamp(20px, 6vw, 88px);
  font-family: Riviera, Arial, sans-serif;
  color: var(--ivory);
  background: var(--night);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
button, a { color: inherit; }
a { text-underline-offset: .26em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
p { line-height: 1.65; }
.wrap { width: min(1240px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip { position: absolute; z-index: 4; left: var(--gutter); top: 10px; padding: 10px 15px; background: var(--royal); transform: translateY(-160%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.label { color: var(--gold); font-size: .9rem; letter-spacing: .15em; text-transform: uppercase; }
.logo { width: clamp(92px, 12vw, 142px); height: auto; }
.arrival { position: relative; isolation: isolate; background: var(--deep); }
.opening {
  position: sticky;
  top: 0;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  background: #101b2c;
}
.opening-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.enter { position: absolute; inset: 0; color: var(--ivory); }
.enter:focus-visible { outline-offset: -6px; }
.enter span {
  position: absolute;
  bottom: 32px;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  filter: drop-shadow(0 1px 3px #000);
}
.enter:hover span { color: var(--gold); }
.sound {
  position: absolute;
  bottom: 17px;
  right: clamp(16px, 3vw, 45px);
  width: 44px;
  height: 44px;
  padding: 0;
  font: inherit;
  background: #0a102199;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.sound[hidden] { display: none; }
.sound-icon { position: absolute; inset: 11px; }
.sound-icon::before, .sound-icon::after { position: absolute; content: ""; }
.sound-icon::before { inset: 3px 8px 3px 0; background: currentColor; clip-path: polygon(0 30%,36% 30%,92% 0,92% 100%,36% 70%,0 70%); }
.sound-icon::after { width: 8px; height: 1px; right: 0; top: 10px; background: currentColor; transform: rotate(-48deg); }
.sound[aria-pressed="true"] .sound-icon::after { top: 4px; height: 12px; width: 5px; background: none; border-right: 1px solid currentColor; border-radius: 50%; transform: none; }
.footer a:hover { text-decoration: underline; }
.earth-threshold {
  position: relative;
  z-index: 1;
  height: clamp(280px, 66svh, 650px);
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 100%);
}
.earth-threshold img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.earth-threshold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 27%, #0a10214f 68%, var(--deep) 100%); }
.cover {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  width: 100%;
  margin-inline: auto;
  background: var(--deep);
}
.cover-copy { align-self: center; padding: clamp(34px, 7vw, 112px) var(--gutter); }
.cover-brand { display: inline-block; margin-bottom: clamp(30px, 6vw, 86px); }
.cover h1 { margin-block: 18px 22px; font-size: clamp(2.4rem, 4.65vw, 6rem); line-height: .94; letter-spacing: -.06em; }
.cover h1 em { display: block; color: var(--gold); font-style: normal; }
.facts, .film-label { color: var(--muted); font-size: .9rem; }
.cover-image, .motif-canvas { position: relative; isolation: isolate; overflow: hidden; }
.cover-image > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; min-height: clamp(420px, 63vw, 760px); }
.intro { max-width: 690px; }
.intro h2, .studio h2 { color: var(--ivory); margin-block: 8px 18px; font-size: clamp(2.5rem, 6.6vw, 6.3rem); line-height: .94; letter-spacing: -.065em; }
.intro p:not(.label), .studio-copy p:not(.label) { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.22rem); }

.world { position: relative; isolation: isolate; background: #101015; }
.world-stage { display: none; }
.world-step { margin: 0; padding-bottom: 48px; }
.world-fallback { width: 100%; max-height: 82svh; object-fit: cover; }
.world-copy { position: relative; max-width: 40rem; margin-inline: var(--gutter); padding-top: 30px; }
.world-copy h2 { font-size: clamp(2.3rem, 5vw, 5.2rem); line-height: .99; letter-spacing: -.06em; margin-bottom: 22px; }
.world-copy p { font-size: clamp(1.13rem, 1.86vw, 1.65rem); line-height: 1.38; color: var(--ivory); }
.world-copy p + p { margin-top: .8em; }
.world-copy strong { color: #f0c983; font-weight: 400; }

.world.is-ready .world-stage {
  display: block;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  pointer-events: none;
  background: #121016;
}
.world.is-ready .world-steps { position: relative; margin-top: -100vh; margin-top: -100svh; }
.world.is-ready .world-step {
  min-height: 92vh;
  min-height: 92svh;
  display: grid;
  align-content: center;
  padding: 8vh 0;
}
.world.is-ready .world-fallback { display: none; }
.world.is-ready .world-copy {
  max-width: min(41vw, 35rem);
  padding-top: 0;
}
.world.is-ready .step-title .world-copy { align-self: end; margin-top: 23svh; }
.world.is-ready .from-other-side .world-copy { justify-self: end; }

.world-layer, .world-back, .full-motion { position: absolute; inset: 0; width: 100%; height: 100%; }
.world-layer { opacity: var(--layer-opacity, 0); overflow: hidden; background: #121016; }
.world-back, .full-motion { object-fit: cover; }
.world-hand .world-back, .world-hand .full-motion { object-position: 55% 52%; }
.world-hand .full-motion { opacity: 0; }
.world-hand .full-motion.is-playing { opacity: 1; }
.world-hand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #101015ec 0%, #1010154e 53%, transparent 79%);
}
.world-layer:not(.world-hand) > .world-back {
  inset: 0 0 0 auto;
  width: 61%;
  object-fit: contain;
  transform: scale(var(--zoom, 1));
  mask-image: linear-gradient(90deg, transparent, #000 13%);
}
.world-earth > .world-back { object-position: left center; }
.world-layer.world-earth > .world-back {
  transform-origin: left center;
  inset: 0 auto 0 0;
  mask-image: linear-gradient(270deg, transparent, #000 13%);
}

.world-humanity .adornment-motion {
  position: absolute;
  inset: 0 0 0 auto;
  width: 61%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  mask-image: linear-gradient(90deg, transparent, #000 19%);
}
.world-humanity .adornment-motion.is-playing { opacity: var(--detail-opacity, 0); }

.symbols { padding-top: clamp(68px, 11vw, 152px); padding-bottom: clamp(48px, 8vw, 112px); background: var(--paper); color: var(--paper-ink); }
.symbols h2 { font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: .96; letter-spacing: -.06em; margin-bottom: clamp(32px, 6vw, 86px); }
.symbol-pair { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: clamp(28px, 8vw, 120px); align-items: start; }
.symbol-chameleon { margin-top: clamp(36px, 9vw, 130px); }
.symbol-surface { position: relative; overflow: hidden; background: var(--paper-shade); }
.symbol-surface > img, .symbol-surface video { width: 100%; height: 100%; object-fit: cover; }
.symbol-surface video { position: absolute; inset: 0; opacity: 0; }
.symbol-surface video.is-playing { opacity: var(--work-opacity, 1); }
.symbol-chameleon video.is-playing { transition: opacity .55s; }
.symbol-chameleon > .symbol-surface { aspect-ratio: 1; }
.symbol-chameleon > .symbol-surface > img { object-position: 55% 48%; }
.symbols figcaption { margin-top: 19px; font-size: clamp(1.05rem, 1.7vw, 1.33rem); line-height: 1.5; color: var(--paper-muted); }
.wing-plate { position: relative; }
.wing-plate > img:first-child { width: 100%; }
.wing-landing {
  position: absolute;
  left: 50.1511%;
  top: 65.5914%;
  width: 22.8097%;
  height: auto;
  transform-origin: 50% 54%;
  transform: translate3d(var(--wing-x, 0px), var(--wing-y, 0px), 0) rotate(var(--wing-turn, 0deg)) scaleX(var(--wing-beat, 1));
  opacity: var(--wing-opacity, 0);
  clip-path: polygon(3% 21%,5% 11%,11% 4%,22% 5%,39% 12%,53% 24%,64% 38%,72% 45%,79% 58%,88% 73%,94% 85%,98% 97%,88% 99%,75% 94%,63% 90%,53% 87%,41% 90%,31% 84%,25% 78%,18% 72%,14% 64%,8% 62%,3% 52%,4% 41%);
}
.studio { padding-block: clamp(62px, 9vw, 130px); background: linear-gradient(160deg, var(--royal), #111d36 72%); }
.studio-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(16px, 5vw, 72px); align-items: end; }
.studio-copy h2 { margin-bottom: 0; }
.studio-copy p:not(.label) { color: #e4e6ed; }
.studio-film { width: min(1080px, 100%); margin: clamp(34px, 6vw, 82px) auto 0; }
.studio-screen, .studio-feature {
  position: relative;
  padding: 0;
  width: 100%;
  display: block;
  border: 0;
  background: #080b14;
  cursor: pointer;
  font: inherit;
}
.studio-screen video { width: 100%; aspect-ratio: 1; object-fit: contain; }
.studio-feature video { width: 100%; aspect-ratio: 16/9; }
.studio-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: .4rem .65rem;
  color: var(--gold);
  background: #0a1021d9;
  opacity: 0;
  transition: opacity .25s;
}
.studio-screen:hover .studio-hint, .studio-screen:focus-visible .studio-hint { opacity: 1; }
.studio-dialog { overflow: visible; width: min(94vw, 1350px); max-width: none; padding: 0; border: 0; background: #080b14; color: var(--ivory); }
.studio-dialog::backdrop { background: #04070eee; }
.studio-feature video { max-height: 86svh; object-fit: contain; }
.studio-dialog.square-film { width: min(92vw, 86svh); }
.square-film .studio-feature video { aspect-ratio: 1; }
.studio-close { position: absolute; top: 6px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #0a1021cd; font: 1.7rem/1 Riviera, Arial, sans-serif; cursor: pointer; }
.film-label { padding: .65rem .9rem; }
.studio-film > .film-label { width: 100%; padding-inline: 0; }
.reveal { padding-bottom: clamp(52px, 8vw, 112px); background: #10172b; }
.reveal .intro { margin-top: clamp(38px, 7vw, 92px); font-size: clamp(1.03rem, 1.65vw, 1.29rem); }
.paradox-intro { padding-bottom: clamp(30px, 6vw, 86px); background: var(--paper); color: var(--paper-ink); }
.paradox-intro .wrap { display: flex; flex-wrap: wrap; align-items: end; gap: clamp(16px, 5vw, 68px); }
.paradox-intro p { font-size: clamp(1.03rem, 1.7vw, 1.4rem); line-height: 1.46; color: var(--paper-muted); }
.paradox-intro h2 { font-size: clamp(2.4rem, 6vw, 5.2rem); letter-spacing: -.06em; line-height: .96; }
.original-ending p + p { margin-top: 1.3rem; }
.original-ending strong { color: var(--gold); }
.reel-stage { display: grid; place-items: center; background: #090c15; }
.original-reel { width: min(100%, 52vh); width: min(100%, 52svh); aspect-ratio: 30/53; object-fit: contain; background: #090c15; }
.final-painting { display: grid; place-items: center; min-height: 100vh; min-height: 100svh; background: #080a11; }
.final-painting img { width: 100%; height: 100vh; height: 100svh; object-fit: contain; }
.contact-panel { background: var(--royal); }
.footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; padding-block: clamp(40px, 8vw, 110px); gap: clamp(20px, 5vw, 70px); }
.footer-contact { display: grid; gap: 12px; }
.collector-mail { color: var(--gold); font-size: clamp(1.05rem, 2.55vw, 2rem); overflow-wrap: anywhere; }
.contact-items { display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 8px; }
.footer-site { color: var(--gold); }
@media (max-width: 720px) {
  .opening { min-height: min(74vh, 145vw); min-height: min(74svh, 145vw); }
  .cover, .motif-pair, .story-layout, .studio-copy, .symbol-pair, .footer { grid-template-columns: minmax(0, 1fr); }
  .cover-image > img { min-height: 0; height: auto; max-height: 85svh; object-fit: contain; }
  .story-detail { order: 2; }
  .symbol-chameleon { margin-top: 16px; }
  .world.is-ready .world-step { min-height: 94svh; align-content: end; padding-bottom: 12svh; }
  .world.is-ready .world-copy, .world.is-ready .from-other-side .world-copy { max-width: 38rem; justify-self: start; }
  .world.is-ready .step-title .world-copy { margin-top: 0; }
  .world-hand .world-back, .world-hand .full-motion { object-position: 45% 45%; }
  .world-layer:not(.world-hand) > .world-back, .world-humanity .adornment-motion {
    inset: 0 0 auto;
    width: 100%;
    height: 74%;
    object-position: center center;
    mask-image: linear-gradient(180deg, #000 75%, transparent);
  }
}
@media (hover: none) {
  .studio-hint { opacity: 1; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .opening { position: relative; }
  .earth-threshold { display: none; }
}
