/* ==========================================================================
   AniDora Events — site.css
   Design system: warm ink ground, plaque cream type, ShotenKai red accent.
   Palette source: AniDora Events Doc Color Theme (sampled from the logo).
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License — see assets/fonts/LICENSE-OFL.txt) */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #120c0a;
  --ink-2: #1a1210;
  --ink-3: #241813;
  --ink-4: #2f2019;
  --line: rgba(251, 243, 217, 0.12);
  --line-strong: rgba(251, 243, 217, 0.24);

  --cream: #fbf3d9;
  --cream-2: rgba(251, 243, 217, 0.74);
  --cream-3: rgba(251, 243, 217, 0.5);

  --red: #da1d02;
  --red-2: #f0432a;
  --sun: #ec5619;
  --sun-2: #f36a20;
  --gold: #e2b874;
  --gold-2: #b26e2a;
  --amber: #bb5a1e;
  --navy: #2b467d;
  --navy-2: #4f6693;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --radius-sm: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 0.98; letter-spacing: -0.01em; text-transform: uppercase; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--red); color: var(--cream); }

/* --------------------------------------------------------------------------
   Page transitions
   -------------------------------------------------------------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s ease both; }
::view-transition-new(root) { animation: vt-in 0.45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

body.page-enter main { animation: page-in 0.7s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }
body.page-leave { opacity: 0; transition: opacity 0.22s ease; }

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

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--wide { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }

.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--alt { background: var(--ink-2); }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.eyebrow--plain::before { display: none; }

.display-xl { font-size: clamp(64px, 13vw, 190px); line-height: 0.86; letter-spacing: -0.02em; }
.display-lg { font-size: clamp(48px, 7vw, 104px); }
.display-md { font-size: clamp(36px, 5vw, 68px); }
.display-sm { font-size: clamp(28px, 3.4vw, 44px); }
.h-lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--cream-2); line-height: 1.55; max-width: 62ch; }
.h-lead--big { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; color: var(--cream); font-weight: 500; max-width: 24ch; }
.muted { color: var(--cream-2); }
.small { font-size: 15px; }
.jp { font-family: var(--font-jp); font-weight: 700; letter-spacing: 0.08em; }
.accent { color: var(--red-2); }
.gold { color: var(--gold); }
.sun { color: var(--sun-2); }
.upper { text-transform: uppercase; letter-spacing: 0.08em; }
.num { font-variant-numeric: tabular-nums; }

.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 900px; }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head .h-lead { margin-top: 6px; }

.prose { font-size: 17px; line-height: 1.72; color: var(--cream-2); }
.prose p + p { margin-top: 1em; }
.prose h2 { font-size: clamp(30px, 3.2vw, 44px); color: var(--cream); margin: 2.2em 0 0.6em; }
.prose h3 { font-size: clamp(22px, 2.2vw, 28px); color: var(--cream); margin: 1.8em 0 0.5em; letter-spacing: 0.01em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; list-style: disc; margin: 0.6em 0 1em; }
.prose li { margin: 0.35em 0; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--cream); }
.prose .rule-id { color: var(--gold); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; margin-right: 6px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --bg: var(--red); --fg: var(--cream); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s;
  white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0) 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease); z-index: -1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -14px rgba(218, 29, 2, 0.55); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--red); }
.btn--primary:hover { --bg: var(--red-2); }
.btn--ghost { --bg: transparent; --fg: var(--cream); --bd: var(--line-strong); }
.btn--ghost:hover { --bd: var(--cream); box-shadow: none; }
.btn--cream { --bg: var(--cream); --fg: var(--ink); }
.btn--cream:hover { --bg: #fff; box-shadow: 0 14px 36px -14px rgba(251, 243, 217, 0.4); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 19px; }
.btn .arrow { display: inline-block; transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 15px; color: var(--gold); }
.link-arrow .arrow { transition: transform 0.35s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, height 0.4s var(--ease), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(18, 12, 10, 0.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); height: 64px; }
.header.hidden { transform: translateY(-110%); }
.header .container--wide { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 46px; width: auto; transition: height 0.4s var(--ease); filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35)); }
.header.scrolled .brand__logo { height: 38px; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.brand__word span { font-family: var(--font-jp); font-size: 10.5px; letter-spacing: 0.24em; color: var(--gold); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-2); border-radius: 8px; position: relative; transition: color 0.25s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; place-items: center; position: relative; z-index: 80; }
.burger span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 3px 0; transition: transform 0.35s var(--ease), opacity 0.25s; transform-origin: center; }
body.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 70; background: rgba(18, 12, 10, 0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 48px;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
body.menu-open .menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.menu a.menu__link { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 9vw, 64px); text-transform: uppercase; line-height: 1.05; letter-spacing: -0.01em; padding: 6px 0; transform: translateY(20px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.5s; color: var(--cream); }
body.menu-open .menu a.menu__link { transform: none; opacity: 1; }
.menu a.menu__link:nth-child(2) { transition-delay: 0.05s; } .menu a.menu__link:nth-child(3) { transition-delay: 0.1s; } .menu a.menu__link:nth-child(4) { transition-delay: 0.15s; } .menu a.menu__link:nth-child(5) { transition-delay: 0.2s; } .menu a.menu__link:nth-child(6) { transition-delay: 0.25s; }
.menu a.menu__link[aria-current="page"], .menu a.menu__link:hover { color: var(--red-2); }
.menu__foot { margin-top: auto; display: grid; gap: 8px; color: var(--cream-2); font-size: 15px; }
.menu__foot a { color: var(--cream); }

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: grid; }
  .brand__word { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media video { opacity: 0; transition: opacity 1.2s ease; }
.hero__media video.ready { opacity: 1; }
.hero__media .poster { position: absolute; inset: 0; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to top, rgba(18,12,10,0.96) 0%, rgba(18,12,10,0.72) 30%, rgba(18,12,10,0.25) 62%, rgba(18,12,10,0.35) 100%),
  linear-gradient(to right, rgba(18,12,10,0.55), rgba(18,12,10,0) 60%); }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: 0.08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; pointer-events: none; }

.hero__inner { position: relative; padding: calc(var(--header-h) + 40px) 0 clamp(40px, 6vw, 72px); display: grid; gap: clamp(20px, 3vw, 36px); min-width: 0; }
.hero__inner > * { min-width: 0; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__eyebrow .pill { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 13px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; backdrop-filter: blur(6px); }
.hero__eyebrow .pill--live { border-color: rgba(240, 67, 42, 0.6); color: var(--cream); }
.hero__eyebrow .pill--live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); margin-right: 8px; box-shadow: 0 0 0 0 rgba(240,67,42,0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(240,67,42,0); } 100% { box-shadow: 0 0 0 0 rgba(240,67,42,0); } }
.hero__title { font-size: clamp(64px, 17vw, 224px); overflow-wrap: anywhere; line-height: 0.84; letter-spacing: -0.025em; text-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.hero__title .thin { font-weight: 600; letter-spacing: 0.02em; }
.hero__meta { display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; max-width: 900px; min-width: 0; }
.hero__meta > * { min-width: 0; }
.hero__venue { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.6vw, 34px); text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.1; }
.hero__venue small { display: block; font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: clamp(15px, 1.3vw, 18px); color: var(--cream-2); margin-top: 4px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; color: var(--cream-3); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-display); }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--cream), transparent); display: block; animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hero .stagger > * { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; }
.hero .stagger > *:nth-child(1) { animation-delay: 0.15s; }
.hero .stagger > *:nth-child(2) { animation-delay: 0.3s; }
.hero .stagger > *:nth-child(3) { animation-delay: 0.45s; }
.hero .stagger > *:nth-child(4) { animation-delay: 0.6s; }
.hero .stagger > *:nth-child(5) { animation-delay: 0.75s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.countdown { display: flex; gap: 10px; flex-wrap: nowrap; }
.countdown div { display: grid; justify-items: center; min-width: 0; flex: 0 0 auto; width: 66px; padding: 10px 8px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(18,12,10,0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.countdown b { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-3); margin-top: 4px; }

@media (max-width: 760px) {
  .hero { align-items: end; }
  .hero__inner { padding-top: calc(var(--header-h) + 24px); }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__scroll { display: none; }
  .countdown { width: 100%; } .countdown div { width: auto; flex: 1 1 0; padding: 8px 4px; } .countdown b { font-size: 24px; }
}

/* Simple hero (interior pages) */
.hero--page { min-height: clamp(420px, 60svh, 640px); align-items: end; }
.hero--page .hero__title { font-size: clamp(48px, 11vw, 150px); }
.hero--page .hero__inner { padding-bottom: clamp(32px, 5vw, 56px); }

/* --------------------------------------------------------------------------
   Info bar (next show facts)
   -------------------------------------------------------------------------- */
.infobar { position: relative; z-index: 2; margin-top: -1px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.infobar .container--wide { display: grid; grid-template-columns: repeat(4, 1fr); }
.infobar__item { padding: 22px 24px; border-right: 1px solid var(--line); display: grid; gap: 4px; }
.infobar__item:last-child { border-right: 0; }
.infobar__item small { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-family: var(--font-display); font-weight: 700; }
.infobar__item b { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; }
.infobar__item span { color: var(--cream-2); font-size: 15px; }
.infobar__item--cta { align-content: center; justify-items: start; }
@media (max-width: 960px) { .infobar .container--wide { grid-template-columns: repeat(2, 1fr); } .infobar__item:nth-child(2) { border-right: 0; } .infobar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .infobar .container--wide { grid-template-columns: 1fr; } .infobar__item { border-right: 0; border-bottom: 1px solid var(--line); } .infobar__item:last-child { border-bottom: 0; } }

/* --------------------------------------------------------------------------
   Cards, tiles
   -------------------------------------------------------------------------- */
.card { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); position: relative; overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s var(--ease); }
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.8); }
.card--flat:hover { transform: none; box-shadow: none; }
.card h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 10px; letter-spacing: 0.01em; }
.card p { color: var(--cream-2); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(218,29,2,0.14); color: var(--red-2); margin-bottom: 18px; font-family: var(--font-display); font-weight: 800; font-size: 20px; }

.stat { display: grid; gap: 4px; padding: 26px 0; border-top: 1px solid var(--line-strong); }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5.6vw, 76px); line-height: 0.95; letter-spacing: -0.02em; }
.stat span { color: var(--cream-2); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; }

/* Tier cards — photo-backed, two distinct identities */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier--endcap { grid-column: 1 / -1; }
.tier--endcap .tier__bg { object-position: center 35%; }
@media (min-width: 861px) { .tier--endcap .tier__body { margin-top: 160px; } }
.tier { position: relative; display: grid; align-content: end; min-height: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); isolation: isolate; color: var(--cream); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.tier:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9); }
.tier__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.4s var(--ease); }
.tier:hover .tier__bg { transform: scale(1.05); }
.tier::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(18,12,10,0.45) 0%, rgba(18,12,10,0.05) 35%, rgba(18,12,10,0.05) 100%); }
.tier--vendor::before { background: linear-gradient(to bottom, rgba(26,10,6,0.45) 0%, rgba(26,10,6,0.05) 35%, rgba(60,18,8,0.12) 100%); }
.tier--artist::before { background: linear-gradient(to bottom, rgba(8,12,24,0.45) 0%, rgba(8,12,24,0.05) 35%, rgba(20,32,70,0.12) 100%); }
.tier__tag { position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tier--vendor .tier__tag { background: rgba(218,29,2,0.85); color: var(--cream); }
.tier--artist .tier__tag { background: rgba(251,243,217,0.92); color: var(--navy); }
.tier__eb { position: absolute; top: 20px; right: 20px; display: grid; justify-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 800; line-height: 1; transform: rotate(8deg); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6); align-content: center; text-align: center; }
.tier__eb b { font-size: 26px; }
.tier__eb small { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 3px; }
.tier__body { margin-top: 250px; padding: 72px clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px); display: grid; gap: 14px; background: linear-gradient(to top, #120c0a 0%, rgba(18,12,10,0.97) 55%, rgba(18,12,10,0.8) 80%, rgba(18,12,10,0) 100%); }
.tier--vendor .tier__body { background: linear-gradient(to top, #1a0a06 0%, rgba(26,10,6,0.97) 55%, rgba(26,10,6,0.8) 80%, rgba(26,10,6,0) 100%); }
.tier--artist .tier__body { background: linear-gradient(to top, #090d1a 0%, rgba(9,13,26,0.97) 55%, rgba(9,13,26,0.8) 80%, rgba(9,13,26,0) 100%); }
@media (max-width: 860px) { .tier__body { margin-top: 200px; padding-top: 60px; } }
.tier__who { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 0 2px rgba(0,0,0,0.9); }
.tier--vendor .tier__who { color: var(--gold); }
.tier--artist .tier__who { color: #bcd0ff; }
.tier__name { font-size: clamp(40px, 4.6vw, 64px); line-height: 0.9; text-shadow: 0 4px 24px rgba(0,0,0,0.6); }
.tier__dims { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-2); font-size: 15px; }
.tier__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tier__price b { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 5.4vw, 80px); line-height: 1; }
.tier__price s { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); color: var(--cream-3); text-decoration-thickness: 3px; }
.tier__price span { flex-basis: 100%; color: var(--cream-2); font-size: 15px; }
.tier--vendor .tier__price b { color: var(--gold); }
.tier--artist .tier__price b { color: #d9e4ff; }
.tier ul { display: grid; gap: 7px; color: var(--cream-2); font-size: 16px; }
.tier li { display: flex; gap: 10px; align-items: flex-start; }
.tier--vendor li::before { content: "✓"; color: var(--red-2); font-weight: 700; flex: 0 0 auto; }
.tier--artist li::before { content: "✓"; color: #9db3ff; font-weight: 700; flex: 0 0 auto; }
.tier .btn { justify-self: start; margin-top: 6px; }
.tier--artist .btn--primary { --bg: var(--navy); }
.tier--artist .btn--primary:hover { --bg: var(--navy-2); }
.which { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .which { grid-template-columns: 1fr; } }
.which div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--cream-2); font-size: 15px; }
.which b { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 14px; margin-bottom: 4px; color: var(--cream); }
.which .v b { color: var(--gold); } .which .a b { color: #bcd0ff; }

/* Early-bird strip */
.ebstrip { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 14px 20px; background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 16px; }
.ebstrip b { font-weight: 800; font-size: 20px; }
.ebstrip a { text-decoration: underline; text-underline-offset: 3px; }

/* Photo-backed feature cards (pillars) */
.pcard { position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: grid; align-content: end; padding: clamp(22px, 3vw, 32px); isolation: isolate; }
.pcard img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pcard:hover img { transform: scale(1.05); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18,12,10,0.96) 0%, rgba(18,12,10,0.7) 45%, rgba(18,12,10,0.1) 100%); }
.pcard h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 8px; letter-spacing: 0.01em; }
.pcard p { color: var(--cream-2); font-size: 16px; }
.pcard .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(218,29,2,0.85); color: var(--cream); margin-bottom: 14px; font-family: var(--font-display); font-weight: 800; font-size: 18px; }

/* Timeline */
.timeline { display: grid; gap: 0; counter-reset: step; }
.timeline__step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline__step:last-child { border-bottom: 1px solid var(--line); }
.timeline__step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--red-2); line-height: 1; }
.timeline__step h4 { font-size: 22px; letter-spacing: 0.02em; margin-bottom: 4px; }
.timeline__step p { color: var(--cream-2); margin: 0; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; color: var(--gold); transition: transform 0.35s var(--ease); flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 0 24px; color: var(--cream-2); max-width: 70ch; }

/* Facts list */
.facts { display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; color: var(--gold); padding-top: 3px; }
.facts dd { margin: 0; }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; gap: 10px; }
.mosaic a { position: relative; overflow: hidden; border-radius: 12px; display: block; }
.mosaic a img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic a:hover img { transform: scale(1.06); }
.mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 3; }
.mosaic a:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.mosaic a:nth-child(3) { grid-column: span 2; grid-row: span 3; }
.mosaic a:nth-child(4) { grid-column: span 2; grid-row: span 3; }
.mosaic a:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.mosaic a:nth-child(6) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .mosaic a { grid-column: span 1 !important; grid-row: span 2 !important; } .mosaic a:nth-child(3), .mosaic a:nth-child(4) { grid-row: span 3 !important; } }

.masonry { columns: 3 300px; column-gap: 12px; }
.masonry a { display: block; break-inside: avoid; margin-bottom: 12px; border-radius: 12px; overflow: hidden; position: relative; background: var(--ink-3); }
.masonry a img { width: 100%; height: auto; transition: transform 1s var(--ease), filter 0.5s; }
.masonry a:hover img { transform: scale(1.04); }
.masonry a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,12,10,0.5), transparent 45%); opacity: 0; transition: opacity 0.4s; }
.masonry a:hover::after { opacity: 1; }

.filmstrip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--gold-2) transparent; }
.filmstrip > * { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.filmstrip img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,6,5,0.94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1500px); max-height: 86svh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 40px 100px -30px rgba(0,0,0,0.9); transform: scale(0.96); transition: transform 0.45s var(--ease), opacity 0.3s; opacity: 0; }
.lightbox.open img { transform: none; opacity: 1; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(251,243,217,0.08); border: 1px solid var(--line-strong); color: var(--cream); font-size: 22px; transition: background 0.25s; }
.lightbox__btn:hover { background: rgba(251,243,217,0.18); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); letter-spacing: 0.2em; color: var(--cream-3); font-size: 13px; }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; width: 46px; height: 46px; } .lightbox__prev { left: 14px; } .lightbox__next { right: 14px; } .lightbox img { max-height: 78svh; } }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: var(--ink-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); letter-spacing: 0.08em; text-transform: uppercase; padding: 0 22px; white-space: nowrap; color: var(--cream-2); display: inline-flex; align-items: center; gap: 22px; }
.marquee__track span::after { content: "✦"; color: var(--red-2); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Show cards
   -------------------------------------------------------------------------- */
.show { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.show__media { position: relative; min-height: 320px; }
.show__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.show:hover .show__media img { transform: scale(1.04); }
.show__body { padding: clamp(28px, 3.5vw, 48px); display: grid; align-content: center; gap: 16px; }
.show__body h3 { font-size: clamp(36px, 4.4vw, 60px); }
.show__date { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 18px; color: var(--gold); }
.show--past { grid-template-columns: 1fr 1.1fr; }
.show--past .show__media { order: 2; }
@media (max-width: 860px) { .show, .show--past { grid-template-columns: 1fr; } .show--past .show__media { order: 0; } .show__media { min-height: 240px; aspect-ratio: 16 / 10; } }

.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--cream-2); width: max-content; }
.badge--red { border-color: rgba(240,67,42,0.6); color: var(--cream); background: rgba(218,29,2,0.14); }
.badge--gold { border-color: rgba(226,184,116,0.5); color: var(--gold); }

/* --------------------------------------------------------------------------
   Decorative
   -------------------------------------------------------------------------- */
.stamp-bg { position: absolute; right: -4%; top: 8%; width: min(46vw, 560px); opacity: 0.06; pointer-events: none; transform: rotate(-8deg); }
.section:has(> .stamp-bg) { overflow: hidden; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.kicker-jp { font-family: var(--font-jp); font-weight: 700; font-size: clamp(14px, 1.4vw, 18px); letter-spacing: 0.3em; color: var(--gold); }
.callout { border-left: 3px solid var(--red); padding: 14px 20px; background: rgba(218,29,2,0.06); border-radius: 0 12px 12px 0; color: var(--cream-2); }
.callout strong { color: var(--cream); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(251,243,217,0.04); color: var(--cream); font: inherit; transition: border-color 0.25s, background 0.25s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: rgba(251,243,217,0.07); }
.field textarea { min-height: 140px; resize: vertical; }
.field select option { color: #111; }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(251,243,217,0.05); color: var(--cream); font: inherit; }
.inline-form input:focus { outline: none; border-color: var(--gold); }
@media (max-width: 480px) { .inline-form { flex-direction: column; } }
.form__note { font-size: 13px; color: var(--cream-3); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); background: #0e0907; padding: clamp(48px, 7vw, 88px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 14px; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 16px; font-weight: 700; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: var(--cream-2); transition: color 0.25s; }
.footer a:hover { color: var(--cream); }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand img { width: 120px; }
.footer__brand p { color: var(--cream-2); max-width: 36ch; }
.footer__bottom { margin-top: clamp(32px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--cream-3); font-size: 14px; }
.footer__bottom .jp { color: var(--cream-3); font-size: 12px; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: none; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(26,18,16,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-strong); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.8); transform: translateY(120%); transition: transform 0.5s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 46px; font-size: 15px; padding: 0 12px; }
@media (max-width: 760px) { .sticky-cta { display: flex; } .footer { padding-bottom: 96px; } }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(0.94); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* Big number band */
.band { padding: clamp(40px, 6vw, 72px) 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(218,29,2,0.12), transparent 40%, transparent 60%, rgba(43,70,125,0.18)); }
.band .grid--4 { gap: 0; }
.band .stat { border-top: 0; border-left: 1px solid var(--line-strong); padding: 6px 28px; }
.band .stat:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 960px) { .band .stat { border-left: 0; padding: 18px 0; border-top: 1px solid var(--line); } .band .stat:first-child { border-top: 0; } }

/* Notice / 404 */
.notice { text-align: center; padding: 40vh 0 20vh; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: var(--cream); padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
