/* Only in the Multiverse: people and places, layered parallax, galleries */
[id] { scroll-margin-top: 124px; }

/* ---------- hero mosaic ---------- */
.w-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; padding: calc(env(safe-area-inset-top, 0px) + 96px) var(--gutter) 110px; }
.w-hero__mosaic { position: absolute; z-index: -2; top: -34%; bottom: -34%; left: -45%; right: -45%; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.3vw, 18px); transform: rotate(-11deg); pointer-events: none; }
.w-col { flex: none; width: clamp(170px, 24vw, 340px); display: flex; flex-direction: column; gap: clamp(10px, 1.3vw, 18px); will-change: transform; }
.w-col:nth-child(even) { margin-top: clamp(-170px, -9vw, -60px); }
.w-col img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--ink-3); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7); }
.w-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(64% 46% at 50% 48%, rgba(11, 7, 21, 0.8), rgba(11, 7, 21, 0.5) 62%, rgba(11, 7, 21, 0.72)), linear-gradient(180deg, rgba(11, 7, 21, 0.6), transparent 28%, transparent 70%, var(--ink)); }
.w-title { margin: 0; display: grid; justify-items: center; gap: 0.12em; }
.w-title__small { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.25rem, 4.4vw, 2.7rem); line-height: 1; color: var(--fg); text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); }
.w-title__big { font-size: min(10.4vw, 8.6rem); filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.55)); }
.w-hero__sub { margin: 22px auto 0; max-width: 32ch; font-size: var(--step-s); line-height: 1.5; color: var(--fg); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8); }
.w-hero__by { display: block; margin-top: 10px; font-family: var(--font-hud); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); }
.w-hero .scroll-cue { position: absolute; left: 0; right: 0; bottom: clamp(18px, 4vh, 40px); margin-inline: auto; width: max-content; }

/* ---------- intro ---------- */
.w-intro__lines { display: grid; gap: 0.06em; }
.w-intro__lines .display { font-size: var(--step-l); }
.w-intro__by { margin: 18px 0 0; color: var(--fg-3); font-size: 0.8rem; }
.w-intro__body { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: 1.1em; }
.w-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.w-facts li { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(247, 242, 255, 0.04); font-family: var(--font-hud); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); }
.w-facts b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: 0; color: var(--wasabi); }

/* ---------- sticky sub nav ---------- */
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 66px); z-index: 50; display: flex; justify-content: center; padding-inline: var(--gutter); pointer-events: none; }
.subnav ul { pointer-events: auto; display: flex; gap: 4px; margin: 0; padding: 5px; list-style: none; max-width: 100%; overflow-x: auto; scrollbar-width: none; border-radius: 999px; border: 1px solid var(--line); background: rgba(11, 7, 21, 0.78); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.8); }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 8px 16px; border-radius: 999px; font-family: var(--font-hud); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--fg-2); white-space: nowrap; transition: background-color 0.25s ease, color 0.25s ease; }
.subnav a:hover { color: var(--fg); }
.subnav a[aria-current] { background: var(--wasabi); color: var(--wasabi-ink); }

.w-group { padding-top: clamp(56px, 8vw, 110px); }
.w-group > .wrap > .sec-head { margin-bottom: clamp(8px, 2vw, 20px); }

/* ---------- people ---------- */
.person { position: relative; isolation: isolate; overflow-x: clip; padding-block: clamp(56px, 9vw, 120px); }
.person::before { content: ""; position: absolute; z-index: -1; left: -20%; right: -20%; top: 4%; height: 80%; background: radial-gradient(42% 50% at 34% 50%, color-mix(in srgb, var(--g1) 17%, transparent), transparent 70%), radial-gradient(36% 44% at 70% 56%, color-mix(in srgb, var(--g2) 12%, transparent), transparent 70%); pointer-events: none; }
.person--flip::before { transform: scaleX(-1); }
.person__grid { display: grid; gap: clamp(22px, 4vw, 64px); align-items: center; }
.person__visual { position: relative; margin-inline: calc(var(--gutter) * -1); }
.person__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.person__media video { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.person__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(11, 7, 21, 0.55)); pointer-events: none; }
.person__card { position: absolute; z-index: 2; right: 14px; bottom: -40px; width: 40%; max-width: 280px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.person__card-in { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--ink-3); transform: rotate(3deg); box-shadow: 0 0 0 2px var(--rc, var(--wasabi)), 0 0 34px -6px var(--rc, var(--wasabi)), 0 22px 40px -14px rgba(0, 0, 0, 0.8); transition: transform 0.45s var(--ease-pop); }
.person--flip .person__card-in { transform: rotate(-3deg); }
.person__card:hover .person__card-in { transform: rotate(0deg) scale(1.05); }
.person__card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.person__card-label { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(11, 7, 21, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--font-hud); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg); }
.person__text { min-width: 0; padding-top: 34px; }
.person__text, .yume__text { min-width: 0; container-type: inline-size; }
.person__name { font-size: clamp(3.3rem, 15vw, 8.6rem); font-size: min(8.6rem, 19.5cqi); line-height: 0.9; }
.person__meta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 14px 0 20px; }
.person .lede { color: var(--fg); }
.person .btn-row { margin-top: 26px; }
.quote { margin: 22px 0 0; padding-left: 16px; border-left: 3px solid var(--g1); font-family: var(--font-hud); font-weight: 600; font-size: 1rem; letter-spacing: 0.04em; line-height: 1.55; color: var(--fg); }
.quote span { display: block; margin-top: 6px; color: var(--fg-3); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
@media (min-width: 900px) {
  .person__grid { grid-template-columns: 1.3fr 1fr; }
  .person--flip .person__grid { grid-template-columns: 1fr 1.3fr; }
  .person--flip .person__visual { order: 2; }
  .person__visual { margin-inline: 0; }
  .person__media { border-radius: 8px; clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%); }
  .person__card { right: -3%; bottom: -12%; width: 38%; }
  .person--flip .person__card { right: auto; left: -3%; }
  .person__text { padding-top: 0; }
}

/* Mochi: layered poster, background / giant name / cut-out */
.mochi-stage { position: relative; isolation: isolate; height: clamp(500px, 94vh, 1000px); height: clamp(500px, 94svh, 1000px); overflow: hidden; }
.mochi-stage__bg { position: absolute; z-index: -3; left: 0; top: -14%; width: 100%; height: 128%; max-width: none; object-fit: cover; object-position: 50% 40%; }
.mochi-stage::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--ink) 0%, rgba(11, 7, 21, 0.35) 22%, rgba(11, 7, 21, 0.25) 58%, rgba(11, 7, 21, 0.85) 88%, var(--ink) 100%), radial-gradient(60% 40% at 50% 70%, rgba(255, 138, 31, 0.28), transparent 70%); }
.mochi-stage__word { position: absolute; z-index: -1; left: 0; right: 0; top: 17%; margin: 0; text-align: center; font-size: min(19.5vw, 17rem); line-height: 0.82; }
.mochi-stage__cut { position: absolute; z-index: 1; left: 0; right: 0; bottom: 7%; width: min(96vw, 860px); max-width: none; margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.65)); }
.mochi-stage__tag { position: absolute; z-index: 2; left: var(--gutter); bottom: 6%; }
.person--mochi { padding-top: 0; }
@media (min-width: 900px) { .mochi-stage__word { top: 7%; } .mochi-stage__cut { width: min(66vw, 800px); bottom: 3%; } }
.person--mochi .person__grid { margin-top: clamp(8px, 2vw, 20px); align-items: start; }
@media (min-width: 900px) { .person--mochi .person__grid { grid-template-columns: 1fr 1fr; } }

/* Yume: the guardian */
.yume { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
.yume__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); margin-inline: calc(var(--gutter) * -1); }
.yume__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yume__media::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(11, 7, 21, 0.16) 0 1px, transparent 1px 3px), linear-gradient(180deg, transparent 60%, rgba(11, 7, 21, 0.55)); pointer-events: none; }
.yume__id { margin: 20px 0 0; padding: 16px 18px; display: grid; gap: 4px; border-radius: 14px; border: 1px solid rgba(46, 230, 255, 0.4); background: rgba(46, 230, 255, 0.06); font-family: var(--font-hud); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.06em; line-height: 1.5; color: #c2fbff; }
.yume__id span::before { content: "\203A\00a0"; color: var(--cyan); }
.yume__id span:last-child::after { content: ""; display: inline-block; width: 0.55em; height: 1.05em; margin-left: 6px; vertical-align: -3px; background: var(--cyan); animation: blink 1.1s steps(2, start) infinite; }
.barks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.barks li { padding: 12px 16px; border-radius: 18px 18px 18px 4px; border: 1px solid rgba(255, 46, 154, 0.4); background: rgba(255, 46, 154, 0.09); font-family: var(--font-hud); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em; line-height: 1.45; }
@media (min-width: 900px) {
  .yume { grid-template-columns: 1.2fr 1fr; }
  .yume__media { margin-inline: 0; border-radius: 8px; clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%); }
  .barks { grid-template-columns: 1fr 1fr; }
}

/* ---------- places ---------- */
.place { display: grid; gap: clamp(20px, 3.6vw, 56px); align-items: center; padding-block: clamp(44px, 7vw, 90px); }
.place__mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-inline: calc(var(--gutter) * -1); }
.place__main { grid-column: 1 / -1; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.place__main video, .place__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--ink-3); }
.place__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.place__thumb:hover img { transform: scale(1.08); }
.place__thumb .more { position: absolute; right: 8px; bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(11, 7, 21, 0.72); font-family: var(--font-hud); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.14em; color: var(--fg); }
.place__text { min-width: 0; }
.place__name { font-size: var(--step-l); margin-bottom: 4px; }
.place__text .lede { margin-top: 18px; }
.place__text .btn-row { margin-top: 24px; }
@media (min-width: 900px) {
  .place { grid-template-columns: 1.25fr 1fr; }
  .place--flip { grid-template-columns: 1fr 1.25fr; }
  .place--flip .place__mosaic { order: 2; }
  .place__mosaic { margin-inline: 0; gap: 12px; }
  .place__main, .place__thumb { border-radius: 10px; }
}

/* ---------- wasabuddies ---------- */
.buddies__grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.buddy { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); box-shadow: 0 0 0 1px var(--line); transition: transform 0.45s var(--ease-pop), box-shadow 0.45s ease; }
.buddy:hover { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--bc), 0 24px 50px -22px var(--bc); }
.buddy__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.buddy__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.buddy__body { display: grid; gap: 8px; justify-items: start; padding: 18px 20px 24px; }
.buddy__name { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.buddy__role { color: var(--wasabi-ink); background: var(--bc); border-color: transparent; }
.buddy__body p { margin: 4px 0 0; color: var(--fg-2); line-height: 1.55; }
@media (min-width: 820px) { .buddies__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- outro ---------- */
.w-outro { position: relative; isolation: isolate; overflow: clip; text-align: center; padding-block: clamp(100px, 15vw, 200px); }
.w-outro__bg { position: absolute; inset: 0; z-index: -1; }
.w-outro__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.w-outro__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(11, 7, 21, 0.5), rgba(11, 7, 21, 0.92)), linear-gradient(180deg, var(--ink), transparent 25%, transparent 75%, var(--ink)); }
.w-outro .display--xl { margin-top: 8px; }
.w-outro .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto 1fr auto; background: rgba(5, 3, 10, 0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade 0.3s ease; }
.lightbox__top { display: flex; align-items: center; gap: 16px; padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 10px; }
.lightbox__title { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.1rem, 3vw, 1.8rem); line-height: 1.1; }
.lightbox__count { margin: 0 0 0 auto; color: var(--fg-2); font-size: 0.8rem; }
.lightbox__close, .lightbox__nav { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: rgba(247, 242, 255, 0.08); cursor: pointer; display: grid; place-items: center; transition: transform 0.3s var(--ease-pop), background-color 0.2s; }
.lightbox__close:hover { transform: rotate(90deg); background: var(--neon); }
.lightbox__nav:hover { background: var(--wasabi); color: var(--wasabi-ink); }
.lightbox__close svg, .lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav--prev svg { transform: scaleX(-1); }
.lightbox__track { display: flex; min-height: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__item { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: center; display: grid; align-content: center; justify-items: center; gap: 14px; padding: 0 var(--gutter); }
.lightbox__item img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 210px); max-height: calc(100svh - 210px); border-radius: 10px; box-shadow: 0 30px 80px -24px rgba(255, 46, 154, 0.45); }
.lightbox__item figcaption { font-family: var(--font-hud); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); text-align: center; }
.lightbox__bar { display: flex; justify-content: center; gap: 14px; padding: 10px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 18px); }

@media (prefers-reduced-motion: reduce) {
  .w-col, .mochi-stage__bg, .mochi-stage__word, .mochi-stage__cut, .person__card, .person__media video { transform: none !important; }
}
