﻿/* でんすけ — Japlin vol.22 special site */

:root {
  --bg: #09080b;
  --bg-raised: #121015;
  --wall: #1a171f;
  --fog: #cfc8bc;
  --cream: #f2ede4;
  --muted: #9a948a;
  --line: rgba(242, 237, 228, 0.18);
  --accent: #e85a1a;
  --accent-soft: #c9954a;
  --yokyo: #d4a24a;
  --shuen: #e8e4dc;
  --seat-ss: #ffbd59;
  --seat-s: #195cb1;
  --seat-a: #f07d7a;
  --seat-u: #6b6560;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --brush: "Yuji Syuku", "Shippori Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 3.5rem;
  --dock-h: 4.25rem;
  --page-pad: 1.25rem;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--cream);
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + var(--safe-bottom));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.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;
}

/* ——— overlays ——— */

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.35) 100%);
}

/* ——— header ——— */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding:
    env(safe-area-inset-top, 0px)
    max(var(--page-pad), env(safe-area-inset-right, 0px))
    0
    max(var(--page-pad), env(safe-area-inset-left, 0px));
  background: linear-gradient(to bottom, rgba(9, 8, 11, 0.88), transparent);
  transition: background 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(9, 8, 11, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  display: block;
  height: 1.55rem;
  width: auto;
}

.nav {
  display: none;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav a {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--cream);
}

.nav-toggle {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  position: relative;
  margin-right: -0.4rem;
}

.nav-toggle span {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  height: 1px;
  background: var(--cream);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.nav-toggle span:first-child { top: 0.95rem; }
.nav-toggle span:last-child { top: 1.45rem; }

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 1.2rem;
  transform: rotate(35deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 1.2rem;
  transform: rotate(-35deg);
}

/* ——— hero ——— */

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--header-h);
  padding-bottom: calc(var(--dock-h) + var(--safe-bottom) + 0.25rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 40%;
  filter: contrast(1.05) brightness(0.9) saturate(0.7);
  transform: scale(1);
}

.hero-spotlight {
  position: absolute;
  inset: -10% auto auto -5%;
  width: 70%;
  height: 75%;
  background: radial-gradient(
    ellipse 55% 50% at 18% 12%,
    rgba(255, 250, 240, 0.18) 0%,
    rgba(255, 240, 220, 0.06) 35%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 55%, rgba(9, 8, 11, 0.55) 0%, rgba(9, 8, 11, 0.25) 50%, transparent 75%),
    linear-gradient(180deg, rgba(9, 8, 11, 0.25) 0%, rgba(9, 8, 11, 0.1) 30%, rgba(9, 8, 11, 0.92) 88%);
}

.hero-ghost {
  display: none;
}

.hero-content {
  width: 100%;
  text-align: center;
  padding: 5.75rem var(--page-pad) 1rem;
  max-width: 44rem;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.55rem;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.65);
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.2s forwards;
}

.hero-title {
  margin: 0 0 0.35rem;
  line-height: 0;
  opacity: 0;
  animation: rise 1.2s var(--ease) 0.4s forwards;
  filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.75));
}

.hero-title img {
  display: block;
  width: min(78vw, 22rem);
  height: auto;
  margin-inline: auto;
}

.hero-tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
  font-size: 0.92rem;
  line-height: 1.7;
  letter-spacing: 0.06em;
  opacity: 0;
  animation: rise 1.2s var(--ease) 0.65s forwards;
}

.hero-tagline .rule {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--cream);
  opacity: 0.45;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.85rem;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  line-height: 1.55;
  opacity: 0;
  animation: rise 1.2s var(--ease) 0.85s forwards;
}

.hero-meta .dot {
  display: none;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.85rem;
  opacity: 0;
  animation: rise 1.2s var(--ease) 1s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-hint {
  display: none;
}

/* ——— buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.15rem;
  padding: 0 1.25rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: background 0.35s var(--ease), color 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: #ff6a28;
  border-color: #ff6a28;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(242, 237, 228, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

/* ——— sections ——— */

.section-inner {
  width: min(1080px, calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
  padding: 3.5rem 0;
}

.section-inner.narrow {
  width: min(640px, calc(100% - (var(--page-pad) * 2)));
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.kicker {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.65rem;
}

.section-head h2,
.intro h2,
.staff h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 5.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.section-lead {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— intro ——— */

.intro {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 90, 26, 0.08), transparent 60%),
    var(--bg);
  text-align: center;
  border-top: 1px solid var(--line);
}

.credit-name {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.lede {
  color: var(--fog);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-align: left;
  line-height: 1.9;
}

.lede p {
  margin: 0 0 1em;
}

.lede p:last-child {
  margin-bottom: 0;
}

.intro-credit {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ——— dual story ——— */

.dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background:
    linear-gradient(180deg, #141118 0%, #1c1710 50%, #120f14 100%);
  border-block: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.dual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.14;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.dual-panel {
  position: relative;
  padding: 2.75rem var(--page-pad);
  z-index: 1;
}

.dual-panel h2 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 0.35rem;
}

.dual-yokyo h2 { color: var(--yokyo); }
.dual-shuen h2 { color: var(--shuen); }

.panel-sub {
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--fog);
  margin-bottom: 1.25rem;
}

.dual-panel p {
  color: var(--fog);
  font-size: 0.94rem;
  margin-bottom: 1rem;
  max-width: 32rem;
  letter-spacing: 0.03em;
  line-height: 1.9;
}

.dual-panel ruby {
  ruby-align: center;
}

.dual-panel rt {
  font-size: 0.55em;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.dual-shuen p {
  margin-left: 0;
}

.panel-mark {
  position: absolute;
  top: 1rem;
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 237, 228, 0.06);
  pointer-events: none;
  user-select: none;
}

.dual-yokyo .panel-mark { left: 0.5rem; }
.dual-shuen .panel-mark { right: 0.5rem; }

/* Mobile: two works by design — warm vs cool, mic subtle behind */
.dual-spine {
  position: absolute;
  inset: 4% 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

.dual-yokyo,
.dual-shuen {
  position: relative;
  z-index: 1;
}

.dual-yokyo {
  padding-bottom: 3.25rem;
  background: linear-gradient(
    180deg,
    rgba(212, 162, 74, 0.07) 0%,
    transparent 55%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.dual-yokyo::after {
  content: "";
  position: absolute;
  left: var(--page-pad);
  right: var(--page-pad);
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(212, 162, 74, 0.55),
    rgba(232, 90, 26, 0.35),
    transparent
  );
}

.dual-shuen {
  padding-top: 3.25rem;
  background: linear-gradient(
    0deg,
    rgba(232, 228, 220, 0.05) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.spine-title {
  display: none;
}

.mic-photo {
  display: block;
  height: 100%;
  width: auto;
  max-width: min(34vw, 7.5rem);
  object-fit: contain;
  object-position: center;
  opacity: 0.16;
  filter: saturate(0.7) contrast(1.05);
  mix-blend-mode: screen;
}

.dual-panel h2 {
  font-size: 2.15rem;
  letter-spacing: 0.32em;
}

/* ——— flyer ——— */

.flyer {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201, 149, 74, 0.07), transparent 55%),
    var(--bg-raised);
  border-block: 1px solid var(--line);
}

.flyer-grid {
  display: grid;
  gap: 1.25rem;
}

.flyer-card {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}

.flyer-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ——— cast ——— */

.cast {
  background: var(--bg);
}

.cast-boards {
  display: grid;
  gap: 3rem;
}

.cast-board-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  margin-bottom: 1.25rem;
  text-align: center;
}

.cast-board-yokyo { color: var(--yokyo); }
.cast-board-shuen { color: var(--shuen); }

.cast-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem 0.7rem;
}

.cast-photo-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

.cast-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #1a1714;
  border: 1px solid var(--line);
  position: relative;
}

.cast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: contrast(1.04) saturate(0.92);
  transition: transform 0.45s var(--ease);
}

.cast-photo-grid li:hover img {
  transform: scale(1.04);
}

.cast-photo-grid .cast-name {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.cast-tag {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--accent-soft);
  margin-top: -0.15rem;
}

/* ——— schedule ——— */

.schedule {
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(201, 149, 74, 0.08), transparent 55%),
    var(--bg-raised);
  border-block: 1px solid var(--line);
}

.schedule-wrap {
  width: min(720px, 100%);
  margin-inline: auto;
}

.schedule-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.schedule-table {
  width: 100%;
  min-width: 20rem;
  border-collapse: collapse;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid var(--line);
  padding: 0.85rem 0.4rem;
  text-align: center;
}

.schedule-table thead th {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
}

.schedule-table tbody th {
  font-weight: 500;
  text-align: left;
  padding-left: 0.75rem;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.15);
}

.perf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}

.perf-d {
  background: var(--accent);
  color: #fff;
}

.perf-y {
  background: var(--yokyo);
  color: #1a1208;
}

.perf-s {
  background: var(--cream);
  color: #1a1208;
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.35rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.legend li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.55;
}

.legend .perf {
  margin-top: 0.1rem;
}

.schedule-notes {
  margin-top: 1.35rem;
  text-align: left;
  font-size: 0.82rem;
  color: var(--fog);
  letter-spacing: 0.04em;
  line-height: 1.75;
}

.schedule-notes p {
  margin: 0;
}

.schedule-notes p + p {
  margin-top: 0.3rem;
}

.schedule-notes-note {
  margin-top: 0.75rem !important;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.7;
}

.fineprint {
  margin-top: 1.15rem;
  text-align: left;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.fineprint p {
  margin: 0;
}

.fineprint p + p {
  margin-top: 0.35rem;
}

/* ——— ticket ——— */

.ticket {
  background: var(--bg);
}

.ticket-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

.ticket-groups {
  display: grid;
  gap: 1.25rem;
}

.ticket-group {
  padding: 0 1rem 0.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.18));
  border: 1px solid var(--line);
}

.ticket-group:not(.ticket-group-through) {
  border-color: rgba(242, 237, 228, 0.38);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.035) 3px,
      rgba(255, 255, 255, 0.035) 4px
    ),
    linear-gradient(180deg, rgba(242, 237, 228, 0.08), rgba(0, 0, 0, 0.16));
}

.ticket-group-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin: 0 -1rem 0.15rem;
  padding: 0.85rem 1rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid var(--line);
}

.ticket-group:not(.ticket-group-through) .ticket-group-title {
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.05) 3px,
      rgba(255, 255, 255, 0.05) 4px
    ),
    rgba(242, 237, 228, 0.12);
  border-bottom-color: rgba(242, 237, 228, 0.28);
}

.ticket-group-through {
  border-color: rgba(232, 90, 26, 0.35);
}

.ticket-group-through .ticket-group-title {
  background: rgba(232, 90, 26, 0.12);
  border-bottom-color: rgba(232, 90, 26, 0.28);
}

.ticket-group-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.ticket-group-mark .perf {
  width: 1.55rem;
  height: 1.55rem;
  font-size: 0.7rem;
}

.ticket-group-name {
  display: inline-block;
  writing-mode: horizontal-tb;
  white-space: nowrap;
}

.price-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  writing-mode: horizontal-tb;
}

.price-list li:last-child {
  border-bottom: none;
}

.price-copy {
  flex: 1 1 auto;
  min-width: 0;
  writing-mode: horizontal-tb;
}

.price-list strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.price-list span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.price-list em {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-list-flat li {
  padding-top: 1rem;
  padding-bottom: 0.85rem;
}

.price-list-flat strong {
  font-size: 1rem;
}

.price-list-flat em {
  font-size: 1.15rem;
  color: var(--cream);
}

.seat {
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.seat-ss { background: var(--seat-ss); }
.seat-s { background: var(--seat-s); }
.seat-a { background: var(--seat-a); }
.seat-u { background: var(--seat-u); }
.seat-silver { background: #8a8680; }
.seat-free {
  background: transparent;
  border-color: rgba(242, 237, 228, 0.45);
}
.seat-through { background: var(--accent); }

.ticket-side {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.seat-map {
  margin: 0;
  padding: 0.75rem;
  width: min(100%, 14.5rem);
  margin-inline: auto;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.25)),
    var(--wall);
  border: 1px solid var(--line);
}

.seat-map img {
  width: 100%;
  height: auto;
  margin-inline: auto;
}

.seat-map figcaption {
  margin-top: 0.7rem;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.ticket-action {
  padding: 1.25rem;
  background:
    linear-gradient(160deg, rgba(232, 90, 26, 0.12), rgba(0, 0, 0, 0.35)),
    var(--wall);
  border: 1px solid var(--line);
  text-align: center;
}

.ticket-action .btn {
  width: 100%;
}

.ticket-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--cream);
  letter-spacing: 0.04em;
  line-height: 1.75;
  text-align: left;
}

.ticket-note a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: color 0.3s, border-color 0.3s;
}

.ticket-note a:hover,
.ticket-note a:focus-visible {
  color: var(--accent-soft);
  border-bottom-color: rgba(201, 149, 74, 0.8);
  outline: none;
}

/* ——— access ——— */

.access {
  background:
    linear-gradient(180deg, var(--bg-raised), #16120e);
  border-top: 1px solid var(--line);
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.access-copy h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.address {
  color: var(--fog);
  margin-bottom: 1.15rem;
  font-size: 0.94rem;
  line-height: 1.8;
}

.transit {
  margin-bottom: 1.5rem;
}

.transit li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.transit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.35rem;
  height: 1px;
  background: var(--accent);
}

.venue-map {
  margin: 0 0 1.35rem;
  padding: 0;
}

.venue-map img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

.access-visual {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 1rem;
  color: var(--muted);
}

.map-art {
  width: 100%;
  height: auto;
}

/* ——— staff ——— */

.staff {
  border-top: 1px solid var(--line);
  text-align: center;
  padding-block: 2.5rem 2.75rem;
}

.staff h2 {
  margin-bottom: 1.1rem;
}

.staff-list {
  display: grid;
  gap: 0;
}

.staff-list > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.55rem 0.85rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.staff-list dt {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.5;
}

.staff-list dd {
  margin: 0;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--fog);
}

.staff-list > div:last-child {
  border-bottom: none;
  padding-bottom: 0.35rem;
}

.staff-coop {
  margin-top: 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  text-align: left;
}

.staff-coop-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.staff-coop-body {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  line-height: 1.85;
  color: var(--fog);
}

/* ——— footer ——— */

.site-footer {
  border-top: 1px solid var(--line);
  background: #070608;
  padding: 2.75rem var(--page-pad) 2rem;
  text-align: center;
}

.footer-title {
  margin: 0 auto 0.85rem;
  line-height: 0;
}

.footer-title img {
  width: auto;
  height: 1.75rem;
  margin-inline: auto;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.35rem;
  line-height: 1.6;
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.35rem;
  margin-bottom: 2rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  padding: 0.35rem;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.social-icon {
  width: 1.65rem;
  height: 1.65rem;
  display: block;
}

.social-link:hover,
.social-link:focus-visible {
  color: #fff;
  opacity: 0.85;
  transform: translateY(-1px);
  outline: none;
}

.copyright {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: #5c574f;
  letter-spacing: 0.1em;
}

/* ——— mobile dock ——— */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  align-items: stretch;
  height: calc(var(--dock-h) + var(--safe-bottom));
  padding: 0.45rem 0.65rem var(--safe-bottom);
  background: rgba(9, 8, 11, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dock-link,
.dock-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  letter-spacing: 0.1em;
  min-height: 2.85rem;
}

.dock-link {
  font-size: 0.78rem;
  color: var(--muted);
}

.dock-cta {
  background: var(--accent);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}

.nav.is-open {
  display: flex;
  position: fixed;
  inset: var(--header-h) 0 auto;
  flex-direction: column;
  gap: 0;
  padding: 0.35rem 0 0.85rem;
  background: rgba(9, 8, 11, 0.97);
  border-bottom: 1px solid var(--line);
  max-height: calc(100svh - var(--header-h) - var(--dock-h));
  overflow-y: auto;
}

.nav a {
  padding: 1rem var(--page-pad);
  font-size: 0.9rem;
}

/* ——— desktop / tablet ——— */

@media (min-width: 720px) {
  :root {
    --header-h: 4.25rem;
    --page-pad: 1.75rem;
  }

  .logo img {
    height: 1.85rem;
  }

  body {
    padding-bottom: 0;
    letter-spacing: 0.04em;
  }

  .dock {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    border: 0;
    max-height: none;
    overflow: visible;
  }

  .nav a {
    padding: 0;
    font-size: 0.78rem;
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    place-items: center;
    min-height: 100svh;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-bg img {
    object-position: left center;
    transform: scale(1.02);
    animation: hero-drift 28s ease-in-out infinite alternate;
  }

  @keyframes hero-drift {
    from { transform: scale(1.04) translate(0, 0); }
    to { transform: scale(1.08) translate(-1.5%, 1%); }
  }

  .hero-spotlight {
    animation: spotlight-breathe 7s ease-in-out infinite;
  }

  @keyframes spotlight-breathe {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
  }

  .hero-ghost {
    display: block;
    position: absolute;
    right: -2%;
    top: 18%;
    writing-mode: vertical-rl;
    font-family: var(--serif);
    font-size: clamp(5rem, 18vw, 14rem);
    font-weight: 700;
    letter-spacing: 0.35em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(242, 237, 228, 0.08);
    opacity: 0.7;
    user-select: none;
    pointer-events: none;
  }

  .hero-content {
    padding: calc(var(--header-h) + 1rem) var(--page-pad) 4rem;
  }

  .hero-title img {
    width: min(62vw, 28rem);
  }

  .hero-tagline {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    letter-spacing: 0.14em;
  }

  .hero-tagline .rule {
    width: clamp(2rem, 8vw, 4rem);
  }

  .hero-meta {
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
  }

  .hero-meta .dot {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
    margin-top: 2rem;
  }

  .btn {
    width: auto;
    min-width: 11rem;
  }

  .scroll-hint {
    display: block;
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--sans);
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0;
    animation: rise 1s var(--ease) 1.4s forwards;
  }

  .scroll-hint::after {
    content: "";
    display: block;
    width: 1px;
    height: 2.25rem;
    margin: 0.5rem auto 0;
    background: linear-gradient(to bottom, var(--muted), transparent);
    animation: scroll-line 2s ease-in-out infinite;
  }

  @keyframes scroll-line {
    0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
    50% { transform: scaleY(1); opacity: 1; }
  }

  .section-inner {
    padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  }

  .section-head {
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  }

  .lede {
    text-align: center;
    font-size: 1.05rem;
  }

  .credit-name {
    font-size: clamp(1.25rem, 2.8vw, 1.6rem);
    letter-spacing: 0.12em;
  }

  .cast-boards {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .cast-photo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem 1rem;
  }

  .cast-photo-grid .cast-name {
    font-size: 0.9rem;
  }

  .schedule-table {
    font-size: 0.95rem;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 0.95rem 0.5rem;
  }

  .schedule-table tbody th {
    padding-left: 1rem;
  }

  .legend {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
  }

  .fineprint {
    text-align: center;
  }

  .flyer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .ticket-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }

  .access-grid {
    grid-template-columns: 1fr;
    max-width: 36rem;
  }

  .staff-list > div {
    grid-template-columns: 8.5rem 1fr;
    gap: 0.65rem 1rem;
  }

  .footer-meta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  .footer-meta span:not(:last-child)::after {
    content: "／";
    margin-left: 1rem;
    opacity: 0.5;
  }

  .grain {
    opacity: 0.2;
    animation: grain-shift 0.45s steps(2) infinite;
  }

  @keyframes grain-shift {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-1.5%, 1%); }
    100% { transform: translate(1%, -1%); }
  }

  .vignette {
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
  }
}

@media (min-width: 900px) {
  .dual {
    grid-template-columns: 1fr auto 1fr;
  }

  .dual-yokyo,
  .dual-spine,
  .dual-shuen {
    order: initial;
  }

  .dual-panel {
    padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3.5rem);
  }

  .dual-panel h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    letter-spacing: 0.3em;
  }

  .dual-shuen p {
    margin-left: auto;
  }

  .dual-spine {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    padding: 3rem 0.85rem;
    border-block: 0;
    border-inline: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.28);
    pointer-events: none;
    z-index: 1;
  }

  .spine-title {
    display: block;
    writing-mode: vertical-rl;
    font-family: var(--brush);
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: 0.35em;
    color: var(--accent);
    text-shadow: 0 0 24px rgba(232, 90, 26, 0.35);
  }

  .mic-photo {
    height: auto;
    width: 3.2rem;
    max-width: none;
    opacity: 0.75;
    mix-blend-mode: normal;
    filter: saturate(0.85) contrast(1.05);
  }

  .dual-yokyo,
  .dual-shuen {
    padding-top: clamp(3.5rem, 8vw, 6rem);
    padding-bottom: clamp(3.5rem, 8vw, 6rem);
    background: none;
  }

  .dual-yokyo::after {
    display: none;
  }

  .dual-panel h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    letter-spacing: 0.3em;
  }

  .panel-mark {
    font-size: clamp(4rem, 10vw, 7rem);
  }
}

@media (min-width: 1100px) {
  .cast-boards {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: start;
  }

  .cast-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-height: 700px) and (max-width: 719px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 0.35rem);
    padding-bottom: calc(var(--dock-h) + var(--safe-bottom) + 0.5rem);
  }

  .hero-content {
    padding-top: 0.35rem;
    padding-bottom: 0.5rem;
  }

  .hero-title img {
    width: min(70vw, 18rem);
  }

  .hero-cta {
    margin-top: 1.5rem;
  }

  .hero-meta {
    margin-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain,
  .hero-bg img,
  .hero-spotlight,
  .scroll-hint::after {
    animation: none !important;
  }
  .hero-eyebrow,
  .hero-title,
  .hero-tagline,
  .hero-cta,
  .hero-meta,
  .scroll-hint,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

