/* home: premiere screen, style posters, promise */
  :root { --lavender: #b79bd8; }
  .wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

  /* ---------- top bar ---------- */
  .bar { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px) saturate(1.2); background: rgba(17, 13, 25, .72); border-bottom: 1px solid var(--rule); }
  .bar .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
  .mark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
  .bar nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--ink-2); }
  .bar nav a { text-decoration: none; }
  .bar nav a:hover { color: var(--ink); }
  .lang { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--rule); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; color: var(--ink-2); background: none; font-family: var(--ui); cursor: pointer; }
  .btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; font: 600 15.5px/1 var(--ui); cursor: pointer; text-decoration: none; transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
  .btn svg { width: 16px; height: 16px; flex: none; }
  .btn-brass { background: var(--brass); color: #1a1208; padding: 15px 26px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .8); }
  .btn-brass:hover { background: var(--brass-hi); transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .85); }
  .btn-ghost { color: var(--ink); padding: 15px 22px; background: rgba(244, 238, 230, .06); box-shadow: inset 0 0 0 1px var(--rule); }
  .btn-ghost:hover { background: rgba(244, 238, 230, .11); }
  .bar .btn-brass { padding: 11px 18px; font-size: 14px; box-shadow: none; }

  /* ---------- premiere: the screen is the hero ---------- */
  .premiere { position: relative; padding: 36px 0 40px; isolation: isolate; }
  /* projected light spilling from the screen into the house; its colour follows the film */
  .premiere::before { content: ""; position: absolute; inset: 0 0 -20% 0; z-index: -1; pointer-events: none;
    background: radial-gradient(60% 55% at 50% 58%, rgba(var(--glow), .30), rgba(var(--glow), 0) 70%); transition: background 1.2s linear; }
  .lights { position: fixed; inset: 0; z-index: 30; pointer-events: none; background: #f7e4c4; mix-blend-mode: multiply; opacity: 0; }
  .intro { text-align: center; max-width: 960px; margin: 0 auto 30px; }
  h1 { font: 600 clamp(36px, 4.8vw, 66px)/1.14 var(--display-zh); letter-spacing: .02em; margin: 0; text-wrap: balance; }
  h1 em { font-style: normal; color: var(--brass-hi); }
  .lede { margin: 16px auto 0; max-width: 50em; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--ink-2); text-wrap: balance; }
  .ctas { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
  .assure { margin: 12px 0 0; color: var(--ink-3); font-size: 13.5px; letter-spacing: .02em; }

  .screen-wrap { position: relative; width: min(1120px, 100%); margin-inline: auto; }
  .screen { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #000;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 40px 120px -30px rgba(var(--glow), .55), 0 30px 60px -40px #000; }
  .screen video { width: 100%; height: 100%; object-fit: cover; }
  .screen .shade { position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(transparent, rgba(8, 6, 12, .72)); }
  .screen .caption { position: absolute; left: 24px; right: 24px; bottom: 18px; display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: rgba(244, 238, 230, .9); }
  .screen .caption .play { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(244, 238, 230, .14); backdrop-filter: blur(8px); border: 0; color: var(--ink); cursor: pointer; }
  .screen .caption .play svg { width: 16px; height: 16px; }
  .screen .caption .meta { display: flex; flex-direction: column; line-height: 1.35; }
  .screen .caption .meta b { font-weight: 600; font-size: 14.5px; }
  .tag-sample { margin-left: auto; font-size: 12px; letter-spacing: .04em; color: var(--ink-2); border: 1px solid rgba(244, 238, 230, .22); border-radius: 999px; padding: 4px 10px; }
  /* the stage floor catches a dim reflection of the screen */
  .floor { height: 90px; margin-top: 2px; opacity: .22; -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); transform: scaleY(-1); filter: blur(10px); overflow: hidden; border-radius: 4px; }
  .floor img { width: 100%; height: auto; transform: translateY(-62%); }
  .facts { display: flex; justify-content: center; align-items: center; gap: 0; margin-top: -57px; /* centred on the 90 px reflection band */ flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }
  .facts span { padding: 0 18px; border-left: 1px solid var(--rule); }
  .facts span:first-child { border-left: 0; }
  .facts b { color: var(--ink); font-weight: 600; }

  /* ---------- worlds: posters in the lobby ---------- */
  section { padding: 110px 0; }
  h2 { font: 600 clamp(30px, 3.6vw, 46px)/1.2 var(--display-zh); letter-spacing: .02em; margin: 0; text-wrap: balance; }
  .head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
  .head p { margin: 0; max-width: 30em; color: var(--ink-2); }
  .worlds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
  .poster { position: relative; display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; background: var(--house-2); min-height: 560px; text-decoration: none; isolation: isolate;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset; }
  .poster:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
  .poster .art { position: relative; flex: 1; overflow: hidden; }
  .poster .art > video, .poster .art > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .poster .info { padding: 22px 24px 24px; display: grid; gap: 12px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.25)); }
  .poster h3 { margin: 0; display: flex; align-items: baseline; gap: 12px; font: 600 26px/1.15 var(--display-zh); letter-spacing: .04em; }
  .poster h3 small { font: italic 17px/1 var(--display-en); color: var(--ink-3); letter-spacing: 0; }
  .poster .mood { margin: 0; color: var(--ink-2); font-size: 14.5px; }
  .kit { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--ink-2); }
  .kit li { border: 1px solid var(--rule); border-radius: 999px; padding: 4px 11px; }
  .status { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 12.5px; font-weight: 600; letter-spacing: .03em; padding: 6px 12px; border-radius: 999px; }
  .status.open { background: var(--brass); color: #1a1208; }
  .status.soon { background: rgba(17, 13, 25, .62); color: var(--ink); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(244, 238, 230, .2); }

  /* a real print hanging on the world's cord: the couple's photo, untouched */
  .cord { position: absolute; left: 50%; top: 50%; width: 52.8%; transform: translate(-50%, -50%) rotate(-2.2deg); z-index: 1; animation: sway 7s ease-in-out infinite alternate; transform-origin: 50% -40px; }
  .print { background: linear-gradient(165deg, #fbf3e2, #ecdcbc); padding: 4.5% 4.5% 15%; box-shadow: 0 24px 40px -18px rgba(30, 10, 30, .75); }
  .print img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
  .tree .art { background: #2a1424 url(/media/tree.jpg) center / cover; }
  .film-title { position: absolute; left: 0; right: 0; bottom: 9%; z-index: 1; text-align: center; font: 600 17px/1.2 var(--film); letter-spacing: .22em; color: #f4efe7; text-shadow: 0 2px 18px rgba(30, 10, 30, .6); }
  .film-title i { display: block; font-style: normal; font-weight: 400; font-size: 12px; opacity: .85; margin-bottom: 6px; }
  @keyframes sway { from { transform: translate(-50%, -50%) rotate(-2.2deg); } to { transform: translate(-50%, -50%) rotate(1.4deg); } }

  .kyoto .art { background: #2a1424 url(/media/kyoto.jpg) center / cover; }
  /* concept worlds (not yet produced): typographic posters, clearly labelled */
  .paris .art { background: radial-gradient(110% 70% at 30% 20%, #f2c7a1 0, #c9867c 26%, #4b4a78 60%, #191a33 100%); }
  .concept svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .concept .note { position: absolute; right: 16px; bottom: 14px; font-size: 11.5px; color: rgba(255, 255, 255, .78); letter-spacing: .04em; }

  /* ---------- promise ---------- */
  .promise { text-align: center; }
  .promise h2 { margin-inline: auto; }
  .promise p { max-width: 36em; margin: 20px auto 0; color: var(--ink-2); }
  .pledges { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; margin-top: 40px; font-size: 14.5px; color: var(--ink-2); }
  .pledges span { padding: 0 22px; border-left: 1px solid var(--rule); display: inline-flex; gap: 10px; align-items: center; }
  .pledges span:first-child { border-left: 0; }
  .pledges svg { width: 18px; height: 18px; color: var(--lavender); }
  .closing { margin-top: 56px; }

  /* ---------- pricing: the price appears only after the film, styles and promise ---------- */
  .pricing { padding-top: 0; scroll-margin-top: 80px; }
  .price-card { max-width: 520px; margin: 0 auto; padding: 48px 40px 44px; text-align: center; border-radius: 20px;
    background: linear-gradient(180deg, rgba(244, 238, 230, .055), rgba(244, 238, 230, .02)); box-shadow: inset 0 0 0 1px var(--rule), 0 30px 60px -40px #000; }
  .price-card h2 { margin: 0; font: 500 19px/1.4 var(--display-zh); letter-spacing: .06em; color: var(--ink-2); }
  .price { margin: 14px 0 0; font: 400 clamp(48px, 6vw, 64px)/1 var(--display-en); color: var(--brass-hi); letter-spacing: .01em; }
  .risk { margin: 16px 0 0; font-size: 16px; color: var(--ink); }
  .incl { list-style: none; padding: 28px 0 0; margin: 28px auto 0; width: fit-content; display: grid; gap: 12px; text-align: left; font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--rule); }
  .incl li { display: flex; gap: 10px; align-items: center; }
  .incl svg { width: 18px; height: 18px; flex: none; color: var(--lavender); }
  .price-card .btn { margin-top: 34px; }


  /* ---------- 4. capsule nav: once the page leaves the top, the bar condenses into a floating capsule ---------- */
  .bar { transition: transform .5s var(--ease); }
  .bar.away { transform: translateY(-100%); }
  .capsule { position: fixed; top: 14px; left: 50%; z-index: 21; display: flex; align-items: center; gap: 18px; padding: 7px 7px 7px 20px; border-radius: 999px;
    background: rgba(27, 21, 38, .78); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 18px 40px -20px #000, inset 0 0 0 1px var(--rule);
    transform: translate(-50%, -140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s var(--ease); }
  .capsule.on { transform: translate(-50%, 0); opacity: 1; }
  .capsule img { height: 24px; width: auto; }
  .capsule nav { display: flex; gap: 18px; font-size: 13.5px; color: var(--ink-2); }
  .capsule nav a { text-decoration: none; } .capsule nav a:hover { color: var(--ink); }
  .capsule .btn-brass { padding: 10px 16px; font-size: 14px; box-shadow: none; }

  /* ---------- 1. style swatches: try each world on the main screen ---------- */
  .swatches { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 30px; }
  .swatches .label { font-size: 13.5px; color: var(--ink-3); min-width: 9em; text-align: right; }
  .swatches .label b { color: var(--ink); font-weight: 500; }
  .sw { width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; position: relative; background: var(--c); transition: transform .3s var(--ease); }
  .sw::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .3s var(--ease); }
  .sw:hover { transform: scale(1.08); }
  .sw[aria-checked="true"]::after { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .sw.tree { --c: linear-gradient(135deg, #f0b27a, #b07ec9 60%, #5d3f7d); }
  .sw.kyoto { --c: linear-gradient(135deg, #f6c9cf, #e49aac 50%, #7b3a58); }
  .sw.paris { --c: linear-gradient(135deg, #f2c7a1, #c9867c 45%, #4b4a78); }
  .swatches .soon { font-size: 12.5px; color: var(--ink-3); min-width: 9em; }
  .screen .world { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); pointer-events: none; }
  .screen .world.on { opacity: 1; pointer-events: auto; }
  .screen .world svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .screen .world .soon-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; display: grid; gap: 10px; justify-items: center; }
  .screen .world .soon-card b { font: 500 clamp(28px, 3.4vw, 46px)/1.1 var(--display-zh); letter-spacing: .08em; color: #fff7f2; text-shadow: 0 2px 30px rgba(20, 8, 20, .5); }
  .screen .world .soon-card span { font-size: 13px; letter-spacing: .06em; color: rgba(255, 247, 242, .85); }
  .w-kyoto { background: radial-gradient(120% 80% at 70% 15%, #f6c9cf 0, #e49aac 28%, #7b3a58 62%, #2b1726 100%); }
  .w-paris { background: radial-gradient(110% 80% at 30% 20%, #f2c7a1 0, #c9867c 26%, #4b4a78 60%, #191a33 100%); }

  /* ---------- 3. the promise lights up word by word ---------- */
  .lit .c { color: var(--ink-3); transition: color .3s; }
  .lit .c.on { color: var(--ink); }

  /* ---------- back to top ---------- */
  .to-top { position: fixed; right: 28px; bottom: 28px; z-index: 22; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 11px 13px; border: 0; border-radius: 999px; cursor: pointer;
    background: rgba(27, 21, 38, .82); backdrop-filter: blur(14px); color: var(--ink-2); font-size: 13.5px; box-shadow: 0 16px 36px -18px #000, inset 0 0 0 1px var(--rule);
    opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s; }
  .to-top.on { opacity: 1; transform: none; pointer-events: auto; }
  .to-top:hover { color: var(--ink); }
  .to-top svg { width: 14px; height: 14px; }

  /* ---------- 8. every looping video: a small pause control ---------- */
  .vctl { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(17, 13, 25, .55); backdrop-filter: blur(8px); color: var(--ink); cursor: pointer; }
  .vctl svg { width: 12px; height: 12px; }

  footer { border-top: 1px solid var(--rule); padding: 30px 0 110px; color: var(--ink-3); font-size: 13.5px; }
  footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  .mobile-cta { display: none; }

  /* ---------- phone ---------- */
  /* ---------- the full demo film plays in a dark theatre over the page (D046) ---------- */
  .theatre { width: min(1280px, 100vw - 48px); max-width: none; padding: 0; border: 0; background: #000; border-radius: 6px; overflow: visible; color: var(--ink); }
  .theatre::backdrop { background: rgba(6, 4, 10, .92); }
  .theatre video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; }
  .theatre p { padding: 48px 24px; text-align: center; }
  .theatre .x { position: absolute; top: -48px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(244, 238, 230, .1); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
  .theatre .x:hover { background: rgba(244, 238, 230, .18); }
  .theatre .x svg { width: 14px; height: 14px; }
  @media (max-width: 760px) { .theatre { width: 100vw; border-radius: 0; } .theatre video { border-radius: 0; } .theatre .x { right: 12px; } }
  /* ---------- full-bleed premiere (D045): the film fills the first screen, the headline sits on it ---------- */
  @media (min-width: 761px) {
    .premiere { padding: 0 0 40px; }
    .premiere > .wrap { width: 100%; display: grid; }
    .premiere .intro, .premiere .screen-wrap { grid-area: 1 / 1; }
    .premiere .screen-wrap { width: 100%; }
    .premiere .screen { aspect-ratio: auto; height: min(calc(100svh - 68px), 56.25vw); min-height: 520px; border-radius: 0; box-shadow: none; }
    .premiere .screen .shade { height: 46%; background: linear-gradient(rgba(8, 6, 12, 0), rgba(8, 6, 12, .55) 50%, rgba(8, 6, 12, .9)); }
    .premiere .intro { position: relative; z-index: 2; align-self: end; margin: 0 auto; max-width: 1100px; padding: 0 24px clamp(28px, 4.5vh, 48px); pointer-events: none; }
    .premiere .intro h1 { font-size: clamp(30px, 3vw, 44px); }
    .premiere .intro .category { margin-bottom: 8px; }
    .premiere .intro .lede { margin-top: 10px; font-size: 15.5px; }
    .premiere .intro .ctas { margin-top: 18px; }
    .premiere .intro h1, .premiere .intro .lede { text-shadow: 0 2px 28px rgba(8, 6, 12, .55); }
    .premiere .intro .lede { color: rgba(244, 238, 230, .86); }
    .premiere .intro .ctas { pointer-events: auto; }
    .premiere .screen .world .soon-card { top: 30%; }
    .premiere .floor { display: none; }
    .premiere .facts { margin-top: 28px; }
  }
  @media (max-width: 760px) {
    .wrap { width: calc(100% - 32px); }
    .bar nav { display: none; }
    .bar .wrap { height: 58px; gap: 12px; }
    .bar .btn-brass { display: none; }
    .lang { margin-left: auto; }
    .premiere { padding-top: 40px; }
    .intro { margin-bottom: 28px; }
    .ctas .btn-brass { display: none; }
    .screen-wrap { width: calc(100% + 32px); margin-inline: -16px; }
    .screen { border-radius: 0; }
    .screen .caption { left: 14px; right: 14px; bottom: 12px; }
    .tag-sample { display: none; }
    .floor { display: none; }
    .facts { margin-top: 18px; gap: 6px 0; font-size: 13px; }
    .facts span { padding: 0 12px; }
    section { padding: 72px 0; }
    .head { flex-direction: column; align-items: start; gap: 14px; margin-bottom: 28px; }
    .worlds { grid-template-columns: 1fr; }
    .poster { min-height: 470px; }
    /* phones: the three points read as a left-aligned list, centred as a block, so lines never break around a lone word */
    .pledges { flex-direction: column; gap: 14px; align-items: stretch; width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
    .pledges span { border-left: 0; padding: 0; align-items: flex-start; }
    .pledges svg { flex: none; margin-top: 3px; }
    /* the capsule keeps its menu on one line; the fixed bottom button already starts a film */
    .capsule { gap: 14px; padding: 7px 18px; }
    .capsule nav { gap: 14px; }
    .capsule nav a { white-space: nowrap; }
    .capsule .btn-brass { display: none; }
    .price-card { padding: 40px 24px 36px; }
    .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 25; justify-content: center; padding: 17px; font-size: 16px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before { animation: none !important; transition: none !important; }
  }
