/* ============================================================
   TASTE OF JAPAN / shared design system
   Brand: hokusai blue x washi x gold. Events override via body class.
   ============================================================ */

:root {
  --ink: #16202b;
  --ink-soft: #33414f;
  --washi: #faf6ec;
  --washi-deep: #f1ead8;
  --hokusai: #1f4e79;
  --hokusai-deep: #14314c;
  --gold: #c9a24b;
  --gold-soft: #e3c98a;
  --sakura: #e9b7c3;
  --red: #b23a2f;
  --white: #ffffff;
  --font-display: "Zen Antique", "Zen Old Mincho", serif;
  --font-ui: "Zen Antique", "Zen Old Mincho", serif;
  --font-num: "Zen Old Mincho", "Shippori Mincho", serif;
  --font-serif: "Shippori Mincho", serif;
  --font-serif-en: "Cormorant Garamond", "Shippori Mincho", serif;
  --font-body: "Zen Kaku Gothic New", sans-serif;
  --font-brush: "Permanent Marker", cursive;
  --header-h: 64px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(22, 32, 43, 0.16);
  --shadow-soft: 0 8px 26px rgba(22, 32, 43, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--washi);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(1120px, 92vw); margin-inline: auto; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(250, 246, 236, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(22,32,43,.08);
}
.dark-header .site-header.scrolled {
  background: rgba(15, 22, 33, .88);
}
.header-inner {
  width: min(1240px, 94vw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 400;
  font-size: 17px; letter-spacing: .14em; text-transform: uppercase;
}
.brand .kamon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 17px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(178, 58, 47, .4);
}
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; letter-spacing: .06em; }
.site-nav a { position: relative; padding: 4px 0; opacity: .85; transition: opacity .2s; }
.site-nav a:hover { opacity: 1; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.lang-toggle {
  border: 1.5px solid currentColor; border-radius: 999px;
  padding: 5px 14px; font-size: 12.5px; letter-spacing: .1em;
  transition: background .2s, color .2s;
}
.header-light { color: #fff; }
.site-header.scrolled.header-light,
.site-header.scrolled { color: var(--ink); }
.dark-header .site-header.scrolled { color: #f3ead8; }
.lang-toggle:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

@media (max-width: 640px) {
  .site-nav { gap: 14px; }
  .site-nav a.nav-optional { display: none; }
  .brand span:last-child { font-size: 13px; letter-spacing: .1em; }
  .header-inner { gap: 10px; }
}

/* ---------- noren opening ----------
   The curtain only exists when JS is running, because only JS can open it.
   No JS means no curtain, rather than a navy screen that never parts. */
.noren { display: none; }
.js .noren {
  position: fixed; inset: 0; z-index: 100;
  display: flex; pointer-events: none;
}
.noren-half {
  flex: 1; position: relative;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 2px, transparent 2px calc(25% - 1px), rgba(0,0,0,.28) calc(25% - 1px) 25%),
    linear-gradient(180deg, #1c3a5e 0%, #14314c 60%, #0e2438 100%);
  transition: transform 1.05s cubic-bezier(.77, 0, .27, 1);
}
.noren-half.left { transform-origin: left; border-right: 1px solid rgba(0,0,0,.3); }
.noren-half.right { transform-origin: right; }
.noren.open .noren-half.left { transform: translateX(-101%) skewX(-2deg); }
.noren.open .noren-half.right { transform: translateX(101%) skewX(2deg); }
.noren-mark {
  position: absolute; top: 50%; z-index: 101;
  transform: translateY(-50%);
  color: var(--washi); text-align: center;
  transition: opacity .45s ease;
}
.noren-half.left .noren-mark { right: 0; transform: translate(50%, -50%); }
.noren-half.right .noren-mark { left: 0; transform: translate(-50%, -50%); visibility: hidden; }
.noren-mark .circle {
  width: 118px; height: 118px; margin-inline: auto;
  border: 2.5px solid rgba(250,246,236,.9); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 52px; font-weight: 700;
  background: rgba(250,246,236,.06);
}
.noren-mark .word {
  margin-top: 18px; font-family: var(--font-display); font-weight: 400;
  font-size: 15px; letter-spacing: .5em; text-transform: uppercase;
  padding-left: .5em;
  white-space: nowrap;
}
.noren.open .noren-mark { opacity: 0; }
.noren.gone { display: none; }

/* ---------- shared section bits ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--gold); }
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(33px, 5.1vw, 58px);
  line-height: 1.1; letter-spacing: 0;
  margin: 14px 0 18px;
}
.section-lead { max-width: 560px; color: var(--ink-soft); font-size: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  font-size: 15px;
  padding: 15px 34px; border-radius: 999px;
  background: var(--ink); color: var(--washi);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  box-shadow: var(--shadow-soft);
  position: relative; overflow: hidden;
}
.btn::after { content: "→"; transition: transform .22s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn:hover::after { transform: translateX(4px); }
.btn.gold { background: linear-gradient(120deg, var(--gold), #b8862f); color: #fff; }
.btn.outline { background: transparent; border: 2px solid currentColor; color: inherit; box-shadow: none; }

/* scroll reveal
   Hidden only while JS is running, so the page stays readable if the script
   never loads. The .recovered escape hatch is set by the failsafe timer. */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
.js .reveal.in { opacity: 1; transform: none; }
.recovered .noren { display: none !important; }
.recovered .reveal {
  opacity: 1 !important; transform: none !important; transition: none !important;
}
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* countdown */
.countdown { display: flex; gap: clamp(10px, 2vw, 22px); }
.cd-cell { text-align: center; min-width: 74px; }
.cd-num {
  font-family: var(--font-num); font-weight: 900;
  font-size: clamp(34px, 5vw, 56px); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-label { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; opacity: .7; margin-top: 8px; }

/* lanterns */
.lantern-row { display: flex; gap: clamp(8px, 1.6vw, 18px); align-items: flex-start; }
.lantern { width: clamp(30px, 4vw, 46px); opacity: .38; transition: opacity .6s ease, filter .6s ease; }
.lantern.lit { opacity: 1; filter: drop-shadow(0 0 14px rgba(255, 176, 66, .85)); animation: sway 3.4s ease-in-out infinite; }
.lantern:nth-child(2n).lit { animation-delay: .7s; }
.lantern:nth-child(3n).lit { animation-delay: 1.3s; }
@keyframes sway { 0%,100% { transform: rotate(-2.4deg); } 50% { transform: rotate(2.4deg); } }

/* fireworks canvas */
#fx { position: fixed; inset: 0; z-index: 95; pointer-events: none; }

/* marquee */
.marquee { overflow: hidden; white-space: nowrap; user-select: none; }
.marquee-track { display: inline-flex; gap: 0; animation: marquee 26s linear infinite; }
.marquee span { display: inline-block; padding-right: 18px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* event flyer cards (hub) */
.event-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3.6vw, 44px);
  align-items: stretch;
}
.event-card {
  position: relative; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-soft);
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .3s ease;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.event-card:hover { box-shadow: var(--shadow); }
/* Both event artworks are portrait posters. A 5:4 landscape frame cropped the
   subject out of each one, so the frame is square and centred lower. */
.event-card .flyer { position: relative; overflow: hidden; aspect-ratio: 1 / 1; }
.event-card .flyer img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.event-card:hover .flyer img { transform: scale(1.045); }
.event-card .date-ribbon {
  position: absolute; top: 16px; left: -6px;
  background: var(--red); color: #fff;
  font-family: var(--font-display); font-weight: 400; letter-spacing: .08em;
  font-size: 13.5px; padding: 8px 18px 8px 20px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%);
  box-shadow: 0 4px 12px rgba(178,58,47,.4);
}
/* ticket status, top right, opposite the date ribbon.
   On-sale is loud because it is the one you can act on today.
   Coming-soon stays quiet on purpose so it never outshines it. */
.event-card .status-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
/* ink on gold, not white on gold: white lands near 2.4:1 and fails AA */
.event-card .status-badge.on-sale {
  background: var(--gold-soft); color: var(--ink);
  box-shadow: 0 4px 14px rgba(201,162,75,.45);
}
.event-card .status-badge.coming-soon {
  background: rgba(22,32,43,.62); color: rgba(255,255,255,.92);
}
.event-card .meta { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 27px; letter-spacing: 0; }
.event-card .venue { font-size: 13.5px; color: var(--ink-soft); letter-spacing: .04em; }
.event-card .tagline { font-family: var(--font-serif); font-size: 15px; color: var(--hokusai); }
.event-card .card-cta {
  margin-top: auto; padding-top: 14px;
  font-family: var(--font-display); font-weight: 400; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); display: inline-flex; gap: 8px; align-items: center;
}
.event-card .card-cta::after { content: "→"; transition: transform .25s; }
.event-card:hover .card-cta::after { transform: translateX(5px); }

/* stat band */
.stat-band { background: var(--hokusai-deep); color: var(--washi); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 34px; text-align: center; }
.stat-num { font-family: var(--font-num); font-weight: 900; font-size: clamp(38px, 5vw, 58px); color: var(--gold-soft); line-height: 1.05; }
.stat-label { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-top: 10px; }
.stat-note { font-size: 11.5px; opacity: .55; margin-top: 4px; }

/* brand chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  border: 1.5px solid rgba(22,32,43,.18); border-radius: 999px;
  padding: 9px 22px; font-size: 14px; letter-spacing: .08em;
  font-family: var(--font-serif); font-weight: 600; color: var(--ink-soft);
  background: #fff;
}

/* footer */
.site-footer {
  background: #10161f; color: #cfd6de;
  padding: 64px 0 40px; font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h4 { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 46px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; opacity: .65;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   HOME (hub)
   ============================================================ */

.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  position: relative; color: #fff;
  text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #1c3a5e 0%, #2b5c8a 55%, #7fa8c9 100%);
  transition: background 1.2s ease;
}
body[data-sky="dawn"] .hero { background: linear-gradient(180deg, #2b3a5e 0%, #7b5a7e 55%, #e7a983 100%); }
body[data-sky="day"] .hero { background: linear-gradient(180deg, #1c3a5e 0%, #2b5c8a 55%, #8fb4d4 100%); }
body[data-sky="dusk"] .hero { background: linear-gradient(180deg, #1d2a4d 0%, #64416b 55%, #d98a5f 100%); }
body[data-sky="night"] .hero { background: linear-gradient(180deg, #0a1220 0%, #14273e 60%, #2b4a68 100%); }

.hero-stars { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; pointer-events: none;
  background-image: radial-gradient(1.6px 1.6px at 12% 18%, rgba(255,255,255,.9) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 70% 12%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 42% 8%, rgba(255,255,255,.75) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 86% 26%, rgba(255,255,255,.85) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 28% 30%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 55% 22%, rgba(255,255,255,.8) 50%, transparent 51%);
}
body[data-sky="night"] .hero-stars { opacity: 1; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; pointer-events: none; }
.hero-wave .wave-fill { fill: var(--washi); }
.hero-wave .wave-line { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2.2; }
.wave-draw { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 3.4s ease-out .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-inner { position: relative; z-index: 2; padding: 120px 20px 230px; width: 100%; }
.hero-kicker {
  font-family: var(--font-serif); font-size: clamp(15px, 2vw, 19px);
  letter-spacing: .5em; padding-left: .5em; opacity: .92;
}
.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(54px, 11vw, 148px);
  line-height: .98; letter-spacing: .015em;
  margin: 18px 0 8px;
  text-shadow: 0 10px 44px rgba(0,0,0,.35);
}
.hero-title .accent { color: var(--gold-soft); }
.hero-sub { font-size: clamp(14.5px, 1.8vw, 17px); letter-spacing: .12em; opacity: .92; max-width: 640px; margin-inline: auto; }
.hero-ctas { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .btn { background: var(--washi); color: var(--ink); }
.hero .btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,.8); color: #fff; }

.scroll-cue {
  position: absolute; bottom: 110px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; opacity: .75;
}
.scroll-cue::after {
  content: ""; display: block; width: 1.5px; height: 40px;
  background: linear-gradient(#fff, transparent);
  margin: 10px auto 0; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* countdown strip on hub */
.next-up { background: var(--washi-deep); border-block: 1px solid rgba(22,32,43,.07); }
.next-up-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; padding: 40px 0;
}
.next-up .label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 400;
  font-size: 15px; letter-spacing: .26em; text-transform: uppercase;
  color: #fff; font-weight: 700; margin-bottom: 12px;
  background: var(--red); padding: 7px 18px 7px 15px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(178, 58, 47, .3);
}
.next-up .label::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}
.next-up .event-name { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.9vw, 44px); line-height: 1.13; }
/* the countdown used to end in nothing: give the reader something to do */
.next-up-cta { font-size: 14px; padding: 13px 28px; white-space: nowrap; margin-top: 18px; }
@media (max-width: 860px) {
  .next-up-inner { gap: 22px; }
}

/* archive teaser */
.archive-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(120deg, var(--hokusai-deep), var(--hokusai));
  color: var(--washi); padding: clamp(36px, 5vw, 64px);
  display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between;
}
.archive-card h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.9vw, 44px); margin-bottom: 10px; }
.archive-card p { opacity: .85; max-width: 480px; }

/* ---------- sponsorship: ways (no tiers, no prices) ---------- */
.ways-lead {
  font-family: var(--font-serif-en); font-style: italic;
  font-size: 19px; margin: 32px 0 18px; color: var(--ink-soft);
}
.partner-ways { display: flex; flex-wrap: wrap; gap: 12px; }
.way {
  border: 1.5px solid rgba(22,32,43,.16); border-radius: 999px;
  padding: 11px 22px; font-size: 14.5px; background: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .25s ease, border-color .25s ease;
}
.way::before { content: "\25C6"; font-size: 8px; color: var(--gold); transform: translateY(-1px); }
.way:hover { transform: translateY(-3px); border-color: var(--gold); }

/* ---------- workshop / hokusai theme band (shared, navy x gold) ---------- */
.workshop { background: linear-gradient(160deg, #16273f 0%, #0d1526 100%); color: #f7f1e3; position: relative; overflow: hidden; }
.workshop::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 26%, rgba(220,191,124,.7) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 82% 18%, rgba(220,191,124,.55) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 68% 74%, rgba(220,191,124,.5) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 30% 82%, rgba(220,191,124,.5) 50%, transparent 51%);
}
.workshop-wrap { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(30px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.workshop .eyebrow { color: var(--gold-soft); }
.workshop .eyebrow::before { background: var(--gold-soft); }
.workshop .section-title {
  font-family: var(--font-serif-en); font-style: italic; font-weight: 600;
  color: #fff; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1;
}
.workshop-p { color: rgba(247,241,227,.86); font-size: 16px; max-width: 560px; margin-bottom: 15px; }
.workshop-credits { display: flex; gap: 12px 26px; flex-wrap: wrap; margin-top: 24px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.workshop-credits span { display: inline-flex; align-items: center; gap: 9px; }
.workshop-art { display: grid; place-items: center; }
.workshop-art svg { width: min(340px, 74vw); height: auto; }
.enso { fill: none; stroke: var(--gold-soft); stroke-width: 9; stroke-linecap: round; }
.enso-wave { fill: none; stroke: rgba(247,241,227,.55); stroke-width: 2.4; stroke-linecap: round; }
@media (max-width: 820px) {
  .workshop-wrap { grid-template-columns: 1fr; }
  .workshop-art { order: -1; }
  .workshop-art svg { width: min(240px, 60vw); }
}

/* ---------- brush lettering logos ---------- */
.brand-logo { height: 30px; width: auto; display: block; }
@media (max-width: 640px) { .brand-logo { height: 25px; } }

.hero-logo {
  width: min(760px, 86vw); height: auto; display: block;
  margin: 6px auto 4px;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,.42));
}
.noren-mark .noren-logo { width: 210px; height: auto; margin-top: 16px; opacity: .95; }

/* visually hidden but readable by search engines and screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- june recap video, inside the hero ---------- */
.hero-recap { margin-top: 34px; }
.hero-recap-label {
  font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase;
  opacity: .72; margin-bottom: 12px;
}
.hero-recap-player {
  width: min(560px, 88vw); margin-inline: auto;
  border-radius: 14px; overflow: hidden; line-height: 0;
  background: #0d1526;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
}
.hero-recap-player video { width: 100%; height: auto; display: block; }

/* sits over the silent loop; the only way back to the audio */
.hero-recap-player { position: relative; }
.recap-sound {
  position: absolute; right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(13,21,38,.72); color: #fff;
  font-family: var(--font-ui); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  line-height: 1; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.28);
  transition: background .25s ease;
}
.recap-sound::before { content: "♪"; font-size: 13px; }
.recap-sound:hover { background: rgba(13,21,38,.92); }
.recap-sound[hidden] { display: none; }

/* the hero now carries the recap too: tighten everything so it fits one screen */
.hero-inner { padding-top: 84px; padding-bottom: 96px; }
.hero-logo { width: min(500px, 76vw); margin: 2px auto 0; }
.hero-sub { font-size: clamp(13.5px, 1.5vw, 15.5px); }
.hero-ctas { margin-top: 22px; }
.hero .btn { padding: 12px 26px; font-size: 14px; }
.hero-recap { margin-top: 26px; }
.hero-recap-player { width: min(390px, 82vw); }
/* the wave was 169px tall and swallowed the scroll cue: cap it and start it lower */
.hero-wave { height: clamp(52px, 6.5vw, 88px); }
/* cue now sits in the flow under the video; padding reserves the wave's band */
.hero-inner { padding-bottom: clamp(92px, 8vw, 124px); }
.hero .scroll-cue {
  position: static; transform: none; left: auto; bottom: auto;
  margin-top: 22px;
}
.scroll-cue::after { height: 20px; margin-top: 8px; }
@media (max-width: 700px) {
  .hero-inner { padding-top: 78px; padding-bottom: 90px; }
  .hero-recap { margin-top: 22px; }
  .hero-recap-player { width: 86vw; }
}

/* ---------- persistent ticket button in the header ---------- */
/* .site-nav a sets its own padding and outranks a lone class, so the ticket
   button has to be qualified or it loses its side padding and the pill collapses */
.site-nav a.btn-ticket,
.btn-ticket {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 400;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 999px;
  background: var(--red); color: #fff;
  box-shadow: 0 6px 20px rgba(178,58,47,.34);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-ticket::after { content: "→"; transition: transform .2s ease; }
.btn-ticket:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(178,58,47,.42); }
.btn-ticket:hover::after { transform: translateX(3px); }
/* the nav underline animation must not apply to the button */
.site-nav a.btn-ticket::after { position: static; width: auto; height: auto; background: none; transform: none; }
.site-nav a.btn-ticket:hover::after { transform: translateX(3px); }

@media (max-width: 640px) {
  .btn-ticket { font-size: 11.5px; letter-spacing: .12em; padding: 9px 15px; }
  .btn-ticket::after { display: none; }
  .site-nav { gap: 10px; }
}
@media (max-width: 400px) {
  .lang-toggle { padding: 5px 10px; font-size: 11.5px; }
}

/* ---------- Tanoshii Project mark ---------- */
.kamon-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; padding: 3px; object-fit: contain;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
@media (max-width: 640px) { .kamon-mark { width: 30px; height: 30px; } }

.noren-mark-img {
  width: 118px; height: 118px; margin-inline: auto;
  border-radius: 50%; background: rgba(250,246,236,.94);
  padding: 12px; object-fit: contain;
}

/* producer credit in the footer */
.footer-producer { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.footer-producer img { width: 42px; height: 42px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; }
.footer-producer span { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }

/* ---------- where the display face is allowed ----------
   Agharti is condensed, so its counters close up below about 11px.
   Badges, buttons and ribbons still carry it; anything smaller than that
   drops to the body face with wide tracking. */
.next-up .label,
.btn, .btn-ticket,
.date-ribbon,
.card-cta,
.sp-badge,
.sip-badge,
.status-badge,
.recap-sound,
.tier-flag,
.tier-name,
.tier-note,
.noren-mark .word,
.brand { font-family: var(--font-ui); }

/* official Taste of Japan lockup in the footer, used whole on its own white card */
.footer-logo {
  display: block; width: 128px; height: auto;
  border-radius: 5px; margin-bottom: 18px;
}
@media (max-width: 640px) { .footer-logo { width: 112px; } }
