:root {
  --bg: #0b0d12;
  --bg-soft: #11151d;
  --text: #f6f3ea;
  --muted: rgba(246, 243, 234, .68);
  --line: rgba(255, 255, 255, .22);
  --accent: #e7d7a8;
  --light-bg: #efece4;
  --light-text: #111319;
  --max: 1320px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --font-latin: Arial, Helvetica, sans-serif;
  --z-content: 2;
  --z-floating: 40;
  --z-header: 50;
  --z-popover: 60;
  --z-modal: 80;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-snap-type: y proximity; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--font-jp); overflow-x: hidden; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.slides { width: 100%; }
.slide {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background: var(--bg);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  min-height: 72px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: linear-gradient(180deg, rgba(5, 7, 12, .48), rgba(5, 7, 12, 0));
  backdrop-filter: blur(2px);
}
.brand, .global-nav, .mobile-menu, .eyebrow, .event-month, .event-en, .card-no, .slide-number,
.volunteer-kicker, .sponsor-label, .sponsor-rank, .scroll-hint { font-family: var(--font-latin); }
.brand { justify-self: start; font-size: 12px; letter-spacing: .22em; font-weight: 700; }
.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav a { position: relative; padding: 8px 0; font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.78); transition: color .25s ease; }
.global-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: #fff; transition: right .25s ease; }
.global-nav a:hover, .global-nav a:focus-visible { color: #fff; }
.global-nav a:hover::after, .global-nav a:focus-visible::after { right: 0; }
.global-nav .nav-home { width: 26px; height: 30px; padding: 0; margin-right: 8px; display: inline-flex; align-items: center; justify-content: center; opacity: .88; transition: opacity .25s ease, transform .35s cubic-bezier(.16,1,.3,1); }
.global-nav .nav-home::after { display: none; }
.global-nav .nav-home svg { width: 19px; height: 19px; fill: currentColor; }
.global-nav .nav-home:hover, .global-nav .nav-home:focus-visible { opacity: 1; transform: translateY(-2px) scale(1.06); }

.menu-button { display: none; justify-self: end; width: 42px; height: 42px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.menu-button span { display: block; width: 24px; height: 1px; margin: 6px auto; background: #fff; transition: transform .25s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-header) - 1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7,9,14,.97);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.mobile-menu.open { visibility: visible; opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.mobile-menu a { font-size: 30px; font-weight: 500; }
.mobile-home { opacity: .62; font-size: .82em; letter-spacing: .08em; }

.media { position: absolute; inset: 0; }
.media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,5,11,.15) 10%, rgba(3,5,11,.78) 100%); }
.overlay.strong { background: rgba(4,6,12,.5); }
.content { position: relative; z-index: var(--z-content); width: min(calc(100% - 64px), var(--max)); margin: 0 auto; }
.wide { width: min(calc(100% - 80px), var(--max)); }
.content-bottom { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 7vh 0 15vh; }
.content-center { min-height: 100%; display: flex; flex-direction: column; justify-content: center; }

.eyebrow { margin: 0 0 18px; font-size: 11px; letter-spacing: .24em; color: var(--muted); font-variant-numeric: tabular-nums; }
h1, h2 { margin: 0; font-weight: 600; font-feature-settings: "palt" 1; letter-spacing: -.018em; line-height: 1.08; }
h1 { font-size: clamp(58px, 9vw, 138px); }
h2 { font-size: clamp(44px, 6.8vw, 94px); }

.hero .event-brief { margin-top: 34px; display: flex; gap: 28px; flex-wrap: wrap; font-size: 13px; letter-spacing: .08em; }
.text-link { display: inline-flex; width: max-content; align-items: center; gap: 12px; margin-top: 28px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.55); font-size: 13px; }
.slide-number { position: absolute; right: 28px; bottom: 24px; z-index: 3; font-size: 10px; letter-spacing: .18em; color: rgba(255,255,255,.55); }

.event-slide { background: #090b10; }
.event-bg { position: absolute; inset: 0; background: radial-gradient(circle at 78% 26%, rgba(255,255,255,.09), transparent 30%), linear-gradient(120deg, rgba(12,17,27,.2), rgba(5,7,11,.8)), url("img/02.jpg") center/cover no-repeat; opacity: .52; }
.event-inner { position: relative; z-index: var(--z-content); display: flex; flex-direction: column; justify-content: center; gap: clamp(42px, 6vh, 72px); width: min(1280px, calc(100% - 12vw)); min-height: 100svh; margin: 0 auto; padding: 112px 0 104px; }
.event-heading h2 { margin-top: 10px; font-size: clamp(44px, 5.3vw, 76px); line-height: 1.14; white-space: nowrap; }
.event-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(34px, 5vw, 76px); border-top: 1px solid rgba(255,255,255,.28); }
.event-item { position: relative; display: grid; grid-template-columns: 128px 1fr; gap: 28px; padding: 34px 0 30px; border-bottom: 1px solid rgba(255,255,255,.28); }
.event-item + .event-item::before { content: ""; position: absolute; left: calc(clamp(34px, 5vw, 76px) / -2); top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.14); }
.event-date { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.event-month { display: flex; align-items: baseline; gap: 8px; color: rgba(255,255,255,.54); }
.event-month b { font-size: 22px; line-height: 1; font-weight: 400; color: #fff; }
.event-month small { font-size: 8px; letter-spacing: .16em; color: rgba(255,255,255,.46); }
.event-date strong { margin-top: 8px; font-family: var(--font-latin); font-size: clamp(58px, 5.8vw, 80px); line-height: .95; font-weight: 400; letter-spacing: -.045em; }
.event-copy { align-self: center; }
.event-en { font-size: 9px; letter-spacing: .18em; color: rgba(255,255,255,.54); }
.event-copy h3 { margin: 8px 0 10px; font-size: clamp(23px, 2.3vw, 34px); font-weight: 600; letter-spacing: .015em; }
.event-copy p { max-width: 580px; margin: 0; font-size: 12px; line-height: 1.9; color: rgba(255,255,255,.64); }

.slide-dark { background: #0a0c11; }
.highlights-content { padding: 100px 0 88px; }
.highlights-heading { width: 100%; margin-bottom: clamp(28px, 4vh, 44px); }
.highlights-heading h2 { margin: 10px 0 18px; font-size: clamp(36px, 4vw, 60px); line-height: 1.15; white-space: nowrap; }
.highlights-lead { margin: 0; max-width: none; white-space: nowrap; font-size: clamp(9px, .72vw, 11px); line-height: 2; color: rgba(255,255,255,.62); }
.highlights-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { min-width: 0; }
.card-media { width: 100%; height: min(34vh, 340px); margin-bottom: 14px; object-fit: cover; }
.card-no { display: block; min-height: 14px; margin-bottom: 11px; font-size: 9px; line-height: 1; letter-spacing: .13em; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.card h3 { margin: 0; font-size: clamp(18px, 1.5vw, 25px); font-weight: 600; line-height: 1.45; letter-spacing: .015em; }
.card p { margin: 9px 0 0; font-size: 11px; line-height: 1.75; color: var(--muted); }

.story { display: grid; grid-template-columns: 1.15fr .85fr; }
.story .media { position: relative; }
.story-panel { position: relative; z-index: var(--z-content); display: flex; flex-direction: column; justify-content: center; padding: 7vw 6vw; background: rgba(10,12,17,.96); }
.story-panel h2 { font-size: clamp(42px, 5.2vw, 78px); }
.story-panel p, .finale-copy > p { margin: 30px 0 0; max-width: 34em; font-size: clamp(14px, 1.15vw, 18px); line-height: 2; color: var(--muted); }
.story-sponsor-button { display: inline-flex; width: max-content; gap: 12px; align-items: center; margin-top: 30px; padding: 0 0 6px; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); background: transparent; cursor: pointer; }

.people-wrap { padding: 96px 0 88px; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; }
.people { position: relative; height: 56vh; min-height: 380px; overflow: hidden; }
.people > img { width: 100%; height: 100%; object-fit: cover; }
.people::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.78)); }
.people > div { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; }
.people span { font-family: var(--font-latin); font-size: 10px; letter-spacing: .18em; color: rgba(255,255,255,.72); }
.people h3 { margin: 8px 0 0; font-size: clamp(20px, 2vw, 30px); font-weight: 500; line-height: 1.45; }

.info { background: var(--light-bg); color: var(--light-text); }
.info .eyebrow { color: rgba(17,19,25,.55); }
.info-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; align-content: center; }
.info-list { margin: 0; }
.info-list div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(17,19,25,.18); }
.info-list div:last-child { border-bottom: 1px solid rgba(17,19,25,.18); }
.info-list dt { font-size: 12px; color: rgba(17,19,25,.6); }
.info-list dd { margin: 0; font-size: 17px; }
.info-actions { grid-column: 2; }
.info-actions p { margin: 12px 0 0; font-size: 11px; color: rgba(17,19,25,.55); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 28px; border: 1px solid currentColor; font-size: 13px; letter-spacing: .08em; transition: opacity .25s ease; }
.button:hover, .button:focus-visible { opacity: .68; }

.finale-copy { align-items: center; text-align: center; }
.finale-copy > p { max-width: 36em; }
.button-light { margin-top: 34px; }

.volunteer-float { position: fixed; right: 24px; bottom: 82px; z-index: var(--z-popover); width: min(340px, calc(100vw - 48px)); color: var(--light-text); }
.volunteer-panel { position: relative; padding: 22px 22px 18px; background: rgba(244,239,226,.96); box-shadow: 0 18px 48px rgba(0,0,0,.28); backdrop-filter: blur(12px); transition: opacity .25s ease, transform .25s ease; }
.volunteer-close { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--light-text); font-size: 22px; cursor: pointer; }
.volunteer-kicker { display: block; margin-bottom: 10px; font-size: 9px; letter-spacing: .22em; color: rgba(17,19,25,.48); }
.volunteer-float strong { display: block; padding-right: 24px; font-size: 24px; font-weight: 500; line-height: 1.4; }
.volunteer-float p { margin: 10px 0 0; font-size: 12px; line-height: 1.8; color: rgba(17,19,25,.68); }
.volunteer-tab { position: absolute; right: 0; bottom: 0; min-width: 220px; height: 48px; padding: 0 14px 0 16px; border: 0; background: rgba(244,239,226,.97); color: var(--light-text); box-shadow: 0 10px 28px rgba(0,0,0,.22); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.volunteer-tab > span:first-child { font-family: var(--font-latin); font-size: 8px; letter-spacing: .18em; color: rgba(17,19,25,.42); }
.volunteer-tab strong { padding: 0; font-size: 12px; font-weight: 500; line-height: 1; }
.volunteer-tab > span:last-child { font-size: 17px; color: rgba(17,19,25,.5); }
.volunteer-float.is-collapsed .volunteer-panel { opacity: 0; transform: translateY(18px); pointer-events: none; }
.volunteer-float.is-collapsed .volunteer-tab { opacity: 1; transform: translateY(0); pointer-events: auto; }

.scroll-hint { position: fixed; left: 24px; bottom: 84px; z-index: var(--z-floating); width: 28px; min-height: 86px; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.58); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 7px; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .22em; cursor: pointer; transition: color .2s ease; }
.scroll-hint-arrow { writing-mode: horizontal-tb; display: inline-block; font-size: 13px; line-height: 1; letter-spacing: 0; opacity: .72; }
.scroll-hint:hover { color: rgba(255,255,255,.95); }
.scroll-hint:hover .scroll-hint-arrow { animation: scrollHintDown .75s ease-in-out infinite alternate; }
.scroll-hint.is-back-to-top:hover .scroll-hint-arrow { animation-name: scrollHintUp; }
.scroll-hint.is-light, .scroll-hint.is-light * { color: #16181d; opacity: 1; }
.scroll-hint:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
@keyframes scrollHintDown { to { transform: translateY(6px); } }
@keyframes scrollHintUp { to { transform: translateY(-6px); } }

.sponsor-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-header); min-height: 58px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: rgba(8,10,15,.88); border-top: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(14px); }
.sponsor-rotator { min-width: 0; display: flex; align-items: center; gap: 14px; }
.sponsor-label { flex: 0 0 auto; font-size: 8px; letter-spacing: .2em; color: rgba(255,255,255,.42); }
.sponsor-current { min-width: 0; display: inline-flex; align-items: center; gap: 10px; transition: opacity .2s ease, transform .2s ease; }
.sponsor-current.is-changing { opacity: 0; transform: translateY(3px); }
.sponsor-rank { width: 22px; height: 22px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.26); font-size: 9px; }
.sponsor-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.sponsor-detail-button { flex: 0 0 auto; min-height: 34px; padding: 0 10px; border: 0; background: transparent; font-size: 11px; cursor: pointer; }

.sponsor-drawer { position: fixed; inset: 0; z-index: var(--z-modal); visibility: hidden; pointer-events: none; }
.sponsor-drawer.open { visibility: visible; pointer-events: auto; }
.sponsor-drawer-backdrop { position: absolute; inset: 0; background: rgba(2,3,6,.66); opacity: 0; transition: opacity .32s ease; }
.sponsor-drawer.open .sponsor-drawer-backdrop { opacity: 1; }
.sponsor-drawer-panel { position: absolute; top: 0; right: 0; width: min(880px, 92vw); height: 100%; overflow-y: auto; padding: 76px clamp(28px, 5vw, 68px) 72px; background: #f0ede5; color: var(--light-text); transform: translateX(100%); transition: transform .42s cubic-bezier(.16,1,.3,1); outline: none; }
.sponsor-drawer.open .sponsor-drawer-panel { transform: translateX(0); }
.sponsor-drawer-close { position: absolute; top: 22px; right: 24px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--light-text); font-size: 27px; cursor: pointer; }
.sponsor-drawer-head { padding-bottom: 34px; border-bottom: 1px solid rgba(17,19,25,.18); }
.sponsor-drawer-head .eyebrow { color: rgba(17,19,25,.5); }
.sponsor-drawer-head h2 { max-width: 760px; font-size: clamp(38px, 5vw, 68px); }
.sponsor-drawer-head > p:last-child { max-width: 720px; margin: 22px 0 0; font-size: 13px; line-height: 1.9; color: rgba(17,19,25,.64); }
.sponsor-groups { display: grid; gap: 42px; padding-top: 42px; }
.sponsor-group-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.sponsor-group-title > span { font-family: var(--font-latin); font-size: 12px; color: rgba(17,19,25,.5); }
.sponsor-group-title h3 { margin: 0; font-size: 16px; letter-spacing: .015em; }
.sponsor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sponsor-grid-featured { grid-template-columns: 1fr; }
.sponsor-grid-a { grid-template-columns: repeat(3, minmax(0,1fr)); }
.sponsor-card { min-height: 74px; padding: 16px; display: flex; align-items: center; border: 1px solid rgba(17,19,25,.16); background: rgba(255,255,255,.24); }
.sponsor-card strong { font-size: 12px; font-weight: 500; line-height: 1.55; }

@media (max-width: 1100px) {
  .event-inner { width: calc(100% - 8vw); }
  .event-heading h2 { white-space: normal; }
  .event-item { grid-template-columns: 100px 1fr; }
  .highlights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights-grid .card-media { height: 30vh; }
}

@media (max-width: 820px) {
  html { scroll-snap-type: y proximity; }
  .slide { height: auto; min-height: 100svh; }
  .site-header { min-height: 60px; padding: 0 18px; grid-template-columns: 1fr auto; }
  .global-nav { display: none; }
  .menu-button { display: block; }
  .brand { font-size: 10px; }
  .content, .wide { width: calc(100% - 36px); }
  .content-bottom { min-height: 100svh; padding: 80px 0 12vh; }
  h1 { font-size: clamp(52px, 16vw, 78px); }
  h2 { font-size: clamp(40px, 11vw, 62px); }
  .hero .event-brief { gap: 10px 18px; max-width: 310px; }

  .event-inner { width: auto; min-height: 100svh; padding: 110px 24px 92px; gap: 28px; }
  .event-list { grid-template-columns: 1fr; gap: 0; }
  .event-item { grid-template-columns: 84px 1fr; padding: 22px 0; }
  .event-item + .event-item::before { display: none; }
  .event-month b { font-size: 18px; }
  .event-date strong { font-size: 50px; }
  .event-copy h3 { font-size: 20px; }

  .slide-dark { padding: 0; }
  .highlights-content { min-height: auto; padding: 100px 0 84px; }
  .highlights-heading h2, .highlights-lead { white-space: normal; }
  .highlights-heading h2 { font-size: clamp(34px, 9vw, 50px); }
  .highlights-lead { font-size: 11px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlights-grid .card-media { height: 42vh; }

  .story { display: block; min-height: 100svh; }
  .story .media { position: absolute; inset: 0; }
  .story-panel { min-height: 100svh; justify-content: flex-end; padding: 90px 18px 12vh; background: linear-gradient(180deg, rgba(8,10,16,.12), rgba(8,10,16,.94)); }

  .people-wrap { min-height: auto; padding: 90px 0 80px; }
  .people-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .people { height: 46vh; min-height: 320px; }

  .info { padding: 90px 0 80px; }
  .info-wrap { min-height: auto; display: block; }
  .info-list { margin-top: 32px; }
  .info-list div { grid-template-columns: 90px 1fr; }
  .info-list dd { font-size: 15px; }
  .info-actions { margin-top: 30px; }

  .finale { min-height: 100svh; }
  .finale .content-center { min-height: 100svh; padding: 80px 0 110px; }
  .slide-number { right: 18px; bottom: 70px; }
  .scroll-hint { display: none; }

  .volunteer-float { right: 12px; bottom: 70px; width: min(320px, calc(100vw - 24px)); }
  .volunteer-float strong { font-size: 20px; }

  .sponsor-footer { min-height: 58px; padding: 0 14px; }
  .sponsor-label { display: none; }
  .sponsor-name { max-width: 46vw; }
  .sponsor-detail-button { font-size: 10px; }
  .sponsor-drawer-panel { width: 100%; padding: 72px 18px 60px; }
  .sponsor-grid, .sponsor-grid-a { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .mobile-menu a { font-size: 26px; }
  .event-heading h2 { font-size: 38px; }
  .event-item { grid-template-columns: 72px 1fr; gap: 16px; }
  .sponsor-rank { display: none; }
  .sponsor-name { max-width: 43vw; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
