.world-wave {
  --wave-title-size: clamp(64px, 22.2vw, 150px);
  --wave-photo-position: 50% 50%;
  --wave-compact: 0;
  --wave-title-height: 230px;
  --wave-copy-shift: 32px;
  background: #fff;
  color: #080808;
}
.world-wave__title-wrap { position: relative; z-index: 3; padding: 24px var(--page-gutter) 0; background: #fff; }
.world-wave__title { margin: 0; font-size: var(--wave-title-size); font-weight: 800; line-height: .82; letter-spacing: -.055em; transform-origin: left top; }
.world-wave__title span { display: block; }
.world-wave__copy { position: relative; z-index: 2; margin-top: 46px; padding: 10px var(--page-gutter) 14px; background: transparent; font-size: clamp(11px, 3.05vw, 16px); font-weight: 500; line-height: 1.8; }
.world-wave__copy p { margin: 0 0 8px; }
.world-wave__copy p:last-child { margin-bottom: 0; }
.world-wave__photos { padding-top: 80px; }
.world-wave__photo { margin: 0 0 48px; }
.world-wave__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--wave-photo-position); }
.world-wave__photo--music { width: 64%; margin-left: auto; }
.world-wave__photo--music img { aspect-ratio: 8 / 9; }
.world-wave__photo--people { width: 90%; }
.world-wave__photo--culture { width: 64%; margin-inline: auto; }
.world-wave__photo figcaption { margin-top: 8px; font-size: 14px; font-weight: 800; }
.world-wave__themes { display: none; }
/* JS有効・通常モーション時のみstickyにする。JS無効時は写真3枚を通常表示。 */
.world-wave--animated { height: 310vh; height: 310svh; }
.world-wave--animated .world-wave__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.world-wave--animated .world-wave__intro { position: relative; z-index: 2; }
.world-wave--animated .world-wave__title { transform: scale(calc(1 - .2 * var(--wave-compact))); }
.world-wave--animated .world-wave__copy { transform: translateY(calc(-1 * var(--wave-copy-shift) * var(--wave-compact))); }
.world-wave--animated .world-wave__photos { position: absolute; inset: 0; padding: 0; z-index: 1; }
.world-wave--animated .world-wave__photo { position: absolute; top: var(--photo-top, 100svh); margin: 0; transform: translateY(var(--photo-shift, 0px)); }
.world-wave--animated.world-wave--in-view .world-wave__photo { will-change: transform; }
.world-wave--animated .world-wave__photo--music { right: 0; height: 39svh; max-height: 360px; }
.world-wave--animated .world-wave__photo--people { left: 0; height: 56svh; max-height: 560px; }
.world-wave__photo--people img { object-position: 50% 62%; }
.world-wave__photo--culture img { object-position: 50% 55%; }
.world-wave--animated .world-wave__photo--culture { left: 18%; height: 43svh; max-height: 390px; }
.world-wave--animated .world-wave__photo figcaption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.world-wave--animated .world-wave__themes { position: absolute; z-index: 4; top: var(--wave-themes-top, 65%); left: 50%; transform: translate(-50%, -50%); width: max-content; max-width: 100%; display: block; margin: 0; padding: 8px var(--page-gutter); background: rgb(255 255 255 / 94%); text-align: center; font-size: clamp(13px, 3.8vw, 20px); font-weight: 800; line-height: 1.2; color: #a3a3a3; white-space: nowrap; }
.world-wave__themes [aria-current="true"] { color: #080808; }
/* Optional entrance layer. The existing title scale and figure scroll transforms stay untouched. */
.world-wave--effects .world-wave__title span {
  opacity: 0;
  transform: translate3d(0,24px,0);
  filter: blur(4px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.61,.36,1), filter 700ms ease;
}
.world-wave--effects .world-wave__title.is-wave-revealed span { opacity: 1; transform: none; filter: none; }
.world-wave--effects .world-wave__title.is-wave-revealing span { will-change: transform, opacity, filter; }
.world-wave--effects .world-wave__photo { overflow: hidden; isolation: isolate; }
.world-wave--effects .world-wave__photo img {
  transform: scale(1.055);
  filter: brightness(.68);
  transition: transform 800ms cubic-bezier(.22,.61,.36,1), filter 800ms ease;
}
.world-wave--effects .world-wave__photo.is-wave-revealed img { transform: none; filter: none; }
.world-wave--effects .world-wave__photo.is-wave-revealing img { will-change: transform, filter; }
.world-wave--effects .world-wave__photo::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-110%,0,0) skewX(-14deg);
  background: linear-gradient(90deg,transparent 18%,rgb(126 57 191 / 10%) 40%,rgb(205 67 168 / 24%) 50%,rgb(126 57 191 / 10%) 60%,transparent 82%);
  mix-blend-mode: screen;
}
.world-wave--effects .world-wave__photo.is-wave-lighting::after { animation: club-w-wave-photo-light 650ms ease-out 70ms both; }
@keyframes club-w-wave-photo-light {
  0% { opacity: 0; transform: translate3d(-110%,0,0) skewX(-14deg); }
  20% { opacity: .8; }
  70% { opacity: .6; }
  100% { opacity: 0; transform: translate3d(110%,0,0) skewX(-14deg); }
}
@media (max-width: 999px) {
  /* Mobile entrances keep the fade/zoom/light, without animated image filters. */
  .world-wave--effects .world-wave__title span { filter: none; transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.61,.36,1); }
  .world-wave--effects .world-wave__title.is-wave-revealing span { will-change: transform, opacity; }
  .world-wave--effects .world-wave__photo { background: #000; }
  .world-wave--effects .world-wave__photo img { opacity: .68; filter: none; transition: transform 800ms cubic-bezier(.22,.61,.36,1), opacity 800ms ease; }
  .world-wave--effects .world-wave__photo.is-wave-revealed img { opacity: 1; }
  .world-wave--effects .world-wave__photo.is-wave-revealing img { will-change: transform, opacity; }
  .world-wave--effects .world-wave__photo::after { mix-blend-mode: normal; }
}
@media (min-width: 1000px) {
  .world-wave { --wave-title-size: clamp(130px, 12vw, 190px); }
  .world-wave__intro { width: 51%; }
  .world-wave__copy { font-size: clamp(13px, 1.1vw, 16px); margin-top: 48px; }
  .world-wave__photo--music { width: 42%; }
  .world-wave__photo--people { width: 50%; margin-left: auto; }
  .world-wave__photo--culture { width: 35%; }
  .world-wave--animated .world-wave__photo--music { right: 0; height: 53svh; max-height: 520px; }
  .world-wave--animated .world-wave__photo--people { left: auto; right: 0; height: 72svh; max-height: 720px; }
  .world-wave--animated .world-wave__photo--culture { left: auto; right: 10%; height: 62svh; max-height: 610px; }
}
@media (prefers-reduced-motion: reduce) {
  .world-wave { height: auto; }
  .world-wave .world-wave__sticky { position: static; height: auto; overflow: visible; }
  .world-wave .world-wave__title, .world-wave .world-wave__copy { transform: none; }
  .world-wave .world-wave__title span, .world-wave .world-wave__photo img { opacity: 1; transform: none; filter: none; transition: none; will-change: auto; }
  .world-wave .world-wave__photo::after { display: none; animation: none; }
}

/* Scroll-driven layers: tied to the scroll position by the browser, so they cannot lag behind on phones. */
@supports (animation-timeline: view()) {
  .world-wave--sda.world-wave--animated { view-timeline: --club-w-wave block; }
  .world-wave--sda.world-wave--animated .world-wave__title { animation: club-w-wave-title ease-in-out both; animation-timeline: --club-w-wave; animation-range: contain 0% contain 24%; }
  .world-wave--sda.world-wave--animated .world-wave__copy { animation: club-w-wave-copy ease-in-out both; animation-timeline: --club-w-wave; animation-range: contain 0% contain 24%; }
  .world-wave--sda.world-wave--animated .world-wave__photo { animation: club-w-wave-photo linear both; animation-timeline: --club-w-wave; animation-range: contain 8% contain 100%; }
}
@keyframes club-w-wave-title { from { transform: scale(1); } to { transform: scale(.8); } }
@keyframes club-w-wave-copy { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,calc(-1 * var(--wave-copy-shift)),0); } }
@keyframes club-w-wave-photo { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,calc(-1 * var(--wave-photo-travel, 0px)),0); } }
